Package Details: insomnia 11.2.0-2

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: plp
Last Packager: plp
Votes: 25
Popularity: 1.62
First Submitted: 2020-10-19 17:29 (UTC)
Last Updated: 2025-06-09 12:46 (UTC)

Latest Comments

« First ‹ Previous 1 2 3 4 5 6 7 8 9 10 Next › Last »

Ten0 commented on 2021-04-20 12:12 (UTC) (edited on 2021-04-26 12:29 (UTC) by Ten0)

@FuzzyAtish it looks like your proposed changes were applied by the maintainer, but the issue persists: https://pastebin.com/qXtN9bes

Is anybody able to install this: - With yay? - With another AUR helper?

FuzzyAtish commented on 2021-03-20 15:21 (UTC) (edited on 2021-05-03 21:40 (UTC) by FuzzyAtish)

@Ten0, after using the latest release source code I had to make the following modifications to the PKGBUILD file:

diff --git a/PKGBUILD b/PKGBUILD
index 63bb3c7..9868bdc 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -3,7 +3,7 @@
 # Contributor: vscncls <lucaslou4@protonmail.com>

 pkgname=insomnia
-pkgver=2020.5.2
+pkgver=2021.1.1
 pkgrel=1
 _nodeversion=12.18.3
 pkgdesc="Cross-platform HTTP and GraphQL Client"
@@ -13,10 +13,10 @@ license=('MIT')
 depends=()
 makedepends=('npm' 'nvm' 'fontconfig')
 source=(
-  "https://github.com/Kong/insomnia/archive/core@${pkgver}/${pkgname}-${pkgver}.tar.gz"
+  "https://github.com/Kong/insomnia/archive/refs/tags/core@${pkgver}.tar.gz"
   "insomnia.desktop"
 )
-b2sums=('5cd5f55b437926e85307e69a9c96349d1ea2516e34bea29bfa53c74d1bd5573d1a4bbbf4dcc181a51430d66bdb308f0eb982201b9d54fb63d3eb194ed701dffe'
+b2sums=('e4e8bfa9257e8d81f4364f6f0d632273f48fbda55d2127f229ed0fd7369c82c1abd36668905ed245e6d691b0a4b0cfb5f6fdbb440113d0c34eb656b2aee2e64d'
         '38c2edd681b012931e25498a4a65007cc2a2152c9bbc5505dbb7cf03e1143a7365c41e9ad7eb2318c8ea894dccad0e0b6601cf76f680ea4085d12b5059e61a6e')

 _ensure_local_nvm() {
@@ -33,13 +33,13 @@ _ensure_local_nvm() {
 prepare() {
   _ensure_local_nvm
   cd ${pkgname}-core-${pkgver}
-  nvm install
+  nvm install
 }

 build() {
   _ensure_local_nvm
   cd ${pkgname}-core-${pkgver}
-  npm run bootstrap
+  npm run bootstrap
   GIT_TAG="core@${pkgver}" npm run app-package
 }

@@ -47,7 +47,7 @@ package() {
   install -Dm644 ${pkgname}.desktop -t "${pkgdir}/usr/share/applications"
   cd ${pkgname}-core-${pkgver}
   install -d "${pkgdir}/opt/insomnia"
-  cp -r "packages/insomnia-app/dist/com.insomnia.app/linux-unpacked/." "$pkgdir/opt/insomnia"
+  cp -r "packages/insomnia-app/dist/linux-unpacked/." "$pkgdir/opt/insomnia"
   install -Dm644 packages/insomnia-app/app/ui/images/insomnia-core-logo.png "${pkgdir}/usr/share/pixmaps/insomnia.png"
   install -Dm644 LICENSE -t "${pkgdir}/usr/share/licenses/${pkgname}"
 }

Ten0 commented on 2021-01-28 15:41 (UTC)

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

harrydt commented on 2021-01-28 15:34 (UTC)

@procarrera: try

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

procarrera commented on 2021-01-19 01:07 (UTC) (edited on 2021-01-19 01:08 (UTC) by procarrera)

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 (UTC)

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 (UTC)

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 (UTC)

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 (UTC)

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 (UTC)

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.