summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJurek Bartuszek <jurek@gentoo.org>2008-06-01 14:52:30 +0000
committerJurek Bartuszek <jurek@gentoo.org>2008-06-01 14:52:30 +0000
commit458036df3691807543ed0d192f695b18fe0d5c25 (patch)
treea2fad050411cbf4c0a3aea7e4b4ed19282fa66cb /dev-util
parentFix for #219713. (diff)
downloadgentoo-2-458036df3691807543ed0d192f695b18fe0d5c25.tar.gz
gentoo-2-458036df3691807543ed0d192f695b18fe0d5c25.tar.bz2
gentoo-2-458036df3691807543ed0d192f695b18fe0d5c25.zip
dev-util/monodevelop: Version bump (bug #195925)
(Portage version: 2.1.4.4)
Diffstat (limited to 'dev-util')
-rw-r--r--dev-util/monodevelop/ChangeLog10
-rw-r--r--dev-util/monodevelop/files/monodevelop-1.0-configure.patch13
-rw-r--r--dev-util/monodevelop/files/monodevelop-1.0-libstetic.patch28
-rw-r--r--dev-util/monodevelop/files/monodevelop-1.0-parallel-build.patch37
-rw-r--r--dev-util/monodevelop/monodevelop-1.0.ebuild75
5 files changed, 162 insertions, 1 deletions
diff --git a/dev-util/monodevelop/ChangeLog b/dev-util/monodevelop/ChangeLog
index b9b06c3e0a36..9ba90523aecd 100644
--- a/dev-util/monodevelop/ChangeLog
+++ b/dev-util/monodevelop/ChangeLog
@@ -1,6 +1,14 @@
# ChangeLog for dev-util/monodevelop
# Copyright 2000-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-util/monodevelop/ChangeLog,v 1.57 2008/06/01 00:32:40 jurek Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-util/monodevelop/ChangeLog,v 1.58 2008/06/01 14:52:30 jurek Exp $
+
+*monodevelop-1.0 (01 Jun 2008)
+
+ 01 Jun 2008; Jurek Bartuszek <jurek@gentoo.org>
+ +files/monodevelop-1.0-configure.patch,
+ +files/monodevelop-1.0-libstetic.patch,
+ +files/monodevelop-1.0-parallel-build.patch, +monodevelop-1.0.ebuild:
+ Version bump (bug #195925)
01 Jun 2008; Jurek Bartuszek <jurek@gentoo.org>
-files/monodevelop-0.15-aspnet-template-fix.patch,
diff --git a/dev-util/monodevelop/files/monodevelop-1.0-configure.patch b/dev-util/monodevelop/files/monodevelop-1.0-configure.patch
new file mode 100644
index 000000000000..e191ae699c4e
--- /dev/null
+++ b/dev-util/monodevelop/files/monodevelop-1.0-configure.patch
@@ -0,0 +1,13 @@
+--- configure.in 2008-03-11 03:22:00.000000000 +0100
++++ configure.in.new 2008-03-17 15:58:08.000000000 +0100
+@@ -244,8 +244,9 @@
+
+ mozilla_script=$(which mozilla 2> /dev/null)
+ firefox_script=$(which firefox 2> /dev/null)
++ seamonkey_script=$(which seamonkey 2> /dev/null)
+
+- for runtime_script in "$firefox_script $mozilla_script"; do
++ for runtime_script in "$firefox_script $mozilla_script $seamonkey_script"; do
+ MOZDIR=$(grep "MOZ_DIST_LIB=" $runtime_script 2> /dev/null | cut -d '"' -f 2 | cut -d '=' -f 2)
+ if test -e "$MOZDIR/$MOZFILE"; then echo $MOZDIR; return; fi
+ MOZDIR=$(grep "MOZILLA_FIVE_HOME=" $runtime_script 2> /dev/null | cut -d '"' -f 2 | cut -d '=' -f 2)
diff --git a/dev-util/monodevelop/files/monodevelop-1.0-libstetic.patch b/dev-util/monodevelop/files/monodevelop-1.0-libstetic.patch
new file mode 100644
index 000000000000..d057416d744a
--- /dev/null
+++ b/dev-util/monodevelop/files/monodevelop-1.0-libstetic.patch
@@ -0,0 +1,28 @@
+--- src/addins/MonoDevelop.GtkCore/lib/Makefile.am 2008-03-11 03:19:54.000000000 +0100
++++ src/addins/MonoDevelop.GtkCore/lib/Makefile.am.new 2008-03-17 16:19:23.000000000 +0100
+@@ -25,9 +25,11 @@
+ libstetic_DATAFILES := $(shell sh $(EXTRACT_VARS) $(libstetic_MAKEFILE) "libstetic_dll_datafiles")
+ libstetic_DIST := $(addprefix $(libstetic_DIR)/,$(libstetic_DATAFILES)) $(libstetic_MAKEFILE) $(libstetic_RESOURCES) $(libstetic_SOURCES)
+
+-$(libstetic) $(libstetic).mdb: $(libstetic_SOURCES) $(libstetic_RESOURCES) $(libstetic_DATAFILES_BUILD)
++$(libstetic): $(libstetic_SOURCES) $(libstetic_RESOURCES) $(libstetic_DATAFILES_BUILD)
+ mkdir -p $(BUILD_DIR)
+ $(MCS) $(libstetic_FLAGS) -out:$@ $(libstetic_SOURCES) $(libstetic_REFERENCES) $(libstetic_RESOURCES:%=-resource:%)
++$(libstetic).mdb: $(libstetic)
++ true
+
+ libstetic_DATAFILES_BUILD = $(addprefix $(BUILD_DIR)/, $(libstetic_DATAFILES))
+
+@@ -63,9 +65,11 @@
+ -r:System.Runtime.Remoting \
+ -r:System.Xml
+
+-$(libsteticui) $(libsteticui).mdb: $(libsteticui_SOURCES) $(libsteticui_RESOURCES) $(libsteticui_DATAFILES_BUILD)
++$(libsteticui): $(libsteticui_SOURCES) $(libsteticui_RESOURCES) $(libsteticui_DATAFILES_BUILD)
+ mkdir -p $(BUILD_DIR)
+ $(MCS) $(libsteticui_FLAGS) -out:$@ $(libsteticui_SOURCES) $(libsteticui_REFERENCES) $(libsteticui_RESOURCES:%=-resource:%)
++$(libsteticui).mdb: $(libsteticui)
++ true
+
+ libsteticui_DATAFILES_BUILD = $(addprefix $(BUILD_DIR)/, $(libsteticui_DATAFILES))
+
diff --git a/dev-util/monodevelop/files/monodevelop-1.0-parallel-build.patch b/dev-util/monodevelop/files/monodevelop-1.0-parallel-build.patch
new file mode 100644
index 000000000000..4854572e691b
--- /dev/null
+++ b/dev-util/monodevelop/files/monodevelop-1.0-parallel-build.patch
@@ -0,0 +1,37 @@
+--- src/addins/MonoDevelop.GtkCore/Makefile.am 2008-03-11 03:19:56.000000000 +0100
++++ src/addins/MonoDevelop.GtkCore/Makefile.am.new 2008-03-20 14:46:21.000000000 +0100
+@@ -84,7 +84,9 @@
+ svn cp -m "Update Stetic sources" svn+ssh://mono-cvs.ximian.com/source/trunk/stetic svn+ssh://mono-cvs.ximian.com/source/trunk/monodevelop/main/src/addins/MonoDevelop.GtkCore/lib/stetic
+
+ if HAVE_GNOME_SHARP
+-all: $(ASSEMBLY)
++all: stetic_dlls $(ASSEMBLY)
++stetic_dlls:
++ cd lib ; make -f Makefile ; cd ..
+ else
+ all:
+ endif
+@@ -98,6 +100,9 @@
+ $(CSC) $(CSC_FLAGS) -debug -out:$@ -target:library \
+ $(build_resources:%=/resource:%) $(build_sources) $(REFS)
+
++$(ASSEMBLY).mdb: $(ASSEMBLY)
++ true
++
+ if HAVE_GNOME_SHARP
+ assemblydir = $(MD_ADDIN_DIR)/MonoDevelop.GtkCore
+ assembly_DATA = $(ASSEMBLY) $(ASSEMBLY).mdb
+
+--- src/addins/MonoDevelop.WebReferences/Makefile.am 2008-03-11 03:20:16.000000000 +0100
++++ src/addins/MonoDevelop.WebReferences/Makefile.am.new 2008-03-20 14:44:25.000000000 +0100
+@@ -56,6 +56,10 @@
+ $(CSC) $(CSC_FLAGS) -debug -out:$@ -target:library \
+ $(build_resources:%=/resource:%) $(build_sources) $(REFS)
+
++$(ASSEMBLY).mdb: $(ASSEMBLY)
++ true
++
++
+ assemblydir = $(MD_ADDIN_DIR)/MonoDevelop.WebReferences
+ assembly_DATA = $(ASSEMBLY) $(ASSEMBLY).mdb
+
diff --git a/dev-util/monodevelop/monodevelop-1.0.ebuild b/dev-util/monodevelop/monodevelop-1.0.ebuild
new file mode 100644
index 000000000000..9a23adfc39f7
--- /dev/null
+++ b/dev-util/monodevelop/monodevelop-1.0.ebuild
@@ -0,0 +1,75 @@
+# Copyright 1999-2008 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-util/monodevelop/monodevelop-1.0.ebuild,v 1.1 2008/06/01 14:52:30 jurek Exp $
+
+inherit autotools eutils fdo-mime mono multilib
+
+DESCRIPTION="Integrated Development Environemnt for .NET"
+HOMEPAGE="http://www.monodevelop.com/"
+SRC_URI="http://www.go-mono.com/sources/${PN}/${P}.tar.bz2"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="aspnet cxx subversion"
+
+RDEPEND=">=dev-lang/mono-1.9
+ >=dev-util/monodoc-1.9
+ >=dev-dotnet/mono-addins-0.3.1
+ >=dev-dotnet/gtk-sharp-2.8
+ >=dev-dotnet/glade-sharp-2.8
+ >=dev-dotnet/gnome-sharp-2.8
+ >=dev-dotnet/gnomevfs-sharp-2.8
+ >=dev-dotnet/gconf-sharp-2.8
+ >=dev-dotnet/gtksourceview-sharp-0.10
+ || (
+ www-client/mozilla-firefox
+ www-client/mozilla-firefox-bin
+ www-client/seamonkey
+ net-libs/xulrunner
+ )
+ aspnet? ( >=dev-dotnet/xsp-1.9 )
+ subversion? ( dev-util/subversion )
+ cxx? ( dev-util/ctags )"
+
+DEPEND="${RDEPEND}
+ sys-devel/gettext
+ x11-misc/shared-mime-info
+ >=dev-util/intltool-0.35
+ >=dev-util/pkgconfig-0.19"
+
+MAKEOPTS="-j1"
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+
+ epatch "${FILESDIR}/${P}-configure.patch"
+ epatch "${FILESDIR}/${P}-libstetic.patch"
+ epatch "${FILESDIR}/${P}-parallel-build.patch"
+
+ eautoreconf || die "eautoreconf failed"
+}
+
+src_compile() {
+ econf --disable-update-mimedb \
+ --disable-update-desktopdb \
+ --enable-monoextensions \
+ --enable-versioncontrol \
+ $(use_enable aspnet) \
+ $(use_enable subversion) \
+ $(use_enable cxx c) \
+ || die "configure failed"
+
+ emake || die "make failed"
+}
+
+src_install() {
+ emake DESTDIR="${D}" install || die "install failed"
+ dodoc ChangeLog README || die "dodoc failed"
+}
+
+pkg_postinst() {
+ fdo-mime_mime_database_update
+ fdo-mime_desktop_database_update
+}