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 have a package that is extremely complicated and uses libraries not included in any of the default repos.

Can I upload a 'source' archive that contains the source and a pre-compiled binary? The build script would simply copy the binary to the package being built.

Is this acceptable or will I run into trouble?

Note: This is the project page.

share|improve this question
    
just something to think about...to address compilation woes like this, one project I am aware of(not in PPA) mplayer, places the build requirements in subdirectories of the source package and lets you use or not use them via a complicated configure script –  hbdgaf Jan 8 '11 at 2:04
    
@aking: Well, it's a possibility. In the end, I will have to create a package for the library. –  Nathan Osman Jan 8 '11 at 2:09

3 Answers 3

Launchpad's PPA terms of use don't explicitly prohibit a Debian "source" package that contains a pre-compiled binary. It does require the use of an acceptable license (i.e OSI Approved, FSF Approved, or DFSG Compliant). So as far as I can tell, the real question is whether the licences of the pre-compiled libraries allow you to distribute them without the corresponding sources.

Of course, if you hope to have your package included in the proper Ubuntu archives this is prohibited. All packages in the archive must be build from source.

share|improve this answer
    
Well, the source is being uploaded with the binary, so that's not a problem. –  Nathan Osman Jan 7 '11 at 22:23

No. You need to package and upload the libraries first then.

share|improve this answer
    
Sigh... this is gonna take some time. –  Nathan Osman Jan 7 '11 at 20:33

Technically there should be no problem, from a license point of view you may be violating LP's PPAs use policy, you would be distributing a binary without the corresponding source.

share|improve this answer
    
But I said in the question that the source went along with it. –  Nathan Osman Jan 7 '11 at 22:15
    
Sorry, missed that part, that should be fine, not something that would be accepted in the official repository, but fine for a PPA. –  João Pinto Jan 7 '11 at 22:20

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.