Reputation: 66478
I've created package clarity-icon-theme ppa:jcubic/jcubicppa but only for Maverik I have lines like this in debian/changelog file
clarity-icon-theme (0.3) maverick; urgency=low
* Add missing symlinks
-- Jakub Jankiewicz (jcubic) <jcubic [at] onet [dot] pl> Fri, 14 Oct 2011 19:05:01 +0200
How can I create a package that can be used by Lucid, Natty and newers versions of Ubuntu? Do I need to create separated packages?
Upvotes: 2
Views: 1021
Reputation: 303
It depends. You need to work out what the limitations for this particular package are. If it depends on a library that's at an incompatible ABI version in a different release, then the package can't be supported on both releases.
An icon theme probably only contains data, so it should be easy enough to get working on all releases.
Upvotes: 0
Reputation: 11978
You will need to create separate packages. This is because of the potential of different library versions being required in various versions of Ubuntu.
As well, when you build the packages into the binaries, it will be building only for the libraries available within that version of Ubuntu.
Subsequently, this is why in debian/changelog
you are only allowed to specify one version of Ubuntu at a time.
Take a look at the files in my rkhunter
backports PPA: https://launchpad.net/~trekcaptainusa-tw/+archive/rkhunter Feel free to see what the changelog entries show, and how I named the package version numbers (you can omit the ~ppa# part at the end, but you should append the version of ubuntu to the package names if you're building for more than one version of Ubuntu, and then build each separately).
Upvotes: 1