[arch-commits] Commit in openoffice-base-beta/repos (8 files)
andyrtr at archlinux.org
andyrtr at archlinux.org
Thu Sep 18 07:17:12 UTC 2008
Date: Thursday, September 18, 2008 @ 03:17:11
Author: andyrtr
Revision: 12676
Merged revisions 12047-12675 via svnmerge from
svn+ssh://svn.archlinux.org/home/svn-packages/openoffice-base-beta/trunk
........
r12639 | andyrtr | 2008-09-17 11:58:04 +0000 (Mi, 17 Sep 2008) | 1 line
prepare m6 build
........
r12675 | andyrtr | 2008-09-18 07:16:32 +0000 (Do, 18 Sep 2008) | 1 line
upgpkg: openoffice-base-beta 3.0_ooo300_m6-1
........
Added:
openoffice-base-beta/repos/extra-x86_64/buildfix-openjdk-6-no-rhino.diff
(from rev 12675, openoffice-base-beta/trunk/buildfix-openjdk-6-no-rhino.diff)
openoffice-base-beta/repos/extra-x86_64/buildfix_dict_parallel.diff
(from rev 12675, openoffice-base-beta/trunk/buildfix_dict_parallel.diff)
openoffice-base-beta/repos/extra-x86_64/system_hsqldb.diff
(from rev 12675, openoffice-base-beta/trunk/system_hsqldb.diff)
Modified:
openoffice-base-beta/repos/extra-x86_64/ (properties)
openoffice-base-beta/repos/extra-x86_64/ChangeLog
openoffice-base-beta/repos/extra-x86_64/PKGBUILD
openoffice-base-beta/repos/extra-x86_64/openoffice.install
Deleted:
openoffice-base-beta/repos/extra-x86_64/FontOOo_1.7.1.sxw
----------------------------------+
ChangeLog | 9 +++++
PKGBUILD | 65 ++++++++++++++++++++-----------------
buildfix-openjdk-6-no-rhino.diff | 42 +++++++++++++++++++++++
buildfix_dict_parallel.diff | 20 +++++++++++
openoffice.install | 9 ++---
system_hsqldb.diff | 10 +++++
6 files changed, 122 insertions(+), 33 deletions(-)
Property changes on: openoffice-base-beta/repos/extra-x86_64
___________________________________________________________________
Name: svnmerge-integrated
- /openoffice-base-beta/trunk:1-12046
+ /openoffice-base-beta/trunk:1-12675
Modified: extra-x86_64/ChangeLog
===================================================================
--- extra-x86_64/ChangeLog 2008-09-18 07:16:32 UTC (rev 12675)
+++ extra-x86_64/ChangeLog 2008-09-18 07:17:11 UTC (rev 12676)
@@ -1,3 +1,12 @@
+openoffice-base-beta 3.0-ooo300_m6-1
+- build with system_hsqldb.diff
+- slightly modify dependencies
+- make dict deployement invisible
+- fix build with new openjdk6 with rhino
+- make sure /opt is clean after pkg removement
+- fix http://qa.openoffice.org/issues/show_bug.cgi?id=93391
+ took a diff against dev300_m31
+
openoffice-base-beta 3.0-ooo300_m5-2
- fixes desktop menu entries+icons
- enable build of all dictionaries
Deleted: extra-x86_64/FontOOo_1.7.1.sxw
===================================================================
(Binary files differ)
Modified: extra-x86_64/PKGBUILD
===================================================================
--- extra-x86_64/PKGBUILD 2008-09-18 07:16:32 UTC (rev 12675)
+++ extra-x86_64/PKGBUILD 2008-09-18 07:17:11 UTC (rev 12676)
@@ -2,22 +2,26 @@
# Contributor: Hussam Al-Tayeb <ht990332 at gmail.com>
pkgname=openoffice-base-beta
-pkgver=3.0_ooo300_m5 # =RC1
-pkgrel=2
+pkgver=3.0_ooo300_m6 # m5=RC1
+pkgrel=1
pkgdesc="OpenOffice.org - a free multiplatform and multilingual office suite"
arch=(i686 x86_64)
-#_OO_milestone=ooo300-m5
-_OO_milestone=OOO300_m5
+#_OO_milestone=ooo300-m6
+_OO_milestone=OOO300_m6
license=('LGPL3')
url="http://www.openoffice.org"
install=openoffice.install
depends=('curl>=7.18.0' 'hunspell>=1.2.2-2' 'python>=2.5.1' 'libwpd'
- 'libxaw' 'libcups' 'neon>=0.28.2' 'dbus-glib' 'pstoedit' 'icu>=4.0')
+ 'libxaw' 'neon>=0.28.2' 'dbus-glib' 'icu>=4.0' 'hsqldb-java')
+optdepends=('java-runtime: adds java support'
+ 'libcups: adds printing support'
+ 'gconf: adds additional gnome support'
+ 'nss: adds support for signed files/macros'
+ 'pstoedit: translates PostScript and PDF graphics into other vector formats')
makedepends=('bison' 'cvs' 'curl' 'findutils' 'flex' 'gawk' 'gcc-libs' 'libart-lgpl'
'pam' 'sane' 'zip' 'perl-archive-zip' 'pkgconfig' 'unzip' 'xulrunner>=1.9.0.1'
- 'boost' 'apache-ant' 'cairo' 'gperf' 'gconf' 'openjdk6>=1.2-1')
+ 'boost' 'apache-ant' 'cairo' 'gperf' 'libcups' 'pstoedit' 'gconf' 'openjdk6>=1.2-5')
provides=('openoffice-base')
-optdepends=("java-runtime: adds java support")
source=(${pkgname}-${_OO_milestone}.tar.gz
template.desktop
default-no-startup-wizard.diff
@@ -26,11 +30,11 @@
soffice-detect-mozilla-certificates.diff
buildfix-gcc43.diff
shell.patch
- #http://oooconv.free.fr/fontooo/FontOOo.sxw
- # from http://www.openoffice.org/issues/show_bug.cgi?id=81102
- FontOOo_1.7.1.sxw)
+ system_hsqldb.diff
+ buildfix-openjdk-6-no-rhino.diff
+ buildfix_dict_parallel.diff)
options=('!distcc' '!ccache' '!makeflags')
-md5sums=('3dd848a318bd3ed444c8b8f84bace96d'
+md5sums=('e3684b9314e4aaafe2b5edf23701d874'
'a247ba577007d8169201bd8f41cf41b5'
'71f136a31e296a04ab68932a31dd533e'
'6c596129fb48316226ce3adfd3a4c86d'
@@ -38,7 +42,9 @@
'1dc7480a04f572ad136d35923a2af66d'
'bf7119084a2d1e0566b5e34b57dce8eb'
'a51200f770c635355c430cc5052db8cf'
- '1fc1ca5205730655eab2d2e119aa06fe')
+ '4addae44d20bb2b247e429d88b66a4c1'
+ '4fe2810b40358b0e7dc2df3d056bde7a'
+ '991b4a9dac2e6b84c45fa6f0494dd41a')
# see ftp://ftp.linux.cz/pub/localization/OpenOffice.org/devel/build/build for upstream build instructions
@@ -54,8 +60,6 @@
# fetch missing modules
cvs -q -z9 co -r $_MILESTONE cppunit hyphen swext apache-commons tomcat reportbuilder
-
-
# just to make sure that it will detect the desired JDK/JVM - we want openjdk6
unset J2REDIR; unset J2SDKDIR; unset JAVA_HOME; unset CLASSPATH
[ -z "${JAVA_HOME}" ] && . /etc/profile.d/openjdk6.sh
@@ -71,6 +75,10 @@
# build fixes
patch -Np0 -i ${srcdir}/buildfix-gcc43.diff || return 1
+ patch -Np0 -i ${srcdir}/system_hsqldb.diff || return 1
+ patch -Np0 -i ${srcdir}/buildfix-openjdk-6-no-rhino.diff || return 1
+ # http://qa.openoffice.org/issues/show_bug.cgi?id=93391
+ patch -Np0 -i ${srcdir}/buildfix_dict_parallel.diff || return 1
# allows xmlsec to be able to read the format of the digital certificates.
patch -Np0 -i ${srcdir}/libxmlsec-findcerts.diff || return 1
@@ -78,7 +86,6 @@
# his digital certificates. Nss stores digital certificates in your mozilla firefox profile.
patch -Np0 -i ${srcdir}/soffice-detect-mozilla-certificates.diff || return 1
-
# important bugfixes
# try to fix non-gtk integration
patch -Np0 -i ${srcdir}/shell.patch || return 1
@@ -89,9 +96,9 @@
patch -Np0 -i ${srcdir}/default-system-fpicker.diff || return 1
if [ "$CARCH" = "x86_64" ]; then
- # fixes to build with SUN jdk/jre
+ # fix to build with SUN jdk/jre and OpenJDK
# http://qa.openoffice.org/issues/show_bug.cgi?id=74749
- sed -i "s:lib64\/libjpeg.so:lib\/libjpeg.so:g" ${srcdir}/solenv/inc/libs.mk
+ sed -i "s:lib64\/libjpeg.so:lib\/libjpeg.so:g" ${srcdir}/solenv/inc/libs.mk || return 1
fi
cd ${srcdir}/config_office
@@ -111,6 +118,7 @@
--with-dict=ALL\
--disable-gnome-vfs\
--disable-binfilter\
+ --disable-kde\
--disable-odk\
--disable-systray\
--disable-mathmldtd\
@@ -165,8 +173,7 @@
--with-use-shell=bash\
$EXTRAOPTS || return 1
-# --disable-qadevooo\
-# --without-myspell-dicts\
+# --disable-qadevooo\ http://www.openoffice.org/issues/show_bug.cgi?id=91452
cd ..
@@ -217,27 +224,27 @@
# install more dictionaries from source tree
for i in `ls -1 ${srcdir}/src/dictionaries/unxlngx6.pro/bin/dict-??.oxt`; do
- install -Dm644 $i ${pkgdir}/opt/openoffice/share/extension/install/$i
+ install -Dm644 $i ${pkgdir}/opt/openoffice/share/extension/install/$i || return 1
done
# install shortcuts
mv ${pkgdir}/opt/openoffice/share/xdg/*.desktop ${pkgdir}/usr/share/applications
cd ${pkgdir}/usr/share/applications
- sed -i -e 's|Exec=openoffice.org3|Exec=/opt/openoffice/program/soffice|g' *.desktop
- sed -i -e 's|Exec=/opt/openoffice/program/soffice-printeradmin|Exec=/opt/openoffice/program/spadmin|g' printeradmin.desktop
+ sed -i -e 's|Exec=openoffice.org3|Exec=/opt/openoffice/program/soffice|g' *.desktop || return 1
+ sed -i -e 's|Exec=/opt/openoffice/program/soffice-printeradmin|Exec=/opt/openoffice/program/spadmin|g' printeradmin.desktop || return 1
# fix exec commands in shortcuts for Xfce menu
- sed -i -e 's|base %U|base|g' base.desktop
- sed -i -e 's|calc %U|calc|g' calc.desktop
- sed -i -e 's|draw %U|draw|g' draw.desktop
- sed -i -e 's|impress %U|impress|g' impress.desktop
- sed -i -e 's|math %U|math|g' math.desktop
- sed -i -e 's|writer %U|writer|g' writer.desktop
+ sed -i -e 's|base %U|base|g' base.desktop || return 1
+ sed -i -e 's|calc %U|calc|g' calc.desktop || return 1
+ sed -i -e 's|draw %U|draw|g' draw.desktop || return 1
+ sed -i -e 's|impress %U|impress|g' impress.desktop || return 1
+ sed -i -e 's|math %U|math|g' math.desktop || return 1
+ sed -i -e 's|writer %U|writer|g' writer.desktop || return 1
# remove quickstarter, we disabled it above
rm -rf ${pkgdir}/usr/share/applications/qstart.desktop
# fix icons in shortcuts
sed -i -e 's|Icon=openofficeorg3-|Icon=|g' *.desktop
# add template desktop file
- install -D -m644 ${srcdir}/template.desktop ${pkgdir}/usr/share/applications/template.desktop
+ install -D -m644 ${srcdir}/template.desktop ${pkgdir}/usr/share/applications/template.desktop || return 1
# install icons
cd ${srcdir}/sysui/desktop/icons
Copied: openoffice-base-beta/repos/extra-x86_64/buildfix-openjdk-6-no-rhino.diff (from rev 12675, openoffice-base-beta/trunk/buildfix-openjdk-6-no-rhino.diff)
===================================================================
--- extra-x86_64/buildfix-openjdk-6-no-rhino.diff (rev 0)
+++ extra-x86_64/buildfix-openjdk-6-no-rhino.diff 2008-09-18 07:17:11 UTC (rev 12676)
@@ -0,0 +1,42 @@
+? unxlngx6.pro
+Index: rhino1_5R5.patch
+===================================================================
+RCS file: /cvs/external/rhino/rhino1_5R5.patch,v
+retrieving revision 1.3
+diff -u -r1.3 rhino1_5R5.patch
+--- rhino/rhino1_5R5.patch 11 Apr 2008 07:03:06 -0000 1.3
++++ rhino/rhino1_5R5.patch 12 Aug 2008 20:08:16 -0000
+@@ -1174,3 +1174,14 @@
+ PermissionCollection pc = Policy.getPolicy().getPermissions(cs);
+ return new ProtectionDomain(cs, pc);
+ }
++--- misc/rhino1_5R5/toolsrc/build.xml 2004-03-25 17:54:34.000000000 -0300
+++++ misc/build/rhino1_5R5/toolsrc/build.xml 2008-08-12 16:58:52.000000000 -0
++va Fri Mar 28 17:24:23 2008
++@@ -68,6 +32,7 @@
++ includes="org/**/*.java"
++ deprecation="on"
++ debug="${debug}">
+++ <compilerarg value="-Xbootclasspath:${java.home}/jre/lib/rt.jar"/>
++ </javac>
++ <copy todir="${nest}/${classes}">
++ <fileset dir="." includes="org/**/*.properties" />
+? unxlngx6.pro
+Index: java/build.xml
+===================================================================
+RCS file: /cvs/framework/scripting/java/build.xml,v
+retrieving revision 1.36
+diff -u -r1.36 build.xml
+--- scripting/java/build.xml 11 Apr 2008 09:46:13 -0000 1.36
++++ scripting/java/build.xml 12 Aug 2008 23:20:31 -0000
+@@ -85,7 +85,9 @@
+ <target name="compile" depends="prepare">
+ <javac srcdir="com" destdir="${jardir}"
+ includes="**/*.java" classpathref="idlclasspath"
+- debug="${debug}" optimize="${optimize}" deprecation="off"/>
++ debug="${debug}" optimize="${optimize}" deprecation="off">
++ <compilerarg value="-Xbootclasspath:${java.home}/jre/lib/rt.jar"/>
++ </javac>
+ <javac srcdir="Framework/" destdir="${jardir}"
+ includes="**/*.java" classpathref="idlclasspath" debug="${debug}"
+ optimize="${optimize}" deprecation="off">
Copied: openoffice-base-beta/repos/extra-x86_64/buildfix_dict_parallel.diff (from rev 12675, openoffice-base-beta/trunk/buildfix_dict_parallel.diff)
===================================================================
--- extra-x86_64/buildfix_dict_parallel.diff (rev 0)
+++ extra-x86_64/buildfix_dict_parallel.diff 2008-09-18 07:17:11 UTC (rev 12676)
@@ -0,0 +1,20 @@
+--- dictionaries/prj/build.lst 2008-08-15 10:41:08.000000000 +0000
++++ dictionaries/prj/build.lst.new 2008-09-17 16:11:22.000000000 +0000
+@@ -4,10 +4,10 @@
+ di dictionaries\cs_CZ nmake - all di_cs_CZ NULL
+ di dictionaries\da_DK nmake - all di_da_DK NULL
+ di dictionaries\de_AT nmake - all di_de_AT NULL
+-di dictionaries\de_CH nmake - all di_de_CH NULL
++di dictionaries\de_CH nmake - all di_de_CH di_de_AT NULL
+ di dictionaries\de_DE nmake - all di_de_DE di_de_AT di_de_CH NULL
+ di dictionaries\en_US nmake - all di_en_US NULL
+-di dictionaries\en_ZA nmake - all di_en_ZA NULL
++di dictionaries\en_ZA nmake - all di_en_ZA di_en_US NULL
+ di dictionaries\en_GB nmake - all di_en_GB di_en_US di_en_ZA NULL
+ di dictionaries\es_ES nmake - all di_es_ES NULL
+ di dictionaries\et_EE nmake - all di_et_EE NULL
+@@ -28,3 +28,4 @@
+ di dictionaries\sw_TZ nmake - all di_sw_TZ NULL
+ di dictionaries\vi nmake - all di_vi NULL
+ di dictionaries\zu_ZA nmake - all di_zu_ZA NULL
++
Modified: extra-x86_64/openoffice.install
===================================================================
--- extra-x86_64/openoffice.install 2008-09-18 07:16:32 UTC (rev 12675)
+++ extra-x86_64/openoffice.install 2008-09-18 07:17:11 UTC (rev 12676)
@@ -8,18 +8,16 @@
echo " Please preset Gnome appearance always with"
echo " \"export OOO_FORCE_DESKTOP=gnome\" even when"
echo " you are runnning a different desktop!"
-echo " or put it in /etc/profile, rc.local, or ~/.bashrc"
+echo " or put it in /etc/profile, ~/.bashrc or ~/.xprofile"
echo " ----------------------------------------------------"
echo " see http://wiki.archlinux.org/index.php/Openoffice"
echo " how to use extensions now for spell checking"
echo " see extension manager what is shipped in the package"
+echo " openoffice-spell-* packages are no longer required"
echo " ----------------------------------------------------"
-echo -ne " deploying dictionaries now"
for i in `ls -1 /opt/openoffice-beta/share/extension/install/dict-??.oxt`; do
- echo -n "."
/opt/openoffice-beta/program/unopkg add --shared --force $i &> /dev/null
done
-echo " "
}
post_upgrade() {
@@ -29,6 +27,9 @@
post_remove() {
update-desktop-database -q
gtk-update-icon-cache -f -q /usr/share/icons/hicolor
+
+# make sure everything is gone
+rm -rf /opt/openoffice-beta
}
op=$1
Copied: openoffice-base-beta/repos/extra-x86_64/system_hsqldb.diff (from rev 12675, openoffice-base-beta/trunk/system_hsqldb.diff)
===================================================================
--- extra-x86_64/system_hsqldb.diff (rev 0)
+++ extra-x86_64/system_hsqldb.diff 2008-09-18 07:17:11 UTC (rev 12676)
@@ -0,0 +1,10 @@
+--- connectivity/com/sun/star/sdbcx/comp/hsqldb/makefile.mk 2008-08-19
+05:08:34.000000000 -0400
++++ connectivity/com/sun/star/sdbcx/comp/hsqldb/makefile.mk 2008-08-31
+01:29:31.000000000 -0400
+@@ -44,4 +44,5 @@
+ .IF "$(SYSTEM_HSQLDB)" == "YES"
+ XCLASSPATH!:=$(XCLASSPATH)$(PATH_SEPERATOR)$(HSQLDB_JAR)
++JARFILES+= $(HSQLDB_JAR)
+ .ELSE
+ JARFILES+= hsqldb.jar
More information about the arch-commits
mailing list