Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 21127 - XFree 4.3.99.* ebuilds?
Summary: XFree 4.3.99.* ebuilds?
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: Normal enhancement (vote)
Assignee: Gentoo X packagers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-05-16 16:06 UTC by fbusse
Modified: 2003-12-07 16:32 UTC (History)
5 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
Creates xc/exports/lib in build (exports-lib.patch,317 bytes, patch)
2003-06-14 01:18 UTC, Andrew Bevitt
Details | Diff
Ebuild for latest snapshot (xfree-4.3.99.6.tar.gz,21.12 KB, application/x-gzip)
2003-06-15 04:33 UTC, Andrew Bevitt
Details
USE THIS EBUILD PACKAGE (xfree-4.3.99.6-r1.tar.gz,21.26 KB, application/x-gzip)
2003-06-16 04:24 UTC, Andrew Bevitt
Details
Not using 4.3.0 patches, will definately work (xfree-4.3.99.6-r2.tar.gz,22.13 KB, application/gzip)
2003-06-16 06:48 UTC, Andrew Bevitt
Details
4.3.99.6-r3 :: Corrects SetUID starting issues. (xfree-4.3.99.6-r3.tar.gz,22.22 KB, application/x-gzip)
2003-06-19 05:46 UTC, Andrew Bevitt
Details
4.3.99.7 (see description) (xfree-4.3.99.7.tar.gz,22.08 KB, application/x-gzip)
2003-06-27 08:38 UTC, Andrew Bevitt
Details
4.3.99.7 (see description) (xfree-4.3.99.7.tar.gz,22.08 KB, application/x-gzip)
2003-06-27 08:39 UTC, Andrew Bevitt
Details
4.3.99.9 ebuild (See description) (xfree-4.3.99.9.ebuild,31.49 KB, text/plain)
2003-07-28 05:24 UTC, Andrew Bevitt
Details
Ebuild that patches (xfree-4.3.99.9-r1.ebuild,31.21 KB, text/plain)
2003-07-29 01:44 UTC, Andrew Bevitt
Details
CVS-Patch (cvs-update.patch,664 bytes, patch)
2003-07-29 01:45 UTC, Andrew Bevitt
Details | Diff
New ebuild that uses Tarball (see below) (xfree-4.3.99.9-r2.ebuild,30.90 KB, text/plain)
2003-07-30 17:31 UTC, Andrew Bevitt
Details
4.3.99.9 ebuild with tarball for patches (xfree-4.3.99.9-r3.ebuild,28.87 KB, text/plain)
2003-08-05 16:49 UTC, Andrew Bevitt
Details
4.3.99.10 Ebuild (xfree-4.3.99.10.ebuild,30.16 KB, text/plain)
2003-08-11 06:30 UTC, Andrew Bevitt
Details
Files tar ball (xfree-4.3.99.10-gentoo-files-0.2.tar.bz2,10.53 KB, application/octet-stream)
2003-08-11 06:32 UTC, Andrew Bevitt
Details
Patches tar ball (xfree-4.3.99.10-gentoo-patchset-0.2.tar.bz2,836 bytes, application/octet-stream)
2003-08-11 06:33 UTC, Andrew Bevitt
Details
Patch for changed #define and default (Yes is default now) (xfree-4.3.99.10.ebuild.ipv6.patch,426 bytes, patch)
2003-08-14 12:04 UTC, Mikael A
Details | Diff
Patch to get Gentoo Cursors working. (cursor.patch,2.30 KB, patch)
2003-08-22 02:18 UTC, Andrew Bevitt
Details | Diff
4.3.99.11 (xfree-4.3.99.11.ebuild,30.45 KB, text/plain)
2003-08-26 23:02 UTC, Andrew Bevitt
Details
InputDevices patch (10500_all_InputDevices.patch,848 bytes, patch)
2003-08-26 23:04 UTC, Andrew Bevitt
Details | Diff
4.3.99.12 (xfree-4.3.99.12.ebuild,30.93 KB, text/plain)
2003-09-10 15:27 UTC, Andrew Bevitt
Details

Note You need to log in before you can comment on or make changes to this bug.
Description fbusse 2003-05-16 16:06:28 UTC
Would it be possible to put ebuilds for the snapshots into portage, like there were for 
4.2.99.*? 
I'd like to use/test some of the new features.
Comment 1 Seemant Kulleen (RETIRED) gentoo-dev 2003-06-02 10:00:44 UTC
I will, at some point, but it will take at least a week, maybe 2, before I am able to.
Comment 2 Andrew Bevitt 2003-06-14 01:18:48 UTC
Created attachment 13256 [details, diff]
Creates xc/exports/lib in build

Patch file as requested by semmant on #gentoo 

Cyfred.
Comment 3 Andrew Bevitt 2003-06-15 04:33:05 UTC
Created attachment 13296 [details]
Ebuild for latest snapshot

This tar ball needs to be extracted to 
${PORTAGE_OVERLAY}/x11-base/xfree/

Once there simply emerge by normal methods. 

Seemant: Please note that I have not gone through all of the 4.3.0 patches but
that the patchset will apply in no way breaking the build, there are several
patches that are outdated though which I am going through and removing/updating
depending ...
Comment 4 Andrew Bevitt 2003-06-16 03:58:26 UTC
The seems to have been a slight confusion in what to do with the attached tarball.

This tarball is heavily dependent on the enitre archive being uncompressed to 
${PORTAGE_OVERLAY}/x11-base/xfree (or if you want to uncompress it after every sync the equivelent directory under ${PORTAGE_DIR} -- not recommended).

You then emerge the build with 
emerge -u ${PORTAGE_OVERLAY}/x11-base/xfree/xfree-4.3.99.6.ebuild 

This package has quite a few custom patches and files that are statically fead to the build process so you cant just move the ebuild script around willy nilly. Im sorry if this seems obvious but there were quite a few problems where the above was not followed.
Comment 5 Andrew Bevitt 2003-06-16 04:24:42 UTC
Created attachment 13360 [details]
USE THIS EBUILD PACKAGE

Hmm it appears that one or two of the old patchset files caused a few problems,
and I also managed to actually not apply the acecad fix in the first ebuild. My
appologies to anyone that had a build error regarding acecad something arather.


This ebuild does not have such issues as it only applied the acecad patch out
of the 4.3.0 patchset.
Comment 6 Andrew Bevitt 2003-06-16 06:48:10 UTC
Created attachment 13362 [details]
Not using 4.3.0 patches, will definately work

Ok there seems to even be problems with the acecad patch, that do not let it
apply, thanks to not_registered on #gentoo for patiently testing that with me.
This ebuild does not use the patchset from 4.3.0 at all. If something doesnt
work from this one it is a bug that hasnt shown up yet (hopefully).
Comment 7 Andrew Bevitt 2003-06-19 05:46:52 UTC
Created attachment 13534 [details]
4.3.99.6-r3 :: Corrects SetUID starting issues.

Thanks to some people on #xfree86 I found out that Xwrapper is no longer
supplied with X therefore you must either setuid the actual X server or use xdm
(or one of its derivatives). This latest release will actually build the server
setuid so that either way works.

This also corrects linking issues for /usr/X11R6/bin/X
Comment 8 Andrew Bevitt 2003-06-27 08:38:03 UTC
Created attachment 13929 [details]
4.3.99.7 (see description)

This version purely had to have the ebuild and files patch dir renamed.

So far from use I have found that
Comment 9 Andrew Bevitt 2003-06-27 08:39:09 UTC
Created attachment 13930 [details]
4.3.99.7 (see description)

This version purely had to have the ebuild and files patch dir renamed.

So far from use I have found that some input boxes do not work
- AMSN text doesnt work
- GFtp password box cant be entered at either

Anyone got any ideas if this is X related cause I didnt change anything else
Comment 10 Donnie Berkholz (RETIRED) gentoo-dev 2003-07-10 23:23:20 UTC
Renaming 4.3.99.7 ebuild and files/4.3.99.7 to 4.3.99.8 worked great. You can grab them from http://dev.gentoo.org/~spyderous/overlay/x11-base/xfree/ if you're too lazy to do it yourself.
Comment 11 Andrew Bevitt 2003-07-11 02:37:42 UTC
I just renamed the files as listed above and compiled.
Now the AMSN and GFtp bug has been resolved it is working as possible.
Comment 12 Donnie Berkholz (RETIRED) gentoo-dev 2003-07-13 02:32:22 UTC
xfree-4.3.99.9.ebuild added to the portage tree. Slight modification required since Xwrapper is no longer used and that was not taken into consideration, so a symlink was deleted that shouldn't have been. Thanks Andrew; if you can, let me know if future revisions need more changes than renaming.
Comment 13 Donnie Berkholz (RETIRED) gentoo-dev 2003-07-13 02:32:48 UTC
Correction: xfree-4.3.99.8.ebuild
Comment 14 Andrew Bevitt 2003-07-28 05:24:58 UTC
Created attachment 15122 [details]
4.3.99.9 ebuild (See description)

