summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJurek Bartuszek <jurek@gentoo.org>2006-11-25 01:55:05 +0000
committerJurek Bartuszek <jurek@gentoo.org>2006-11-25 01:55:05 +0000
commite79d551b3fc9ed0b13ce1a06d0a78ffafa01c1dd (patch)
treec314fa535550e6a2bc23b6edd62e2dcbe66e3073 /dev-dotnet
parentAdd libXv to DEPEND for Bug 152558, thanks to Harald van Dijk (diff)
downloadgentoo-2-e79d551b3fc9ed0b13ce1a06d0a78ffafa01c1dd.tar.gz
gentoo-2-e79d551b3fc9ed0b13ce1a06d0a78ffafa01c1dd.tar.bz2
gentoo-2-e79d551b3fc9ed0b13ce1a06d0a78ffafa01c1dd.zip
Added dev-dotnet/jscall-sharp-0.0.2_pre20061125
(Portage version: 2.1.1-r2)
Diffstat (limited to 'dev-dotnet')
-rw-r--r--dev-dotnet/jscall-sharp/ChangeLog8
-rw-r--r--dev-dotnet/jscall-sharp/files/digest-jscall-sharp-0.0.2_pre200611253
-rw-r--r--dev-dotnet/jscall-sharp/files/geckos_configure_fix.patch57
-rw-r--r--dev-dotnet/jscall-sharp/jscall-sharp-0.0.2_pre20061125.ebuild41
4 files changed, 108 insertions, 1 deletions
diff --git a/dev-dotnet/jscall-sharp/ChangeLog b/dev-dotnet/jscall-sharp/ChangeLog
index 5d3ce3f813c3..e3e0e5abbfa3 100644
--- a/dev-dotnet/jscall-sharp/ChangeLog
+++ b/dev-dotnet/jscall-sharp/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for dev-dotnet/jscall-sharp
# Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-dotnet/jscall-sharp/ChangeLog,v 1.2 2006/10/22 14:18:51 jurek Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-dotnet/jscall-sharp/ChangeLog,v 1.3 2006/11/25 01:55:05 jurek Exp $
+
+*jscall-sharp-0.0.2_pre20061125 (25 Nov 2006)
+
+ 25 Nov 2006; Jurek Bartuszek <jurek@gentoo.org>
+ +files/geckos_configure_fix.patch, +jscall-sharp-0.0.2_pre20061125.ebuild:
+ Version bump.
*jscall-sharp-0.0.2_pre20060925 (22 Oct 2006)
diff --git a/dev-dotnet/jscall-sharp/files/digest-jscall-sharp-0.0.2_pre20061125 b/dev-dotnet/jscall-sharp/files/digest-jscall-sharp-0.0.2_pre20061125
new file mode 100644
index 000000000000..70f6c926cf15
--- /dev/null
+++ b/dev-dotnet/jscall-sharp/files/digest-jscall-sharp-0.0.2_pre20061125
@@ -0,0 +1,3 @@
+MD5 86b6748a620677f7e970fde4a38e3aeb jscall-sharp-0.0.2_pre20061125.tar.bz2 17821
+RMD160 8938b4f289dbdb7b5886769752926bfe6f33bff6 jscall-sharp-0.0.2_pre20061125.tar.bz2 17821
+SHA256 bc76d19e6656b1f00d2237a88c4c89d3f01d0f9e498f08dfa52649e18fc40cea jscall-sharp-0.0.2_pre20061125.tar.bz2 17821
diff --git a/dev-dotnet/jscall-sharp/files/geckos_configure_fix.patch b/dev-dotnet/jscall-sharp/files/geckos_configure_fix.patch
new file mode 100644
index 000000000000..5285fed5a21b
--- /dev/null
+++ b/dev-dotnet/jscall-sharp/files/geckos_configure_fix.patch
@@ -0,0 +1,57 @@
+--- configure.ac 2006-11-13 13:41:06.000000000 +0100
++++ configure.ac 2006-11-14 13:35:05.506333992 +0100
+@@ -14,7 +14,7 @@
+ GECKOSHARP_REQUIRED_VERSION=0.10
+
+ m4_define(gtk_required_version, 2.6.0)
+-m4_define(mozilla_required_version, 1.6)
++m4_define(seamonkey_required_version, 1.0)
+ m4_define(firefox_required_version, 1.0)
+ m4_define(xulrunner_required_version, 1.8)
+ ### Check for pkg-config
+@@ -75,9 +75,9 @@
+
+ if test $mozpackage = any ; then
+ AC_MSG_CHECKING(for Gecko development files)
+- if $PKG_CONFIG --exists mozilla-gtkmozembed; then
+- AC_MSG_RESULT([Mozilla detected])
+- mozpackage=mozilla
++ if $PKG_CONFIG --exists seamonkey-gtkmozembed; then
++ AC_MSG_RESULT([Seamonkey detected])
++ mozpackage=seamonkey
+ else
+ if $PKG_CONFIG --exists firefox-gtkmozembed; then
+ AC_MSG_RESULT([Firefox detected])
+@@ -87,15 +87,15 @@
+ AC_MSG_RESULT([XulRunner detected])
+ mozpackage=xulrunner
+ else
+- AC_MSG_ERROR([Neither Firefox nor Mozilla development packages were detected])
++ AC_MSG_ERROR([Neither Firefox nor Seamonkey development packages were detected])
+ fi
+ fi
+ fi
+ fi
+
+ case $mozpackage in
+- firefox) mozpackage_required_version=firefox_required_version ;;
+- mozilla) mozpackage_required_version=mozilla_required_version ;;
++ firefox) mozpackage_required_version=firefox_required_version ;;
++ seamonkey) mozpackage_required_version=seamonkey_required_version ;;
+ xulrunner) mozpackage_required_version=xulrunner_required_version ;;
+ *) AC_MSG_ERROR([--with-gtkmozembed argument must be either 'mozilla' or 'firefox'])
+ esac
+@@ -104,9 +104,11 @@
+ AC_SUBST(MOZILLA_HOME)
+
+ PKG_CHECK_MODULES(JSGLUEDEPS, [$mozpackage-gtkmozembed >= $mozpackage_required_version,
+- $mozpackage-xpcom >= $mozpackage_required_version
+- gtk+-2.0 >= gtk_required_version])
++ $mozpackage-xpcom >= $mozpackage_required_version,
++ gtk+-2.0 >= gtk_required_version])
+
++JSGLUEDEPS_CFLAGS+=" -I${MOZILLA_HOME}/include/dom -I${MOZILLA_HOME}/include/webbrwsr"
++AC_SUBST(JSGLUEDEPS_CFLAGS)
+ AC_OUTPUT([
+ Makefile
+ jscall-sharp.pc
diff --git a/dev-dotnet/jscall-sharp/jscall-sharp-0.0.2_pre20061125.ebuild b/dev-dotnet/jscall-sharp/jscall-sharp-0.0.2_pre20061125.ebuild
new file mode 100644
index 000000000000..7af511c4ce35
--- /dev/null
+++ b/dev-dotnet/jscall-sharp/jscall-sharp-0.0.2_pre20061125.ebuild
@@ -0,0 +1,41 @@
+# Copyright 1999-2006 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-dotnet/jscall-sharp/jscall-sharp-0.0.2_pre20061125.ebuild,v 1.1 2006/11/25 01:55:05 jurek Exp $
+
+inherit mono eutils
+
+DESCRIPTION="A simple JavaScript bridge for Gecko#"
+HOMEPAGE="http://www.go-mono.com/"
+SRC_URI="mirror://gentoo/${P}.tar.bz2"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~x86"
+IUSE=""
+
+DEPEND="|| ( www-client/mozilla-firefox
+ www-client/seamonkey )
+ >=dev-lang/mono-1.1.9
+ >=dev-dotnet/gtk-sharp-2.4
+ >=dev-dotnet/gecko-sharp-0.10"
+
+src_unpack()
+{
+ unpack ${A}
+ cd ${S}
+
+ epatch ${FILESDIR}/geckos_configure_fix.patch
+ epatch ${FILESDIR}/jscall-sharp-gacfix.diff
+
+ einfo "Running autogen..."
+ ./autogen.sh || die "autogen failed"
+}
+
+src_install()
+{
+ make GACUTIL_FLAGS="/root ${D}/usr/$(get_libdir) \
+ /gacdir /usr/$(get_libdir) /package ${PN}-0.0.2" \
+ DESTDIR=${D} install || die
+
+ dodoc ChangeLog README COPYING AUTHORS
+}