In this context, packaging refers to the creation and maintenance of Debian packages. Whether you are looking to update a package for your personal use or wondering how to get your software into the hands of Ubuntu users, this tag is for you.

learn more… | top users | synonyms

6
votes
1answer
2k views

How to package a simple bash script

The below bash script was written in ~10 sec, but packaging it would take me hours of skimming through big walls of text so I ask my self if there is an easy way out there that I don't know about. ...
8
votes
2answers
299 views

How come the override_dh_build-indep sequence isn't run by debuild?

I'm having a bad time trying to generate some documentation for a shared library within debian/rules. I asked a question earlier about which target to use for generating the documentation. My problem ...
3
votes
1answer
1k views

Which target in debian/rules do I need to use for generating documentation?

I have run into some problems creating Debian packaging for a shared library. The application contains a Doxyfile which is used to generate documentation for the library. I would like to create a ...
2
votes
0answers
38 views

How to package a shell script? [duplicate]

I have a shell script . I want to convert the script into a terminal application which can be installed using sudo apt-get install and can be run through the terminal by typing the name of the ...
1
vote
1answer
495 views

How to keep version number in a single place in a python project with setup.py and debian/control

For a python project I'm working on, I'd like to: Keep a version string in a single place. Be able get the version string at runtime for logging purposes Get a default value when launching the code ...
0
votes
1answer
86 views

Export Package [Eclipse]

I am just wondering how do I export a .deb package for Ubuntu Software Centre in Eclipse? I have created an application that runs Python and Webkit now I wish to submit to the Software centre. How do ...
1
vote
1answer
67 views

What's the easiest way to package files into a deb?

I have a bunch of static web files that change from time to time. Right now I'm syncing my servers up using rsync, but I'd instead like to add scripts to my git repository so that when changes are ...
2
votes
1answer
294 views

Debian Package Creation- how to define environment variables within the package

I built a package with the sudo-ldap package defined as a dependency in the control file (please see below). I'm going to have people install using the gdebi command to install which should install ...
1
vote
1answer
177 views

reupload package to launchpad with orig.tar.gz changed

I uploaded a package geos-3.3.8.orig.tar.gz to launchpad with success, but the build failed because a mistake in the source code, then I have changed my geos-3.3.8.orig.tar.gz with the right code, and ...
2
votes
1answer
94 views

What would cause files not to be included in a .deb?

