summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSamuli Suominen <ssuominen@gentoo.org>2007-05-14 17:43:00 +0000
committerSamuli Suominen <ssuominen@gentoo.org>2007-05-14 17:43:00 +0000
commit92339b6bbfe9d0025f16071335c81be8b5d83439 (patch)
tree2295e87528a33be04d6e77081f74f49b445905b5 /media-gfx/xli
parentia64 stable wrt security bug 177029 (diff)
downloadhistorical-92339b6bbfe9d0025f16071335c81be8b5d83439.tar.gz
historical-92339b6bbfe9d0025f16071335c81be8b5d83439.tar.bz2
historical-92339b6bbfe9d0025f16071335c81be8b5d83439.zip
Use ecompress to define manpage format. Relative to bug 173522.
Package-Manager: portage-2.1.2.7
Diffstat (limited to 'media-gfx/xli')
-rw-r--r--media-gfx/xli/ChangeLog9
-rw-r--r--media-gfx/xli/Manifest25
-rw-r--r--media-gfx/xli/files/digest-xli-1.17.0-r33
-rw-r--r--media-gfx/xli/xli-1.17.0-r3.ebuild94
4 files changed, 115 insertions, 16 deletions
diff --git a/media-gfx/xli/ChangeLog b/media-gfx/xli/ChangeLog
index 581a47936438..26430cae5764 100644
--- a/media-gfx/xli/ChangeLog
+++ b/media-gfx/xli/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for media-gfx/xli
-# Copyright 2002-2006 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-gfx/xli/ChangeLog,v 1.38 2006/08/06 02:03:32 chriswhite Exp $
+# Copyright 2002-2007 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/media-gfx/xli/ChangeLog,v 1.39 2007/05/14 17:43:00 drac Exp $
+
+*xli-1.17.0-r3 (14 May 2007)
+
+ 14 May 2007; Samuli Suominen <drac@gentoo.org> +xli-1.17.0-r3.ebuild:
+ Use ecompress to define manpage format. Relative to bug 173522.
05 Aug 2006; Chris White <chriswhite@gentoo.org> -xli-1.17.0.ebuild,
-xli-1.17.0-r1.ebuild:
diff --git a/media-gfx/xli/Manifest b/media-gfx/xli/Manifest
index 6ea9c4c8215a..0cfbccec213c 100644
--- a/media-gfx/xli/Manifest
+++ b/media-gfx/xli/Manifest
@@ -1,6 +1,3 @@
------BEGIN PGP SIGNED MESSAGE-----
-Hash: SHA1
-
AUX Xli.ad 123 RMD160 c4770e6a5d941e42956eb934bf3774efcb546cc8 SHA1 312c18bbd45bdec7ec1d95f95aaa1120fe6d2599 SHA256 a26e3c36c81d124a08d143e9ebfabfbd2507ffb9e48f077ea3e837eacd3f3bd9
MD5 88664b266f34957e871e07457c605227 files/Xli.ad 123
RMD160 c4770e6a5d941e42956eb934bf3774efcb546cc8 files/Xli.ad 123
@@ -14,10 +11,14 @@ EBUILD xli-1.17.0-r2.ebuild 2455 RMD160 f81fbe7143d8601c418affe389f4b45f18b98896
MD5 47ae376d3339804cf06a1000a616641c xli-1.17.0-r2.ebuild 2455
RMD160 f81fbe7143d8601c418affe389f4b45f18b98896 xli-1.17.0-r2.ebuild 2455
SHA256 f3e5a4a7cfdc900e340a8a9beeb17f9d52f8c95ec0d40cdd0d07d298ad564b27 xli-1.17.0-r2.ebuild 2455
-MISC ChangeLog 4093 RMD160 155eb2cd5a84f55cb7b675d76b70defaa1b48bba SHA1 cb8afdaef778b85b71d71c6812d0945ec33e8423 SHA256 b07286290e2d587a855c7d3f631d67e023cf18d5f4c97679447405e2c037f590
-MD5 78f39ffca0474fafaa51f4a41b5a440f ChangeLog 4093
-RMD160 155eb2cd5a84f55cb7b675d76b70defaa1b48bba ChangeLog 4093
-SHA256 b07286290e2d587a855c7d3f631d67e023cf18d5f4c97679447405e2c037f590 ChangeLog 4093
+EBUILD xli-1.17.0-r3.ebuild 2413 RMD160 4348e558d4031d6838a04ee78018e6e5722ca706 SHA1 5979ff176cb577db00d73a8d5a55fac053b5046c SHA256 aabca186ab9747f203788c8ad1db38d25bde7e1fe77131d4a823076eeba284cc
+MD5 8dccd81ce0f61de9969d1f1ffd3ed2f8 xli-1.17.0-r3.ebuild 2413
+RMD160 4348e558d4031d6838a04ee78018e6e5722ca706 xli-1.17.0-r3.ebuild 2413
+SHA256 aabca186ab9747f203788c8ad1db38d25bde7e1fe77131d4a823076eeba284cc xli-1.17.0-r3.ebuild 2413
+MISC ChangeLog 4256 RMD160 2922ded15da552e1ed635c2da2155f4f58584c65 SHA1 34a3e73647dd6cf14ac98ca1d3041b6c9557e25f SHA256 268c767d274e689304deb2d602d9e0917bed0518c30fd758fcd536a0f32dcb02
+MD5 17a8bd5e1dc1c52f70d0139673c0937e ChangeLog 4256
+RMD160 2922ded15da552e1ed635c2da2155f4f58584c65 ChangeLog 4256
+SHA256 268c767d274e689304deb2d602d9e0917bed0518c30fd758fcd536a0f32dcb02 ChangeLog 4256
MISC metadata.xml 160 RMD160 d86217bb48cf4283e08e43bcaabbc919101ad795 SHA1 d6147d00f16e8cfeef893d0764b0675a93d62849 SHA256 56fca1e06f6dcbe3bc12e7d3962998c7cb79d74f218ce8a17b07771b3e06f49e
MD5 dffd46174e78b327c834fc3e4b1cf848 metadata.xml 160
RMD160 d86217bb48cf4283e08e43bcaabbc919101ad795 metadata.xml 160
@@ -25,10 +26,6 @@ SHA256 56fca1e06f6dcbe3bc12e7d3962998c7cb79d74f218ce8a17b07771b3e06f49e metadata
MD5 fff0faa01805d33d3ec71de7e4a06314 files/digest-xli-1.17.0-r2 244
RMD160 3bab7a38887ed92e85d51d422bd09fe1f19cc73a files/digest-xli-1.17.0-r2 244
SHA256 e685d1df35be55bb76f36004f4155f057b2311380b7f132c9e95c81b99fa918c files/digest-xli-1.17.0-r2 244
------BEGIN PGP SIGNATURE-----
-Version: GnuPG v1.4.4 (GNU/Linux)
-
-iD8DBQFE1EKwFdQwWVoAgN4RAp6JAKD5csLlbe3GcvuFylKhfCYQXIHRkgCdFC8k
-Vgfmwdohn+/8wtm69egJNsI=
-=0Gjy
------END PGP SIGNATURE-----
+MD5 fff0faa01805d33d3ec71de7e4a06314 files/digest-xli-1.17.0-r3 244
+RMD160 3bab7a38887ed92e85d51d422bd09fe1f19cc73a files/digest-xli-1.17.0-r3 244
+SHA256 e685d1df35be55bb76f36004f4155f057b2311380b7f132c9e95c81b99fa918c files/digest-xli-1.17.0-r3 244
diff --git a/media-gfx/xli/files/digest-xli-1.17.0-r3 b/media-gfx/xli/files/digest-xli-1.17.0-r3
new file mode 100644
index 000000000000..fd23893b7816
--- /dev/null
+++ b/media-gfx/xli/files/digest-xli-1.17.0-r3
@@ -0,0 +1,3 @@
+MD5 db470da53500017fd6969457c12c98f7 xli-2005-02-27.tar.gz 201011
+RMD160 fc83fa5173befa73a0eeb56ad323dad148ef1426 xli-2005-02-27.tar.gz 201011
+SHA256 442dcf5ac75841e648c3bffed795d9301a6a485dc55f7998d0acfc2b8daad2bc xli-2005-02-27.tar.gz 201011
diff --git a/media-gfx/xli/xli-1.17.0-r3.ebuild b/media-gfx/xli/xli-1.17.0-r3.ebuild
new file mode 100644
index 000000000000..1772318f7e93
--- /dev/null
+++ b/media-gfx/xli/xli-1.17.0-r3.ebuild
@@ -0,0 +1,94 @@
+# Copyright 1999-2007 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/media-gfx/xli/xli-1.17.0-r3.ebuild,v 1.1 2007/05/14 17:43:00 drac Exp $
+
+inherit alternatives eutils
+
+SNAPSHOT="2005-02-27"
+DESCRIPTION="X Load Image: view images or load them to root window"
+HOMEPAGE="http://pantransit.reptiles.org/prog/"
+SRC_URI="http://pantransit.reptiles.org/prog/xli/xli-${SNAPSHOT}.tar.gz"
+
+LICENSE="X11"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc-macos ~ppc64 ~sparc ~x86"
+IUSE=""
+
+RDEPEND="x11-libs/libXext
+ >=sys-libs/zlib-1.1.4
+ >=media-libs/libpng-1.0.5
+ >=media-libs/jpeg-6b-r2
+ app-arch/bzip2"
+DEPEND="${RDEPEND}
+ x11-proto/xextproto
+ x11-misc/imake
+ app-text/rman"
+
+S="${WORKDIR}"/${PN}-${SNAPSHOT}
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+
+ if use userland_Darwin ; then
+ for f in $(grep zopen * | cut -d':' -f1 | uniq); do
+ sed -i "s:zopen:xli_zopen:g" $f
+ done
+ fi
+
+ sed -i Imakefile \
+ -e "/^DEFINES =/s/$/ -DHAVE_GUNZIP -DHAVE_BUNZIP2 /" \
+ -e "/CCOPTIONS =/s/=.*/=/"
+
+ # This is a hack to avoid a parse error on /usr/include/string.h
+ # when _BSD_SOURCE is defined. This may be a bug in that header.
+ sed -i png.c \
+ -e "/^#include \"xli.h\"/i#undef _BSD_SOURCE"
+
+ # This hack will allow xli to compile using gcc-3.3
+ sed -i rlelib.c \
+ -e "s/#include <varargs.h>//"
+
+ # fix potential security issues.
+ EPATCH_OPTS="-F3 -l" epatch ${FILESDIR}/xli-security-gentoo.diff
+}
+
+src_compile() {
+ xmkmf || die "xmkmf failed."
+
+ emake CDEBUGFLAGS="${CFLAGS}" || die "emake failed."
+}
+
+
+src_install() {
+ dobin xli xlito
+ dodoc README README.xloadimage ABOUTGAMMA TODO chkgamma.jpg
+ newman xli.man xli.1
+ newman xliguide.man xliguide.1
+ newman xlito.man xlito.1
+
+ insinto /etc/X11/app-defaults
+ newins ${FILESDIR}/Xli.ad Xli
+ fperms a+r /etc/X11/app-defaults/Xli
+}
+
+update_alternatives() {
+ local mansuffix=$(ecompress --suffix)
+
+ alternatives_makesym /usr/bin/xview \
+ /usr/bin/{xloadimage,xli}
+ alternatives_makesym /usr/bin/xsetbg \
+ /usr/bin/{xloadimage,xli}
+ alternatives_makesym /usr/share/man/man1/xview.1${mansuffix} \
+ /usr/share/man/man1/{xloadimage,xli}.1${mansuffix}
+ alternatives_makesym /usr/share/man/man1/xsetbg.1${mansuffix} \
+ /usr/share/man/man1/{xloadimage,xli}.1${mansuffix}
+}
+
+pkg_postinst() {
+ use ppc-macos || update_alternatives
+}
+
+pkg_postrm() {
+ use ppc-macos || update_alternatives
+}