Package: openoffice.org
Version: 1:3.2.1-6
Severity: wishlist
Tags: patch sid
User: debian-powerpc...@breakpoint.cc
Usertags: powerpcspe

The patch attached adds some keywords to the rules file in order to
build it on powerpcspe.

After the build I saw:
|dpkg-genchanges: warning: package libuno-cli-basetypes1.0-cil in control file 
but not in files list
|dpkg-genchanges: warning: package libuno-cli-uretypes1.0-cil in control file 
but not in files list
|dpkg-genchanges: warning: package libuno-cli-oootypes1.0-cil in control file 
but not in files list
|dpkg-genchanges: warning: package libuno-cli-cppuhelper1.0-cil in control file 
but not in files list
|dpkg-genchanges: warning: package libuno-cli-ure1.0-cil in control file but 
not in files list
|dpkg-genchanges: warning: package openoffice.org-kab in control file but not 
in files list

I think that is "okay" because I don't have mono so I can't create the
all packages. However I'm unsure about openoffice.org-kab. That looks
like it could be built, couldn't it?

I started oowriter played with it a little with it and it seems that I
am bug compatible with powerpc:
With openjdk I can use the wizard but editing macros (image ->
properties -> macro TAB) crashes openjdk. With gcj it is the other way
around: editing macros works but the wizard goes to 100% cpu. Both
issues are allready reported to the BTS.

[0] http://wiki.debian.org/PowerPCSPEPort

Sebastian
>From 89d6aa67dbf1f3b2053a9746985aa91649f91217 Mon Sep 17 00:00:00 2001
From: Sebastian Andrzej Siewior <bige...@linutronix.de>
Date: Sat, 21 Aug 2010 18:16:15 +0000
Subject: [PATCH] Add powerpcspe

Signed-off-by: Sebastian Andrzej Siewior <bige...@linutronix.de>
---
 debian/rules                   |   22 +++++++++++++---------
 debian/scripts/vars.powerpcspe |    2 ++
 2 files changed, 15 insertions(+), 9 deletions(-)
 create mode 100644 debian/scripts/vars.powerpcspe

diff --git a/debian/rules b/debian/rules
index 399fb4e..8eaf7c1 100755
--- a/debian/rules
+++ b/debian/rules
@@ -114,7 +114,9 @@ endif
 PACKAGE_TTF_OPENSYMBOL=y
 ifneq "$(ARCH)" "powerpc"
   ifneq "$(ARCH)" "ppc64"
-    BUILD_JARS_NATIVE=y
+    ifneq "$(ARCH)" "powerpcspe"
+      BUILD_JARS_NATIVE=y
+    endif
  endif
 endif
 BUILD_BINFILTERS=y
@@ -404,7 +406,7 @@ endif
 
 ifeq "$(ENABLE_OPENGL)" "y"
 # doesn't make that much sense on arm(el) and mips(el), does it? :)
-OOO_OGLTRANS_ARCHS= i386 powerpc s390
+OOO_OGLTRANS_ARCHS= i386 powerpc powerpcspe s390
 ifeq "$(BUILD_KFREEBSD)" "y"
    OOO_OGLTRANS_ARCHS+= kfreebsd-i386
 endif
@@ -433,7 +435,7 @@ else
   OOO_OGLTRANS_ARCHS=
 endif
 
-OOO_ARCHS= i386 m68k mips mipsel powerpc s390
+OOO_ARCHS= i386 m68k mips mipsel powerpc powerpcspe s390
 ifeq "$(BUILD_KFREEBSD)" "y"
    OOO_ARCHS += kfreebsd-i386
 endif
@@ -472,7 +474,7 @@ ifeq "$(BUILD_SPARC)" "y"
 endif
 
 # Java...
-OOO_JAVA_ARCHS = i386 mips mipsel powerpc s390
+OOO_JAVA_ARCHS = i386 mips mipsel powerpc powerpcspe s390
 ifeq "$(BUILD_KFREEBSD)" "y"
    OOO_JAVA_ARCHS+= kfreebsd-i386
 endif
@@ -505,7 +507,7 @@ ifeq "$(BUILD_SPARC)" "y"
 endif
 
 # gcj does not work on ppc, so no need to build -gcj for it
-OOO_GCJ_ARCHS := $(filter-out ppc64,$(filter-out powerpc,$(OOO_JAVA_ARCHS)))
+OOO_GCJ_ARCHS := $(filter-out ppc64,$(filter-out powerpcspe,$(filter-out 
powerpc,$(OOO_JAVA_ARCHS))))
 
 OOO_GCJ_JDK_ARCHS := hppa ia64 kfreebsd-i386 kfreebsd-amd64 mips mipsel
 OOO_OPENJDK_ARCHS := $(filter-out $(OOO_GCJ_JDK_ARCHS),$(OOO_JAVA_ARCHS))
@@ -615,7 +617,7 @@ endif
 # Note that this does *NOT* only affect the mozilla plugin but also
 # stuff like the xmlsecurity (which uses nss). For the plugin only,
 # change the OOO_NPSOPLUGIN_ARCHS
-OOO_MOZILLA_ARCHS=i386 mips mipsel powerpc s390
+OOO_MOZILLA_ARCHS=i386 mips mipsel powerpc powerpcspe s390
 ifeq "$(BUILD_KFREEBSD)" "y"
    OOO_MOZILLA_ARCHS += kfreebsd-i386
 endif
@@ -884,7 +886,7 @@ ifeq "$(ENABLE_JAVA)" "y"
 #  ifneq (,$(GCJ_JAWT_DEPENDS))
 #      JAVA_RUNTIME_DEPENDS += | $(GCJ_JAWT_DEPENDS)
 #  endif
-  ifneq (,$(filter $(ARCH), alpha amd64 i386 m68k mips mipsel powerpc s390 
sparc))
+  ifneq (,$(filter $(ARCH), alpha amd64 i386 m68k mips mipsel powerpc 
powerpcspe s390 sparc))
        JAVA_RUNTIME_DEPENDS += | openjdk-6-jre
   endif
   ifneq (,$(filter $(ARCH), amd64 i386))
diff --git a/debian/scripts/vars.powerpcspe b/debian/scripts/vars.powerpcspe
new file mode 100644
index 0000000..550c2b3
--- /dev/null
+++ b/debian/scripts/vars.powerpcspe
@@ -0,0 +1,2 @@
+LIBSUFFIX=lp
+PLATFORMID=linux_powerpc
-- 
1.7.1

Reply via email to