ooo-build r15278 - in trunk: . bin



Author: pmladek
Date: Mon Feb  2 18:21:12 2009
New Revision: 15278
URL: http://svn.gnome.org/viewvc/ooo-build?rev=15278&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:
   trunk/ChangeLog
   trunk/bin/package-ooo

Modified: trunk/bin/package-ooo
==============================================================================
--- trunk/bin/package-ooo	(original)
+++ trunk/bin/package-ooo	Mon Feb  2 18:21:12 2009
@@ -667,7 +667,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]