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

Bug#987457: gutenprint-locales is empty



Control: tags -1 +patch +pending

Le samedi, 24 avril 2021, 11.10:04 h CEST Adrian Bunk a écrit :
> Package: gutenprint-locales
> Version: 5.3.1-7
> Severity: grave
> 
> $ dpkg -L gutenprint-locales

Hello Adrian,

I'm not sure I agree with the severity; but it certainly needs fixing!

I'm going to ask for an unblock with the following patch, feedback welcome.

--- a/debian/rules
+++ b/debian/rules
@@ -26,9 +26,15 @@ override_dh_auto_configure:
          $(MAINTAINER_MODE) \
          --enable-nls
 
+execute_after_dh_auto_build-indep:
+       # Build the gettext translations (#987457)
+       cd po && make update-gmo
+
 override_dh_install-indep:
        dh_install -i
        rm -f debian/gutenprint-locales/usr/share/locale/*/*.po
+       # Make sure at least some locales are installed (#987457)
+       test -n "$$(find debian/gutenprint-locales/usr/share/locale -name gutenprint.mo)"
 
 override_dh_installdocs:
        dh_installdocs -pescputil --link-doc=libgutenprint9


    OdyX

Attachment: signature.asc
Description: This is a digitally signed message part.


Reply to: