summaryrefslogtreecommitdiff
path: root/media-gfx/gqview
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
committerV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
commit4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch)
treeba5f07bf3f9d22d82e54a462313f5d244036c768 /media-gfx/gqview
reinit the tree, so we can have metadata
Diffstat (limited to 'media-gfx/gqview')
-rw-r--r--media-gfx/gqview/Manifest7
-rw-r--r--media-gfx/gqview/files/gqview-2.1.5-glibc.patch39
-rw-r--r--media-gfx/gqview/files/gqview-2.1.5-windows.patch16
-rw-r--r--media-gfx/gqview/gqview-2.1.5-r1.ebuild44
-rw-r--r--media-gfx/gqview/metadata.xml15
5 files changed, 121 insertions, 0 deletions
diff --git a/media-gfx/gqview/Manifest b/media-gfx/gqview/Manifest
new file mode 100644
index 000000000000..cec0ce1cc8de
--- /dev/null
+++ b/media-gfx/gqview/Manifest
@@ -0,0 +1,7 @@
+AUX gqview-2.1.5-glibc.patch 1113 SHA256 f811ab6c389fa614ea7a6e23950fb2301724a1b33116b51d7c61ca0802b28a44 SHA512 c2605aa15c6515fab27e494cc05fd41196bd36ce696831d10b078680836546e8cd1252837712cecc10d6dc2635819babb37b85820b12cc9bf060796d3bc63c67 WHIRLPOOL c1de1852424478623f50b5145f58d6626ac86c8e5fdee6a0d4e02a468b1e033da88ede7eaf7af4ba8ce0d73a59fd3258bf874e57f8243eccecab0f37654d1da8
+AUX gqview-2.1.5-windows.patch 561 SHA256 d464db032e62fb7d356a215bf5912bf89d6e710136c2a64807640de14943cd2f SHA512 f4382d81362efca9decd18f93ffcabc5eeb36251b67377d35a6de87eb0672b24e15d82610b64865415fa23f6e26090c557b7f1df8092cf34b38f7106dd7a33c3 WHIRLPOOL 5a44d9804d43efe8d4a1c09e21529d15ad02b48e6d5c8ad10703e44b7db3f4e6f47d0578f122dea2b803196bfcfb82865171ff3811580764d6c1aa811b6e50f7
+DIST gqview-2.1.5.tar.gz 1685061 SHA256 12fea494e607a69eff31cdca13d306ef1b0b3b7850be0f8b236f267d8f2e9546 SHA512 a9e184f9bfbcb789fa732f490b5b1883aaa4c153fb924e2995f36ddef2d170ad9d0695689221d7a0ccae587f5de07b34ca03fa407f774ed3505d0183bf44b555 WHIRLPOOL 04c0adab83e6a0114dd7d73c1dc6705122dfd44d5851532c59ac9c3b1a231d4110069978ba85a6f98c8675cac59c72b0304667b4e967daef4d4e9a9475d07083
+EBUILD gqview-2.1.5-r1.ebuild 969 SHA256 ab43eadc362902f6c15c9ba3db0877f546bf68f287febcfe2dac15ef0b49a071 SHA512 a2ad1697208f0f963886e6551ab455cfa002ab2461bac416ea7e53134d0d50e31c5bf7c4b4ef72655c485773b42842d11fc657897f1c8ebf07909cee23a4d1d0 WHIRLPOOL 4dd563b57b70992cd3ea049de3e0a446370d3e970b67668270f87c49e08c9c323b0397f98de105b401b3fa48718ca7dbb16a1bccdd26adc69d3b3f600b35e2e3
+MISC ChangeLog 2501 SHA256 8b483068dad30e16c43e2d41c6713410586a072f2cf70adceb31ac4fc6bc93d9 SHA512 b999eb8c4772ac62ff08e243cd2f02ad9a55aafb46a47bb0aebe9c3b08aa20bd4685a80fca9045dfa9b3c5568dcadae2eec654da4933b12820e4e319c79223f8 WHIRLPOOL cd8be5cf67681ddc8316400493539ca34e822cc090f84f1b0b6087ce00a06b96ce50cea73ed520851518a4e34f619caea4c79f59785dea9b5f636aac38fa1ac2
+MISC ChangeLog-2015 14132 SHA256 67e1f528533e2e3991608c8dce4e59fb4a0d95ef6b8b33d8326ff360c567c07f SHA512 b9e9637bd5fb661886d6197f64156210d83e00e8ccd0bb3d3353e1e6e236bbdd1e5934195d597cfca1422e70f91941c2e3a3e02b55d7096e6d808d8ea263679b WHIRLPOOL eb599106561e21713a5e630eca7e71cb2aa6119b2f2e8be357e2d3c062f1c8d8856d75bc900581976c5d9357f8f0fa5b54ce306ee06b7bc336565ab692e5956b
+MISC metadata.xml 448 SHA256 00183337dd107a48006a6bddfab78a18764b6e2ee8bf8f9f7af57e4e0d4301ed SHA512 ec3a30d414e66064cb7345123ea0762c89cf33b6cd61dd50a1ab330be22070d7fd0d76122ecbb3fbf094015feacf7b673fcbf19bbb027bfd4d15f715346d80d9 WHIRLPOOL b49c752f1e2bd0921dab328c0aca74f5c1af4f6bb06c25eaa6bae30cd80c49a30e53ec2bca960662757b81accc903c034be6468fa808f9e131ea48bd7862a063
diff --git a/media-gfx/gqview/files/gqview-2.1.5-glibc.patch b/media-gfx/gqview/files/gqview-2.1.5-glibc.patch
new file mode 100644
index 000000000000..957080737040
--- /dev/null
+++ b/media-gfx/gqview/files/gqview-2.1.5-glibc.patch
@@ -0,0 +1,39 @@
+diff --git a/Makefile.in b/Makefile.in
+index 38f6b25..4d7ad2c 100644
+--- a/Makefile.in
++++ b/Makefile.in
+@@ -123,6 +123,7 @@ INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
+ INSTOBJEXT = @INSTOBJEXT@
+ INTLLIBS = @INTLLIBS@
+ LCMS_LIBS = @LCMS_LIBS@
++LIBM = @LIBM@
+ LDFLAGS = @LDFLAGS@
+ LIBOBJS = @LIBOBJS@
+ LIBS = @LIBS@
+diff --git a/configure.in b/configure.in
+index 9335493..2299b4a 100644
+--- a/configure.in
++++ b/configure.in
+@@ -52,6 +52,9 @@ fi
+ AC_SUBST(LCMS_LIBS)
+ AM_CONDITIONAL(HAVE_LCMS, test "$have_lcms" = "yes")
+
++AC_CHECK_LIB(m, ceil, LIBM="-lm")
++AC_SUBST(LIBM)
++
+ ALL_LINGUAS="ar be bg ca cs da de eo es et eu fi fr hu id it ja ko nl no pl pt_BR ro ru sk sl sv th tr uk vi zh_CN.GB2312 zh_TW"
+ GETTEXT_PACKAGE=$PACKAGE
+ AC_SUBST(GETTEXT_PACKAGE)
+diff --git a/src/Makefile.am b/src/Makefile.am
+index 7ce4702..5005877 100644
+--- a/src/Makefile.am
++++ b/src/Makefile.am
+@@ -166,7 +166,7 @@ gqview_SOURCES = \
+ view_file_icon.c \
+ view_file_icon.h
+
+-gqview_LDADD = $(GTK_LIBS) $(INTLLIBS) $(LCMS_LIBS)
++gqview_LDADD = $(GTK_LIBS) $(INTLLIBS) $(LCMS_LIBS) $(LIBM)
+
+ EXTRA_DIST = \
+ $(extra_SLIK)
diff --git a/media-gfx/gqview/files/gqview-2.1.5-windows.patch b/media-gfx/gqview/files/gqview-2.1.5-windows.patch
new file mode 100644
index 000000000000..207f3c02fabd
--- /dev/null
+++ b/media-gfx/gqview/files/gqview-2.1.5-windows.patch
@@ -0,0 +1,16 @@
+--- old/src/main.c 2006-11-01 17:28:37.000000000 +0000
++++ new/src/main.c 2008-06-21 23:31:06.000000000 +0000
+@@ -1054,11 +1054,8 @@
+ if (layout_valid(&lw))
+ {
+ main_window_maximized = window_maximized(lw->window);
+- if (!main_window_maximized)
+- {
+- layout_geometry_get(NULL, &main_window_x, &main_window_y,
+- &main_window_w, &main_window_h);
+- }
++ layout_geometry_get(NULL, &main_window_x, &main_window_y,
++ &main_window_w, &main_window_h);
+ }
+
+ layout_geometry_get_dividers(NULL, &window_hdivider_pos, &window_vdivider_pos);
diff --git a/media-gfx/gqview/gqview-2.1.5-r1.ebuild b/media-gfx/gqview/gqview-2.1.5-r1.ebuild
new file mode 100644
index 000000000000..c1d9ad5dcda9
--- /dev/null
+++ b/media-gfx/gqview/gqview-2.1.5-r1.ebuild
@@ -0,0 +1,44 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+inherit eutils autotools
+
+DESCRIPTION="A GTK-based image browser"
+HOMEPAGE="http://gqview.sourceforge.net/"
+SRC_URI="mirror://sourceforge/gqview/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~alpha amd64 ~arm ~ia64 ~mips ppc ppc64 ~sparc x86"
+IUSE=""
+
+RDEPEND=">=x11-libs/gtk+-2.4:2
+ virtual/libintl"
+DEPEND="${RDEPEND}
+ virtual/pkgconfig
+ sys-devel/gettext"
+
+src_prepare() {
+ epatch \
+ "${FILESDIR}/${P}-windows.patch" \
+ "${FILESDIR}/${P}-glibc.patch"
+ sed -i \
+ -e '/^Encoding/d' \
+ -e '/^Icon/s/\.png//' \
+ -e '/^Categories/s/Application;//' \
+ gqview.desktop || die
+ mv configure.in configure.ac || die
+ eautoreconf
+}
+
+src_configure() {
+ econf --without-lcms
+}
+
+src_install() {
+ emake DESTDIR="${D}" install
+ # leave README uncompressed because the program reads it
+ dodoc AUTHORS ChangeLog TODO
+ rm -f "${D}/usr/share/doc/${PF}/COPYING"
+}
diff --git a/media-gfx/gqview/metadata.xml b/media-gfx/gqview/metadata.xml
new file mode 100644
index 000000000000..3a1ad9f3f3f4
--- /dev/null
+++ b/media-gfx/gqview/metadata.xml
@@ -0,0 +1,15 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>mr_bones_@gentoo.org</email>
+ <name>Michael Sterrett</name>
+ </maintainer>
+ <maintainer type="project">
+ <email>graphics@gentoo.org</email>
+ <name>Gentoo Graphics Project</name>
+ </maintainer>
+ <upstream>
+ <remote-id type="sourceforge">gqview</remote-id>
+ </upstream>
+</pkgmetadata>