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!
Created attachment 19904 [details] ebuild, manifest, digest and patch unpack archive in /usr/local/portage, installs under sys-apps/mkxf86config.
please do not attach tarballs. Better to just attach the ebuild and patch -- NEVER attach digest and Manifest. see: http://dev.gentoo.org/~liquidx
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
Created attachment 19919 [details] mkxf86config-0.7.ebuild Now depends on sys-apps/ddcxinfo-knoppix (which I submitted separately)
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.
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
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
Created attachment 22093 [details] mkxf86config-0.7.ebuild Gah! Missed a line in the header on that last one.
Created attachment 22094 [details, diff] mkxf86config-gentoo.patch -> for files directory Re-uploaded my working copy.
Bumped the ebuild and patch to 0.8-2. In CVS, thanks.