UbuntuPackagingChanges

Differences between revisions 2 and 10 (spanning 8 versions)
Revision 2 as of 2006-06-23 14:54:46
Size: 2086
Editor: ALagny-109-1-9-177
Comment: add links to Transitions and EasierMotuing
Revision 10 as of 2007-01-26 16:31:45
Size: 5176
Editor: scandic759
Comment: add langpacks
Deletions are marked like this. Additions are marked like this.
Line 22: Line 22:
|| '''Keywords''' || ||
|| '''Affected Packages''' || ||
|| '''Rationale''' || ||
|| '''Status''' || ||
|| '''Release''' || ||
|| '''Keywords''' || translations ||
|| '''Affected Packages''' || All packages with message files (gettext, GSI) ||
|| '''Rationale''' || Seperate all translations for one language in its own set of packages; it should be possible to update translations in stable releases without changing the binary application packages. ||
|| '''Status''' || Implemented. ||
|| '''Release''' || Ubuntu 5.04 (hoary) for gettext, Ubuntu 6.06 (dapper) for GSI ||
Line 30: Line 30:
See MataroSessionsWorkshops/LanguagePacks for an early specification.
Line 32: Line 34:
Nothing needs to be done in the source package. To see the effects of stripping the translations, install the pkgbinarymangler for the build of the package.
Line 35: Line 38:
|| '''Keywords''' || ||
|| '''Affected Packages''' || ||
|| '''Rationale''' || ||
|| '''Status''' || ||
|| '''Release''' || ||
|| '''Keywords''' || Call dh_iconcache in the binary target of debian/rules ||
|| '''Affected Packages''' || All packages installing files into /usr/share/icons. Exceptions: All packages build-depending on cdbs and using either the gnome.mk, kde.mk or xfce.mk cdbs classes. ||
|| '''Rationale''' || The use of the gtk icon cache speeds up loading times, makes the desktop experience snappier. Memory usage goes down. ||
|| '''Status''' || Implemented; change forwarded to Debian (http://bugs.debian.org/369755) ||
|| '''Release''' || Ubuntu 6.06 (dapper) or newer ||
Line 43: Line 46:
See DhIconCacheChanges and https://lists.ubuntu.com/archives/ubuntu-devel/2006-April/017061.html
Line 44: Line 49:

Make sure that dh_iconcache is called in debian/rules for every binary package installing file sin /usr/share/icons.
Line 48: Line 55:
|| '''Keywords''' || ||
|| '''Affected Packages''' || ||
|| '''Rationale''' || ||
|| '''Status''' || ||
|| '''Release''' || ||
|| '''Keywords''' || desktop, menu ||
|| '''Affected Packages''' || packages in main with applications showing up in the desktop menu, which should be hidden by default||
|| '''Rationale''' || See MenusRevisited ||
|| '''Status''' || Implemented. ||
|| '''Release''' || Ubuntu 6.06 (dapper) or newer ||
Line 56: Line 63:
See MenusRevisited
Line 57: Line 66:

Do not delete the .desktop files in those packages, but add an extra line "NoDisplay=True" to the desktop file.
Line 61: Line 72:
|| '''Keywords''' || ||
|| '''Affected Packages''' || ||
|| '''Rationale''' || ||
XXX Needs update for upstart.

|| '''Keywords''' || startup scripts, upstart, init, boot messages ||
|| '''Affected Packages''' || All packages in main displaying messages in their startup and shutdown scripts ||
|| '''Rationale''' || The lsb_functions display as well on the console as on the frame buffer used for the startup ||
Line 74: Line 87:
|| '''Keywords''' || ||
|| '''Affected Packages''' || ||
|| '''Rationale''' || ||
|| '''Status''' || ||
|| '''Release''' || ||
|| '''Keywords''' || branding, distribution ||
|| '''Affected Packages''' || All packages in main with a visible distribution name ||
|| '''Rationale''' || Users should not be mislead by distribution names unrelated to Ubuntu ||
|| '''Status''' || Mostly implemented; needs updating/checking for new packages ||
|| '''Release''' || Ubuntu 5.04 (hoary), and later ||
Line 82: Line 95:
Packages showing the distribution name or logo either in logs, error messages or about dialogs (and similiar) should have use the name "Ubuntu"; this name should be used for Kubuntu and Xubuntu as well.
Line 84: Line 99:
Add a patch to the package changing the distribution name. Instead of hardcoding the name, the output of "lsb_release -is" can be used (adding a build dependency on lsb-release) as well.
Line 87: Line 103:
|| '''Keywords''' || ||
|| '''Affected Packages''' || ||
|| '''Rationale''' || ||
|| '''Status''' || ||
|| '''Release''' || ||
|| '''Keywords''' || launchpad, launchpad-integration, get help, translate ||
|| '''Affected Packages''' || All Gnome and KDE packages in main that have a menu bar. ||
|| '''Rationale''' || To provide an easy and straight forward way for users to translate, and access online help from desktop applications. ||
|| '''Status''' || Implemented ||
|| '''Release''' || Ubuntu 5.04 (hoary), and later ||
Line 95: Line 111:
See LaunchpadIntegrationBeforeBOF.
Line 97: Line 115:
See LaunchpadIntegrationBeforeBOF.
Line 113: Line 132:
|| '''Keywords''' || ||
|| '''Affected Packages''' || ||
|| '''Rationale''' || ||
|| '''Status''' || ||
|| '''Release''' || ||
|| '''Keywords''' || desktop, menu, hig ||
|| '''Affected Packages''' || Packages in main with desktop entries ||
|| '''Rationale''' || Have a consistent naming for all menu entries ||
|| '''Status''' || Mostly implemented ||
|| '''Release''' || Ubuntu 6.06 (dapper), and later ||
Line 121: Line 140:
http://developer.gnome.org/projects/gup/hig/2.0/desktop-integration.html#desktop-application-menu
Line 122: Line 143:

Change the desktop files and dependent files (generated .pot and .po files).

Table Of Contents

Other information sources for larger changes are [:MOTU/Transitions] and EasierMotuing. Each entry in [:MOTU/Transitions] should have a short entry here.

TableOfContents(2)

Template

Keywords

Affected Packages

Rationale

Status

Release

Description

Instructions

Langpacks

Keywords

translations

Affected Packages

All packages with message files (gettext, GSI)

Rationale

Seperate all translations for one language in its own set of packages; it should be possible to update translations in stable releases without changing the binary application packages.

Status

Implemented.

Release

Ubuntu 5.04 (hoary) for gettext, Ubuntu 6.06 (dapper) for GSI

Description

See MataroSessionsWorkshops/LanguagePacks for an early specification.

Instructions

Nothing needs to be done in the source package. To see the effects of stripping the translations, install the pkgbinarymangler for the build of the package.

dh_iconcache

Keywords

Call dh_iconcache in the binary target of debian/rules

Affected Packages

All packages installing files into /usr/share/icons. Exceptions: All packages build-depending on cdbs and using either the gnome.mk, kde.mk or xfce.mk cdbs classes.

Rationale

The use of the gtk icon cache speeds up loading times, makes the desktop experience snappier. Memory usage goes down.

Status

Implemented; change forwarded to Debian (http://bugs.debian.org/369755)

Release

Ubuntu 6.06 (dapper) or newer

Description

See DhIconCacheChanges and https://lists.ubuntu.com/archives/ubuntu-devel/2006-April/017061.html

Instructions

Make sure that dh_iconcache is called in debian/rules for every binary package installing file sin /usr/share/icons.

Desktop Files

Keywords

desktop, menu

Affected Packages

packages in main with applications showing up in the desktop menu, which should be hidden by default

Rationale

See MenusRevisited

Status

Implemented.

Release

Ubuntu 6.06 (dapper) or newer

Description

See MenusRevisited

Instructions

Do not delete the .desktop files in those packages, but add an extra line "NoDisplay=True" to the desktop file.

lsb_* functions in initscripts

XXX Needs update for upstart.

Keywords

startup scripts, upstart, init, boot messages

Affected Packages

All packages in main displaying messages in their startup and shutdown scripts

Rationale

The lsb_functions display as well on the console as on the frame buffer used for the startup

Status

Release

Description

Instructions

Branding

Keywords

branding, distribution

Affected Packages

All packages in main with a visible distribution name

Rationale

Users should not be mislead by distribution names unrelated to Ubuntu

Status

Mostly implemented; needs updating/checking for new packages

Release

Ubuntu 5.04 (hoary), and later

Description

Packages showing the distribution name or logo either in logs, error messages or about dialogs (and similiar) should have use the name "Ubuntu"; this name should be used for Kubuntu and Xubuntu as well.

Instructions

Add a patch to the package changing the distribution name. Instead of hardcoding the name, the output of "lsb_release -is" can be used (adding a build dependency on lsb-release) as well.

Launchpad Integration

Keywords

launchpad, launchpad-integration, get help, translate

Affected Packages

All Gnome and KDE packages in main that have a menu bar.

Rationale

To provide an easy and straight forward way for users to translate, and access online help from desktop applications.

Status

Implemented

Release

Ubuntu 5.04 (hoary), and later

Description

See LaunchpadIntegrationBeforeBOF.

Instructions

See LaunchpadIntegrationBeforeBOF.

Library Dependencies

Keywords

Affected Packages

Rationale

Status

Release

Description

Instructions

Naming of Menu Entries

Keywords

desktop, menu, hig

Affected Packages

Packages in main with desktop entries

Rationale

Have a consistent naming for all menu entries

Status

Mostly implemented

Release

Ubuntu 6.06 (dapper), and later

Description

http://developer.gnome.org/projects/gup/hig/2.0/desktop-integration.html#desktop-application-menu

Instructions

Change the desktop files and dependent files (generated .pot and .po files).

UbuntuPackagingChanges (last edited 2012-08-21 20:54:40 by jbicha)