pkgsrc-WIP-discuss archive

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

Changing default behaviour of wip/xpi-quick_locale_switcher



Hi,

Is the following patch for wip/xpi-quick_locale_switcher is
acceptable?
With this patch, GUI locale is changed by default.
As you know, xpi-quick_locale_switcher does not change GUI
locale by default.

I feel this change is useful for firefox etc. users.

And if noone has objection, I want to import this package
as www/xpi-quick_locale_switcher.
Better location?

Thank you.

P.S.
Of course, this package should support ESR version of
mozilla.org products.

Index: Makefile
===================================================================
RCS file: /cvsroot/pkgsrc-wip/wip/xpi-quick_locale_switcher/Makefile,v
retrieving revision 1.2
diff -u -r1.2 Makefile
--- Makefile    19 Mar 2012 01:55:30 -0000      1.2
+++ Makefile    12 May 2012 13:02:17 -0000
@@ -27,6 +27,12 @@
 
 INSTALLATION_DIRS+=    ${EXTENSIONS_DIR}
 
+SUBST_CLASSES+=                gui
+SUBST_STAGE.gui=       pre-configure
+SUBST_MESSAGE.gui=     Change GUI locale by default
+SUBST_FILES.gui+=      defaults/preferences/prefs.js
+SUBST_SED.gui+=          -e 's/pref("extensions.qls.switch_gulocale", 
false);/pref("extensions.qls.switch_gulocale", true);/'
+
 do-install:
        cd ${WRKSRC} && pax -rw . ${DESTDIR}${PREFIX}/${XPI_DIR}
 .for app in ${XPI_APPS}

-- 
Ryo ONODERA // ryo_on%yk.rim.or.jp@localhost
PGP fingerprint = 82A2 DC91 76E0 A10A 8ABB  FD1B F404 27FA C7D1 15F3



------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
pkgsrc-wip-discuss mailing list
pkgsrc-wip-discuss%lists.sourceforge.net@localhost
https://lists.sourceforge.net/lists/listinfo/pkgsrc-wip-discuss


Home | Main Index | Thread Index | Old Index