Gentoo Archives: gentoo-commits

From: "Harald van Dijk (truedfx)" <truedfx@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in dev-lang/lazarus: ChangeLog lazarus-0.9.28.2-r1.ebuild lazarus-0.9.28.2.ebuild
Date: Sat, 21 Aug 2010 18:29:48
Message-Id: 20100821182939.A21A32004E@flycatcher.gentoo.org
1 truedfx 10/08/21 18:29:39
2
3 Modified: ChangeLog
4 Added: lazarus-0.9.28.2-r1.ebuild
5 Removed: lazarus-0.9.28.2.ebuild
6 Log:
7 Fix access violation in TGtk2WSCustomListBox with some GTK+ versions (#333761 by suilenroc1183@×××××.de)
8 (Portage version: 2.2_rc67/cvs/Linux x86_64)
9
10 Revision Changes Path
11 1.32 dev-lang/lazarus/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-lang/lazarus/ChangeLog?rev=1.32&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-lang/lazarus/ChangeLog?rev=1.32&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-lang/lazarus/ChangeLog?r1=1.31&r2=1.32
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/dev-lang/lazarus/ChangeLog,v
20 retrieving revision 1.31
21 retrieving revision 1.32
22 diff -u -r1.31 -r1.32
23 --- ChangeLog 6 Feb 2010 09:15:14 -0000 1.31
24 +++ ChangeLog 21 Aug 2010 18:29:39 -0000 1.32
25 @@ -1,6 +1,20 @@
26 # ChangeLog for dev-lang/lazarus
27 # Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/dev-lang/lazarus/ChangeLog,v 1.31 2010/02/06 09:15:14 truedfx Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/dev-lang/lazarus/ChangeLog,v 1.32 2010/08/21 18:29:39 truedfx Exp $
30 +
31 + 21 Aug 2010; Harald van Dijk <truedfx@g.o>
32 + -lazarus-0.9.28.2.ebuild, +lazarus-0.9.28.2-r1.ebuild,
33 + +files/lazarus-0.9.28.2-bug0015627.patch:
34 + Fix access violation in TGtk2WSCustomListBox with some GTK+ versions
35 + (#333761 by suilenroc1183@×××××.de)
36 +
37 +*lazarus-0.9.28.2-r1 (21 Aug 2010)
38 +
39 + 21 Aug 2010; Harald van Dijk <truedfx@g.o>
40 + -lazarus-0.9.28.2.ebuild, +lazarus-0.9.28.2-r1.ebuild,
41 + +files/lazarus-0.9.28.2-bug0015627.patch:
42 + Fix access violation in TGtk2WSCustomListBox with recent GTK+ (#333761 by
43 + suilenroc1183@×××××.de)
44
45 *lazarus-0.9.28.2 (06 Feb 2010)
46
47
48
49
50 1.1 dev-lang/lazarus/lazarus-0.9.28.2-r1.ebuild
51
52 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-lang/lazarus/lazarus-0.9.28.2-r1.ebuild?rev=1.1&view=markup
53 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-lang/lazarus/lazarus-0.9.28.2-r1.ebuild?rev=1.1&content-type=text/plain
54
55 Index: lazarus-0.9.28.2-r1.ebuild
56 ===================================================================
57 # Copyright 1999-2010 Gentoo Foundation
58 # Distributed under the terms of the GNU General Public License v2
59 # $Header: /var/cvsroot/gentoo-x86/dev-lang/lazarus/lazarus-0.9.28.2-r1.ebuild,v 1.1 2010/08/21 18:29:39 truedfx Exp $
60
61 EAPI=2
62
63 inherit eutils
64
65 RESTRICT="strip" #269221
66
67 FPCVER="2.4.0"
68
69 SLOT="0" # Note: Slotting Lazarus needs slotting fpc, see DEPEND.
70 LICENSE="GPL-2 LGPL-2.1 LGPL-2.1-linking-exception"
71 KEYWORDS="~amd64 ~ppc ~x86"
72 DESCRIPTION="Lazarus IDE is a feature rich visual programming environment emulating Delphi."
73 HOMEPAGE="http://www.lazarus.freepascal.org/"
74 IUSE=""
75 SRC_URI="mirror://sourceforge/lazarus/${P}-src.tar.bz2"
76
77 DEPEND="~dev-lang/fpc-${FPCVER}[source]
78 net-misc/rsync
79 >=x11-libs/gtk+-2.0"
80 RDEPEND="${DEPEND}
81 !=gnome-base/librsvg-2.16.1"
82 DEPEND="${DEPEND}
83 >=sys-devel/binutils-2.19.1-r1"
84
85 S=${WORKDIR}/${PN}
86
87 src_prepare() {
88 epatch "${FILESDIR}"/${PN}-0.9.26-fpcsrc.patch
89 epatch "${FILESDIR}"/${PN}-0.9.28.2-bug0015627.patch
90
91 # Use default configuration (minus stripping) unless specifically requested otherwise
92 if ! test ${PPC_CONFIG_PATH+set} ; then
93 local FPCVER=$(fpc -iV)
94 export PPC_CONFIG_PATH="${WORKDIR}"
95 sed -e 's/^FPBIN=/#&/' /usr/lib/fpc/${FPCVER}/samplecfg |
96 sh -s /usr/lib/fpc/${FPCVER} "${PPC_CONFIG_PATH}" || die
97 #sed -i -e '/^-Xs/d' "${PPC_CONFIG_PATH}"/fpc.cfg || die
98 fi
99 }
100
101 src_compile() {
102 LCL_PLATFORM=gtk2 emake -j1 || die "make failed!"
103 }
104
105 src_install() {
106 diropts -m0755
107 dodir /usr/share
108 # Using rsync to avoid unnecessary copies and cleaning...
109 # Note: *.o and *.ppu are needed
110 rsync -a \
111 --exclude="CVS" --exclude=".cvsignore" \
112 --exclude="*.ppw" --exclude="*.ppl" \
113 --exclude="*.ow" --exclude="*.a"\
114 --exclude="*.rst" --exclude=".#*" \
115 --exclude="*.~*" --exclude="*.bak" \
116 --exclude="*.orig" --exclude="*.rej" \
117 --exclude=".xvpics" --exclude="*.compiled" \
118 --exclude="killme*" --exclude=".gdb_hist*" \
119 --exclude="debian" --exclude="COPYING*" \
120 --exclude="*.app" \
121 "${S}" "${D}"usr/share \
122 || die "Unable to copy files!"
123
124 dosym ../share/lazarus/startlazarus /usr/bin/startlazarus
125 dosym ../share/lazarus/startlazarus /usr/bin/lazarus
126 dosym ../share/lazarus/lazbuild /usr/bin/lazbuild
127 dosym ../lazarus/images/ide_icon48x48.png /usr/share/pixmaps/lazarus.png
128
129 make_desktop_entry startlazarus "Lazarus IDE" "lazarus" || die "Failed making desktop entry!"
130 }