[gentoo-user] Re: Rubygems and Rake problem

2021-01-27 Thread Hans de Graaff
On Wed, 27 Jan 2021 19:13:37 +0100, Bertram Scharpf wrote:

> after a long period with a lot of problems installing Ruby Gems and
> Gentoo packages containing Ruby Gems, I found the following solution: I
> added a line
> 
> s.executables = ["rake".freeze]
 
> What do you think? Maybe someone likes to confirm this.
> I will definitely not file any report or patch to neither the RubyGems
> nor the Rake project any more.

Could you file a but about this at https://bugs.gentoo.org/ including an 
example of the problem this is causing for you? As far as I'm aware this 
is not a known issue.

Hans




[gentoo-user] Rubygems and Rake problem

2021-01-27 Thread Bertram Scharpf
Hi,

after a long period with a lot of problems installing
Ruby Gems and Gentoo packages containing Ruby Gems, I found
the following solution: I added a line

s.executables = ["rake".freeze]

to the file "/usr/lib64/ruby/gems/2.7.0/specifications/rake-13.0.1.gemspec"
(and the other Ruby versions).

This fixed all my problems.

The longer I do research about that, I am convinced the bug
is inside the "to_ruby" method in
"/usr/lib64/ruby/site_ruby/2.7.0/rubygems/specification.rb",
line 2423. That doesn't produce the "s.executables" line.

It gets called from Portage in
"/usr/portage/eclass/ruby-fakegem.eclass", line 277.

What do you think? Maybe someone likes to confirm this.
I will definitely not file any report or patch to neither
the RubyGems nor the Rake project any more.

Bertram


-- 
Bertram Scharpf
Stuttgart, Deutschland/Germany
http://www.bertram-scharpf.de



Re: [gentoo-user] KDE has lost some desktop mouse actions

2021-01-27 Thread Mark Knecht
On Wed, Jan 27, 2021 at 12:07 AM Philip Webb  wrote:
>
> Some time ago, KDE lost the ability to assign to desktop Left-Click ;
> now it has also lost the ability to assign to desktop Middle-Click ;
> only desktop Right-Click remains, which cb assigned either to Context Menu
> or to Applications Launcher, both of which are useful :
> this is done in  ~/.config/plasma-org.kde.plasma.desktop-appletsrc ,
> in which I now have at the top :
>
>   [ActionPlugins][0]
>   LeftButton;NoModifier=org.kde.paste
>   MidButton;NoModifier=org.kde.contextmenu
>   RightButton;NoModifier=org.kde.applauncher
>   wheel:Vertical;NoModifier=org.kde.switchdesktop
>
> Has anyone managed to assign an action to Left- or Middle-Click ?
>
> I am using the latest (210123) versions of Qt Frameworks Plasma.
>
> --
> ,,
> SUPPORT ___//___,   Philip Webb
> ELECTRIC   /] [] [] [] [] []|   Cities Centre, University of Toronto
> TRANSIT`-O--O---'   purslowatchassdotutorontodotca
>

Similar to Dale's response:

mark@science:~$ cat .config/plasma-org.kde.plasma.desktop-appletsrc
[ActionPlugins][0]
MidButton;NoModifier=org.kde.paste
RightButton;NoModifier=org.kde.contextmenu
wheel:Vertical;NoModifier=org.kde.switchdesktop

[ActionPlugins][1]
RightButton;NoModifier=org.kde.contextmenu

[ActionPlugins][127]
RightButton;NoModifier=org.kde.contextmenu

[Containments][1]
activityId=
formfactor=2
immutability=1
lastScreen=0
location=4
plugin=org.kde.panel
wallpaperplugin=org.kde.image


and then a couple hundred more lines


Re: [gentoo-user] KDE has lost some desktop mouse actions

2021-01-27 Thread Dale
Philip Webb wrote:
> Some time ago, KDE lost the ability to assign to desktop Left-Click ;
> now it has also lost the ability to assign to desktop Middle-Click ;
> only desktop Right-Click remains, which cb assigned either to Context Menu
> or to Applications Launcher, both of which are useful :
> this is done in  ~/.config/plasma-org.kde.plasma.desktop-appletsrc ,
> in which I now have at the top :
>
>   [ActionPlugins][0]
>   LeftButton;NoModifier=org.kde.paste
>   MidButton;NoModifier=org.kde.contextmenu
>   RightButton;NoModifier=org.kde.applauncher
>   wheel:Vertical;NoModifier=org.kde.switchdesktop
>
> Has anyone managed to assign an action to Left- or Middle-Click ?
>
> I am using the latest (210123) versions of Qt Frameworks Plasma.
>


I have one line for middle click, MidButton.  Sharing the whole first
part for Actionplugins just in case it will help. 


root@fireball / # cat
/home/dale/.config/plasma-org.kde.plasma.desktop-appletsrc
[ActionPlugins][0]
MidButton;NoModifier=org.kde.paste
RightButton;NoModifier=org.kde.contextmenu

[ActionPlugins][0][RightButton;NoModifier]
_add panel=true
_context=true
_lock_screen=true
_logout=true
_run_command=true
_sep1=true
_sep2=true
_sep3=true
_wallpaper=true
add widgets=true
configure=true
configure shortcuts=false
lock widgets=true
manage activities=true
remove=true
run associated application=true

[ActionPlugins][1]
RightButton;NoModifier=org.kde.contextmenu



In the past when something stops working, I sometimes rename the config
directories to *.old and then start fresh.  Sometimes it is a old method
that is no longer supported that stops things from working.  I haven't
had to do that in a long time tho.  Generally, during the first login
after a upgrade, it updates config files to be compatible with new
settings.  Still, I thought it worth a mention. 

Hope the info helps.

Dale

:-)  :-)