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

commit 8a3176d0bd7dc97658785d91b4b02623a0fb9a0a
Author: Miklos Vajna <[email protected]>
Date:   Thu Dec 23 22:20:05 2010 +0100

openoffice.org-3.2.1-6-i686

- USE_DEVEL: switch to fully offline build

diff --git a/source/xapps/openoffice.org/FrugalBuild 
b/source/xapps/openoffice.org/FrugalBuild
index d5dbc39..486aad1 100644
--- a/source/xapps/openoffice.org/FrugalBuild
+++ b/source/xapps/openoffice.org/FrugalBuild
@@ -108,6 +108,11 @@ else
do
source=(${sour...@]} http://hg.services.openoffice.org/binaries/$i)
done
+               go_oo_source=(extras-3.1.tar.bz2 biblio.tar.bz2)
+               for i in ${go_oo_sour...@]}
+               do
+                       source=(${sour...@]} 
http://download.go-oo.org/SRC680/$i)
+               done
sha1sums=('ff837dbc5ac4d8431e4041ba6d58832005cae074' \
'ac81bc4d8621ad2a74c6318fb4226d994d02d13f' \
'9ac24e7908a34a5fe640fc7f7e049d6db23a2f5f' \
@@ -135,7 +140,9 @@ else
'528dc8fa11343fa2a5d584dd2f8d5e2238ed78ba' \
'8f949ae74a6d66278a595bd063f13e0ad196d14a' \
'8a90669029e107b61953b90ba11545fef586c2ca' \
-          '1acea86fd399ed7817879d36370d3d1f8b109050')
+          '1acea86fd399ed7817879d36370d3d1f8b109050' \
+          'c4e9c3ed2502c584f1b6e4b7d650afc8c33fccb6' \
+          '5a12014afa75ecb51b9688497450115d64f1c167')
fi
fi
NOEXTRACT=1
@@ -324,8 +331,11 @@ build()
Fconf --disable-mono
# avoid problems with ixion for now
sed -i '/fields-table-formula.diff/d' patches/dev300/apply || return 1
-                       # don't download external sources
-                       sed -i '/download_external_sources();/d' download || 
return 1
+                       mkdir -p src
+                       for i in ${go_oo_sour...@]}
+                       do
+                               ln -sf $Fsrcdir/$i src/
+                       done
mkdir -p ext_source
for i in ${ext_sour...@]}
do
@@ -335,7 +345,9 @@ build()
fi
fi

-       ./download || return 1
+       if ! Fuse $USE_DEVEL; then
+               ./download || return 1
+       fi

# make patch be less strict
Fsed '--fuzz=0 ' '' patches/apply.pl
_______________________________________________
Frugalware-git mailing list
[email protected]
http://frugalware.org/mailman/listinfo/frugalware-git

Reply via email to