2008年10月2日 星期四

debian化moblin app-laucher的一些注意事項

moblin app-laucher的網址:
http://www.moblin.org/projects/application-launcher

修改Makefile
1. BINARY=app-launcher
2.
install: $(BINARY)
install -d $(DESTDIR)/opt/app-launcher
install -m 0755 $(BINARY) $(DESTDIR)/opt/app-launcher
install -m 0644 background.jpg $(DESTDIR)/opt/app-launcher

3.修改control

Source: app-launcher
Section: unknown
Priority: extra
Maintainer: qustion liao
Build-Depends: debhelper (>= 7), libgenesis (>= 0.0.1), libclutter-0.8-dev (>= 0.8.0), libclutter-cairo-0.8-dev (>= 0.8.2), libclutter-box2d-0.8.0-dev (>= 0.8.0)
Standards-Version: 3.7.3
Homepage:

Package: app-launcher
Architecture: any
Depends: ${shlibs:Depends}, libgenesis (>= 0.0.1), libclutter-box2d-0.8.0 (>= 0.8.0)
Description:

4.
cp -f /etc/xdg/menus/gnome-applications.menu debian/
applications.menu
cp -f /etc/xdg/menus/gnome-preferences.menu debian/preferences.menu

5. 編輯rules在"install: build" section加入以下二行

install -m 644 -D debian/applications.menu $(CURDIR)/debian/app-launcher/etc/xdg/menus/applications.menu
install -m 644 -D debian/preferences.menu $(CURDIR)/debian/app-launcher/etc/xdg/menus/preferences.menu

沒有留言: