Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 533228 - x11-themes/clearlooks-phenix-5.0.7 - index.theme sets wrong Name value from SLOT (or SLOT is just plain wrong)
Summary: x11-themes/clearlooks-phenix-5.0.7 - index.theme sets wrong Name value from S...
Status: RESOLVED TEST-REQUEST
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-12-21 21:03 UTC by Joakim Tjernlund
Modified: 2015-04-16 08:52 UTC (History)
0 users

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


Attachments
clearlooks-phenix ebuild i SLOT 0 (clearlooks-phenix-5.0.7-r1.ebuild,768 bytes, text/plain)
2015-01-01 15:32 UTC, Joakim Tjernlund
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Joakim Tjernlund 2014-12-21 21:03:51 UTC
Above pkg installs under /usr/share/themes/Clearlooks-Phenix-3.10-3.12/
but does not change the Name etc. in its index.theme file which
make mate-appearance-properties complain that it cannot find the theme.
Changing index.theme to:
[Desktop Entry]
Type=X-GNOME-Metatheme
Name=Clearlooks-Phénix-3.10-3.12
Name[fr]=Clearlooks-Phénix-3.10-3.12
Comment=GTK3 port of Clearlooks
Comment[fr]=Version GTK3 de Clearlooks
Encoding=UTF-8

[X-GNOME-Metatheme]
GtkTheme=Clearlooks-Phenix-3.10-3.12
MetacityTheme=Clearlooks-Phenix-3.10-3.12
IconTheme=gnome
CursorTheme=DMZ-White
CursorSize=16
ButtonLayout=:minimize,maximize,close

Makes mate happy again.
Comment 1 Joakim Tjernlund 2014-12-23 21:30:32 UTC
hmm, stil learing this but should not clearlooks-phenix:3.10-3.12
replace any previous SLOT(like 3.6)?

In that case no name should be changed, instead the install path
Clearlooks-Phenix-3.10-3.12 should be the same as previous, just
Clearlooks-Phenix 

 Jocke