This is the ebuild for the most recent snapshot.

I am running this release right now and it seems to be just as stable as
4.3.99.8 has been for the last few weeks. There arent a lot of _new_ features
that are very mind blowing as such, but I would recommend that running this
does fix a lot of X  related bugs.

Having said that there was one problem in the build process. An invalid lvalue
assignment, which has since been updated and fixed in the CVS code. PLEASE NOTE
that this ebuild uses CVS to update this single tree
(xc/programs/Xserver/hw/xfree86/ddc) -- This is only 10 files and should not
take any time at all to download. As a result though dev-utils/cvs has been
added as a dependency -- do not worry when this package begins being merged, if
you do not have it allready.
Comment 15 Donnie Berkholz (RETIRED) gentoo-dev 2003-07-28 08:55:32 UTC
Andrew: Instead of requiring CVS, could you manually create a patch using diff -urN of the relevant directories? That will create a static patch instead of something that will become outdated and requires compiling cvs.
Comment 16 Andrew Bevitt 2003-07-29 01:44:06 UTC
Created attachment 15177 [details]
Ebuild that patches

As requested non-cvs ebuild.
The patch is in the next attachment.
Comment 17 Andrew Bevitt 2003-07-29 01:45:33 UTC
Created attachment 15178 [details, diff]
CVS-Patch

This patch must go into ${FILESDIR}/${PV}/cvs-update.patch
(on my system this is
/usr/local/portage/x11-base/xfree/files/4.3.99.9/cvs-update.patch)
Comment 18 Donnie Berkholz (RETIRED) gentoo-dev 2003-07-30 00:21:18 UTC
Another somewhat related note, I'm hoping to move all the crap in filesdir to a ${PF}-gentoo-files-${FILES_PATCH_VER}.tar.bz2 in the near future so we don't hog up the portage tree. I'm gonna try hacking this into 4.3.99.9 and see how it goes.
Comment 19 Andrew Bevitt 2003-07-30 02:00:40 UTC
That would not be a bad idea spyderous. 
 
Let me know when the thing hits portage and ill merge it over the top of my currently running 
version to test etc... 
Comment 20 Andrew Bevitt 2003-07-30 17:31:18 UTC
Created attachment 15254 [details]
New ebuild that uses Tarball (see below)

As is commented above the ${FILESDIR} component has been moved to a tar.bz2
file 
${P}-gentoo-files-${FILES_VER}.tar.bz2

This tarball is yet to enter the portage distfiles mirrors, so you will not be
able to use this ebuild for a few hours. Ive tested compiling it on both Athlon
XP's and P4's so it will work. 

If you are impatient and dont want to wait for the tarball to hit portage then
run the following commands to get the tar ball from previous files

# cd /tmp 
# cp -a ${PORTDIR_OVERLAY}/x11-base/xfree/files/4.3.99.9 ./files
# tar cjf ${DISTDIR}/xfree-4.3.99.9-gentoo-files-0.1.tar.bz2 files/

Now you can emerge. I recommend waiting for the tarball to hit portage.
Comment 21 Donnie Berkholz (RETIRED) gentoo-dev 2003-08-03 01:59:17 UTC
4.3.99.9 committed. A couple of little tweaks like the one in bug #17243, so please use this as the reference for future ebuilds. Also something to keep in mind Andrew, the files tarball should be mostly static and not have patches like the cvs one; that should be separate in a patch tarball. I left it this time, but for the future..especially after the release that's how it will likely be, when the patches tarball is always changing but the files one stays pretty much exactly the same.
Comment 22 Andrew Bevitt 2003-08-05 16:49:04 UTC
Created attachment 15575 [details]
4.3.99.9 ebuild with tarball for patches

OK I finally had a minute to spare so I made some of those tar ball changes.

