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