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

commit d2e9ab75f91d35d889fa3791649df105dcb289e2
Author: bouleetbil <bouleet...@frogdev.info>
Date:   Fri Oct 30 16:43:57 2009 +0100

abiword-2.8.1-1-i686
*version bump
*delete all gnome support now we can print without(use gtk+)
*change m8r

diff --git a/source/xapps-extra/abiword/FrugalBuild 
b/source/xapps-extra/abiword/FrugalBuild
index c106bfa..c18aa31 100644
--- a/source/xapps-extra/abiword/FrugalBuild
+++ b/source/xapps-extra/abiword/FrugalBuild
@@ -1,12 +1,10 @@
-# Compiling Time: 2.82 SBU
-# Maintainer: Christian Hamar alias krix <kr...@linuxforum.hu>
+# Compiling Time: 7.79 SBU
+# Maintainer: bouleetbil <bouleet...@frogdev.info>

pkgname=abiword
-pkgver=2.6.8
-#for now same version
-pkgverplugin=2.6.8
-abivers=2.6
-pkgrel=4
+pkgver=2.8.1
+abivers=2.8
+pkgrel=1
pkgdesc="AbiWord is a free word processing program similar to Microsoft(R) 
Word."
url="http://www.abisource.com";
groups=('xapps-extra')
@@ -14,94 +12,39 @@ archs=('i686' 'x86_64' 'ppc')
depends=('pango>=1.24.2-2' 'libpng' 'fontconfig' 'freetype2' 'libxft' \
'enchant' 'perl' 'fribidi' 'wv' 'atk' 'cairo>=1.8.6-3' 'libxau>=1.0.4' 
'libxdmcp' \
'libsm' 'libxdamage' 'libxinerama' 'libxi' 'libxrandr' \
-       'libxcursor' 'openssl' 'libjpeg' 'libglade')
-makedepends=('libgnomeprintui' 'goffice>=0.6.4-2'  'boost'\
-       'libgda>=4.0.4' 'libgnomedb>=3.99.7' 'loudmouth' 'gtkmathview>=1.6.4-2')
+       'libxcursor' 'openssl' 'libjpeg' 'libglade' 'librsvg')
+makedepends=('boost' 'loudmouth' 'gtkmathview>=1.6.4-2')
options=('scriptlet')
_F_gnome_desktop="y"
-_F_gnome_mime="y"
Finclude gnome-scriptlet
up2date="lynx -dump http://www.abisource.com/|grep -m1 'stable release is'|tr 
-d  '[:alpha:] [:blank:]' |sed 's/\(.*\)./\1/;s/.//6'"
-source=($url/downloads/$pkgname/$pkgver/source/$pkgname-$pkgver.tar.gz \
-       
$url/downloads/abiword/$pkgver/source/abiword-plugins-$pkgverplugin.tar.gz \
-       $pkgname-kde.desktop $pkgname-gnome.desktop \
-       gcc44.diff)
-sha1sums=('fc979982edc3445385705afdb1e2ebb1fa53a4f6' \
-          'fa8ad1985de5523f9993cef93af0dad174e8e5a5' \
-          'aac82c38acc4ee80d461d15e2e4ead64a627d51c' \
-          '29683d951cd471a97cf146961618c1770e902ade' \
-          'a5483b8614f91eafdbce3c916b8ebcfc0d670cd7')
+source=($url/downloads/$pkgname/$pkgver/source/$pkgname-$pkgver.tar.gz)
+sha1sums=('fac4bb888a6426fc3fa3784c4ca500f417d9b7b5')
license="GPL2"
conflicts=('abiword-gnome')
+replaces=('abiword-gnome')
+provides=('abiword-gnome')

