[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

[SCM] LibreOffice packaging repository branch, ubuntu-oneiric-3.4, updated. libreoffice_3.4.2-2-178-geb0ac5b



The following commit has been merged in the ubuntu-oneiric-3.4 branch:
commit 584292cb47eb5ef879ce2afe76ed52807c50e118
Author: Bjoern Michaelsen <bjoern@kakadu.canonical.com>
Date:   Thu Aug 25 10:45:09 2011 +0000

    Revert "more armel stdlibs fixing"
    
    This reverts commit 98038de09c07c3b9563272662e662fddec6c51bc.
    
    Conflicts:
    
    	rules

diff --git a/rules b/rules
index 90fb5b2..4d305f2 100755
--- a/rules
+++ b/rules
@@ -292,7 +292,7 @@ HYPH_DIR=/usr/share/hyphen
 THES_DIR=/usr/share/mythes
 
 # Default flags to pass to configure of ooo-build
-CONFIGURE_FLAGS:= --disable-post-install-scripts \
+CONFIGURE_FLAGS= --disable-post-install-scripts \
                  --with-tag=$(TAG) \
                 --with-distro=$(PATCHSET) \
 		--with-vendor='$(OOO_VENDOR)' \
@@ -481,14 +481,9 @@ ifeq "$(DIST)" "Ubuntu"
   SYSTEM_STUFF := $(filter-out lucene, $(SYSTEM_STUFF))
   SYSTEM_STUFF := $(filter-out graphite, $(SYSTEM_STUFF))
 
-  ifeq ($(ARCH),armel)
-    INTERNAL_STDLIBS=y
-  endif
-
-  ifeq "$(ENABLE_LOMENUBAR) "y"
+  ifeq ($(ENABLE_LOMENUBAR),y)
     CONFIGURE_FLAGS += --enable-lomenubar
   endif
-
   # FIXME: smoketest fails, but we need the indep packages for the other archs
   # disabling for all archs to get rid of epm dependency
   RUN_SMOKETEST=n
@@ -580,11 +575,6 @@ ifeq "$(ENABLE_PDFIMPORT)" "y"
 	BUILD_DEPS += , libpoppler-dev (>= 0.8.0)
 endif
 
-ifeq "$(INTERNAL_STDLIBS)" "y"
-    CONFIGURE_FLAGS:=$(patsubst --with-system-stdlibs,--without-system-stdlibs,$(CONFIGURE_FLAGS))
-    SYSTEM_STUFF := $(filter-out stdlibs,$(SYSTEM_STUFF))
-endif
-
 # fails their tests
 ifeq "$(ARCH)" "armel"
 ENABLE_GRAPHITE=n
@@ -2738,6 +2728,18 @@ ifeq "$(PACKAGE_SDK)" "y"
 
 endif
 
+ifeq "$(INTERNAL_STDLIBS)" "y"
+	# we have to do this manually; specifying --without-system-stdlibs
+	# won't work because the odering of the configure arguments...
+	LIBSTDCPP=`readlink `PATH=$(BUILD_PATH) g++ --print-file-name=libstdc++.so``; \
+	LIBGCC=`readlink `PATH=$(BUILD_PATH) gcc --print-file-name=libgcc_s.so``; \
+	LIBSTDCPP_SOVER=`echo $$LIBSTDCPP | sed -e 's/.*\.//'`; \
+	LIBGCC_SOVER=`echo $$LIBGCC | sed -e 's/.*\.//'`; \
+	cp $$LIBSTDCPP debian/ure/$(OOUREDIR)/lib; \
+	cp $$LIBGCC debian/ure/$(OOUREDIR)/lib; \
+	echo "libstdc++	$$LIBSTDCPP_SOVER" > debian/shlibs.override.stdlibs; \
+	echo "libgcc_s	$$LIBGCC_SOVER" >> debian/shlibs.override.stdlibs
+endif
 ifeq "$(LINK_TO_STLPORT)" "y"
 	rm -f debian/ure/$(OOUREDIR)/lib/libstlport*
 	ln -s `readlink -f /usr/lib/libstlport_gcc.so` \

-- 
LibreOffice packaging repository


Reply to: