summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authortastytea <gentoo@tastytea.de>2023-05-16 12:05:27 +0200
committerAndreas Sturmlechner <asturm@gentoo.org>2023-05-17 22:31:49 +0200
commit999703969e37997324a82c6fe3496e078d7fa61f (patch)
tree48635d666cf14d72f79a7530ae9ff632280a64eb /media-gfx/viewnior
parentmedia-gfx/viewnior: fix building with >=media-gfx/exiv2-0.28.0 (diff)
downloadgentoo-999703969e37997324a82c6fe3496e078d7fa61f.tar.gz
gentoo-999703969e37997324a82c6fe3496e078d7fa61f.tar.bz2
gentoo-999703969e37997324a82c6fe3496e078d7fa61f.zip
media-gfx/viewnior: drop 1.7-r2
Signed-off-by: tastytea <gentoo@tastytea.de> Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
Diffstat (limited to 'media-gfx/viewnior')
-rw-r--r--media-gfx/viewnior/Manifest1
-rw-r--r--media-gfx/viewnior/files/0.17-Replace-calls-to-getenv-with-g_getenv.patch28
-rw-r--r--media-gfx/viewnior/files/viewnior-0.17-update_metadata_location.patch42
-rw-r--r--media-gfx/viewnior/viewnior-1.7-r2.ebuild52
4 files changed, 0 insertions, 123 deletions
diff --git a/media-gfx/viewnior/Manifest b/media-gfx/viewnior/Manifest
index 7ce6c08a0f12..9e0b7fe0645d 100644
--- a/media-gfx/viewnior/Manifest
+++ b/media-gfx/viewnior/Manifest
@@ -1,2 +1 @@
-DIST viewnior-1.7.tar.gz 165719 BLAKE2B 906ab0b632fcc102ac62dd77d6742c2121c46cd92adc0dfe9ba772bf697eff356519dbb6219016a6470903c855aa4c9081f0d61ca1607d8d1b6d8e03236a19bc SHA512 5ba17d7b5ceeffa65b04213f179c1439b09ac44e412e0750dde159b118a714f28d3a290509a402b234e4e7ba5b185fc73eef65d418598f344911e4e2c1373fe5
DIST viewnior-1.8.tar.gz 169219 BLAKE2B 6f6da16aa987acce8a48d24a645e1c033f113bb6e291da9f17810a7a04e5007d27c2f1afe3c62cc2d192003633a4128fb04a031160fbd51efbd0bb7dfabd8970 SHA512 0f9698801172ef6b8f5df4132526b2e605e9aa9fd69cf41a091a3623de9b2e84ca857e625aaa9e83f29df318f70a13fb458bac0df11ae46837b78ef257a00bee
diff --git a/media-gfx/viewnior/files/0.17-Replace-calls-to-getenv-with-g_getenv.patch b/media-gfx/viewnior/files/0.17-Replace-calls-to-getenv-with-g_getenv.patch
deleted file mode 100644
index fc7fc119359a..000000000000
--- a/media-gfx/viewnior/files/0.17-Replace-calls-to-getenv-with-g_getenv.patch
+++ /dev/null
@@ -1,28 +0,0 @@
-Using getenv() triggers compile errors in Open Build Service.
-Thanks to Axel Köllhofer for the patch.
----
- src/uni-utils.c | 8 ++++----
- 1 file changed, 4 insertions(+), 4 deletions(-)
-
-diff --git a/src/uni-utils.c b/src/uni-utils.c
-index 8152848..1b4992a 100755
---- a/src/uni-utils.c
-+++ b/src/uni-utils.c
-@@ -106,10 +106,10 @@ uni_detect_desktop_environment ()
- {
- VnrPrefsDesktop environment = VNR_PREFS_DESKTOP_GNOME3;
-
-- gchar *xdg_current_desktop = g_ascii_strup(getenv("XDG_CURRENT_DESKTOP"), -1);
-- gchar *xdg_session_desktop = g_ascii_strup(getenv("XDG_SESSION_DESKTOP"), -1);
-- gchar *desktop_session = g_ascii_strdown(getenv("DESKTOP_SESSION"), -1);
-- gchar *gdmsession = g_ascii_strdown(getenv("GDMSESSION"), -1);
-+ gchar *xdg_current_desktop = g_ascii_strup(g_getenv("XDG_CURRENT_DESKTOP"), -1);
-+ gchar *xdg_session_desktop = g_ascii_strup(g_getenv("XDG_SESSION_DESKTOP"), -1);
-+ gchar *desktop_session = g_ascii_strdown(g_getenv("DESKTOP_SESSION"), -1);
-+ gchar *gdmsession = g_ascii_strdown(g_getenv("GDMSESSION"), -1);
-
- if (!g_strcmp0(xdg_current_desktop, "GNOME") || !g_strcmp0(xdg_session_desktop, "GNOME"))
- {
---
-2.18.1
-
diff --git a/media-gfx/viewnior/files/viewnior-0.17-update_metadata_location.patch b/media-gfx/viewnior/files/viewnior-0.17-update_metadata_location.patch
deleted file mode 100644
index 492186059d91..000000000000
--- a/media-gfx/viewnior/files/viewnior-0.17-update_metadata_location.patch
+++ /dev/null
@@ -1,42 +0,0 @@
-From f338c37881a860952aa10cc437bc72fa0b49a823 Mon Sep 17 00:00:00 2001
-From: tastytea <tastytea@tastytea.de>
-Date: Thu, 21 May 2020 20:07:45 +0200
-Subject: [PATCH] Rename appdata.xml to metainfo.xml and change install dir.
-
-The new name is used since AppStream 0.9.8 (2016-08-10) and the new
-location is used since AppStream 0.9.4 (2016-04-18).
----
- data/meson.build | 6 +++---
- data/{viewnior.appdata.xml => viewnior.metainfo.xml} | 0
- 2 files changed, 3 insertions(+), 3 deletions(-)
- rename data/{viewnior.appdata.xml => viewnior.metainfo.xml} (100%)
-
-diff --git a/data/meson.build b/data/meson.build
-index 55070fc..05d734e 100644
---- a/data/meson.build
-+++ b/data/meson.build
-@@ -17,8 +17,8 @@ install_data(
- )
-
- install_data(
-- 'viewnior.appdata.xml',
-- install_dir: join_paths(datadir, 'appdata')
-+ 'viewnior.metainfo.xml',
-+ install_dir: join_paths(datadir, 'metainfo')
- )
-
- desktop = i18n.merge_file(
-@@ -39,4 +39,4 @@ if desktop_file_validate.found()
- desktop.full_path()
- ]
- )
--endif
-\ No newline at end of file
-+endif
-diff --git a/data/viewnior.appdata.xml b/data/viewnior.metainfo.xml
-similarity index 100%
-rename from data/viewnior.appdata.xml
-rename to data/viewnior.metainfo.xml
---
-2.26.2
-
diff --git a/media-gfx/viewnior/viewnior-1.7-r2.ebuild b/media-gfx/viewnior/viewnior-1.7-r2.ebuild
deleted file mode 100644
index 10cdce44775a..000000000000
--- a/media-gfx/viewnior/viewnior-1.7-r2.ebuild
+++ /dev/null
@@ -1,52 +0,0 @@
-# Copyright 1999-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-inherit meson xdg
-
-DESCRIPTION="Fast and simple image viewer"
-HOMEPAGE="
- https://siyanpanayotov.com/project/viewnior/
- https://github.com/hellosiyan/Viewnior
-"
-SRC_URI="https://github.com/hellosiyan/${PN^}/archive/${P}.tar.gz"
-
-LICENSE="GPL-3"
-SLOT="0"
-KEYWORDS="amd64 ~arm64 x86"
-IUSE=""
-
-RDEPEND="
- dev-libs/glib:2
- media-gfx/exiv2:0=
- x11-libs/gtk+:2
-"
-DEPEND="${RDEPEND}"
-BDEPEND="
- dev-util/glib-utils
- virtual/pkgconfig
-"
-
-S="${WORKDIR}/${PN^}-${P}"
-
-PATCHES=(
- "${FILESDIR}/0.17-Replace-calls-to-getenv-with-g_getenv.patch"
- "${FILESDIR}/viewnior-0.17-update_metadata_location.patch"
-)
-
-src_prepare() {
- xdg_src_prepare
-
- # That script would update icon cache and desktop database.
- sed -i "s/meson.add_install_script('meson_post_install.py')//" meson.build \
- || die 'Failed to remove post-install-script invocation from meson.build'
- # Don't let meson compress the manpage.
- sed -i "s/subdir('man')//" meson.build \
- || die 'Failed to remove manpage compression from meson.build'
-}
-
-src_install() {
- meson_src_install
- doman man/viewnior.1
-}