SOURCES: xfsprogs-po.patch (NEW) - add pl to LINGUAS - update XGET...

qboosh qboosh at pld-linux.org
Sat Jan 21 20:56:46 CET 2006


Author: qboosh                       Date: Sat Jan 21 19:56:46 2006 GMT
Module: SOURCES                       Tag: HEAD
---- Log message:
- add pl to LINGUAS
- update XGETTEXTFILES list
- fix non-constant static initializers on gettext-enabled build

---- Files affected:
SOURCES:
   xfsprogs-po.patch (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: SOURCES/xfsprogs-po.patch
diff -u /dev/null SOURCES/xfsprogs-po.patch:1.1
--- /dev/null	Sat Jan 21 20:56:46 2006
+++ SOURCES/xfsprogs-po.patch	Sat Jan 21 20:56:41 2006
@@ -0,0 +1,101 @@
+--- xfsprogs-2.7.10/po/Makefile.orig	2006-01-14 19:17:22.717637750 +0100
++++ xfsprogs-2.7.10/po/Makefile	2006-01-14 19:28:41.960087750 +0100
+@@ -6,39 +6,49 @@
+ include $(TOPDIR)/include/builddefs
+ 
+ # Currently LINGUAS is undefined, so buildmacros provides no targets.
+-LINGUAS =
++LINGUAS = pl
+ LSRCFILES = $(LINGUAS:%=%.po) $(PKG_NAME).pot
+ 
+ # TODO: db/ logprint/
+ XGETTEXTFILES =	\
+-		$(TOPDIR)/growfs/explore.c \
++		$(TOPDIR)/copy/xfs_copy.c \
+ 		$(TOPDIR)/growfs/xfs_growfs.c \
+-		$(TOPDIR)/imap/xfs_imap.c \
++		$(TOPDIR)/io/attr.c \
+ 		$(TOPDIR)/io/bmap.c \
+-		$(TOPDIR)/io/command.c \
+ 		$(TOPDIR)/io/fadvise.c \
+ 		$(TOPDIR)/io/file.c \
+ 		$(TOPDIR)/io/freeze.c \
+ 		$(TOPDIR)/io/fsync.c \
+-		$(TOPDIR)/io/help.c \
++		$(TOPDIR)/io/getrusage.c \
++		$(TOPDIR)/io/imap.c \
+ 		$(TOPDIR)/io/init.c \
+ 		$(TOPDIR)/io/inject.c \
+-		$(TOPDIR)/io/input.c \
++		$(TOPDIR)/io/madvise.c \
++		$(TOPDIR)/io/mincore.c \
+ 		$(TOPDIR)/io/mmap.c \
+ 		$(TOPDIR)/io/open.c \
++		$(TOPDIR)/io/parent.c \
+ 		$(TOPDIR)/io/pread.c \
+ 		$(TOPDIR)/io/prealloc.c \
+ 		$(TOPDIR)/io/pwrite.c \
+-		$(TOPDIR)/io/quit.c \
+ 		$(TOPDIR)/io/resblks.c \
++		$(TOPDIR)/io/sendfile.c \
+ 		$(TOPDIR)/io/shutdown.c \
+ 		$(TOPDIR)/io/truncate.c \
+-		$(TOPDIR)/mkfile/xfs_mkfile.c \
+-		$(TOPDIR)/mkfs/proto.c \
+-		$(TOPDIR)/mkfs/xfs_mkfs.c \
++		$(TOPDIR)/libdisk/dm.c \
+ 		$(TOPDIR)/libdisk/drivers.c \
++		$(TOPDIR)/libdisk/evms.c \
++		$(TOPDIR)/libdisk/fstype.c \
+ 		$(TOPDIR)/libdisk/lvm.c \
+ 		$(TOPDIR)/libdisk/md.c \
++		$(TOPDIR)/libdisk/pttype.c \
++		$(TOPDIR)/libdisk/xvm.c \
++		$(TOPDIR)/libxcmd/command.c \
++		$(TOPDIR)/libxcmd/help.c \
++		$(TOPDIR)/libxcmd/input.c \
++		$(TOPDIR)/libxcmd/paths.c \
++		$(TOPDIR)/libxcmd/projects.c \
++		$(TOPDIR)/libxcmd/quit.c \
+ 		$(TOPDIR)/libxfs/darwin.c \
+ 		$(TOPDIR)/libxfs/freebsd.c \
+ 		$(TOPDIR)/libxfs/init.c \
+@@ -48,6 +58,18 @@
+ 		$(TOPDIR)/libxfs/trans.c \
+ 		$(TOPDIR)/libxfs/util.c \
+ 		$(TOPDIR)/libxlog/util.c \
++		$(TOPDIR)/mkfs/proto.c \
++		$(TOPDIR)/mkfs/xfs_mkfs.c \
++		$(TOPDIR)/quota/edit.c \
++		$(TOPDIR)/quota/free.c \
++		$(TOPDIR)/quota/init.c \
++		$(TOPDIR)/quota/path.c \
++		$(TOPDIR)/quota/project.c \
++		$(TOPDIR)/quota/quot.c \
++		$(TOPDIR)/quota/quota.c \
++		$(TOPDIR)/quota/report.c \
++		$(TOPDIR)/quota/state.c \
++		$(TOPDIR)/quota/util.c \
+ 		$(TOPDIR)/repair/agheader.c \
+ 		$(TOPDIR)/repair/attr_repair.c \
+ 		$(TOPDIR)/repair/avl.c \
+--- xfsprogs-2.7.11/quota/util.c.orig	2006-01-17 04:46:52.000000000 +0100
++++ xfsprogs-2.7.11/quota/util.c	2006-01-21 19:41:12.312619500 +0100
+@@ -190,7 +190,7 @@
+ form_to_string(
+ 	uint		form)
+ {
+-	static char	*forms[] = {
++	char	*forms[] = {
+ 		_("Blocks"), _("Inodes"), _("Realtime Blocks") };
+ 
+ 	if (form & XFS_BLOCK_QUOTA)
+@@ -206,7 +206,7 @@
+ type_to_string(
+ 	uint		type)
+ {
+-	static char	*types[] = { _("User"), _("Group"), _("Project") };
++	char	*types[] = { _("User"), _("Group"), _("Project") };
+ 
+ 	if (type & XFS_USER_QUOTA)
+ 		return types[0];
================================================================


More information about the pld-cvs-commit mailing list