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