1 |
voyageur 12/02/08 14:37:37 |
2 |
|
3 |
Modified: metadata.xml ChangeLog |
4 |
Added: gnustep-make-2.6.2.ebuild |
5 |
Removed: gnustep-make-2.6.1-r10.ebuild |
6 |
Log: |
7 |
Version bump, integrate libobjc2 support (USE-flag still masked for now) |
8 |
|
9 |
(Portage version: 2.2.0_alpha85/cvs/Linux x86_64) |
10 |
|
11 |
Revision Changes Path |
12 |
1.5 gnustep-base/gnustep-make/metadata.xml |
13 |
|
14 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/gnustep-base/gnustep-make/metadata.xml?rev=1.5&view=markup |
15 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/gnustep-base/gnustep-make/metadata.xml?rev=1.5&content-type=text/plain |
16 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/gnustep-base/gnustep-make/metadata.xml?r1=1.4&r2=1.5 |
17 |
|
18 |
Index: metadata.xml |
19 |
=================================================================== |
20 |
RCS file: /var/cvsroot/gentoo-x86/gnustep-base/gnustep-make/metadata.xml,v |
21 |
retrieving revision 1.4 |
22 |
retrieving revision 1.5 |
23 |
diff -u -r1.4 -r1.5 |
24 |
--- metadata.xml 7 Jun 2011 14:35:48 -0000 1.4 |
25 |
+++ metadata.xml 8 Feb 2012 14:37:37 -0000 1.5 |
26 |
@@ -10,7 +10,7 @@ |
27 |
the user to easily create cross-compiled binaries. |
28 |
</longdescription> |
29 |
<use> |
30 |
- <flag name='libobjc2'>Enables use of the GNUstep Objective-C runtime (<pkg>gnustep-base/libobjc2</pkg>) with <pkg>sys-devel/clang</pkg> compiler</flag> |
31 |
+ <flag name='libobjc2'>Enables use of the GNUstep Objective-C runtime (<pkg>gnustep-base/libobjc2</pkg>) with non-fragile ABI and <pkg>sys-devel/clang</pkg> compiler</flag> |
32 |
<flag name='native-exceptions'>Enables use of the native Objective-C exception support (@try/@catch/@finally) built-in objective-c exceptions with compilers that support it </flag> |
33 |
</use> |
34 |
</pkgmetadata> |
35 |
|
36 |
|
37 |
|
38 |
1.103 gnustep-base/gnustep-make/ChangeLog |
39 |
|
40 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/gnustep-base/gnustep-make/ChangeLog?rev=1.103&view=markup |
41 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/gnustep-base/gnustep-make/ChangeLog?rev=1.103&content-type=text/plain |
42 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/gnustep-base/gnustep-make/ChangeLog?r1=1.102&r2=1.103 |
43 |
|
44 |
Index: ChangeLog |
45 |
=================================================================== |
46 |
RCS file: /var/cvsroot/gentoo-x86/gnustep-base/gnustep-make/ChangeLog,v |
47 |
retrieving revision 1.102 |
48 |
retrieving revision 1.103 |
49 |
diff -u -r1.102 -r1.103 |
50 |
--- ChangeLog 9 Jun 2011 09:47:21 -0000 1.102 |
51 |
+++ ChangeLog 8 Feb 2012 14:37:37 -0000 1.103 |
52 |
@@ -1,6 +1,12 @@ |
53 |
# ChangeLog for gnustep-base/gnustep-make |
54 |
-# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 |
55 |
-# $Header: /var/cvsroot/gentoo-x86/gnustep-base/gnustep-make/ChangeLog,v 1.102 2011/06/09 09:47:21 voyageur Exp $ |
56 |
+# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 |
57 |
+# $Header: /var/cvsroot/gentoo-x86/gnustep-base/gnustep-make/ChangeLog,v 1.103 2012/02/08 14:37:37 voyageur Exp $ |
58 |
+ |
59 |
+*gnustep-make-2.6.2 (08 Feb 2012) |
60 |
+ |
61 |
+ 08 Feb 2012; Bernard Cafarelli <voyageur@g.o> |
62 |
+ -gnustep-make-2.6.1-r10.ebuild, +gnustep-make-2.6.2.ebuild, metadata.xml: |
63 |
+ Version bump, integrate libobjc2 support (USE-flag still masked for now) |
64 |
|
65 |
*gnustep-make-2.6.1-r1 (09 Jun 2011) |
66 |
|
67 |
|
68 |
|
69 |
|
70 |
1.1 gnustep-base/gnustep-make/gnustep-make-2.6.2.ebuild |
71 |
|
72 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/gnustep-base/gnustep-make/gnustep-make-2.6.2.ebuild?rev=1.1&view=markup |
73 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/gnustep-base/gnustep-make/gnustep-make-2.6.2.ebuild?rev=1.1&content-type=text/plain |
74 |
|
75 |
Index: gnustep-make-2.6.2.ebuild |
76 |
=================================================================== |
77 |
# Copyright 1999-2012 Gentoo Foundation |
78 |
# Distributed under the terms of the GNU General Public License v2 |
79 |
# $Header: /var/cvsroot/gentoo-x86/gnustep-base/gnustep-make/gnustep-make-2.6.2.ebuild,v 1.1 2012/02/08 14:37:37 voyageur Exp $ |
80 |
|
81 |
EAPI=4 |
82 |
|
83 |
inherit gnustep-base eutils prefix |
84 |
|
85 |
DESCRIPTION="GNUstep Makefile Package" |
86 |
|
87 |
HOMEPAGE="http://www.gnustep.org" |
88 |
SRC_URI="ftp://ftp.gnustep.org/pub/gnustep/core/${P}.tar.gz" |
89 |
KEYWORDS="~alpha ~amd64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd ~amd64-linux ~x86-linux ~sparc-solaris ~x86-solaris" |
90 |
IUSE="libobjc2 native-exceptions" |
91 |
SLOT="0" |
92 |
LICENSE="GPL-2" |
93 |
|
94 |
DEPEND="${GNUSTEP_CORE_DEPEND} |
95 |
>=sys-devel/make-3.75 |
96 |
libobjc2? ( gnustep-base/libobjc2 |
97 |
>=sys-devel/clang-2.9 ) |
98 |
!libobjc2? ( !gnustep-base/libobjc2 |
99 |
>=sys-devel/gcc-3.3[objc] )" |
100 |
RDEPEND="${DEPEND}" |
101 |
|
102 |
pkg_setup() { |
103 |
if ( use libobjc2 && ! has_version gnustep-base/gnustep-make[libobjc2] ) || \ |
104 |
( ! use libobjc2 && has_version gnustep-base/gnustep-make[libobjc2] ) || \ |
105 |
( use libobjc2 && has_version <gnustep-base-2.6.2 ) ; then |
106 |
ewarn "TOGGLED libobjc2 USE-FLAG WARNING:" |
107 |
ewarn "You changed the libojbc2 use-flag" |
108 |
ewarn "You must rebuild all gnustep packages installed." |
109 |
# Suggest gnustep-updater once it can do the trick |
110 |
fi |
111 |
} |
112 |
|
113 |
src_prepare() { |
114 |
# Multilib-strict |
115 |
sed -e "s#/lib#/$(get_libdir)#" -i FilesystemLayouts/fhs-system || die "sed failed" |
116 |
epatch "${FILESDIR}"/${PN}-2.0.1-destdir.patch |
117 |
cp "${FILESDIR}"/gnustep-4.{csh,sh} "${T}"/ |
118 |
eprefixify "${T}"/gnustep-4.{csh,sh} |
119 |
} |
120 |
|
121 |
src_configure() { |
122 |
if use libobjc2; then |
123 |
export CC=clang |
124 |
fi |
125 |
|
126 |
#--enable-objc-nonfragile-abi: only working in clang for now |
127 |
#--with-objc-lib-flag: TODO use to force libobjc2 or not |
128 |
econf \ |
129 |
--with-layout=fhs-system \ |
130 |
--with-config-file="${EPREFIX}"/etc/GNUstep/GNUstep.conf \ |
131 |
$(use_enable libobjc2 objc-nonfragile-abi) \ |
132 |
$(use_enable native-exceptions native-objc-exceptions) |
133 |
} |
134 |
|
135 |
src_compile() { |
136 |
emake |
137 |
# Prepare doc here (needed when no gnustep-make is already installed) |
138 |
if use doc ; then |
139 |
# If a gnustep-1 environment is set |
140 |
unset GNUSTEP_MAKEFILES |
141 |
pushd Documentation &> /dev/null |
142 |
emake all install |
143 |
popd &> /dev/null |
144 |
fi |
145 |
} |
146 |
|
147 |
src_install() { |
148 |
# Get GNUSTEP_* variables |
149 |
. ./GNUstep.conf |
150 |
|
151 |
local make_eval |
152 |
use debug || make_eval="${make_eval} debug=no" |
153 |
make_eval="${make_eval} verbose=yes" |
154 |
|
155 |
emake ${make_eval} DESTDIR="${D}" install |
156 |
|
157 |
# Copy the documentation |
158 |
if use doc ; then |
159 |
dodir ${GNUSTEP_SYSTEM_DOC} |
160 |
cp -r Documentation/tmp-installation/System/Library/Documentation/* \ |
161 |
"${ED}"${GNUSTEP_SYSTEM_DOC=} |
162 |
fi |
163 |
|
164 |
dodoc FAQ README RELEASENOTES |
165 |
|
166 |
exeinto /etc/profile.d |
167 |
doexe "${T}"/gnustep-4.sh |
168 |
doexe "${T}"/gnustep-4.csh |
169 |
} |
170 |
|
171 |
pkg_postinst() { |
172 |
# Warn about new layout if old GNUstep directory is still here |
173 |
if [ -e /usr/GNUstep/System ]; then |
174 |
ewarn "Old layout directory detected (/usr/GNUstep/System)" |
175 |
ewarn "Gentoo has switched to FHS layout for GNUstep packages" |
176 |
ewarn "You must first update the configuration files from this package," |
177 |
ewarn "then remerge all packages still installed with the old layout" |
178 |
ewarn "You can use gnustep-base/gnustep-updater for this task" |
179 |
fi |
180 |
} |