diff options
author | Markos Chandras <hwoarang@gentoo.org> | 2012-11-02 22:15:43 +0000 |
---|---|---|
committer | Markos Chandras <hwoarang@gentoo.org> | 2012-11-02 22:15:43 +0000 |
commit | fa2e7133f7bad7063fe92b2dc6128360e992c907 (patch) | |
tree | 70b4ed9b76b1a88e23dca934f26542ce60c4fb59 /media-gfx/dispcalgui/dispcalgui-0.9.9.1.ebuild | |
parent | Initial version of firewalld. Let's see how this works out. (diff) | |
download | historical-fa2e7133f7bad7063fe92b2dc6128360e992c907.tar.gz historical-fa2e7133f7bad7063fe92b2dc6128360e992c907.tar.bz2 historical-fa2e7133f7bad7063fe92b2dc6128360e992c907.zip |
Version bump. Fix old ebuilds to not install udev rules in order to avoid collisions with media-gfx/argyllcms. Thanks to Marios Andreopoulos <opensource@andmarios.com>. Bug #440932. Remove old
Package-Manager: portage-2.1.11.30/cvs/Linux x86_64
Manifest-Sign-Key: 0xB4AFF2C2
Diffstat (limited to 'media-gfx/dispcalgui/dispcalgui-0.9.9.1.ebuild')
-rw-r--r-- | media-gfx/dispcalgui/dispcalgui-0.9.9.1.ebuild | 15 |
1 files changed, 7 insertions, 8 deletions
diff --git a/media-gfx/dispcalgui/dispcalgui-0.9.9.1.ebuild b/media-gfx/dispcalgui/dispcalgui-0.9.9.1.ebuild index 1ff651e352ca..beb0aa13e5bf 100644 --- a/media-gfx/dispcalgui/dispcalgui-0.9.9.1.ebuild +++ b/media-gfx/dispcalgui/dispcalgui-0.9.9.1.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2012 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/media-gfx/dispcalgui/dispcalgui-0.9.9.1.ebuild,v 1.3 2012/08/02 21:20:07 hwoarang Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-gfx/dispcalgui/dispcalgui-0.9.9.1.ebuild,v 1.4 2012/11/02 22:15:41 hwoarang Exp $ EAPI="2" PYTHON_DEPEND="2" @@ -45,16 +45,15 @@ src_prepare() { -e 's/if which(\"xdg-desktop-menu\"):/if which(\"xdg-desktop-menu-non-existant\"):/' \ -i postinstall.py || die "sed'ing out the xdg-* setup functions failed" -# Set udev rules to install at /lib/udev/rules.d - cd "${S}" || die "Cannot cd to work directory." - for offendingFile in $(grep -r -l "/etc/udev/rules.d" *); do - sed -e 's|/etc/udev/rules\.d|/lib/udev/rules\.d|g' -i "${offendingFile}" || \ - die "setting udev rules' destination directory failed" - done - distutils_src_prepare } +src_install() { + distutils_src_install + #remove udev files + rm "${D}"/etc/udev/rules.d/55-Argyll.rules || die +} + pkg_postinst() { # Run xdg-* programs the Gentoo way since we removed this functionality from the original package fdo-mime_mime_database_update |