3
The Debian Package rec-applet
4
-------------------------------
6
Comments regarding the Package
7
-- Osmo Antero Maatta (moma) <osmoma@gmail.com> Mon, 04 Aug 2010 21:03:12 +0100
11
rec-applet*/debian/README - This file.
12
rec-applet*/README - Important information about this program.
13
rec-applet*/INSTALL - Building and installing this application from source.
17
I created the Debian (deb) package by mainly following these guides:
18
http://www.linux.com/articles/60383
19
https://help.ubuntu.com/ubuntu/packagingguide/C/basic-scratch.html
21
You must setup the necessary build-environment as guided.
24
**********************
25
Runtime requirements (package dependencies) are explained in the README file, section "Runtime".
26
Compilation/build requirements are explained in the INSTALL file.
29
Creating a deb package:
30
***********************
31
Read: https://wiki.ubuntu.com/PackagingGuide/Basic
32
https://help.launchpad.net/Packaging/PPA/BuildingASourcePackage
34
You can re-create the debian package by typing:
36
export DEBFULLNAME="Osmo Antero Maatta" <-- Your name and email here.
37
export DEBEMAIL="osmoma@gmail.com"
41
Sometimes debuild fails to find the GPG-key so you have to use the -k option. First list your GPG-keys
42
gpg --list-secret-keys
44
/home/moma/.gnupg/pubring.gpg
45
-----------------------------
46
pub 2048R/549B8DD1 2010-08-04
47
uid Osmo Antero Maatta <osmoma@gmail.com>
48
sub 2048R/903F7123 2010-08-04
50
Then use -k option liek this:
52
debuild -S -sa -k549B8DD1
53
Successfully signed dsc and changes files!
55
# -us -uc turns off GPG signing, but you cannot upload packages to PPA (Launchpad) without signing them.
59
It will generate and put a new debian package to rec-applet's parent directory.
62
-rw-r--r-- 1 moma moma 52340 Mar 15 10:43 rec-applet_0.1_i386.build
63
-rw-r--r-- 1 moma moma 1215 Mar 15 10:43 rec-applet_0.1_i386.changes
64
-rw-r--r-- 1 moma moma 5619684 Mar 15 10:43 rec-applet_0.1_i386.deb
65
-rw-r--r-- 1 moma moma 5781184 Mar 15 10:43 rec-applet_0.1.tar.gz
67
Now install the .deb package by typing (as root or sudo):
68
dpkg -i rec-applet-<ver>.deb
70
It will probably complain about missing dependencies. Run apt-get install -f to fix it (as root or sudo):
73
Uninstallation is done by (as root or sudo):
74
apt-get remove rec-applet
78
I have removed these lines from the debian/rules file.
80
Uncomment the dh_installman line when manual pages are ready.
82
Added "pkill gnome-panel 2>/dev/null" command to postinst.ex.
83
Renamed "postinst.ex" (example script) to "postinst".
84
It will reload applet configurations from /usr/lib/bonobo/servers/*
85
so the installed applet becomes visible in the "Add to panel..." list.