File libreoffice-build-3.2.99.2-extensions-hack.diff of Package libreoffice-bootstrap

--- patches/dev300/apply
+++ patches/dev300/apply
@@ -43,7 +43,7 @@
 # optional section for NLPSolver extension
 NLPSolver : NLPSolverBits
 # special fragmented build patch distro
-Piece : PieceBits
+Piece : PieceBits, ExtensionFixes, NovellOnlyExtensionFixes
 #Localize
 Localize : LocalizeFixes
 UnstableWP : UnstableLibwpd
@@ -2315,6 +2315,10 @@
 oox-drawingml-fix-apply-shape-reference-crash.diff, n#593611, rodo
 oox-smartart-import.diff, thorsten
 
+[ PieceBits ]
+piece-config-office-extensions.diff
+
+
 [ NovellOnlyWin32 ]
 sled10-splash.diff, i#123456, pmladek
 openlockedquerybox-alwaysontop.diff, n#656566, tml
--- patches/dev300/piece-config-office-extensions.diff
+++ patches/dev300/piece-config-office-extensions.diff
@@ -0,0 +1,79 @@
+--- configure.in.old	2010-03-05 21:33:20.000000000 +0100
++++ configure.in	2010-03-05 21:46:39.000000000 +0100
+@@ -4181,12 +4181,6 @@ AC_MSG_CHECKING([whether to build the My
+ if test -n "$enable_mysql_connector" -a "$enable_mysql_connector" != "no"; then
+   AC_MSG_RESULT([yes])
+   ENABLE_MYSQLC=YES
+-  AC_MSG_CHECKING([for mysqlc module])
+-  if test -d mysqlc; then
+-   AC_MSG_RESULT([OK])
+-  else
+-   AC_MSG_ERROR([not existing. get it (did you get the -extensions tarball?)])
+-  fi
+   BUILD_TYPE="$BUILD_TYPE MYSQLC"
+ else
+   AC_MSG_RESULT([no])
+@@ -4280,12 +4280,6 @@ int main(int argc, char **argv) {
+ 
+ else
+ 	AC_MSG_RESULT([internal])
+-        AC_MSG_CHECKING([for mysqlcppconn module])
+-        if test -d mysqlcppconn; then
+-          AC_MSG_RESULT([OK])
+-        else
+-          AC_MSG_ERROR([not existing. get it (did you get the -extensions tarball?)])
+-        fi
+ 	BUILD_TYPE="$BUILD_TYPE MYSQLCPPCONN"
+ 	SYSTEM_MYSQL_CPPCONN=NO
+ fi
+@@ -5985,24 +5985,12 @@ AC_SUBST(POPPLER_CFLAGS)
+ AC_SUBST(POPPLER_LIBS)
+ 
+ if test "$ENABLE_PRESENTER_SCREEN" = "YES" -o "$ENABLE_MINIMIZER" = "YES" -o "$ENABLE_PDFIMPORT" = "YES"; then
+-  AC_MSG_CHECKING([for sdext module])
+-  if test -d ./sdext; then
+-   AC_MSG_RESULT([OK])
+-  else
+-   AC_MSG_ERROR([not existing. get it (did you get the -extensions tarball?)])
+-  fi
+   BUILD_TYPE="$BUILD_TYPE SDEXT"
+ fi
+ 
+ AC_MSG_CHECKING([whether to build the Wiki Publisher extension])
+ if test -n "$enable_wiki_publisher" -a "$enable_wiki_publisher" != "no" && test  "$WITH_JAVA" != "no"; then
+   AC_MSG_RESULT([yes])
+-  AC_MSG_CHECKING([for swext module])
+-  if test -d ./swext; then
+-   AC_MSG_RESULT([OK])
+-  else
+-   AC_MSG_ERROR([not existing. get it (did you get the -extensions tarball?)])
+-  fi
+   ENABLE_MEDIAWIKI=YES
+   BUILD_TYPE="$BUILD_TYPE SWEXT"
+ else
+@@ -6034,12 +6022,6 @@ AC_MSG_CHECKING([whether to build the Re
+ if test -n "$enable_report_builder" -a "$enable_report_builder" != "no" && test "$WITH_JAVA" != "no"; then
+   AC_MSG_RESULT([yes])
+   ENABLE_REPORTBUILDER=YES
+-  AC_MSG_CHECKING([for reportbuilder module])
+-  if test -d ./reportbuilder; then
+-    AC_MSG_RESULT([OK])
+-  else
+-    AC_MSG_ERROR([not existing. get it (did you get the -extensions tarball?)])
+-  fi
+   AC_MSG_CHECKING([which jfreereport libs to use])
+   if test "$with_system_jfreereport" = "yes"; then
+    	SYSTEM_JFREEREPORT=YES
+@@ -6203,12 +6185,6 @@ if test -n "$enable_report_builder" -a "
+ 
+   else
+      AC_MSG_RESULT([internal])
+-     AC_MSG_CHECKING([for jfreereport module])
+-     if test -d ./jfreereport; then
+-      AC_MSG_RESULT([OK]) 
+-     else
+-      AC_MSG_ERROR([not existing. get it (did you get the -extensions tarball?)])
+-     fi
+      SYSTEM_JFREEREPORT=NO
+      BUILD_TYPE="$BUILD_TYPE JFREEREPORT"
+   fi
openSUSE Build Service is sponsored by