[MacPorts] #57332: kde4-workspace failes to build under Mojave

classic Classic list List threaded Threaded
34 messages Options
12
Reply | Threaded
Open this post in threaded view
|

[MacPorts] #57332: kde4-workspace failes to build under Mojave

MacPorts
#57332: kde4-workspace failes to build under Mojave
--------------------------+----------------------------
 Reporter:  cs0rfecs0rfe  |      Owner:  (none)
     Type:  defect        |     Status:  new
 Priority:  Normal        |  Milestone:
Component:  ports         |    Version:  2.5.4
 Keywords:                |       Port:  kde4-workspace
--------------------------+----------------------------
 Attempting a clean install of kde4-workspace fails to build:


 {{{
 :info:build Undefined symbols for architecture x86_64:
 :info:build   "ScreenPreviewWidget::setPreview(Plasma::Wallpaper*)",
 referenced from:
 :info:build       BackgroundDialog::changeBackgroundMode(int) in
 backgrounddialog.cpp.o
 :info:build   "ScreenPreviewWidget::setRatio(double)", referenced from:
 :info:build       BackgroundDialog::BackgroundDialog(QSize const&,
 Plasma::Containment*, Plasma::View*, QWidget*, QString const&,
 KConfigSkeleton*) in backgrounddialog.cpp.o
 :info:build   "ScreenPreviewWidget::ScreenPreviewWidget(QWidget*)",
 referenced from:
 :info:build       BackgroundDialog::BackgroundDialog(QSize const&,
 Plasma::Containment*, Plasma::View*, QWidget*, QString const&,
 KConfigSkeleton*) in backgrounddialog.cpp.o
 :info:build ld: symbol(s) not found for architecture x86_64
 :info:build clang: error: linker command failed with exit code 1 (use -v
 to see invocation)
 }}}

 Is the appropriate (screenpreviewwidget) library missing from the list
 passed to the linker?

--
Ticket URL: <https://trac.macports.org/ticket/57332>
MacPorts <https://www.macports.org/>
Ports system for macOS
Reply | Threaded
Open this post in threaded view
|

Re: [MacPorts] #57332: kde4-workspace failes to build under Mojave

MacPorts
#57332: kde4-workspace failes to build under Mojave
-----------------------------+--------------------
  Reporter:  cs0rfecs0rfe    |      Owner:  (none)
      Type:  defect          |     Status:  new
  Priority:  Normal          |  Milestone:
 Component:  ports           |    Version:  2.5.4
Resolution:                  |   Keywords:
      Port:  kde4-workspace  |
-----------------------------+--------------------
Changes (by cs0rfecs0rfe):

 * Attachment "main.log" added.

 Log file referred to by the top level error message.

--
Ticket URL: <https://trac.macports.org/ticket/57332>
MacPorts <https://www.macports.org/>
Ports system for macOS
Reply | Threaded
Open this post in threaded view
|

Re: [MacPorts] #57332: kde4-workspace failes to build under Mojave

MacPorts
In reply to this post by MacPorts
#57332: kde4-workspace failes to build under Mojave
-----------------------------+--------------------
  Reporter:  cs0rfecs0rfe    |      Owner:  (none)
      Type:  defect          |     Status:  new
  Priority:  Normal          |  Milestone:
 Component:  ports           |    Version:  2.5.4
Resolution:                  |   Keywords:
      Port:  kde4-workspace  |
-----------------------------+--------------------

Comment (by mf2k):

 In the future, please add the port maintainer(s) to Cc ({{{port info
 --maintainers kde4-workspace}}}), if any.

--
Ticket URL: <https://trac.macports.org/ticket/57332#comment:1>
MacPorts <https://www.macports.org/>
Ports system for macOS
Reply | Threaded
Open this post in threaded view
|

Re: [MacPorts] #57332: kde4-workspace fails to build under Mojave (was: kde4-workspace failes to build under Mojave)

MacPorts
In reply to this post by MacPorts
#57332: kde4-workspace fails to build under Mojave
-----------------------------+----------------------
  Reporter:  cs0rfecs0rfe    |      Owner:  RJVB
      Type:  defect          |     Status:  assigned
  Priority:  Normal          |  Milestone:
 Component:  ports           |    Version:  2.5.4
