[Bug 123025] Re: stop shipping static gconf translations, use gettext at runtime
** Changed in: gconf Status: Confirmed = Expired -- You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is subscribed to gconf in ubuntu. https://bugs.launchpad.net/bugs/123025 Title: stop shipping static gconf translations, use gettext at runtime -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 123025] Re: stop shipping static gconf translations, use gettext at runtime
** Changed in: gconf Importance: Unknown = Wishlist -- stop shipping static gconf translations, use gettext at runtime https://bugs.launchpad.net/bugs/123025 You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is subscribed to gconf in ubuntu. -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 123025] Re: stop shipping static gconf translations, use gettext at runtime
** Branch linked: lp:ubuntu/gconf -- stop shipping static gconf translations, use gettext at runtime https://bugs.launchpad.net/bugs/123025 You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is subscribed to gconf in ubuntu. -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 123025] Re: stop shipping static gconf translations, use gettext at runtime
** Branch linked: lp:ubuntu/gconf -- stop shipping static gconf translations, use gettext at runtime https://bugs.launchpad.net/bugs/123025 You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is subscribed to gconf in ubuntu. -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 123025] Re: stop shipping static gconf translations, use gettext at runtime
** Branch linked: lp:ubuntu/karmic/cdbs -- stop shipping static gconf translations, use gettext at runtime https://bugs.launchpad.net/bugs/123025 You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is subscribed to gconf in ubuntu. -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 123025] Re: stop shipping static gconf translations, use gettext at runtime
** Changed in: gconf Status: New = Confirmed -- stop shipping static gconf translations, use gettext at runtime https://bugs.launchpad.net/bugs/123025 You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is subscribed to gconf in ubuntu. -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 123025] Re: stop shipping static gconf translations, use gettext at runtime
the space should rather be used to ship translations -- stop shipping static gconf translations, use gettext at runtime https://bugs.launchpad.net/bugs/123025 You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is subscribed to gconf in ubuntu. -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 123025] Re: stop shipping static gconf translations, use gettext at runtime
Great news! This space (10 MB) could be used to easily fix #311389 (and brainstorm idea #13740, respectively) :) -- stop shipping static gconf translations, use gettext at runtime https://bugs.launchpad.net/bugs/123025 You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is subscribed to gconf in ubuntu. -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 123025] Re: stop shipping static gconf translations, use gettext at runtime
This also needs a corresponding change in our build system, to remove translations and add the gettext domain to .schemas files (similar to the already existing code in langpack.mk for .desktop/.server/.directory files). ** Also affects: cdbs (Ubuntu) Importance: Undecided Status: New ** Changed in: cdbs (Ubuntu) Assignee: (unassigned) = Martin Pitt (pitti) Status: New = In Progress -- stop shipping static gconf translations, use gettext at runtime https://bugs.launchpad.net/bugs/123025 You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is subscribed to gconf2 in ubuntu. -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 123025] Re: stop shipping static gconf translations, use gettext at runtime
Example: nautilus with static translations: /usr/share/gconf/schemas/apps_nautilus_preferences.schemas size: original: 1,957,761 bytes With patched cdbs: 43,430 bytes (Plus a similar amount of savings in /var/lib/gconf/defaults/*.xml) Size of nautilus-data.deb: original: 978,728 bytes with patched cdbs: 505,334 bytes -- stop shipping static gconf translations, use gettext at runtime https://bugs.launchpad.net/bugs/123025 You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is subscribed to gconf2 in ubuntu. -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 123025] Re: stop shipping static gconf translations, use gettext at runtime
I checked that the gconf patch does not have a measurable performance impact by measuring the time of GNOME startup (press enter in gdm until panel menu works). cold cache: - upstream gconf, per-lang tree: 76.7 s 75.5 s 75.0 s - patched gconf, per-lang tree: 77.1 s 74.8 s 74.9 s hot cache: - upstream gconf, per-lang tree: 28.0 s 28.1 s 28.1 s - patched gconf, per-lang tree: 28.0 s 28.3 s 28.1 s In theory, with a completely converted *.schemas tree, startup time should be faster, since gconfd-2 does not have to load and parse all the translated xml files any more. Getting descriptions is a relatively seldom operation and not needed at all for startup. If an application needs translations of its own gconf keys, its .mo file should already be loaded, thus the performance impact for this should be negligible. The only real performance impact that will probably happen is with gconf-editor, where you need lots of translations for many different keys. But first I don't expect this to actually be noticeable by users, and second this is well worth paying this price in exchange for the general space and time savings. ** Changed in: gconf2 (Ubuntu) Status: In Progress = Fix Committed -- stop shipping static gconf translations, use gettext at runtime https://bugs.launchpad.net/bugs/123025 You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is subscribed to gconf2 in ubuntu. -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 123025] Re: stop shipping static gconf translations, use gettext at runtime
http://bazaar.launchpad.net/~ubuntu-core-dev/cdbs/ubuntu/revision/106 ** Changed in: cdbs (Ubuntu) Status: In Progress = Fix Committed -- stop shipping static gconf translations, use gettext at runtime https://bugs.launchpad.net/bugs/123025 You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is subscribed to gconf2 in ubuntu. -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 123025] Re: stop shipping static gconf translations, use gettext at runtime
** Bug watch added: GNOME Bug Tracker #568845 http://bugzilla.gnome.org/show_bug.cgi?id=568845 ** Also affects: gconf via http://bugzilla.gnome.org/show_bug.cgi?id=568845 Importance: Unknown Status: Unknown -- stop shipping static gconf translations, use gettext at runtime https://bugs.launchpad.net/bugs/123025 You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is subscribed to gconf2 in ubuntu. -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 123025] Re: stop shipping static gconf translations, use gettext at runtime
** Changed in: gconf Status: Unknown = New -- stop shipping static gconf translations, use gettext at runtime https://bugs.launchpad.net/bugs/123025 You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is subscribed to gconf2 in ubuntu. -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 123025] Re: stop shipping static gconf translations, use gettext at runtime
gconf (2.25.0-0ubuntu1) jaunty; urgency=low * New upstream release: - Fix various format string warnings. - Sync saved state to disk before closing. - Add --search-key-regex option to gconftool. - Add --toggle option to gconftool. - Translation updates. * Add 01_xml-gettext-domain.patch: Support calling gettext at runtime and putting the gettext domain into the .schemas file instead of replicating translations in /usr/share/gconf/schemas/*.schemas *and* /var/lib/gconf/defaults/%gconf-tree- $LANG.xml. * Once all our *.schemas files will be converted, this will save ~ 90 MB uncompressed/10 MB compressed. (LP: #123025) -- Martin Pitt martin.p...@ubuntu.com Thu, 22 Jan 2009 20:19:12 +0100 ** Changed in: gconf (Ubuntu) Sourcepackagename: gconf2 = gconf Status: Fix Committed = Fix Released -- stop shipping static gconf translations, use gettext at runtime https://bugs.launchpad.net/bugs/123025 You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is subscribed to gconf in ubuntu. -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 123025] Re: stop shipping static gconf translations, use gettext at runtime
This bug was fixed in the package cdbs - 0.4.52ubuntu12 --- cdbs (0.4.52ubuntu12) jaunty; urgency=low * 1/rules/langpack.mk.in: Drop translations from gconf .schemas files, put in the gettext translation domain instead. gconf = 2.25.0-0ubuntu1 will use gettext() dynamically. Once all our *.schemas files will be converted, this will save ~ 90 MB uncompressed/10 MB compressed on a default Ubuntu installation. (LP: #123025) -- Martin Pitt martin.p...@ubuntu.com Fri, 23 Jan 2009 14:59:06 +0100 ** Changed in: cdbs (Ubuntu) Status: Fix Committed = Fix Released -- stop shipping static gconf translations, use gettext at runtime https://bugs.launchpad.net/bugs/123025 You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is subscribed to gconf2 in ubuntu. -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 123025] Re: stop shipping static gconf translations, use gettext at runtime
** Changed in: gconf2 (Ubuntu) Status: Triaged = In Progress -- stop shipping static gconf translations, use gettext at runtime https://bugs.launchpad.net/bugs/123025 You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is subscribed to gconf2 in ubuntu. -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 123025] Re: stop shipping static gconf translations, use gettext at runtime
** Changed in: gconf2 (Ubuntu) Assignee: Ubuntu Desktop Bugs (desktop-bugs) = Martin Pitt (pitti) ** Tags added: pet-bug -- stop shipping static gconf translations, use gettext at runtime https://bugs.launchpad.net/bugs/123025 You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is subscribed to gconf2 in ubuntu. -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 123025] Re: stop shipping static gconf translations, use gettext at runtime
** Changed in: gconf2 (Ubuntu) Status: Confirmed = Triaged -- stop shipping static gconf translations, use gettext at runtime https://bugs.launchpad.net/bugs/123025 You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is a bug assignee. -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 123025] Re: stop shipping static gconf translations, use gettext at runtime
The uncompressed 51 MB of /var/lib/gconf/defaults/ compress (with gzip -9) into 4.1 MB (excluding the main index %gconf-tree.xml, which we need to keep in modified form). /usr/share/gconf/schemas/ compresses into 4.6 MB. It is not easily possible to get exact data how much is covered by translations, but a rough guesstimation is 70%. So implementing this would give us about 7 MB on the live CD. -- stop shipping static gconf translations, use gettext at runtime https://bugs.launchpad.net/bugs/123025 You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is a bug assignee. -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 123025] Re: stop shipping static gconf translations, use gettext at runtime
** Tags added: saving-livecd-space -- stop shipping static gconf translations, use gettext at runtime https://bugs.launchpad.net/bugs/123025 You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is a bug assignee. -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 123025] Re: stop shipping static gconf translations, use gettext at runtime
** Changed in: gconf2 (Ubuntu) Assignee: (unassigned) = Ubuntu Desktop Bugs Status: New = Confirmed -- stop shipping static gconf translations, use gettext at runtime https://bugs.launchpad.net/bugs/123025 You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is a bug assignee. -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 123025] Re: stop shipping static gconf translations, use gettext at runtime
Oh, gconftool and gconf-editor probably just use libgconf2-4, so the translation is likely centralized in gconf_schema_get_{short,long}_desc(). ** Changed in: gconf2 (Ubuntu) Importance: Undecided = Wishlist -- stop shipping static gconf translations, use gettext at runtime https://bugs.launchpad.net/bugs/123025 You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is a bug contact for gconf2 in ubuntu. -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs