Git-Url: 
http://git.frugalware.org/gitweb/gitweb.cgi?p=frugalware-current.git;a=commitdiff;h=21f20ce71c2295fbba0aa78d93e7531bfa3819cd

commit 21f20ce71c2295fbba0aa78d93e7531bfa3819cd
Author: James Buren <r...@frugalware.org>
Date:   Sat Sep 12 11:37:55 2009 -0500

code-browser-3.11-3-i686
* add new patch so code-browser can understand FrugalBuilds

diff --git a/source/xapps-extra/code-browser/FrugalBuild 
b/source/xapps-extra/code-browser/FrugalBuild
index b2b0d37..0310062 100644
--- a/source/xapps-extra/code-browser/FrugalBuild
+++ b/source/xapps-extra/code-browser/FrugalBuild
@@ -3,16 +3,18 @@

pkgname=code-browser
pkgver=3.11
-pkgrel=2
+pkgrel=3
pkgdesc="A folding text editor designed especially for source code."
_F_sourceforge_ext=-src.tar.gz
Finclude sourceforge
+source=(${sour...@]} $pkgname-frugalbuild.patch)
options=('scriptlet')
depends=('gtk+2' 'glibc' 'libxau' 'libxdmcp' 'libxext' 'libxdamage' 'libxml2')
makedepends=('imagemagick')
groups=('xapps-extra')
archs=('i686' 'x86_64')
-sha1sums=('9396e77d01669485010d5cedb81e7eb2866a207e')
+sha1sums=('9396e77d01669485010d5cedb81e7eb2866a207e' \
+          'efdd29b1aa9e7eeb41df990f834db8d99b9eaf27')
_F_desktop_name="Code Browser"
_F_desktop_icon="$pkgname"
_F_desktop_categories="Development;GTK;"
@@ -20,6 +22,7 @@ _F_desktop_categories="Development;GTK;"
build() {
Fsed "-O2" "${CFLAGS}" {.,zinc}/Makefile
Fsed "/usr/local" "/usr" Makefile
+    Fpatchall
Fmake
Fmkdir /usr/bin
Fmakeinstall
diff --git a/source/xapps-extra/code-browser/code-browser-frugalbuild.patch 
b/source/xapps-extra/code-browser/code-browser-frugalbuild.patch
new file mode 100644
index 0000000..6682fd5
--- /dev/null
+++ b/source/xapps-extra/code-browser/code-browser-frugalbuild.patch
@@ -0,0 +1,54 @@
+diff -aur code-browser-3.11/config/preferences.cbc 
code-browser-3.11-2/config/preferences.cbc
+--- code-browser-3.11/config/preferences.cbc   2009-05-21 04:14:26.000000000 
-0500
++++ code-browser-3.11-2/config/preferences.cbc 2009-09-12 11:20:26.000000000 
-0500
+@@ -2238,6 +2238,23 @@
+ end
+ //[cf]
+
++//[of]:FrugalBuilds
++def frugalbuild
++      prototype = configurations.default
++      patterns = FrugalBuild
++      language = sh
++      //display = default-fixed
++
++      //auto-indentation = true
++      //expand-tabulation = false
++      //tabulation-size = 8
++      //word-wrap = false
++      //elastic-tabstops = false
++
++      //layout = 0
++end
++//[cf]
++
+ //[of]:Zinc
+ def zinc
+       prototype = configurations.default
+diff -aur code-browser-3.11/config-default/preferences.cbc 
code-browser-3.11-2/config-default/preferences.cbc
+--- code-browser-3.11/config-default/preferences.cbc   2009-05-18 
16:01:36.000000000 -0500
++++ code-browser-3.11-2/config-default/preferences.cbc 2009-09-12 
11:29:44.000000000 -0500
+@@ -800,6 +800,23 @@
+ end
+ //[cf]
+
++//[of]:FrugalBuilds
++def frugalbuild
++      //prototype = configurations.default
++      //patterns = FrugalBuild
++      //language = sh
++      //display = default-fixed
++
++      //auto-indentation = true
++      //expand-tabulation = false
++      //tabulation-size = 8
++      //word-wrap = false
++      //elastic-tabstops = false
++
++      //layout = 0
++end
++//[cf]
++
+ //[of]:Zinc
+ def zinc
+       //prototype = configurations.default
_______________________________________________
Frugalware-git mailing list
Frugalware-git@frugalware.org
http://frugalware.org/mailman/listinfo/frugalware-git

Reply via email to