summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Johanson <latexer@gentoo.org>2005-05-07 13:27:54 +0000
committerPeter Johanson <latexer@gentoo.org>2005-05-07 13:27:54 +0000
commit2f1299f7cbca6660061a8d43b4740a6e7bcce4a5 (patch)
tree278129ab75e788c10b0a4bb1c894162ad4b8a963 /dev-dotnet/gecko-sharp
parentInitial import (diff)
downloadhistorical-2f1299f7cbca6660061a8d43b4740a6e7bcce4a5.tar.gz
historical-2f1299f7cbca6660061a8d43b4740a6e7bcce4a5.tar.bz2
historical-2f1299f7cbca6660061a8d43b4740a6e7bcce4a5.zip
Fix for compiling against gtk-sharp-1.9.3. See bug #91752.
Package-Manager: portage-2.0.51.21-r1
Diffstat (limited to 'dev-dotnet/gecko-sharp')
-rw-r--r--dev-dotnet/gecko-sharp/ChangeLog8
-rw-r--r--dev-dotnet/gecko-sharp/Manifest5
-rw-r--r--dev-dotnet/gecko-sharp/files/digest-gecko-sharp-0.7-r11
-rw-r--r--dev-dotnet/gecko-sharp/files/gecko-sharp-0.7-1.9.3-compat.diff18
-rw-r--r--dev-dotnet/gecko-sharp/gecko-sharp-0.7-r1.ebuild41
5 files changed, 71 insertions, 2 deletions
diff --git a/dev-dotnet/gecko-sharp/ChangeLog b/dev-dotnet/gecko-sharp/ChangeLog
index be7139b2e2fa..1440af291f01 100644
--- a/dev-dotnet/gecko-sharp/ChangeLog
+++ b/dev-dotnet/gecko-sharp/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for dev-dotnet/gecko-sharp
# Copyright 2000-2005 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-dotnet/gecko-sharp/ChangeLog,v 1.26 2005/04/02 02:01:07 latexer Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-dotnet/gecko-sharp/ChangeLog,v 1.27 2005/05/07 13:27:54 latexer Exp $
+
+*gecko-sharp-0.7-r1 (07 May 2005)
+
+ 07 May 2005; Peter Johanson <latexer@gentoo.org>
+ +files/gecko-sharp-0.7-1.9.3-compat.diff, +gecko-sharp-0.7-r1.ebuild:
+ Fix for compiling against gtk-sharp-1.9.3. See bug #91752.
*gecko-sharp-0.7 (02 Apr 2005)
diff --git a/dev-dotnet/gecko-sharp/Manifest b/dev-dotnet/gecko-sharp/Manifest
index 5374d659015b..a02a6675e358 100644
--- a/dev-dotnet/gecko-sharp/Manifest
+++ b/dev-dotnet/gecko-sharp/Manifest
@@ -1,8 +1,11 @@
MD5 b066a0a800c3aa974941a7c76abc2c57 gecko-sharp-0.5-r2.ebuild 747
MD5 e1b667e6d6a3f98404f216eed7d2e000 gecko-sharp-0.6.ebuild 753
MD5 a23fed44e980c33f3c407d9a75898c9e gecko-sharp-0.7.ebuild 990
-MD5 65bb8ca54467ce9d4a6eaea76dae2c76 ChangeLog 3498
+MD5 6365350f47513c2112969fdda6b5a6f1 ChangeLog 3718
MD5 76b314cc7b7b79b298dd4889dff8c9cd metadata.xml 159
+MD5 f4edeb1dd40c8c24ac6f2abd99946d90 gecko-sharp-0.7-r1.ebuild 1085
MD5 41db66016dd18480802fc0e658a04746 files/digest-gecko-sharp-0.5-r2 67
MD5 9aa313387703e02ad1bcddcde0729a66 files/digest-gecko-sharp-0.6 67
MD5 a38f4e44ece71af1b0528ace678cb4d5 files/digest-gecko-sharp-0.7 67
+MD5 54b9bdcc1876fbeb916b8a5fb29adaa2 files/gecko-sharp-0.7-1.9.3-compat.diff 698
+MD5 a38f4e44ece71af1b0528ace678cb4d5 files/digest-gecko-sharp-0.7-r1 67
diff --git a/dev-dotnet/gecko-sharp/files/digest-gecko-sharp-0.7-r1 b/dev-dotnet/gecko-sharp/files/digest-gecko-sharp-0.7-r1
new file mode 100644
index 000000000000..8cff19974a18
--- /dev/null
+++ b/dev-dotnet/gecko-sharp/files/digest-gecko-sharp-0.7-r1
@@ -0,0 +1 @@
+MD5 316ccf9f11a23248ec3d97cb7bd61cc1 gecko-sharp-0.7.tar.gz 104473
diff --git a/dev-dotnet/gecko-sharp/files/gecko-sharp-0.7-1.9.3-compat.diff b/dev-dotnet/gecko-sharp/files/gecko-sharp-0.7-1.9.3-compat.diff
new file mode 100644
index 000000000000..6d15788dc16a
--- /dev/null
+++ b/dev-dotnet/gecko-sharp/files/gecko-sharp-0.7-1.9.3-compat.diff
@@ -0,0 +1,18 @@
+diff -aur gecko-sharp-2.0-0.7-orig/gtkmozembed/WebControl.custom gecko-sharp-2.0-0.7/gtkmozembed/WebControl.custom
+--- gecko-sharp-2.0-0.7-orig/gtkmozembed/WebControl.custom 2005-02-06 16:53:36.000000000 -0500
++++ gecko-sharp-2.0-0.7/gtkmozembed/WebControl.custom 2005-05-07 09:16:59.000000000 -0400
+@@ -72,12 +72,12 @@
+
+ public WebControl(string aPath, string aDir) : base (IntPtr.Zero)
+ {
+- gtk_moz_embed_set_profile_path(aPath, aDir);
++ SetProfilePath (aPath, aDir);
+ Raw = gtk_moz_embed_new ();
+ }
+
+ public WebControl() : base (IntPtr.Zero)
+ {
+- gtk_moz_embed_set_profile_path("gecko-sharp", "DummyProfile");
++ SetProfilePath ("gecko-sharp", "DummyProfile");
+ Raw = gtk_moz_embed_new();
+ }
diff --git a/dev-dotnet/gecko-sharp/gecko-sharp-0.7-r1.ebuild b/dev-dotnet/gecko-sharp/gecko-sharp-0.7-r1.ebuild
new file mode 100644
index 000000000000..595e53dc2ad5
--- /dev/null
+++ b/dev-dotnet/gecko-sharp/gecko-sharp-0.7-r1.ebuild
@@ -0,0 +1,41 @@
+# Copyright 1999-2005 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-dotnet/gecko-sharp/gecko-sharp-0.7-r1.ebuild,v 1.1 2005/05/07 13:27:54 latexer Exp $
+
+inherit mono eutils
+
+DESCRIPTION="A Gtk# Mozilla binding"
+HOMEPAGE="http://www.go-mono.com/"
+SRC_URI="http://www.go-mono.com/archive/1.1.5/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="2"
+KEYWORDS="~x86 ~ppc"
+IUSE=""
+
+DEPEND=">=dev-lang/mono-1.0
+ >=dev-dotnet/gtk-sharp-1.9.3
+ www-client/mozilla"
+
+S="${WORKDIR}/${PN}-2.0-${PV}"
+
+src_unpack() {
+ unpack ${A}
+ cd ${S}
+ epatch ${FILESDIR}/${P}-1.9.3-compat.diff
+}
+
+src_compile() {
+ econf || die "./configure failed!"
+ emake -j1 || die "Make failed. You may need to unmerge gecko-sharp and re-emerge it if you are upgrading from an earlier version."
+}
+
+src_install() {
+ make DESTDIR=${D} install || die
+
+ mv ${D}/usr/bin/webshot ${D}/usr/bin/webshot-2.0
+ sed -i -e "s:nailer:nailer-2.0:" ${D}/usr/bin/webshot-2.0
+
+ mv ${D}/usr/lib/gecko-sharp/WebThumbnailer.exe \
+ ${D}/usr/lib/gecko-sharp/WebThumbnailer-2.0.exe
+}