public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] repo/proj/guru:master commit in: app-misc/via/
@ 2024-07-17  8:40 David Roman
  0 siblings, 0 replies; 9+ messages in thread
From: David Roman @ 2024-07-17  8:40 UTC (permalink / raw
  To: gentoo-commits

commit:     fd3eae79a5b636e6ad28695adf2188f7f3c82b49
Author:     Itai Ferber <itai <AT> itaiferber <DOT> net>
AuthorDate: Tue Jul 16 23:14:41 2024 +0000
Commit:     David Roman <davidroman96 <AT> gmail <DOT> com>
CommitDate: Tue Jul 16 23:16:37 2024 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=fd3eae79

app-misc/via: update SRC_URI and clean up ebuild

Signed-off-by: Itai Ferber <itai <AT> itaiferber.net>

 app-misc/via/via-3.0.0.ebuild | 8 ++------
 1 file changed, 2 insertions(+), 6 deletions(-)

diff --git a/app-misc/via/via-3.0.0.ebuild b/app-misc/via/via-3.0.0.ebuild
index 7fabbc0a6..62be413b7 100644
--- a/app-misc/via/via-3.0.0.ebuild
+++ b/app-misc/via/via-3.0.0.ebuild
@@ -7,18 +7,13 @@ inherit desktop
 
 DESCRIPTION="GUI configurator for supported QMK-based keyboards"
 HOMEPAGE="https://caniusevia.com"
-SRC_URI="amd64? (
-	https://github.com/the-via/releases/releases/download/v${PV}/${P}-linux.AppImage
-	-> ${P}.AppImage
-)"
+SRC_URI="https://github.com/the-via/releases/releases/download/v${PV}/${P}-linux.AppImage -> ${P}.AppImage"
 
 S="${WORKDIR}"
 LICENSE="GPL-3"
 SLOT="0"
 KEYWORDS="~amd64"
 
-RESTRICT="bindist mirror test strip"
-
 # These dependencies were extracted from the shared libraries required by the
 # via-nativia executable; it's not clear whether these are all _actually_
 # required, or whether the list is extensive because the executable is an
@@ -62,6 +57,7 @@ src_unpack() {
 src_install() {
 	newbin "${S}/${P}.AppImage" via
 
+	local size
 	for size in 16 24 32 48 64 96 128 256 512 1024; do
 		doicon -s "${size}" "${S}/squashfs-root/usr/share/icons/hicolor/${size}x${size}/apps/via-nativia.png"
 	done


^ permalink raw reply related	[flat|nested] 9+ messages in thread

* [gentoo-commits] repo/proj/guru:master commit in: app-misc/via/
@ 2024-07-17  8:40 David Roman
  0 siblings, 0 replies; 9+ messages in thread
From: David Roman @ 2024-07-17  8:40 UTC (permalink / raw
  To: gentoo-commits

commit:     810a43987855ebf00392224b634f9e3dcb62b8e4
Author:     Lucio Sauer <watermanpaint <AT> posteo <DOT> net>
AuthorDate: Tue Jul 16 22:45:23 2024 +0000
Commit:     David Roman <davidroman96 <AT> gmail <DOT> com>
CommitDate: Wed Jul 17 01:13:12 2024 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=810a4398

app-misc/via: add doc upstream metadata

Signed-off-by: Lucio Sauer <watermanpaint <AT> posteo.net>

 app-misc/via/metadata.xml | 1 +
 1 file changed, 1 insertion(+)

diff --git a/app-misc/via/metadata.xml b/app-misc/via/metadata.xml
index 2dec36591..cf02e6350 100644
--- a/app-misc/via/metadata.xml
+++ b/app-misc/via/metadata.xml
@@ -6,6 +6,7 @@
     <name>Itai Ferber</name>
   </maintainer>
   <upstream>
+    <doc>https://www.caniusevia.com/docs/specification</doc>
     <remote-id type="github">the-via/releases</remote-id>
   </upstream>
 </pkgmetadata>


^ permalink raw reply related	[flat|nested] 9+ messages in thread

* [gentoo-commits] repo/proj/guru:master commit in: app-misc/via/
@ 2024-07-18 16:39 Lucio Sauer
  0 siblings, 0 replies; 9+ messages in thread
From: Lucio Sauer @ 2024-07-18 16:39 UTC (permalink / raw
  To: gentoo-commits

commit:     337dbc747bcb2d8f80afe329e337219c44ad55e2
Author:     Itai Ferber <itai <AT> itaiferber <DOT> net>
AuthorDate: Thu Jul 18 12:24:43 2024 +0000
Commit:     Lucio Sauer <watermanpaint <AT> posteo <DOT> net>
CommitDate: Thu Jul 18 12:24:43 2024 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=337dbc74

app-misc/via: fix installation error

Signed-off-by: Itai Ferber <itai <AT> itaiferber.net>

 app-misc/via/via-3.0.0.ebuild | 26 +++++++++++---------------
 1 file changed, 11 insertions(+), 15 deletions(-)

diff --git a/app-misc/via/via-3.0.0.ebuild b/app-misc/via/via-3.0.0.ebuild
index 62be413b7..2e1b715b4 100644
--- a/app-misc/via/via-3.0.0.ebuild
+++ b/app-misc/via/via-3.0.0.ebuild
@@ -14,6 +14,10 @@ LICENSE="GPL-3"
 SLOT="0"
 KEYWORDS="~amd64"
 
+# Stripping AppImage binaries causes them to no longer recognize their internal
+# filesystem.
+RESTRICT="strip"
+
 # These dependencies were extracted from the shared libraries required by the
 # via-nativia executable; it's not clear whether these are all _actually_
 # required, or whether the list is extensive because the executable is an
@@ -41,21 +45,13 @@ RDEPEND="
 	x11-libs/pango
 "
 
-src_unpack() {
-	# The AppImage is self-contained so we'll install it as a binary directly,
-	# but it also contains a `.desktop` file and app icons that we want; we can
-	# move it into "${S}", and also extract its contents into there.
-	mkdir -p "${S}" \
-	    && mv "${DISTDIR}/${P}.AppImage" "${S}" \
-	    && chmod +x "${S}/${P}.AppImage" \
-		&& pushd "${S}" \
-	    && "${S}/${P}.AppImage" --appimage-extract \
-	    && popd \
-		|| die
-}
-
 src_install() {
-	newbin "${S}/${P}.AppImage" via
+	newbin "${DISTDIR}/${P}.AppImage" via
+
+	# The AppImage is self-contained and is installed as a binary directly, but
+	# it also contains a `.desktop` file and app icons that we want; we can
+	# extract those from its contents.
+	"${ED}/usr/bin/via" --appimage-extract
 
 	local size
 	for size in 16 24 32 48 64 96 128 256 512 1024; do
@@ -65,6 +61,6 @@ src_install() {
 	# The inner `.desktop` file points to an internal binary; we can use the
 	# file but point it to the installed binary path.
 	local menu_path="${S}/squashfs-root/via-nativia.desktop"
-	sed -i '' -e 's|^Exec=.*$|Exec=/usr/bin/via|' "${menu_path}"
+	sed -ie "s|^Exec=.*$|Exec=${EPREFIX}/usr/bin/via|" "${menu_path}" || die
 	domenu "${menu_path}"
 }


^ permalink raw reply related	[flat|nested] 9+ messages in thread

* [gentoo-commits] repo/proj/guru:master commit in: app-misc/via/
@ 2024-07-18 16:39 Lucio Sauer
  0 siblings, 0 replies; 9+ messages in thread
From: Lucio Sauer @ 2024-07-18 16:39 UTC (permalink / raw
  To: gentoo-commits

commit:     61fdc760d09bf4d6c0e6e7432ad9d90def21d453
Author:     Lucio Sauer <watermanpaint <AT> posteo <DOT> net>
AuthorDate: Thu Jul 18 14:46:19 2024 +0000
Commit:     Lucio Sauer <watermanpaint <AT> posteo <DOT> net>
CommitDate: Thu Jul 18 14:46:52 2024 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=61fdc760

app-misc/via: update icon cache after installation

Signed-off-by: Lucio Sauer <watermanpaint <AT> posteo.net>

 app-misc/via/via-3.0.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/app-misc/via/via-3.0.0.ebuild b/app-misc/via/via-3.0.0.ebuild
index 2e1b715b4..040cc82c2 100644
--- a/app-misc/via/via-3.0.0.ebuild
+++ b/app-misc/via/via-3.0.0.ebuild
@@ -3,7 +3,7 @@
 
 EAPI=8
 
-inherit desktop
+inherit desktop xdg
 
 DESCRIPTION="GUI configurator for supported QMK-based keyboards"
 HOMEPAGE="https://caniusevia.com"


^ permalink raw reply related	[flat|nested] 9+ messages in thread

* [gentoo-commits] repo/proj/guru:master commit in: app-misc/via/
@ 2024-07-18 16:39 Lucio Sauer
  0 siblings, 0 replies; 9+ messages in thread
From: Lucio Sauer @ 2024-07-18 16:39 UTC (permalink / raw
  To: gentoo-commits

commit:     23da3001adc2b9faaf6f342c9b9921276d349682
Author:     Lucio Sauer <watermanpaint <AT> posteo <DOT> net>
AuthorDate: Thu Jul 18 15:47:24 2024 +0000
Commit:     Lucio Sauer <watermanpaint <AT> posteo <DOT> net>
CommitDate: Thu Jul 18 15:48:39 2024 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=23da3001

app-misc/via: update HOMEPAGE to fix RedirectedUrlCheck

Signed-off-by: Lucio Sauer <watermanpaint <AT> posteo.net>

 app-misc/via/via-3.0.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/app-misc/via/via-3.0.0.ebuild b/app-misc/via/via-3.0.0.ebuild
index 0b4640a1c..dfdf14078 100644
--- a/app-misc/via/via-3.0.0.ebuild
+++ b/app-misc/via/via-3.0.0.ebuild
@@ -6,7 +6,7 @@ EAPI=8
 inherit desktop xdg
 
 DESCRIPTION="GUI configurator for supported QMK-based keyboards"
-HOMEPAGE="https://caniusevia.com"
+HOMEPAGE="https://www.caniusevia.com/"
 SRC_URI="https://github.com/the-via/releases/releases/download/v${PV}/${P}-linux.AppImage -> ${P}.AppImage"
 
 S="${WORKDIR}"


^ permalink raw reply related	[flat|nested] 9+ messages in thread

* [gentoo-commits] repo/proj/guru:master commit in: app-misc/via/
@ 2024-07-18 16:39 Lucio Sauer
  0 siblings, 0 replies; 9+ messages in thread
From: Lucio Sauer @ 2024-07-18 16:39 UTC (permalink / raw
  To: gentoo-commits

commit:     baa8c0cc2f20f0d74145a0ff39ceaac981fd5810
Author:     Lucio Sauer <watermanpaint <AT> posteo <DOT> net>
AuthorDate: Thu Jul 18 16:35:58 2024 +0000
Commit:     Lucio Sauer <watermanpaint <AT> posteo <DOT> net>
CommitDate: Thu Jul 18 16:35:58 2024 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=baa8c0cc

app-misc/via: add missing || die

Signed-off-by: Lucio Sauer <watermanpaint <AT> posteo.net>

 app-misc/via/via-3.0.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/app-misc/via/via-3.0.0.ebuild b/app-misc/via/via-3.0.0.ebuild
index c43f06640..cc02d2958 100644
--- a/app-misc/via/via-3.0.0.ebuild
+++ b/app-misc/via/via-3.0.0.ebuild
@@ -56,7 +56,7 @@ src_install() {
 	# The AppImage is self-contained and is installed as a binary directly, but
 	# it also contains a `.desktop` file and app icons that we want; we can
 	# extract those from its contents.
-	"${ED}/usr/bin/via" --appimage-extract
+	"${ED}/usr/bin/via" --appimage-extract || die
 
 	local size
 	for size in 16 24 32 48 64 96 128 256 512 1024; do


^ permalink raw reply related	[flat|nested] 9+ messages in thread

* [gentoo-commits] repo/proj/guru:master commit in: app-misc/via/
@ 2024-07-18 16:39 Lucio Sauer
  0 siblings, 0 replies; 9+ messages in thread
From: Lucio Sauer @ 2024-07-18 16:39 UTC (permalink / raw
  To: gentoo-commits

commit:     02feb0e1c1cf0d83045f0f70d421fbaf984da6ad
Author:     Lucio Sauer <watermanpaint <AT> posteo <DOT> net>
AuthorDate: Thu Jul 18 16:34:26 2024 +0000
Commit:     Lucio Sauer <watermanpaint <AT> posteo <DOT> net>
CommitDate: Thu Jul 18 16:34:26 2024 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=02feb0e1

app-misc/via: remove bundled libffmpeg.so from RDEPEND

Signed-off-by: Lucio Sauer <watermanpaint <AT> posteo.net>

 app-misc/via/via-3.0.0.ebuild | 1 -
 1 file changed, 1 deletion(-)

diff --git a/app-misc/via/via-3.0.0.ebuild b/app-misc/via/via-3.0.0.ebuild
index dfdf14078..c43f06640 100644
--- a/app-misc/via/via-3.0.0.ebuild
+++ b/app-misc/via/via-3.0.0.ebuild
@@ -30,7 +30,6 @@ RDEPEND="
 	dev-libs/nss
 	media-libs/alsa-lib
 	media-libs/mesa
-	media-video/ffmpeg
 	net-print/cups
 	sys-apps/dbus
 	sys-fs/fuse:0


^ permalink raw reply related	[flat|nested] 9+ messages in thread

* [gentoo-commits] repo/proj/guru:master commit in: app-misc/via/
  2024-07-18 15:49 [gentoo-commits] repo/proj/guru:dev " Lucio Sauer
@ 2024-07-18 16:39 ` Lucio Sauer
  0 siblings, 0 replies; 9+ messages in thread
From: Lucio Sauer @ 2024-07-18 16:39 UTC (permalink / raw
  To: gentoo-commits

commit:     8c163199776d93213ffeea456b95a74af56af566
Author:     Lucio Sauer <watermanpaint <AT> posteo <DOT> net>
AuthorDate: Thu Jul 18 15:44:13 2024 +0000
Commit:     Lucio Sauer <watermanpaint <AT> posteo <DOT> net>
CommitDate: Thu Jul 18 15:44:13 2024 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=8c163199

app-misc/via: add missing rdeps, tighten existing ones

extract AppImage and scanelf -n via-nativia

Signed-off-by: Lucio Sauer <watermanpaint <AT> posteo.net>

 app-misc/via/via-3.0.0.ebuild | 16 ++++++++++------
 1 file changed, 10 insertions(+), 6 deletions(-)

diff --git a/app-misc/via/via-3.0.0.ebuild b/app-misc/via/via-3.0.0.ebuild
index 040cc82c2..c8f73a888 100644
--- a/app-misc/via/via-3.0.0.ebuild
+++ b/app-misc/via/via-3.0.0.ebuild
@@ -18,21 +18,25 @@ KEYWORDS="~amd64"
 # filesystem.
 RESTRICT="strip"
 
-# These dependencies were extracted from the shared libraries required by the
-# via-nativia executable; it's not clear whether these are all _actually_
-# required, or whether the list is extensive because the executable is an
-# Electron app.
+# Except for sys-libs/zlib, these dependencies were extracted from the shared
+# libraries required by the via-nativia executable; it's not clear whether
+# these are all _actually_ required, or whether the list is extensive because
+# the executable is an Electron app.
 RDEPEND="
 	app-accessibility/at-spi2-core
 	dev-libs/expat
-	dev-libs/glib
+	dev-libs/glib:2
 	dev-libs/nspr
 	dev-libs/nss
 	media-libs/alsa-lib
 	media-libs/mesa
+	media-video/ffmpeg
+	net-print/cups
 	sys-apps/dbus
+	sys-fs/fuse:0
+	sys-libs/zlib
 	x11-libs/cairo
-	x11-libs/gtk+
+	x11-libs/gtk+:3
 	x11-libs/libX11
 	x11-libs/libXcomposite
 	x11-libs/libXdamage


^ permalink raw reply related	[flat|nested] 9+ messages in thread

* [gentoo-commits] repo/proj/guru:master commit in: app-misc/via/
  2024-07-18 15:49 [gentoo-commits] repo/proj/guru:dev " Lucio Sauer
@ 2024-07-18 16:39 ` Lucio Sauer
  0 siblings, 0 replies; 9+ messages in thread
From: Lucio Sauer @ 2024-07-18 16:39 UTC (permalink / raw
  To: gentoo-commits

commit:     fd2bbc675e10072bc8f69290743a895546dc53ba
Author:     Lucio Sauer <watermanpaint <AT> posteo <DOT> net>
AuthorDate: Thu Jul 18 15:45:17 2024 +0000
Commit:     Lucio Sauer <watermanpaint <AT> posteo <DOT> net>
CommitDate: Thu Jul 18 15:45:17 2024 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=fd2bbc67

app-misc/via: add QA_FLAGS_IGNORED for AppImage

Signed-off-by: Lucio Sauer <watermanpaint <AT> posteo.net>

 app-misc/via/via-3.0.0.ebuild | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/app-misc/via/via-3.0.0.ebuild b/app-misc/via/via-3.0.0.ebuild
index c8f73a888..0b4640a1c 100644
--- a/app-misc/via/via-3.0.0.ebuild
+++ b/app-misc/via/via-3.0.0.ebuild
@@ -49,6 +49,8 @@ RDEPEND="
 	x11-libs/pango
 "
 
+QA_FLAGS_IGNORED="usr/bin/via"
+
 src_install() {
 	newbin "${DISTDIR}/${P}.AppImage" via
 


^ permalink raw reply related	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2024-07-18 16:40 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-07-18 16:39 [gentoo-commits] repo/proj/guru:master commit in: app-misc/via/ Lucio Sauer
  -- strict thread matches above, loose matches on Subject: below --
2024-07-18 16:39 Lucio Sauer
2024-07-18 16:39 Lucio Sauer
2024-07-18 16:39 Lucio Sauer
2024-07-18 16:39 Lucio Sauer
2024-07-18 15:49 [gentoo-commits] repo/proj/guru:dev " Lucio Sauer
2024-07-18 16:39 ` [gentoo-commits] repo/proj/guru:master " Lucio Sauer
2024-07-18 15:49 [gentoo-commits] repo/proj/guru:dev " Lucio Sauer
2024-07-18 16:39 ` [gentoo-commits] repo/proj/guru:master " Lucio Sauer
2024-07-17  8:40 David Roman
2024-07-17  8:40 David Roman

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox