ooo-build r15277 - in branches/ooo-build-3-0-1: . bin



Author: pmladek
Date: Mon Feb  2 18:18:03 2009
New Revision: 15277
URL: http://svn.gnome.org/viewvc/ooo-build?rev=15277&view=rev

Log:
2009-02-02  Petr Mladek  <pmladek suse cz>

	* bin/package-ooo: some help content was in the lang subpackages; this fix
	  affects only Mandriva and some Novell builds



Modified:
   branches/ooo-build-3-0-1/ChangeLog
   branches/ooo-build-3-0-1/bin/package-ooo

Modified: branches/ooo-build-3-0-1/bin/package-ooo
==============================================================================
--- branches/ooo-build-3-0-1/bin/package-ooo	(original)
+++ branches/ooo-build-3-0-1/bin/package-ooo	Mon Feb  2 18:18:03 2009
@@ -660,7 +660,15 @@
 		    echo "%dir $OOINSTBASE" >$BUILDDIR/lang_${lang}_list.txt
 		    cat $lang_lists | sort -u >>$BUILDDIR/lang_${lang}_list.txt
 		fi
-
+		# some help files are in _Langpack_{Writer,Impress,...}_<lang>
+		# move them from -l10n to -help
+		if test "$VENDORNAME" = "Mandriva" -o \( "$VENDORNAME" = "Novell" -a "$SPLIT_APP_MODULES" = "YES" \) ; then
+		    for lang in `echo $OOO_LANGS_LIST | sed -e s/-/_/g`; do
+			test -f $BUILDDIR/help_${lang}_list.txt || continue;
+			mv_file_between_flists $BUILDDIR/help_${lang}_list.txt $BUILDDIR/lang_${lang}_list.txt $OOINSTBASE/basis$VERSION/help/.*
+			add_used_directories $BUILDDIR/help_${lang}_list.txt $BUILDDIR/lang_${lang}_list.txt
+		    done
+		fi
 	done
 
 	if test -f $BUILDDIR/lang_en_US_list.txt -a "$VENDORNAME" = "Novell" -a "$SPLIT_APP_MODULES" != "YES" ; then



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