https://labs.parabola.nu/https://labs.parabola.nu/favicon.ico?15367742552018-08-20T04:39:39ZParabola Issue TrackerPackages - Packaging Request #1962: [polybar] Add package to pcrhttps://labs.parabola.nu/issues/1962?journal_id=101602018-08-20T04:39:39Zovruniovruni@gnu.org.pe
<ul><li><strong>Priority</strong> changed from <i>bug</i> to <i>wish</i></li><li><strong>Subject</strong> changed from <i>polybar</i> to <i>[polybar] Add package to pcr</i></li></ul> Packages - Packaging Request #1962: [polybar] Add package to pcrhttps://labs.parabola.nu/issues/1962?journal_id=102202018-09-08T01:24:13Zfreemor
<ul></ul><p>Looks do-able but the:<br /><pre>
https://github.com/jaagr/xpp
</pre><br />part has an odd license I've not seen before. Looks fine But I'd prefer to get more experienced eyes on it before I roll this into PCR</p> Packages - Packaging Request #1962: [polybar] Add package to pcrhttps://labs.parabola.nu/issues/1962?journal_id=122412019-05-27T14:46:56Ztheova
<ul><li><strong>File</strong> <a href="/attachments/515">PKGBUILD</a> <a class="icon-only icon-download" title="Download" href="/attachments/download/515/PKGBUILD">PKGBUILD</a> added</li><li><strong>File</strong> <a href="/attachments/514">polybar.install</a> <a class="icon-only icon-download" title="Download" href="/attachments/download/514/polybar.install">polybar.install</a> added</li></ul><a name="Licenses-and-Dependencies"></a>
<h1 > Licenses and Dependencies<a href="#Licenses-and-Dependencies" class="wiki-anchor">¶</a></h1>
<p>Polybar is <a href="https://raw.githubusercontent.com/polybar/polybar/master/LICENSE" class="external">licensed</a> under the MIT license.</p>
It includes the following <a href="https://raw.githubusercontent.com/polybar/polybar/master/.gitmodules" class="external">submodules</a>:
<table>
<tr>
<th>Name </th>
<th>License </th>
<th>FSDG-compliant </th>
</tr>
<tr>
<td> i3ipcpp++ </td>
<td> MIT (<a href="https://raw.githubusercontent.com/polybar/i3ipcpp/master/LICENSE" class="external">source</a>) </td>
<td> yes </td>
</tr>
<tr>
<td> xpp </td>
<td> custom (<a href="https://raw.githubusercontent.com/polybar/xpp/master/LICENSE" class="external">source</a>) </td>
<td> yes ? </td>
</tr>
</table>
<p>The LICENSE of xpp is nearly the MIT license. The difference is, that there are two (many?) license holders mentioned:<br /><pre>
Original work Copyright (c) 2018, Jochen Keil
Modified work Copyright 2018, Michael Carlberg (jaagr) and contributors
</pre></p>
<p>I've just began learning about licenses. Does anybody know, whether this may be a problem? If knowbody knows, I can contact the FSF and investigate further.</p>
<a name="Build-Dependencie"></a>
<h2 > Build Dependencie<a href="#Build-Dependencie" class="wiki-anchor">¶</a></h2>
"The following dependencies are only needed during compilation, you can remove them, if you don't need them, after you built polybar."
<table>
<tr>
<th>Name </th>
<th>Package </th>
<th>Repo </th>
</tr>
<tr>
<td> gcc >= 5.1 </td>
<td> gcc </td>
<td> core </td>
</tr>
<tr>
<td> clang >= 3.4 </td>
<td> clang </td>
<td> extra </td>
</tr>
<tr>
<td> git </td>
<td> git </td>
<td> extra </td>
</tr>
<tr>
<td> cmake >= 3.1 </td>
<td> cmake </td>
<td> extra </td>
</tr>
<tr>
<td> sphinx </td>
<td> sphinx </td>
<td> pcr </td>
</tr>
</table>
<a name="Hard-Dependencies"></a>
<h2 >Hard Dependencies<a href="#Hard-Dependencies" class="wiki-anchor">¶</a></h2>
<p>"These are the hard dependencies, you cannot build or run polybar without them":</p>
<table>
<tr>
<th>Dependency </th>
<th>Package </th>
<th>Repo </th>
</tr>
<tr>
<td> cairo </td>
<td> cairo </td>
<td> extra </td>
</tr>
<tr>
<td> libxcb </td>
<td> libxcb </td>
<td> extra </td>
</tr>
<tr>
<td> xcb-proto </td>
<td> xcb-proto </td>
<td> extra </td>
</tr>
<tr>
<td> xcb-util-image </td>
<td> xcb-util-image </td>
<td> extra </td>
</tr>
<tr>
<td> xcb-util-wm </td>
<td> xcb-util-wm </td>
<td> extra </td>
</tr>
</table>
<a name="Optional-Dependencies"></a>
<h2 >Optional Dependencies<a href="#Optional-Dependencies" class="wiki-anchor">¶</a></h2>
"These dependencies enable optional features in polybar, if they are installed during compilation:"
<table>
<tr>
<th>Optional Dependency </th>
<th>Required for </th>
<th>Package </th>
<th>Repo </th>
</tr>
<tr>
<td> xcb-xkb </td>
<td> `internal/xkeyboard` </td>
<td> libxcb ? </td>
<td> extra </td>
</tr>
<tr>
<td> xbc-util-xrm </td>
<td> `${xrdb:...}` </td>
<td> xbc-util-xrm </td>
<td> community </td>
</tr>
<tr>
<td> xcb-util-cursor </td>
<td> `cursor-click` <br />`cursor-scroll` </td>
<td> xbc-util-cursor </td>
<td> community </td>
</tr>
<tr>
<td> alsa-lib </td>
<td> `internal/alsa` </td>
<td> alsa-lib </td>
<td> extra </td>
</tr>
<tr>
<td> libpulse </td>
<td> `internal/pulseaudio` </td>
<td> libpulse </td>
<td> extra </td>
</tr>
<tr>
<td> i3-wm </td>
<td> `internal/i3` </td>
<td> i3-wm </td>
<td> community </td>
</tr>
<tr>
<td> jsoncpp </td>
<td> `internal/i3` </td>
<td> jsoncpp </td>
<td> extra </td>
</tr>
<tr>
<td> libmpdclient </td>
<td> `internal/mpd` </td>
<td> libmpdclient </td>
<td> extra </td>
</tr>
<tr>
<td> libcurl </td>
<td> `internal/github` </td>
<td> curl </td>
<td> core </td>
</tr>
<tr>
<td> wireless_tools (deprecated) </td>
<td> `internal/network` </td>
<td> wireless_tools </td>
<td> core </td>
</tr>
<tr>
<td> libnl-genl </td>
<td> `internal/network` </td>
<td> libnl </td>
<td> core </td>
</tr>
</table>
<p>Altough this dependencies are called optional, they are not threated as this in the PKGBUILD. The <a href="https://github.com/polybar/polybar/issues/1406#issuecomment-417477974" class="external">reason</a> is:<br />"[Polybar] current build setup links the shared libraries for the optional dependencies at compile time which makes the whole executable not start, if the libraries it was linked against are missing."</p>
<p>Therefore, I have declared them as (obligatory) dependencies as suggested <a href="https://bbs.archlinux.org/viewtopic.php?id=244045" class="external">here</a>.</p>
<a name="PKGBUILD"></a>
<h1 > PKGBUILD<a href="#PKGBUILD" class="wiki-anchor">¶</a></h1>
<p>Is attached. I was able to build the package for all 3 architectures.</p>
<a name="Testing"></a>
<h1 > Testing<a href="#Testing" class="wiki-anchor">¶</a></h1>
<p>- The example config runs quite well. To run completly correct, one would need to install additional fonts (from AUR), which are not in Parabola yet. We could replace the fonts in the example config. Furthermore, there needs some more configuration to be done.<br />- My personal config runs without any problems.<br />- There are som further <a href="https://github.com/polybar/polybar/wiki/Testing" class="external">tests</a> provided. As they need networking connection during the build process, I have not included them in check(). I was able to succesfully run them with makepkg.</p>
<a name="Maintenance-load-of-this-package"></a>
<h1 > Maintenance load of this package<a href="#Maintenance-load-of-this-package" class="wiki-anchor">¶</a></h1>
<p>The PKGBUILD is quite simple and does not change to much (1-3 releases/year).<br />One thing which is an additonal load, is that polybar has to be rebuild when jsoncpp is upgraded (see <a href="https://github.com/polybar/polybar/issues/885" class="external">here</a>, this happens 1-4/year).<br />I am willing to further contribute to this packet with furder rebulding and patches.</p> Packages - Packaging Request #1962: [polybar] Add package to pcrhttps://labs.parabola.nu/issues/1962?journal_id=122442019-05-29T20:12:21Zfreemor
<ul></ul><p>Taking a look now...</p>
<p>With re looking at the xxp license I suspect that it won't interact badly with the GPL as I do not see any abridging of the four freedoms.</p>
<p>You didn't include yourself as a Contributor: How would you like to be listed there</p>
<p>I'll have to read up a bit about changing the op-depends into hard depends tho your reasoning seems sound.</p>
<p>I'll do a test build and see how it goes.</p>
<p>Nice Work.</p> Packages - Packaging Request #1962: [polybar] Add package to pcrhttps://labs.parabola.nu/issues/1962?journal_id=122622019-05-31T15:52:47Ztheova
<ul></ul><p>freemor wrote:</p>
<blockquote>
<p>You didn't include yourself as a Contributor: How would you like to be listed there</p>
</blockquote>
<p>Oh, yes please include ma as</p>
<pre>
Contributor: Theova <theova@member.fsf.org>
</pre> Packages - Packaging Request #1962: [polybar] Add package to pcrhttps://labs.parabola.nu/issues/1962?journal_id=126952019-08-01T11:53:46Ztheova
<ul><li><strong>File</strong> <a href="/attachments/557">PKGBUILD</a> <a class="icon-only icon-download" title="Download" href="/attachments/download/557/PKGBUILD">PKGBUILD</a> added</li></ul><p>Update PKGBUILD to v3.4.0.</p> Packages - Packaging Request #1962: [polybar] Add package to pcrhttps://labs.parabola.nu/issues/1962?journal_id=132612019-11-03T13:05:30Ztheova
<ul><li><strong>File</strong> <a href="/attachments/616">PKGBUILD</a> <a class="icon-only icon-download" title="Download" href="/attachments/download/616/PKGBUILD">PKGBUILD</a> added</li></ul><p>Update: PKGBUILD v3.4.1</p>
<p>In the meantime, the AUR package changed many of the optdepends to normal dependencies.</p> Packages - Packaging Request #1962: [polybar] Add package to pcrhttps://labs.parabola.nu/issues/1962?journal_id=132722019-11-03T14:39:24Zeschwartzeschwartz@archlinux.org
<ul></ul><p>We (the Arch Linux Trusted Users team) intend to move polybar to [community], but cannot/will not until polybar uses a plugin architecture that fixes the problem of optional compile-time dependencies that are hard runtime dependencies. You will notice that <a class="external" href="https://github.com/polybar/polybar/issues/1406">https://github.com/polybar/polybar/issues/1406</a> was submitted by a TU.</p>
<p>I would not consider this worth packaging before that issue is resolved, and after it is resolved it won't make sense to package it in [pcr] since it will be in [community].</p> Packages - Packaging Request #1962: [polybar] Add package to pcrhttps://labs.parabola.nu/issues/1962?journal_id=132732019-11-03T15:07:51Zbill-auger
<ul><li><strong>Status</strong> changed from <i>open</i> to <i>forwarded upstream</i></li></ul> Packages - Packaging Request #1962: [polybar] Add package to pcrhttps://labs.parabola.nu/issues/1962?journal_id=176182022-05-11T11:32:34Ztheova
<ul><li><strong>% Done</strong> changed from <i>0</i> to <i>100</i></li></ul><p>Polybar was added to community: <a class="external" href="https://github.com/archlinux/svntogit-community/commit/1d6703dab92a0d89e6f1b0c930d200475a046d95">https://github.com/archlinux/svntogit-community/commit/1d6703dab92a0d89e6f1b0c930d200475a046d95</a></p>