Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 277235 - app-portage/kuroo-0.82.0 (new ebuild)
Summary: app-portage/kuroo-0.82.0 (new ebuild)
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High enhancement (vote)
Assignee: Default Assignee for New Packages
URL:
Whiteboard: kde-sunset-overlay
Keywords: EBUILD, InOverlay
Depends on:
Blocks:
 
Reported: 2009-07-09 18:59 UTC by A Schenck
Modified: 2014-09-07 04:09 UTC (History)
0 users

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


Attachments
kuroo-0.82.0 released (kuroo-0.82.0.ebuild,519 bytes, text/plain)
2009-07-09 19:03 UTC, A Schenck
Details
updated ebuild after talking to dzhus and ssuominen in #gentoo-sunrise (kuroo-0.82.0.ebuild,478 bytes, text/plain)
2009-07-09 22:54 UTC, A Schenck
Details
Final version committed to sunrise with help from Tommy[D] (kuroo-0.82.0.ebuild,488 bytes, text/plain)
2009-07-15 21:24 UTC, A Schenck
Details

Note You need to log in before you can comment on or make changes to this bug.
Description A Schenck 2009-07-09 18:59:37 UTC
Attached is an ebuild for kuroo, the new version fixes problems with changing portage.  Workarounds to add FEATURES="metadata-transfer" are no longer necessary.

I am creating this bug prior to submitting the ebuild to sunrise, so that it can be referenced by the sunrise team.

Reproducible: Always

Steps to Reproduce:
Comment 1 A Schenck 2009-07-09 19:03:17 UTC
Created attachment 197386 [details]
kuroo-0.82.0 released
Comment 2 A Schenck 2009-07-09 19:44:34 UTC
I should note, this could be considered related to bug #236772
Comment 3 A Schenck 2009-07-09 22:54:25 UTC
Created attachment 197425 [details]
updated ebuild after talking to dzhus and ssuominen in #gentoo-sunrise
Comment 4 Billy DeVincentis 2009-07-10 03:23:41 UTC
Very happy to see this being updated, I have always loved this program. I was able to emerge the first version of the ebuild but the second one failed on the configure part
Comment 5 Billy DeVincentis 2009-07-10 03:34:58 UTC
Just tried latest version of ebuild that was to be added to sunrise overlay and that one seems to build fine.
Comment 6 A Schenck 2009-07-10 18:51:50 UTC
(In reply to comment #4)
> Very happy to see this being updated, I have always loved this program. I was
> able to emerge the first version of the ebuild but the second one failed on the
> configure part

I'd like to see what your failure was on the configure so I can try to fix it, could you paste it in or send me an email?

(In reply to comment #5)
> Just tried latest version of ebuild that was to be added to sunrise overlay and
> that one seems to build fine.
> 

I don't see kuroo in sunrise yet, though I'm talking with the people on #gentoo-sunrise to try to get it in there.  Were you trying kuroolito instead?  kuroolito (bug #192007) was another project by the former kuroo developer which never made it into portage, but I see is available on sunrise.
Comment 7 Billy DeVincentis 2009-07-11 01:14:54 UTC
The version I got that seemed to be the most recent (at least I thought it was, when I emerged this version it actually showed up as the new version asking me to back up all my files before using) I downloaded from here
http://kuroo.svn.sourceforge.net/viewvc/kuroo/ebuilds/
Comment 8 Billy DeVincentis 2009-07-11 01:17:15 UTC
Is it also my understanding that I no longer need in my make.conf
FEATURES="buildpkg distlocks fixpackages parallel-fetch preserve-libs protect-owned sandbox sfperms strict unmerge-orphans userfetch metadata-transfer"

Which of these can I remove and expect kuroo to function correctly?
Comment 9 A Schenck 2009-07-11 02:38:31 UTC
(In reply to comment #7)
> The version I got that seemed to be the most recent (at least I thought it was,
> when I emerged this version it actually showed up as the new version asking me
> to back up all my files before using) I downloaded from here
> http://kuroo.svn.sourceforge.net/viewvc/kuroo/ebuilds/
> 

I mis-read your previous comment, you said "Just tried latest version of ebuild that was _to be_ added to sunrise" and I just read that it was already added.  The one you're using is the right one, so it's great to hear that it works for you!

(In reply to comment #8)
> Is it also my understanding that I no longer need in my make.conf
> FEATURES="buildpkg distlocks fixpackages parallel-fetch preserve-libs
> protect-owned sandbox sfperms strict unmerge-orphans userfetch
> metadata-transfer"
> 
> Which of these can I remove and expect kuroo to function correctly?
> 

The only important additional feature that was required to get the old kuroo to work was "metadata-transfer"  I think the ebuild used some kind of trick to determine your previous FEATURES setting and append metadata-transfer to the end in the postinst message.  For instance my log of the kuroo emerge had this list:
FEATURES="ccache distlocks metadata-transfer sandbox sfperms strict unmerge-orphans userfetch metadata-transfer"
which has metadata-transfer twice (since I already had it in my features), and includes ccache which I've added separately.  I see your features includes buildpkg, which I assume you must have added manually yourself.  Any of the others that you don't recognize are probably defaults and would be safe to remove, since FEATURES is an incremental variable according to 'man make.conf'

It's important to note that the metadata-transfer feature is how older portage merged the gentoo package repository and all overlays you had included, so in 'fixing' the dependency on that metadata, I broke overlay support in the new kuroo.  This is one of the features that is on the list to fix in an upcoming release.
Comment 10 Billy DeVincentis 2009-07-11 05:00:55 UTC
Yes you did, all ebuilds from my personal overlay show up in the new kuroo as no longer available.
Comment 11 A Schenck 2009-07-11 05:23:50 UTC
(In reply to comment #10)
> Yes you did, all ebuilds from my personal overlay show up in the new kuroo as
> no longer available.
> 

kuroo had the same problem as Ed Catmur's udept has (hence it's hardmasked status).  We depended on the files in /var/cache/edb/dep/ for all our metadata, when that was generated on the server and moved into the tree for the gentoo repository, the 'metadata-transfer' step which previously generated the data in /var/cache/edb/dep was disabled and portage was changed to use what's in the tree.  I believe for overlays portage will still generate that cache and put it in that location, but I need to come up with logic that is able to determine the right location to look at the right time, I've been thinking of a fallback scheme for this, look in the tree first for server-generated metadata, then in /var/cache/edb/dep.  The problem with this is that, in addition to not generating the metadata anymore, the metadata in the tree reverted to an older format where each line number has special meaning, instead of the newer format where the file is a list of variables and assignments.  There was code to check the version of portage and use the new format if portage was high enough, but I had to take that out and always use the old format to work with the metadata in the tree.

Complicating my efforts, none of this is documented to speak of, the changes just happen to portage code so to figure out what is going on I have to read ebuild.sh (which isn't commented very well) and try to decode its logic for reading these files.
Comment 12 Billy DeVincentis 2009-07-12 18:08:45 UTC
Please keep up the great work, 0.82 works great and I believe that kuroo is an important program for gentoo users. Did I see the beginnings of a porting to kde4?
Comment 13 A Schenck 2009-07-13 18:07:51 UTC
(In reply to comment #12)
> Please keep up the great work, 0.82 works great and I believe that kuroo is an
> important program for gentoo users. Did I see the beginnings of a porting to
> kde4?
> 

Yes, actually Matthias Fauconneau has been doing a lot of the porting work in parallel that I didn't even know about, but he contacted me and we merged his code into the sf.net project at a new kuroo4 branch.  We're at the point where it compiles, but won't run because of the changes from kde3 to kde4.  I'm going to be working on trying to get it to run over the next several weeks while Matthias is on holiday.
Comment 14 A Schenck 2009-07-15 21:22:42 UTC
This is now in the sunrise overlay.  You can find it at:
http://overlays.gentoo.org/proj/sunrise/browser/sunrise/app-portage/kuroo
Comment 15 A Schenck 2009-07-15 21:24:07 UTC
Created attachment 198107 [details]
Final version committed to sunrise with help from Tommy[D]
Comment 16 Billy DeVincentis 2009-08-16 12:35:01 UTC
I believe I saw some work being done to port kuroo to kde4. Is it almost ready? Any chance for an ebuild. I am using kuroo with kde 4.3 and it works fine but it would be super if it was using the new kdelibs instead of the old.
Comment 17 Billy DeVincentis 2009-08-29 15:43:42 UTC
As far as kde4 and kuroo4 that I saw some work being done on, I believe it might be best to have kuroo4 be a separate slot. When I use kuroo in kde4, it changes permissions on .ICEauthority and doesn't allow me to login to kde3 until that file has permissions adjusted or is deleted.
Comment 18 A Schenck 2009-09-02 20:25:41 UTC
(In reply to comment #16)
> I believe I saw some work being done to port kuroo to kde4. Is it almost ready?
> Any chance for an ebuild. I am using kuroo with kde 4.3 and it works fine but
> it would be super if it was using the new kdelibs instead of the old.
> 

(In reply to comment #17)
> As far as kde4 and kuroo4 that I saw some work being done on, I believe it
> might be best to have kuroo4 be a separate slot. When I use kuroo in kde4, it
> changes permissions on .ICEauthority and doesn't allow me to login to kde3
> until that file has permissions adjusted or is deleted.
> 

There is work being done at the sourceforge project, but it is not close to ready yet.  Matthias Fauconneau is making really good progress on the KDE4 front after originally trying to keep most of the UI code kuroo had he instead decided that it would be easier to write most of it from scratch instead of porting over.  Anyways, the UI is there in KDE4 just in an incomplete state where you probably don't want to be actually using it to mess with packages yet.  I've already planned on having kuroo4 in a separate slot, the ebuild for kuroo that's in sunrise right now is in slot 3.5 so that it would be easier to put the new kuroo in slot 4.  Both kuroos should be able to exist side-by-side because they'll install in different directories (prefix for kde 3 and just /usr/bin for kde 4), but we'll have to make sure they don't do anything with the data in /var/cache/kuroo that the other client would get mad about.
Comment 19 Billy DeVincentis 2009-09-07 15:38:39 UTC
kuroo4 --- /var/cache/kuroo4
Comment 20 Billy DeVincentis 2009-09-13 21:23:13 UTC
Have you removed the functionality of add to world and remove from world? It no longer seems to work on mine.
Comment 21 A Schenck 2009-09-17 00:32:02 UTC
(In reply to comment #19)
> kuroo4 --- /var/cache/kuroo4
> 

That would potentially work, but we shouldn't need to duplicate all that data, and it looks like it would be reasonably safe as long as you weren't using both at the same time just to use /var/cache/kuroo.  Also, I don't plan on changing the name of the executable since the KDE4 version will just install in /usr/bin like all of KDE4, while the KDE3 version installs in /usr/kde/3.5/bin like all of KDE3.

(In reply to comment #20)
> Have you removed the functionality of add to world and remove from world? It no
> longer seems to work on mine.
> 

The functionality is still all there, but I noticed while I was working on it that kuroo has very iffy support for slots.  I have lots of slotted kde*-meta packages in my world because I have both 3.5 and 4 slots installed and kuroo doesn't parse the slots correctly so it doesn't display in the UI.  Also, when you try to add / remove any of these slotted packages that are already in the world, kuroo finds the package in world, then sees the slot and doesn't do anything.  This is one of the to-dos for some time in the future, but I'm not sure how to make a UI that can display all this information without cluttering things up too much.

To summarize, if your world file has no slots in it then everything is great, if you do have slots kuroo will work with the non-slotted parts of it, but not with the slotted parts.
Comment 22 Samuli Suominen (RETIRED) gentoo-dev 2009-12-05 14:05:52 UTC
Deprecated KDE3 application, nothing for kde@ here, removing CC. Please add us back if the upstream development if continued with a KDE4 release, thanks!
Comment 23 A Schenck 2010-04-08 18:39:29 UTC
Kuroo 0.82 has been added to kde-sunset since sunrise cleaned out all the KDE 3.5 packages.
Comment 24 Kete Tefid 2012-12-31 21:54:39 UTC
The latest kuroo crashes.
Any update on this?
Comment 25 A Schenck 2013-01-01 02:20:29 UTC
(In reply to comment #24)
> The latest kuroo crashes.
> Any update on this?

I think you may be commenting on the wrong bug.  This was from back when there wasn't any viable KDE4 version of Kuroo.  If you are still on the KDE3 version from kde-sunset I'd recommend switching to the version in the portage tree now.  If you are using the tree version I'd still need more info because its working fine for me (aside from a few known bugs).
Comment 26 Jack 2014-09-06 22:42:32 UTC
Given that app-portage/kuroo4-0.90.5 just entered the tree, should this be closed as no longer relevant?