Gentoo Archives: gentoo-commits

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