From: | "Patrick Lauer (patrick)" <patrick@g.o> |
---|---|
To: | gentoo-commits@l.g.o |
Subject: | [gentoo-commits] gentoo-x86 commit in dev-lang/lazarus: lazarus-1.0.4.ebuild ChangeLog |
Date: | Thu, 31 Jan 2013 08:15:48 |
Message-Id: | 20130131081543.E25542171D@flycatcher.gentoo.org |
1 | patrick 13/01/31 08:15:43 |
2 | |
3 | Modified: ChangeLog |
4 | Added: lazarus-1.0.4.ebuild |
5 | Log: |
6 | Bump for #364261 |
7 | |
8 | (Portage version: 2.2.0_alpha161/cvs/Linux x86_64, unsigned Manifest commit) |
9 | |
10 | Revision Changes Path |
11 | 1.35 dev-lang/lazarus/ChangeLog |
12 | |
13 | file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-lang/lazarus/ChangeLog?rev=1.35&view=markup |
14 | plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-lang/lazarus/ChangeLog?rev=1.35&content-type=text/plain |
15 | diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-lang/lazarus/ChangeLog?r1=1.34&r2=1.35 |
16 | |
17 | Index: ChangeLog |
18 | =================================================================== |
19 | RCS file: /var/cvsroot/gentoo-x86/dev-lang/lazarus/ChangeLog,v |
20 | retrieving revision 1.34 |
21 | retrieving revision 1.35 |
22 | diff -u -r1.34 -r1.35 |
23 | --- ChangeLog 9 Jul 2012 21:22:32 -0000 1.34 |
24 | +++ ChangeLog 31 Jan 2013 08:15:43 -0000 1.35 |
25 | @@ -1,6 +1,11 @@ |
26 | # ChangeLog for dev-lang/lazarus |
27 | -# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 |
28 | -# $Header: /var/cvsroot/gentoo-x86/dev-lang/lazarus/ChangeLog,v 1.34 2012/07/09 21:22:32 ulm Exp $ |
29 | +# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 |
30 | +# $Header: /var/cvsroot/gentoo-x86/dev-lang/lazarus/ChangeLog,v 1.35 2013/01/31 08:15:43 patrick Exp $ |
31 | + |
32 | +*lazarus-1.0.4 (31 Jan 2013) |
33 | + |
34 | + 31 Jan 2013; Patrick Lauer <patrick@g.o> +lazarus-1.0.4.ebuild: |
35 | + Bump for #364261 |
36 | |
37 | 09 Jul 2012; Ulrich Müller <ulm@g.o> lazarus-0.9.26-r4.ebuild, |
38 | lazarus-0.9.28.2-r1.ebuild: |
39 | |
40 | |
41 | |
42 | 1.1 dev-lang/lazarus/lazarus-1.0.4.ebuild |
43 | |
44 | file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-lang/lazarus/lazarus-1.0.4.ebuild?rev=1.1&view=markup |
45 | plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-lang/lazarus/lazarus-1.0.4.ebuild?rev=1.1&content-type=text/plain |
46 | |
47 | Index: lazarus-1.0.4.ebuild |
48 | =================================================================== |
49 | # Copyright 1999-2013 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.0.4.ebuild,v 1.1 2013/01/31 08:15:43 patrick Exp $ |
52 | |
53 | EAPI=2 |
54 | |
55 | inherit eutils |
56 | |
57 | RESTRICT="strip" #269221 |
58 | |
59 | FPCVER="2.6.0" |
60 | |
61 | SLOT="0" # Note: Slotting Lazarus needs slotting fpc, see DEPEND. |
62 | LICENSE="GPL-2 LGPL-2.1-with-linking-exception" |
63 | KEYWORDS="~amd64 ~ppc ~x86" |
64 | DESCRIPTION="Lazarus IDE is a feature rich visual programming environment emulating Delphi." |
65 | HOMEPAGE="http://www.lazarus.freepascal.org/" |
66 | IUSE="" |
67 | SRC_URI="http://downloads.sourceforge.net/project/${PN}/Lazarus%20Zip%20_%20GZip/Lazarus%20${PV}/lazarus-1.0.4-1.tar.gz" |
68 | |
69 | DEPEND="~dev-lang/fpc-${FPCVER}[source] |
70 | net-misc/rsync |
71 | x11-libs/gtk+:2" |
72 | RDEPEND="${DEPEND} |
73 | !=gnome-base/librsvg-2.16.1" |
74 | DEPEND="${DEPEND} |
75 | >=sys-devel/binutils-2.19.1-r1" |
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 -j1 || die "make failed!" |
94 | } |
95 | |
96 | src_install() { |
97 | diropts -m0755 |
98 | dodir /usr/share |
99 | # Using rsync to avoid unnecessary copies and cleaning... |
100 | # Note: *.o and *.ppu are needed |
101 | rsync -a \ |
102 | --exclude="CVS" --exclude=".cvsignore" \ |
103 | --exclude="*.ppw" --exclude="*.ppl" \ |
104 | --exclude="*.ow" --exclude="*.a"\ |
105 | --exclude="*.rst" --exclude=".#*" \ |
106 | --exclude="*.~*" --exclude="*.bak" \ |
107 | --exclude="*.orig" --exclude="*.rej" \ |
108 | --exclude=".xvpics" --exclude="*.compiled" \ |
109 | --exclude="killme*" --exclude=".gdb_hist*" \ |
110 | --exclude="debian" --exclude="COPYING*" \ |
111 | --exclude="*.app" \ |
112 | "${S}" "${D}"usr/share \ |
113 | || die "Unable to copy files!" |
114 | |
115 | dosym ../share/lazarus/startlazarus /usr/bin/startlazarus |
116 | dosym ../share/lazarus/startlazarus /usr/bin/lazarus |
117 | dosym ../share/lazarus/lazbuild /usr/bin/lazbuild |
118 | dosym ../lazarus/images/ide_icon48x48.png /usr/share/pixmaps/lazarus.png |
119 | |
120 | make_desktop_entry startlazarus "Lazarus IDE" "lazarus" || die "Failed making desktop entry!" |
121 | } |