Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 47632

Summary: Some ebuilds still require xfree when they do not have to
Product: Gentoo Linux Reporter: Shawn Leas <core>
Component: New packagesAssignee: Gentoo X packagers <x11>
Status: RESOLVED FIXED    
Severity: normal CC: christian, ed, flameeyes, gasiorek, greg_g, mikel, qa
Priority: High Keywords: Inclusion
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on: 52153    
Bug Blocks: 45610, 52621    
Attachments: Patch for blueglass-xcursors-0.4.ebuild
Patch for golden-xcursors-0.8.ebuild
Patch for mixer_app-1.8.0.ebuild
Patch for nvtv-0.4.6.ebuild
Patch for nxclient-1.3.0.ebuild
Patch for nxserver.eclass
Patch for silver-xcursors-0.4.ebuild
Patch for wmclockmon-0.7.2.ebuild
Patch for yanc-0.2.1.ebuild
blueglass-xcursors-0.4-r1.ebuild
golden-xcursors-0.8-r1.ebuild
silver-xcursors-0.4-r1.ebuild
blueglass-xcursors-0.4-r1.ebuild
golden-xcursors-0.8-r1.ebuild
silver-xcursors-0.4-r1.ebuild

Description Shawn Leas 2004-04-12 13:57:58 UTC
I have attached patches for ebuilds that still require xfree without a condition for using xorg instead.

Reproducible: Always
Steps to Reproduce:
1.
2.
3.
Comment 1 Shawn Leas 2004-04-12 13:58:43 UTC
Created attachment 29161 [details, diff]
Patch for blueglass-xcursors-0.4.ebuild
Comment 2 Shawn Leas 2004-04-12 13:59:13 UTC
Created attachment 29162 [details, diff]
Patch for golden-xcursors-0.8.ebuild
Comment 3 Ciaran McCreesh 2004-04-12 13:59:34 UTC
Please use the virtual instead if possible
Comment 4 Shawn Leas 2004-04-12 13:59:45 UTC
Created attachment 29163 [details, diff]
Patch for mixer_app-1.8.0.ebuild
Comment 5 Shawn Leas 2004-04-12 14:00:14 UTC
Created attachment 29164 [details, diff]
Patch for nvtv-0.4.6.ebuild
Comment 6 Shawn Leas 2004-04-12 14:00:37 UTC
Created attachment 29165 [details, diff]
Patch for nxclient-1.3.0.ebuild
Comment 7 Shawn Leas 2004-04-12 14:01:00 UTC
Created attachment 29166 [details, diff]
Patch for nxserver.eclass
Comment 8 Shawn Leas 2004-04-12 14:01:28 UTC
Created attachment 29167 [details, diff]
Patch for silver-xcursors-0.4.ebuild
Comment 9 Shawn Leas 2004-04-12 14:02:02 UTC
Created attachment 29168 [details, diff]
Patch for wmclockmon-0.7.2.ebuild
Comment 10 Shawn Leas 2004-04-12 14:02:41 UTC
Created attachment 29169 [details, diff]
Patch for yanc-0.2.1.ebuild
Comment 11 Seemant Kulleen (RETIRED) gentoo-dev 2004-04-12 15:53:24 UTC
you've tested all of these with xorg, shawn?
Comment 12 Shawn Leas 2004-04-13 07:34:49 UTC
No, actually, but I have them installed. As far as I can tell Xorg's directory structure is the same as xfree. Further, since xorg is in fact a recent branch of xfree which would have satisfied the DEPs in the ebuilds, so should Xorg methinks.
Comment 13 Shawn Leas 2004-04-13 07:37:42 UTC
Sorry guys, I haven't explored the virtual angle. I just wanted to fix some breakage that was trying to pull in the unwanted xfree.
Comment 14 Martin Holzer (RETIRED) gentoo-dev 2004-04-13 10:33:22 UTC
how about using virtual/x11 ?
Comment 15 Shawn Leas 2004-04-13 10:59:34 UTC
Well, for some of them it's not appropriate due to version specificity, or at least as implied by the dependancy in the ebuild. For the others, yeah, it'd be great.

