Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I want to be able to recreate specific packages by compiling the source code of the package. To compile the source code one has to run the configuration process, followed by the compilation process. I know how to do it, just not what specifics Ubuntu is supplying.

Packages could be Empathy, Banshee or specific libraries for that matter. I can compile them just fine using the (general) information provided at each project site. In a lot of cases I do, however, end up with a build which is just not quite the same as the original one. Slightly different menu options, some functionality functioning differently or not at all, etc.

Is there any source where the configuration and compilation options can be found which are used for the packages included in Ubuntu? Possible also Ubuntu or Debian specific patches.

share|improve this question
add comment

1 Answer

Ubuntu binaries may contain patches as well.

Best thing to do is to download the source with apt-source

You may need to Enable the source repositories

apt-source will download and unpackage the source code.

apt-source foo

You can then examine the source code, any patches, and the configuration options.

The compile options are in debian/rules

Note: there is sometimes some variation in some of the packages.

See also

http://www.cyberciti.biz/faq/rebuilding-ubuntu-debian-linux-binary-package/

The packaging guide is invaluable when learning how the source code is packaged

https://wiki.ubuntu.com/PackagingGuide/Complete

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.