Resolution:                  |   Keywords:
      Port:  kde4-workspace  |
-----------------------------+----------------------
Changes (by mf2k):

 * status:  new => assigned
 * owner:  (none) => RJVB


--
Ticket URL: <https://trac.macports.org/ticket/57332#comment:2>
MacPorts <https://www.macports.org/>
Ports system for macOS
Reply | Threaded
Open this post in threaded view
|

Re: [MacPorts] #57332: kde4-workspace fails to build under Mojave

MacPorts
In reply to this post by MacPorts
#57332: kde4-workspace fails to build under Mojave
-----------------------------+----------------------
  Reporter:  cs0rfecs0rfe    |      Owner:  RJVB
      Type:  defect          |     Status:  assigned
  Priority:  Normal          |  Milestone:
 Component:  ports           |    Version:  2.5.4
Resolution:                  |   Keywords:
      Port:  kde4-workspace  |
-----------------------------+----------------------

Comment (by RJVB):

 Those symbols are provided through libkworkspace, and as far as I can see
 that library is generated and included on the failing link command.

 Has anything changed in 10.14 w.r.t. the default symbol visibility?

--
Ticket URL: <https://trac.macports.org/ticket/57332#comment:3>
MacPorts <https://www.macports.org/>
Ports system for macOS
Reply | Threaded
Open this post in threaded view
|

Re: [MacPorts] #57332: kde4-workspace fails to build under Mojave

MacPorts
In reply to this post by MacPorts
#57332: kde4-workspace fails to build under Mojave
-----------------------------+----------------------
  Reporter:  cs0rfecs0rfe    |      Owner:  RJVB
      Type:  defect          |     Status:  assigned
  Priority:  Normal          |  Milestone:
 Component:  ports           |    Version:  2.5.4
Resolution:                  |   Keywords:
      Port:  kde4-workspace  |
-----------------------------+----------------------

Comment (by cs0rfecs0rfe):

 Replying to [comment:1 mf2k]:
 > In the future, please add the port maintainer(s) to Cc ({{{port info
 --maintainers kde4-workspace}}}), if any.
 Apologies, I will do. That's the first time I've raised a ticket. - Ian

--
Ticket URL: <https://trac.macports.org/ticket/57332#comment:4>
MacPorts <https://www.macports.org/>
Ports system for macOS
Reply | Threaded
Open this post in threaded view
|

Re: [MacPorts] #57332: kde4-workspace fails to build under Mojave

MacPorts
In reply to this post by MacPorts
#57332: kde4-workspace fails to build under Mojave
-----------------------------+----------------------
  Reporter:  cs0rfecs0rfe    |      Owner:  RJVB
      Type:  defect          |     Status:  assigned
  Priority:  Normal          |  Milestone:
 Component:  ports           |    Version:  2.5.4
Resolution:                  |   Keywords:
      Port:  kde4-workspace  |
-----------------------------+----------------------
Changes (by RJVB):

 * Attachment "kde4-workspace.diff" added.

 port dir diff

--
Ticket URL: <https://trac.macports.org/ticket/57332>
MacPorts <https://www.macports.org/>
Ports system for macOS
Reply | Threaded
Open this post in threaded view
|

Re: [MacPorts] #57332: kde4-workspace fails to build under Mojave

MacPorts
In reply to this post by MacPorts
#57332: kde4-workspace fails to build under Mojave
-----------------------------+----------------------
  Reporter:  cs0rfecs0rfe    |      Owner:  RJVB
      Type:  defect          |     Status:  assigned
  Priority:  Normal          |  Milestone:
 Component:  ports           |    Version:  2.5.4
Resolution:                  |   Keywords:
      Port:  kde4-workspace  |
-----------------------------+----------------------

Comment (by RJVB):

 Can you please apply the attached patch to the port dir

 {{{
 > (cd `port dir kde4-workspace`/../.. ; patch -Np1 -i
 /path/to/kde4-workspace.diff)
 }}}

 and then retry the build after doing `port clean kde4-workspace`?

 The patch bumps the port to the latest version and drops the build of all
 plasma components. Those were never quite useful and omitting their build
 may just work around the problem if (as I hope) it was in fact the only
 manifestation of whatever breaks the build on 10.14 .

 The patch also adds -k to the build options, so if more errors are laying
 in wait we should get them all at once.

--
Ticket URL: <https://trac.macports.org/ticket/57332#comment:5>
MacPorts <https://www.macports.org/>
Ports system for macOS
Reply | Threaded
Open this post in threaded view
|

Re: [MacPorts] #57332: kde4-workspace fails to build under Mojave

MacPorts
In reply to this post by MacPorts
#57332: kde4-workspace fails to build under Mojave
-----------------------------+----------------------
  Reporter:  cs0rfecs0rfe    |      Owner:  RJVB
      Type:  defect          |     Status:  assigned
  Priority:  Normal          |  Milestone:
 Component:  ports           |    Version:  2.5.4
Resolution:                  |   Keywords:
      Port:  kde4-workspace  |
-----------------------------+----------------------

Comment (by cs0rfecs0rfe):

 Working on it now.......

 Replying to [comment:5 RJVB]:
 > Can you please apply the attached patch to the port dir
 >
 > {{{
 > > (cd `port dir kde4-workspace`/../.. ; patch -Np1 -i
 /path/to/kde4-workspace.diff)
 > }}}
 >
 > and then retry the build after doing `port clean kde4-workspace`?
 >
 > The patch bumps the port to the latest version and drops the build of
 all plasma components. Those were never quite useful and omitting their
 build may just work around the problem if (as I hope) it was in fact the
 only manifestation of whatever breaks the build on 10.14 .
 >
 > The patch also adds -k to the build options, so if more errors are
 laying in wait we should get them all at once.

--
Ticket URL: <https://trac.macports.org/ticket/57332#comment:6>
MacPorts <https://www.macports.org/>
Ports system for macOS
Reply | Threaded
Open this post in threaded view
|

Re: [MacPorts] #57332: kde4-workspace fails to build under Mojave

MacPorts
In reply to this post by MacPorts
#57332: kde4-workspace fails to build under Mojave
-----------------------------+----------------------
  Reporter:  cs0rfecs0rfe    |      Owner:  RJVB
      Type:  defect          |     Status:  assigned
  Priority:  Normal          |  Milestone:
 Component:  ports           |    Version:  2.5.4
Resolution:                  |   Keywords:
      Port:  kde4-workspace  |
-----------------------------+----------------------
Changes (by cs0rfecs0rfe):

 * Attachment "main.2.log" added.

 main.log after rebuild following patch.

--
Ticket URL: <https://trac.macports.org/ticket/57332>
MacPorts <https://www.macports.org/>
Ports system for macOS
Reply | Threaded
Open this post in threaded view
|

Re: [MacPorts] #57332: kde4-workspace fails to build under Mojave

MacPorts
In reply to this post by MacPorts
#57332: kde4-workspace fails to build under Mojave
-----------------------------+----------------------
  Reporter:  cs0rfecs0rfe    |      Owner:  RJVB
      Type:  defect          |     Status:  assigned
  Priority:  Normal          |  Milestone:
 Component:  ports           |    Version:  2.5.4
Resolution:                  |   Keywords:
      Port:  kde4-workspace  |
-----------------------------+----------------------