Comment 2 Julian Ospald 2014-12-23 21:42:45 UTC
(In reply to Joakim Tjernlund from comment #1)
> hmm, stil learing this but should not clearlooks-phenix:3.10-3.12
> replace any previous SLOT(like 3.6)?
> 

No, that would be misuse of SLOTs.
Comment 3 Julian Ospald 2014-12-23 21:43:34 UTC
(In reply to Joakim Tjernlund from comment #0)

I think this should be done via a sed-call. Can you provide an ebuild patch?
Comment 4 Joakim Tjernlund 2014-12-23 22:12:58 UTC
(In reply to Julian Ospald (hasufell) from comment #2)
> (In reply to Joakim Tjernlund from comment #1)
> > hmm, stil learing this but should not clearlooks-phenix:3.10-3.12
> > replace any previous SLOT(like 3.6)?
> > 
> 
> No, that would be misuse of SLOTs.

My point is since the theme *replaces* SLOT 3.6 why would you
want to keep both?
You cannot have both gtk+ versions installed anyway.
Comment 5 Joakim Tjernlund 2014-12-23 22:32:50 UTC
(In reply to Joakim Tjernlund from comment #4)
> (In reply to Julian Ospald (hasufell) from comment #2)
> > (In reply to Joakim Tjernlund from comment #1)
> > > hmm, stil learing this but should not clearlooks-phenix:3.10-3.12
> > > replace any previous SLOT(like 3.6)?
> > > 
> > 
> > No, that would be misuse of SLOTs.
> 
> My point is since the theme *replaces* SLOT 3.6 why would you
> want to keep both?
> You cannot have both gtk+ versions installed anyway.

This is what I think:

Add a clearlooks USE flag to gtk+:3.x which will
PDEPEND on clearlooks-phenix-3.X where X matches
the corresponding gtk+:3.x
Remove the SLOTs on all clearlooks-phenix

Now everything will just work and clearlooks wil follow
gtk+ version.
Comment 6 Julian Ospald 2014-12-24 13:44:03 UTC
(In reply to Joakim Tjernlund from comment #5)
> (In reply to Joakim Tjernlund from comment #4)
> > (In reply to Julian Ospald (hasufell) from comment #2)
> > > (In reply to Joakim Tjernlund from comment #1)
> > > > hmm, stil learing this but should not clearlooks-phenix:3.10-3.12
> > > > replace any previous SLOT(like 3.6)?
> > > > 
> > > 
> > > No, that would be misuse of SLOTs.
> > 
> > My point is since the theme *replaces* SLOT 3.6 why would you
> > want to keep both?
> > You cannot have both gtk+ versions installed anyway.
> 
> This is what I think:
> 
> Add a clearlooks USE flag to gtk+:3.x which will
> PDEPEND on clearlooks-phenix-3.X where X matches
> the corresponding gtk+:3.x
> Remove the SLOTs on all clearlooks-phenix
> 
> Now everything will just work and clearlooks wil follow
> gtk+ version.

I don't think gtk+ should have random use flags for themes. It's a library.
Comment 7 Joakim Tjernlund 2014-12-24 13:58:44 UTC
(In reply to Julian Ospald (hasufell) from comment #6)
> (In reply to Joakim Tjernlund from comment #5)
> > (In reply to Joakim Tjernlund from comment #4)
> > > (In reply to Julian Ospald (hasufell) from comment #2)
> > > > (In reply to Joakim Tjernlund from comment #1)
> > > > > hmm, stil learing this but should not clearlooks-phenix:3.10-3.12
> > > > > replace any previous SLOT(like 3.6)?
> > > > > 
> > > > 
> > > > No, that would be misuse of SLOTs.
> > > 
> > > My point is since the theme *replaces* SLOT 3.6 why would you
> > > want to keep both?
> > > You cannot have both gtk+ versions installed anyway.
> > 
> > This is what I think:
> > 
> > Add a clearlooks USE flag to gtk+:3.x which will
> > PDEPEND on clearlooks-phenix-3.X where X matches
> > the corresponding gtk+:3.x
> > Remove the SLOTs on all clearlooks-phenix
> > 
> > Now everything will just work and clearlooks wil follow
> > gtk+ version.
> 
> I don't think gtk+ should have random use flags for themes. It's a library.

OK, but there is only meant to be one Clearlooks-Phenix installed at any one time and it should match the installed GTK+3.x version.

How about:
Remove all SLOTs and add blockers to match given gtk+3.x lib.
Then, hopfully, portage will do the rigth thing?

If blockers wont work, just make sure to stabilize Clearlooks-Phenix as gtk+3.x is stablized.
Comment 8 Julian Ospald 2014-12-24 14:01:53 UTC
(In reply to Joakim Tjernlund from comment #7)
> How about:
> Remove all SLOTs and add blockers to match given gtk+3.x lib.
> Then, hopfully, portage will do the rigth thing?
> 
> If blockers wont work, just make sure to stabilize Clearlooks-Phenix as
> gtk+3.x is stablized.

Yes, that's the only one alternative and will regularly cause weird blockers for users, since gtk+ and clearlooks-phenix are not always synchronous and there is no way to make them, unless you are upstream yourself.

Currently people are able to use an incompatible clearlooks-phenix version with a bleeding-edge gtk+:3 version. Not everything might work, but it's better than no theme for most. If we go hardline for the deps, that won't work anymore.
Comment 9 Joakim Tjernlund 2014-12-24 14:54:42 UTC
(In reply to Julian Ospald (hasufell) from comment #8)
> (In reply to Joakim Tjernlund from comment #7)
> > How about:
> > Remove all SLOTs and add blockers to match given gtk+3.x lib.
> > Then, hopfully, portage will do the rigth thing?
> > 
> > If blockers wont work, just make sure to stabilize Clearlooks-Phenix as
> > gtk+3.x is stablized.
> 
> Yes, that's the only one alternative and will regularly cause weird blockers
> for users, since gtk+ and clearlooks-phenix are not always synchronous and
> there is no way to make them, unless you are upstream yourself.
> 
> Currently people are able to use an incompatible clearlooks-phenix version
> with a bleeding-edge gtk+:3 version. Not everything might work, but it's
> better than no theme for most. If we go hardline for the deps, that won't
> work anymore.

Right, better than the current SLOTs anyway. Just remove them and stablize
clearlooks-phenix-5.0.7 and we are good to go.
Comment 10 Joakim Tjernlund 2015-01-01 15:32:31 UTC
Created attachment 392872 [details]
clearlooks-phenix ebuild i SLOT 0
Comment 11 Joakim Tjernlund 2015-01-01 15:34:02 UTC
(In reply to Joakim Tjernlund from comment #10)
> Created attachment 392872 [details]
> clearlooks-phenix ebuild i SLOT 0

Added my own ebuild as a stopgap fix until resolved in Gentoo
Comment 12 Joakim Tjernlund 2015-01-26 08:56:26 UTC
Ping? 

Clearlooks is just broken now and something needs to be done.
Comment 13 Ian Delaney (RETIRED) gentoo-dev 2015-04-16 08:52:16 UTC
  16 Apr 2015; Ian Delaney <idella4@gentoo.org> clearlooks-phenix-5.0.7.ebuild,
  clearlooks-phenix-6.0.3.ebuild:
  clearlooks-phenix-5.0.7.ebuild brought in line with vrsn 6.0.3

*clearlooks-phenix-6.0.3 (16 Apr 2015)

  16 Apr 2015; Ian Delaney <idella4@gentoo.org> +clearlooks-phenix-6.0.3.ebuild,
  -clearlooks-phenix-3.0.16.ebuild, clearlooks-phenix-5.0.7.ebuild,
  metadata.xml:
  bump; patch by new proxy maintainer, metadata updated accordingly, all wrt bug
  #533228, rm old version 3.0.16