Gentoo Archives: gentoo-commits

From: "Patrick Lauer (patrick)" <patrick@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in dev-lang/pike: ChangeLog pike-7.8.316.ebuild
Date: Wed, 09 Sep 2009 18:05:49
Message-Id: E1MlRYA-0000pE-LW@stork.gentoo.org
1 patrick 09/09/09 18:05:46
2
3 Modified: ChangeLog
4 Added: pike-7.8.316.ebuild
5 Log:
6 Bump. Modified ebuild thanks to Henrik Grubbstroem. Fixes #275644 #277936
7 (Portage version: 2.2_rc40/cvs/Linux x86_64)
8
9 Revision Changes Path
10 1.34 dev-lang/pike/ChangeLog
11
12 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-lang/pike/ChangeLog?rev=1.34&view=markup
13 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-lang/pike/ChangeLog?rev=1.34&content-type=text/plain
14 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-lang/pike/ChangeLog?r1=1.33&r2=1.34
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/dev-lang/pike/ChangeLog,v
19 retrieving revision 1.33
20 retrieving revision 1.34
21 diff -u -r1.33 -r1.34
22 --- ChangeLog 27 Nov 2008 23:14:01 -0000 1.33
23 +++ ChangeLog 9 Sep 2009 18:05:46 -0000 1.34
24 @@ -1,6 +1,11 @@
25 # ChangeLog for dev-lang/pike
26 -# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
27 -# $Header: /var/cvsroot/gentoo-x86/dev-lang/pike/ChangeLog,v 1.33 2008/11/27 23:14:01 araujo Exp $
28 +# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
29 +# $Header: /var/cvsroot/gentoo-x86/dev-lang/pike/ChangeLog,v 1.34 2009/09/09 18:05:46 patrick Exp $
30 +
31 +*pike-7.8.316 (09 Sep 2009)
32 +
33 + 09 Sep 2009; Patrick Lauer <patrick@g.o> +pike-7.8.316.ebuild:
34 + Bump. Modified ebuild thanks to Henrik Grubbstroem. Fixes #275644 #277936
35
36 *pike-7.6.112-r1 (27 Nov 2008)
37
38
39
40
41 1.1 dev-lang/pike/pike-7.8.316.ebuild
42
43 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-lang/pike/pike-7.8.316.ebuild?rev=1.1&view=markup
44 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-lang/pike/pike-7.8.316.ebuild?rev=1.1&content-type=text/plain
45
46 Index: pike-7.8.316.ebuild
47 ===================================================================
48 # Copyright 1999-2009 Gentoo Foundation
49 # Distributed under the terms of the GNU General Public License v2
50 # $Header: /var/cvsroot/gentoo-x86/dev-lang/pike/pike-7.8.316.ebuild,v 1.1 2009/09/09 18:05:46 patrick Exp $
51
52 EAPI="2"
53 DESCRIPTION="Pike programming language and runtime"
54 HOMEPAGE="http://pike.ida.liu.se/"
55 SRC_URI="http://pike.ida.liu.se/pub/pike/all/${PV}/Pike-v${PV}.tar.gz"
56
57 LICENSE="GPL-2 LGPL-2.1 MPL-1.1"
58 SLOT="0"
59 KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~mips ~ppc ~sparc ~x86 ~x86-fbsd"
60 IUSE="bzip2 debug doc fftw gdbm glut gnome gtk hardened java jpeg kerberos mysql odbc opengl pcre pdf scanner sdl sqlite svg tiff truetype zlib"
61
62 DEPEND="<dev-libs/nettle-2
63 dev-libs/gmp
64 media-libs/giflib
65 bzip2? ( app-arch/bzip2 )
66 fftw? ( sci-libs/fftw )
67 gdbm? ( sys-libs/gdbm )
68 gtk? ( =x11-libs/gtk+-1.2* >x11-libs/gtk+-2 )
69 gtk? ( gnome? ( gnome-base/libgnome gnome-base/libgnomeui gnome-base/gnome-applets gnome-base/libglade ) )
70 gtk? ( opengl? ( x11-libs/gtkglarea ) )
71 java? ( virtual/jdk virtual/libffi )
72 jpeg? ( media-libs/jpeg )
73 kerberos? ( virtual/krb5 net-libs/libgssglue )
74 mysql? ( virtual/mysql )
75 odbc? ( dev-db/libiodbc )
76 opengl? ( virtual/opengl glut? ( virtual/glut ) )
77 pcre? ( dev-libs/libpcre )
78 pdf? ( media-libs/pdflib )
79 !x86-fbsd? ( scanner? ( media-gfx/sane-backends ) )
80 sdl? ( media-libs/libsdl media-libs/sdl-mixer )
81 sqlite? ( dev-db/sqlite )
82 svg? ( gnome-base/librsvg )
83 test? ( sys-devel/m4 )
84 tiff? ( media-libs/tiff )
85 truetype? ( >media-libs/freetype-2 )
86 zlib? ( sys-libs/zlib )"
87 RDEPEND=""
88
89 S=${WORKDIR}/Pike-v${PV}
90
91 src_compile() {
92 local myconf=""
93 # ffmpeg is broken atm #110136
94 myconf="${myconf} --without-_Ffmpeg"
95 # on hardened, disable runtime-generated code
96 # otherwise let configure work it out for itself
97 use hardened && myconf="${myconf} --without-machine-code"
98
99 make \
100 CONFIGUREARGS=" \
101 --prefix=/usr \
102 --disable-make_conf \
103 --disable-noopty-retry \
104 --without-cdebug \
105 --without-bundles \
106 --without-copt \
107 --without-ssleay \
108 --with-crypt \
109 --with-gif \
110 --with-gmp \
111 --with-bignums \
112 $(use_with bzip2 Bz2) \
113 $(use_with debug rtldebug) \
114 $(use_with fftw) \
115 $(use_with gdbm) \
116 $(use_with java Java) \
117 $(use_with jpeg jpeglib) \
118 $(use_with kerberos Kerberos) \
119 $(use_with kerberos gssapi) \
120 $(use_with mysql) \
121 $(use_with odbc Odbc) \
122 $(use_with opengl GL) \
123 $(use opengl && use_with glut GLUT) \
124 $(use opengl || use_with opengl GLUT) \
125 $(use_with pcre _Regexp_PCRE) \
126 $(use_with pdf libpdf) \
127 $(use_with scanner sane) \
128 $(use_with sdl SDL) \
129 $(use_with sdl SDL_mixer) \
130 $(use_with svg) \
131 $(use_with tiff tifflib) \
132 $(use_with truetype freetype) \
133 $(use_with zlib) \
134 ${myconf} \
135 " || die "compilation failed"
136
137 if use doc; then
138 PATH="${S}/bin:${PATH}" make doc || die "doc failed"
139 fi
140 }
141
142 src_install() {
143 # do not remove modules to avoid sandbox violation.
144 # The sandbox really ought to allow deletion of files
145 # that belong to previous installs of the ebuild, or
146 # even better: hide them.
147 sed -i s/rm\(mod\+\"\.o\"\)\;/break\;/ "${S}"/bin/install.pike || die "Failed to modify install.pike (1)"
148 sed -i 's/\(Array.map *( *files_to_delete *- *files_to_not_delete, *rm *);\)/; \/\/ \1/' "${S}"/bin/install.pike || die "Failed to modify install.pike (2)"
149 if use doc ; then
150 make INSTALLARGS="--traditional" buildroot="${D}" install || die
151 einfo "Installing 60MB of docs, this could take some time ..."
152 dohtml -r "${S}"/refdoc/traditional_manual "${S}"/refdoc/modref
153 else
154 make INSTALLARGS="--traditional" buildroot="${D}" install_nodoc || die
155 fi
156 # Installation is a bit broken.. remove the doc sources.
157 rm -rf "${D}/usr/doc"
158 # Install the man pages in the proper location.
159 rm -rf "${D}/usr/man" && doman "${S}/man/pike.1"
160 }