Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 32220 - mkxf86config.sh script and Gentoo config.in
Summary: mkxf86config.sh script and Gentoo config.in
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High enhancement (vote)
Assignee: Desktop Misc. Team
URL:
Whiteboard:
Keywords: EBUILD
Depends on: 32244
Blocks:
  Show dependency tree
 
Reported: 2003-10-28 13:54 UTC by Liam Helmer
Modified: 2004-01-03 09:39 UTC (History)
0 users

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


Attachments
ebuild, manifest, digest and patch (mkxf86config.tar.bz2,1.31 KB, application/octet-stream)
2003-10-28 13:56 UTC, Liam Helmer
Details
mkxf86config-0.7-gentoo.patch for the files directory (mkxf86config-0.7-gentoo.patch,3.63 KB, text/plain)
2003-10-28 23:12 UTC, Liam Helmer
Details
mkxf86config-0.7.ebuild (mkxf86config-0.7.ebuild,636 bytes, text/plain)
2003-10-28 23:14 UTC, Liam Helmer
Details
mkxf86config-0.7.ebuild (mkxf86config-0.7.ebuild,824 bytes, text/plain)
2003-12-12 11:44 UTC, Liam Helmer
Details
mkxf86config-0.7.ebuild (mkxf86config-0.7.ebuild,837 bytes, text/plain)
2003-12-12 11:47 UTC, Liam Helmer
Details
mkxf86config-gentoo.patch -> for files directory (mkxf86config-gentoo.patch,3.63 KB, patch)
2003-12-12 11:50 UTC, Liam Helmer
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Liam Helmer 2003-10-28 13:54:40 UTC
Created from the knoppix package, with a patch to match the Gentoo default files directories. Seems to be running automatically from the hwsetup program when running autoconfig -> I guess there's a hook in there I didn't know about. Awfully convenient though!
Comment 1 Liam Helmer 2003-10-28 13:56:16 UTC
Created attachment 19904 [details]
ebuild, manifest, digest and patch

unpack archive in /usr/local/portage, installs under sys-apps/mkxf86config.
Comment 2 Seemant Kulleen (RETIRED) gentoo-dev 2003-10-28 17:25:11 UTC
please do not attach tarballs.  Better to just attach the ebuild and patch
-- NEVER attach digest and Manifest.

see: http://dev.gentoo.org/~liquidx
Comment 3 Liam Helmer 2003-10-28 23:12:59 UTC
Created attachment 19918 [details]
mkxf86config-0.7-gentoo.patch for the files directory

Changes the "Files" section in the XF86Config.in files to the gentoo defaults
Comment 4 Liam Helmer 2003-10-28 23:14:53 UTC
Created attachment 19919 [details]
mkxf86config-0.7.ebuild

Now depends on sys-apps/ddcxinfo-knoppix (which I submitted separately)
Comment 5 Donnie Berkholz (RETIRED) gentoo-dev 2003-11-10 02:54:14 UTC
A few ideas:
1) Move all the stuff in DEPEND to RDEPEND, and keep glibc there.
2) Do you need the dodirs? I don't even see the point of the /bin one.
3) I'd be very surprised if you tested it on all those architectures. Only
keyword it for archs you've tested, and do it ~arch, not arch.
4) You're missing all the header info at the top. You can get it from /usr/portage/skel.ebuild.
5) You need IUSE="" even if it's empty.
6) Try defining MY_P="xf86config-knoppix-${PV}" and using that in S and SRC_URI.
Comment 6 Brandon Hale (RETIRED) gentoo-dev 2003-12-10 21:25:48 UTC
Please make the changes suggested by Donnie.
Also, neither of your patches applies for me per your epatch.
Please test this and submit a working patch.

Thanks ;)
--tseng
Comment 7 Liam Helmer 2003-12-12 11:44:20 UTC
Created attachment 22092 [details]
mkxf86config-0.7.ebuild

OK, sorry about the delay all -> life caught up with me and made me move, etc.

So, here's the new ebuild -> cleaned up based on your suggestions, dumped a
couple of things, and made extensive use of the MY_P variables.

Tell me if there's anything more to do on it, I actually have a little time
now.

As to the patches... ?? I redownloaded the file to make sure it hadn't changed,
but the patches still apply fine for me. Make sure that the file is named
correctly. Note: I changed the name of the file in the files directory in this
version of the ebuild, simply because I figured that the XF86Config.in included
with the distribution is unlikely to change frequently in subsequent versions.
Make sure the file is installed at
sys-apps/mkxf86config/files/mkxf86config-gentoo.patch
Comment 8 Liam Helmer 2003-12-12 11:47:56 UTC
Created attachment 22093 [details]
mkxf86config-0.7.ebuild

Gah! Missed a line in the header on that last one.
Comment 9 Liam Helmer 2003-12-12 11:50:09 UTC
Created attachment 22094 [details, diff]
mkxf86config-gentoo.patch -> for files directory

Re-uploaded my working copy.
Comment 10 Ian Leitch (RETIRED) gentoo-dev 2004-01-03 09:39:41 UTC
Bumped the ebuild and patch to 0.8-2. In CVS, thanks.