public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Nirbheek Chauhan" <nirbheek@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] proj/gnome:master commit in: media-libs/libcanberra/
Date: Sat, 30 Apr 2011 09:15:10 +0000 (UTC)	[thread overview]
Message-ID: <42570c292424b9334de287beeeff906f1ccbfedd.nirbheek@gentoo> (raw)

commit:     42570c292424b9334de287beeeff906f1ccbfedd
Author:     Nirbheek Chauhan <nirbheek <AT> gentoo <DOT> org>
AuthorDate: Sat Apr 30 09:13:09 2011 +0000
Commit:     Nirbheek Chauhan <nirbheek <AT> gentoo <DOT> org>
CommitDate: Sat Apr 30 09:13:09 2011 +0000
URL:        http://git.overlays.gentoo.org/gitweb/?p=proj/gnome.git;a=commit;h=42570c29

media-libs/libcanberra: remove only useless la files

* Pointed out by samuli

---
 media-libs/libcanberra/libcanberra-0.28-r1.ebuild |    9 ++++-----
 1 files changed, 4 insertions(+), 5 deletions(-)

diff --git a/media-libs/libcanberra/libcanberra-0.28-r1.ebuild b/media-libs/libcanberra/libcanberra-0.28-r1.ebuild
index 9916a4e..a32403d 100644
--- a/media-libs/libcanberra/libcanberra-0.28-r1.ebuild
+++ b/media-libs/libcanberra/libcanberra-0.28-r1.ebuild
@@ -60,11 +60,10 @@ src_install() {
 	# Disable parallel installation until bug #253862 is solved
 	emake -j1 DESTDIR="${D}" install || die
 
-	# TODO: check which la files are really needed
-	#find "${ED}"/usr/$(get_libdir)/gtk-2.0 -name "*.la" -delete
-	#find "${ED}"/usr/$(get_libdir)/gtk-3.0 -name "*.la" -delete
-	# removing ALL of them for now.
-	find "${D}" -name '*.la' -exec rm -f {} + || die "la file removal failed"
+	# Remove useless .la files
+	# la files in /usr/lib*/${P}/ are needed
+	rm -v "${ED}"/usr/$(get_libdir)/gtk-*/modules/*.la || die
+	rm -v "${ED}"/usr/$(get_libdir)/*.la || die
 }
 
 pkg_preinst() { gnome2_gconf_savelist; }



             reply	other threads:[~2011-04-30  9:15 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-04-30  9:15 Nirbheek Chauhan [this message]
  -- strict thread matches above, loose matches on Subject: below --
2012-12-19  8:38 [gentoo-commits] proj/gnome:master commit in: media-libs/libcanberra/ Alexandre Rostovtsev
2011-04-30  9:04 Nirbheek Chauhan
2011-04-04 13:00 Gilles Dartiguelongue

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=42570c292424b9334de287beeeff906f1ccbfedd.nirbheek@gentoo \
    --to=nirbheek@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.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