GnomeAppInstallDesktopDatabaseUpdate

Differences between revisions 2 and 6 (spanning 4 versions)
Revision 2 as of 2006-10-05 06:25:56
Size: 656
Editor: p54A6537B
Comment:
Revision 6 as of 2009-09-29 08:57:31
Size: 1061
Editor: p5B09C9B0
Comment:
Deletions are marked like this. Additions are marked like this.
Line 3: Line 3:
The app-install-data package is used by gnome-app-install and adept_installer. It is a collection of desktop files/icons with added meta-information. The app-install-data package is used by software-center, gnome-app-install, packagekit and adept_installer. It is a collection of desktop files/icons with added meta-information about the packages.
Line 6: Line 6:
http://people.ubuntu.com/~mvo/gnome-app-install/
(updated daily).
http://people.canonical.com/~mvo/gnome-app-install/
(updated regularly).
Line 11: Line 11:
<go to the gnome-app-install source tree>
$ rm menu-data/*.desktop menu-data/icon/*
$ util/getMenuData.py /src/path/to/pooldir
$ util/addPopconData -d menu-data/
$ bzr diff
$ bzr co lp:~mvo/archive-crawler/mvo archive-crawler
$ cd archive-crawler
$ rm -f data/menu-data/*.desktop data/menu-data/icon/* data/desktop.p
$ getMenuData.py --pooldir /src/path/to/pooldir
$ tar czvf menu-data-$(date +%Y%m%d).tar.gz menu-data menu-data-codecs
}}}

To update the app-install-data-ubuntu package then run:
{{{
$ bzr co lp:~ubuntu-core-dev/app-install-data-ubuntu/ubuntu app-install-data-ubuntu
$ cd app-install-data-ubuntu
$ ./update-menu-data.sh /path/to/tarball/with/menu/data
# control the result
$ utils/diff_helper.py | xargs bzr diff | less
Line 17: Line 26:
$ DEB_BUILD_PROG_OPTS="-S" debian/rules arch-build
$ cd debian/arch-build
$ bzr-build-package -S

Update app-install-data

The app-install-data package is used by software-center, gnome-app-install, packagekit and adept_installer. It is a collection of desktop files/icons with added meta-information about the packages.

Usually a up-to-date version can be found at: http://people.canonical.com/~mvo/gnome-app-install/ (updated regularly).

If not, it is generated on a system with a full mirror like this:

$ bzr co lp:~mvo/archive-crawler/mvo archive-crawler
$ cd archive-crawler
$ rm -f data/menu-data/*.desktop data/menu-data/icon/* data/desktop.p
$ getMenuData.py --pooldir /src/path/to/pooldir
$ tar czvf menu-data-$(date +%Y%m%d).tar.gz  menu-data menu-data-codecs

To update the app-install-data-ubuntu package then run:

$ bzr co lp:~ubuntu-core-dev/app-install-data-ubuntu/ubuntu app-install-data-ubuntu
$ cd app-install-data-ubuntu
$ ./update-menu-data.sh /path/to/tarball/with/menu/data
# control the result
$ utils/diff_helper.py | xargs bzr diff | less
$ bzr commit
$ bzr-build-package -S
dput ...

GnomeAppInstallDesktopDatabaseUpdate (last edited 2009-09-29 08:57:31 by p5B09C9B0)