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

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
36 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
133 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
38 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
153 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
223 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
78 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
138 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
259 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
269 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
1k 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
481 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
61 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
315 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
62 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
83 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 ...
3
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
126 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 ...
2
votes
1answer
901 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
59 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
240 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
134 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
465 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
120 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
5
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
142 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
684 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
262 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
156 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
188 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 ...
2
votes
2answers
3k views

Is dh-make the standard way to build debian packages?

I've started creating a .deb package for my software a while back and the method I've stumbled upon then (I knew nothing about the domain) basically is like this: create a directory structure like ...
1
vote
1answer
53 views

Where to save Yelp files?

I've written some yelp pages using Mallard. Now I would like to know where to save them correctly in the file system (packaging). The saved Yelp files should be displayed when opening Yelp -> Go ...
2
votes
1answer
268 views

How to rebuild a package for a different Ubuntu release

I've got an app packaged for Ubuntu 12.04, which lives on a PPA. From that same package and sources tarball, I'd like to generate a package for Ubuntu 12.10. I thought I'd just add an entry to ...
3
votes
3answers
56 views

When to use separate PPAs?

I'm interested in setting up PPAs for a few projects that I'm working on, and I'm trying to find out how many PPAs I need. Should I create one PPA for each project, effectively having a single ...
2
votes
1answer
3k views

Build .deb package from source, without installing it

Suppose I have an installer program or source tarball for some program I want to install. (There is no Debian package available.) First I want to create a .deb package out of it, in order to be able ...
12
votes
3answers
335 views

I've filed an ITP bug on bugs.debian.org - now how do I get the package into Ubuntu?

I've written a development library that I would like to include in the Ubuntu archives. From what I understand, the best way to do this is to first get the package into Debian and then request a ...
5
votes
0answers
75 views

How do I package a Unity lens? [duplicate]

I'm new to Ubuntu apps and Launchpad. I've created a Unity lens using Quickly, but I'm stuck on how to deploy it. I have two questions. I can create a .deb file using quickly package, but when I ...
3
votes
1answer
49 views

Redirecting packages when migrating PPAs

I have some packages in a PPA and, now, have created a group PPA. Is there a way to put in a redirect such that anyone installing package foo from ppa:jrhacker/ppa can be redirected to ppa:initech/ppa ...
0
votes
1answer
36 views

Packaging a header library, header dependencies

When packaging a library A that contains of headers (similar to boost), those headers may have include statements to another header library B in them. Consequently, when building an application with ...
3
votes
1answer
214 views

How to create and submit package for Qt application

I have an application that I developed in Qt and Ubuntu. Its primary target is Windows but I prefer working in Ubuntu for all sorts of obvious reasons, so I rebuild it using Qt under XP and create an ...
0
votes
1answer
219 views

convert quilt to native source package

I want to branch an open source package and develop a new branch of package alternatively. The package is in quilt format and need to use dquilt for update but i don't want to use it for my branch ...
2
votes
1answer
101 views

How to create a .deb file just for copying certain icons and one javascript file to particular locations?

Okay,So I have wasted my whole day and still unable to figure out how to do that the easy way.I have been to the debian land and ubuntu packaging land.I have read about equivs and various other ways ...
4
votes
3answers
1k views

always purge on remove in package

I am maintaining a debian package, which includes some config files that are installed under /etc/. Is there a way I can somehow make the package to always automatically --purge itself whenever a user ...
0
votes
2answers
1k views

How to Create Deb Files [duplicate]

Possible Duplicate: Simplest Debian Packaging Guide? I have a group of BASH scripts, XML files, etc. The scripts require that some programs already be installed. How do I create a *.deb on ...