diff options
author | Robin H. Johnson <robbat2@gentoo.org> | 2015-08-08 13:49:04 -0700 |
---|---|---|
committer | Robin H. Johnson <robbat2@gentoo.org> | 2015-08-08 17:38:18 -0700 |
commit | 56bd759df1d0c750a065b8c845e93d5dfa6b549d (patch) | |
tree | 3f91093cdb475e565ae857f1c5a7fd339e2d781e /media-gfx/gimmage | |
download | gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.gz gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.bz2 gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.zip |
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-gfx/gimmage')
-rw-r--r-- | media-gfx/gimmage/Manifest | 1 | ||||
-rw-r--r-- | media-gfx/gimmage/files/gimmage-0.2.3-as-needed.patch | 11 | ||||
-rw-r--r-- | media-gfx/gimmage/files/gimmage-0.2.3-desktop-entry.patch | 16 | ||||
-rw-r--r-- | media-gfx/gimmage/files/gimmage-0.2.3-gcc43.patch | 11 | ||||
-rw-r--r-- | media-gfx/gimmage/files/gimmage-0.2.3-gcc47.patch | 19 | ||||
-rw-r--r-- | media-gfx/gimmage/gimmage-0.2.3.ebuild | 43 | ||||
-rw-r--r-- | media-gfx/gimmage/metadata.xml | 8 |
7 files changed, 109 insertions, 0 deletions
diff --git a/media-gfx/gimmage/Manifest b/media-gfx/gimmage/Manifest new file mode 100644 index 000000000000..cf9a15cd31c9 --- /dev/null +++ b/media-gfx/gimmage/Manifest @@ -0,0 +1 @@ +DIST gimmage-0.2.3.tar.gz 193777 SHA256 3d5ce3c3fd22efc9fd930e97e33e2c13a755e0a9cf099d12d5f7ecf92cab907b SHA512 ff8fdf860d4712502e6e8656a14e5327a5b89af49f312e54de5f0e80cd6e406214a61228c79ad643c2640268d5eacfd760c83acbebdc7fa9b6e7c094728be167 WHIRLPOOL 7d1a9485da568baec8c430dc5a9fc12eb7dd8943fa17e5fbdc00ea4334548f1f42cad1690c6f171ecb682853a86d79e0e8324e49472c5ccbd8831a800d863792 diff --git a/media-gfx/gimmage/files/gimmage-0.2.3-as-needed.patch b/media-gfx/gimmage/files/gimmage-0.2.3-as-needed.patch new file mode 100644 index 000000000000..2e24078bd85d --- /dev/null +++ b/media-gfx/gimmage/files/gimmage-0.2.3-as-needed.patch @@ -0,0 +1,11 @@ +diff -ru gimmage-0.2.3.orig/src/Makefile.am gimmage-0.2.3/src/Makefile.am +--- gimmage-0.2.3.orig/src/Makefile.am 2008-11-30 18:43:28.000000000 +0100 ++++ gimmage-0.2.3/src/Makefile.am 2008-11-30 18:43:40.000000000 +0100 +@@ -7,5 +7,5 @@ + SaveErrorDialog.cpp SaveErrorDialog.h \ + main.cpp defines.h + +-AM_CXXFLAGS = @CXXFLAGS@ $(DEPS_CFLAGS) -lcurl -lmagic +-LDADD = $(DEPS_LIBS) ++AM_CXXFLAGS = @CXXFLAGS@ $(DEPS_CFLAGS) ++LDADD = $(DEPS_LIBS) -lcurl -lmagic diff --git a/media-gfx/gimmage/files/gimmage-0.2.3-desktop-entry.patch b/media-gfx/gimmage/files/gimmage-0.2.3-desktop-entry.patch new file mode 100644 index 000000000000..c80b43d0b293 --- /dev/null +++ b/media-gfx/gimmage/files/gimmage-0.2.3-desktop-entry.patch @@ -0,0 +1,16 @@ +diff -ur gimmage-0.2.3.orig/gimmage.desktop.in gimmage-0.2.3/gimmage.desktop.in +--- gimmage-0.2.3.orig/gimmage.desktop.in 2007-06-27 00:22:57.000000000 +0300 ++++ gimmage-0.2.3/gimmage.desktop.in 2010-08-06 20:42:55.000000000 +0300 +@@ -1,8 +1,8 @@ + [Desktop Entry] + Name=gimmage + Exec=@prefix@/bin/gimmage +-Icon=gimmage.png ++Icon=gimmage + Type=Application +-Categories=Application;Graphics; ++Categories=Graphics; + Comment=A simple image viewer. +-MimeType=image/bmp;image/gif;image/jpeg;image/jpg;image/png;image/tiff;image/x-bmp;image/x-pcx;image/x-tga;image/x-portable-pixmap;image/x-portable-bitmap;image/x-targa;image/x-portable-greymap;application/pcx;image/svg+xml;image/svg-xml +\ No newline at end of file ++MimeType=image/bmp;image/gif;image/jpeg;image/jpg;image/png;image/tiff;image/x-bmp;image/x-pcx;image/x-tga;image/x-portable-pixmap;image/x-portable-bitmap;image/x-targa;image/x-portable-greymap;application/pcx;image/svg+xml;image/svg-xml; diff --git a/media-gfx/gimmage/files/gimmage-0.2.3-gcc43.patch b/media-gfx/gimmage/files/gimmage-0.2.3-gcc43.patch new file mode 100644 index 000000000000..7dd6686c1314 --- /dev/null +++ b/media-gfx/gimmage/files/gimmage-0.2.3-gcc43.patch @@ -0,0 +1,11 @@ +--- gimmage-0.2.3/src/FileManager.cpp~ 2007-06-26 15:51:15.000000000 +0200 ++++ gimmage-0.2.3/src/FileManager.cpp 2008-02-16 13:58:34.000000000 +0100 +@@ -21,6 +21,8 @@ + + // we make extensive use of get_current_dir_name() from Glib + ++#include <cstring> ++ + #include "FileManager.h" + #include "defines.h" + diff --git a/media-gfx/gimmage/files/gimmage-0.2.3-gcc47.patch b/media-gfx/gimmage/files/gimmage-0.2.3-gcc47.patch new file mode 100644 index 000000000000..bc39028cf161 --- /dev/null +++ b/media-gfx/gimmage/files/gimmage-0.2.3-gcc47.patch @@ -0,0 +1,19 @@ +https://bugs.gentoo.org/422453 + +error: 'get_current_dir_name' was not declared in this scope + + + src/FileManager.cpp | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +--- a/src/FileManager.cpp ++++ b/src/FileManager.cpp +@@ -30,7 +30,7 @@ Copyright 2006 Bartek Kostrzewa + + extern "C" { + #include <libintl.h> +-// #include <unistd.h> ++#include <unistd.h> + #include <sys/stat.h> + } + diff --git a/media-gfx/gimmage/gimmage-0.2.3.ebuild b/media-gfx/gimmage/gimmage-0.2.3.ebuild new file mode 100644 index 000000000000..308e52822bb3 --- /dev/null +++ b/media-gfx/gimmage/gimmage-0.2.3.ebuild @@ -0,0 +1,43 @@ +# Copyright 1999-2013 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=2 +inherit autotools eutils + +DESCRIPTION="A slim GTK-based image browser" +HOMEPAGE="http://gimmage.berlios.de/" +SRC_URI="mirror://berlios/${PN}/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="amd64 ~ppc x86" +IUSE="debug" + +RDEPEND="dev-cpp/cairomm + >=dev-cpp/gtkmm-2.6.2:2.4 + net-misc/curl + sys-apps/file" +DEPEND="${RDEPEND} + sys-devel/gettext + virtual/pkgconfig" + +src_prepare() { + epatch "${FILESDIR}"/${P}-gcc43.patch \ + "${FILESDIR}"/${P}-as-needed.patch \ + "${FILESDIR}"/${P}-desktop-entry.patch \ + "${FILESDIR}"/${P}-gcc47.patch + eautoreconf +} + +src_configure() { + local myconf + use debug && myconf="--enable-debug" + + econf ${myconf} +} + +src_install() { + emake DESTDIR="${D}" install || die + dodoc AUTHORS ChangeLog NEWS README THANKS TODO +} diff --git a/media-gfx/gimmage/metadata.xml b/media-gfx/gimmage/metadata.xml new file mode 100644 index 000000000000..d44388b7a8e8 --- /dev/null +++ b/media-gfx/gimmage/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> + <longdescription lang="en"> + gimmage: the gtkmm image viewer + </longdescription> +</pkgmetadata> |