Bug 11411

Summary: plasma-applet-timekeeper doesn't work and supporse to work with Mandriva.
Product: Mageia Reporter: Ezequiel Partida <ezequiel_partida>
Component: New RPM package requestAssignee: Mageia Bug Squad <bugsquad>
Status: RESOLVED FIXED QA Contact:
Severity: enhancement    
Priority: Normal CC: dglent, shlomif
Version: Cauldron   
Target Milestone: ---   
Hardware: i586   
OS: Linux   
Whiteboard:
Source RPM: CVE:
Status comment:
Attachments: spec file

Description Ezequiel Partida 2013-10-08 22:16:56 CEST
Description of problem:

plasma-applet-timekeeper


This is a very nice time clock that doesn't run on mageia 64bit. I already tried the one from open mandriva and Rosa but it still doesn't work on mageia 64. I have not tried it on mageia 32bit.

Error displayed on applet:

file:///home/user/.kde4/share/apps/plasma/plasmoids/timekeeper/contents/main.qml:167:13: Type Calendar unavalable

file:///home/user/.kde4/share/apps/plasma/plasmoids/timekeeper/contents/calendar/Calendar.qml:19:5: Tupe Marble unavailable

file:///home/user/.kde4/share/apps/plasma/plasmoids/timekeeper/contents/calendar/Marble.qml:2:1:Module "org.kde.edu.marble"is not installed



I have already installed Marble virtual globe but still does't work.


Version-Release number of selected component (if applicable):

http://kde-apps.org/content/download.php?content=159345&id=1&tan=51243493&PHPSESSID=0334fa1b8e7a325e8c7740657a7b4eb4


How reproducible:

Just install the widget from Add Widgets, get new widgets.


Steps to Reproduce:
1.
2.
3.


Reproducible: 

Steps to Reproduce:
Comment 1 Dimitrios Glentadakis 2013-10-09 06:30:27 CEST
Try this first from root:
ln -s /usr/lib64/kde4/plugins/marble/org/kde/ /usr/lib64/qt4/imports/org

CC: (none) => dglent

Comment 2 Dimitrios Glentadakis 2013-10-09 06:39:55 CEST
The above is for a 64bit system and without having installed any packages from Mandriva or Rosa.
Download the plasmoid directly from kde-apps.org

For a 32bit system, try:
ln -s /usr/lib/kde4/plugins/marble/org/kde/ /usr/lib/qt4/imports/org

I could test it on a 64bit system only, i don't have a 32bit
Comment 3 Manuel Hiebel 2013-10-09 18:58:35 CEST
is this a package request or a bug report ?
Comment 4 Dimitrios Glentadakis 2013-10-10 12:20:24 CEST
I could package and patch it as an apprentice's work

CC: (none) => oliver.bgr

Comment 5 Manuel Hiebel 2013-10-11 23:25:59 CEST
Changing version to Cauldron for keeping this request.
When Mageia 2 will be in End Of Life in a little more than one month, we will close these version bugs.

If the package is present in Mageia 3 or Cauldron, you can close this bug. Thanks.

--
Mageia Bugsquad

Version: 2 => Cauldron

Comment 6 Dimitrios Glentadakis 2013-10-19 08:50:44 CEST
Created attachment 4442 [details]
spec file

I did an arch package to handle the symbolic link.
I preferred to not leave a symbolic link in the system created from a package after being removed
What do you think ?
Comment 7 Ezequiel Partida 2013-10-23 20:58:57 CEST
Hello Dimitrios,

I tried the simlink you recomended and it works great!!

Are you releasing an rpm for cauldron?

Regards
Comment 8 Dimitrios Glentadakis 2013-10-24 06:21:59 CEST
Hi, i don't know when and if it will be included in Mageia's repositories.
Until then, you can use this package:
http://www.mageia-gr.org/rpm/3/x86_64/plasma-applet-timekeeper-0.5.1-1.x86_64.rpm

tell me if you need a 32 bit rpm
Comment 9 Ezequiel Partida 2013-10-26 02:39:27 CEST
Thank you Dimistrios,

It would be great to also have a 32bit version since I help a lot of friends with 32bit laptops to move to mageia.


Regards
Ezekiel.
Comment 10 Dimitrios Glentadakis 2013-10-26 07:25:10 CEST
Ok you can find it here:
http://www.mageia-gr.org/rpm/3/i586/plasma-applet-timekeeper-0.5.1-1.i586.rpm
Comment 11 claire robinson 2013-10-26 12:38:08 CEST
Cauldron is still open for new packages Dimitrios
Comment 12 Dimitrios Glentadakis 2013-11-02 08:51:17 CET
I would like a second opinion about the comment 6, as i did nt have any similar case before.

If it is ok the spec, it can be sent to the build system, as i don't have build permissions, someone who has can carry out this.
Comment 13 Dimitrios Glentadakis 2013-11-03 06:16:23 CET
Imported to svn:
http://svnweb.mageia.org/packages/cauldron/plasma-applet-timekeeper/
Comment 14 Ezequiel Partida 2013-11-05 18:49:53 CET
Dimitrios,

Is it bad to have a package create symbolic links?.

If you think it's better to make it work in some other way that's fine for me, it works like a charm. ;-)

Caire, Manuel, any comments on this?.

Regards
Ezekiel
Comment 15 Ezequiel Partida 2013-11-06 17:40:23 CET
BTW,

