Re: F21 System Wide Change: Headless Java

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

 



On Sat, Nov 16, 2013 at 02:34:00AM +0100, Miloslav Trmač wrote:
> On Fri, Nov 15, 2013 at 12:28 PM, Jaroslav Reznik <jreznik@xxxxxxxxxx> wrote:
> > == Scope ==
> > Proposal owners:
> > * Modify javapackages-tools package to automatically generate "java-headless"
> > autorequires (simple change)
> > * Identify and file bugs for affected packages (repoquery and bugzilla bug
> > creation)
> > * (optional) Mass-change spec files that have "Requires: java" to "Requires:
> > java-headless"
> 
> What about packages that do requires the non-headless dependencies?
> Can they be identified automatically, or would "other developers" be
> required to manually revert the change back from java-headless to full
> java?

Wouldn't it be better to inspect the *.class files to find out what
other classes they depend on.  Then you could have automatically
generated Perl-style dependencies like:

  Requires: java(java.net.URL)

Or if that results in too many dependencies, then at least inspect the
*.class files to find out if the package only needs the java-headless
classes.

(I'm aware it's possible for Java programs to dynamically create and
load classes.  The same is true for Perl programs but that doesn't
stop the automatically generated requires being useful most of the
time.)

Rich.

-- 
Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones
Read my programming blog: http://rwmj.wordpress.com
Fedora now supports 80 OCaml packages (the OPEN alternative to F#)
-- 
devel mailing list
devel@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/devel
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct





[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]
  Powered by Linux