Package Details: insomnia 9.1.1-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: Gobidev
Last Packager: Gobidev
Votes: 23
Popularity: 0.054723
First Submitted: 2020-10-19 17:29 (UTC)
Last Updated: 2024-05-07 14:26 (UTC)

Latest Comments

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

Ten0 commented on 2021-06-28 20:28 (UTC)

Hello, Thanks everyone for your suggestions. <3 Unfortunately I still have the same issue on all 3 of the arch computers I have at hand, even with the latest version, even when manually calling git clone & makepkg. Same log as before: https://pastebin.com/PFZiwL46. I'm still interested in any help that could be provided. :)

finek commented on 2021-06-07 12:39 (UTC)

nevermind, it seems that i have other problems with my system

finek commented on 2021-06-07 11:37 (UTC)

why it takes literally hours to build on ryzen 5600x? stuck at lerna info Installing external dependencies

luxcem commented on 2021-05-04 09:32 (UTC)

I updated the package, let me know if this doesn't work.

FuzzyAtish commented on 2021-05-03 21:36 (UTC) (edited on 2021-05-03 21:41 (UTC) by FuzzyAtish)

@Ten0, with the latest release - 2021.3.0 - what works for me is the following:
First, clone the git repo from AUR:

git clone https://aur.archlinux.org/insomnia.git/

Then, enter the directory

cd insomnia/

Copy paste the following diff into a file in the source dir, e.g. insomnia.patch

diff --git a/.SRCINFO b/.SRCINFO
index 988f715..85a2b5e 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,6 +1,6 @@
 pkgbase = insomnia
    pkgdesc = Cross-platform HTTP and GraphQL Client
-   pkgver = 2021.2.1
+   pkgver = 2021.3.0
    pkgrel = 1
    url = https://github.com/Kong/insomnia
    arch = any
@@ -8,9 +8,9 @@ pkgbase = insomnia
    makedepends = npm
    makedepends = nvm
    makedepends = fontconfig
-   source = https://github.com/Kong/insomnia/archive/refs/tags/core@2021.2.1.tar.gz
+   source = https://github.com/Kong/insomnia/archive/refs/tags/core@2021.3.0.tar.gz
    source = insomnia.desktop
-   b2sums = 23595c74e295256bbd0822a5bdade15f251aaf23f72e6115c4ed3d24b97de36dd1eebda60a3b10b874abe18fa04a875543ef2c2cbe0edf99306c88072b5ee7af
+   b2sums = 1207e255f17b3080fd3c023d54369791fae3b62a38fb7d6237dfbe194981aaff309855f148eb10fa0c3f2a6166804ae1bcae7f5180ecd2e1b6884ecb02251ed0
    b2sums = 38c2edd681b012931e25498a4a65007cc2a2152c9bbc5505dbb7cf03e1143a7365c41e9ad7eb2318c8ea894dccad0e0b6601cf76f680ea4085d12b5059e61a6e

 pkgname = insomnia
diff --git a/PKGBUILD b/PKGBUILD
index 368283e..c84ef26 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -3,7 +3,7 @@
 # Contributor: vscncls <lucaslou4@protonmail.com>

 pkgname=insomnia
-pkgver=2021.2.1
+pkgver=2021.3.0
 pkgrel=1
 _nodeversion=12.18.3
 pkgdesc="Cross-platform HTTP and GraphQL Client"
@@ -16,7 +16,7 @@ source=(
   "https://github.com/Kong/insomnia/archive/refs/tags/core@${pkgver}.tar.gz"
   "insomnia.desktop"
 )
-b2sums=('23595c74e295256bbd0822a5bdade15f251aaf23f72e6115c4ed3d24b97de36dd1eebda60a3b10b874abe18fa04a875543ef2c2cbe0edf99306c88072b5ee7af'
+b2sums=('1207e255f17b3080fd3c023d54369791fae3b62a38fb7d6237dfbe194981aaff309855f148eb10fa0c3f2a6166804ae1bcae7f5180ecd2e1b6884ecb02251ed0'
         '38c2edd681b012931e25498a4a65007cc2a2152c9bbc5505dbb7cf03e1143a7365c41e9ad7eb2318c8ea894dccad0e0b6601cf76f680ea4085d12b5059e61a6e')

 _ensure_local_nvm() {
@@ -51,4 +51,3 @@ package() {
   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}"
 }
-

Apply the above created patch

git apply insomnia.patch

Build and install the package with the new version

makepkg -si

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