I have VERY little time left this week and might not get to making new patches, but if you'd like to in my stead, feel unequivocally welcome to do so yourself. I've seen others complain about "xfree mysteriously being brought back in by some dependancy". I just happened to pay attention to the debug...
Comment 16 Donnie Berkholz (RETIRED) gentoo-dev 2004-04-13 16:23:53 UTC
These need to be compiled against xorg-x11 so they're proven to compile, because it's significantly different from xfree 4.3.0, and many things were never tested against xfree 4.3.99.x. Then the dependency needs to be changed to virtual/x11. Just to sum things up.
Comment 17 Doug Weimer 2004-04-14 22:19:00 UTC
Here are some test results after replacing the dependencies for x11-base/xfree with virtual/x11:

*-xcursors:
These ebuilds install data into /usr/share/cursors/xfree/ which is not recognized by default by xorg-x11. To fix this I just used has_version to look for xorg vs. xfree, example:     
     cursorsdir="xfree"
    `has_version xorg-x11` && cursorsdir="xorg-x11"
     mkdir -p ${D}/usr/share/cursors/${cursorsdir}/Silver/cursors/

wmclockmon & mixer_app - compiled and ran without error

Yanc: compiles without error, but has XF86Config{,-4} hardcoded in src/Unit1.pas. I don't use QT so I couldn't test the gui.
Comment 18 Donnie Berkholz (RETIRED) gentoo-dev 2004-04-25 13:29:07 UTC
*** Bug 47740 has been marked as a duplicate of this bug. ***
Comment 19 Donnie Berkholz (RETIRED) gentoo-dev 2004-05-05 11:37:09 UTC
*** Bug 49643 has been marked as a duplicate of this bug. ***
Comment 20 Donnie Berkholz (RETIRED) gentoo-dev 2004-05-05 11:37:33 UTC
*** Bug 49465 has been marked as a duplicate of this bug. ***
Comment 21 Donnie Berkholz (RETIRED) gentoo-dev 2004-05-07 11:42:01 UTC
*** Bug 50367 has been marked as a duplicate of this bug. ***
Comment 22 Diego Elio Pettenò (RETIRED) gentoo-dev 2004-05-07 11:52:52 UTC
Created attachment 30956 [details]
blueglass-xcursors-0.4-r1.ebuild

These ebuilds are completely fixed for use of xorg and xfree, and also fixes
the dependency.
Comment 23 Diego Elio Pettenò (RETIRED) gentoo-dev 2004-05-07 11:53:09 UTC
Created attachment 30957 [details]
golden-xcursors-0.8-r1.ebuild
Comment 24 Diego Elio Pettenò (RETIRED) gentoo-dev 2004-05-07 11:53:25 UTC
Created attachment 30958 [details]
silver-xcursors-0.4-r1.ebuild
Comment 25 Donnie Berkholz (RETIRED) gentoo-dev 2004-05-07 12:02:54 UTC
Actually, I'd prefer to use the method to find which is installed that's in ati-drivers-3.7.6-r1. Take a look -- grep it for virtual/x11.
Comment 26 Diego Elio Pettenò (RETIRED) gentoo-dev 2004-05-07 23:00:08 UTC
Created attachment 30981 [details]
blueglass-xcursors-0.4-r1.ebuild

Thanks, these ebuilds use the same system.
Comment 27 Diego Elio Pettenò (RETIRED) gentoo-dev 2004-05-07 23:00:30 UTC
Created attachment 30982 [details]
golden-xcursors-0.8-r1.ebuild
Comment 28 Diego Elio Pettenò (RETIRED) gentoo-dev 2004-05-07 23:00:48 UTC
Created attachment 30983 [details]
silver-xcursors-0.4-r1.ebuild
Comment 29 Daniel Webert 2004-06-08 18:13:52 UTC
*** Bug 53356 has been marked as a duplicate of this bug. ***
Comment 30 Donnie Berkholz (RETIRED) gentoo-dev 2004-06-09 12:08:40 UTC
*-xcursors fixed.
Comment 31 Daniel Webert 2004-06-09 14:29:49 UTC
*** Bug 53447 has been marked as a duplicate of this bug. ***
Comment 32 Donnie Berkholz (RETIRED) gentoo-dev 2004-06-13 17:24:33 UTC
Fixed nxserver, nxclient, mixer_app
Comment 33 Donnie Berkholz (RETIRED) gentoo-dev 2004-06-13 17:38:25 UTC
yanc patched to look for xorg.conf
Comment 34 Donnie Berkholz (RETIRED) gentoo-dev 2004-06-13 18:11:20 UTC
Fixed all these.