Patchwork [meta-xfce,3/3,v2] xfce4-panel: Remove static version of panel plugins.

login
register
mail settings
Submitter Peter Tworek
Date Feb. 6, 2012, 7:28 p.m.
Message ID <1328556539-8036-1-git-send-email-tworaz666@gmail.com>
Download mbox | patch
Permalink /patch/20803/
State Superseded
Headers show

Comments

Peter Tworek - Feb. 6, 2012, 7:28 p.m.
They have no actual use and trigger QA warnings.

Signed-off-by: Peter Tworek <tworaz666@gmail.com>
---
 .../recipes-xfce/xfce4-panel/xfce4-panel_4.8.6.bb  |    7 ++++---
 1 files changed, 4 insertions(+), 3 deletions(-)
Andreas Müller - Feb. 9, 2012, 11:17 p.m.
On Mon, Feb 6, 2012 at 8:28 PM, Peter Tworek <tworaz666@gmail.com> wrote:
> They have no actual use and trigger QA warnings.
>
> Signed-off-by: Peter Tworek <tworaz666@gmail.com>
> ---
>  .../recipes-xfce/xfce4-panel/xfce4-panel_4.8.6.bb  |    7 ++++---
>  1 files changed, 4 insertions(+), 3 deletions(-)
>
> diff --git a/meta-xfce/recipes-xfce/xfce4-panel/xfce4-panel_4.8.6.bb b/meta-xfce/recipes-xfce/xfce4-panel/xfce4-panel_4.8.6.bb
> index 0cd8eba..6bbbc05 100644
> --- a/meta-xfce/recipes-xfce/xfce4-panel/xfce4-panel_4.8.6.bb
> +++ b/meta-xfce/recipes-xfce/xfce4-panel/xfce4-panel_4.8.6.bb
> @@ -19,6 +19,10 @@ python populate_packages_prepend() {
>                                             '${bindir}/*%s*'])
>  }
>
> +do_install_append () {
> +    find "${D}/${libdir}/xfce4/panel/plugins" -name '*.a' -exec rm -f {} +
> +}
> +
>  PACKAGES_DYNAMIC = "${PN}-plugin-*"
>
>  FILES_${PN} += "${libdir}/xfce4/panel/migrate \
> @@ -27,8 +31,5 @@ FILES_${PN} += "${libdir}/xfce4/panel/migrate \
>  FILES_${PN}-dbg += "${libdir}/xfce4/panel/plugins/.debug \
>                   "
>
> -FILES_${PN}-dev += "${libdir}/xfce4/panel/plugins/*.*a \
> -                   "
> -
>  SRC_URI[md5sum] = "9d7bf0503d5867c4044cef04bb5845b1"
>  SRC_URI[sha256sum] = "66f1266a1242ee5ecada995a4a584dd9802aa24456759b40b0c29227c39bed03"
> --
> 1.7.3.4
>
Sorry for late answer but you forgot PR-bump in V2.

Andreas

Patch

diff --git a/meta-xfce/recipes-xfce/xfce4-panel/xfce4-panel_4.8.6.bb b/meta-xfce/recipes-xfce/xfce4-panel/xfce4-panel_4.8.6.bb
index 0cd8eba..6bbbc05 100644
--- a/meta-xfce/recipes-xfce/xfce4-panel/xfce4-panel_4.8.6.bb
+++ b/meta-xfce/recipes-xfce/xfce4-panel/xfce4-panel_4.8.6.bb
@@ -19,6 +19,10 @@  python populate_packages_prepend() {
 	                                     '${bindir}/*%s*'])
 }
 
+do_install_append () {
+    find "${D}/${libdir}/xfce4/panel/plugins" -name '*.a' -exec rm -f {} +
+}
+
 PACKAGES_DYNAMIC = "${PN}-plugin-*"
 
 FILES_${PN} += "${libdir}/xfce4/panel/migrate \
@@ -27,8 +31,5 @@  FILES_${PN} += "${libdir}/xfce4/panel/migrate \
 FILES_${PN}-dbg += "${libdir}/xfce4/panel/plugins/.debug \
 		   "
 
-FILES_${PN}-dev += "${libdir}/xfce4/panel/plugins/*.*a \
-                   "
-
 SRC_URI[md5sum] = "9d7bf0503d5867c4044cef04bb5845b1"
 SRC_URI[sha256sum] = "66f1266a1242ee5ecada995a4a584dd9802aa24456759b40b0c29227c39bed03"