Git-Url: 
http://git.frugalware.org/gitweb/gitweb.cgi?p=xfcetesting.git;a=commitdiff;h=5cf2f46d68ffde4f212fcfec016826bbb2cf6fef

commit 5cf2f46d68ffde4f212fcfec016826bbb2cf6fef
Author: James Buren <r...@frugalware.org>
Date:   Sun Jan 30 03:25:29 2011 -0600

medit-1.0.0-1-i686
* python support is back (yay!)
* version bump

diff --git a/source/xapps-extra/medit/FrugalBuild 
b/source/xapps-extra/medit/FrugalBuild
index 628ad94..99e6106 100644
--- a/source/xapps-extra/medit/FrugalBuild
+++ b/source/xapps-extra/medit/FrugalBuild
@@ -3,28 +3,29 @@
# Contributor: detto <dett...@freenet.de>

pkgname=medit
-pkgver=0.10.5
+pkgver=1.0.0
pkgrel=1
pkgdesc="A useful programming and around-programming text editor."
-depends=('gtk+2>=2.20.0-2')
-rodepends=('ctags')
+depends=('pygtk')
+makedepends=('intltool')
+rodepends=('ctags' 'vte-python')
groups=('xapps-extra')
archs=('i686' 'x86_64' 'ppc')
_F_sourceforge_ext=".tar.bz2"
_F_sourceforge_dirname="mooedit"
options=('scriptlet')
_F_gnome_iconcache=y
-_F_cmake_type="Release"
-Finclude gnome-scriptlet cmake sourceforge
-source=(${source[@]} frugalbuild.lang $pkgname-0.10.1-ctags.patch)
-sha1sums=('2081cc636ae768dc4e5a7043df4ba88402ceaa69' \
+Finclude gnome-scriptlet sourceforge
+source=(${source[@]} frugalbuild.lang $pkgname-1.0.0-ctags.patch)
+sha1sums=('7309ba8f92d4a4adaff260d1a26d407cd8080384' \
'324adf29c9b02db1f496295f5a391d3a73adb513' \
-          '9220e82036e9dc6e1acaf11c3fa929c50bc09083')
+          'c1dafe2fa7f92d19cc5dc0cffa60ccbbdeafc8f9')

build() {
-  CMake_build
+  Fsed 'MOO_DOC_DIR=".*"' "MOO_DOC_DIR=\"\${datadir}/doc/medit-$pkgver\"" 
configure
+  Fbuild --disable-install-hooks
Fbuild_gnome_scriptlet
-  Ffile /usr/share/moo/language-specs/frugalbuild.lang
+  Ffile /usr/share/medit-1/language-specs/frugalbuild.lang
}

# optimization OK
diff --git a/source/xapps-extra/medit/medit-0.10.1-ctags.patch 
b/source/xapps-extra/medit/medit-0.10.1-ctags.patch
deleted file mode 100644
index 4f11b7f..0000000
--- a/source/xapps-extra/medit/medit-0.10.1-ctags.patch
+++ /dev/null
@@ -1,24 +0,0 @@
-diff -aur medit-0.10.1/plugins/ctags/ctags-doc.c 
medit-0.10.1-2/plugins/ctags/ctags-doc.c
---- medit-0.10.1/plugins/ctags/ctags-doc.c     2010-03-20 01:17:38.000000000 
-0500
-+++ medit-0.10.1-2/plugins/ctags/ctags-doc.c   2010-03-29 23:41:12.000000000 
-0500
-@@ -521,7 +521,7 @@
-      *     s scope of definition
-      *     S signature or prototype
-      */
--    cmd_line = g_string_new ("ctags -u --fields=afksS ");
-+    cmd_line = g_string_new ("exuberant-ctags -u --fields=afksS ");
-
-     if (opts && opts[0])
-     {
-diff -aur medit-0.10.1/plugins/ctags/ctags-plugin.c 
medit-0.10.1-2/plugins/ctags/ctags-plugin.c
---- medit-0.10.1/plugins/ctags/ctags-plugin.c  2010-03-20 01:17:38.000000000 
-0500
-+++ medit-0.10.1-2/plugins/ctags/ctags-plugin.c        2010-03-29 
23:38:29.000000000 -0500
-@@ -169,7 +169,7 @@
- gboolean
- _moo_ctags_plugin_init (void)
- {
--    MooPluginParams params = {FALSE, TRUE};
-+    MooPluginParams params = {TRUE, TRUE};
-     return moo_plugin_register (CTAGS_PLUGIN_ID,
-                                 ctags_plugin_get_type (),
-                                 &ctags_plugin_info,
diff --git a/source/xapps-extra/medit/medit-1.0.0-ctags.patch 
b/source/xapps-extra/medit/medit-1.0.0-ctags.patch
new file mode 100644
index 0000000..05d8788
--- /dev/null
+++ b/source/xapps-extra/medit/medit-1.0.0-ctags.patch
@@ -0,0 +1,24 @@
+diff -aur a/moo/plugins/ctags/ctags-doc.c b/moo/plugins/ctags/ctags-doc.c
+--- a/moo/plugins/ctags/ctags-doc.c    2011-01-13 02:31:22.000000000 -0600
++++ b/moo/plugins/ctags/ctags-doc.c    2011-01-30 00:05:53.904000100 -0600
+@@ -528,7 +528,7 @@
+      *     s scope of definition
+      *     S signature or prototype
+      */
+-    cmd_line = g_string_new ("ctags -u --fields=afksS ");
++    cmd_line = g_string_new ("exuberant-ctags -u --fields=afksS ");
+
+     if (opts && opts[0])
+     {
+diff -aur a/moo/plugins/ctags/ctags-plugin.c b/moo/plugins/ctags/ctags-plugin.c
+--- a/moo/plugins/ctags/ctags-plugin.c 2011-01-06 02:44:10.000000000 -0600
++++ b/moo/plugins/ctags/ctags-plugin.c 2011-01-30 00:07:12.202000104 -0600
+@@ -171,7 +171,7 @@
+ gboolean
+ _moo_ctags_plugin_init (void)
+ {
+-    MooPluginParams params = {FALSE, TRUE};
++    MooPluginParams params = {TRUE, TRUE};
+     return moo_plugin_register (CTAGS_PLUGIN_ID,
+                                 ctags_plugin_get_type (),
+                                 &ctags_plugin_info,
_______________________________________________
Frugalware-git mailing list
Frugalware-git@frugalware.org
http://frugalware.org/mailman/listinfo/frugalware-git

Reply via email to