Comment (by cs0rfecs0rfe):

 Replying to [comment:5 RJVB]:
 > Can you please apply the attached patch to the port dir
 >
 > {{{
 > > (cd `port dir kde4-workspace`/../.. ; patch -Np1 -i
 /path/to/kde4-workspace.diff)
 > }}}
 >
 > and then retry the build after doing `port clean kde4-workspace`?
 >
 > The patch bumps the port to the latest version and drops the build of
 all plasma components. Those were never quite useful and omitting their
 build may just work around the problem if (as I hope) it was in fact the
 only manifestation of whatever breaks the build on 10.14 .
 >
 > The patch also adds -k to the build options, so if more errors are
 laying in wait we should get them all at once.




 Hi RJVB,

 I applied the patch which resulted in the following output:
 {{{
 patching file kde/kde4-workspace/Portfile
 Reversed (or previously applied) patch detected!  Skipping patch.
 2 out of 2 hunks ignored -- saving rejects to file
 kde/kde4-workspace/Portfile.rej
 The next patch would delete the file kde/kde4-workspace/files/no-oxygen-
 theme.patch,
 which does not exist!  Skipping patch.
 1 out of 1 hunk ignored
 patching file kde/kde4-workspace/files/patch-CMakeLists-for-OSX.patch
 Reversed (or previously applied) patch detected!  Skipping patch.
 7 out of 7 hunks ignored -- saving rejects to file
 kde/kde4-workspace/files/patch-CMakeLists-for-OSX.patch.rej
 The next patch would create the file kde/kde4-workspace/files/patch-input-
 wheelzooms.diff,
 which already exists!  Skipping patch.
 1 out of 1 hunk ignored -- saving rejects to file kde/kde4-workspace/files
 /patch-input-wheelzooms.diff.rej
 The next patch would delete the file kde/kde4-workspace/files/patch-libs-
 CMakeLists.patch,
 which does not exist!  Skipping patch.
 1 out of 1 hunk ignored
 }}}

 I then rebuilt (sudo port install kde4-workspace) which resulted in the
 attached log file.

 Have I done this correctly? Was 'port install' the right thing to do or
 should I have used some other command to rebuild without downloading?
 Please excuse the dumb questions - I'm a recent immigrant to Mac/Macports
 from Linux and I'm still finding my way around.

--
Ticket URL: <https://trac.macports.org/ticket/57332#comment:7>
MacPorts <https://www.macports.org/>
Ports system for macOS
Reply | Threaded
Open this post in threaded view
|

Re: [MacPorts] #57332: kde4-workspace fails to build under Mojave

MacPorts
In reply to this post by MacPorts
#57332: kde4-workspace fails to build under Mojave
-----------------------------+----------------------
  Reporter:  cs0rfecs0rfe    |      Owner:  RJVB
      Type:  defect          |     Status:  assigned
  Priority:  Normal          |  Milestone:
 Component:  ports           |    Version:  2.5.4
Resolution:                  |   Keywords:
      Port:  kde4-workspace  |
-----------------------------+----------------------

Comment (by RJVB):

 Erm, from what tree did you get the port, i.e. what does `port dir
 kde4-workspace` print? Or did you maybe apply the patch twice, the errors
 above suggest that? Actually, that's the only scenario where these exact
 errors would make sense.

 Either way you're now getting a lot further but there are 3 or 4 other and
 highly similar errors. Which I cannot reproduce, and which don't seem to
 make sense.

 The errors about missing typeinfo and vtable do ring a bell; I've seen
 that happen in Qt5 code (under QMake control) because of a missing moc
 file, but in KDE software (which is under CMake control) that should give
 a missing file error much earlier during the build.

 The only thing I can suggest at this point is to clean the build again and
 try with the same compiler I have been able to test with: clang 5.0 from
 MacPorts. At least we can then exclude the possibility that the system
 clang has introduced some subtle incompatibility.
 For that, do `sudo port -s install kde4-workspace configure.compiler
 =macports-clang-5.0` . BTW, if you don't plan to use the oxygen style you
 can speed up things a bit (and get rid of 1 error) by disabling the style;
 add `-oxygen` just after the port name.
 If you're handy with a text editor and cli-fu I can give some instructions
 how to skip the git checkout step which takes a couple of minutes (for
 me).

 BTW, did you already install other KDE4 ports? The kde4-workspace port is
 of interest only (on Mac) if you want to be able to configure a small
 selection of KDE configurable things (incl. icon theme, fonts, widget
 style) without editing the configuration files by hand. It does not
 provide a full plasma desktop, that's not possible on Mac.

--
Ticket URL: <https://trac.macports.org/ticket/57332#comment:8>
MacPorts <https://www.macports.org/>
Ports system for macOS
Reply | Threaded
Open this post in threaded view
|

Re: [MacPorts] #57332: kde4-workspace fails to build under Mojave

MacPorts
In reply to this post by MacPorts
#57332: kde4-workspace fails to build under Mojave
-----------------------------+----------------------
  Reporter:  cs0rfecs0rfe    |      Owner:  RJVB
      Type:  defect          |     Status:  assigned
  Priority:  Normal          |  Milestone:
 Component:  ports           |    Version:  2.5.4
Resolution:                  |   Keywords:
      Port:  kde4-workspace  |
-----------------------------+----------------------

