Bug 3831

Summary: razorqt ships with a xsession file
Product: Mageia Reporter: Kamil Rytarowski <n54>
Component: RPM PackagesAssignee: Matteo Pasotti <matteo.pasotti>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: Normal CC: anssi.hannula
Version: CauldronKeywords: Triaged
Target Milestone: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Source RPM: razorqt CVE:
Status comment:

Description Kamil Rytarowski 2011-12-20 20:27:25 CET
Description of problem:
%{_datadir}/xsessions/razor*.desktop

Mageia uses file-triggers to generate xsession files from wmsession.
Comment 1 Manuel Hiebel 2011-12-20 22:26:47 CET
Hi, thanks for reporting this bug.
Assigned to the package maintainer.

(Please set the status to 'assigned' if you are working on it)

Keywords: (none) => Triaged
Assignee: bugsquad => pasotti.matteo

Comment 2 Kamil Rytarowski 2011-12-22 14:34:46 CET
*** Bug 3845 has been marked as a duplicate of this bug. ***

CC: (none) => anssi.hannula

Comment 3 Kamil Rytarowski 2011-12-22 14:35:25 CET
In the duplicate bug 3845 there is given a solution.
Comment 4 Matteo Pasotti 2011-12-24 01:07:54 CET
The patch from Anssi Hannula provided with the bugreport 3845 (used as is) prevents kdm (version 4.7.95-1.mga2) to show razor items (sessions).
For now, I've commented out the line:
rm -f $file %{buildroot}%{_datadir}/apps/kdm/sessions/$(basename $file)
to fix the bug, but I would investigate more deeply what's going wrong.
Any tips are welcome.
Regards

Status: NEW => ASSIGNED

Comment 5 Kamil Rytarowski 2011-12-24 01:20:05 CET
Just take a loot at a window-manager .spec file, for example ScrotWM http://svnweb.mageia.org/packages/cauldron/scrotwm/current/SPECS/scrotwm.spec?view=markup and do the same - prepare manually (I prefer this as the simplest way) wmsession file, drop xsession one.
Comment 6 Anssi Hannula 2011-12-24 08:36:47 CET
Do you have the latest 'rpm' package from last night?
The previous 'rpm' from a few days ago broke filetriggers and thus the automatic update of window manager lists. You need to install razorqt with the new 'rpm' for this to work.
Comment 7 Matteo Pasotti 2011-12-24 11:30:07 CET
Fine, after the rpm upgrade your patch works as expected.
I'm sorry, I wasn't aware of this problem.
Thank you.
I mark this bug as resolved.
Regards

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