-subpkgs=("abiword-gnome" "abiword-plugins-gnome" "abiword-plugins" 
"abiword-plugins-mathview" "abiword-plugins-xmmp")
-subconflicts=('abiword' '' '' '' '')
-subprovides=('abiword' '' '' '' '')
-subdescs=('Abiword with gnome printing support' 'Abiword gnome plugins' 
'Abiword plugins' \
+subpkgs=("abiword-plugins" "abiword-plugins-mathview" "abiword-plugins-xmmp")
+subdescs=('Abiword plugins' \
'Abiword plugins mathview' 'Abiword plugins xmmp')
-subdepends=("pango libpng fontconfig freetype2 libxft \
-       enchant perl fribidi wv atk cairo libxau libxdmcp \
-       libsm libxdamage libxinerama libxi libxrandr \
-       libxcursor openssl libjpeg libglade libgnomeprintui goffice" \
-       "abiword-gnome libgnomedb libgda" "abiword" \
-       "abiword gtkmathview" "abiword loudmouth")
-subgroups=('gnome-extra' 'gnome-extra' 'xlib-extra' 'xlib-extra' 'xlib-extra')
-subarchs=('i686 x86_64 ppc' 'i686 x86_64 ppc' 'i686 x86_64 ppc' 'i686 x86_64 
ppc' 'i686 x86_64 ppc')
-subinstall=("$_F_gnome_scriptlet" "" "" "" "")
+subrodepends=("abiword" "abiword" "abiword")
+subdepends=("" "gtkmathview" "loudmouth")
+subgroups=('xlib-extra' 'xlib-extra' 'xlib-extra')
+subarchs=('i686 x86_64 ppc' 'i686 x86_64 ppc' 'i686 x86_64 ppc')
+subreplaces=('abiword-plugins-gnome' '' '')

-#When we bump it verify if abiscan is already broken
-#If not add it to abiword-plugin-gnome

build() {
unset MAKEFLAGS

-       #first build plugins
-       Fcd
-       cd ../abiword-plugins-$pkgverplugin || Fdie
-       #plugin abiscan broken with new 'gnome-scan'
-       Fbuild --with-abiword=../abiword-$pkgver -disable-abiscan
-
-       #gnome plugins
-       Fsplit abiword-plugins-gnome 
/usr/lib/abiword-$abivers/plugins/libLoadBindings*
-       Fsplit abiword-plugins-gnome 
/usr/lib/abiword-$abivers/plugins/libAbiCommand*
-       Fsplit abiword-plugins-gnome 
/usr/lib/abiword-$abivers/plugins/libPresentation*
-
-       Fsplit abiword-plugins-xmmp 
/usr/lib/abiword-$abivers/plugins/libAbiCollab*
-
-       Fsplit abiword-plugins-mathview 
/usr/lib/abiword-$abivers/plugins/libAbiMathView*
-
-       #plugins don't depend gnome*
-       Fsplit abiword-plugins /usr
-
-       #build abiword
-       cd ../$pkgname-$pkgver || Fdie
-       # Install menu file.
-       rm $pkgname.desktop || Fdie
-       cp ../$pkgname-gnome.desktop $pkgname.desktop || Fdie
-       Fsed 'icondir = $(datadir)/icons' 'icondir = $(datadir)/pixmaps' 
GNUmakefile.in
-       Fmake --enable-libabiword \
-       --enable-threads \
-       --enable-scripting \
-       --enable-printing --enable-gucharmap
+       Fmake --disable-menubutton --enable-clipart --enable-plugins \
+               --without-goffice --enable-templates --with-gio 
--without-gucharmap
Fmakeinstall
-       Fsplit abiword-gnome /usr
+       Fsplit abiword-plugins-xmmp usr/lib/abiword-$abivers/plugins/collab*
+       Fsplit abiword-plugins-mathview 
usr/lib/abiword-$abivers/plugins/mathview*
+       Fsplit abiword-plugins usr/lib/abiword-$abivers/plugins
Fbuild_gnome_scriptlet
-
-       make distclean || Fdie
-       # Install menu file.
-       rm $pkgname.desktop || Fdie
-       cp ../$pkgname-kde.desktop $pkgname.desktop || Fdie
-       #broken configure
-       Fsed "print=true" "print=false" configure
-       Fmake --enable-libabiword \
-       --enable-threads \
-       --enable-scripting \
-       --disable-embedded \
-       --disable-printing --disable-gucharmap \
-       --disable-gnomevfs --disable-gnomeui
-       Fmakeinstall
-       Fbuild_gnome_scriptlet
-
}

# optimization OK
_______________________________________________
Frugalware-git mailing list
Frugalware-git@frugalware.org
http://frugalware.org/mailman/listinfo/frugalware-git

Reply via email to