Comment (by cs0rfecs0rfe):

 Replying to [comment:8 RJVB]:
 > Erm, from what tree did you get the port, i.e. what does `port dir
 kde4-workspace` print? Or did you maybe apply the patch twice, the errors
 above suggest that? Actually, that's the only scenario where these exact
 errors would make sense.
 >
 > Either way you're now getting a lot further but there are 3 or 4 other
 and highly similar errors. Which I cannot reproduce, and which don't seem
 to make sense.
 >
 > The errors about missing typeinfo and vtable do ring a bell; I've seen
 that happen in Qt5 code (under QMake control) because of a missing moc
 file, but in KDE software (which is under CMake control) that should give
 a missing file error much earlier during the build.
 >
 > The only thing I can suggest at this point is to clean the build again
 and try with the same compiler I have been able to test with: clang 5.0
 from MacPorts. At least we can then exclude the possibility that the
 system clang has introduced some subtle incompatibility.
 > For that, do `sudo port -s install kde4-workspace configure.compiler
 =macports-clang-5.0` . BTW, if you don't plan to use the oxygen style you
 can speed up things a bit (and get rid of 1 error) by disabling the style;
 add `-oxygen` just after the port name.
 > If you're handy with a text editor and cli-fu I can give some
 instructions how to skip the git checkout step which takes a couple of
 minutes (for me).
 >
 > BTW, did you already install other KDE4 ports? The kde4-workspace port
 is of interest only (on Mac) if you want to be able to configure a small
 selection of KDE configurable things (incl. icon theme, fonts, widget
 style) without editing the configuration files by hand. It does not
 provide a full plasma desktop, that's not possible on Mac.




 Many thanks for rapid and detailed response.

 a) Yes, it's possible I applied the patch twice - sorry about that. For
 what it's worth, {{{port dir kde4-workspace}}} returns:

 {{{
 /opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/kde/kde4-workspace
 }}}

 b) I'll have a go with clang and report back

 c) Yes, I'm cli/text-editor compliant!

 d) I've installed several of the KDE ports - (I'm really interested in
 okteta, konsole, kwrite and konqueror) but I have problem with them (a bad
 'flashing' when they seem to refresh some of their window components out
 of sync). In order to try and fix that I *think* I need to set the 'look
 and feel' (?) to qtcurve. I'd assumed I need systemsettings (which is part
 of kde-workspace) to do that, but I guess
 from what you say there must be a configuration file somewhere I could
 edit. If I can get systemsettings sorted I'll raise another ticket for my
 flashing problem.

--
Ticket URL: <https://trac.macports.org/ticket/57332#comment:9>
MacPorts <https://www.macports.org/>
Ports system for macOS
Reply | Threaded
Open this post in threaded view
|

Re: [MacPorts] #57332: kde4-workspace fails to build under Mojave

MacPorts
In reply to this post by MacPorts
#57332: kde4-workspace fails to build under Mojave
-----------------------------+----------------------
  Reporter:  cs0rfecs0rfe    |      Owner:  RJVB
      Type:  defect          |     Status:  assigned
  Priority:  Normal          |  Milestone:
 Component:  ports           |    Version:  2.5.4
Resolution:                  |   Keywords:
      Port:  kde4-workspace  |
-----------------------------+----------------------

Comment (by cs0rfecs0rfe):

 Attempted build with:

 {{{
 sudo port clean kde4-workspace
 sudo port -s install kde4-workspace -oxygen configure.compiler=macports-
 clang-5.0
 }}}

 This too fails - the resulting log if main.log.3 (attached).

--
Ticket URL: <https://trac.macports.org/ticket/57332#comment:10>
MacPorts <https://www.macports.org/>
Ports system for macOS
Reply | Threaded
Open this post in threaded view
|

Re: [MacPorts] #57332: kde4-workspace fails to build under Mojave

MacPorts
In reply to this post by MacPorts
#57332: kde4-workspace fails to build under Mojave
-----------------------------+----------------------
  Reporter:  cs0rfecs0rfe    |      Owner:  RJVB
      Type:  defect          |     Status:  assigned
  Priority:  Normal          |  Milestone:
 Component:  ports           |    Version:  2.5.4
Resolution:                  |   Keywords:
      Port:  kde4-workspace  |
