diff options
author | V3n3RiX <venerix@koprulu.sector> | 2023-02-24 03:46:27 +0000 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2023-02-24 03:46:27 +0000 |
commit | 58177544118b9a8393d7501ee5e0e35cd32f2ad4 (patch) | |
tree | 050a5a81c15bb828e5b6fb18d1386aa35673c416 /media-gfx | |
parent | 0530006d7f63d6c158b4ff5ea0c3f7ef3bae9cc4 (diff) |
gentoo auto-resync : 24:02:2023 - 03:46:27
Diffstat (limited to 'media-gfx')
-rw-r--r-- | media-gfx/Manifest.gz | bin | 37975 -> 37980 bytes | |||
-rw-r--r-- | media-gfx/gpicview/Manifest | 3 | ||||
-rw-r--r-- | media-gfx/gpicview/files/gpicview-fix-animated-gifs.patch | 13 | ||||
-rw-r--r-- | media-gfx/gpicview/files/gpicview-main_win_open-dummy-return.patch | 13 | ||||
-rw-r--r-- | media-gfx/gpicview/gpicview-0.2.5-r3.ebuild | 31 |
5 files changed, 60 insertions, 0 deletions
diff --git a/media-gfx/Manifest.gz b/media-gfx/Manifest.gz Binary files differindex c9d0306107f6..775abe53c7ae 100644 --- a/media-gfx/Manifest.gz +++ b/media-gfx/Manifest.gz diff --git a/media-gfx/gpicview/Manifest b/media-gfx/gpicview/Manifest index 1cd186798e44..5d1df848e7f0 100644 --- a/media-gfx/gpicview/Manifest +++ b/media-gfx/gpicview/Manifest @@ -1,4 +1,7 @@ AUX Fix-displaying-images-with-GTK3.patch 6119 BLAKE2B 84733027ba1740eb78e4d62e67b6ca0dbae58dfac1c3bf44b1dd07a7b33248a255728e2b9c6b87f534ef1463b20d2f5df8f2e07bb619b97b428fc14e9f8939e4 SHA512 6eb044a143acc0decd64f90578b98a41a82c05a0bbf90e35646af1007e685d0d37a08ad3e90674bc6b5fedf460695b27f771a2776bfb391af03f6c1674592060 +AUX gpicview-fix-animated-gifs.patch 356 BLAKE2B 8c60c06ded2f076e2edb47222f8041a2e8d7ef06f7d8a94bf4163a7ebb060b320fec577544042707e556dd4cbce4c52719056eada4aed360224f3b28e6c1af4e SHA512 d37ccd82d520b31e71bea95a877832b1511d77e36c293dbd71b3bf86c695dc367325f74f46ab5a408bc0f672ce56414820ef2cad1437188beac74e9c22b60276 +AUX gpicview-main_win_open-dummy-return.patch 466 BLAKE2B 37bc66552c2b9f723a51a4d1d44125bd2dcc9121867be71e5c35ab05dc54574a0fb95cbb808f91099e6adf478bb3b108cf0360a8d492badc98a7396fdee4bafc SHA512 8a03de05bd6bf002ff416398a5df77ea67a1487a42021c645f938398d25ca8e6032e118915ba344a55fe7c021a2570047fd256782f3f7f57d03d074251af1cd2 DIST gpicview-0.2.5.tar.xz 349536 BLAKE2B c215e812693a30d55d3e606b9958d308b5d7f564ba0c3fc60e7606c492ec3ddd9997ae63f0865a6bebdf79c0a18e6a8b26a1e2c8d5dd7e2174d211130dbbe817 SHA512 afc7e67c7ae1252f9c1816ee46fe69e96ea7be9a60e03406a539f17b2e4f0e4b93a028c6f3f1c455f5433d6d7d78a58dcee2cb0ac91ea53093a21935bf454afd EBUILD gpicview-0.2.5-r2.ebuild 582 BLAKE2B 1447a4671f6caba214cad345256b43506a7be995c088fe8b7349366708cb3650bacb1cecf57c207f0650caf9e927b25db8727e62ee1753d6becb7434cff8f857 SHA512 76ab57176af07ce67815f4d620dd7a2374e189c2e26404ec829637c51b36d4cac3b3741d5c3e0651693b8f31570f978e70d482de45b082cf1c73643c86012e44 +EBUILD gpicview-0.2.5-r3.ebuild 700 BLAKE2B 3ea77f596923747923ec579654ea9c3389269231e8353d3c12a49f76fce864c657028bef7029734a420861a1b78ee81b67299c55e92ecfbe748c7583a6e6070e SHA512 bceefb27de81e5ec4a544954ac4208e8c70ecf679bab5c4ab8fff7519e0792089970a8374c77a7aae936e7e1f180443e8344cfc9d9fe4a6fee229976d253abb2 MISC metadata.xml 327 BLAKE2B 93cbf29b7a893563c1fa010df02cb4926683a5a2401a89bcbddfcfdf9e4010b8f2a8518a05bf96f207d14b7d907fac0bd498a8719776d814cc8f7dc7bf2b2b97 SHA512 7240a47ab4c047c2c763be0287ee1fd17b95b15d26650894f039b183438d2622489ac92f08023194ed05c4c713a1ff8932a9f888852a4f490dd32239675701ed diff --git a/media-gfx/gpicview/files/gpicview-fix-animated-gifs.patch b/media-gfx/gpicview/files/gpicview-fix-animated-gifs.patch new file mode 100644 index 000000000000..88867fbe31ad --- /dev/null +++ b/media-gfx/gpicview/files/gpicview-fix-animated-gifs.patch @@ -0,0 +1,13 @@ +diff --git a/src/image-view.c b/src/image-view.c +index b367f2a..1368620 100644 +--- a/src/image-view.c ++++ b/src/image-view.c +@@ -343,7 +343,7 @@ void image_view_clear( ImageView* iv ) + + void image_view_set_pixbuf( ImageView* iv, GdkPixbuf* pixbuf ) + { +- if( pixbuf != iv->pix ) ++ + { + image_view_clear( iv ); + if( G_LIKELY(pixbuf) ) diff --git a/media-gfx/gpicview/files/gpicview-main_win_open-dummy-return.patch b/media-gfx/gpicview/files/gpicview-main_win_open-dummy-return.patch new file mode 100644 index 000000000000..0f4e3bde251c --- /dev/null +++ b/media-gfx/gpicview/files/gpicview-main_win_open-dummy-return.patch @@ -0,0 +1,13 @@ +diff --git a/src/main-win.c b/src/main-win.c +index 32f6433..bf5feba 100644 +--- a/src/main-win.c ++++ b/src/main-win.c +@@ -378,7 +378,7 @@ gboolean main_win_open( MainWin* mw, const char* file_path, ZoomMode zoom ) + image_list_sort_by_name( mw->img_list, GTK_SORT_DESCENDING ); + if (image_list_get_first(mw->img_list)) + main_win_open(mw, image_list_get_current_file_path(mw->img_list), zoom); +- return; ++ return 1; + } + + diff --git a/media-gfx/gpicview/gpicview-0.2.5-r3.ebuild b/media-gfx/gpicview/gpicview-0.2.5-r3.ebuild new file mode 100644 index 000000000000..36eaa0fd8f83 --- /dev/null +++ b/media-gfx/gpicview/gpicview-0.2.5-r3.ebuild @@ -0,0 +1,31 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit xdg + +DESCRIPTION="A Simple and Fast Image Viewer for X" +HOMEPAGE="http://lxde.sourceforge.net/gpicview" +SRC_URI="mirror://sourceforge/lxde/${P}.tar.xz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~ppc ~riscv ~x86" + +RDEPEND="media-libs/libjpeg-turbo + x11-libs/gtk+:3[X]" +DEPEND="${RDEPEND} + >=dev-util/intltool-0.40 + sys-devel/gettext + virtual/pkgconfig" + +PATCHES=( + "${FILESDIR}/Fix-displaying-images-with-GTK3.patch" + "${FILESDIR}/${PN}-main_win_open-dummy-return.patch" + "${FILESDIR}/${PN}-fix-animated-gifs.patch" +) + +src_configure() { + econf --enable-gtk3 +} |