It would be nice if the package also installs marble since as far as I know it is a dependency.

Regards
Ezekiel

;-)
Comment 16 Dimitrios Glentadakis 2013-11-08 10:10:03 CET
Hello, no it is not bad to have a symlink.
Maybe is a Mageia specific problem as other distros are nt infected.
I don't know if it is something that can be fixed upstream, if not, we will remain using the symlink...
Comment 17 Dimitrios Glentadakis 2013-11-09 06:31:42 CET
(In reply to Ezequiel Partida from comment #15)
> BTW,
> 
> It would be nice if the package also installs marble since as far as I know
> it is a dependency.
> 
> Regards
> Ezekiel
> 
> ;-)

Normaly Marble is a dependency (It is in "Requires" in the spec) and it installs together.
Can you check it ?
Dimitrios Glentadakis 2013-11-11 14:49:02 CET

CC: oliver.bgr => (none)

Dimitrios Glentadakis 2013-11-11 14:49:23 CET

CC: (none) => shlomif

Comment 18 Shlomi Fish 2013-11-11 16:20:02 CET
Hi Dimitrios,

a few comments:

(In reply to Dimitrios Glentadakis from comment #16)
> Hello, no it is not bad to have a symlink.
> Maybe is a Mageia specific problem as other distros are nt infected.
> I don't know if it is something that can be fixed upstream, if not, we will
> remain using the symlink...

<<<<<<<<
Plasma applet that provides clock and calendar functions via steampunk
interface. It is written entirely in QML + JavaScript.
>>>>>>>>

You're missing some articles. It should read:

<<<<<<
A plasma applet that provides clock and calendar functions via the steampunk
interface. It is written entirely in QML + JavaScript.
>>>>>>

Another point is that I'm uncomfortable about this package including the symlink all for itself (which will pose a problem, if other packages in the future need to provide it as well). I suggest to create a requisite package that will provide this symlink for all such packages in the future.

Regards,

-- Shlomi Fish
Comment 19 Dimitrios Glentadakis 2013-11-16 09:38:01 CET
Hi Shlomi, here are the changes i made:

Import the qt4-marble-plugin-import which provides the symlink:
http://svnweb.mageia.org/packages/cauldron/qt4-marble-plugin-import/

Add qt4-marble-plugin-import in Requires of plasma-applet-timekeeper:
http://svnweb.mageia.org/packages/cauldron/plasma-applet-timekeeper/current/SPECS/plasma-applet-timekeeper.spec?view=log
Comment 20 Shlomi Fish 2013-11-16 10:34:42 CET
(In reply to Dimitrios Glentadakis from comment #19)
> Hi Shlomi, here are the changes i made:
> 
> Import the qt4-marble-plugin-import which provides the symlink:
> http://svnweb.mageia.org/packages/cauldron/qt4-marble-plugin-import/
> 
> Add qt4-marble-plugin-import in Requires of plasma-applet-timekeeper:
> http://svnweb.mageia.org/packages/cauldron/plasma-applet-timekeeper/current/
> SPECS/plasma-applet-timekeeper.spec?view=log

Thanks, I'll check those out.

Regards,

-- Shlomi Fish
Comment 21 Shlomi Fish 2013-11-16 10:43:01 CET
Submitting qt4-marble-plugin-import gave me:

««
Submission errors, aborting:
- qt4-marble-plugin-import-1.0-1:
 - invalid value 1 for tag release
»»

You needed to use %mkrel 1. Anyway, submitted now:

http://pkgsubmit.mageia.org/
Comment 22 Dimitrios Glentadakis 2013-11-16 10:58:43 CET
(In reply to Shlomi Fish from comment #21)
> Submitting qt4-marble-plugin-import gave me:
> 
> ««
> Submission errors, aborting:
> - qt4-marble-plugin-import-1.0-1:
>  - invalid value 1 for tag release
> »»
> 
> You needed to use %mkrel 1. Anyway, submitted now:
> 
> http://pkgsubmit.mageia.org/

Sorry, it was (i used the plasma-applet-timekeeper as skeleton file) and i should deleted by accident(?), rpmlint did nt noticed me either.

Thanks :)
Comment 23 Dimitrios Glentadakis 2013-11-16 10:59:53 CET
Shlomi, the plasma-applet-timekeeper has to be sent too
Comment 24 Shlomi Fish 2013-11-16 11:12:11 CET
(In reply to Dimitrios Glentadakis from comment #23)
> Shlomi, the plasma-applet-timekeeper has to be sent too

Yes, I know - I tried to submit it and got:

[Q]
Submission errors, aborting:
- plasma-applet-timekeeper-0.5.1-1:
 - invalid value 1 for tag release
[/Q]

Please correct it.
Comment 25 Dimitrios Glentadakis 2013-11-16 11:27:59 CET
ok done this too
Comment 26 Shlomi Fish 2013-11-16 11:43:42 CET
Submitted, thanks: http://pkgsubmit.mageia.org/ . What next? How can we get you to graduation?
Comment 27 Dimitrios Glentadakis 2013-11-17 06:05:16 CET
(In reply to Shlomi Fish from comment #26)
> Submitted, thanks: http://pkgsubmit.mageia.org/ . What next? How can we get
> you to graduation?

I think it is needed an email to the dev list by you, so i can get submit rights
Comment 29 Dimitrios Glentadakis 2013-11-23 07:13:50 CET
Thanks Shlomi,
the package is in repos, i close the report.

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