summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSamuli Suominen <ssuominen@gentoo.org>2007-07-27 11:53:09 +0000
committerSamuli Suominen <ssuominen@gentoo.org>2007-07-27 11:53:09 +0000
commit1a0d48d72b8f38eb372f0e1a2d5adf397666cb3d (patch)
treea82d90892372df2dee32b4a1a438887d9ffebf1f /media-gfx/pqiv
parentdev-dotnet/monodevelop: Replaced garbage in monodevelop-0.14-configure.patch ... (diff)
downloadhistorical-1a0d48d72b8f38eb372f0e1a2d5adf397666cb3d.tar.gz
historical-1a0d48d72b8f38eb372f0e1a2d5adf397666cb3d.tar.bz2
historical-1a0d48d72b8f38eb372f0e1a2d5adf397666cb3d.zip
Version bump, and patch to respect DESTDIR and to prevent prestripping of qiv binary. Thanks to Phillip Berndt for original ebuild and software itself.
Package-Manager: portage-2.1.3_rc9
Diffstat (limited to 'media-gfx/pqiv')
-rw-r--r--media-gfx/pqiv/ChangeLog10
-rw-r--r--media-gfx/pqiv/Manifest28
-rw-r--r--media-gfx/pqiv/files/digest-pqiv-0.23
-rw-r--r--media-gfx/pqiv/files/digest-pqiv-0.4_rc13
-rw-r--r--media-gfx/pqiv/files/pqiv-0.4_rc1-Makefile.patch33
-rw-r--r--media-gfx/pqiv/pqiv-0.2.ebuild21
-rw-r--r--media-gfx/pqiv/pqiv-0.4_rc1.ebuild33
7 files changed, 94 insertions, 37 deletions
diff --git a/media-gfx/pqiv/ChangeLog b/media-gfx/pqiv/ChangeLog
index 83b014515c5f..1f5dd97a8272 100644
--- a/media-gfx/pqiv/ChangeLog
+++ b/media-gfx/pqiv/ChangeLog
@@ -1,6 +1,14 @@
# ChangeLog for media-gfx/pqiv
# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-gfx/pqiv/ChangeLog,v 1.5 2007/06/19 13:59:33 drac Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-gfx/pqiv/ChangeLog,v 1.6 2007/07/27 11:53:09 drac Exp $
+
+*pqiv-0.4_rc1 (27 Jul 2007)
+
+ 27 Jul 2007; Samuli Suominen <drac@gentoo.org>
+ +files/pqiv-0.4_rc1-Makefile.patch, +pqiv-0.4_rc1.ebuild:
+ Version bump, and patch to respect DESTDIR and to prevent prestripping of
+ qiv binary. Thanks to Phillip Berndt for original ebuild and software
+ itself.
*pqiv-0.2 (19 Jun 2007)
diff --git a/media-gfx/pqiv/Manifest b/media-gfx/pqiv/Manifest
index 620c2be37000..38c9a3099fa6 100644
--- a/media-gfx/pqiv/Manifest
+++ b/media-gfx/pqiv/Manifest
@@ -1,16 +1,20 @@
-DIST pqiv-0.2.tbz 12113 RMD160 5c3ba7602706bd1f78fda78dcaf0bd3e24914a9a SHA1 76b0c4ed90d1c43213cb63b98d7d779bc325febd SHA256 e88e9e32108412f2748876fb8e92bbfac9481666d385ba7237c63c8b5b3c73a8
-EBUILD pqiv-0.2.ebuild 556 RMD160 862da6a5ef266e4641639bf64ce6cfc3ce9a00a0 SHA1 ed6136650d29c95b5474ddec5f392bab82b256d5 SHA256 31259caf87b8a08a0548ba25dafa4fd22db35235b4542f020492bd47ec7a9996
-MD5 85fea9cca034648e0fd98463bd6216db pqiv-0.2.ebuild 556
-RMD160 862da6a5ef266e4641639bf64ce6cfc3ce9a00a0 pqiv-0.2.ebuild 556
-SHA256 31259caf87b8a08a0548ba25dafa4fd22db35235b4542f020492bd47ec7a9996 pqiv-0.2.ebuild 556
-MISC ChangeLog 703 RMD160 51869eb67187dd2fc8f02758accbb5e7352ed374 SHA1 ed80007ad82e100c2fce476d5cc55d1c5d8b63ca SHA256 62c324637e413cb3383af40cfe4969eab89255deb0416d8a124198bc62c5fb95
-MD5 3fec4e61bc5fa5f52a8a2795a21ac2d9 ChangeLog 703
-RMD160 51869eb67187dd2fc8f02758accbb5e7352ed374 ChangeLog 703
-SHA256 62c324637e413cb3383af40cfe4969eab89255deb0416d8a124198bc62c5fb95 ChangeLog 703
+AUX pqiv-0.4_rc1-Makefile.patch 1311 RMD160 87e347923accea30467739730ad1fe6ffd4503ec SHA1 7e3bee0ba93246642a385bb98c1c43a3881219ad SHA256 3ac1c57a8fc9d807c05bbca3d015ed692fd4550d1c28f457c5648e5fdd57dfcd
+MD5 93543636353d422557a696a31fe4f9a5 files/pqiv-0.4_rc1-Makefile.patch 1311
+RMD160 87e347923accea30467739730ad1fe6ffd4503ec files/pqiv-0.4_rc1-Makefile.patch 1311
+SHA256 3ac1c57a8fc9d807c05bbca3d015ed692fd4550d1c28f457c5648e5fdd57dfcd files/pqiv-0.4_rc1-Makefile.patch 1311
+DIST pqiv-0.4_rc1.tbz 15333 RMD160 d553d12e9b4f17c2cd9ca59d9e048c456a010e2b SHA1 9c9635b06a6ec39c99cf40c0c9bb708bf29ca435 SHA256 4424456ccf26d7d392f67208e49c4aab591cac2e987f2a99c6aa4fcc378c52c8
+EBUILD pqiv-0.4_rc1.ebuild 822 RMD160 8b1da252c7d4c2be50dc141fd53c020e6b2df60e SHA1 94ae537aaf0342e188a0383d8bc817c7a98730eb SHA256 8d15b557479b15ac50c0df8d1a134395b68f57a02ac59dc5a53f210bdd5b45e5
+MD5 ba21862f24595bf6ac81bfd47f9a99f1 pqiv-0.4_rc1.ebuild 822
+RMD160 8b1da252c7d4c2be50dc141fd53c020e6b2df60e pqiv-0.4_rc1.ebuild 822
+SHA256 8d15b557479b15ac50c0df8d1a134395b68f57a02ac59dc5a53f210bdd5b45e5 pqiv-0.4_rc1.ebuild 822
+MISC ChangeLog 1000 RMD160 903ebbf9e5bf281732e42f20343159165b41efe0 SHA1 8a026fc284f5e7953c32060296762a7872bce2a7 SHA256 b3c1e0999d6998940d73dcae09e44359a93504b44b9434438a254f26f4a940e0
+MD5 cfb0b3d25528d8f05b0cb9edaf4c5b2a ChangeLog 1000
+RMD160 903ebbf9e5bf281732e42f20343159165b41efe0 ChangeLog 1000
+SHA256 b3c1e0999d6998940d73dcae09e44359a93504b44b9434438a254f26f4a940e0 ChangeLog 1000
MISC metadata.xml 294 RMD160 d120542353dd7649e9a2a2af2b6a86d90204c8ae SHA1 c401a3847b78319c1296313e7a2e6877a658427f SHA256 cde239bf92a44d137421c6ab2ffc48c7a85966c1d069faf43e46000262179ca5
MD5 92c160857298efc13b201f249ef40f69 metadata.xml 294
RMD160 d120542353dd7649e9a2a2af2b6a86d90204c8ae metadata.xml 294
SHA256 cde239bf92a44d137421c6ab2ffc48c7a85966c1d069faf43e46000262179ca5 metadata.xml 294
-MD5 30df58a03605903f7a547adf8fead1b7 files/digest-pqiv-0.2 214
-RMD160 9cfc950d0d82607c03f41bb2dff49eb8102d5de5 files/digest-pqiv-0.2 214
-SHA256 6a9f62c77cba2180e8fdd0825b58534b79a9ed03a4deccb9209314b434dba769 files/digest-pqiv-0.2 214
+MD5 c03e75f65aa4335120936b90cb3f9dd7 files/digest-pqiv-0.4_rc1 226
+RMD160 c47b2cbe10baafe471bf26cf4c3e3832bba2a1c7 files/digest-pqiv-0.4_rc1 226
+SHA256 0ad9e21ae9e3b482aafbd437d746fbf82244e85e9d5b490fb3121af6cefd05bd files/digest-pqiv-0.4_rc1 226
diff --git a/media-gfx/pqiv/files/digest-pqiv-0.2 b/media-gfx/pqiv/files/digest-pqiv-0.2
deleted file mode 100644
index 20ab7e1fd526..000000000000
--- a/media-gfx/pqiv/files/digest-pqiv-0.2
+++ /dev/null
@@ -1,3 +0,0 @@
-MD5 cc1248d518ff1e4dccfe7c9eda5fdabf pqiv-0.2.tbz 12113
-RMD160 5c3ba7602706bd1f78fda78dcaf0bd3e24914a9a pqiv-0.2.tbz 12113
-SHA256 e88e9e32108412f2748876fb8e92bbfac9481666d385ba7237c63c8b5b3c73a8 pqiv-0.2.tbz 12113
diff --git a/media-gfx/pqiv/files/digest-pqiv-0.4_rc1 b/media-gfx/pqiv/files/digest-pqiv-0.4_rc1
new file mode 100644
index 000000000000..bb6fe274dd16
--- /dev/null
+++ b/media-gfx/pqiv/files/digest-pqiv-0.4_rc1
@@ -0,0 +1,3 @@
+MD5 86afcd07f83a3362fe4cb8ff983a4198 pqiv-0.4_rc1.tbz 15333
+RMD160 d553d12e9b4f17c2cd9ca59d9e048c456a010e2b pqiv-0.4_rc1.tbz 15333
+SHA256 4424456ccf26d7d392f67208e49c4aab591cac2e987f2a99c6aa4fcc378c52c8 pqiv-0.4_rc1.tbz 15333
diff --git a/media-gfx/pqiv/files/pqiv-0.4_rc1-Makefile.patch b/media-gfx/pqiv/files/pqiv-0.4_rc1-Makefile.patch
new file mode 100644
index 000000000000..b63660f8d21e
--- /dev/null
+++ b/media-gfx/pqiv/files/pqiv-0.4_rc1-Makefile.patch
@@ -0,0 +1,33 @@
+diff -ur pqiv-0.4_rc1.orig/Makefile pqiv-0.4_rc1/Makefile
+--- pqiv-0.4_rc1.orig/Makefile 2007-07-26 15:32:14.000000000 +0300
++++ pqiv-0.4_rc1/Makefile 2007-07-27 14:47:03.000000000 +0300
+@@ -1,20 +1,20 @@
+-PREFIX=/
++PREFIX=/usr
+
+ pqiv:
+- gcc $(CFLAGS) `pkg-config --libs --cflags gtk+-2.0 gthread-2.0 pango glib` -o qiv pqiv.c
++ $(CC) $(CFLAGS) `pkg-config --libs --cflags gtk+-2.0 gthread-2.0 pango glib` -o qiv pqiv.c
+
+ debug:
+- gcc $(CGLAGS) -Wall -ggdb -DDEBUG `pkg-config --libs --cflags gtk+-2.0 gthread-2.0 pango glib` -o qiv pqiv.c
++ $(CC) $(CGLAGS) -Wall -ggdb -DDEBUG `pkg-config --libs --cflags gtk+-2.0 gthread-2.0 pango glib` -o qiv pqiv.c
+
+ install: pqiv
+- install -Ds qiv $(PREFIX)/usr/bin/qiv
+- install -D qiv.1 $(PREFIX)/usr/share/man/man1/pqiv.1
+- link $(PREFIX)/usr/share/man/man1/pqiv.1 $(PREFIX)/usr/share/man/man1/qiv.1
++ install -D qiv $(DESTDIR)$(PREFIX)/bin/qiv
++ install -D qiv.1 $(DESTDIR)$(PREFIX)/share/man/man1/pqiv.1
++ link $(DESTDIR)$(PREFIX)/share/man/man1/pqiv.1 $(DESTDIR)$(PREFIX)/share/man/man1/qiv.1
+
+ uninstall:
+- rm $(PREFIX)/usr/bin/qiv
+- rm $(PREFIX)/usr/share/man/man1/qiv.1
+- rm $(PREFIX)/usr/share/man/man1/pqiv.1
++ rm $(DESTDIR)$(PREFIX)/bin/qiv
++ rm $(DESTDIR)$(PREFIX)/share/man/man1/qiv.1
++ rm $(DESTDIR)$(PREFIX)/share/man/man1/pqiv.1
+
+ clean:
+ rm -f qiv
diff --git a/media-gfx/pqiv/pqiv-0.2.ebuild b/media-gfx/pqiv/pqiv-0.2.ebuild
deleted file mode 100644
index 8ab4c1d38380..000000000000
--- a/media-gfx/pqiv/pqiv-0.2.ebuild
+++ /dev/null
@@ -1,21 +0,0 @@
-# Copyright 1999-2007 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/media-gfx/pqiv/pqiv-0.2.ebuild,v 1.1 2007/06/19 13:59:33 drac Exp $
-
-DESCRIPTION="PyGTK+ rewrite of Quick Image Viewer"
-HOMEPAGE="http://www.pberndt.com/Programme/Linux/pqiv"
-SRC_URI="http://www.pberndt.com/raw/Programme/Linux/${PN}/_download/${P}.tbz"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-IUSE=""
-
-RDEPEND="dev-python/pygtk"
-DEPEND=""
-
-src_install() {
- newbin pqiv.py qiv
- doman qiv.1
- dodoc README
-}
diff --git a/media-gfx/pqiv/pqiv-0.4_rc1.ebuild b/media-gfx/pqiv/pqiv-0.4_rc1.ebuild
new file mode 100644
index 000000000000..9a30eec1e1b5
--- /dev/null
+++ b/media-gfx/pqiv/pqiv-0.4_rc1.ebuild
@@ -0,0 +1,33 @@
+# Copyright 1999-2007 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/media-gfx/pqiv/pqiv-0.4_rc1.ebuild,v 1.1 2007/07/27 11:53:09 drac Exp $
+
+inherit eutils toolchain-funcs
+
+DESCRIPTION="Modern rewrite of Quick Image Viewer"
+HOMEPAGE="http://www.pberndt.com/Programme/Linux/pqiv"
+SRC_URI="http://www.pberndt.com/raw/Programme/Linux/${PN}/_download/${P}.tbz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+RDEPEND=">=x11-libs/gtk+-2.8"
+DEPEND="${RDEPEND}
+ dev-util/pkgconfig"
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+ epatch "${FILESDIR}"/${P}-Makefile.patch
+}
+
+src_compile() {
+ emake CC="$(tc-getCC)" CFLAGS="${CFLAGS}" || die "emake failed."
+}
+
+src_install() {
+ emake DESTDIR="${D}" install || die "emake install failed."
+ dodoc README
+}