FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Redhat > Fedora Packaging

 
 
LinkBack Thread Tools
 
Old 12-03-2010, 07:03 PM
frank
 
Default Package dependence and build system choice

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? Could directly include them in my package?
I saw some packages do directly include JARs even these JARs are available in other packages. e.g. eclipse-pde

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.

thank you.

--
packaging mailing list
packaging@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/packaging
 
Old 12-03-2010, 07:14 PM
"Jason L Tibbitts III"
 
Default Package dependence and build system choice

>>>>> "f" == frank <frank@cloud.com> writes:

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

You must package them separately.

f> Could directly include them in my package?

That is not permitted.
http://fedoraproject.org/wiki/Packaging:No_Bundled_Libraries

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

If that's the case then that package needs fixing.

- J<
--
packaging mailing list
packaging@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/packaging
 
Old 12-03-2010, 07:17 PM
Alexander Kurtakov
 
Default Package dependence and build system choice

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@lists.fedoraproject.org

> https://admin.fedoraproject.org/mailman/listinfo/packaging
--
packaging mailing list
packaging@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/packaging
 
Old 12-03-2010, 07:23 PM
frank
 
Default Package dependence and build system choice

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@lists.fedoraproject.org

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






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

Thread Tools




All times are GMT. The time now is 03:30 PM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org