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

1
vote
1answer
49 views

Does anyone offer a for-pay packaging service to generate appropriate packages and put them in a ppa?

We have an application designed to work within ubuntu that has a nest of twisty dependencies, all alike. We've reached the point where we have to create a package for it, and we're finding our ubuntu ...
1
vote
1answer
50 views

What should I upload for submitting a proprietary app to USC?

I have an app ready to be submitted to Ubuntu Software Center. It is open-source and the source code is in Github. But I want to submit it under proprietary license ($0.0 however) as I would not have ...
1
vote
1answer
172 views

Building .deb file: Copy Configurations to User Settings

I'm building a deb file for my application following online tutoria and have no major problem. I can specify file to go to /usr/bin, /usr/lib and many system directories. But there are settings that ...
5
votes
2answers
235 views

How to turn a .py file into a .deb package using quickly?

We have made a .py file that controls brightness of the screen. It has a GUI with slider for controlling and runs when it is double clicked after marking it as executable. But we want to make a .deb ...
0
votes
1answer
75 views

package development tools [duplicate]

I have some source code, I would like to make into Debian packages for Ubuntu. its been quite some times since I made packages, and I am wondering if there are any really great tools out there to help ...
3
votes
1answer
100 views

Workflow with self made packages

I have a folder ~/Packaging where all my public and private packages are in. For example, in the Packaging/think-rotate folder, there is the typical Debian stuff, like so: think-rotate-2.5.2/ ...
3
votes
1answer
263 views

Examples of multiple binary packages

I'm trying to include a preview of the new experimental Gtk+ 3 build of Inkscape in our PPA... I want to compile the upstream source using different compile-time options to generate two different ...
2
votes
1answer
386 views

How to make a dependency to the latest version of boost?

I'm packaging a couple of libraries that have some dependencies with one-another. To simplify, let's say I have: libA and libB. libB depends on libA for both building and installing. libA depends ...
3
votes
1answer
2k views

where is downloaded package files directory?

need to know where downloaded packages will be saved after updating ? i want to copy the folder of packages , and reinstall Linux and install the packages without downloading them again , so i need ...
1
vote
1answer
62 views

How do I submit a new package to universe?

I've built a package and it is in my PPA here https://launchpad.net/~evarlast/+archive/ppa I searched a little and found this https://wiki.ubuntu.com/MOTU/GettingStarted but I could not find a simple ...
2
votes
1answer
437 views

Packaging nodejs code, how do I prevent lintian from complaining about ./node_modules?

We ran into this problem while packaging some software written in nodejs. Because we can't package each and every dependency separately, we need to ship the node_modules/ directory along with the ...
0
votes
1answer
282 views

Best practice: version numbers for own packages

Recently I've started packaging software with fpm. The public makefiles can be found on bitbucket. But I've a problem with version numbers. When I'm generating a package for e.g. the fish-shell I ...
0
votes
1answer
95 views

Quickly can't package, but raises no errors

I am trying to make a .deb package for my project in quickly. This is what I get: ilya@ilya-laptop:~/Projects/online-translator$ quickly package ...........Ubuntu packaging created in debian/ ...
1
vote
0answers
25 views

How to pack a program for easy Ubuntu installations? [duplicate]

//Ubuntu newbie here We have a framework that we need to be able to easy deploy on Ubuntu machines (12.04). Which format should I use? (RPM, deb, something else?) How does one goes on to pack a ...
1
vote
2answers
78 views

Which version of Ubuntu should I use to begin my contribution in packaging?

I follow the MOTU's guide about packaging, there is a note that advice to do the packaging work in the current development version ( I'm running 13.04 ) and to use a VM. I don't know exactly which is ...
3
votes
1answer
307 views

How do I correctly bump the version number when building a kernel package from git?

When building a patched kernel from Ubuntu kernel git repositories how do I change the version numbers so that the resulting kernel package has the following properties: Installs files in /boot/ ...
3
votes
4answers
102 views

How can i avoid downloading packages every-time I install my Ubuntu? [duplicate]

Every time i install Ubuntu on a computer I have to download the applications/packages with total size of 1.5~2GB and it took lots of my network bandwidth & time!! How can I avoid downloading the ...
5
votes
1answer
1k 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. ...
7
votes
2answers
253 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
945 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
426 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
84 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
62 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
246 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
157 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
85 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
3k 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
60 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
50 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 ...
1
vote
0answers
28 views

Can't package my quickly app after editing

I've had a lot of problems packaging my quickly app. After some editing I packaged it sucsesfuly, then I: moved the packaging-files (jotty_0.1_all.deb jotty_0.1.dsc jotty_0.1_i386.changes ...
0
votes
1answer
72 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
1k 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
35 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
122 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
3k 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
137 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
210 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
75 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
130 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 ...
1
vote
0answers
136 views

Debian package creation for PHP

How to create deb package for PHP code, where code should be installed in a certain dir like /usr/share/phpproject and install a conf file for Apache under sites-available then simlink it to ...
3
votes
1answer
243 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 ...
1
vote
0answers
255 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
454 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
272 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
59 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 ...