Package Details: insomnia 2020.5.2-1

Git Clone URL: https://aur.archlinux.org/insomnia.git (read-only, click to copy)
Package Base: insomnia
Description: Cross-platform HTTP and GraphQL Client
Upstream URL: https://github.com/Kong/insomnia
Licenses: MIT
Submitter: kpcyrd
Maintainer: luxcem
Last Packager: luxcem
Votes: 10
Popularity: 1.82
First Submitted: 2020-10-19 17:29
Last Updated: 2021-01-13 14:41

Latest Comments

1 2 3 4 5 Next › Last »

Ten0 commented on 2021-01-28 15:41

For a while now I've been unable to build it (yay): https://pastebin.com/PFZiwL46

harrydt commented on 2021-01-28 15:34

@procarrera: try

sudo ln -s /opt/insomnia/insomnia /usr/bin/insomnia

procarrera commented on 2021-01-19 01:07

Hi, I've just installed Insomnia in my Manjaro XFCE but when I click in the icon to open the program, nothing seems to happen.

DISTRIB_ID=ManjaroLinux
DISTRIB_RELEASE=20.2.1
DISTRIB_CODENAME=Nibia
DISTRIB_DESCRIPTION="Manjaro Linux"

Does anyone has a light?

Thanks

rafaelff commented on 2020-12-22 20:24

Please add fontconfig to makedepends. This will solve the issue:

lerna ERR! npm install stderr:
../src/FontManagerLinux.cc:1:10: fatal error: fontconfig/fontconfig.h: No such file or directory
    1 | #include <fontconfig/fontconfig.h>
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.

See full build log: http://ix.io/2Jbj

luxcem commented on 2020-12-17 16:37

I changed the PKGBUILD to use provided electron version instead of system installed.

The downside is the increased footprint but insomnia team is not using up to date electron or node.

Thank you for your feedbacks.

entertainyou commented on 2020-12-14 14:41

Compilation seems to break for me when electron is updated from version 10 to 11, see following logs:

make: Leaving directory '/home/foo/.cache/yay/insomnia/src/insomnia-core-2020.5.1/packages/insomnia-app/build/com.insomnia.app/node_modules/node-libcurl/build'                                                                                   
Failed to execute '/home/foo/.cache/yay/insomnia/src/insomnia-core-2020.5.1/.nvm/versions/node/v12.18.3/bin/node /home/foo/.cache/yay/insomnia/src/insomnia-core-2020.5.1/.nvm/versions/node/v12.18.3/lib/node_modules/npm/node_modules/n

ode-gyp/bin/node-gyp.js build --fallback-to-build --module=/home/foo/.cache/yay/insomnia/src/insomnia-core-2020.5.1/packages/insomnia-app/build/com.insomnia.app/node_modules/node-libcurl/lib/binding/node_libcurl.node --module_name=node_libcurl --module_path=/home/foo/.cache/yay/insomnia/src/insomnia-core-2020.5.1/packages/insomnia-app/build/com.insomnia.app/node_modules/node-libcurl/lib/binding --napi_version=6 --node_abi_napi=napi --napi_build_version=0 --node_napi_label=electron-v11.1' (1)

                errorOut=In file included from /home/foo/.electron-gyp/11.1.0/include/node/node.h:67,             
                 from ../src/FontManager.cc:2:                                                                                                                                                                                                             
/home/foo/.electron-gyp/11.1.0/include/node/v8.h:9182:75: warning: ‘v8::MicrotasksCompletedCallback’ is deprecated: Use *WithData version. [-Wdeprecated-declarations]                                                                            
 9182 |   void AddMicrotasksCompletedCallback(MicrotasksCompletedCallback callback);                                                                                                                                                                       
      |                                                                           ^                                                                                                                                                                        
/home/foo/.electron-gyp/11.1.0/include/node/v8.h:7384:16: note: declared here                                     
 7384 | typedef void (*MicrotasksCompletedCallback)(Isolate*);                                                                                                                                                                                             
      |                ^~~~~~~~~~~~~~~~~~~~~~~~~~~                                                                                                                                                                                                         
/home/foo/.electron-gyp/11.1.0/include/node/v8.h:9190:78: warning: ‘v8::MicrotasksCompletedCallback’ is deprecated: Use *WithData version. [-Wdeprecated-declarations]                                                                            
 9190 |   void RemoveMicrotasksCompletedCallback(MicrotasksCompletedCallback callback);                                    
      |                                                                              ^                                                                                                                                                                     
/home/foo/.electron-gyp/11.1.0/include/node/v8.h:7384:16: note: declared here                                     
 7384 | typedef void (*MicrotasksCompletedCallback)(Isolate*);                                                             
      |                ^~~~~~~~~~~~~~~~~~~~~~~~~~~                                                                                                                                                                                                             In file included from /home/foo/.electron-gyp/11.1.0/include/node/node.h:67,                                                                                                                                                                      
                 from ../src/FontDescriptor.h:3,                                                                                                                                                                                                           
                 from ../src/FontManagerLinux.cc:2:                                                                                                                                                                                                        
/home/foo/.electron-gyp/11.1.0/include/node/v8.h:9182:75: warning: ‘v8::MicrotasksCompletedCallback’ is deprecated: Use *WithData version. [-Wdeprecated-declarations]                                                                            
 9182 |   void AddMicrotasksCompletedCallback(MicrotasksCompletedCallback callback);

WhyNotHugo commented on 2020-12-10 19:54

Can you include a better quality icon with this package?

The one installed right now is 16x16px, which is absurdly tiny. There's a 1024x1024px one in packages/insomnia-app/app/ui/images/insomnia-core-logo.png.

luxcem commented on 2020-11-07 14:59

Thanks @wereii for the fix, I will add this information to the Node.JS package guidelines it's really usefull. I agree with eletron builder, for the moment I think we can keep the system electron, keeping in mind it can change in the future.

sardaukar commented on 2020-11-06 01:22

Works for me now, thanks!

kescherAUR commented on 2020-11-05 23:12

Can confirm that @wereii's fix lets it adhere to guidelines.

However, I will defend yay here, because makepkg can set to only prepare, only build, only package, etc. Environment variables are also not going to carry over from this. This means that in order to make a proper PKGBUILD, it should be possible to build a package with each step seperated. Again, @wereii's gist does make that possible. I smell a pkgrel=7 :)