[debian-edu-commits] debian-edu/italc.git (#92) - master (branch) updated: debian/1_2.0.0-2-11-ge41ef56

Mike Gabriel sunweaver at alioth.debian.org
Sat Aug 10 22:22:45 UTC 2013


The branch, master has been updated
       via  e41ef566ad1593adec0897e48dc3ffc763ac8f97 (commit)
      from  3f1083ba9867f1120becc9394b62ae17c8b330f3 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit e41ef566ad1593adec0897e48dc3ffc763ac8f97
Author: Mike Gabriel <mike.gabriel at das-netzwerkteam.de>
Date:   Sun Aug 11 00:22:06 2013 +0200

    /debian/rules: Re-build .ts and .qm files during build time to incorporate latest translation fixes.

-----------------------------------------------------------------------

Summary of changes:
 debian/changelog |    3 +++
 debian/rules     |    7 +++++++
 2 files changed, 10 insertions(+)

The diff of changes is:
diff --git a/debian/changelog b/debian/changelog
index b76f979..d251547 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -2,6 +2,9 @@ italc (1:2.0.0-3) UNRELEASED; urgency=low
 
   * /debian/control:
     + italc-client: Add adduser to Depends: field. (Closes: #707836).
+  * /debian/rules:
+    + Re-build .ts and .qm files during build time to incorporate
+      latest translation fixes.
   * Lintian issues:
     + Fix duplicate-in-relation-field in source build-depends: libxrandr-dev,
       libxrandr-dev.
diff --git a/debian/rules b/debian/rules
index 9d297bc..0cf6c4f 100755
--- a/debian/rules
+++ b/debian/rules
@@ -21,12 +21,19 @@ DEB_DH_SHLIBDEPS_ARGS_libitalccore = -L libItalcCore -l debian/libitalccore/usr/
 debian/italc.xpm: ima/data/italc.png
 	convert -resize 32 $< $@
 
+configure::
+	find lib/resources/ -name *.qm | while read qm; do mv $$qm $$qm.bak; done
+	find lib/resources/ -name *.ts | while read ts; do mv $$ts $$ts.bak; done
+	$(MAKE) update-locales
+
 common-install-arch:: debian/italc.xpm
 	install -D -m 644 debian/italc.xpm debian/italc-master/usr/share/pixmaps/italc.xpm
 	install -D -m 644 debian/config/iTALC.conf debian/italc-client/etc/xdg/iTALC\ Solutions/iTALC.conf
 	ln -s ../xdg/iTALC\ Solutions/iTALC.conf debian/italc-client/etc/italc/italc.conf
 
 clean::
+	find lib/resources/ -name *.qm.bak | while read qm; do mv $$qm $$(echo $$qm | sed 's/.bak//'); done
+	find lib/resources/ -name *.ts.bak | while read ts; do mv $$ts $$(echo $$ts | sed 's/.bak//'); done
 	rm -f debian/italc.xpm
 	rm -f lupus/config.log
 	rm -f lupus/config.status


hooks/post-receive
-- 
italc.git (Debian package italc)

This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "italc.git" (Debian package italc).




More information about the debian-edu-commits mailing list