feedindicator / Feedindicator

RSS feed updates in Ubuntu, as a lightweight indicator
38 stars 11 forks source link

DEB File #17

Closed nicolas-raoul closed 9 years ago

nicolas-raoul commented 9 years ago

Originally reported on Google Code with ID 7

Here is a .deb for this program. I only have a few minutes ATM, but I can give you the
info needed to make new ones for updates at another time.

Reported by chrisbojarski on 2011-02-07 19:33:39


nicolas-raoul commented 9 years ago
Super! Thanks for helping out. Any info you have on making deb packages would be great.

Reported by clickopen on 2011-02-08 01:43:44

nicolas-raoul commented 9 years ago
Created an updated .deb file. Also here are some links on how to create a .deb file:

http://www.linuxfordevices.com/c/a/Linux-For-Devices-Articles/How-to-make-deb-packages/
http://www.webupd8.org/2010/01/how-to-create-deb-package-ubuntu-debian.html
http://tldp.org/HOWTO/html_single/Debian-Binary-Package-Building-HOWTO/

I really just learned how to do this stuff two weeks ago myself. Here's a quick rundown:

1. Create a folder for your package. Inside it, replicate the folder hierarchy for
where you want your files to be installed into (ie: ~/feedindicator/usr/bin/feedindicator.py,
etc.). See attached ZIP file for what I used to create this .deb.
2. Create a DEBIAN folder inside the root of the working folder ( ~/feedindicator/DEBIAN).
Inside that go a "control" file with the most important info, an "md5sums" file with
md5 hashes ( "cd ~/feedindicator/; md5sum $(find usr -type f) > DEBIAN/md5sums" ) of
all the files, and optional preinst, postinst, prerm, and postrm files containing scripts
for what to do pre-install, post-install, pre-removal, and post-removal respectively.
They do not need to be used to install files directly installed by the deb file ie
the feedindicator.py and icon files.
3. The control file contains package name, dependencies, description, install size
(total size of all installed files), etc.
4. "cd ~/; dpkg-deb -b feedindicator feedindicator_<version>-<deb version, usually
1>_<platform, in this case all>.deb" creates that deb file. Done, just install.

Reported by chrisbojarski on 2011-02-13 22:40:12


nicolas-raoul commented 9 years ago
Excellent, many thanks for your help with this :)

I've made a few changes to the code recently so will have a go at making a new deb
file soon.

Thanks again!

Reported by clickopen on 2011-02-14 06:33:11

nicolas-raoul commented 9 years ago
Deb file of new version 1.02 added to the downloads page. Should all work ok as far
as I can tell!

Reported by clickopen on 2011-02-25 07:01:16