[arch-commits] Commit in (7 files)

andyrtr at archlinux.org andyrtr at archlinux.org
Sat Apr 18 18:22:59 UTC 2009


    Date: Saturday, April 18, 2009 @ 14:22:59
  Author: andyrtr
Revision: 35946

new package go-openoffice

Added:
  go-openoffice/
  go-openoffice/repos/
  go-openoffice/trunk/
  go-openoffice/trunk/ArchLinux.patch
  go-openoffice/trunk/ChangeLog
  go-openoffice/trunk/PKGBUILD
  go-openoffice/trunk/go-openoffice.install

-----------------------+
 ArchLinux.patch       |  102 ++++++++++++++++++++++++++++++++++++++++
 ChangeLog             |    7 ++
 PKGBUILD              |  121 ++++++++++++++++++++++++++++++++++++++++++++++++
 go-openoffice.install |   23 +++++++++
 4 files changed, 253 insertions(+)

Added: go-openoffice/trunk/ArchLinux.patch
===================================================================
--- go-openoffice/trunk/ArchLinux.patch	                        (rev 0)
+++ go-openoffice/trunk/ArchLinux.patch	2009-04-18 18:22:59 UTC (rev 35946)
@@ -0,0 +1,102 @@
+--- configure.in	2009-04-07 19:03:29.000000000 +0000
++++ configure.in.new	2009-04-12 16:16:34.784307439 +0000
+@@ -596,6 +596,7 @@
+ AC_MSG_CHECKING([for vendor name based on the distribution name])
+ VENDORNAME=OpenOffice
+ case $DISTRO in
++        ArchLinux*) VENDORNAME="ArchLinux" ;;
+         Ark*) VENDORNAME="Ark" ;;
+         Debian*|Ubuntu*) VENDORNAME="Debian" ;;
+         Dropline*) VENDORNAME="DroplineGNOME" ;;
+@@ -1405,6 +1406,7 @@
+ desktop/mimetypes/32x32/Makefile
+ desktop/mimetypes/48x48/Makefile
+ distro-configs/Makefile
++distro-configs/ArchLinux.conf
+ distro-configs/Ark.conf
+ distro-configs/Common.conf
+ distro-configs/CommonLinux.conf
+--- distro-configs/ArchLinux.conf.in	2009-04-12 16:15:27.727986447 +0000
++++ distro-configs/ArchLinux.conf.in.new	2009-04-12 16:15:38.815068362 +0000
+@@ -0,0 +29 @@
++--with-vendor=\"the ArchLinux Linux team\"
++--disable-binfilter\
++--disable-fontooo \
++--disable-gnome-vfs \
++--enable-gio\
++--enable-gtk\
++--enable-cups\
++--enable-dbus\
++--enable-vba\
++--with-system-db\
++--with-system-curl\
++--with-system-expat\
++--with-system-freetype\
++--with-system-hunspell\
++--with-system-icu\
++--with-system-libwpd\
++--with-system-libxml\
++--with-system-libxslt\
++--with-system-mozilla=libxul\
++--with-system-neon\
++--with-system-python\
++--with-system-redland\
++--with-system-sane-header\
++--with-system-sndfile\
++--with-system-stdlibs\
++--with-system-xrender-headers\
++--with-system-zlib\
++--with-system-openssl\
++--with-system-odbc-headers \
+--- download.in	2009-03-23 16:46:47.000000000 +0000
++++ download.in.new	2009-04-12 16:24:32.250848107 +0000
+@@ -414,7 +414,8 @@
+ }
+ 
+ my $distro = '@DISTRO@';
+-if ($distro eq 'Ark' ||
++if ($distro eq 'ArchLinux' ||
++    $distro eq 'Ark' ||
+     $distro eq 'DroplineGNOME' ||
+     $distro eq 'Frugalware' || $distro eq 'Frugalware64' ||
+     $distro eq 'Gentoo.conf' ||
+--- distro-configs/Makefile.in	2009-04-07 21:03:32.000000000 +0200
++++ distro-configs/Makefile.in.new	2009-04-12 18:38:59.447428557 +0200
+@@ -30,7 +30,7 @@
+ PRE_UNINSTALL = :
+ POST_UNINSTALL = :
+ subdir = distro-configs
+-DIST_COMMON = $(srcdir)/Ark.conf.in $(srcdir)/Common.conf.in \
++DIST_COMMON = $(srcdir)/ArchLinux.conf.in $(srcdir)/Ark.conf.in $(srcdir)/Common.conf.in \
+ 	$(srcdir)/CommonLinux.conf.in $(srcdir)/CommonWin32.conf.in \
+ 	$(srcdir)/Debian.conf.in $(srcdir)/DebianEtch.conf.in \
+ 	$(srcdir)/DebianSarge.conf.in $(srcdir)/DroplineGNOME.conf.in \
+@@ -68,7 +68,7 @@
+ am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
+ 	$(ACLOCAL_M4)
+ mkinstalldirs = $(install_sh) -d
+-CONFIG_CLEAN_FILES = Ark.conf Common.conf CommonLinux.conf \
++CONFIG_CLEAN_FILES = ArchLinux.conf Ark.conf Common.conf CommonLinux.conf \
+ 	CommonWin32.conf GoOoWin32.conf DroplineGNOME.conf \
+ 	DroplineGNOME64.conf Debian.conf DebianEtch.conf \
+ 	DebianSarge.conf FSFhuLinux.conf FSFhuMacOSX.conf \
+@@ -315,6 +315,8 @@
+ 	cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
+ $(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps)
+ 	cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
++ArchLinux.conf: $(top_builddir)/config.status $(srcdir)/ArchLinux.conf.in
++	cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@
+ Ark.conf: $(top_builddir)/config.status $(srcdir)/Ark.conf.in
+ 	cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@
+ Common.conf: $(top_builddir)/config.status $(srcdir)/Common.conf.in
+--- patches/dev300/apply	2009-04-07 18:04:28.000000000 +0200
++++ patches/dev300/apply.new	2009-04-12 18:51:01.881522476 +0200
+@@ -114,6 +114,8 @@
+ rPathCommon: LinuxCommon, NotDebian, Lockdown, BerkeleyDB43, CairoFonts
+ rpl2: rPathCommon
+ rpl2-64: rPathCommon
++# ArchLinux  - maybe , Gcc43 , NotDebian
++ArchLinux: LinuxCommon
+ # Win32
+ Win32 : Win32Common
+ # translate.org.za

Added: go-openoffice/trunk/ChangeLog
===================================================================
--- go-openoffice/trunk/ChangeLog	                        (rev 0)
+++ go-openoffice/trunk/ChangeLog	2009-04-18 18:22:59 UTC (rev 35946)
@@ -0,0 +1,7 @@
+2009-04-04 Andreas Radke <andyrtr at archlinux.org>
+
+        * 3.0.99.4-1 :
+	initial ArchLinux pkg
+	based on the vanilla OOo-base-beta pkg
+	known issue: Xfce menu does not show icons
+	and dictionaries are not present
\ No newline at end of file

Added: go-openoffice/trunk/PKGBUILD
===================================================================
--- go-openoffice/trunk/PKGBUILD	                        (rev 0)
+++ go-openoffice/trunk/PKGBUILD	2009-04-18 18:22:59 UTC (rev 35946)
@@ -0,0 +1,121 @@
+# $Id$
+# Maintainer: AndyRTR <andyrtr at archlinux.org>
+
+pkgname=go-openoffice
+pkgver=3.0.99.4
+pkgrel=1
+pkgdesc="OpenOffice.org - go-oo.org enhanced version"
+arch=('i686' 'x86_64')
+_go_tree="OOO310"
+_dir=DEV300
+_ootag=ooo310-m9
+license=('LGPL3')
+url="http://www.openoffice.org"
+install=${pkgname}.install
+depends=("curl>=7.19.4" "hunspell>=1.2.8" "python>=2.6.1" 'libwpd' 'redland' 'gstreamer0.10-base-plugins>=0.10.22'
+         'libxaw' "neon>=0.28.3-2" "icu>=4.0-2" 'hsqldb-java' 'libxslt' 'desktop-file-utils')
+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=('automake' 'autoconf' 'wget' 'bison' 'findutils' 'flex' 'gawk' 'gcc-libs' 'libart-lgpl'
+	'pam' 'sane' 'perl-archive-zip' 'pkgconfig' 'unzip' "xulrunner>=1.9.0.8" 'apache-ant' 'cairo' 
+	'gperf' 'libcups' 'pstoedit' 'gconf' "openjdk6>=1.4" 'unixodbc') # 'boost' # 'libjpeg' 
+#?checking which polygon clipping code to use... internal
+	# extra 
+	# community saxon 
+provides=('openoffice-base')
+conflicts=('openoffice-base')
+_mirror="http://download.go-oo.org/"
+source=(${_mirror}/${_go_tree}/ooo-build-${pkgver}.tar.gz
+	ArchLinux.patch
+	http://download.go-oo.org//DEV300/ooo-cli-prebuilt-3.1.tar.bz2
+	http://cairographics.org/releases//cairo-1.4.10.tar.gz
+	http://download.go-oo.org//SRC680/mdbtools-0.6pre1.tar.gz
+	${_mirror}/${_go_tree}/${_ootag}-{artwork,base,bootstrap,calc,components,extras,filters,help,impress,libs-gui,libs-core,libs-extern,postprocess,sdk,testing,ure,writer,libs-extern-sys,extensions}.tar.bz2
+	http://download.go-oo.org//SRC680/extras-3.tar.bz2
+	http://download.go-oo.org//SRC680/biblio.tar.bz2
+	http://tools.openoffice.org/unowinreg_prebuild/680//unowinreg.dll
+	http://download.go-oo.org//DEV300/scsolver.2008-10-30.tar.bz2
+	http://download.go-oo.org//libwpd/libwpd-0.8.14.tar.gz
+	http://download.go-oo.org//SRC680/libwps-0.1.2.tar.gz
+	http://download.go-oo.org//SRC680/libwpg-0.1.3.tar.gz)
+#options=('!distcc' '!ccache' '!makeflags')
+noextract=(ooo-cli-prebuilt-3.1.tar.bz2 cairo-1.4.10.tar.gz mdbtools-0.6pre1.tar.gz
+	${_ootag}-{artwork,base,bootstrap,calc,components,extras,filters,help,impress,libs-gui,libs-core,libs-extern,postprocess,sdk,testing,ure,writer,libs-extern-sys,extensions}.tar.bz2
+	extras-3.tar.bz2 biblio.tar.bz2 unowinreg.dll scsolver.2008-10-30.tar.bz2 libwpd-0.8.14.tar.gz libwps-0.1.2.tar.gz libwpg-0.1.3.tar.gz)
+	
+build() {
+	cd ${srcdir}/ooo-build-${pkgver}
+	
+	# our ArchLinux distrivution patch until we get upstream
+	patch -Np0 -i ${srcdir}/ArchLinux.patch || return 1
+	autoreconf
+
+	export ARCH_FLAGS="${CXXFLAGS}"
+#	if [ "$CARCH" = "x86_64" ]; then
+#           EXTRAOPTS="--without-stlport"
+#	 else
+#	   EXTRAOPTS="--with-stlport"
+#	fi
+
+	./configure --with-distro=ArchLinux \
+		--with-build-version="${pkgver} ArchLinux build-${pkgrel} (${_OO_milestone})" \
+		--with-srcdir=${srcdir} \
+		--with-max-jobs=${MAKEFLAGS/-j/} \
+		--with-installed-ooo-dirname="${pkgname}-${pkgver}" \
+		--prefix=/usr --exec-prefix=/usr --sysconfdir=/etc \
+		--with-docdir=/usr/share/doc/packages/"${pkgname}-${pkgver}" \
+		--mandir=/usr/share/man \
+		--with-lang="en-US" \
+		--with-dict=ALL\
+		--disable-ldap \
+		--disable-kde\
+		--without-system-jpeg \
+		--disable-evolution2\
+		--disable-lockdown\
+		--disable-mediawiki\
+		--disable-minimizer\
+		--disable-odk\
+		--disable-pdfimport\
+		--disable-qadevooo\
+		--disable-reportdesign\
+		--disable-systray\
+		--disable-mathmldtd\
+		--enable-cairo\
+		--enable-crashdump\
+		--enable-verbose\
+		--with-package-format=native\
+		--with-system-cairo\
+		--without-fonts\
+		--without-afms\
+		--without-gpc\
+		--without-nas\
+		--with-jdk-home=${JAVA_HOME} \
+		--with-system-xerces \
+		--with-xerces-jar=/usr/share/java/xercesImpl.jar \
+		--with-system-xalan \
+		--with-xalan-jar=/usr/share/java/xalan.jar \
+		--with-system-xml-apis\
+		--with-xml-apis-jar=/usr/share/java/xml-apis.jar \
+	 	--with-system-hsqldb \
+		--with-hsqldb-jar=/usr/share/java/hsqldb.jar \
+		--with-serializer-jar=/usr/share/java/serializer.jar \
+		--with-use-shell=bash\
+		$EXTRAOPTS || return 1
+
+#	--with-system-jpeg\ # broken, see http://qa.openoffice.org/issues/show_bug.cgi?id=74749
+		
+	unset MAKEFLAGS
+	./download
+
+	make  || return 1
+
+#	bin/ooinstall ${pkgdir} || return 1
+	make DESTDIR=${pkgdir} install || return 1
+	
+	# fix broken soffice link
+	cd ${pkgdir}/usr/bin
+	ln -sfv ../lib/${pkgname}-${pkgver}/program/soffice soffice3.1
+}

Added: go-openoffice/trunk/go-openoffice.install
===================================================================
--- go-openoffice/trunk/go-openoffice.install	                        (rev 0)
+++ go-openoffice/trunk/go-openoffice.install	2009-04-18 18:22:59 UTC (rev 35946)
@@ -0,0 +1,23 @@
+post_install() {
+
+gtk-update-icon-cache -f -q /usr/share/icons/hicolor
+update-desktop-database -q
+
+echo " see http://wiki.archlinux.org/index.php/Openoffice"
+echo " how to use extensions, e.g. for spell checking"
+echo " see /opt/openoffice-dev/share/extension/install what"
+echo " is shipped with this package"
+}
+
+post_upgrade() {
+  post_install $1
+}
+
+post_remove() {
+update-desktop-database -q
+gtk-update-icon-cache -f -q /usr/share/icons/hicolor
+
+# make sure everything is gone, maybe someone has installed
+# extensions for all users using unopkg --shared
+#rm -rf /opt/openoffice-dev
+}




More information about the arch-commits mailing list