maekke      14/11/05 18:19:26

  Modified:             ChangeLog
  Added:                ufraw-0.20-r1.ebuild
  Removed:              ufraw-0.20.ebuild
  Log:
  add upstream fix to work with newer gimp versions, bug #527836 (straight to 
stable)
  
  (Portage version: 2.2.14/cvs/Linux x86_64, RepoMan options: --force, signed 
Manifest commit with key 072AD062)

Revision  Changes    Path
1.130                media-gfx/ufraw/ChangeLog

file : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-gfx/ufraw/ChangeLog?rev=1.130&view=markup
plain: 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-gfx/ufraw/ChangeLog?rev=1.130&content-type=text/plain
diff : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-gfx/ufraw/ChangeLog?r1=1.129&r2=1.130

Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/media-gfx/ufraw/ChangeLog,v
retrieving revision 1.129
retrieving revision 1.130
diff -u -r1.129 -r1.130
--- ChangeLog   4 Nov 2014 20:21:28 -0000       1.129
+++ ChangeLog   5 Nov 2014 18:19:26 -0000       1.130
@@ -1,6 +1,12 @@
 # ChangeLog for media-gfx/ufraw
 # Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-gfx/ufraw/ChangeLog,v 1.129 
2014/11/04 20:21:28 maekke Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-gfx/ufraw/ChangeLog,v 1.130 
2014/11/05 18:19:26 maekke Exp $
+
+*ufraw-0.20-r1 (05 Nov 2014)
+
+  05 Nov 2014; Markus Meier <mae...@gentoo.org> -ufraw-0.20.ebuild,
+  +ufraw-0.20-r1.ebuild, +files/ufraw-0.20-gimp.patch:
+  add upstream fix to work with newer gimp versions, bug #527836
 
   04 Nov 2014; Markus Meier <mae...@gentoo.org> ufraw-0.20.ebuild:
   arm stable, bug #526918



1.1                  media-gfx/ufraw/ufraw-0.20-r1.ebuild

file : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-gfx/ufraw/ufraw-0.20-r1.ebuild?rev=1.1&view=markup
plain: 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-gfx/ufraw/ufraw-0.20-r1.ebuild?rev=1.1&content-type=text/plain

Index: ufraw-0.20-r1.ebuild
===================================================================
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/media-gfx/ufraw/ufraw-0.20-r1.ebuild,v 1.1 
2014/11/05 18:19:26 maekke Exp $

EAPI=5
inherit autotools eutils fdo-mime gnome2-utils toolchain-funcs

DESCRIPTION="RAW Image format viewer and GIMP plugin"
HOMEPAGE="http://ufraw.sourceforge.net/";
SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"

LICENSE="GPL-2"
SLOT="0"
KEYWORDS="alpha amd64 arm hppa ~ia64 ppc ppc64 ~s390 ~sh sparc x86 ~amd64-fbsd 
~x86-freebsd ~amd64-linux ~x86-linux ~x64-solaris ~x86-solaris"
IUSE="contrast fits gimp gnome gtk openmp timezone"

RDEPEND="dev-libs/glib:2
        >=media-gfx/exiv2-0.11:0=
        media-libs/lcms
        >=media-libs/lensfun-0.2.5
        media-libs/libpng:0=
        media-libs/tiff
        virtual/jpeg
        fits? ( sci-libs/cfitsio:0= )
        gnome? ( >=gnome-base/gconf-2 )
        gtk? ( >=x11-libs/gtk+-2.6:2
                >=media-gfx/gtkimageview-1.5 )
        gimp? ( >=x11-libs/gtk+-2.6:2
                >=media-gfx/gtkimageview-1.5
                >=media-gfx/gimp-2 )"
DEPEND="${RDEPEND}
        virtual/pkgconfig"

src_prepare() {
        epatch \
                "${FILESDIR}"/${PN}-0.17-cfitsio-automagic.patch \
                "${FILESDIR}"/${P}-gimp.patch
        eautoreconf
}

src_configure() {
        econf \
                $(use_enable contrast) \
                $(use_with fits cfitsio) \
                $(use_with gimp) \
                $(use_enable gnome mime) \
                $(use_with gtk) \
                $(use_enable openmp) \
                $(use_enable timezone dst-correction) \
                $(usex gimp --with-gtk "")
}

src_compile() {
        emake AR="$(tc-getAR)"
}

src_install() {
        emake DESTDIR="${D}" schemasdir=/etc/gconf/schemas install
        dodoc README TODO
}

pkg_preinst() {
        if use gnome; then
                gnome2_gconf_savelist
        fi
}

pkg_postinst() {
        if use gnome; then
                fdo-mime_mime_database_update
                fdo-mime_desktop_database_update
                gnome2_gconf_install
        fi
}

pkg_postrm() {
        if use gnome; then
                fdo-mime_desktop_database_update
                fdo-mime_mime_database_update
        fi
}




Reply via email to