summaryrefslogtreecommitdiff
Unidiff
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--dev-lang/lazarus/ChangeLog65
-rw-r--r--dev-lang/lazarus/Manifest38
-rw-r--r--dev-lang/lazarus/files/digest-lazarus-0.9.20-r13
-rw-r--r--dev-lang/lazarus/files/lazarus-0.9.20-fpcsrc.patch12
-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/lazarus-0.9.20-r1.ebuild77
-rw-r--r--dev-lang/lazarus/metadata.xml9
-rw-r--r--profiles/categories2
9 files changed, 242 insertions, 0 deletions
diff --git a/dev-lang/lazarus/ChangeLog b/dev-lang/lazarus/ChangeLog
new file mode 100644
index 0000000..75ab424
--- a/dev/null
+++ b/dev-lang/lazarus/ChangeLog
@@ -0,0 +1,65 @@
1# ChangeLog for dev-lang/lazarus
2# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
3# $Header: /var/cvsroot/gentoo-x86/dev-lang/lazarus/ChangeLog,v 1.13 2007/03/22 20:49:32 truedfx Exp $
4
5 22 Mar 2007; Harald van Dijk <truedfx@gentoo.org>
6 +files/lazarus-0.9.20-lcl-handle.patch, lazarus-0.9.20-r1.ebuild:
7 Avoid storing pointers in 32-bit variables on amd64
8
9*lazarus-0.9.20-r1 (10 Mar 2007)
10
11 10 Mar 2007; Harald van Dijk <truedfx@gentoo.org>
12 +files/lazarus-0.9.20-fpcsrc.patch, +files/lazarus-0.9.20-lclintf.patch,
13 -lazarus-0.9.20.ebuild, +lazarus-0.9.20-r1.ebuild:
14 Automatically find fpc source directory, preventing a crash on amd64
15 (#168168). Also, set default LCL interface to gtk2.
16
17 02 Dec 2006; Harald van Dijk <truedfx@gentoo.org> -lazarus-0.9.10.ebuild,
18 -lazarus-0.9.12.ebuild, -lazarus-0.9.16.ebuild:
19 Remove older versions
20
21 22 Nov 2006; Harald van Dijk <truedfx@gentoo.org> lazarus-0.9.20.ebuild:
22 Add a warning to change the LCL interface (#155564)
23
24*lazarus-0.9.20 (17 Nov 2006)
25
26 17 Nov 2006; Hanno Boeck <hanno@gentoo.org> +lazarus-0.9.20.ebuild:
27 Bump and preliminary gtk2 support.
28
29 28 Sep 2006; Gustavo Zacarias <gustavoz@gentoo.org> lazarus-0.9.16.ebuild:
30 Moved built_with_use to pkg_setup since it's a moot point to use lazarus
31 without the source. Thanks to welp on #gentoo-dev
32
33*lazarus-0.9.16 (22 Sep 2006)
34
35 22 Sep 2006; Harald van Dijk <truedfx@gentoo.org> +lazarus-0.9.16.ebuild:
36 Version bump
37
38*lazarus-0.9.12 (23 Feb 2006)
39
40 23 Feb 2006; Gustavo Zacarias <gustavoz@gentoo.org>
41 +lazarus-0.9.12.ebuild:
42 New upstream version to match fpc 2.0.2
43
44 17 Dec 2005; Carsten Lohrke <carlo@gentoo.org> lazarus-0.9.10.ebuild:
45 clean up a bit
46
47 17 Nov 2005; Herbie Hopkins <herbs@gentoo.org> lazarus-0.9.10.ebuild:
48 Marked ~amd64.
49
50*lazarus-0.9.10 (06 Oct 2005)
51
52 06 Oct 2005; Gustavo Zacarias <gustavoz@gentoo.org>
53 +lazarus-0.9.10.ebuild:
54 Revbump for fpc 2.0.0, added ~ppc, solves bugs #103903, #102889, #99480, #90078
55
56 19 Apr 2005; Elfyn McBratney <beu@gentoo.org> metadata.xml:
57 Remove retired developer from metadata.xml.
58
59*lazarus-0.9.6 (02 Apr 2005)
60
61 02 Apr 2005; Chris White <chriswhite@gentoo.org> +metadata.xml,
62 +lazarus-0.9.6.ebuild:
63 Initial import into the tree. Closes bug #87486. Thanks to expose for the
64 ebuild!
65
diff --git a/dev-lang/lazarus/Manifest b/dev-lang/lazarus/Manifest
new file mode 100644
index 0000000..fbf89de
--- a/dev/null
+++ b/dev-lang/lazarus/Manifest
@@ -0,0 +1,38 @@
1-----BEGIN PGP SIGNED MESSAGE-----
2Hash: SHA1
3
4AUX lazarus-0.9.20-fpcsrc.patch 333 RMD160 2afa08d4a5e11c38dd3e6b6907c117b00c5b523f SHA1 3e5c47eac41249dd2c78321be6ae9604b8d55931 SHA256 2ebf6b5a9a5ff2746339c2b6bfe4149c663803fa4dfe98408240b33cdf1f544c
5MD5 728fbd094be35bcec4b8e9b83eea9b6a files/lazarus-0.9.20-fpcsrc.patch 333
6RMD160 2afa08d4a5e11c38dd3e6b6907c117b00c5b523f files/lazarus-0.9.20-fpcsrc.patch 333
7SHA256 2ebf6b5a9a5ff2746339c2b6bfe4149c663803fa4dfe98408240b33cdf1f544c files/lazarus-0.9.20-fpcsrc.patch 333
8AUX lazarus-0.9.20-lcl-handle.patch 892 RMD160 96177a04128f2c7946feb320427ba8d2e287c9e7 SHA1 211f7c87bab790da12c3b10c5c4e82a111422172 SHA256 ad1f7bffdecbcc7b599463d4cc41fe20c705f34475d0ddbae8941fad2bf79f0a
9MD5 8bdf8590957bf2a6a8253a3bcb85a4bf files/lazarus-0.9.20-lcl-handle.patch 892
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
22MD5 95db940b66ec4fbaefb5841f3d676695 ChangeLog 2315
23RMD160 6ee29209987f8d952cb0587ad2a0798e8cf60693 ChangeLog 2315
24SHA256 dc35eb0570e5c2e48df29261463e4a1986f6af55eb07862421788e0e4cadfdad ChangeLog 2315
25MISC metadata.xml 281 RMD160 423ab877620b713044c2d08753af1fa18a3adce4 SHA1 c861318fcfa3725a45dd0deb55fbfc26a49245b6 SHA256 d0d50fc65f6bc2ce65700e4ea995148f15c4e7a0eca5d0f86e3f4b9a73a4aae6
26MD5 8773813255798a06aad7b06e083a1a55 metadata.xml 281
27RMD160 423ab877620b713044c2d08753af1fa18a3adce4 metadata.xml 281
28SHA256 d0d50fc65f6bc2ce65700e4ea995148f15c4e7a0eca5d0f86e3f4b9a73a4aae6 metadata.xml 281
29MD5 84c87b76f87fa0bdfc738b94b819489e files/digest-lazarus-0.9.20-r1 256
30RMD160 e9a791d6655e4d9143e7e71a20dc3b226a99f744 files/digest-lazarus-0.9.20-r1 256
31SHA256 49f58ce799154ff503040c5f74a333cbf4e2b2eac6005a1516a466aa8f597c96 files/digest-lazarus-0.9.20-r1 256
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
new file mode 100644
index 0000000..0f4e94f
--- a/dev/null
+++ b/dev-lang/lazarus/files/digest-lazarus-0.9.20-r1
@@ -0,0 +1,3 @@
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/lazarus-0.9.20-fpcsrc.patch b/dev-lang/lazarus/files/lazarus-0.9.20-fpcsrc.patch
new file mode 100644
index 0000000..dbde4e0
--- a/dev/null
+++ b/dev-lang/lazarus/files/lazarus-0.9.20-fpcsrc.patch
@@ -0,0 +1,12 @@
1--- lazarus/ide/include/unix/lazbaseconf.inc
2+++ lazarus/ide/include/unix/lazbaseconf.inc
3@@ -24,7 +24,8 @@
4 }
5
6 const
7- DefaultFPCSrcDirs: array[1..14] of string = (
8+ DefaultFPCSrcDirs: array[1..15] of string = (
9+ '/usr/lib/fpc/@FPCVER@/source',
10 '/usr/share/fpcsrc',
11 '/usr/local/share/fpcsrc',
12 '/usr/fpcsrc',
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
new file mode 100644
index 0000000..772face
--- a/dev/null
+++ b/dev-lang/lazarus/files/lazarus-0.9.20-lcl-handle.patch
@@ -0,0 +1,25 @@
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
new file mode 100644
index 0000000..b515efa
--- a/dev/null
+++ b/dev-lang/lazarus/files/lazarus-0.9.20-lclintf.patch
@@ -0,0 +1,11 @@
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/lazarus-0.9.20-r1.ebuild b/dev-lang/lazarus/lazarus-0.9.20-r1.ebuild
new file mode 100644
index 0000000..d8c91e4
--- a/dev/null
+++ b/dev-lang/lazarus/lazarus-0.9.20-r1.ebuild
@@ -0,0 +1,77 @@
1# Copyright 1999-2007 Gentoo Foundation
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 $
4
5inherit eutils
6
7FPCVER="2.0.4"
8
9SLOT="0" # Note: Slotting Lazarus needs slotting fpc, see DEPEND.
10LICENSE="GPL-2 LGPL-2.1 LGPL-2.1-linking-exception"
11KEYWORDS="~amd64 ~ppc ~x86"
12DESCRIPTION="Lazarus IDE is a feature rich visual programming environment emulating Delphi."
13HOMEPAGE="http://www.lazarus.freepascal.org/"
14IUSE=""
15SRC_URI="mirror://sourceforge/lazarus/${P}-0.tar.gz"
16
17DEPEND="~dev-lang/fpc-${FPCVER}
18 net-misc/rsync
19 >=x11-libs/gtk+-2.0"
20
21S=${WORKDIR}/${PN}
22
23pkg_setup() {
24 if ! built_with_use "dev-lang/fpc" source; then
25 eerror "You need to build dev-lang/fpc with the 'source' USE flag"
26 eerror "in order for lazarus to work properly."
27 die "lazarus needs fpc built with the 'source' USE to work."
28 fi
29}
30
31src_unpack() {
32 # check for broken fpc.cfg
33 # don't check in pkg_setup since it won't harm binpkgs
34 if grep -q '^[ ]*-Fu.*/lcl$' /etc/fpc.cfg
35 then
36 eerror "Your /etc/fpc.cfg automatically adds a LCL directory"
37 eerror "to the list of unit directories. This will break the"
38 eerror "build of lazarus."
39 die "don't set the LCL path in /etc/fpc.cfg"
40 fi
41
42 unpack ${A}
43 sed -e "s/@FPCVER@/${FPCVER}/" "${FILESDIR}"/${P}-fpcsrc.patch \
44 > "${T}"/fpcsrc.patch || die "could not sed fpcsrc patch"
45
46 cd "${S}"
47 epatch "${FILESDIR}"/${P}-lclintf.patch
48 epatch "${FILESDIR}"/${P}-lcl-handle.patch
49 epatch "${T}"/fpcsrc.patch
50}
51
52src_compile() {
53 LCL_PLATFORM=gtk2 emake -j1 || die "make failed!"
54}
55
56src_install() {
57 diropts -m0755
58 dodir /usr/share
59 # Using rsync to avoid unnecessary copies and cleaning...
60 # Note: *.o and *.ppu are needed
61 rsync -a \
62 --exclude="CVS" --exclude=".cvsignore" \
63 --exclude="*.ppw" --exclude="*.ppl" \
64 --exclude="*.ow" --exclude="*.a"\
65 --exclude="*.rst" --exclude=".#*" \
66 --exclude="*.~*" --exclude="*.bak" \
67 --exclude="*.orig" --exclude="*.rej" \
68 --exclude=".xvpics" --exclude="*.compiled" \
69 --exclude="killme*" --exclude=".gdb_hist*" \
70 "${S}" "${D}"usr/share \
71 || die "Unable to copy files!"
72
73 dosym ../share/lazarus/startlazarus /usr/bin/startlazarus
74 dosym ../lazarus/images/mainicon.xpm /usr/share/pixmaps/lazarus.xpm
75
76 make_desktop_entry startlazarus "Lazarus IDE" "lazarus.xpm" || die "Failed making desktop entry!"
77}
diff --git a/dev-lang/lazarus/metadata.xml b/dev-lang/lazarus/metadata.xml
new file mode 100644
index 0000000..d1da8bb
--- a/dev/null
+++ b/dev-lang/lazarus/metadata.xml
@@ -0,0 +1,9 @@
1<?xml version="1.0" encoding="UTF-8"?>
2<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
3<pkgmetadata>
4 <herd>lang-misc</herd>
5<longdescription lang="en">
6A Borland Delphi lookalike for linux. Uses the free pascal compiler.
7</longdescription>
8</pkgmetadata>
9
diff --git a/profiles/categories b/profiles/categories
index f916367..4089e77 100644
--- a/profiles/categories
+++ b/profiles/categories
@@ -1,8 +1,10 @@
1app-admin
1app-pda 2app-pda
2app-text 3app-text
3dev-db 4dev-db
5dev-lang
4dev-libs 6dev-libs
5dev-perl 7dev-perl
6sys-apps 8sys-apps
7www-misc 9www-misc
8x11-plugins 10x11-plugins