titaniumbunker.com

Evil geniuses and world domination are 2 of our goals... we also like Dr Who

Packaging an Album for Ubuntu

no comment
Preparation
 sudo apt-get install build-essential devscripts ubuntu-dev-tools debhelper dh_make diff patch cdbs

For upload to launchpad you’ll need a gpg key.

Process

  1. Download the Nightmares by design album from http://www.severedfifth.com
    1. wget http://audio.lugradio.org/severedfifth/nightmaresbydesign/severedfifth-nightmaresbydesign-2010-ogg.zip
  2. Re-package just the content in a tar.gz file – called severed severedfifth_nightmaresbydesign-2010.orig.tar.gz
    1. unzip severedfifth-nightmaresbydesign-2010-ogg.zip
    2. tar -cvf severedfifth-nightmaresbydesign-2010.orig.tar.gz severedfifth-nightmaresbydesign-2010-ogg.zip
  3. make a folder names the same as the tar file (minus the .orig.gz part) severedfifth_nightmaresbydesign-2010
  4. from the severedfifth_nightmaresbydesign-2010 folder, issue the dh_make command.
    • Select single
    • Press enter
  5. Edit the Control file.
    • Set the section – I chose sound
    • set the priority – for this buildĀ  chose optional
    • Update the packager name (if required) and website addresses.
    • Add any description elements – in my example I took the blurb from the website.
    • Add a package for each track to be packaged.
  6. Edit the Copyright file
    1. Update the packager name (if required) and website addresses.
    1. Update the upstream author(s) and email addresses
    2. Update the upstream licence information
    3. Update your licence
  7. Update Changelog
    1. Update the packager name (if required).
    2. Change unstable to an ubuntu release ‘animal’ – for example maverick
    3. Update the change log line – typically for new packages I leave it asĀ  * Initial release.
  8. Update README.source – or delete it if nothing is applicable
  9. Update README.debian – or delete it if nothing is applicable
  10. Delete *.ex files from the folder

Building the source package :

issue the command

debuild -S

to build a deb issue the command

sudo pbuilder --build severedfifth.nightmaresbydesign_2010-1.dsc

the resulting deb file wll be in /var/cache/pbuilder/result

 

Uploading to Launchpad

Uploading large files can cause problems with lauchpad – there is a work around noted here.

 

 

 

 

 

Be Sociable, Share!
changelog
changelog
changelog
163.0 B
91 Downloads
Details...
compat
compat
compat
2.0 B
90 Downloads
Details...
control
control
control
1.0 KiB
103 Downloads
Details...
copyright
copyright
copyright
1.3 KiB
94 Downloads
Details...
docs
docs
docs
0.0 B
94 Downloads
Details...
Oggcamp presentation
Oggcamp presentation
whobuntu2.odp
894.1 KiB
230 Downloads
Details...
README.Debian
README.Debian
README.Debian
233.0 B
88 Downloads
Details...
README.source
README.source
README.source
241.0 B
81 Downloads
Details...
rules
rules
rules
661.0 B
94 Downloads
Details...
Severed Fifth Nightmares by Design
Severed Fifth Nightmares by Design
debian (original).zip
Version: 1.0
20.1 KiB
88 Downloads
Details...
Severedfifth Nightmaresbydesign.install
Severedfifth Nightmaresbydesign.install
severedfifth.nightmaresbydesign.install
1.0 KiB
97 Downloads
Details...
Severedfifth Nightmaresbydesign.postnst
Severedfifth Nightmaresbydesign.postnst
severedfifth.nightmaresbydesign.postinst
2.4 KiB
99 Downloads
Details...
Severedfifth Nightmaresbydesign.prerm
Severedfifth Nightmaresbydesign.prerm
severedfifth.nightmaresbydesign.prerm
138.0 B
81 Downloads
Details...

Tags:

Comments are closed.