summaryrefslogtreecommitdiff
Unidiff
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--dev-lang/lazarus/Manifest42
-rw-r--r--dev-lang/lazarus/files/digest-lazarus-0.9.20-r13
-rw-r--r--dev-lang/lazarus/files/digest-lazarus-0.9.223
-rw-r--r--dev-lang/lazarus/files/lazarus-0.9.20-lcl-handle.patch25
-rw-r--r--dev-lang/lazarus/files/lazarus-0.9.20-lclintf.patch11
-rw-r--r--dev-lang/lazarus/files/lazarus-0.9.22-fpcsrc.patch (renamed from dev-lang/lazarus/files/lazarus-0.9.20-fpcsrc.patch)0
-rw-r--r--dev-lang/lazarus/lazarus-0.9.22.ebuild (renamed from dev-lang/lazarus/lazarus-0.9.20-r1.ebuild)6
7 files changed, 17 insertions, 73 deletions
diff --git a/dev-lang/lazarus/Manifest b/dev-lang/lazarus/Manifest
index fbf89de..8d72fbb 100644
--- a/dev-lang/lazarus/Manifest
+++ b/dev-lang/lazarus/Manifest
@@ -1,38 +1,20 @@
1-----BEGIN PGP SIGNED MESSAGE----- 1AUX lazarus-0.9.22-fpcsrc.patch 333 RMD160 2afa08d4a5e11c38dd3e6b6907c117b00c5b523f SHA1 3e5c47eac41249dd2c78321be6ae9604b8d55931 SHA256 2ebf6b5a9a5ff2746339c2b6bfe4149c663803fa4dfe98408240b33cdf1f544c
2Hash: SHA1 2MD5 728fbd094be35bcec4b8e9b83eea9b6a files/lazarus-0.9.22-fpcsrc.patch 333
3 3RMD160 2afa08d4a5e11c38dd3e6b6907c117b00c5b523f files/lazarus-0.9.22-fpcsrc.patch 333
4AUX lazarus-0.9.20-fpcsrc.patch 333 RMD160 2afa08d4a5e11c38dd3e6b6907c117b00c5b523f SHA1 3e5c47eac41249dd2c78321be6ae9604b8d55931 SHA256 2ebf6b5a9a5ff2746339c2b6bfe4149c663803fa4dfe98408240b33cdf1f544c 4SHA256 2ebf6b5a9a5ff2746339c2b6bfe4149c663803fa4dfe98408240b33cdf1f544c files/lazarus-0.9.22-fpcsrc.patch 333
5MD5 728fbd094be35bcec4b8e9b83eea9b6a files/lazarus-0.9.20-fpcsrc.patch 333 5DIST lazarus-0.9.22-1.tar.gz 9231360 RMD160 c9536b7b33079ef5ca917d5f31013257cf3d08f8 SHA1 c2c257d6024af04da318085e4efd4482241f9f40 SHA256 ba4402079ad6e081f6c9f08bc171281ce4cd3063ab9d47baf3b744296f4c322b
6RMD160 2afa08d4a5e11c38dd3e6b6907c117b00c5b523f files/lazarus-0.9.20-fpcsrc.patch 333 6EBUILD lazarus-0.9.22.ebuild 2253 RMD160 8bea68e185b582c1ec72e6533dd018bc7e2722f1 SHA1 804f3d30a2e179a31ad37ffb42ddd51c923fb746 SHA256 198eb156ee6f937590fe165f2f1714f5823cf314aa83fa5a13a54fb0ac4f2025
7SHA256 2ebf6b5a9a5ff2746339c2b6bfe4149c663803fa4dfe98408240b33cdf1f544c files/lazarus-0.9.20-fpcsrc.patch 333 7MD5 abac9b1d53bed702d31c62455f7fc627 lazarus-0.9.22.ebuild 2253
8AUX lazarus-0.9.20-lcl-handle.patch 892 RMD160 96177a04128f2c7946feb320427ba8d2e287c9e7 SHA1 211f7c87bab790da12c3b10c5c4e82a111422172 SHA256 ad1f7bffdecbcc7b599463d4cc41fe20c705f34475d0ddbae8941fad2bf79f0a 8RMD160 8bea68e185b582c1ec72e6533dd018bc7e2722f1 lazarus-0.9.22.ebuild 2253
9MD5 8bdf8590957bf2a6a8253a3bcb85a4bf files/lazarus-0.9.20-lcl-handle.patch 892 9SHA256 198eb156ee6f937590fe165f2f1714f5823cf314aa83fa5a13a54fb0ac4f2025 lazarus-0.9.22.ebuild 2253
10RMD160 96177a04128f2c7946feb320427ba8d2e287c9e7 files/lazarus-0.9.20-lcl-handle.patch 892
11SHA256 ad1f7bffdecbcc7b599463d4cc41fe20c705f34475d0ddbae8941fad2bf79f0a files/lazarus-0.9.20-lcl-handle.patch 892
12AUX lazarus-0.9.20-lclintf.patch 266 RMD160 0e3e711034be39f7cda9375a5df5b7f0dd150a1c SHA1 4fdedeb7a33588e216367de2d3ad3004b4535f00 SHA256 400c2e5bf2183d2e21a930a752701d62a4d75fc552111cf7a5c366f6e745eee5
13MD5 c24d1e618b5b6d3d1a1948b12d40491c files/lazarus-0.9.20-lclintf.patch 266
14RMD160 0e3e711034be39f7cda9375a5df5b7f0dd150a1c files/lazarus-0.9.20-lclintf.patch 266
15SHA256 400c2e5bf2183d2e21a930a752701d62a4d75fc552111cf7a5c366f6e745eee5 files/lazarus-0.9.20-lclintf.patch 266
16DIST lazarus-0.9.20-0.tar.gz 10241274 RMD160 5a2c061e42306008858cf8b3a51ecaa1aa3f0bca SHA1 6f72cda6ed67d4855118c9147d46ff575232bed1 SHA256 c3416c557e510c9fcca5de59f128854eb5605f69fc7472cea11fc09ed5f8285e
17EBUILD lazarus-0.9.20-r1.ebuild 2442 RMD160 eb446d920764cb288b01b09985ca84c74234e201 SHA1 3cad7e32cd67aa19920d7c0353d506631eedb5e2 SHA256 b26c18c6a3c9579c699c2454867797e3db860c13f61b06fee0e4334842af0c14
18MD5 c5de263ff404148ed4b8cdd609b02d76 lazarus-0.9.20-r1.ebuild 2442
19RMD160 eb446d920764cb288b01b09985ca84c74234e201 lazarus-0.9.20-r1.ebuild 2442
20SHA256 b26c18c6a3c9579c699c2454867797e3db860c13f61b06fee0e4334842af0c14 lazarus-0.9.20-r1.ebuild 2442
21MISC ChangeLog 2315 RMD160 6ee29209987f8d952cb0587ad2a0798e8cf60693 SHA1 002b4ee6b3f8e4b48fa6a77cb25a72d5d45ab788 SHA256 dc35eb0570e5c2e48df29261463e4a1986f6af55eb07862421788e0e4cadfdad 10MISC ChangeLog 2315 RMD160 6ee29209987f8d952cb0587ad2a0798e8cf60693 SHA1 002b4ee6b3f8e4b48fa6a77cb25a72d5d45ab788 SHA256 dc35eb0570e5c2e48df29261463e4a1986f6af55eb07862421788e0e4cadfdad
22MD5 95db940b66ec4fbaefb5841f3d676695 ChangeLog 2315 11MD5 95db940b66ec4fbaefb5841f3d676695 ChangeLog 2315
23RMD160 6ee29209987f8d952cb0587ad2a0798e8cf60693 ChangeLog 2315 12RMD160 6ee29209987f8d952cb0587ad2a0798e8cf60693 ChangeLog 2315
24SHA256 dc35eb0570e5c2e48df29261463e4a1986f6af55eb07862421788e0e4cadfdad ChangeLog 2315 13SHA256 dc35eb0570e5c2e48df29261463e4a1986f6af55eb07862421788e0e4cadfdad ChangeLog 2315
25MISC metadata.xml 281 RMD160 423ab877620b713044c2d08753af1fa18a3adce4 SHA1 c861318fcfa3725a45dd0deb55fbfc26a49245b6 SHA256 d0d50fc65f6bc2ce65700e4ea995148f15c4e7a0eca5d0f86e3f4b9a73a4aae6 14MISC metadata.xml 281 RMD160 423ab877620b713044c2d08753af1fa18a3adce4 SHA1 c861318fcfa3725a45dd0deb55fbfc26a49245b6 SHA256 d0d50fc65f6bc2ce65700e4ea995148f15c4e7a0eca5d0f86e3f4b9a73a4aae6
26MD5 8773813255798a06aad7b06e083a1a55 metadata.xml 281 15MD5 8773813255798a06aad7b06e083a1a55 metadata.xml 281
27RMD160 423ab877620b713044c2d08753af1fa18a3adce4 metadata.xml 281 16RMD160 423ab877620b713044c2d08753af1fa18a3adce4 metadata.xml 281
28SHA256 d0d50fc65f6bc2ce65700e4ea995148f15c4e7a0eca5d0f86e3f4b9a73a4aae6 metadata.xml 281 17SHA256 d0d50fc65f6bc2ce65700e4ea995148f15c4e7a0eca5d0f86e3f4b9a73a4aae6 metadata.xml 281
29MD5 84c87b76f87fa0bdfc738b94b819489e files/digest-lazarus-0.9.20-r1 256 18MD5 19eb94ae32c483bc9daadf07fa6de42a files/digest-lazarus-0.9.22 253
30RMD160 e9a791d6655e4d9143e7e71a20dc3b226a99f744 files/digest-lazarus-0.9.20-r1 256 19RMD160 640b886fea1cab96e42121de1cadf1a66649d439 files/digest-lazarus-0.9.22 253
31SHA256 49f58ce799154ff503040c5f74a333cbf4e2b2eac6005a1516a466aa8f597c96 files/digest-lazarus-0.9.20-r1 256 20SHA256 f8ada9d970f08379d7bd30762552f630cef912a958c879faa04217ca39c29707 files/digest-lazarus-0.9.22 253
32-----BEGIN PGP SIGNATURE-----
33Version: GnuPG v2.0.3 (GNU/Linux)
34
35iD8DBQFGD5oIwnQyISwouHwRArb3AJ9ZBCa4twuYCzk51ahxiBed9OD7NACfcHRp
36cyflKCqj9+nDQi0uVNkO2Tw=
37=dJjH
38-----END PGP SIGNATURE-----
diff --git a/dev-lang/lazarus/files/digest-lazarus-0.9.20-r1 b/dev-lang/lazarus/files/digest-lazarus-0.9.20-r1
deleted file mode 100644
index 0f4e94f..0000000
--- a/dev-lang/lazarus/files/digest-lazarus-0.9.20-r1
+++ b/dev/null
@@ -1,3 +0,0 @@
1MD5 8c232dc7cd398578049f57cd97d0d263 lazarus-0.9.20-0.tar.gz 10241274
2RMD160 5a2c061e42306008858cf8b3a51ecaa1aa3f0bca lazarus-0.9.20-0.tar.gz 10241274
3SHA256 c3416c557e510c9fcca5de59f128854eb5605f69fc7472cea11fc09ed5f8285e lazarus-0.9.20-0.tar.gz 10241274
diff --git a/dev-lang/lazarus/files/digest-lazarus-0.9.22 b/dev-lang/lazarus/files/digest-lazarus-0.9.22
new file mode 100644
index 0000000..cda4c1a
--- a/dev/null
+++ b/dev-lang/lazarus/files/digest-lazarus-0.9.22
@@ -0,0 +1,3 @@
1MD5 fb8999646f679775abc8ea4133e0f748 lazarus-0.9.22-1.tar.gz 9231360
2RMD160 c9536b7b33079ef5ca917d5f31013257cf3d08f8 lazarus-0.9.22-1.tar.gz 9231360
3SHA256 ba4402079ad6e081f6c9f08bc171281ce4cd3063ab9d47baf3b744296f4c322b lazarus-0.9.22-1.tar.gz 9231360
diff --git a/dev-lang/lazarus/files/lazarus-0.9.20-lcl-handle.patch b/dev-lang/lazarus/files/lazarus-0.9.20-lcl-handle.patch
deleted file mode 100644
index 772face..0000000
--- a/dev-lang/lazarus/files/lazarus-0.9.20-lcl-handle.patch
+++ b/dev/null
@@ -1,25 +0,0 @@
1 If LCLType is not included, then THandle is System.THandle
2 rather than LCLType.THandle. System.THandle is 32 bits wide.
3
4--- lazarus/lcl/interfaces/gtk/gtkwsdialogs.pp
5+++ lazarus/lcl/interfaces/gtk/gtkwsdialogs.pp
6@@ -29,7 +29,7 @@
7 uses
8 {$IFDEF GTK2} Gtk2, Glib2, gdk2, {$ELSE} Gtk, gdk, Glib, {$ENDIF}
9 SysUtils, Classes, Controls, LMessages, InterfaceBase, graphics,
10- Dialogs, WSDialogs, WSLCLClasses, gtkint, gtkproc, gtkwscontrols;
11+ LCLType, Dialogs, WSDialogs, WSLCLClasses, gtkint, gtkproc, gtkwscontrols;
12
13 type
14
15--- lazarus/lcl/widgetset/wsdialogs.pp
16+++ lazarus/lcl/widgetset/wsdialogs.pp
17@@ -44,7 +44,7 @@
18 // To get as little as posible circles,
19 // uncomment only when needed for registration
20 ////////////////////////////////////////////////////
21- Dialogs,
22+ LCLType, Dialogs,
23 ////////////////////////////////////////////////////
24 WSLCLClasses, WSControls;
25
diff --git a/dev-lang/lazarus/files/lazarus-0.9.20-lclintf.patch b/dev-lang/lazarus/files/lazarus-0.9.20-lclintf.patch
deleted file mode 100644
index b515efa..0000000
--- a/dev-lang/lazarus/files/lazarus-0.9.20-lclintf.patch
+++ b/dev/null
@@ -1,11 +0,0 @@
1--- lazarus/ide/include/unix/lazbaseconf.inc
2+++ lazarus/ide/include/unix/lazbaseconf.inc
3@@ -180,7 +180,7 @@
4
5 function GetDefaultLCLWidgetType: string;
6 begin
7- Result:='gtk';
8+ Result:='gtk2';
9 end;
10
11 procedure GetDefaultBrowser(var Browser, Params: string);
diff --git a/dev-lang/lazarus/files/lazarus-0.9.20-fpcsrc.patch b/dev-lang/lazarus/files/lazarus-0.9.22-fpcsrc.patch
index dbde4e0..dbde4e0 100644
--- a/dev-lang/lazarus/files/lazarus-0.9.20-fpcsrc.patch
+++ b/dev-lang/lazarus/files/lazarus-0.9.22-fpcsrc.patch
diff --git a/dev-lang/lazarus/lazarus-0.9.20-r1.ebuild b/dev-lang/lazarus/lazarus-0.9.22.ebuild
index d8c91e4..02c80a4 100644
--- a/dev-lang/lazarus/lazarus-0.9.20-r1.ebuild
+++ b/dev-lang/lazarus/lazarus-0.9.22.ebuild
@@ -1,77 +1,75 @@
1# Copyright 1999-2007 Gentoo Foundation 1# Copyright 1999-2007 Gentoo Foundation
2# Distributed under the terms of the GNU General Public License v2 2# Distributed under the terms of the GNU General Public License v2
3# $Header: /var/cvsroot/gentoo-x86/dev-lang/lazarus/lazarus-0.9.20-r1.ebuild,v 1.3 2007/04/01 11:39:48 truedfx Exp $ 3# $Header: $
4 4
5inherit eutils 5inherit eutils
6 6
7FPCVER="2.0.4" 7FPCVER="2.0.4"
8 8
9SLOT="0" # Note: Slotting Lazarus needs slotting fpc, see DEPEND. 9SLOT="0" # Note: Slotting Lazarus needs slotting fpc, see DEPEND.
10LICENSE="GPL-2 LGPL-2.1 LGPL-2.1-linking-exception" 10LICENSE="GPL-2 LGPL-2.1 LGPL-2.1-linking-exception"
11KEYWORDS="~amd64 ~ppc ~x86" 11KEYWORDS="~amd64 ~ppc ~x86"
12DESCRIPTION="Lazarus IDE is a feature rich visual programming environment emulating Delphi." 12DESCRIPTION="Lazarus IDE is a feature rich visual programming environment emulating Delphi."
13HOMEPAGE="http://www.lazarus.freepascal.org/" 13HOMEPAGE="http://www.lazarus.freepascal.org/"
14IUSE="" 14IUSE=""
15SRC_URI="mirror://sourceforge/lazarus/${P}-0.tar.gz" 15SRC_URI="mirror://sourceforge/lazarus/${P}-1.tar.gz"
16 16
17DEPEND="~dev-lang/fpc-${FPCVER} 17DEPEND="~dev-lang/fpc-${FPCVER}
18 net-misc/rsync 18 net-misc/rsync
19 >=x11-libs/gtk+-2.0" 19 >=x11-libs/gtk+-2.0"
20 20
21S=${WORKDIR}/${PN} 21S=${WORKDIR}/${PN}
22 22
23pkg_setup() { 23pkg_setup() {
24 if ! built_with_use "dev-lang/fpc" source; then 24 if ! built_with_use "dev-lang/fpc" source; then
25 eerror "You need to build dev-lang/fpc with the 'source' USE flag" 25 eerror "You need to build dev-lang/fpc with the 'source' USE flag"
26 eerror "in order for lazarus to work properly." 26 eerror "in order for lazarus to work properly."
27 die "lazarus needs fpc built with the 'source' USE to work." 27 die "lazarus needs fpc built with the 'source' USE to work."
28 fi 28 fi
29} 29}
30 30
31src_unpack() { 31src_unpack() {
32 # check for broken fpc.cfg 32 # check for broken fpc.cfg
33 # don't check in pkg_setup since it won't harm binpkgs 33 # don't check in pkg_setup since it won't harm binpkgs
34 if grep -q '^[ ]*-Fu.*/lcl$' /etc/fpc.cfg 34 if grep -q '^[ ]*-Fu.*/lcl$' /etc/fpc.cfg
35 then 35 then
36 eerror "Your /etc/fpc.cfg automatically adds a LCL directory" 36 eerror "Your /etc/fpc.cfg automatically adds a LCL directory"
37 eerror "to the list of unit directories. This will break the" 37 eerror "to the list of unit directories. This will break the"
38 eerror "build of lazarus." 38 eerror "build of lazarus."
39 die "don't set the LCL path in /etc/fpc.cfg" 39 die "don't set the LCL path in /etc/fpc.cfg"
40 fi 40 fi
41 41
42 unpack ${A} 42 unpack ${A}
43 sed -e "s/@FPCVER@/${FPCVER}/" "${FILESDIR}"/${P}-fpcsrc.patch \ 43 sed -e "s/@FPCVER@/${FPCVER}/" "${FILESDIR}"/${P}-fpcsrc.patch \
44 > "${T}"/fpcsrc.patch || die "could not sed fpcsrc patch" 44 > "${T}"/fpcsrc.patch || die "could not sed fpcsrc patch"
45 45
46 cd "${S}" 46 cd "${S}"
47 epatch "${FILESDIR}"/${P}-lclintf.patch
48 epatch "${FILESDIR}"/${P}-lcl-handle.patch
49 epatch "${T}"/fpcsrc.patch 47 epatch "${T}"/fpcsrc.patch
50} 48}
51 49
52src_compile() { 50src_compile() {
53 LCL_PLATFORM=gtk2 emake -j1 || die "make failed!" 51 LCL_PLATFORM=gtk2 emake -j1 || die "make failed!"
54} 52}
55 53
56src_install() { 54src_install() {
57 diropts -m0755 55 diropts -m0755
58 dodir /usr/share 56 dodir /usr/share
59 # Using rsync to avoid unnecessary copies and cleaning... 57 # Using rsync to avoid unnecessary copies and cleaning...
60 # Note: *.o and *.ppu are needed 58 # Note: *.o and *.ppu are needed
61 rsync -a \ 59 rsync -a \
62 --exclude="CVS" --exclude=".cvsignore" \ 60 --exclude="CVS" --exclude=".cvsignore" \
63 --exclude="*.ppw" --exclude="*.ppl" \ 61 --exclude="*.ppw" --exclude="*.ppl" \
64 --exclude="*.ow" --exclude="*.a"\ 62 --exclude="*.ow" --exclude="*.a"\
65 --exclude="*.rst" --exclude=".#*" \ 63 --exclude="*.rst" --exclude=".#*" \
66 --exclude="*.~*" --exclude="*.bak" \ 64 --exclude="*.~*" --exclude="*.bak" \
67 --exclude="*.orig" --exclude="*.rej" \ 65 --exclude="*.orig" --exclude="*.rej" \
68 --exclude=".xvpics" --exclude="*.compiled" \ 66 --exclude=".xvpics" --exclude="*.compiled" \
69 --exclude="killme*" --exclude=".gdb_hist*" \ 67 --exclude="killme*" --exclude=".gdb_hist*" \
70 "${S}" "${D}"usr/share \ 68 "${S}" "${D}"usr/share \
71 || die "Unable to copy files!" 69 || die "Unable to copy files!"
72 70
73 dosym ../share/lazarus/startlazarus /usr/bin/startlazarus 71 dosym ../share/lazarus/startlazarus /usr/bin/startlazarus
74 dosym ../lazarus/images/mainicon.xpm /usr/share/pixmaps/lazarus.xpm 72 dosym ../lazarus/images/mainicon.xpm /usr/share/pixmaps/lazarus.xpm
75 73
76 make_desktop_entry startlazarus "Lazarus IDE" "lazarus.xpm" || die "Failed making desktop entry!" 74 make_desktop_entry startlazarus "Lazarus IDE" "lazarus.xpm" || die "Failed making desktop entry!"
77} 75}