Re: Package dependence and build system choice

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Thanks Alexander and Jason.
That's clear.

I am reading wiki of packaging, will consult list later if any questions. thank you.

On 10:08:25 pm Friday, December 03, 2010 frank wrote:

> Hi developers:

> I am working on packaging our project into Fedora. Here some questions

> I want to consult for you. Our project is Java based, it depends on many

> thirdpartt JARs that some are already in Fedora and some are not.

>

> 1. For those absent JARs, how should I handle them?

You have to package your dependencies in separate rpms and build them from source.

> Could directly include them in my package?

No you can't because if you include them directly we won't be sure that they are rebuildable which is crucial for us. Also if you include them directly we won't have the source and we won't be able to verify that they don't include some non-free parts.

> I saw some packages do directly include JARs even these JARs are available in other packages. e.g. eclipse-pde

Hmm, what are you referring to? eclipse-pde contains symlinks to junit4 and objectweb-asm jars not the jars themself. That's why eclipse-pde requires junit4 and objectweb-asm to be installed so this symlinks won't be broken.

>

> 2. We use ANT to build and deploy our software, however, we also use

> waf to do configuration because ANT is not strong on this part. Will this

> be a problem? I really see some Java project mixed uses GNU tool and ANT,

> so I guess it's also ok for mixing ANT with waf.

Your best bet is to use the same buildsystem you're using upstream to do builds.

Hope that helps,

Alex

>

> thank you.

>

> --

> packaging mailing list

> packaging@xxxxxxxxxxxxxxxxxxxxxxx

> https://admin.fedoraproject.org/mailman/listinfo/packaging


--
packaging mailing list
packaging@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/packaging

[Index of Archives]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite Forum]     [KDE Users]

  Powered by Linux