summaryrefslogtreecommitdiff
path: root/media-libs/libexif-gtk
diff options
context:
space:
mode:
authorRobin H. Johnson <robbat2@gentoo.org>2015-08-08 13:49:04 -0700
committerRobin H. Johnson <robbat2@gentoo.org>2015-08-08 17:38:18 -0700
commit56bd759df1d0c750a065b8c845e93d5dfa6b549d (patch)
tree3f91093cdb475e565ae857f1c5a7fd339e2d781e /media-libs/libexif-gtk
downloadgentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.gz
gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.xz
proj/gentoo: Initial commit
This commit represents a new era for Gentoo: Storing the gentoo-x86 tree in Git, as converted from CVS. This commit is the start of the NEW history. Any historical data is intended to be grafted onto this point. Creation process: 1. Take final CVS checkout snapshot 2. Remove ALL ChangeLog* files 3. Transform all Manifests to thin 4. Remove empty Manifests 5. Convert all stale $Header$/$Id$ CVS keywords to non-expanded Git $Id$ 5.1. Do not touch files with -kb/-ko keyword flags. Signed-off-by: Robin H. Johnson <robbat2@gentoo.org> X-Thanks: Alec Warner <antarus@gentoo.org> - did the GSoC 2006 migration tests X-Thanks: Robin H. Johnson <robbat2@gentoo.org> - infra guy, herding this project X-Thanks: Nguyen Thai Ngoc Duy <pclouds@gentoo.org> - Former Gentoo developer, wrote Git features for the migration X-Thanks: Brian Harring <ferringb@gentoo.org> - wrote much python to improve cvs2svn X-Thanks: Rich Freeman <rich0@gentoo.org> - validation scripts X-Thanks: Patrick Lauer <patrick@gentoo.org> - Gentoo dev, running new 2014 work in migration X-Thanks: Michał Górny <mgorny@gentoo.org> - scripts, QA, nagging X-Thanks: All of other Gentoo developers - many ideas and lots of paint on the bikeshed
Diffstat (limited to 'media-libs/libexif-gtk')
-rw-r--r--media-libs/libexif-gtk/Manifest1
-rw-r--r--media-libs/libexif-gtk/files/libexif-gtk-0.3.5-confcheck.patch20
-rw-r--r--media-libs/libexif-gtk/files/libexif-gtk-0.3.5-gtk212.patch24
-rw-r--r--media-libs/libexif-gtk/libexif-gtk-0.3.5-r2.ebuild41
-rw-r--r--media-libs/libexif-gtk/metadata.xml8
5 files changed, 94 insertions, 0 deletions
diff --git a/media-libs/libexif-gtk/Manifest b/media-libs/libexif-gtk/Manifest
new file mode 100644
index 00000000000..54a1c74d024
--- /dev/null
+++ b/media-libs/libexif-gtk/Manifest
@@ -0,0 +1 @@
+DIST libexif-gtk-0.3.5.tar.gz 396534 SHA256 d9b58f2f8524520829b19b11c550a3eb97d33d273a8033a41ba7d305c144bff9
diff --git a/media-libs/libexif-gtk/files/libexif-gtk-0.3.5-confcheck.patch b/media-libs/libexif-gtk/files/libexif-gtk-0.3.5-confcheck.patch
new file mode 100644
index 00000000000..ed22ca64115
--- /dev/null
+++ b/media-libs/libexif-gtk/files/libexif-gtk-0.3.5-confcheck.patch
@@ -0,0 +1,20 @@
+--- configure.in.orig 2004-10-18 15:12:58.000000000 -0400
++++ configure.in 2006-01-05 19:06:05.000000000 -0500
+@@ -52,7 +52,7 @@
+ dnl ---------------------------------------------------------------------------
+ CPPFLAGS_save="$CPPFLAGS"
+ CPPFLAGS=$LIBEXIF_GTK_CFLAGS
+-AC_CHECK_HEADER([exif-mem.h], [
++PKG_CHECK_MODULES(HAVE_EXIF_0_6_12, libexif >= 0.6.12, [
+ exif_msg=">= 0.6.12"
+ AC_DEFINE(HAVE_EXIF_0_6_12,1,[whether we use a version of libexif greater than 0.6.12])],[
+ exif_msg="< 0.6.12 (think about upgrading)"])
+@@ -73,7 +73,7 @@
+
+ Configuration (${PACKAGE}):
+
+- Source code location: $(srcdir)
++ Source code location: ${srcdir}
+ Version: ${VERSION}
+ Compiler: ${CC}
+
diff --git a/media-libs/libexif-gtk/files/libexif-gtk-0.3.5-gtk212.patch b/media-libs/libexif-gtk/files/libexif-gtk-0.3.5-gtk212.patch
new file mode 100644
index 00000000000..1d5e581d162
--- /dev/null
+++ b/media-libs/libexif-gtk/files/libexif-gtk-0.3.5-gtk212.patch
@@ -0,0 +1,24 @@
+diff -ur libexif-gtk-0.3.5.orig/gtk-extensions/Makefile.am libexif-gtk-0.3.5/gtk-extensions/Makefile.am
+--- libexif-gtk-0.3.5.orig/gtk-extensions/Makefile.am 2004-10-17 17:57:31.000000000 +0300
++++ libexif-gtk-0.3.5/gtk-extensions/Makefile.am 2007-10-04 17:39:01.000000000 +0300
+@@ -1,7 +1,6 @@
+ INCLUDES = \
+ -I$(top_srcdir) \
+ -I$(top_srcdir)/intl \
+- -DGTK_DISABLE_DEPRECATED \
+ $(GTK_CFLAGS)
+
+ noinst_LTLIBRARIES = libgtk-extensions.la
+diff -ur libexif-gtk-0.3.5.orig/libexif-gtk/Makefile.am libexif-gtk-0.3.5/libexif-gtk/Makefile.am
+--- libexif-gtk-0.3.5.orig/libexif-gtk/Makefile.am 2004-10-17 16:48:35.000000000 +0300
++++ libexif-gtk-0.3.5/libexif-gtk/Makefile.am 2007-10-04 17:39:32.000000000 +0300
+@@ -3,8 +3,7 @@
+ -I$(top_srcdir)/intl \
+ -I$(top_srcdir)/gtk-extensions \
+ $(LIBEXIF_GTK_CFLAGS) \
+- -DG_LOG_DOMAIN=\"libexif\" \
+- -DGTK_DISABLE_DEPRECATED
++ -DG_LOG_DOMAIN=\"libexif\"
+
+ lib_LTLIBRARIES = libexif-gtk.la
+
diff --git a/media-libs/libexif-gtk/libexif-gtk-0.3.5-r2.ebuild b/media-libs/libexif-gtk/libexif-gtk-0.3.5-r2.ebuild
new file mode 100644
index 00000000000..4ab5f352464
--- /dev/null
+++ b/media-libs/libexif-gtk/libexif-gtk-0.3.5-r2.ebuild
@@ -0,0 +1,41 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=4
+inherit autotools eutils
+
+DESCRIPTION="GTK+ frontend to the libexif library (parsing, editing, and saving EXIF data)"
+HOMEPAGE="http://libexif.sf.net"
+SRC_URI="mirror://sourceforge/libexif/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="alpha amd64 ia64 ppc sparc x86 ~amd64-linux ~x86-linux ~x86-solaris"
+IUSE="nls static-libs"
+
+RDEPEND="x11-libs/gtk+:2
+ >=media-libs/libexif-0.6.12"
+DEPEND="${RDEPEND}
+ virtual/pkgconfig"
+
+DOCS=( ChangeLog )
+
+src_prepare() {
+ epatch \
+ "${FILESDIR}"/${P}-confcheck.patch \
+ "${FILESDIR}"/${P}-gtk212.patch
+
+ AT_M4DIR="m4" eautoreconf
+}
+
+src_configure() {
+ econf \
+ $(use_enable static-libs static) \
+ $(use_enable nls)
+}
+
+src_install() {
+ default
+ rm -f "${ED}"usr/lib*/${PN}.la
+}
diff --git a/media-libs/libexif-gtk/metadata.xml b/media-libs/libexif-gtk/metadata.xml
new file mode 100644
index 00000000000..5c7a0372083
--- /dev/null
+++ b/media-libs/libexif-gtk/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <herd>graphics</herd>
+ <upstream>
+ <remote-id type="sourceforge">libexif</remote-id>
+ </upstream>
+</pkgmetadata>