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

login
register
mail settings
Submitter Peter Tworek
Date Feb. 13, 2012, 8:31 p.m.
Message ID <1329165082-18663-1-git-send-email-tworaz666@gmail.com>
Download mbox | patch
Permalink /patch/21213/
State Accepted
Headers show

Comments

Peter Tworek - Feb. 13, 2012, 8:31 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  |    9 +++++----
 1 files changed, 5 insertions(+), 4 deletions(-)
Andreas Müller - Feb. 14, 2012, 12:15 a.m.
On Mon, Feb 13, 2012 at 9:31 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  |    9 +++++----
>  1 files changed, 5 insertions(+), 4 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..a2b3ea9 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
> @@ -4,7 +4,7 @@ LICENSE = "GPLv2"
>  LIC_FILES_CHKSUM = "file://COPYING;md5=26a8bd75d8f8498bdbbe64a27791d4ee"
>  DEPENDS = "libxfce4util garcon libxfce4ui xfconf exo gtk+ dbus cairo virtual/libx11 libxml2 libwnck"
>
> -PR = "r1"
> +PR = "r2"
>
>  inherit xfce
>
> @@ -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
Acked-by: Andreas Müller <schnitzeltony@googlemail.com>

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..a2b3ea9 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
@@ -4,7 +4,7 @@  LICENSE = "GPLv2"
 LIC_FILES_CHKSUM = "file://COPYING;md5=26a8bd75d8f8498bdbbe64a27791d4ee"
 DEPENDS = "libxfce4util garcon libxfce4ui xfconf exo gtk+ dbus cairo virtual/libx11 libxml2 libwnck"
 
-PR = "r1"
+PR = "r2"
 
 inherit xfce
 
@@ -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"