[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-panel-devel
Subject: Re: Review Request 124215: Explicitly look for XKB instead of juggling paths in base of a prefix
From: "Hrvoje Senjan" <hrvoje.senjan () gmail ! com>
Date: 2015-06-30 18:21:19
Message-ID: 20150630182119.7067.52868 () mimi ! kde ! org
[Download RAW message or body]
--===============5879558422247491084==
MIME-Version: 1.0
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: 7bit
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://git.reviewboard.kde.org/r/124215/#review81912
-----------------------------------------------------------
IMO best would be to use pkg-config to query for xkb_base variable... (if \
xkeyboard-config is really needed during buildtime)
- Hrvoje Senjan
On June 30, 2015, 4:53 p.m., Aleix Pol Gonzalez wrote:
>
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://git.reviewboard.kde.org/r/124215/
> -----------------------------------------------------------
>
> (Updated June 30, 2015, 4:53 p.m.)
>
>
> Review request for Plasma.
>
>
> Bugs: 349658
> https://bugs.kde.org/show_bug.cgi?id=349658
>
>
> Repository: plasma-desktop
>
>
> Description
> -------
>
> Instead of looking for X11 libraries and then looking stuff up, just find the \
> directory we're looking for. Also drop XBINDIR, as it wasn't being used at all.
>
> Should give something like this directory:
> ```
> $ ls /usr/share/X11/xkb/
> compat geometry keycodes rules symbols types
> ```
>
>
> Diffs
> -----
>
> kcms/keyboard/xkb_rules.cpp 9fd0324
> ConfigureChecks.cmake 4fc4bce
> config-workspace.h.cmake eda8996
>
> Diff: https://git.reviewboard.kde.org/r/124215/diff/
>
>
> Testing
> -------
>
> re-compiled on my system, everything still works.
>
>
> Thanks,
>
> Aleix Pol Gonzalez
>
>
--===============5879558422247491084==
MIME-Version: 1.0
Content-Type: text/html; charset="utf-8"
Content-Transfer-Encoding: 7bit
<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/124215/">https://git.reviewboard.kde.org/r/124215/</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;">IMO \
best would be to use pkg-config to query for xkb_base variable... (if \
xkeyboard-config is really needed during buildtime)</p></pre> <br />
<p>- Hrvoje Senjan</p>
<br />
<p>On June 30th, 2015, 4:53 p.m. CEST, Aleix Pol Gonzalez 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 Plasma.</div>
<div>By Aleix Pol Gonzalez.</div>
<p style="color: grey;"><i>Updated June 30, 2015, 4:53 p.m.</i></p>
<div style="margin-top: 1.5em;">
<b style="color: #575012; font-size: 10pt; margin-top: 1.5em;">Bugs: </b>
<a href="https://bugs.kde.org/show_bug.cgi?id=349658">349658</a>
</div>
<div style="margin-top: 1.5em;">
<b style="color: #575012; font-size: 10pt;">Repository: </b>
plasma-desktop
</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;">Instead of looking for X11 libraries and then looking \
stuff up, just find the directory we're looking for. Also drop XBINDIR, as it wasn't \
being used at all.</p> <p style="padding: 0;text-rendering: inherit;margin: \
0;line-height: inherit;white-space: inherit;">Should give something like this \
directory:</p> <p style="padding: 0;text-rendering: inherit;margin: 0;line-height: \
inherit;white-space: inherit;"><div class="codehilite" style="background: \
#f8f8f8"><pre style="line-height: 125%"><span style="color: #19177C">$ </span>ls \
/usr/share/X11/xkb/ compat geometry keycodes rules symbols types
</pre></div>
</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;">re-compiled on my system, everything still \
works.</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>kcms/keyboard/xkb_rules.cpp <span style="color: grey">(9fd0324)</span></li>
<li>ConfigureChecks.cmake <span style="color: grey">(4fc4bce)</span></li>
<li>config-workspace.h.cmake <span style="color: grey">(eda8996)</span></li>
</ul>
<p><a href="https://git.reviewboard.kde.org/r/124215/diff/" style="margin-left: \
3em;">View Diff</a></p>
</td>
</tr>
</table>
</div>
</body>
</html>
--===============5879558422247491084==--
[Attachment #3 (text/plain)]
_______________________________________________
Plasma-devel mailing list
Plasma-devel@kde.org
https://mail.kde.org/mailman/listinfo/plasma-devel
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic