summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHarald van Dijk <truedfx@gentoo.org>2008-10-15 20:52:34 +0000
committerHarald van Dijk <truedfx@gentoo.org>2008-10-15 20:52:34 +0000
commitf00a80db0cbeb60f668a39e264f67f69c5e74291 (patch)
treec19be6fcd24e66270df3de781d867ef9d9eeaf8c /dev-lang/lazarus
parentallow /var/log/messages to be missing (patch from Edoceo via bug #242260) (diff)
downloadhistorical-f00a80db0cbeb60f668a39e264f67f69c5e74291.tar.gz
historical-f00a80db0cbeb60f668a39e264f67f69c5e74291.tar.bz2
historical-f00a80db0cbeb60f668a39e264f67f69c5e74291.zip
Version bump (#242200 by Renato Caldas)
Package-Manager: portage-2.2_rc12/cvs/Linux 2.6.27-gentoo x86_64
Diffstat (limited to 'dev-lang/lazarus')
-rw-r--r--dev-lang/lazarus/ChangeLog8
-rw-r--r--dev-lang/lazarus/Manifest15
-rw-r--r--dev-lang/lazarus/files/lazarus-0.9.26-fpcsrc.patch13
-rw-r--r--dev-lang/lazarus/lazarus-0.9.26.ebuild80
4 files changed, 114 insertions, 2 deletions
diff --git a/dev-lang/lazarus/ChangeLog b/dev-lang/lazarus/ChangeLog
index 5018ad75ad93..3d775104ed75 100644
--- a/dev-lang/lazarus/ChangeLog
+++ b/dev-lang/lazarus/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for dev-lang/lazarus
# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-lang/lazarus/ChangeLog,v 1.20 2008/02/29 17:57:18 carlo Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-lang/lazarus/ChangeLog,v 1.21 2008/10/15 20:52:34 truedfx Exp $
+
+*lazarus-0.9.26 (15 Oct 2008)
+
+ 15 Oct 2008; Harald van Dijk <truedfx@gentoo.org>
+ +files/lazarus-0.9.26-fpcsrc.patch, +lazarus-0.9.26.ebuild:
+ Version bump (#242200 by Renato Caldas)
29 Feb 2008; Carsten Lohrke <carlo@gentoo.org> lazarus-0.9.22-r1.ebuild,
lazarus-0.9.24.ebuild:
diff --git a/dev-lang/lazarus/Manifest b/dev-lang/lazarus/Manifest
index 970a6f53861c..5b71f508533a 100644
--- a/dev-lang/lazarus/Manifest
+++ b/dev-lang/lazarus/Manifest
@@ -1,8 +1,21 @@
+-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA1
+
AUX lazarus-0.9.20-fpcsrc.patch 333 RMD160 2afa08d4a5e11c38dd3e6b6907c117b00c5b523f SHA1 3e5c47eac41249dd2c78321be6ae9604b8d55931 SHA256 2ebf6b5a9a5ff2746339c2b6bfe4149c663803fa4dfe98408240b33cdf1f544c
AUX lazarus-0.9.24-cputarget.patch 488 RMD160 b2ef423c2bc3a161508d95b2d8f5f6b183411c76 SHA1 a48f86f31204de80dddd25ff2928a73e040fab22 SHA256 957a295f8b7f85ea1bbb71b71f9ed2de1f413f6b0f75621aaac4b9aa25e4ffd3
+AUX lazarus-0.9.26-fpcsrc.patch 407 RMD160 b37a3ee5f1d4f5a7887dce621542513fed49d86b SHA1 976860962e2c9b3f9f4063f764ab9c85139bfdb6 SHA256 bff38dbaf47dd07bf91ae12c7babe0a9254dcb9ad360829649ac2df056e88730
DIST lazarus-0.9.22-0.tar.gz 9264538 RMD160 cd78903b564b84f23a8f403a7324b616a23de116 SHA1 a150d387ac716f7ebd5697bd576c818c0f1a72b7 SHA256 9454e7383ad654fffba2adfc5749662dc3e5d4d7b064c25f8863260819b654f6
DIST lazarus-0.9.24-0.tar.gz 11037130 RMD160 3f815d228397443d347d2c32a71c52b3d617d632 SHA1 11f239df774f401ac260e1f6f1c115839dff4ddd SHA256 4720c8d633c8e3d18750452278d135450c7c942ff591c10cd7d9afc6bc0f724e
+DIST lazarus-0.9.26-0.tgz 12641854 RMD160 b8f4f1a558263f9978d7d980c59f06d102316657 SHA1 759fa0cc8410034f42b7e53df12007c66004d3aa SHA256 d4c2dc8e8c797049d45d0c01aff51ea94fcae489efab7d4529afb6aeca8066dd
EBUILD lazarus-0.9.22-r1.ebuild 2440 RMD160 36c8ac971794b3e57cee7c2b04bb625843003d9a SHA1 e0e1d6cc8348b78c8b1d5f7846c6cbd9ee693bb6 SHA256 01e5f7151a960631c252f27a858fda33f6ef7911a54c60f426ebde4a646cd396
EBUILD lazarus-0.9.24.ebuild 2548 RMD160 d3a776f7e36ac5eae0f18d11bc9c74f60cc094f2 SHA1 74acc89c8effb9e49e84fdaa018cec36dc46c235 SHA256 8f928f7d29c13d5bf9d0589dc6fb47a39f618de04e1fef2603a6ec9d1eb56c59
-MISC ChangeLog 3422 RMD160 c7e8aaa1fcef0e59913116ac46b65a5360d680cb SHA1 568eddf1f902459affade5a65d7e53cc924bada4 SHA256 3603baf8cabcc1177976edae2ef9952857643f90147645248bbc580d6786260a
+EBUILD lazarus-0.9.26.ebuild 2381 RMD160 c98c93a00af73b25201ca22566147c4adc662f78 SHA1 a89e7cc00eb4cba3fba3a80a764b7def3c386b44 SHA256 1356d3c8cd3e3113eebb10f9f4defa70e86e67b9e20f94667ee129ff21ec438e
+MISC ChangeLog 3612 RMD160 559e1070106c912150eb192cc8ecc4a0c1ecbed2 SHA1 4df4a1aa6775de17135c7c65434ccfa09eac7195 SHA256 e10a232686f14da387033b57a81b482b17f26721bff34d4e6ac8f66b9ba6150a
MISC metadata.xml 281 RMD160 423ab877620b713044c2d08753af1fa18a3adce4 SHA1 c861318fcfa3725a45dd0deb55fbfc26a49245b6 SHA256 d0d50fc65f6bc2ce65700e4ea995148f15c4e7a0eca5d0f86e3f4b9a73a4aae6
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v2.0.9 (GNU/Linux)
+
+iEYEARECAAYFAkj2WCYACgkQwnQyISwouHw7TgCbB8OvWGPe0DmmVKB1o2kBueOf
+Ye8AoIkteQcbeiAT+5/KKrBSPtebc6PH
+=/2oY
+-----END PGP SIGNATURE-----
diff --git a/dev-lang/lazarus/files/lazarus-0.9.26-fpcsrc.patch b/dev-lang/lazarus/files/lazarus-0.9.26-fpcsrc.patch
new file mode 100644
index 000000000000..8f9aee3fa42a
--- /dev/null
+++ b/dev-lang/lazarus/files/lazarus-0.9.26-fpcsrc.patch
@@ -0,0 +1,13 @@
+--- lazarus/ide/include/unix/lazbaseconf.inc
++++ lazarus/ide/include/unix/lazbaseconf.inc
+@@ -24,8 +24,9 @@
+ }
+
+ const
+- DefaultFPCSrcDirs: array[1..15] of string = (
++ DefaultFPCSrcDirs: array[1..16] of string = (
+ // search first for sources with right version
++ '/usr/lib/fpc/$(FPCVer)/source',
+ '/usr/share/fpcsrc/$(FPCVer)',
+ // then search for global paths
+ '/usr/share/fpcsrc',
diff --git a/dev-lang/lazarus/lazarus-0.9.26.ebuild b/dev-lang/lazarus/lazarus-0.9.26.ebuild
new file mode 100644
index 000000000000..4bddf936b6e4
--- /dev/null
+++ b/dev-lang/lazarus/lazarus-0.9.26.ebuild
@@ -0,0 +1,80 @@
+# Copyright 1999-2008 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-lang/lazarus/lazarus-0.9.26.ebuild,v 1.1 2008/10/15 20:52:34 truedfx Exp $
+
+inherit eutils
+
+# bug #183604
+RESTRICT="strip"
+
+FPCVER="2.2.2"
+
+SLOT="0" # Note: Slotting Lazarus needs slotting fpc, see DEPEND.
+LICENSE="GPL-2 LGPL-2.1 LGPL-2.1-linking-exception"
+KEYWORDS="~amd64 ~ppc ~x86"
+DESCRIPTION="Lazarus IDE is a feature rich visual programming environment emulating Delphi."
+HOMEPAGE="http://www.lazarus.freepascal.org/"
+IUSE=""
+SRC_URI="mirror://sourceforge/lazarus/${P}-0.tgz"
+
+DEPEND="~dev-lang/fpc-${FPCVER}
+ net-misc/rsync
+ >=x11-libs/gtk+-2.0"
+RDEPEND="${DEPEND}
+ !=gnome-base/librsvg-2.16.1"
+
+S=${WORKDIR}/${PN}
+
+pkg_setup() {
+ if ! built_with_use "dev-lang/fpc" source; then
+ eerror "You need to build dev-lang/fpc with the 'source' USE flag"
+ eerror "in order for lazarus to work properly."
+ die "lazarus needs fpc built with the 'source' USE to work."
+ fi
+}
+
+src_unpack() {
+ # check for broken fpc.cfg
+ # don't check in pkg_setup since it won't harm binpkgs
+ if grep -q '^[ ]*-Fu.*/lcl$' /etc/fpc.cfg
+ then
+ eerror "Your /etc/fpc.cfg automatically adds a LCL directory"
+ eerror "to the list of unit directories. This will break the"
+ eerror "build of lazarus."
+ die "don't set the LCL path in /etc/fpc.cfg"
+ fi
+
+ unpack ${A}
+
+ cd "${S}"
+ epatch "${FILESDIR}"/${P}-fpcsrc.patch
+}
+
+src_compile() {
+ LCL_PLATFORM=gtk2 emake -j1 || die "make failed!"
+}
+
+src_install() {
+ diropts -m0755
+ dodir /usr/share
+ # Using rsync to avoid unnecessary copies and cleaning...
+ # Note: *.o and *.ppu are needed
+ rsync -a \
+ --exclude="CVS" --exclude=".cvsignore" \
+ --exclude="*.ppw" --exclude="*.ppl" \
+ --exclude="*.ow" --exclude="*.a"\
+ --exclude="*.rst" --exclude=".#*" \
+ --exclude="*.~*" --exclude="*.bak" \
+ --exclude="*.orig" --exclude="*.rej" \
+ --exclude=".xvpics" --exclude="*.compiled" \
+ --exclude="killme*" --exclude=".gdb_hist*" \
+ --exclude="debian" --exclude="COPYING*" \
+ --exclude="*.app" \
+ "${S}" "${D}"usr/share \
+ || die "Unable to copy files!"
+
+ dosym ../share/lazarus/startlazarus /usr/bin/startlazarus
+ dosym ../lazarus/images/mainicon.xpm /usr/share/pixmaps/lazarus.xpm
+
+ make_desktop_entry startlazarus "Lazarus IDE" "lazarus" || die "Failed making desktop entry!"
+}