Openembedded Devel Discussions
 help / color / mirror / Atom feed
From: Peter Tworek <tworaz666@gmail.com>
To: openembedded-devel@lists.openembedded.org
Subject: [meta-xfce][PATCH 3/3] xfce4-panel: Disable building of static libraries.
Date: Sat,  4 Feb 2012 19:30:49 +0100	[thread overview]
Message-ID: <1328380249-11697-4-git-send-email-tworaz666@gmail.com> (raw)
In-Reply-To: <1328380249-11697-1-git-send-email-tworaz666@gmail.com>

Current recipe triggers several QA warnings about non -staticdev packages
containing .a files. The offending files are static versions of panel
plugins. They have no actual use. They're just a byproduct. Xfce4-panel
contains only one more library libxfce4-panel. Similary to panel plugins
it's static version is rather useless.

Disabling building of static libs makes -dev package smaller and fixes
all QA warnings.

Run tested on netbook pro.

Signed-off-by: Peter Tworek <tworaz666@gmail.com>
---
 .../recipes-xfce/xfce4-panel/xfce4-panel_4.8.6.bb  |   13 +++++--------
 1 files changed, 5 insertions(+), 8 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..937b078 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,15 +4,17 @@ 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
 
+EXTRA_OECONF = "--disable-static"
+
 python populate_packages_prepend() {
 	plugin_dir = bb.data.expand('${libdir}/xfce4/panel/plugins/', d)
 	plugin_name = bb.data.expand('${PN}-plugin-%s', d)
 	do_split_packages(d, plugin_dir, '^lib(.*).so$', plugin_name,
-	                  '${PN} plugin for %s', extra_depends='', prepend=True,
+	                  '${PN} %s plugin', extra_depends='', prepend=True,
 	                  aux_files_pattern=['${datadir}/xfce4/panel/plugins/%s.desktop',
 	                                     '${sysconfdir}/xdg/xfce/panel/%s-*',
 	                                     '${datadir}/icons/hicolor/48x48/apps/*-%s.png',
@@ -23,12 +25,7 @@ PACKAGES_DYNAMIC = "${PN}-plugin-*"
 
 FILES_${PN} += "${libdir}/xfce4/panel/migrate \
                 ${libdir}/xfce4/panel/wrapper"
-
-FILES_${PN}-dbg += "${libdir}/xfce4/panel/plugins/.debug \
-		   "
-
-FILES_${PN}-dev += "${libdir}/xfce4/panel/plugins/*.*a \
-                   "
+FILES_${PN}-dbg += "${libdir}/xfce4/panel/plugins/.debug"
 
 SRC_URI[md5sum] = "9d7bf0503d5867c4044cef04bb5845b1"
 SRC_URI[sha256sum] = "66f1266a1242ee5ecada995a4a584dd9802aa24456759b40b0c29227c39bed03"
-- 
1.7.3.4




  parent reply	other threads:[~2012-02-04 18:41 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-02-04 18:30 [meta-xfce][PATCH 0/3] Stable packages version updates + QA warning fixes Peter Tworek
2012-02-04 18:30 ` [meta-xfce][PATCH 1/3] xfconf: Update to latest stable version 4.8.1 Peter Tworek
2012-02-04 18:52   ` Andreas Müller
2012-02-05 15:12     ` Peter Tworek
2012-02-08 14:05       ` Peter Tworek
2012-02-04 18:30 ` [meta-xfce][PATCH 2/3] xfce4-settings: Update to latest stable version 4.8.3 Peter Tworek
2012-02-09 23:52   ` Andreas Müller
2012-02-10 11:41     ` Andrei Gherzan
2012-02-13 20:29       ` [PATCH 2/3 v2] " Peter Tworek
2012-02-14  0:36         ` Andreas Müller
2012-02-04 18:30 ` Peter Tworek [this message]
2012-02-05 17:00   ` [meta-xfce][PATCH 3/3] xfce4-panel: Disable building of static libraries Andreas Müller
2012-02-05 17:05     ` Peter Tworek
2012-02-06 19:28 ` [meta-xfce][PATCH 3/3 v2] xfce4-panel: Remove static version of panel plugins Peter Tworek
2012-02-09 23:17   ` Andreas Müller
2012-02-13 20:31     ` [PATCH 3/3 v3] " Peter Tworek
2012-02-14  0:15       ` Andreas Müller

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1328380249-11697-4-git-send-email-tworaz666@gmail.com \
    --to=tworaz666@gmail.com \
    --cc=openembedded-devel@lists.openembedded.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox