* [gentoo-commits] repo/proj/guru:master commit in: media-gfx/nsxiv/
@ 2021-09-17 1:57 Haelwenn Monnier
0 siblings, 0 replies; 18+ messages in thread
From: Haelwenn Monnier @ 2021-09-17 1:57 UTC (permalink / raw
To: gentoo-commits
commit: d22db6606219ff0101fff0c0609d8de86eff95e0
Author: Nickolas Raymond Kaczynski <nrk <AT> disroot <DOT> org>
AuthorDate: Fri Sep 17 00:17:09 2021 +0000
Commit: Haelwenn Monnier <contact <AT> hacktivis <DOT> me>
CommitDate: Fri Sep 17 00:17:09 2021 +0000
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=d22db660
media-gfx/nsxiv: add new package
Package-Manager: Portage-3.0.22, Repoman-3.0.3
Signed-off-by: Nickolas Raymond Kaczynski <nrk <AT> disroot.org>
media-gfx/nsxiv/Manifest | 1 +
media-gfx/nsxiv/metadata.xml | 10 ++++++
media-gfx/nsxiv/nsxiv-27.1.ebuild | 67 +++++++++++++++++++++++++++++++++++++++
3 files changed, 78 insertions(+)
diff --git a/media-gfx/nsxiv/Manifest b/media-gfx/nsxiv/Manifest
new file mode 100644
index 000000000..6cc70600c
--- /dev/null
+++ b/media-gfx/nsxiv/Manifest
@@ -0,0 +1 @@
+DIST nsxiv-27.1.tar.gz 54242 BLAKE2B baed35787874b02e0051e0b19b2cb9670a66ce01de1ca3446a8ca5f99fcebd785232a5b3715f0f3dd733314096e3a46a6ebcc8960417abfc1a6e5e09224f15d2 SHA512 08a250a43a92a08258e2a6e871d6d5f596206af344fe3896505c0e85bdf556d02f13b1dbc9b365ce7c597770425d0e3635878b3fceb37f324957674ccc1b1eb0
diff --git a/media-gfx/nsxiv/metadata.xml b/media-gfx/nsxiv/metadata.xml
new file mode 100644
index 000000000..fb509378e
--- /dev/null
+++ b/media-gfx/nsxiv/metadata.xml
@@ -0,0 +1,10 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>nrk@disroot.org</email>
+ </maintainer>
+ <upstream>
+ <remote-id type="github">nsxiv/nsxiv</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/media-gfx/nsxiv/nsxiv-27.1.ebuild b/media-gfx/nsxiv/nsxiv-27.1.ebuild
new file mode 100644
index 000000000..d6b554f39
--- /dev/null
+++ b/media-gfx/nsxiv/nsxiv-27.1.ebuild
@@ -0,0 +1,67 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit desktop xdg-utils savedconfig toolchain-funcs
+
+if [[ ${PV} == "9999" ]] ; then
+ EGIT_REPO_URI="https://github.com/nsxiv/nsxiv.git"
+ inherit git-r3
+else
+ SRC_URI="https://github.com/nsxiv/nsxiv/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+ KEYWORDS="~amd64"
+fi
+
+DESCRIPTION="Neo (or New or Not) Simple (or Small or Suckless) X Image Viewer"
+HOMEPAGE="https://github.com/nsxiv/nsxiv"
+
+LICENSE="GPL-2"
+SLOT="0"
+IUSE="exif gif +jpeg +png webp tiff"
+
+RDEPEND="
+ exif? ( media-libs/libexif )
+ gif? ( media-libs/giflib:0= )
+ media-libs/imlib2[X,gif?,jpeg?,png?,webp?,tiff?]
+ x11-libs/libX11
+ x11-libs/libXft
+"
+DEPEND="${RDEPEND}"
+
+src_prepare() {
+ default
+
+ restore_config config.h
+}
+
+src_configure() {
+ sed -i \
+ -e '/-include config.mk/d' \
+ -e '/\$(OBJS): / s|config.mk||' \
+ -e '/^install: / s|: all|:|' \
+ Makefile || die "sed failed"
+}
+
+src_compile() {
+ emake CC="$(tc-getCC)" HAVE_LIBEXIF=$(usex exif 1 0) HAVE_LIBGIF=$(usex gif 1 0)
+}
+
+src_install() {
+ emake DESTDIR="${ED}" PREFIX=/usr install
+ emake -C icon DESTDIR="${ED}" PREFIX=/usr install
+ dodoc README.md
+ domenu nsxiv.desktop
+
+ save_config config.h
+}
+
+pkg_postinst() {
+ xdg_desktop_database_update
+ xdg_icon_cache_update
+}
+
+pkg_postrm() {
+ xdg_desktop_database_update
+ xdg_icon_cache_update
+}
^ permalink raw reply related [flat|nested] 18+ messages in thread
* [gentoo-commits] repo/proj/guru:master commit in: media-gfx/nsxiv/
@ 2021-09-24 8:28 Arthur Zamarin
0 siblings, 0 replies; 18+ messages in thread
From: Arthur Zamarin @ 2021-09-24 8:28 UTC (permalink / raw
To: gentoo-commits
commit: f3206dd137fa5caa52756078819bf5a194aab502
Author: Nickolas Raymond Kaczynski <nrk <AT> disroot <DOT> org>
AuthorDate: Thu Sep 23 06:44:42 2021 +0000
Commit: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
CommitDate: Thu Sep 23 06:46:32 2021 +0000
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=f3206dd1
media-gfx/nsxiv: add inotify, deafult enable gif
Package-Manager: Portage-3.0.22, Repoman-3.0.3
Signed-off-by: Nickolas Raymond Kaczynski <nrk <AT> disroot.org>
media-gfx/nsxiv/nsxiv-27.1.ebuild | 20 +++++++++++++++++---
1 file changed, 17 insertions(+), 3 deletions(-)
diff --git a/media-gfx/nsxiv/nsxiv-27.1.ebuild b/media-gfx/nsxiv/nsxiv-27.1.ebuild
index d6b554f39..f53c57016 100644
--- a/media-gfx/nsxiv/nsxiv-27.1.ebuild
+++ b/media-gfx/nsxiv/nsxiv-27.1.ebuild
@@ -3,7 +3,7 @@
EAPI=7
-inherit desktop xdg-utils savedconfig toolchain-funcs
+inherit desktop xdg-utils savedconfig toolchain-funcs linux-info
if [[ ${PV} == "9999" ]] ; then
EGIT_REPO_URI="https://github.com/nsxiv/nsxiv.git"
@@ -18,7 +18,7 @@ HOMEPAGE="https://github.com/nsxiv/nsxiv"
LICENSE="GPL-2"
SLOT="0"
-IUSE="exif gif +jpeg +png webp tiff"
+IUSE="exif +gif +jpeg +png webp tiff +inotify"
RDEPEND="
exif? ( media-libs/libexif )
@@ -29,6 +29,17 @@ RDEPEND="
"
DEPEND="${RDEPEND}"
+pkg_setup() {
+ if use inotify; then
+ nsxiv_autoreload="inotify"
+ CONFIG_CHECK+=" ~INOTIFY_USER"
+ ERROR_INOTIFY_USER="${P} requires inotify in-kernel support."
+ linux-info_pkg_setup
+ else
+ nsxiv_autoreload="nop"
+ fi
+}
+
src_prepare() {
default
@@ -44,7 +55,10 @@ src_configure() {
}
src_compile() {
- emake CC="$(tc-getCC)" HAVE_LIBEXIF=$(usex exif 1 0) HAVE_LIBGIF=$(usex gif 1 0)
+ emake CC="$(tc-getCC)" \
+ HAVE_LIBEXIF=$(usex exif 1 0) \
+ HAVE_LIBGIF=$(usex gif 1 0) \
+ AUTORELOAD="${nsxiv_autoreload}"
}
src_install() {
^ permalink raw reply related [flat|nested] 18+ messages in thread
* [gentoo-commits] repo/proj/guru:master commit in: media-gfx/nsxiv/
@ 2022-03-07 15:15 Ronny Gutbrod
0 siblings, 0 replies; 18+ messages in thread
From: Ronny Gutbrod @ 2022-03-07 15:15 UTC (permalink / raw
To: gentoo-commits
commit: 5340918136b3c065747b22dd6eb015082ec9470a
Author: Nickolas Raymond Kaczynski <nrk <AT> disroot <DOT> org>
AuthorDate: Thu Mar 3 13:01:55 2022 +0000
Commit: Ronny Gutbrod <gentoo <AT> tastytea <DOT> de>
CommitDate: Thu Mar 3 13:01:55 2022 +0000
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=53409181
media-gfx/nsxiv: add v29, drop v27.1
Package-Manager: Portage-3.0.30, Repoman-3.0.3
Signed-off-by: Nickolas Raymond Kaczynski <nrk <AT> disroot.org>
media-gfx/nsxiv/Manifest | 2 +-
.../nsxiv/{nsxiv-27.1.ebuild => nsxiv-29.ebuild} | 33 +++++++++++-----------
media-gfx/nsxiv/nsxiv-9999.ebuild | 17 ++++++-----
3 files changed, 26 insertions(+), 26 deletions(-)
diff --git a/media-gfx/nsxiv/Manifest b/media-gfx/nsxiv/Manifest
index 92958780b..6969ab8c5 100644
--- a/media-gfx/nsxiv/Manifest
+++ b/media-gfx/nsxiv/Manifest
@@ -1,2 +1,2 @@
-DIST nsxiv-27.1.tar.gz 54242 BLAKE2B baed35787874b02e0051e0b19b2cb9670a66ce01de1ca3446a8ca5f99fcebd785232a5b3715f0f3dd733314096e3a46a6ebcc8960417abfc1a6e5e09224f15d2 SHA512 08a250a43a92a08258e2a6e871d6d5f596206af344fe3896505c0e85bdf556d02f13b1dbc9b365ce7c597770425d0e3635878b3fceb37f324957674ccc1b1eb0
DIST nsxiv-28.tar.gz 60699 BLAKE2B d52d5933005492c55b0133b594a2b9613443324aca22ffe48dff90bdc62afc6cd48eac14ed578db9fcff5d147b5b6020edaf538335f9b26499232d0670935a3e SHA512 a1d61dc57f41e5b50225dd1e8120b8f1e31b042d43f7443ec27d2fc227e8eb98e96116357e8329011b7ca9aac10e7f0f2259bad3b57fbb1b2951a8fe4d8930bf
+DIST nsxiv-29.tar.gz 64012 BLAKE2B 1b964736619a56cc8fb4092979f12749389fa347e3fda7a40fcfdc1b07a72e101c61d99fb12b10f4ea7ab6459c8068d5c64d754e3e988ec6bfd4504813bcc485 SHA512 d891fc0885f280a622401e105dc1ed9ba39e40f3e760e3e0cd34ae79fdb32187b1d3dc15590bbefd68a18db2aa12795433907e6e744561cc891fc03e7a1f1e94
diff --git a/media-gfx/nsxiv/nsxiv-27.1.ebuild b/media-gfx/nsxiv/nsxiv-29.ebuild
similarity index 67%
rename from media-gfx/nsxiv/nsxiv-27.1.ebuild
rename to media-gfx/nsxiv/nsxiv-29.ebuild
index f53c57016..615ed9c70 100644
--- a/media-gfx/nsxiv/nsxiv-27.1.ebuild
+++ b/media-gfx/nsxiv/nsxiv-29.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2021 Gentoo Authors
+# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
@@ -18,25 +18,23 @@ HOMEPAGE="https://github.com/nsxiv/nsxiv"
LICENSE="GPL-2"
SLOT="0"
-IUSE="exif +gif +jpeg +png webp tiff +inotify"
+IUSE="+statusbar exif +inotify +gif +jpeg +png webp tiff"
RDEPEND="
+ statusbar? ( x11-libs/libXft )
exif? ( media-libs/libexif )
gif? ( media-libs/giflib:0= )
+ webp? ( media-libs/libwebp )
media-libs/imlib2[X,gif?,jpeg?,png?,webp?,tiff?]
x11-libs/libX11
- x11-libs/libXft
"
DEPEND="${RDEPEND}"
pkg_setup() {
if use inotify; then
- nsxiv_autoreload="inotify"
CONFIG_CHECK+=" ~INOTIFY_USER"
ERROR_INOTIFY_USER="${P} requires inotify in-kernel support."
linux-info_pkg_setup
- else
- nsxiv_autoreload="nop"
fi
}
@@ -47,23 +45,26 @@ src_prepare() {
}
src_configure() {
- sed -i \
- -e '/-include config.mk/d' \
- -e '/\$(OBJS): / s|config.mk||' \
- -e '/^install: / s|: all|:|' \
+ sed -i -e '/^install: / s|: all|:|' \
+ -e 's|^CFLAGS =|CFLAGS +=|' \
Makefile || die "sed failed"
}
src_compile() {
- emake CC="$(tc-getCC)" \
- HAVE_LIBEXIF=$(usex exif 1 0) \
- HAVE_LIBGIF=$(usex gif 1 0) \
- AUTORELOAD="${nsxiv_autoreload}"
+ emake CC="$(tc-getCC)" OPT_DEP_DEFAULT=0 \
+ HAVE_INOTIFY="$(usex inotify 1 0)" \
+ HAVE_LIBFONTS="$(usex statusbar 1 0)" \
+ HAVE_LIBGIF="$(usex gif 1 0)" \
+ HAVE_LIBWEBP="$(usex webp 1 0)" \
+ HAVE_LIBEXIF="$(usex exif 1 0)"
}
src_install() {
- emake DESTDIR="${ED}" PREFIX=/usr install
- emake -C icon DESTDIR="${ED}" PREFIX=/usr install
+ emake \
+ DESTDIR="${ED}" \
+ PREFIX="/usr" \
+ EGPREFIX="/usr/share/doc/${P}/examples" \
+ install install-icon
dodoc README.md
domenu nsxiv.desktop
diff --git a/media-gfx/nsxiv/nsxiv-9999.ebuild b/media-gfx/nsxiv/nsxiv-9999.ebuild
index 6c5bd08ad..615ed9c70 100644
--- a/media-gfx/nsxiv/nsxiv-9999.ebuild
+++ b/media-gfx/nsxiv/nsxiv-9999.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2021 Gentoo Authors
+# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
@@ -45,8 +45,8 @@ src_prepare() {
}
src_configure() {
- sed -i -e '/^install: / s|: all|:|' \
- -e 's|^CFLAGS ?=|CFLAGS +=|' \
+ sed -i -e '/^install: / s|: all|:|' \
+ -e 's|^CFLAGS =|CFLAGS +=|' \
Makefile || die "sed failed"
}
@@ -60,12 +60,11 @@ src_compile() {
}
src_install() {
- export DESTDIR="${ED}"
- export PREFIX="/usr"
- export EGPREFIX="${PREFIX}/share/doc/${P}/examples"
-
- emake install
- emake install-icon
+ emake \
+ DESTDIR="${ED}" \
+ PREFIX="/usr" \
+ EGPREFIX="/usr/share/doc/${P}/examples" \
+ install install-icon
dodoc README.md
domenu nsxiv.desktop
^ permalink raw reply related [flat|nested] 18+ messages in thread
* [gentoo-commits] repo/proj/guru:master commit in: media-gfx/nsxiv/
@ 2022-06-13 10:49 Andrew Ammerlaan
0 siblings, 0 replies; 18+ messages in thread
From: Andrew Ammerlaan @ 2022-06-13 10:49 UTC (permalink / raw
To: gentoo-commits
commit: aecb26ebbf3abc32387e9f38df0c5cc6769d3982
Author: Nickolas Raymond Kaczynski <nrk <AT> disroot <DOT> org>
AuthorDate: Sat Jun 11 15:37:08 2022 +0000
Commit: Andrew Ammerlaan <andrewammerlaan <AT> gentoo <DOT> org>
CommitDate: Sat Jun 11 15:37:08 2022 +0000
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=aecb26eb
media-gfx/nsxiv: change homepage and git uri
still using github for fetching tarballs since it'd presumably hab
better speed.
Signed-off-by: Nickolas Raymond Kaczynski <nrk <AT> disroot.org>
media-gfx/nsxiv/nsxiv-29.ebuild | 4 ++--
media-gfx/nsxiv/nsxiv-9999.ebuild | 4 ++--
2 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/media-gfx/nsxiv/nsxiv-29.ebuild b/media-gfx/nsxiv/nsxiv-29.ebuild
index 20d5ea1cc..6aa11c535 100644
--- a/media-gfx/nsxiv/nsxiv-29.ebuild
+++ b/media-gfx/nsxiv/nsxiv-29.ebuild
@@ -6,7 +6,7 @@ EAPI=7
inherit desktop xdg-utils savedconfig toolchain-funcs linux-info
if [[ ${PV} == "9999" ]] ; then
- EGIT_REPO_URI="https://github.com/nsxiv/nsxiv.git"
+ EGIT_REPO_URI="https://codeberg.org/nsxiv/nsxiv.git"
inherit git-r3
else
SRC_URI="https://github.com/nsxiv/nsxiv/archive/v${PV}.tar.gz -> ${P}.tar.gz"
@@ -14,7 +14,7 @@ else
fi
DESCRIPTION="Neo (or New or Not) Simple (or Small or Suckless) X Image Viewer"
-HOMEPAGE="https://github.com/nsxiv/nsxiv"
+HOMEPAGE="https://codeberg.org/nsxiv/nsxiv"
LICENSE="GPL-2"
SLOT="0"
diff --git a/media-gfx/nsxiv/nsxiv-9999.ebuild b/media-gfx/nsxiv/nsxiv-9999.ebuild
index b33899993..0b27fee7f 100644
--- a/media-gfx/nsxiv/nsxiv-9999.ebuild
+++ b/media-gfx/nsxiv/nsxiv-9999.ebuild
@@ -6,7 +6,7 @@ EAPI=7
inherit desktop xdg-utils savedconfig toolchain-funcs linux-info
if [[ ${PV} == "9999" ]] ; then
- EGIT_REPO_URI="https://github.com/nsxiv/nsxiv.git"
+ EGIT_REPO_URI="https://codeberg.org/nsxiv/nsxiv.git"
inherit git-r3
else
SRC_URI="https://github.com/nsxiv/nsxiv/archive/v${PV}.tar.gz -> ${P}.tar.gz"
@@ -14,7 +14,7 @@ else
fi
DESCRIPTION="Neo (or New or Not) Simple (or Small or Suckless) X Image Viewer"
-HOMEPAGE="https://github.com/nsxiv/nsxiv"
+HOMEPAGE="https://codeberg.org/nsxiv/nsxiv"
LICENSE="GPL-2"
SLOT="0"
^ permalink raw reply related [flat|nested] 18+ messages in thread
* [gentoo-commits] repo/proj/guru:master commit in: media-gfx/nsxiv/
@ 2022-06-18 19:19 Andrew Ammerlaan
0 siblings, 0 replies; 18+ messages in thread
From: Andrew Ammerlaan @ 2022-06-18 19:19 UTC (permalink / raw
To: gentoo-commits
commit: a7692d7ed96a8c96379fc184fd5dffd4db93b363
Author: Nickolas Raymond Kaczynski <nrk <AT> disroot <DOT> org>
AuthorDate: Sat Jun 18 07:00:05 2022 +0000
Commit: Andrew Ammerlaan <andrewammerlaan <AT> gentoo <DOT> org>
CommitDate: Sat Jun 18 07:00:05 2022 +0000
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=a7692d7e
media-gfx/nsxiv: bump to v30
Package-Manager: Portage-3.0.30, Repoman-3.0.3
Signed-off-by: Nickolas Raymond Kaczynski <nrk <AT> disroot.org>
media-gfx/nsxiv/Manifest | 1 +
media-gfx/nsxiv/nsxiv-30.ebuild | 85 +++++++++++++++++++++++++++++++++++++++++
2 files changed, 86 insertions(+)
diff --git a/media-gfx/nsxiv/Manifest b/media-gfx/nsxiv/Manifest
index 420b5ad97..28b502a3d 100644
--- a/media-gfx/nsxiv/Manifest
+++ b/media-gfx/nsxiv/Manifest
@@ -1 +1,2 @@
DIST nsxiv-29.tar.gz 64012 BLAKE2B 1b964736619a56cc8fb4092979f12749389fa347e3fda7a40fcfdc1b07a72e101c61d99fb12b10f4ea7ab6459c8068d5c64d754e3e988ec6bfd4504813bcc485 SHA512 d891fc0885f280a622401e105dc1ed9ba39e40f3e760e3e0cd34ae79fdb32187b1d3dc15590bbefd68a18db2aa12795433907e6e744561cc891fc03e7a1f1e94
+DIST nsxiv-30.tar.gz 65642 BLAKE2B 910d1afe2c32e729bf5f848255d5b5d31658b4027f1a44d0e9812e5aac992fe3bb5bc0662aa70aca4f49fba5f3d769c83d5afb098d3ab662883c0b0ccffdb6b0 SHA512 2c852790c5940a8995a5c8a152b6f74198de4640e3827164c8e99855dc06b921c4601ac712a16c801071c656da4a6cd839a6590894f6ab86af35e90b30a8f5af
diff --git a/media-gfx/nsxiv/nsxiv-30.ebuild b/media-gfx/nsxiv/nsxiv-30.ebuild
new file mode 100644
index 000000000..0b27fee7f
--- /dev/null
+++ b/media-gfx/nsxiv/nsxiv-30.ebuild
@@ -0,0 +1,85 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit desktop xdg-utils savedconfig toolchain-funcs linux-info
+
+if [[ ${PV} == "9999" ]] ; then
+ EGIT_REPO_URI="https://codeberg.org/nsxiv/nsxiv.git"
+ inherit git-r3
+else
+ SRC_URI="https://github.com/nsxiv/nsxiv/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+ KEYWORDS="~amd64"
+fi
+
+DESCRIPTION="Neo (or New or Not) Simple (or Small or Suckless) X Image Viewer"
+HOMEPAGE="https://codeberg.org/nsxiv/nsxiv"
+
+LICENSE="GPL-2"
+SLOT="0"
+IUSE="+statusbar exif +inotify +gif webp"
+
+RDEPEND="
+ x11-libs/libX11
+ media-libs/imlib2[X]
+ statusbar? ( x11-libs/libXft )
+ exif? ( media-libs/libexif )
+ gif? ( media-libs/giflib:0= )
+ webp? ( media-libs/libwebp )
+"
+DEPEND="${RDEPEND}"
+
+pkg_setup() {
+ if use inotify; then
+ CONFIG_CHECK+=" ~INOTIFY_USER"
+ ERROR_INOTIFY_USER="${P} requires inotify in-kernel support."
+ linux-info_pkg_setup
+ fi
+}
+
+src_prepare() {
+ default
+
+ restore_config config.h
+}
+
+src_configure() {
+ sed -i -e '/^install: / s|: all|:|' Makefile || die "sed failed"
+ sed -i -e 's|^CFLAGS =|CFLAGS +=|' config.mk || die "sed failed"
+}
+
+src_compile() {
+ emake CC="$(tc-getCC)" OPT_DEP_DEFAULT=0 \
+ HAVE_INOTIFY="$(usex inotify 1 0)" \
+ HAVE_LIBFONTS="$(usex statusbar 1 0)" \
+ HAVE_LIBGIF="$(usex gif 1 0)" \
+ HAVE_LIBWEBP="$(usex webp 1 0)" \
+ HAVE_LIBEXIF="$(usex exif 1 0)"
+}
+
+src_install() {
+ emake \
+ DESTDIR="${ED}" \
+ PREFIX="/usr" \
+ EGPREFIX="/usr/share/doc/${P}/examples" \
+ install install-icon
+ dodoc README.md
+ domenu nsxiv.desktop
+
+ save_config config.h
+}
+
+pkg_postinst() {
+ xdg_desktop_database_update
+ xdg_icon_cache_update
+
+ einfo "${PN} uses media-libs/imlib2 for loading images."
+ einfo "To enable/disable support for specific image formats,"
+ einfo "toggle the necessary USE flag for imlib2."
+}
+
+pkg_postrm() {
+ xdg_desktop_database_update
+ xdg_icon_cache_update
+}
^ permalink raw reply related [flat|nested] 18+ messages in thread
* [gentoo-commits] repo/proj/guru:master commit in: media-gfx/nsxiv/
@ 2022-08-11 13:45 Andrew Ammerlaan
0 siblings, 0 replies; 18+ messages in thread
From: Andrew Ammerlaan @ 2022-08-11 13:45 UTC (permalink / raw
To: gentoo-commits
commit: 496f75ae2c81683358cabef3861abe678900391c
Author: Nickolas Raymond Kaczynski <nrk <AT> disroot <DOT> org>
AuthorDate: Tue Aug 9 17:24:52 2022 +0000
Commit: Andrew Ammerlaan <andrewammerlaan <AT> gentoo <DOT> org>
CommitDate: Tue Aug 9 17:24:52 2022 +0000
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=496f75ae
media-gfx/nsxiv-9999: fix ebuild
Package-Manager: Portage-3.0.30, Repoman-3.0.3
Signed-off-by: Nickolas Raymond Kaczynski <nrk <AT> disroot.org>
media-gfx/nsxiv/nsxiv-9999.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/media-gfx/nsxiv/nsxiv-9999.ebuild b/media-gfx/nsxiv/nsxiv-9999.ebuild
index 0b27fee7f..cea408441 100644
--- a/media-gfx/nsxiv/nsxiv-9999.ebuild
+++ b/media-gfx/nsxiv/nsxiv-9999.ebuild
@@ -65,7 +65,7 @@ src_install() {
EGPREFIX="/usr/share/doc/${P}/examples" \
install install-icon
dodoc README.md
- domenu nsxiv.desktop
+ domenu etc/nsxiv.desktop
save_config config.h
}
^ permalink raw reply related [flat|nested] 18+ messages in thread
* [gentoo-commits] repo/proj/guru:master commit in: media-gfx/nsxiv/
@ 2023-01-10 8:37 Haelwenn Monnier
0 siblings, 0 replies; 18+ messages in thread
From: Haelwenn Monnier @ 2023-01-10 8:37 UTC (permalink / raw
To: gentoo-commits
commit: 94a9da220dd351ae2334c097261492fcdab3a0fc
Author: Nickolas Raymond Kaczynski <nrk <AT> disroot <DOT> org>
AuthorDate: Mon Jan 9 10:11:35 2023 +0000
Commit: Haelwenn Monnier <contact <AT> hacktivis <DOT> me>
CommitDate: Mon Jan 9 10:17:03 2023 +0000
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=94a9da22
media-gfx/nsxiv: add animated USE flag, drop gif & webp
the gif and webp build options are depreciated upstream.
Signed-off-by: Nickolas Raymond Kaczynski <nrk <AT> disroot.org>
media-gfx/nsxiv/metadata.xml | 3 ++-
media-gfx/nsxiv/nsxiv-9999.ebuild | 7 ++-----
2 files changed, 4 insertions(+), 6 deletions(-)
diff --git a/media-gfx/nsxiv/metadata.xml b/media-gfx/nsxiv/metadata.xml
index 9b518bd51..0f74c8e53 100644
--- a/media-gfx/nsxiv/metadata.xml
+++ b/media-gfx/nsxiv/metadata.xml
@@ -8,8 +8,9 @@
<remote-id type="github">nsxiv/nsxiv</remote-id>
</upstream>
<use>
- <flag name="statusbar">Add statusbar support</flag>
+ <flag name="animated">Add animated image support</flag>
<flag name="gif">Add animated gif support</flag>
+ <flag name="statusbar">Add statusbar support</flag>
<flag name="webp">Add animated webp support</flag>
</use>
</pkgmetadata>
diff --git a/media-gfx/nsxiv/nsxiv-9999.ebuild b/media-gfx/nsxiv/nsxiv-9999.ebuild
index cea408441..0c6c27ce0 100644
--- a/media-gfx/nsxiv/nsxiv-9999.ebuild
+++ b/media-gfx/nsxiv/nsxiv-9999.ebuild
@@ -18,15 +18,14 @@ HOMEPAGE="https://codeberg.org/nsxiv/nsxiv"
LICENSE="GPL-2"
SLOT="0"
-IUSE="+statusbar exif +inotify +gif webp"
+IUSE="+statusbar +animated +inotify exif"
RDEPEND="
x11-libs/libX11
media-libs/imlib2[X]
statusbar? ( x11-libs/libXft )
exif? ( media-libs/libexif )
- gif? ( media-libs/giflib:0= )
- webp? ( media-libs/libwebp )
+ animated? ( >=media-libs/imlib2-1.8.0[X] )
"
DEPEND="${RDEPEND}"
@@ -53,8 +52,6 @@ src_compile() {
emake CC="$(tc-getCC)" OPT_DEP_DEFAULT=0 \
HAVE_INOTIFY="$(usex inotify 1 0)" \
HAVE_LIBFONTS="$(usex statusbar 1 0)" \
- HAVE_LIBGIF="$(usex gif 1 0)" \
- HAVE_LIBWEBP="$(usex webp 1 0)" \
HAVE_LIBEXIF="$(usex exif 1 0)"
}
^ permalink raw reply related [flat|nested] 18+ messages in thread
* [gentoo-commits] repo/proj/guru:master commit in: media-gfx/nsxiv/
@ 2023-01-10 8:37 Haelwenn Monnier
0 siblings, 0 replies; 18+ messages in thread
From: Haelwenn Monnier @ 2023-01-10 8:37 UTC (permalink / raw
To: gentoo-commits
commit: 2ad9d995c5bab4163fa2037b9864dc5c73aeb891
Author: Nickolas Raymond Kaczynski <nrk <AT> disroot <DOT> org>
AuthorDate: Tue Jan 10 04:53:21 2023 +0000
Commit: Haelwenn Monnier <contact <AT> hacktivis <DOT> me>
CommitDate: Tue Jan 10 04:53:21 2023 +0000
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=2ad9d995
media-gfx/nsxiv: build with animated image support uncondionally
gentoo repos already have sufficient version of imlib2 and the binary
size saved by compiling out animation support is just 1kb.
Signed-off-by: Nickolas Raymond Kaczynski <nrk <AT> disroot.org>
media-gfx/nsxiv/metadata.xml | 1 -
media-gfx/nsxiv/nsxiv-9999.ebuild | 7 +++----
2 files changed, 3 insertions(+), 5 deletions(-)
diff --git a/media-gfx/nsxiv/metadata.xml b/media-gfx/nsxiv/metadata.xml
index 0f74c8e53..cde50557f 100644
--- a/media-gfx/nsxiv/metadata.xml
+++ b/media-gfx/nsxiv/metadata.xml
@@ -8,7 +8,6 @@
<remote-id type="github">nsxiv/nsxiv</remote-id>
</upstream>
<use>
- <flag name="animated">Add animated image support</flag>
<flag name="gif">Add animated gif support</flag>
<flag name="statusbar">Add statusbar support</flag>
<flag name="webp">Add animated webp support</flag>
diff --git a/media-gfx/nsxiv/nsxiv-9999.ebuild b/media-gfx/nsxiv/nsxiv-9999.ebuild
index 0c6c27ce0..aef44e615 100644
--- a/media-gfx/nsxiv/nsxiv-9999.ebuild
+++ b/media-gfx/nsxiv/nsxiv-9999.ebuild
@@ -18,14 +18,13 @@ HOMEPAGE="https://codeberg.org/nsxiv/nsxiv"
LICENSE="GPL-2"
SLOT="0"
-IUSE="+statusbar +animated +inotify exif"
+IUSE="+statusbar +inotify exif"
RDEPEND="
x11-libs/libX11
- media-libs/imlib2[X]
+ >=media-libs/imlib2-1.8.0[X]
statusbar? ( x11-libs/libXft )
exif? ( media-libs/libexif )
- animated? ( >=media-libs/imlib2-1.8.0[X] )
"
DEPEND="${RDEPEND}"
@@ -73,7 +72,7 @@ pkg_postinst() {
einfo "${PN} uses media-libs/imlib2 for loading images."
einfo "To enable/disable support for specific image formats,"
- einfo "toggle the necessary USE flag for imlib2."
+ einfo "toggle the necessary USE flag for media-libs/imlib2."
}
pkg_postrm() {
^ permalink raw reply related [flat|nested] 18+ messages in thread
* [gentoo-commits] repo/proj/guru:master commit in: media-gfx/nsxiv/
@ 2023-01-29 10:40 Viorel Munteanu
0 siblings, 0 replies; 18+ messages in thread
From: Viorel Munteanu @ 2023-01-29 10:40 UTC (permalink / raw
To: gentoo-commits
commit: 023867cdbde34eb3c61780f109456305473d21be
Author: Nickolas Raymond Kaczynski <nrk <AT> disroot <DOT> org>
AuthorDate: Sat Jan 28 16:26:52 2023 +0000
Commit: Viorel Munteanu <ceamac <AT> gentoo <DOT> org>
CommitDate: Sat Jan 28 16:32:04 2023 +0000
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=023867cd
media-gfx/nsxiv: add v31, drop v29
Signed-off-by: Nickolas Raymond Kaczynski <nrk <AT> disroot.org>
media-gfx/nsxiv/Manifest | 2 +-
media-gfx/nsxiv/{nsxiv-29.ebuild => nsxiv-31.ebuild} | 17 ++++++-----------
2 files changed, 7 insertions(+), 12 deletions(-)
diff --git a/media-gfx/nsxiv/Manifest b/media-gfx/nsxiv/Manifest
index 28b502a3d..cec12c781 100644
--- a/media-gfx/nsxiv/Manifest
+++ b/media-gfx/nsxiv/Manifest
@@ -1,2 +1,2 @@
-DIST nsxiv-29.tar.gz 64012 BLAKE2B 1b964736619a56cc8fb4092979f12749389fa347e3fda7a40fcfdc1b07a72e101c61d99fb12b10f4ea7ab6459c8068d5c64d754e3e988ec6bfd4504813bcc485 SHA512 d891fc0885f280a622401e105dc1ed9ba39e40f3e760e3e0cd34ae79fdb32187b1d3dc15590bbefd68a18db2aa12795433907e6e744561cc891fc03e7a1f1e94
DIST nsxiv-30.tar.gz 65642 BLAKE2B 910d1afe2c32e729bf5f848255d5b5d31658b4027f1a44d0e9812e5aac992fe3bb5bc0662aa70aca4f49fba5f3d769c83d5afb098d3ab662883c0b0ccffdb6b0 SHA512 2c852790c5940a8995a5c8a152b6f74198de4640e3827164c8e99855dc06b921c4601ac712a16c801071c656da4a6cd839a6590894f6ab86af35e90b30a8f5af
+DIST nsxiv-31.tar.gz 73821 BLAKE2B f5a5f16d82fb78ce9ae5da341cb481f653dd28db7138529f20b76b4f0a73415e9c5ffa9a8c2dee23ec754d1d7f5451ae631e786a535799b6542ef55ed3548c5a SHA512 f6814f337763f23b569f12ad6d2aa33380b1f5dec0890f0bedb54620a725330fa6518acd6ddabe79c420f0feab01c307bdc91e4ea6141ce1a4528ea0a96addd8
diff --git a/media-gfx/nsxiv/nsxiv-29.ebuild b/media-gfx/nsxiv/nsxiv-31.ebuild
similarity index 80%
rename from media-gfx/nsxiv/nsxiv-29.ebuild
rename to media-gfx/nsxiv/nsxiv-31.ebuild
index 6aa11c535..aef44e615 100644
--- a/media-gfx/nsxiv/nsxiv-29.ebuild
+++ b/media-gfx/nsxiv/nsxiv-31.ebuild
@@ -18,15 +18,13 @@ HOMEPAGE="https://codeberg.org/nsxiv/nsxiv"
LICENSE="GPL-2"
SLOT="0"
-IUSE="+statusbar exif +inotify +gif webp"
+IUSE="+statusbar +inotify exif"
RDEPEND="
x11-libs/libX11
- media-libs/imlib2[X]
+ >=media-libs/imlib2-1.8.0[X]
statusbar? ( x11-libs/libXft )
exif? ( media-libs/libexif )
- gif? ( media-libs/giflib:0= )
- webp? ( media-libs/libwebp )
"
DEPEND="${RDEPEND}"
@@ -45,17 +43,14 @@ src_prepare() {
}
src_configure() {
- sed -i -e '/^install: / s|: all|:|' \
- -e 's|^CFLAGS =|CFLAGS +=|' \
- Makefile || die "sed failed"
+ sed -i -e '/^install: / s|: all|:|' Makefile || die "sed failed"
+ sed -i -e 's|^CFLAGS =|CFLAGS +=|' config.mk || die "sed failed"
}
src_compile() {
emake CC="$(tc-getCC)" OPT_DEP_DEFAULT=0 \
HAVE_INOTIFY="$(usex inotify 1 0)" \
HAVE_LIBFONTS="$(usex statusbar 1 0)" \
- HAVE_LIBGIF="$(usex gif 1 0)" \
- HAVE_LIBWEBP="$(usex webp 1 0)" \
HAVE_LIBEXIF="$(usex exif 1 0)"
}
@@ -66,7 +61,7 @@ src_install() {
EGPREFIX="/usr/share/doc/${P}/examples" \
install install-icon
dodoc README.md
- domenu nsxiv.desktop
+ domenu etc/nsxiv.desktop
save_config config.h
}
@@ -77,7 +72,7 @@ pkg_postinst() {
einfo "${PN} uses media-libs/imlib2 for loading images."
einfo "To enable/disable support for specific image formats,"
- einfo "toggle the necessary USE flag for imlib2."
+ einfo "toggle the necessary USE flag for media-libs/imlib2."
}
pkg_postrm() {
^ permalink raw reply related [flat|nested] 18+ messages in thread
* [gentoo-commits] repo/proj/guru:master commit in: media-gfx/nsxiv/
@ 2023-05-21 7:23 Viorel Munteanu
0 siblings, 0 replies; 18+ messages in thread
From: Viorel Munteanu @ 2023-05-21 7:23 UTC (permalink / raw
To: gentoo-commits
commit: cf5521adf10da683580306ae4142a1b337675cc6
Author: NRK <nrk <AT> disroot <DOT> org>
AuthorDate: Sat May 20 17:26:51 2023 +0000
Commit: Viorel Munteanu <ceamac <AT> gentoo <DOT> org>
CommitDate: Sat May 20 17:30:23 2023 +0000
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=cf5521ad
media-gfx/nsxiv: update 9999 ebuild
* update to EAPI 8
* adjust the sed command due to recent upstream change
Signed-off-by: NRK <nrk <AT> disroot.org>
media-gfx/nsxiv/nsxiv-9999.ebuild | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/media-gfx/nsxiv/nsxiv-9999.ebuild b/media-gfx/nsxiv/nsxiv-9999.ebuild
index 75c9332a1..c588aabf6 100644
--- a/media-gfx/nsxiv/nsxiv-9999.ebuild
+++ b/media-gfx/nsxiv/nsxiv-9999.ebuild
@@ -1,7 +1,7 @@
-# Copyright 1999-2022 Gentoo Authors
+# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI=7
+EAPI=8
inherit desktop xdg-utils savedconfig toolchain-funcs linux-info
@@ -43,8 +43,8 @@ src_prepare() {
}
src_configure() {
- sed -i -e '/^install: / s|: all|:|' Makefile || die "sed failed"
- sed -i -e 's|^CFLAGS =|CFLAGS +=|' config.mk || die "sed failed"
+ sed -i -e '/^install: / s|: all|:|' Makefile || die
+ sed -i -e 's|^CFLAGS =|CFLAGS +=|;s|-O2 ||;' config.mk || die
}
src_compile() {
^ permalink raw reply related [flat|nested] 18+ messages in thread
* [gentoo-commits] repo/proj/guru:master commit in: media-gfx/nsxiv/
@ 2023-05-21 7:23 Viorel Munteanu
0 siblings, 0 replies; 18+ messages in thread
From: Viorel Munteanu @ 2023-05-21 7:23 UTC (permalink / raw
To: gentoo-commits
commit: 045bda6931d1decca4adda3e4e670b7b791c34a1
Author: NRK <nrk <AT> disroot <DOT> org>
AuthorDate: Sat May 20 17:28:53 2023 +0000
Commit: Viorel Munteanu <ceamac <AT> gentoo <DOT> org>
CommitDate: Sat May 20 17:30:23 2023 +0000
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=045bda69
media-gfx/nsxiv: fix copyright notice
nsxiv didn't even exist back in 1999, earliest commit in this dir dates
back to 2021, d22db6606219ff0101fff0c0609d8de86eff95e0
Signed-off-by: NRK <nrk <AT> disroot.org>
media-gfx/nsxiv/nsxiv-31.ebuild | 2 +-
media-gfx/nsxiv/nsxiv-9999.ebuild | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/media-gfx/nsxiv/nsxiv-31.ebuild b/media-gfx/nsxiv/nsxiv-31.ebuild
index 75c9332a1..99825be3d 100644
--- a/media-gfx/nsxiv/nsxiv-31.ebuild
+++ b/media-gfx/nsxiv/nsxiv-31.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2022 Gentoo Authors
+# Copyright 2021-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
diff --git a/media-gfx/nsxiv/nsxiv-9999.ebuild b/media-gfx/nsxiv/nsxiv-9999.ebuild
index c588aabf6..21454ad79 100644
--- a/media-gfx/nsxiv/nsxiv-9999.ebuild
+++ b/media-gfx/nsxiv/nsxiv-9999.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2023 Gentoo Authors
+# Copyright 2021-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
^ permalink raw reply related [flat|nested] 18+ messages in thread
* [gentoo-commits] repo/proj/guru:master commit in: media-gfx/nsxiv/
@ 2023-10-02 12:24 David Roman
0 siblings, 0 replies; 18+ messages in thread
From: David Roman @ 2023-10-02 12:24 UTC (permalink / raw
To: gentoo-commits
commit: 60f1163b6fe4d3c100a25a4084285ba0add94295
Author: NRK <nrk <AT> disroot <DOT> org>
AuthorDate: Sun Oct 1 13:56:44 2023 +0000
Commit: David Roman <davidroman96 <AT> gmail <DOT> com>
CommitDate: Sun Oct 1 13:56:44 2023 +0000
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=60f1163b
media-gfx/nsxiv: add v32, drop v31
Signed-off-by: NRK <nrk <AT> disroot.org>
media-gfx/nsxiv/Manifest | 2 +-
media-gfx/nsxiv/{nsxiv-31.ebuild => nsxiv-32.ebuild} | 8 ++++----
2 files changed, 5 insertions(+), 5 deletions(-)
diff --git a/media-gfx/nsxiv/Manifest b/media-gfx/nsxiv/Manifest
index 3773c07764..bb50055e22 100644
--- a/media-gfx/nsxiv/Manifest
+++ b/media-gfx/nsxiv/Manifest
@@ -1 +1 @@
-DIST nsxiv-31.tar.gz 73821 BLAKE2B f5a5f16d82fb78ce9ae5da341cb481f653dd28db7138529f20b76b4f0a73415e9c5ffa9a8c2dee23ec754d1d7f5451ae631e786a535799b6542ef55ed3548c5a SHA512 f6814f337763f23b569f12ad6d2aa33380b1f5dec0890f0bedb54620a725330fa6518acd6ddabe79c420f0feab01c307bdc91e4ea6141ce1a4528ea0a96addd8
+DIST nsxiv-32.tar.gz 74345 BLAKE2B 92257a95095291068c982d91ed32a0ae358f89048057fa6f1cb356caccbba9cb1f9fdb6ca0e16faf4e6e411af942858182cf2bea3b5d19904f3ca686f7b372ed SHA512 e53de494f104440c87eb55606c322cb7ac9989176547131f59e02eb091d04a3a2de6c11c1c775cb25302ff1da5997bc499d753a822c1de4652aa77bf2858fa9a
diff --git a/media-gfx/nsxiv/nsxiv-31.ebuild b/media-gfx/nsxiv/nsxiv-32.ebuild
similarity index 90%
rename from media-gfx/nsxiv/nsxiv-31.ebuild
rename to media-gfx/nsxiv/nsxiv-32.ebuild
index 99825be3d5..21454ad79b 100644
--- a/media-gfx/nsxiv/nsxiv-31.ebuild
+++ b/media-gfx/nsxiv/nsxiv-32.ebuild
@@ -1,7 +1,7 @@
-# Copyright 2021-2022 Gentoo Authors
+# Copyright 2021-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI=7
+EAPI=8
inherit desktop xdg-utils savedconfig toolchain-funcs linux-info
@@ -43,8 +43,8 @@ src_prepare() {
}
src_configure() {
- sed -i -e '/^install: / s|: all|:|' Makefile || die "sed failed"
- sed -i -e 's|^CFLAGS =|CFLAGS +=|' config.mk || die "sed failed"
+ sed -i -e '/^install: / s|: all|:|' Makefile || die
+ sed -i -e 's|^CFLAGS =|CFLAGS +=|;s|-O2 ||;' config.mk || die
}
src_compile() {
^ permalink raw reply related [flat|nested] 18+ messages in thread
* [gentoo-commits] repo/proj/guru:master commit in: media-gfx/nsxiv/
@ 2023-10-02 12:27 David Roman
0 siblings, 0 replies; 18+ messages in thread
From: David Roman @ 2023-10-02 12:27 UTC (permalink / raw
To: gentoo-commits
commit: 0d65b247b839fc2574f59722d650ab04b3a5f803
Author: NRK <nrk <AT> disroot <DOT> org>
AuthorDate: Mon Oct 2 12:18:32 2023 +0000
Commit: David Roman <davidroman96 <AT> gmail <DOT> com>
CommitDate: Mon Oct 2 12:21:39 2023 +0000
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=0d65b247
media-gfx/nsxiv: add debug useflag
v32 changed from having assertions enabled by default to having them
disabled. explicitly passing `-DDEBUG` is now required to enable
assertions.
Signed-off-by: NRK <nrk <AT> disroot.org>
media-gfx/nsxiv/nsxiv-32.ebuild | 9 ++++++---
media-gfx/nsxiv/nsxiv-9999.ebuild | 9 ++++++---
2 files changed, 12 insertions(+), 6 deletions(-)
diff --git a/media-gfx/nsxiv/nsxiv-32.ebuild b/media-gfx/nsxiv/nsxiv-32.ebuild
index 21454ad79b..289eb79656 100644
--- a/media-gfx/nsxiv/nsxiv-32.ebuild
+++ b/media-gfx/nsxiv/nsxiv-32.ebuild
@@ -18,7 +18,7 @@ HOMEPAGE="https://codeberg.org/nsxiv/nsxiv"
LICENSE="GPL-2+ public-domain"
SLOT="0"
-IUSE="+statusbar +inotify exif"
+IUSE="+statusbar +inotify exif debug"
RDEPEND="
x11-libs/libX11
@@ -43,12 +43,15 @@ src_prepare() {
}
src_configure() {
+ # avoid rebuild on `make install`
sed -i -e '/^install: / s|: all|:|' Makefile || die
- sed -i -e 's|^CFLAGS =|CFLAGS +=|;s|-O2 ||;' config.mk || die
}
src_compile() {
- emake CC="$(tc-getCC)" OPT_DEP_DEFAULT=0 \
+ local dbg=""
+ use debug && dbg="-UNDEBUG -DDEBUG"
+ emake CC="$(tc-getCC)" CFLAGS="${CFLAGS} ${dbg}" \
+ OPT_DEP_DEFAULT=0 \
HAVE_INOTIFY="$(usex inotify 1 0)" \
HAVE_LIBFONTS="$(usex statusbar 1 0)" \
HAVE_LIBEXIF="$(usex exif 1 0)"
diff --git a/media-gfx/nsxiv/nsxiv-9999.ebuild b/media-gfx/nsxiv/nsxiv-9999.ebuild
index 21454ad79b..289eb79656 100644
--- a/media-gfx/nsxiv/nsxiv-9999.ebuild
+++ b/media-gfx/nsxiv/nsxiv-9999.ebuild
@@ -18,7 +18,7 @@ HOMEPAGE="https://codeberg.org/nsxiv/nsxiv"
LICENSE="GPL-2+ public-domain"
SLOT="0"
-IUSE="+statusbar +inotify exif"
+IUSE="+statusbar +inotify exif debug"
RDEPEND="
x11-libs/libX11
@@ -43,12 +43,15 @@ src_prepare() {
}
src_configure() {
+ # avoid rebuild on `make install`
sed -i -e '/^install: / s|: all|:|' Makefile || die
- sed -i -e 's|^CFLAGS =|CFLAGS +=|;s|-O2 ||;' config.mk || die
}
src_compile() {
- emake CC="$(tc-getCC)" OPT_DEP_DEFAULT=0 \
+ local dbg=""
+ use debug && dbg="-UNDEBUG -DDEBUG"
+ emake CC="$(tc-getCC)" CFLAGS="${CFLAGS} ${dbg}" \
+ OPT_DEP_DEFAULT=0 \
HAVE_INOTIFY="$(usex inotify 1 0)" \
HAVE_LIBFONTS="$(usex statusbar 1 0)" \
HAVE_LIBEXIF="$(usex exif 1 0)"
^ permalink raw reply related [flat|nested] 18+ messages in thread
* [gentoo-commits] repo/proj/guru:master commit in: media-gfx/nsxiv/
@ 2024-05-15 12:36 Julien Roy
0 siblings, 0 replies; 18+ messages in thread
From: Julien Roy @ 2024-05-15 12:36 UTC (permalink / raw
To: gentoo-commits
commit: 191ef3728606b5f7213e13b5f175dc29e8fe06d6
Author: Lucio Sauer <watermanpaint <AT> posteo <DOT> net>
AuthorDate: Wed May 15 02:35:29 2024 +0000
Commit: Julien Roy <julien <AT> jroy <DOT> ca>
CommitDate: Wed May 15 02:35:29 2024 +0000
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=191ef372
media-gfx/nsxiv: update SRC_URI
Signed-off-by: Lucio Sauer <watermanpaint <AT> posteo.net>
media-gfx/nsxiv/nsxiv-32.ebuild | 2 +-
media-gfx/nsxiv/nsxiv-9999.ebuild | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/media-gfx/nsxiv/nsxiv-32.ebuild b/media-gfx/nsxiv/nsxiv-32.ebuild
index 289eb79656..678b4963d1 100644
--- a/media-gfx/nsxiv/nsxiv-32.ebuild
+++ b/media-gfx/nsxiv/nsxiv-32.ebuild
@@ -9,7 +9,7 @@ if [[ ${PV} == "9999" ]] ; then
EGIT_REPO_URI="https://codeberg.org/nsxiv/nsxiv.git"
inherit git-r3
else
- SRC_URI="https://github.com/nsxiv/nsxiv/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+ SRC_URI="https://codeberg.org/nsxiv/nsxiv/archive/v${PV}.tar.gz -> ${P}.tar.gz"
KEYWORDS="~amd64"
fi
diff --git a/media-gfx/nsxiv/nsxiv-9999.ebuild b/media-gfx/nsxiv/nsxiv-9999.ebuild
index 289eb79656..678b4963d1 100644
--- a/media-gfx/nsxiv/nsxiv-9999.ebuild
+++ b/media-gfx/nsxiv/nsxiv-9999.ebuild
@@ -9,7 +9,7 @@ if [[ ${PV} == "9999" ]] ; then
EGIT_REPO_URI="https://codeberg.org/nsxiv/nsxiv.git"
inherit git-r3
else
- SRC_URI="https://github.com/nsxiv/nsxiv/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+ SRC_URI="https://codeberg.org/nsxiv/nsxiv/archive/v${PV}.tar.gz -> ${P}.tar.gz"
KEYWORDS="~amd64"
fi
^ permalink raw reply related [flat|nested] 18+ messages in thread
* [gentoo-commits] repo/proj/guru:master commit in: media-gfx/nsxiv/
@ 2024-05-15 12:36 Julien Roy
0 siblings, 0 replies; 18+ messages in thread
From: Julien Roy @ 2024-05-15 12:36 UTC (permalink / raw
To: gentoo-commits
commit: 29286385bf3df36d0b056647a1b9da74cf97aa36
Author: Lucio Sauer <watermanpaint <AT> posteo <DOT> net>
AuthorDate: Wed May 15 02:32:07 2024 +0000
Commit: Julien Roy <julien <AT> jroy <DOT> ca>
CommitDate: Wed May 15 02:32:07 2024 +0000
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=29286385
media-gfx/nsxiv: update upstream metadata
Signed-off-by: Lucio Sauer <watermanpaint <AT> posteo.net>
media-gfx/nsxiv/metadata.xml | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/media-gfx/nsxiv/metadata.xml b/media-gfx/nsxiv/metadata.xml
index 38c2d5dad4..74bad32add 100644
--- a/media-gfx/nsxiv/metadata.xml
+++ b/media-gfx/nsxiv/metadata.xml
@@ -5,7 +5,7 @@
<email>nrk@disroot.org</email>
</maintainer>
<upstream>
- <remote-id type="github">nsxiv/nsxiv</remote-id>
+ <remote-id type="codeberg">nsxiv/nsxiv</remote-id>
</upstream>
<use>
<flag name="statusbar">Add statusbar support</flag>
^ permalink raw reply related [flat|nested] 18+ messages in thread
* [gentoo-commits] repo/proj/guru:master commit in: media-gfx/nsxiv/
@ 2024-05-25 15:48 Julien Roy
0 siblings, 0 replies; 18+ messages in thread
From: Julien Roy @ 2024-05-25 15:48 UTC (permalink / raw
To: gentoo-commits
commit: e2485703d7953174535994fc0c859526b1affe3d
Author: NRK <nrk <AT> disroot <DOT> org>
AuthorDate: Sat May 25 15:15:21 2024 +0000
Commit: Julien Roy <julien <AT> jroy <DOT> ca>
CommitDate: Sat May 25 15:15:21 2024 +0000
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=e2485703
media-gfx/nsxiv: add missing fontconfig dependency
Closes: https://bugs.gentoo.org/932706
Signed-off-by: NRK <nrk <AT> disroot.org>
media-gfx/nsxiv/nsxiv-32.ebuild | 2 +-
media-gfx/nsxiv/nsxiv-9999.ebuild | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/media-gfx/nsxiv/nsxiv-32.ebuild b/media-gfx/nsxiv/nsxiv-32.ebuild
index 678b4963d..0068bee5b 100644
--- a/media-gfx/nsxiv/nsxiv-32.ebuild
+++ b/media-gfx/nsxiv/nsxiv-32.ebuild
@@ -23,7 +23,7 @@ IUSE="+statusbar +inotify exif debug"
RDEPEND="
x11-libs/libX11
>=media-libs/imlib2-1.8.0[X]
- statusbar? ( x11-libs/libXft )
+ statusbar? ( x11-libs/libXft media-libs/fontconfig )
exif? ( media-libs/libexif )
"
DEPEND="${RDEPEND}"
diff --git a/media-gfx/nsxiv/nsxiv-9999.ebuild b/media-gfx/nsxiv/nsxiv-9999.ebuild
index 678b4963d..0068bee5b 100644
--- a/media-gfx/nsxiv/nsxiv-9999.ebuild
+++ b/media-gfx/nsxiv/nsxiv-9999.ebuild
@@ -23,7 +23,7 @@ IUSE="+statusbar +inotify exif debug"
RDEPEND="
x11-libs/libX11
>=media-libs/imlib2-1.8.0[X]
- statusbar? ( x11-libs/libXft )
+ statusbar? ( x11-libs/libXft media-libs/fontconfig )
exif? ( media-libs/libexif )
"
DEPEND="${RDEPEND}"
^ permalink raw reply related [flat|nested] 18+ messages in thread
* [gentoo-commits] repo/proj/guru:master commit in: media-gfx/nsxiv/
@ 2024-06-28 21:44 David Roman
0 siblings, 0 replies; 18+ messages in thread
From: David Roman @ 2024-06-28 21:44 UTC (permalink / raw
To: gentoo-commits
commit: 1b58dbb7a85d237d46ba796f0e17613e7c4d7cf3
Author: NRK <nrk <AT> disroot <DOT> org>
AuthorDate: Fri Jun 28 12:12:02 2024 +0000
Commit: David Roman <davidroman96 <AT> gmail <DOT> com>
CommitDate: Fri Jun 28 12:13:36 2024 +0000
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=1b58dbb7
media-gfx/nsxiv: install zsh completion
Signed-off-by: NRK <nrk <AT> disroot.org>
media-gfx/nsxiv/Manifest | 1 +
media-gfx/nsxiv/nsxiv-32.ebuild | 12 ++++++++++--
media-gfx/nsxiv/nsxiv-9999.ebuild | 12 ++++++++++--
3 files changed, 21 insertions(+), 4 deletions(-)
diff --git a/media-gfx/nsxiv/Manifest b/media-gfx/nsxiv/Manifest
index bb50055e2..db5131c4d 100644
--- a/media-gfx/nsxiv/Manifest
+++ b/media-gfx/nsxiv/Manifest
@@ -1 +1,2 @@
DIST nsxiv-32.tar.gz 74345 BLAKE2B 92257a95095291068c982d91ed32a0ae358f89048057fa6f1cb356caccbba9cb1f9fdb6ca0e16faf4e6e411af942858182cf2bea3b5d19904f3ca686f7b372ed SHA512 e53de494f104440c87eb55606c322cb7ac9989176547131f59e02eb091d04a3a2de6c11c1c775cb25302ff1da5997bc499d753a822c1de4652aa77bf2858fa9a
+DIST nsxiv-f7d1efe3495949e2e88fdfef37aed5a40400acea.comp.zsh 2413 BLAKE2B 0749b55bd9f7d48922d6ac673c1d65e7625bb53c4df524123c9a579edf8aa8c3fba15f4382b5102e812acddaf99d3ec24797703340edd013758ae51a0944758f SHA512 e26af7bdfce2bd1aa1b3d31fee88370b58fbc624c8855d70133ba96a94713e7bdfbfbe6ead650822dbba0f04a5c2ab6cd9dd35a94d46a2455f3a5051554c43f2
diff --git a/media-gfx/nsxiv/nsxiv-32.ebuild b/media-gfx/nsxiv/nsxiv-32.ebuild
index 0068bee5b..291f4dd13 100644
--- a/media-gfx/nsxiv/nsxiv-32.ebuild
+++ b/media-gfx/nsxiv/nsxiv-32.ebuild
@@ -3,13 +3,20 @@
EAPI=8
-inherit desktop xdg-utils savedconfig toolchain-funcs linux-info
+inherit desktop xdg-utils savedconfig toolchain-funcs linux-info shell-completion
+ZSH_COMP_COMMIT="f7d1efe3495949e2e88fdfef37aed5a40400acea"
+ZSH_COMP_URI="https://codeberg.org/nsxiv/nsxiv-extra/raw/commit/${ZSH_COMP_COMMIT}/completion/zsh/_nsxiv"
+ZSH_COMP="${PN}-${ZSH_COMP_COMMIT}.comp.zsh"
if [[ ${PV} == "9999" ]] ; then
EGIT_REPO_URI="https://codeberg.org/nsxiv/nsxiv.git"
+ SRC_URI="${ZSH_COMP_URI} -> ${ZSH_COMP}"
inherit git-r3
else
- SRC_URI="https://codeberg.org/nsxiv/nsxiv/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+ SRC_URI="
+ https://codeberg.org/nsxiv/nsxiv/archive/v${PV}.tar.gz -> ${P}.tar.gz
+ ${ZSH_COMP_URI} -> ${ZSH_COMP}
+ "
KEYWORDS="~amd64"
fi
@@ -65,6 +72,7 @@ src_install() {
install install-icon
dodoc README.md
domenu etc/nsxiv.desktop
+ newzshcomp "${DISTDIR}/${ZSH_COMP}" _nsxiv
save_config config.h
}
diff --git a/media-gfx/nsxiv/nsxiv-9999.ebuild b/media-gfx/nsxiv/nsxiv-9999.ebuild
index 0068bee5b..291f4dd13 100644
--- a/media-gfx/nsxiv/nsxiv-9999.ebuild
+++ b/media-gfx/nsxiv/nsxiv-9999.ebuild
@@ -3,13 +3,20 @@
EAPI=8
-inherit desktop xdg-utils savedconfig toolchain-funcs linux-info
+inherit desktop xdg-utils savedconfig toolchain-funcs linux-info shell-completion
+ZSH_COMP_COMMIT="f7d1efe3495949e2e88fdfef37aed5a40400acea"
+ZSH_COMP_URI="https://codeberg.org/nsxiv/nsxiv-extra/raw/commit/${ZSH_COMP_COMMIT}/completion/zsh/_nsxiv"
+ZSH_COMP="${PN}-${ZSH_COMP_COMMIT}.comp.zsh"
if [[ ${PV} == "9999" ]] ; then
EGIT_REPO_URI="https://codeberg.org/nsxiv/nsxiv.git"
+ SRC_URI="${ZSH_COMP_URI} -> ${ZSH_COMP}"
inherit git-r3
else
- SRC_URI="https://codeberg.org/nsxiv/nsxiv/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+ SRC_URI="
+ https://codeberg.org/nsxiv/nsxiv/archive/v${PV}.tar.gz -> ${P}.tar.gz
+ ${ZSH_COMP_URI} -> ${ZSH_COMP}
+ "
KEYWORDS="~amd64"
fi
@@ -65,6 +72,7 @@ src_install() {
install install-icon
dodoc README.md
domenu etc/nsxiv.desktop
+ newzshcomp "${DISTDIR}/${ZSH_COMP}" _nsxiv
save_config config.h
}
^ permalink raw reply related [flat|nested] 18+ messages in thread
* [gentoo-commits] repo/proj/guru:master commit in: media-gfx/nsxiv/
@ 2024-08-01 21:51 Lucio Sauer
0 siblings, 0 replies; 18+ messages in thread
From: Lucio Sauer @ 2024-08-01 21:51 UTC (permalink / raw
To: gentoo-commits
commit: cfeeb0faa542f99995c33e4e9d485b7f82811a1b
Author: NRK <nrk <AT> disroot <DOT> org>
AuthorDate: Thu Aug 1 15:51:19 2024 +0000
Commit: Lucio Sauer <watermanpaint <AT> posteo <DOT> net>
CommitDate: Thu Aug 1 16:06:29 2024 +0000
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=cfeeb0fa
media-gfx/nsxiv: Revert 191ef3728606b5f7213e13b5f175dc29e8fe06d6
this broke the build since neither the Manifest nor the build
dir was updated. besides, github mirror is preferable since it
has better stability guarantee and usually has better speed.
Signed-off-by: NRK <nrk <AT> disroot.org>
media-gfx/nsxiv/nsxiv-32.ebuild | 4 ++--
media-gfx/nsxiv/nsxiv-9999.ebuild | 4 ++--
2 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/media-gfx/nsxiv/nsxiv-32.ebuild b/media-gfx/nsxiv/nsxiv-32.ebuild
index 291f4dd13..53294e214 100644
--- a/media-gfx/nsxiv/nsxiv-32.ebuild
+++ b/media-gfx/nsxiv/nsxiv-32.ebuild
@@ -1,4 +1,4 @@
-# Copyright 2021-2023 Gentoo Authors
+# Copyright 2021-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
@@ -14,7 +14,7 @@ if [[ ${PV} == "9999" ]] ; then
inherit git-r3
else
SRC_URI="
- https://codeberg.org/nsxiv/nsxiv/archive/v${PV}.tar.gz -> ${P}.tar.gz
+ https://github.com/nsxiv/nsxiv/archive/v${PV}.tar.gz -> ${P}.tar.gz
${ZSH_COMP_URI} -> ${ZSH_COMP}
"
KEYWORDS="~amd64"
diff --git a/media-gfx/nsxiv/nsxiv-9999.ebuild b/media-gfx/nsxiv/nsxiv-9999.ebuild
index 291f4dd13..53294e214 100644
--- a/media-gfx/nsxiv/nsxiv-9999.ebuild
+++ b/media-gfx/nsxiv/nsxiv-9999.ebuild
@@ -1,4 +1,4 @@
-# Copyright 2021-2023 Gentoo Authors
+# Copyright 2021-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
@@ -14,7 +14,7 @@ if [[ ${PV} == "9999" ]] ; then
inherit git-r3
else
SRC_URI="
- https://codeberg.org/nsxiv/nsxiv/archive/v${PV}.tar.gz -> ${P}.tar.gz
+ https://github.com/nsxiv/nsxiv/archive/v${PV}.tar.gz -> ${P}.tar.gz
${ZSH_COMP_URI} -> ${ZSH_COMP}
"
KEYWORDS="~amd64"
^ permalink raw reply related [flat|nested] 18+ messages in thread
end of thread, other threads:[~2024-08-01 21:51 UTC | newest]
Thread overview: 18+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-09-24 8:28 [gentoo-commits] repo/proj/guru:master commit in: media-gfx/nsxiv/ Arthur Zamarin
-- strict thread matches above, loose matches on Subject: below --
2024-08-01 21:51 Lucio Sauer
2024-06-28 21:44 David Roman
2024-05-25 15:48 Julien Roy
2024-05-15 12:36 Julien Roy
2024-05-15 12:36 Julien Roy
2023-10-02 12:27 David Roman
2023-10-02 12:24 David Roman
2023-05-21 7:23 Viorel Munteanu
2023-05-21 7:23 Viorel Munteanu
2023-01-29 10:40 Viorel Munteanu
2023-01-10 8:37 Haelwenn Monnier
2023-01-10 8:37 Haelwenn Monnier
2022-08-11 13:45 Andrew Ammerlaan
2022-06-18 19:19 Andrew Ammerlaan
2022-06-13 10:49 Andrew Ammerlaan
2022-03-07 15:15 Ronny Gutbrod
2021-09-17 1:57 Haelwenn Monnier
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox