Bug 1708 - Kshutdown's RPM package for Mageia
Summary: Kshutdown's RPM package for Mageia
Status: RESOLVED FIXED
Alias: None
Product: Mageia
Classification: Unclassified
Component: RPM Packages (show other bugs)
Version: 1
Hardware: All Linux
Priority: Normal enhancement
Target Milestone: ---
Assignee: QA Team
QA Contact:
URL:
Whiteboard: Mdv, cauldron
Keywords: Junior_job, validated_update
Depends on:
Blocks: 2929
  Show dependency treegraph
 
Reported: 2011-06-09 11:44 CEST by benoit martin
Modified: 2011-12-23 21:22 CET (History)
10 users (show)

See Also:
Source RPM: kshutdown
CVE:
Status comment:


Attachments
kshutdown spec file (1.68 KB, text/plain)
2011-06-13 18:25 CEST, Olivier Delaune
Details

Description benoit martin 2011-06-09 11:44:19 CEST
I haven't found the software Kshutdown in source rpm
benoit martin 2011-06-11 12:23:28 CEST

Severity: normal => enhancement

Olivier Placais 2011-06-11 12:55:35 CEST

CC: (none) => olivier.placais

Comment 1 Olivier Delaune 2011-06-13 18:25:26 CEST
Created attachment 560 [details]
kshutdown spec file

I attached spec file adaptation from Mandriva spec file. I tested it on my laptop KDE 64-bits and it looks like ok.
Comment 2 John Balcaen 2011-06-14 14:15:06 CEST
Package is imported on svn & should be soon available on cauldron.

CC: (none) => balcaen.john

Comment 3 Olivier Delaune 2011-08-10 09:58:11 CEST
Is it possible to backport it to Mageia 1? Thanks.

CC: (none) => olivier.delaune

Manuel Hiebel 2011-09-02 22:41:19 CEST

Keywords: (none) => Junior_job

Manuel Hiebel 2011-09-09 23:13:43 CEST

Whiteboard: (none) => Backport

Samuel Verschelde 2011-09-13 13:04:11 CEST

Keywords: (none) => Backport
Whiteboard: Backport => (none)

Philippe Didier 2011-10-04 20:14:34 CEST

Blocks: (none) => 2929

Manuel Hiebel 2011-10-07 11:39:16 CEST

Component: New RPM package request => RPM Packages

Comment 4 Marja Van Waes 2011-12-06 15:21:19 CET
lol, Sophie gives a French summary:

[15:15] <Sophie> KShutDown est un outils avancé de gestion de l'extinction // core-release (Mga, cauldron, i586)

The package doesn't need to be backported, because it is in Mdv

assigning to maintainer

Keywords: Backport => (none)
CC: (none) => marja11
Assignee: bugsquad => juan.baptiste
Source RPM: (none) => kshutdown
Whiteboard: (none) => Mdv, cauldron

Juan Luis Baptiste 2011-12-06 19:14:25 CET

Status: NEW => ASSIGNED

Comment 5 Juan Luis Baptiste 2011-12-06 19:22:45 CET
I don't understand very well which is the problem here ? the spec file has the Summary tag both in english and french:


Summary:        Advanced shut down utility for KDE
Summary(fr):    KShutDown est un outils avancé de gestion de l'extinction

Maybe you see the french text because of your locale?
Comment 6 Marja Van Waes 2011-12-06 20:07:38 CET
This was the first time Sophie showed me a summary in French on IRC.
But I don't mind, j'aime la France et les Français(es) :D
Comment 7 Marja Van Waes 2011-12-06 20:11:28 CET
BTW, it was assigned to you because of the request to package it for Mga 1 ;)
Comment 8 Juan Luis Baptiste 2011-12-06 20:15:54 CET
Indeed, but I have no idea why sophie shows the french version instead of the default english version. Also this is the first time I see a spec file with a localized Summary ?
Comment 9 Juan Luis Baptiste 2011-12-06 20:25:02 CET
(In reply to comment #8)
> Indeed, but I have no idea why sophie shows the french version instead of the
> default english version. Also this is the first time I see a spec file with a
> localized Summary ?

Ok I talked about this with mikala on IRC and he tells me this is an RPM bug that is already fixed on cauldron.
Comment 10 Olivier Delaune 2011-12-06 20:27:13 CET
(In reply to comment #8)
> Indeed, but I have no idea why sophie shows the french version instead of the
> default english version. Also this is the first time I see a spec file with a
> localized Summary ?

I am a beginner in packaging so I do not know the usage about locale. I saw
that in other spec file. If there is any problem, I guess you can remove it.
Comment 11 Juan Luis Baptiste 2011-12-07 07:29:09 CET
So, it isn't clear to me what I have to do. If it doesn't needs to be backported because it was already on Mandriva, should I push it as an update ?
Comment 12 Marja Van Waes 2011-12-07 07:46:01 CET
@ Juan Luis

Just do the same as was done for bug 1502 and 2641, those packages were in Mdv, too and got packaged for cauldron first.

Please push to 1/updates_testing and assign to QA testing :) After they validate the package, it'll be pushed from testing to 1/updates :)
Comment 13 Juan Luis Baptiste 2011-12-07 15:31:40 CET
The current kshutdown 2.0 doesn't compile on cauldron :(

I'll have to dig deeper into this and see if I can come up with a patch. Also I'll try with latest 2.1 beta version. That version could be sent to updates_testing ? or just the patched 2.0 version ?
Comment 14 Juan Luis Baptiste 2011-12-07 15:52:44 CET
2.1beta fails too, but anyway, this is on cauldron with KDE 4.7.3 so I still should push the update for mga 1 as this problem won't happen there ;)

And I'll try to figure out how to fix this problem for cauldron later.
Comment 15 Juan Luis Baptiste 2011-12-07 16:09:13 CET
hmmm but if the package isn't in mga 1, how can I push the update ? the updates policy says to check out the mga 1 version, update/fix, set subrel it and push to updates_testing.

How should be the procedure in this case ?
Comment 16 Marja Van Waes 2011-12-07 17:34:57 CET
(In reply to comment #15)
> hmmm but if the package isn't in mga 1, how can I push the update ? the updates
> policy says to check out the mga 1 version, update/fix, set subrel it and push
> to updates_testing.
> 
> How should be the procedure in this case ?

hmm, all I know is that packages that were in Mdv 2010.x, can be packaged for 1, no need to backport them, and that I've seen them go in 1/updates

@ Florian

Can you help Juan Luis with the correct procedure?

CC: (none) => doktor5000

Comment 17 Marja Van Waes 2011-12-08 13:25:26 CET
Meanwhile, I found:

https://wiki.mageia.org/en/Updates_policy#Version_Policy

item 3:
We will make exceptions for packages that did not make it into mga1 and are additions to the distribution, provided they do not impact any other packages and can pass full QA.
Comment 18 Kamil Rytarowski 2011-12-08 14:36:47 CET
https://wiki.mageia.org/en/Mgarepo#The_package_doesn.27t_exist_yet_in_Mageia_1

Version/Release of a package in stable must be behind cauldron.

So:
1. bump release for cauldron
2. use subrel for stable/updates

CC: (none) => n54

Comment 19 Juan Luis Baptiste 2011-12-10 00:29:06 CET
(In reply to comment #18)
> https://wiki.mageia.org/en/Mgarepo#The_package_doesn.27t_exist_yet_in_Mageia_1
> 
> Version/Release of a package in stable must be behind cauldron.
> 
> So:
> 1. bump release for cauldron
> 2. use subrel for stable/updates

So I do a checkout directly from cauldron, do 1 and 2 and submit to updates_testing ? I thought that there was a restriction on that and mgarepo won't let me do that submit... I'm not at my machine right now so I can't test it.
Comment 20 Kamil Rytarowski 2011-12-10 10:24:29 CET
1) Copy the package from cauldron's tree into updates/1's tree:
svn cp svn+ssh://svn.mageia.org/svn/packages/cauldron/kshutdown svn+ssh://svn.mageia.org/svn/packages/updates/1/kshutdown

2)Edit cauldron's package and bump release (+1)

3)If there is need to edit something in updates/1's version then don't touch Release number! Just add: "%define subrel 1" at the beginning of the .spec.
Comment 21 Kamil Rytarowski 2011-12-10 10:26:22 CET
And yes, submit into updates_testing and then assign the bug to QA asking to test it.
Comment 22 Manuel Hiebel 2011-12-10 10:47:55 CET
(next time don't ask the bugsquad instead of your mentor / another packagers...)
Comment 23 Juan Luis Baptiste 2011-12-13 16:43:57 CET
(In reply to comment #22)
> (next time don't ask the bugsquad instead of your mentor / another
> packagers...)

Sorry :(

There's a last issue here: currently kshutdown doesn't compile on cauldron with the latest KDE, not even the latest 2.1 beta (which I haven't updated to yet on cauldron), so I can't submit to the BS the bumped cauldron version. I suppose this isn't an issue while mga 2 isn't out, right ?
Comment 24 Juan Luis Baptiste 2011-12-13 19:57:11 CET
Ok, update pushed to updates_testing. As this package didn't exist in mga 1, it still needs some kind of advisory ?
Juan Luis Baptiste 2011-12-13 19:59:40 CET

Assignee: juan.baptiste => bugsquad

Comment 25 Kamil Rytarowski 2011-12-13 20:18:51 CET
Yes, it needs advisory.
Please note that for mentioning bugs in change log we have to write "- resolved bug description (mga #NUMBER)"
Manuel Hiebel 2011-12-13 21:10:32 CET

CC: doktor5000 => juan.baptiste
Assignee: bugsquad => qa-bugs

Comment 26 Dave Hodgins 2011-12-13 21:46:43 CET
Testing complete on i586 for the srpm
kshutdown-2.0-1.mga1.src.rpm

Confirmed it showed up in the menu under Tools/System Tools.
Confirmed it could do a timed logout.

It correctly notified me I had disabled the show shutdown
options, disabling the option to try to have it shutdown.

CC: (none) => davidwhodgins

Comment 27 Juan Luis Baptiste 2011-12-13 22:54:15 CET
Advisory:

The KShutDown program was available on Mandriva 2010.x but it wasn't on Mageia 1. This update makes it available on Mageia 1.
Comment 28 Dave Hodgins 2011-12-21 01:54:48 CET
We still need x86-64 testing for kshutdown.
Comment 29 Olivier Delaune 2011-12-21 10:04:39 CET
I would like to test 64-bit version but I see nothing in Testing repo on Mga1.
Comment 30 David GEIGER 2011-12-21 10:16:26 CET
(In reply to comment #29)
> I would like to test 64-bit version but I see nothing in Testing repo on Mga1.

Hello Olivier,

Yet the package is indeed in the Media Core_Updates_Testing :

v kshutdown:
2.0-1.mga1 // core-updates_testing (Mga, 1, x86_64)
2.0-1.mga1 // core-updates_testing (Mga, 1, i586)


You'd have to refresh the media with the command (as root):

# urpmi.update Release Updates Backports

CC: (none) => geiger.david68210

Comment 31 Olivier Delaune 2011-12-21 10:29:14 CET
Indeed :/
everything works fine. I tested, screen lock, rebbot and shutdown.
Comment 32 David GEIGER 2011-12-21 10:44:43 CET
Testing complete on Mageia release 1 (Official) for x86_64 ,it work fine.

-Installation, Ok
-Restart Computer, Ok
-Turn Off Computer, Ok
-lock Screen, Ok
-Logout, Ok
-Hibernate Computer, Ok
-With a selected time, it is also OK.
Comment 33 Olivier Delaune 2011-12-21 10:47:37 CET
Sorry, but I found a minor problem.
If I select "lock screen", when I log me to unlock, style has changed (set at IaOra-kde instead of oxygen before locking sreen), and color too (set at Ia Ora Night instead of Oxygen).
Comment 34 Juan Luis Baptiste 2011-12-21 20:06:08 CET
Are you sure that you didn't install anything else when you installed kshutdown from update_testing repo ? can you reproduce that problem ?

Change back to oxygen theme, select "lock screen" and unlock to see if it happens again.
Comment 35 Olivier Delaune 2011-12-21 20:15:09 CET
I rebooted my laptop and now I have not this problem anymore. So ok for me.
Comment 36 Dave Hodgins 2011-12-22 01:35:42 CET
Validating the update.

Could someone from the sysadmin team push the srpm
kshutdown-2.0-1.mga1.src.rpm
from Core Updates Testing to Core Updates

Advisory:  This update adds the kshutdown package, an advanced shut down
utility for KDE, which was available in Mandriva 2010.2, but missing from
Mageia 1.

Keywords: (none) => validated_update
CC: (none) => sysadmin-bugs

Comment 37 Kamil Rytarowski 2011-12-22 03:24:10 CET
$ kshutdown 
GDM: <FOUND>
GNOME: <FOUND>
Xfce: not detected
KDE Full Session: not detected
KDE 4: not detected
KDM: not detected
WARNING: GNOME/Xfce desktop and/or GDM (login manager) are not supported yet.
         Some functions may be unavailable.
         Try GShutdown which is more compatible with GNOME/GDM and Xfce.
         http://gshutdown.tuxfamily.org/

No luck here.
Comment 38 Juan Luis Baptiste 2011-12-22 04:17:41 CET
(In reply to comment #37)
> $ kshutdown 
> GDM: <FOUND>
> GNOME: <FOUND>
> WARNING: GNOME/Xfce desktop and/or GDM (login manager) are not supported yet.
>          Some functions may be unavailable.
>          Try GShutdown which is more compatible with GNOME/GDM and Xfce.
>          http://gshutdown.tuxfamily.org/
> 
> No luck here.

Maybe because kshutdown is done for KDE and you are in GNOME, I think you should use gshutdown as the warning is telling you...
Comment 39 Kamil Rytarowski 2011-12-22 14:49:49 CET
Yes I know, my intention was to help with tests.. but I won't install KDE just for this.

And it seems there is no Gshutdown in Mageia.
Comment 40 Thomas Backlund 2011-12-23 21:22:59 CET
Update pushed.

Status: ASSIGNED => RESOLVED
CC: (none) => tmb
Resolution: (none) => FIXED


Note You need to log in before you can comment on or make changes to this bug.