All of the patches are now in a seperate tarball
${PN}-${PV}-gentoo-patchset-${PATCH_VERSION}.tar.bz2 which ive uploaded to
http://www.volutin.net/andrew/GENTOO/misc/xfree-4.3.99.9-gentoo-patchset-0.1.tar.bz2


Consequently there is also a new files tar ball so version was bumped to 0.2
see 
http://www.volutin.net/andrew/GENTOO/misc/xfree-4.3.99.9-gentoo-files-0.2.tar.bz2


This ebuild also has the changes for distcc included ... naturally.

Please people using distcc check the results of bug #17243 being in the ebuild.
Comment 23 Rob Kruus 2003-08-06 10:18:55 UTC
The cursor themes now seem to be in a different location that what the einfo says.  The got installed in /usr/X11R6/lib/X11/icons, not /usr/share/cursors.
Comment 24 Andrew Bevitt 2003-08-11 06:30:58 UTC
Created attachment 15904 [details]
4.3.99.10 Ebuild

Here is an ebuild for the latest snapshot.

This ebuild now has the cursors installed into /usr/share/cursors.
This ebuild includes support for distcc as listed in the above bug.
This ebuild compiles the new synaptics driver.

There are a few new tar ball packages for files and patches, they will be the
next two attachments.
Comment 25 Andrew Bevitt 2003-08-11 06:32:29 UTC
Created attachment 15906 [details]
Files tar ball
Comment 26 Andrew Bevitt 2003-08-11 06:33:04 UTC
Created attachment 15907 [details]
Patches tar ball
Comment 27 Donnie Berkholz (RETIRED) gentoo-dev 2003-08-13 13:16:58 UTC
4.3.99.10 committed, should be out on mirrors shortly. A fair number of updates within the ebuild from .9, including a couple I may remove soon, like the external via driver; the internal one is probably as good or better. Changes in xfree available at http://www.xfree86.org/develsnaps/, but mostly keyboard maps, via and sis driver fixes, and truetype stuff.
Comment 28 Mikael A 2003-08-14 12:04:36 UTC
Created attachment 16110 [details, diff]
Patch for changed #define and default (Yes is default now)

Makes the ipv6 useflag work as intended. In 4.3.99.10 ipv6 is default and the
name of the define has changed from HasIPv6 to BuildIPv6.
Comment 29 Andrew Bevitt 2003-08-22 02:18:49 UTC
Created attachment 16455 [details, diff]
Patch to get Gentoo Cursors working.

OK. 

This patch now gets the cursors (ie mouse pointers) to install into
/usr/share/cursors/xfree as we want as opposed to /usr/X11R6/lib/X11/icons --
where the default is. It appears that 4.3.99.* do not have the same
functionality as the 4.3.0 builds did. There is no more the ability to use
config/cf/Imake.cf (or similar) to specify the icondir.

Remember aswell that custom system wide cursors should go in
/usr/local/share/cursors/xfree so to not be overwritten by future ebuilds. Dont
worry, they will work from here aswell (or should as that path is in the
CURSORPATH before /usr/share/cursors/xfree).
Comment 30 Andrew Bevitt 2003-08-26 23:02:41 UTC
Created attachment 16668 [details]
4.3.99.11 

OK after a slight core inputdevice fix from the xfree devel mailing list, the
ebuild and X works for this snap shot. A few please notes:
1) A via driver snapshot from cvs is used as
XFree86-4.3.99.11-drivers-via-0.1.tar.bz2 (naturally using PV and VIADRV_VER)
2) The following patch is also needed, fixed up for applying from the ebuild.
3) The IPv6 patch has been merged into the ebuild.
4) Cursors definately work now. See /usr/share/cursors/xfree/ for the defaults
+ TaD's cursors.
5) SiS driver version has been updated to 230803-1
Comment 31 Andrew Bevitt 2003-08-26 23:04:39 UTC
Created attachment 16669 [details, diff]
InputDevices patch

spyderous: I dubbed this patch 10500_all_InputDevices.patch for my build no big
deal though. Have changed the header so that it applies smoothly without cd
/long/path/here.
Comment 32 Henrik Schöpel 2003-08-27 02:23:54 UTC
Hi, 
 
The snapshot ebuild 4.3.99.11 won`t work. The ebuild can`t fetch this pachset  
"!!! Couldn't download XFree86-4.3.99.11-patches-0.6.tar.bz2. Aborting." 
 
If you have some time it would be really nice if you can fix this problem. I`m using the 
xfree snapshot because i have a notebook with savage driver too and it works better 
by using the betaversions. 
 
greetings 
Henrik 
Comment 33 Andrew Bevitt 2003-08-27 08:01:48 UTC
Yes the actual package has not yet been added to portage, and hence the tar balls which are new, have not been uploaded to the portage distfiles mirrors yet either. 

For the time being manually get both the XFree86-4.3.99.11-* files from
http://www.volutin.net/andrew/GENTOO/misc/ and store them to your DISTDIR (/usr/portage/distfiles by default).

Regenerate the digest, with ebuild foo.ebuild digest and then try emerging again.
Comment 34 FL 2003-08-27 13:32:10 UTC
the *-files-0.3.tar.bz2 is missing
Comment 35 Andrew Bevitt 2003-08-27 22:59:48 UTC
Copy or rename the file 
${DISTDIR}/XFree86-4.3.99.10-files-0.3.tar.bz2
to
${DISTDIR}/XFree86-4.3.99.11-files-0.3.tar.bz2
Comment 36 Chris Irwin 2003-09-01 20:08:58 UTC
I have an issue with display managers being unable to start (both xdm and gdm) with 4.3.99.11. 

They give an error about being unable to disable listening on tcp, and failing to init ipv6, which I do not use.
Comment 37 Donnie Berkholz (RETIRED) gentoo-dev 2003-09-01 21:27:49 UTC
Take a look at /etc/X11/gdm/gdm.conf, and change this in line 294:
FROM -nolisten tcp
TO -nolisten inet
(or -nolisten inet6, if you use ipv6)
OR you could remove the '-nolisten tcp', which would have the side effect of causing it to listen on TCP.

Let me know if that works. Their idea was to cause -nolisten tcp to do both ipv4 and ipv6, but my idea is if ipv6 isn't recognized, it might die like you saw.
Comment 38 Henrik Schöpel 2003-09-10 12:37:15 UTC
Hi Andrew. If you have some time could you create a new ebuild ? Latest 
development snapshot: 4.3.99.12 (10 September 2003)There are tons of 
new features,patches etc not only for my VIA graphic adapter :) 
 
There is a reverse engineered patch for via adapter that add MPEG2 
hardware decompression. Maybe you could include that ? 
 
greetings 
Henrik 
Comment 39 Henrik Schöpel 2003-09-10 12:39:42 UTC
i forgot the link for hardware decompression  
http://www.ivor.it/cle266/ 
Comment 40 Andrew Bevitt 2003-09-10 15:27:43 UTC
Created attachment 17465 [details]
4.3.99.12

Works with all previous tarballs.

The two CVS update patches have been merged into this release obviously, so the
ebuild has been updated to move them into ${PATCH_DIR}/excluded.

SiS driver has been updated to 090903-1 and is reflected in this ebuild aswell.
Comment 41 Damon 2003-09-14 12:58:37 UTC
4.3.99.12 ebuild gets stuck trying to d/l files that don't exist.  Also still not part of portage tree.
Comment 42 Donnie Berkholz (RETIRED) gentoo-dev 2003-09-15 23:31:21 UTC
4.3.99.12's been in the tree since yesterday, for any of you who haven't noticed.
Comment 43 Donnie Berkholz (RETIRED) gentoo-dev 2003-09-26 01:29:06 UTC
Just committed 4.3.99.13.
Comment 44 Roger 2003-10-08 16:03:29 UTC
i noticed ;-)

however, found these ebuilds masked within the past couple of days which
prevented doing "emerge -UDp world".

Also, the gnome-2.4 upgrade over the past day or two resulted in my test
box reverting to what is referred to as the stable xfree builds (4.3.0-r3).
:-(


Comment 45 Donnie Berkholz (RETIRED) gentoo-dev 2003-10-08 16:16:13 UTC
roger:
mkdir /etc/portage
echo "x11-base/xfree" >> /etc/portage/package.unmask
Comment 46 Martin Holzer (RETIRED) gentoo-dev 2003-12-07 16:32:47 UTC
closing with

xfree-4.3.99.15.ebuild
xfree-4.3.99.16.ebuild
xfree-4.3.99.901.ebuild