[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-mac
Subject: Re: [KDE/Mac] Review Request 127649: [OS X] build in a more "traditional" way (for distribution syst
From: Torsten Rahn <tackat () kde ! org>
Date: 2016-04-14 11:27:53
Message-ID: 20160414112753.15182.11084 () mimi ! kde ! org
[Download RAW message or body]
--===============0344281096122981532==
MIME-Version: 1.0
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: 8bit
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://git.reviewboard.kde.org/r/127649/#review94604
-----------------------------------------------------------
Hi René -
Review Requests have moved over to phabricator.
Could you resubmit your patch at
https://phabricator.kde.org/
It's nice to see work being done on the Mac front - would be great if we could offer \
a more recent Mac OS app bundle on the Marble website ...
- Torsten Rahn
On April 14, 2016, 10:47 a.m., René J.V. Bertin wrote:
>
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://git.reviewboard.kde.org/r/127649/
> -----------------------------------------------------------
>
> (Updated April 14, 2016, 10:47 a.m.)
>
>
> Review request for KDE Software on Mac OS X and Marble.
>
>
> Repository: marble
>
>
> Description
> -------
>
> Disclaimer: the patch as presented is currently a hack that only shows what is \
> done, not how to do it properly. I'll clean it up if there is interest in \
> incorporating this as a selectable option.
> That being said, here's the point.
> Marble currently aims to build 1 or 2 more or less standalone app bundles when \
> being built on Mac OS X. There is nothing wrong with that, but it presents a \
> problem for distribution systems like MacPorts or Fink or HomeBrew that aim to \
> share libraries among packages and to remain as close as possible to the runtime \
> context for which packages were designed (i.e. XDG/Freedesktop). Evidently the goal \
> is not to replace the OS X desktop with a Plasma shell; rather, the idea is that \
> the feature set will be most complete and maintenance will be easiest when \
> differences like where resources are to be found are as small as possible. Think of \
> it as running KDE applications installed with their dependencies in some separate \
> prefix, under e.g. a Gnome, XFCE or even a "bare-bones X11" desktop environment.
> The patch achieves this by disabling all APPLE-specific things in the CMake files \
> except for the required frameworks (Apple's, not KF5), currently by replacing APPLE \
> with the unknown APPEL token. The result is that there is still an app bundle that \
> is created, for the KF5-based marble (but not for marble-qt though that ought to be \
> possible too). A few additional lines create and install an application icon for \
> marble.app . Everything else is installed in its usual location under the prefix.
> I would assume that this is more or less a prerequisite to build a package like \
> digiKam which can use libMarble ... which would be a lot less evident if that \
> library is hidden in a relocatable app bundle.
> If there is a chance that this patch is accepted I'd propose replacing the APPEL \
> hack with a variable like `option(BUILD_APPLE_APPBUNDLE,"build app bundle(s)" \
> YES)`.
>
> Diffs
> -----
>
> CMakeLists.txt 28c9299
> src/CMakeLists.txt 063db88
> src/apps/marble-kde/CMakeLists.txt 2841052
> src/apps/marble-qt/CMakeLists.txt 5a242b6
> src/lib/astro/CMakeLists.txt c4dcd5b
> src/lib/marble/CMakeLists.txt 42fe56f
> src/plugins/runner/kml/CMakeLists.txt 573e149
> src/plugins/runner/osm/CMakeLists.txt 82091a5
> src/plugins/runner/shp/CMakeLists.txt cddaebf
> tests/CMakeLists.txt d0db4d6
>
> Diff: https://git.reviewboard.kde.org/r/127649/diff/
>
>
> Testing
> -------
>
> On OS X 10.9.5, with Qt 5.6 and FWs 5.20.0, installed under /opt/local
>
>
> Thanks,
>
> René J.V. Bertin
>
>
--===============0344281096122981532==
MIME-Version: 1.0
Content-Type: text/html; charset="utf-8"
Content-Transfer-Encoding: 8bit
<html>
<body>
<div style="font-family: Verdana, Arial, Helvetica, Sans-Serif;">
<table bgcolor="#f9f3c9" width="100%" cellpadding="12" style="border: 1px #c9c399 \
solid; border-radius: 6px; -moz-border-radius: 6px; -webkit-border-radius: 6px;"> \
<tr> <td>
This is an automatically generated e-mail. To reply, visit:
<a href="https://git.reviewboard.kde.org/r/127649/">https://git.reviewboard.kde.org/r/127649/</a>
</td>
</tr>
</table>
<br />
<pre style="white-space: pre-wrap; white-space: -moz-pre-wrap; white-space: \
-pre-wrap; white-space: -o-pre-wrap; word-wrap: break-word;"><p style="padding: \
0;text-rendering: inherit;margin: 0;line-height: inherit;white-space: inherit;">Hi \
René - Review Requests have moved over to phabricator.
Could you resubmit your patch at </p>
<p style="padding: 0;text-rendering: inherit;margin: 0;line-height: \
inherit;white-space: inherit;">https://phabricator.kde.org/ </p> <p style="padding: \
0;text-rendering: inherit;margin: 0;line-height: inherit;white-space: inherit;">It's \
nice to see work being done on the Mac front - would be great if we could offer a \
more recent Mac OS app bundle on the Marble website ...</p></pre> <br />
<p>- Torsten Rahn</p>
<br />
<p>On April 14th, 2016, 10:47 a.m. UTC, René J.V. Bertin wrote:</p>
<table bgcolor="#fefadf" width="100%" cellspacing="0" cellpadding="12" style="border: \
1px #888a85 solid; border-radius: 6px; -moz-border-radius: 6px; \
-webkit-border-radius: 6px;"> <tr>
<td>
<div>Review request for KDE Software on Mac OS X and Marble.</div>
<div>By René J.V. Bertin.</div>
<p style="color: grey;"><i>Updated April 14, 2016, 10:47 a.m.</i></p>
<div style="margin-top: 1.5em;">
<b style="color: #575012; font-size: 10pt;">Repository: </b>
marble
</div>
<h1 style="color: #575012; font-size: 10pt; margin-top: 1.5em;">Description </h1>
<table width="100%" bgcolor="#ffffff" cellspacing="0" cellpadding="10" \
style="border: 1px solid #b8b5a0"> <tr>
<td>
<pre style="margin: 0; padding: 0; white-space: pre-wrap; white-space: \
-moz-pre-wrap; white-space: -pre-wrap; white-space: -o-pre-wrap; word-wrap: \
break-word;"><p style="padding: 0;text-rendering: inherit;margin: 0;line-height: \
inherit;white-space: inherit;">Disclaimer: the patch as presented is currently a hack \
that only shows what is done, not how to do it properly. I'll clean it up if there is \
interest in incorporating this as a selectable option.</p> <p style="padding: \
0;text-rendering: inherit;margin: 0;line-height: inherit;white-space: inherit;">That \
being said, here's the point. Marble currently aims to build 1 or 2 more or less \
standalone app bundles when being built on Mac OS X. There is nothing wrong with \
that, but it presents a problem for distribution systems like MacPorts or Fink or \
HomeBrew that aim to share libraries among packages and to remain as close as \
possible to the runtime context for which packages were designed (i.e. \
XDG/Freedesktop). Evidently the goal is not to replace the OS X desktop with a Plasma \
shell; rather, the idea is that the feature set will be most complete and maintenance \
will be easiest when differences like where resources are to be found are as small as \
possible. Think of it as running KDE applications installed with their dependencies \
in some separate prefix, under e.g. a Gnome, XFCE or even a "bare-bones X11" desktop \
environment.</p> <p style="padding: 0;text-rendering: inherit;margin: 0;line-height: \
inherit;white-space: inherit;">The patch achieves this by disabling all \
APPLE-specific things in the CMake files except for the required frameworks (Apple's, \
not KF5), currently by replacing APPLE with the unknown APPEL token. The result is \
that there is still an app bundle that is created, for the KF5-based marble (but not \
for marble-qt though that ought to be possible too). A few additional lines create \
and install an application icon for marble.app . Everything else is installed in its \
usual location under the prefix.</p> <p style="padding: 0;text-rendering: \
inherit;margin: 0;line-height: inherit;white-space: inherit;">I would assume that \
this is more or less a prerequisite to build a package like digiKam which can use \
libMarble ... which would be a lot less evident if that library is hidden in a \
relocatable app bundle.</p> <p style="padding: 0;text-rendering: inherit;margin: \
0;line-height: inherit;white-space: inherit;">If there is a chance that this patch is \
accepted I'd propose replacing the APPEL hack with a variable like <code \
style="text-rendering: inherit;color: #4444cc;padding: 0;white-space: normal;margin: \
0;line-height: inherit;">option(BUILD_APPLE_APPBUNDLE,"build app bundle(s)" \
YES)</code>.</p></pre> </td>
</tr>
</table>
<h1 style="color: #575012; font-size: 10pt; margin-top: 1.5em;">Testing </h1>
<table width="100%" bgcolor="#ffffff" cellspacing="0" cellpadding="10" style="border: \
1px solid #b8b5a0"> <tr>
<td>
<pre style="margin: 0; padding: 0; white-space: pre-wrap; white-space: \
-moz-pre-wrap; white-space: -pre-wrap; white-space: -o-pre-wrap; word-wrap: \
break-word;"><p style="padding: 0;text-rendering: inherit;margin: 0;line-height: \
inherit;white-space: inherit;">On OS X 10.9.5, with Qt 5.6 and FWs 5.20.0, installed \
under /opt/local</p></pre> </td>
</tr>
</table>
<h1 style="color: #575012; font-size: 10pt; margin-top: 1.5em;">Diffs</b> </h1>
<ul style="margin-left: 3em; padding-left: 0;">
<li>CMakeLists.txt <span style="color: grey">(28c9299)</span></li>
<li>src/CMakeLists.txt <span style="color: grey">(063db88)</span></li>
<li>src/apps/marble-kde/CMakeLists.txt <span style="color: \
grey">(2841052)</span></li>
<li>src/apps/marble-qt/CMakeLists.txt <span style="color: \
grey">(5a242b6)</span></li>
<li>src/lib/astro/CMakeLists.txt <span style="color: grey">(c4dcd5b)</span></li>
<li>src/lib/marble/CMakeLists.txt <span style="color: grey">(42fe56f)</span></li>
<li>src/plugins/runner/kml/CMakeLists.txt <span style="color: \
grey">(573e149)</span></li>
<li>src/plugins/runner/osm/CMakeLists.txt <span style="color: \
grey">(82091a5)</span></li>
<li>src/plugins/runner/shp/CMakeLists.txt <span style="color: \
grey">(cddaebf)</span></li>
<li>tests/CMakeLists.txt <span style="color: grey">(d0db4d6)</span></li>
</ul>
<p><a href="https://git.reviewboard.kde.org/r/127649/diff/" style="margin-left: \
3em;">View Diff</a></p>
</td>
</tr>
</table>
</div>
</body>
</html>
--===============0344281096122981532==--
[Attachment #3 (text/plain)]
_______________________________________________
kde-mac@kde.org
List Information: https://mail.kde.org/mailman/listinfo/kde-mac
KDE/Mac Information: http://community.kde.org/Mac
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic