Hello Bilal,

sorry for the late response!

Bilal Akhtar wrote:

> The file po/vdr.pot should be removed after each build. Attached patch fixes
> bug.

Can you please explain why it should be removed? vdr.pot is already
removed in the clean target.

But there's another issue with the sample plugin's po-files, where
msgmerge add's a Language field.

The attached patch fixes this by avoiding the po updates.

Tobias
--- vdr-1.6.0.sik/debian/rules	2009-11-08 22:13:38.000000000 +0100
+++ vdr-1.6.0/debian/rules	2010-09-14 22:41:13.000000000 +0200
@@ -68,6 +68,8 @@
 
 	# build unoptimized vdr with debugging symbols
 	touch po/vdr.pot po/*.po
+	for plg in hello pictures skincurses; do touch "PLUGINS/src/$$plg/po/$$plg.pot"; \
+	  touch "PLUGINS/src/$$plg/po"/*.po; done
 	$(MAKE) all $(MAKE_OPTIONS) BUILDVDR=yes VDRDEBUG=yes DEB_BUILD_OPTIONS=nostrip,noopt
 	cp vdr vdr-dbg
 	$(MAKE) -o .dependencies clean $(MAKE_OPTIONS)

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to