1 |
ssuominen 09/09/04 11:14:38 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: xloadimage-4.1-r10.ebuild |
5 |
Removed: xloadimage-4.1-r5.ebuild |
6 |
Log: |
7 |
Stop using internal ecompress function. |
8 |
(Portage version: 2.2_rc40/cvs/Linux x86_64) |
9 |
|
10 |
Revision Changes Path |
11 |
1.43 media-gfx/xloadimage/ChangeLog |
12 |
|
13 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-gfx/xloadimage/ChangeLog?rev=1.43&view=markup |
14 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-gfx/xloadimage/ChangeLog?rev=1.43&content-type=text/plain |
15 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-gfx/xloadimage/ChangeLog?r1=1.42&r2=1.43 |
16 |
|
17 |
Index: ChangeLog |
18 |
=================================================================== |
19 |
RCS file: /var/cvsroot/gentoo-x86/media-gfx/xloadimage/ChangeLog,v |
20 |
retrieving revision 1.42 |
21 |
retrieving revision 1.43 |
22 |
diff -u -r1.42 -r1.43 |
23 |
--- ChangeLog 17 Nov 2008 21:12:46 -0000 1.42 |
24 |
+++ ChangeLog 4 Sep 2009 11:14:38 -0000 1.43 |
25 |
@@ -1,6 +1,12 @@ |
26 |
# ChangeLog for media-gfx/xloadimage |
27 |
-# Copyright 2002-2008 Gentoo Foundation; Distributed under the GPL v2 |
28 |
-# $Header: /var/cvsroot/gentoo-x86/media-gfx/xloadimage/ChangeLog,v 1.42 2008/11/17 21:12:46 flameeyes Exp $ |
29 |
+# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 |
30 |
+# $Header: /var/cvsroot/gentoo-x86/media-gfx/xloadimage/ChangeLog,v 1.43 2009/09/04 11:14:38 ssuominen Exp $ |
31 |
+ |
32 |
+*xloadimage-4.1-r10 (04 Sep 2009) |
33 |
+ |
34 |
+ 04 Sep 2009; Samuli Suominen <ssuominen@g.o> |
35 |
+ +xloadimage-4.1-r10.ebuild: |
36 |
+ Stop using internal ecompress function. |
37 |
|
38 |
17 Nov 2008; Diego E. Pettenò <flameeyes@g.o> |
39 |
files/xloadimage-4.1-unaligned-access.patch: |
40 |
|
41 |
|
42 |
|
43 |
1.1 media-gfx/xloadimage/xloadimage-4.1-r10.ebuild |
44 |
|
45 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-gfx/xloadimage/xloadimage-4.1-r10.ebuild?rev=1.1&view=markup |
46 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-gfx/xloadimage/xloadimage-4.1-r10.ebuild?rev=1.1&content-type=text/plain |
47 |
|
48 |
Index: xloadimage-4.1-r10.ebuild |
49 |
=================================================================== |
50 |
# Copyright 1999-2009 Gentoo Foundation |
51 |
# Distributed under the terms of the GNU General Public License v2 |
52 |
# $Header: /var/cvsroot/gentoo-x86/media-gfx/xloadimage/xloadimage-4.1-r10.ebuild,v 1.1 2009/09/04 11:14:38 ssuominen Exp $ |
53 |
|
54 |
EAPI=2 |
55 |
inherit eutils toolchain-funcs |
56 |
|
57 |
DESCRIPTION="utility to view many different types of images under X11" |
58 |
HOMEPAGE="http://world.std.com/~jimf/xloadimage.html" |
59 |
SRC_URI="ftp://ftp.x.org/R5contrib/${P/-/.}.tar.gz |
60 |
mirror://gentoo/${P}-gentoo.diff.bz2" |
61 |
|
62 |
LICENSE="MIT" |
63 |
SLOT="0" |
64 |
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sh ~sparc ~x86 ~x86-fbsd" |
65 |
IUSE="tiff jpeg png" |
66 |
|
67 |
RDEPEND="x11-libs/libX11 |
68 |
tiff? ( media-libs/tiff ) |
69 |
png? ( media-libs/libpng ) |
70 |
jpeg? ( media-libs/jpeg )" |
71 |
DEPEND="${RDEPEND} |
72 |
!media-gfx/xli |
73 |
!<media-gfx/xloadimage-4.1-r10" |
74 |
|
75 |
S=${WORKDIR}/${P/-/.} |
76 |
|
77 |
src_prepare() { |
78 |
epatch "${WORKDIR}"/${P}-gentoo.diff |
79 |
epatch "${FILESDIR}"/${P}-zio-shell-meta-char.diff |
80 |
epatch "${FILESDIR}"/${P}-endif.patch |
81 |
|
82 |
# Do not define errno extern, but rather include errno.h |
83 |
# <azarah@g.o> (1 Jan 2003) |
84 |
epatch "${FILESDIR}"/${P}-include-errno_h.patch |
85 |
|
86 |
epatch "${FILESDIR}"/xloadimage-gentoo.patch |
87 |
|
88 |
sed -i -e "s:OPT_FLAGS=:OPT_FLAGS=$CFLAGS:" Make.conf || die |
89 |
sed -i -e "s:^#include <varargs.h>:#include <stdarg.h>:" rlelib.c || die |
90 |
|
91 |
# On FreeBSD systems malloc.h is a false header asking for fixes. |
92 |
# On MacOSX it would require malloc/malloc.h |
93 |
# On other systems it's simply unneeded |
94 |
sed -i -e 's,<malloc.h>,<stdlib.h>,' vicar.c || die |
95 |
|
96 |
epatch "${FILESDIR}"/${P}-unaligned-access.patch |
97 |
|
98 |
chmod +x configure |
99 |
} |
100 |
|
101 |
src_configure() { |
102 |
tc-export CC |
103 |
econf |
104 |
} |
105 |
|
106 |
src_install() { |
107 |
dobin xloadimage uufilter || die |
108 |
|
109 |
dosym xloadimage /usr/bin/xsetbg || die |
110 |
dosym xloadimage /usr/bin/xview || die |
111 |
|
112 |
insinto /etc/X11 |
113 |
doins xloadimagerc || die |
114 |
|
115 |
newman xloadimage.man xloadimage.1 |
116 |
newman uufilter.man uufilter.1 |
117 |
|
118 |
dodoc README |
119 |
} |