Can I use one package source to build other package?

Asked by Tomasz Makarewicz

The thing is, that I want to build package (libcef), which require two sources to build - Chromium and CEF. I would like to upload to the PPA only the source of CEF and use source of Chromium which is already present in the repository of Ubuntu.

Can I achieve this by current build system or do I need to upload one source package containing both Chromium and CEF to build libcef?

Question information

Language:
English Edit question
Status:
Answered
For:
Launchpad itself Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Steve Kowalik (stevenk) said :
#1

This isn't really a Launchpad-specific question, it's more related to Debian packaging and such, but however, the answer is yes, but there's a rather large caveat and it usually ends up being awkward and fragile. You can Build-Depends on chromium, but that gives you the binary package and not the source -- the usual workaround is to change chromium to also build a chromium-source binary package that you can Build-Depend on, and then utilize that.

Having said all that, it is far easier to upload one source package containing both CEF and chromium to build the resulting package.

Can you help with this problem?

Provide an answer of your own, or ask Tomasz Makarewicz for more information if necessary.

To post a message you must log in.