1 |
truedfx 09/04/23 21:05:04 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: lazarus-0.9.26-r2.ebuild |
5 |
Log: |
6 |
Add fpc 2.2.4 (#266988) |
7 |
(Portage version: 2.2_rc31/cvs/Linux i686) |
8 |
|
9 |
Revision Changes Path |
10 |
1.26 dev-lang/lazarus/ChangeLog |
11 |
|
12 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-lang/lazarus/ChangeLog?rev=1.26&view=markup |
13 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-lang/lazarus/ChangeLog?rev=1.26&content-type=text/plain |
14 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-lang/lazarus/ChangeLog?r1=1.25&r2=1.26 |
15 |
|
16 |
Index: ChangeLog |
17 |
=================================================================== |
18 |
RCS file: /var/cvsroot/gentoo-x86/dev-lang/lazarus/ChangeLog,v |
19 |
retrieving revision 1.25 |
20 |
retrieving revision 1.26 |
21 |
diff -u -r1.25 -r1.26 |
22 |
--- ChangeLog 14 Mar 2009 17:29:50 -0000 1.25 |
23 |
+++ ChangeLog 23 Apr 2009 21:05:03 -0000 1.26 |
24 |
@@ -1,6 +1,12 @@ |
25 |
# ChangeLog for dev-lang/lazarus |
26 |
# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 |
27 |
-# $Header: /var/cvsroot/gentoo-x86/dev-lang/lazarus/ChangeLog,v 1.25 2009/03/14 17:29:50 truedfx Exp $ |
28 |
+# $Header: /var/cvsroot/gentoo-x86/dev-lang/lazarus/ChangeLog,v 1.26 2009/04/23 21:05:03 truedfx Exp $ |
29 |
+ |
30 |
+*lazarus-0.9.26-r2 (23 Apr 2009) |
31 |
+ |
32 |
+ 23 Apr 2009; Harald van Dijk <truedfx@g.o> |
33 |
+ +lazarus-0.9.26-r2.ebuild: |
34 |
+ Revision bump to build with fpc 2.2.4 |
35 |
|
36 |
*lazarus-0.9.26-r1 (14 Mar 2009) |
37 |
|
38 |
|
39 |
|
40 |
|
41 |
1.1 dev-lang/lazarus/lazarus-0.9.26-r2.ebuild |
42 |
|
43 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-lang/lazarus/lazarus-0.9.26-r2.ebuild?rev=1.1&view=markup |
44 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-lang/lazarus/lazarus-0.9.26-r2.ebuild?rev=1.1&content-type=text/plain |
45 |
|
46 |
Index: lazarus-0.9.26-r2.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/lazarus/lazarus-0.9.26-r2.ebuild,v 1.1 2009/04/23 21:05:03 truedfx Exp $ |
51 |
|
52 |
EAPI=2 |
53 |
|
54 |
inherit eutils |
55 |
|
56 |
FPCVER="2.2.4" |
57 |
|
58 |
SLOT="0" # Note: Slotting Lazarus needs slotting fpc, see DEPEND. |
59 |
LICENSE="GPL-2 LGPL-2.1 LGPL-2.1-linking-exception" |
60 |
KEYWORDS="~amd64 ~ppc ~x86" |
61 |
DESCRIPTION="Lazarus IDE is a feature rich visual programming environment emulating Delphi." |
62 |
HOMEPAGE="http://www.lazarus.freepascal.org/" |
63 |
IUSE="" |
64 |
SRC_URI="mirror://sourceforge/lazarus/${P}-0.tgz" |
65 |
|
66 |
DEPEND="~dev-lang/fpc-${FPCVER}[source] |
67 |
net-misc/rsync |
68 |
>=x11-libs/gtk+-2.0" |
69 |
RDEPEND="${DEPEND} |
70 |
!=gnome-base/librsvg-2.16.1" |
71 |
DEPEND="${DEPEND} |
72 |
>=sys-devel/binutils-2.19.1-r1" |
73 |
|
74 |
S=${WORKDIR}/${PN} |
75 |
|
76 |
src_unpack() { |
77 |
# check for broken fpc.cfg |
78 |
# don't check in pkg_setup since it won't harm binpkgs |
79 |
if grep -q '^[ ]*-Fu.*/lcl$' /etc/fpc.cfg |
80 |
then |
81 |
eerror "Your /etc/fpc.cfg automatically adds a LCL directory" |
82 |
eerror "to the list of unit directories. This will break the" |
83 |
eerror "build of lazarus." |
84 |
die "don't set the LCL path in /etc/fpc.cfg" |
85 |
fi |
86 |
|
87 |
unpack ${A} |
88 |
|
89 |
cd "${S}" |
90 |
epatch "${FILESDIR}"/${P}-fpcsrc.patch |
91 |
} |
92 |
|
93 |
src_compile() { |
94 |
LCL_PLATFORM=gtk2 emake -j1 || die "make failed!" |
95 |
} |
96 |
|
97 |
src_install() { |
98 |
diropts -m0755 |
99 |
dodir /usr/share |
100 |
# Using rsync to avoid unnecessary copies and cleaning... |
101 |
# Note: *.o and *.ppu are needed |
102 |
rsync -a \ |
103 |
--exclude="CVS" --exclude=".cvsignore" \ |
104 |
--exclude="*.ppw" --exclude="*.ppl" \ |
105 |
--exclude="*.ow" --exclude="*.a"\ |
106 |
--exclude="*.rst" --exclude=".#*" \ |
107 |
--exclude="*.~*" --exclude="*.bak" \ |
108 |
--exclude="*.orig" --exclude="*.rej" \ |
109 |
--exclude=".xvpics" --exclude="*.compiled" \ |
110 |
--exclude="killme*" --exclude=".gdb_hist*" \ |
111 |
--exclude="debian" --exclude="COPYING*" \ |
112 |
--exclude="*.app" \ |
113 |
"${S}" "${D}"usr/share \ |
114 |
|| die "Unable to copy files!" |
115 |
|
116 |
dosym ../share/lazarus/startlazarus /usr/bin/startlazarus |
117 |
dosym ../lazarus/images/ide_icon48x48.png /usr/share/pixmaps/lazarus.png |
118 |
|
119 |
make_desktop_entry startlazarus "Lazarus IDE" "lazarus" || die "Failed making desktop entry!" |
120 |
} |