Opened 10 years ago

Closed 10 years ago

Last modified 10 years ago

#44236 closed submission (fixed)

[NEW] suggestion for a new port kde4-workspace

Reported by: RJVB (René Bertin) Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version:
Keywords: KDE Cc: mkae (Marko Käning), NicosPavlov
Port: kde4-workspace

Description (last modified by mkae (Marko Käning))

This is a submission of a port for the KDE Workspace package. Much of the package is irrelevant for if not incompatible with a system on which KDE is not X11-based. It is possible, however, to build the systemsettings application as well as the oxygen style.

The oxygen style looks quite good and maybe more in line with the visual design of OS X 10.9 than Qt's native style; it also makes the layout more compact. The style works almost perfectly since the latest kde4libs update that was pushed, except for a few updating glitches in (pop-up) menus.

Attachments (7)

libs-CmakeLists-deactivate-taskmanager.patch (436 bytes) - added by RJVB (René Bertin) 10 years ago.
patch to avoid building the taskmanager by extending the mechanism already in place for Win32
oxygen-menu-glitch.png (157.6 KB) - added by RJVB (René Bertin) 10 years ago.
examples of the glitch in menu painting (top frame is correct)
patch-KControl-CmakeLists.patch (1.4 KB) - added by RJVB (René Bertin) 10 years ago.
krdb-noX11onOSX.patch (852 bytes) - added by RJVB (René Bertin) 10 years ago.
patch-CmakeLists-for-OSX.patch (3.2 KB) - added by RJVB (René Bertin) 10 years ago.
don't build kcheckpass
Portfile (2.1 KB) - added by RJVB (René Bertin) 10 years ago.
kde4-workspace Portfile
Portfile.diff (1.7 KB) - added by NicosPavlov 10 years ago.

Download all attachments as: .zip

Change History (20)

Changed 10 years ago by RJVB (René Bertin)

patch to avoid building the taskmanager by extending the mechanism already in place for Win32

comment:1 Changed 10 years ago by mkae (Marko Käning)

Cc: mk@… added
Owner: changed from macports-tickets@… to mk@…
Version: 2.3.1

Changed 10 years ago by RJVB (René Bertin)

Attachment: oxygen-menu-glitch.png added

examples of the glitch in menu painting (top frame is correct)

comment:2 Changed 10 years ago by mkae (Marko Käning)

Cc: nicos@… added
Description: modified (diff)
Keywords: KDE added
Port: kde4-workspace added
Summary: kde workspace[NEW] suggestion for a new port kde4-workspace

This is perhaps also interesting for nicos.

comment:3 Changed 10 years ago by RJVB (René Bertin)

I was kind of hoping he'd take over maintenance ;)

comment:4 Changed 10 years ago by mkae (Marko Käning)

Owner: changed from mk@… to macports-tickets@…

Ooops, I didn't mean to steal it from him. :)

Changed 10 years ago by RJVB (René Bertin)

comment:5 Changed 10 years ago by RJVB (René Bertin)

I've simplified the Portfile, moving most definitions of which modules to build into the new patch-CmakeLists-for-OSX.patch . In addition I realised that most of the kcontrol module could be built, so I added a patch for the CMakeLists.txt files involved. With these one can select the application and desktop themes, and configure those that are configurable.

I have looked into adapting these patches for upstream inclusion, but clear the Workspace package has been moved to Plasma 5 already, involving serious reorganisations.

Changed 10 years ago by RJVB (René Bertin)

Attachment: krdb-noX11onOSX.patch added

comment:6 Changed 10 years ago by RJVB (René Bertin)

This extra patch suppresses the calls to the X11 xrdb utility, which shouldn't be used on OS X.

Note that the krdb.cpp file contains some interesting examples of how Qt settings are handled (modified) by KDE.

Changed 10 years ago by RJVB (René Bertin)

don't build kcheckpass

Changed 10 years ago by RJVB (René Bertin)

Attachment: Portfile added

kde4-workspace Portfile

comment:7 Changed 10 years ago by mkae (Marko Käning)

It looks like this is more up-to-date than RR 120287, is that correct?

comment:8 Changed 10 years ago by RJVB (René Bertin)

No, the addition from a few days ago was only to play catch-up here.

comment:9 Changed 10 years ago by mkae (Marko Käning)

Hey, shouldn't we finally bring this port to MacPorts?

It's working just fine!

comment:10 Changed 10 years ago by NicosPavlov

If you tested it, you are free to commit it.

By a quick look at it, there are just some syntax issues in my opinion:

  • the revision field should be removed for a new submission
  • the port uses the plasma version 4.11.12, which is distributed with KDE 4.14, and Macports is still at 4.13. Shouldn't 4.11.11 be used?
  • the email of the maintainer is not obfuscated
  • phonon is already a dependency of the portgroup kde4 1.1
  • the variant can be simplified in syntax. No need to separate the variant and its effects.

Just in case, several of these can be detected when using 'port lint'.

Changed 10 years ago by NicosPavlov

Attachment: Portfile.diff added

comment:11 in reply to:  10 ; Changed 10 years ago by mkae (Marko Käning)

Thanks Nicolas for looking at this!

Replying to nicos@…:

If you tested it, you are free to commit it.

I did and it worked just fine.

  • the revision field should be removed for a new submission

Would do so.

  • the port uses the plasma version 4.11.12, which is distributed with KDE 4.14, and Macports is still at 4.13. Shouldn't 4.11.11 be used?

Well, I guess René might have had a reason, why he decided to go for the newer one... But I've successfully tested the 4.11.11 version before committing this.

  • the email of the maintainer is not obfuscated

I already did so in my local version of this port file.

  • phonon is already a dependency of the portgroup kde4 1.1
  • the variant can be simplified in syntax. No need to separate the variant and its effects.

2x yep.

Committed in r127391.

Greets, Marko

Last edited 10 years ago by mkae (Marko Käning) (previous) (diff)

comment:12 Changed 10 years ago by mkae (Marko Käning)

Resolution: fixed
Status: newclosed

comment:13 in reply to:  11 Changed 10 years ago by RJVB (René Bertin)

  • the port uses the plasma version 4.11.12, which is distributed with KDE 4.14, and Macports is still at 4.13. Shouldn't 4.11.11 be used?

Well, I guess René might have had a reason, why he decided to go for the newer one... But I've successfully tested the 4.11.11 version before committing this.

Yes he did. It turned out that the latest version worked just fine and under those conditions I don't see a reason to use an older version, esp. not if I have patches to submit for review upstreams.

Note: See TracTickets for help on using tickets.