-----------------------------+----------------------
Changes (by cs0rfecs0rfe):

 * Attachment "main.log.3.txt" added.


--
Ticket URL: <https://trac.macports.org/ticket/57332>
MacPorts <https://www.macports.org/>
Ports system for macOS
Reply | Threaded
Open this post in threaded view
|

Re: [MacPorts] #57332: kde4-workspace fails to build under Mojave

MacPorts
In reply to this post by MacPorts
#57332: kde4-workspace fails to build under Mojave
-----------------------------+----------------------
  Reporter:  cs0rfecs0rfe    |      Owner:  RJVB
      Type:  defect          |     Status:  assigned
  Priority:  Normal          |  Milestone:
 Component:  ports           |    Version:  2.5.4
Resolution:                  |   Keywords:
      Port:  kde4-workspace  |
-----------------------------+----------------------

Comment (by RJVB):

 Does QtCurve build OK? The port comes with a few theme files, and includes
 a basic kdeglobals file for the GTk2 theme which you can use as a starting
 point. It also has a stylerc file for the style style (installed as
 `/opt/local/etc/xdg/qtcurve/stylerc`). I can't remember now if the Qt4
 style uses that file, but you can copy it to `~/.config/qtcurve/stylerc`.
 It's tuned to fit in as well as possible with the native Mac look.

 You say you come from Linux, so the obvious alternative (which I also used
 in the beginning!) would be to prepare and then take your
 `~/.kde/share/config/kdeglobals` file from there and then edit it to refer
 to the proper paths. On Mac it will probably have to live in
 ~/Library/Preferences/KDE/share/config, btw.

 Note however that I won't be able to do anything about the flashing you
 mention, but you can experiment with `--graphicssystem opengl` or by
 setting the `RasterOff` environment variable.

--
Ticket URL: <https://trac.macports.org/ticket/57332#comment:11>
MacPorts <https://www.macports.org/>
Ports system for macOS
Reply | Threaded
Open this post in threaded view
|

Re: [MacPorts] #57332: kde4-workspace fails to build under Mojave

MacPorts
In reply to this post by MacPorts
#57332: kde4-workspace fails to build under Mojave
-----------------------------+----------------------
  Reporter:  cs0rfecs0rfe    |      Owner:  RJVB
      Type:  defect          |     Status:  assigned
  Priority:  Normal          |  Milestone:
 Component:  ports           |    Version:  2.5.4
Resolution:                  |   Keywords:
      Port:  kde4-workspace  |
-----------------------------+----------------------

Comment (by RJVB):

 A thought: could you see if you have the 10.13 SDK installed in XCode, and
 install it if not? XCode itself may have a UI for that in its preferences
 dialog, if not they're here:

 https://github.com/phracker/MacOSX-SDKs

 Then edit the portfile (`port edit kde4-workspace`) and somewhere
 appropriate put the following

 {{{
 set macosx_deployment_target 10.13
 configure.sdkroot /path/to/MacOSX10.13.sdk
 }}}

 then, to speed up the process:

 {{{
 sudo rm -rf `port work kde4-workspace`/build
 sudo vi `port work kde4-workspace`/.macports.kde4-workspace.state
 }}}

 From that statefile, remove the lines that say the configure step has been
 done. This basically "rewinds" the MacPorts install-from-source procedure.

 If you're adventurous and feel like helping out you could iterate this,
 downgrading the SDK until the port installs...

--
Ticket URL: <https://trac.macports.org/ticket/57332#comment:12>
MacPorts <https://www.macports.org/>
Ports system for macOS
Reply | Threaded
Open this post in threaded view
|

Re: [MacPorts] #57332: kde4-workspace fails to build under Mojave

MacPorts
In reply to this post by MacPorts
#57332: kde4-workspace fails to build under Mojave
-----------------------------+----------------------
  Reporter:  cs0rfecs0rfe    |      Owner:  RJVB
      Type:  defect          |     Status:  assigned
  Priority:  Normal          |  Milestone:
 Component:  ports           |    Version:  2.5.4
Resolution:                  |   Keywords:
      Port:  kde4-workspace  |
-----------------------------+----------------------

