1 |
On 03/22/2012 07:50 PM, Michael Orlitzky wrote: |
2 |
> On 03/22/2012 03:29 AM, Samuli Suominen wrote: |
3 |
>> On 03/22/2012 09:25 AM, Samuli Suominen wrote: |
4 |
>>> If anyone is intrested in helping around with Xfce we have 2 bigger |
5 |
>>> tasks on going: |
6 |
>>> |
7 |
>>> 1) Pass --libexecdir="${EPREFIX}" to all plugins installing to |
8 |
>>> /usr/libexec/xfce4/ as opposed to /usr/lib/xfce4/ |
9 |
>> |
10 |
>> Typing error. |
11 |
>> |
12 |
>> inherit multilib xfconf |
13 |
>> |
14 |
>> --libexecdir="${EPREFIX}"/usr/$(get_libdir) |
15 |
>> |
16 |
> |
17 |
> |
18 |
> I tested this, works fine. Is there a better way to fix it within the |
19 |
> package, though? |
20 |
|
21 |
I tend to remember you are the upstream for xfce4-hdaps? |
22 |
|
23 |
Then absolutely. You should convert the plug-in to the new module |
24 |
format, check for example here: |
25 |
|
26 |
http://git.xfce.org/panel-plugins/xfce4-mpc-plugin/commit/?id=11e6ebca679265ff5fb4e2cda585d8a26f3c99c1 |
27 |
|
28 |
Then check the paths used by actual plugins shipped with the |
29 |
xfce-base/xfce4-panel. For example: |
30 |
|
31 |
$libdir/xfce4/panel/plugins/libhdaps.so |
32 |
$datadir/xfce4/panel/plugins/hdaps.desktop |
33 |
|
34 |
So it's just as you guessed, the --libdir= thing is just a workaround we |
35 |
can apply for unported plugins... |
36 |
|
37 |
- Samuli |
38 |
|
39 |
> diff --git a/xfce-extra/xfce4-hdaps/xfce4-hdaps-0.0.7.ebuild |
40 |
> b/xfce-extra/xfce4$ |
41 |
> index f987178..6ac70b6 100644 |
42 |
> --- a/xfce-extra/xfce4-hdaps/xfce4-hdaps-0.0.7.ebuild |
43 |
> +++ b/xfce-extra/xfce4-hdaps/xfce4-hdaps-0.0.7.ebuild |
44 |
> @@ -29,6 +29,7 @@ DEPEND="${COMMON_DEPEND} |
45 |
> pkg_setup() { |
46 |
> XFCONF=( |
47 |
> --disable-option-checking |
48 |
> + --libexecdir="${EPREFIX}"/usr/$(get_libdir) |
49 |
> $(xfconf_use_debug) |
50 |
> ) |
51 |
> |
52 |
> |