Date: prev next · Thread: first prev next last
2010 Archives by date, by thread · List index


Hello,

I've started to work on a LibreOffice port for OpenBSD and i'd like to
start pushing my diffs slowly, here is the first one.

diff --git a/bin/build-ooo b/bin/build-ooo
index 1f10182..361e8f0 100755
--- a/bin/build-ooo
+++ b/bin/build-ooo
@@ -11,7 +11,7 @@ fi
 
 export TARFILE_LOCATION
 
-if test "z$BUILD_WIN32" = "z" -a "z`uname -s`" != "zSunOS" -a "z`uname -s`" != "zDarwin"; then
+if test "z$BUILD_WIN32" = "z" -a "z`uname -s`" != "zSunOS" -a "z`uname -s`" != "zDarwin"; -a 
"z`uname -s`" != "zOpenBSD"; then
     if ! test -f /proc/cpuinfo; then
         echo "Looks like proc isn't mounted - this means almost certain"
         echo "Java related weird build failure: please check /proc"
diff --git a/bin/piece/unpack-extras b/bin/piece/unpack-extras
index 4accc63..ed8dd43 100755
--- a/bin/piece/unpack-extras
+++ b/bin/piece/unpack-extras
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/env bash
 
 TOOLSDIR=$1
 OOBUILDDIR=$2
diff --git a/configure.in b/configure.in
index 523104b..8152913 100755
--- a/configure.in
+++ b/configure.in
@@ -673,6 +673,9 @@ $distros_list])
         if test "z`uname -s`" = "zDarwin"; then
             DISTRO="LibreOfficeMacOSX"
         fi
+        if test "z`uname -s`" = "zOpenBSD"; then
+            DISTRO="LibreOfficeOpenBSD"
+        fi
         ;;
     NLD) DISTRO="SUSE"
         ;;
@@ -696,6 +699,7 @@ case $DISTRO in
         Dropline*) VENDORNAME="DroplineGNOME" ;;
         Frugalware*) VENDORNAME="Frugalware" ;;
         Gentoo*) VENDORNAME="Gentoo" ;;
+        LibreOfficeOpenBSD) VENDORNAME="The OpenBSD project" ;;
         LibreOffice*) VENDORNAME="The Document Foundation" ;;
         Mandriva*) VENDORNAME="Mandriva" ;;
         Pardus*) VENDORNAME="Pardus" ;;
@@ -1685,6 +1689,7 @@ distro-configs/LibreOfficeWin32.conf
 distro-configs/LibreOfficeLinux.conf
 distro-configs/LibreOfficeLinuxDevel.conf
 distro-configs/LibreOfficeMacOSX.conf
+distro-configs/LibreOfficeOpenBSD.conf
 etc/Makefile
 extensions/Makefile
 extensions/tweakconfig/Makefile
diff --git a/download.in b/download.in
index ed63c30..f65d128 100755
--- a/download.in
+++ b/download.in
@@ -424,6 +424,7 @@ my %requires_ant = (
     LibreOfficeLinuxDevel => 1,
     LibreOfficeWin32      => 1,
     LibreOfficeMacOSX     => 1,
+    LibreOfficeOpenBSD    => 1,
 );
 if ('@BUILD_WIN32@' || $requires_ant{@DISTRO@})
 {
diff --git a/patches/dev300/apply b/patches/dev300/apply
index b38bc23..fc8d197 100755
--- a/patches/dev300/apply
+++ b/patches/dev300/apply
@@ -150,6 +150,7 @@ LibreOfficeWin32: LibreOfficeCommon LibreOfficePatches LibreOfficeWin32Patches
 LibreOfficeLinux: LibreOfficeCommon LibreOfficePatches LibreOfficeLinuxPatches
 LibreOfficeLinuxDevel: LibreOfficeCommon LibreOfficePatches LibreOfficeLinuxPatches
 LibreOfficeMacOSX: LibreOfficeCommon LibreOfficePatches LibreOfficeMacOSXPatches
+LibreOfficeOpenBSD: LibreOfficeCommon LibreOfficePatches LibreOfficeOpenBSDPatches
 
 # -------- [ Tag [ >= <tag> etc. ], ] patch sets --------
 
diff --git a/distro-configs/LibreOfficeOpenBSD.conf.in b/distro-configs/LibreOfficeOpenBSD.conf.in
new file mode 100644
index 0000000..f3e62c6
--- /dev/null
+++ b/distro-configs/LibreOfficeOpenBSD.conf.in
@@ -0,0 +1,56 @@
+--with-vendor=\"The OpenBSD project\"
+--disable-dbus
+--disable-kde4
+--enable-cairo
+--with-system-cairo
+--enable-gstreamer
+--disable-odk
+--enable-binfilter
+--enable-gnome-vfs
+--enable-hids
+--enable-lockdown
+--disable-opengl
+--with-java-target-version=1.5
+--with-jdk-home=/usr/local/jdk-1.5.0
+--with-myspell-dicts
+--enable-epm
+--disable-kde
+--disable-mozilla
+--disable-build-mozilla
+--disable-nss-module
+--without-system-mozilla
+--with-system-freetype
+--with-system-jpeg
+--with-system-libxml
+--with-system-libxslt
+--with-system-python
+--with-system-zlib
+--with-system-jars
+--with-system-stdlibs
+--disable-crypt-link
+--disable-pam-link
+--disable-xrender-link
+--disable-randr-link
+--without-openldap
+--with-system-xrender-headers
+--with-system-mesa-headers
+--without-unix-wrapper
+--with-fonts
+--enable-minimizer
+--enable-presenter-console
+--enable-pdfimport
+--with-system-poppler
+--enable-wiki-publisher
+--enable-report-builder
+--with-extension-integration
+--with-linker-hash-style=both
+--with-ant-home=/usr/local/ant/lib
+--with-dict=ALL
+--with-lang=en_US
+--with-system-openssl
+--disable-unix-qstart
+--enable-broffice
+--disable-pasf
+--with-alloc=system
+--without-junit
+--with-gnu-cp=/usr/local/bin/gcp

Context


Privacy Policy | Impressum (Legal Info) | Copyright information: Unless otherwise specified, all text and images on this website are licensed under the Creative Commons Attribution-Share Alike 3.0 License. This does not include the source code of LibreOffice, which is licensed under the Mozilla Public License (MPLv2). "LibreOffice" and "The Document Foundation" are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our trademark policy.