Comment (by cs0rfecs0rfe):

 Replying to [comment:11 RJVB]:
 > Does QtCurve build OK? The port comes with a few theme files, and
 includes a basic kdeglobals file for the GTk2 theme which you can use as a
 starting point. It also has a stylerc file for the style style (installed
 as `/opt/local/etc/xdg/qtcurve/stylerc`). I can't remember now if the Qt4
 style uses that file, but you can copy it to `~/.config/qtcurve/stylerc`.
 It's tuned to fit in as well as possible with the native Mac look.
 >
 > You say you come from Linux, so the obvious alternative (which I also
 used in the beginning!) would be to prepare and then take your
 `~/.kde/share/config/kdeglobals` file from there and then edit it to refer
 to the proper paths. On Mac it will probably have to live in
 ~/Library/Preferences/KDE/share/config, btw.
 >
 > Note however that I won't be able to do anything about the flashing you
 mention (if it's anything other than the known glitches which can be
 avoided by using QtCurve). But you can experiment with `--graphicssystem
 opengl` or by setting the `RasterOff` environment variable.


 Thank you for that. My "uber-problem" is now solved - setting 'RasterOff'
 cured the flickering. For what it's worth, yes QtCurve does build
 correctly. If you want to continue and try and solve the kde4-workspace
 non-building problem, I'm happy to keep running tests, but essentially I'm
 happy with the current outcome. Thanks again for your speedy and
 insightful responses.

--
Ticket URL: <https://trac.macports.org/ticket/57332#comment:13>
MacPorts <https://www.macports.org/>
Ports system for macOS
Reply | Threaded
Open this post in threaded view
|

Re: [MacPorts] #57332: kde4-workspace fails to build under Mojave

MacPorts
In reply to this post by MacPorts
#57332: kde4-workspace fails to build under Mojave
-----------------------------+----------------------
  Reporter:  cs0rfecs0rfe    |      Owner:  RJVB
      Type:  defect          |     Status:  assigned
  Priority:  Normal          |  Milestone:
 Component:  ports           |    Version:  2.5.4
Resolution:                  |   Keywords:
      Port:  kde4-workspace  |
-----------------------------+----------------------

Comment (by RJVB):

 Good to hear that! Someone (@nicos?) should try to make "non raster mode"
 the default on 10.14 and newer then!

 As to continuing with this ticket: I'm flabbergasted by it and thus would
 like to figure out what's going on - on a backburner. The ball is in your
 camp; I gave some suggestions that you could try; I also asked for
 guidance on a KDE ML.

 Note that with Qt4/KDE4 you can also use qtconfig to set a different
 default widget style; you'd have to do in that utility too anyway.

--
Ticket URL: <https://trac.macports.org/ticket/57332#comment:14>
MacPorts <https://www.macports.org/>
Ports system for macOS
Reply | Threaded
Open this post in threaded view
|

Re: [MacPorts] #57332: kde4-workspace fails to build under Mojave

MacPorts
In reply to this post by MacPorts
#57332: kde4-workspace fails to build under Mojave
-----------------------------+----------------------
  Reporter:  cs0rfecs0rfe    |      Owner:  RJVB
      Type:  defect          |     Status:  assigned
  Priority:  Normal          |  Milestone:
 Component:  ports           |    Version:  2.5.4
Resolution:                  |   Keywords:
      Port:  kde4-workspace  |
-----------------------------+----------------------

Comment (by cs0rfecs0rfe):

 Replying to [comment:14 RJVB]:
 > Good to hear that! Someone (@nicos?) should try to make "non raster
 mode" the default on 10.14 and newer then!
 >
 > As to continuing with this ticket: I'm flabbergasted by it and thus
 would like to figure out what's going on - on a backburner. The ball is in
 your camp; I gave some suggestions that you could try; I also asked for
 guidance on a KDE ML.
 >
 > Note that with Qt4/KDE4 you can also use qtconfig to set a different
 default widget style; you'd have to do in that utility too anyway.

 I'll keep going in backburner mode then. I'd missed your suggestions in
 comment 12 so I'll give them a try and get back to you. I'm not sure what
 you mean by "guidance on a KDE ML" though?

--
Ticket URL: <https://trac.macports.org/ticket/57332#comment:15>
MacPorts <https://www.macports.org/>
Ports system for macOS
12