With version 2.6, xxdiff now may be compiled against kdelibs, allowing some sort of KDE support in the application. As "kde" is a USE flag, I think xxdiff should be built with KDE support if that flag is enabled. Reproducible: Always Steps to Reproduce: 1. 2. 3. Expected Results: Adding KDE support is done by changing 3 lines in src/xxdiff.pro before building the Makefile. I have been attempting to get this to work, but the build currently bombs because ld cannot find -lkdeui. If I get this working, I will post my ebuild.
Created attachment 17193 [details, diff] xxdiff-2.9.2.ebuild.patch Apply this patch to the ebuild
Created attachment 17194 [details, diff] kdesupport.patch Add this in /usr/portage/dev-util/xxdiff/files/ dir
Now these patches allow the program to be compiled with kde support. The binary that is created seems to work just fine. Just don't ask me what kind of extra things it adds :-) I leave that to you ;-)
Rats, you beat me to the ebuild submission! :) That's essentially what I did here, except I was trying to make the ebuild change xxdiff.pro using "dosed" instead of an external patch file. (Oh, and I had removed some redundant things from the ebuild, like IUSE="" and S=${WORKDIR}/$P.) However, since I don't seem to understand "dosed" (it doesn't actually *do* anything here), it's back to the old-fashioned way! Thanks for your work; now everyone else can enjoy the lovely KDE support of xxdiff -- which is basically use of kfiledialog and making the widgets follow the user's theme. I really miss the extra up-arrow at the bottom of scrollbars, so of course I had to have it. :)
Created attachment 17205 [details, diff] Optional KDE support & ebuild cleanup Also removes superfluous items from ebuild, such as IUSE="". Such things are implied if not defined, so defining them to their default values is pointless.
put your patch stuff in - -r1. Let me know if there's any problems. Thanks!
whoah... sexy. i had never even seen it myself with kde widgets. i had merely patched up someone else's contribution. how cool! now that i run gentoo myself, all i had to do was emerge! :-) (the author of xxdiff)