I'm trying to build a .deb package (python) as part of a larger project. I'm able to successfully run 'make' and 'make install' on it, but when the package(s) are built (using dpkg-buildpackage ...
1
vote
2answers
4k views

how to create a .bin file?

I am using Ubuntu 12.04 LTS and I am stuck at creating a simple .bin file which can print a message "hi" or anything else. My objective is to create a binary file.I have searched but didn't found ...
0
votes
1answer
63 views

Making a metapackage that depends on a package with a different architecture

I'm making a metapackage to install a number of packages that comprise my standard setup, like the package ubuntu-desktop. One package that I'd like to install is [Adobe Reader][1], which has a deb. ...
1
vote
1answer
56 views

Is Creative Commons a recoginsed license?

I would like to package an application that uses Creative Commons Attribution-ShareAlike 3.0: http://www.gmaptool.eu/en/content/license http://creativecommons.org/licenses/by-sa/3.0/legalcode Is ...
0
votes
1answer
75 views

Quickly gives warnings on packageing, not recognizing setup.py~

I have been trying to make an application and package it and so on, but I have run in to a lot of errors, so I tried to get back to basic: after the command quickly create ubuntu-application dj1 and ...
4
votes
2answers
2k views

how to do a pbuilder-dist build with dependencies in a ppa?

I'm trying to build a package for my ppa that uses packages from two other ppas. I want to do a test build using pbuilder-dist. I have done this before and I know that I need a combination of: ...
0
votes
1answer
38 views

Create a deb containing object files and link in the target machine

I'm working on a project where we have a couple of machines running some applications developed by our dev team. All the machines use the same Ubuntu version (12.04 x64). We want to use deb packages ...
3
votes
1answer
141 views

What is a tainted binary package?

Using dpkg I created some debian packages containing self-written libraries that install without problems. But when I try to run lintian on one of them, I just get the following error: warning: ...
4
votes
1answer
4k views

Add custom steps to source package's debian/package.postinst?

I have a package that incorporates an auto-generated debian/package.postinst.debhelper file into the generated binary. When I put my own code into a file at debian/package.postinst, the auto-generated ...
2
votes
0answers
39 views

Are USC applications allowed to install .desktop files?

Ubuntu's official site for developers says: Technical requirements: In order for your application to be distributed in the Software Centre it must: Be in one, self-contained directory when ...
2
votes
1answer
167 views

Depends: exim vs mail-transport-agent

I am creating a .deb installation package for our software, which depends on a valid SMTP server being installed. Currently the control file states: Depends: mail-transport-agent However one Debian ...
0
votes
1answer
237 views

Launchpad build error - missing libgtk3

I've just tried to upload my first ubuntu package to ppa and I got: dh_strip debug symbol extraction: disabling for PPA build dh_strip debug symbol extraction: not doing anything since NO_PKG_MANGLE ...
2
votes
1answer
80 views

Uploading quickly packages to Launchpad

I created an application using Quickly and packaged it using the command quickly package. But after I uploaded it to my PPA, I got a message from Launchpad saying: Rejected: Source/binary (i.e. ...
1
vote
1answer
141 views

Juju Charm, Deb Package or Puppet

I have a django project which when deployed provides mysql-nss services. This dule use database setup requires automatic deployment by any basic server user. The first part is the creation of an sql ...
3
votes
1answer
277 views

Howto handle packaging and development in one git repository?

From my point of view at the moment git-buildpackage is only intended for using upstream sources which are not in the same repository. I already have a git-buildpackage repository with the branches ...
2
votes
0answers
294 views

Change environment variables in debian/rules according to debian/control targets

I have this package mypackage which is already bundled for Ubuntu. For setting the compiler, debian/rules contains DEB_CONFIGURE_SCRIPT_ENV += CC=gcc I would now like to extend the package in that ...
2
votes
2answers
2k views

How to use 'apt' to get source code and then do separate compile

I want to get the source code for a project and then build it the same way that apt would. E.g. I want the working source code and be able to run 'make' or similar command on the source. How can I ...
2
votes
1answer
521 views

How do I resolve Debian packaging issue with ${python:Depends}?

I am trying to build a python-based Debian package and I see the ${python:Depends} variable under the Depends section in the control file. While installing, I see that it refers to the ...
5
votes
1answer
65 views

Contributing to the package or the upstream branch?

While learning about Ubuntu development & packaging, there's one part that's not quite clear to me. So, let's say we're in the middle of active development (e.g. Raring) before feature freeze and ...
4
votes
1answer
367 views

What is the “right” way to debianize software that uses the scons build-system?

What specific tools are available, if any, or should we just use a fake Makefile that runs scons?
1
vote
1answer
63 views

Packaging for the Ubuntu Software Center

I have a question about packaging for the Ubuntu Software Center: must the package to upload be a .deb file? If so, how do I create one? I don't use the pygobject API.
5
votes
1answer
1k views

How to create a .deb file with dependency?

I have a game made with the LÖVE framework and i want it into a .deb file so it can be easily installed by others and easily findable through the Unity dash for example. I also have the LÖVE framework ...
6
votes
1answer
85 views

Submit merged Debian package for inclusion in Ubuntu

I'm currently working to update the version of autogen shipped with Ubuntu from 1:5.12-0.1ubuntu2 in the repositories to 1:5.17.1-1 in Debian. The merge has been completed on my computer and the ...
1
vote
0answers
46 views

Software center states “The package is of bad quality” - what does it mean? [duplicate]

Possible Duplicate: What is a “bad quality” package? I'm trying to author a .deb package, and with the one I have now, when I install it on Ubuntu 12.10 I get the next error: The package ...
4
votes
2answers
4k views

How to create a .deb package from compiled source files?

Question: Mono 3.0 is out, but I found no ppa from where I could install it. There is this one: https://launchpad.net/~directhex/+ppa-packages but it's mono 2.10.8.1-5. I'm playing with ASP.NET ...
2
votes
2answers
129 views

Package combined C++/Python software

I would like to package a software that contains both C++ and Python code. The C++ headers and libraries compile fine on launchpad and are properly installed (thanks to some .install files). On the ...
3
votes
1answer
983 views

“dh_install: hamsterdb-dev missing files (usr/lib/pkgconfig/*), aborting” building a package

I'm author of a small open-source database library and want to supply .deb packages through my ppa. I have a couple of problems. I followed the documentation and several tutorials and created a ...
2
votes
1answer
60 views

How can several branches be nested in the same directory in a bzr-builder recipe?

I have the following recipe: # bzr-builder format 0.3 deb-version 7.0+{revno} lp:~bitglue/openobject-server/7.0 nest addons lp:~bitglue/openobject-addons/7.0 openerp/addons nest-part web ...
5
votes
1answer
256 views

upstart init script remains on apt-get remove

I just created my first .deb file ever from a Python script. I included a package.upstart file under package/debian and all installed great. However, I noticed that apt-get remove package leaves the ...
3
votes
2answers
139 views

How do I package a Python script for Ubuntu? [duplicate]

I have a Python 3.2 script that I'd like to package for Ubuntu and Debian. I've certainly looked for documentation but I wasn't sure that I was getting the latest and greatest/easiest methods. If ...
5
votes
1answer
497 views

How to setup debian/control to force updating a library?

This question is aimed at PPA/packages maintainers. I have a PPA with 2 packages: mypackage (currently version 1~ppa1~quantal) mypackagelib (currently version 1~ppa1~quantal) Currently, the ...
3
votes
2answers
202 views

How do I backport VLC from 12.04 to 10.04?

I just want to install VLC latest from 12.04 LTS to 10.04 LTS How to do it?
0
votes
1answer
124 views

create PPA source package from existing .deb package

i wanna modify some files in .deb package and upload it to my PPA, is that possible and how to ? Thanks in advance
6
votes
3answers
5k views

How to solve dpkg-source source problem when building a package?

Has anyone here had some experience creating a Debian / Ubuntu package? I am trying to backport the lammps package (http://packages.ubuntu.com/quantal/lammps) from Ubuntu 12.10 (Quantal) to Ubuntu ...
2
votes
1answer
29 views

Where/how can I find somebody to help me packaging an application for Ubuntu in my area?

I would like to learn how to package an application to a PPA which available in source code and GPL licensed. I would like to learn how to do it myself. Is there a way to find Ubunteros in my area to ...
3
votes
1answer
156 views

Is there a debian/ubuntu policy on softlinking things to another location in opt once they're installed?

Is there a debian/ubuntu policy on softlinking things to another location in opt once they're installed properly in usr/share or usr/lib? Here's a simple example: Packaging up dnsenum. It's a ...
0
votes
1answer
748 views

Automatically sign package files from debuild and upload with dput

I've created a source package for I library I'm working on. I use debuild to build it and then I can successfully upload it with dput. Now I want to set it up so that I can do this automatically ...
1
vote
1answer
276 views

debuild -S in cronjob: how to avoid interactive gpg

I would like to build and submit a package to a launchpad Ubuntu reposiory of mine in a nightly cronjob. To this end, I'll have to debuild -S the package which by default requires human interaction ...
0
votes
1answer
27 views

Can we use svn2cl on launchpad buildbots?

I've done a build bot for doxbox and currently i'm merging a packaging bzr repo - but that repo has the changelog outdated - and i don't want to have to maintain it. I've read dosbox autogenerates ...
0
votes
2answers
160 views

What in Quickly creates an empty …/share/gnome/help/…/C/figures/ folder?

Something in packaging scripts creates an empty figures folder where it's not present before this packaging. Where is it?
1
vote
2answers
198 views

Building package from binary files - what's wrong with my control file

I'm busy trying to build a .deb package from the binaries of my application (non open source) and I'm having trouble getting the correct info to display in the Ubuntu Software Centre (when you click ...