3.1 ensure there is no "debian" folder at the same level as "src" 3.2 ensure there is no folder structure called "<projectname>-0.x-orig" left over from a failed compile 3.3 remove old compiles from the Madde\home\user (e.g. C:\Madde\0.5\home\Shep) folder.
[Desktop Entry] Encoding=UTF-8 Version=0.x Type=Application Name=<Long Descriptive Project Name> Exec=/usr/bin/<projectname> Icon=<projectname> X-HildonDesk-ShowInToolbar=true X-Osso-Type=application/x-executable
[D-BUS Service] Name=org.maemo.<projectname> Exec=/usr/bin/<projectname>
TARGET = wwcalc TEMPLATE = app SOURCES += qtmain.cpp \ mainwindow.cpp HEADERS += mainwindow.h FORMS += mainwindow.ui PREFIX = ../debian/wwcalc/usr unix { BINDIR = $$PREFIX/bin DATADIR =$$PREFIX/share DEFINES += DATADIR=\"$$DATADIR\" PKGDATADIR=\"$$PKGDATADIR\" #MAKE INSTALL INSTALLS += target desktop icon64 service target.path =$$BINDIR desktop.path = $$DATADIR/applications/hildon desktop.files += wwcalc.desktop icon64.path = $$DATADIR/icons/hicolor/64x64/apps icon64.files += wwcalc.png service.path = $$DATADIR/usr/share/dbus-1/services service.files += wwcalc.service }
TEMPLATE = subdirs SUBDIRS = src
mad dh_make --createorig --single -e foo.bar@gmail.com -c gpl mad qmake mad dpkg-buildpackage mad remote -r org.maemo.wwcalc send ../wwcalc_0.2-1_armel.deb mad remote -r org.maemo.wwcalc install wwcalc_0.2-1_armel.deb mad remote -r org.maemo.wwcalc run dpkg -L wwcalc
Firstly, the icon cache is not automatically updated yet. (According to Too) The following command needs to be added to the end of debian/postinst Code: gtk-update-icon-cache -f /usr/share/icons/hicolor
gtk-update-icon-cache -f /usr/share/icons/hicolor
Secondly, there is no option to uninstall the app. I have no idea how to uninstall an application installed this way. it does not appear in the app manager. Any hints appreciated.