summaryrefslogtreecommitdiff
path: root/media-gfx/gimmage
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
committerV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
commit4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch)
treeba5f07bf3f9d22d82e54a462313f5d244036c768 /media-gfx/gimmage
reinit the tree, so we can have metadata
Diffstat (limited to 'media-gfx/gimmage')
-rw-r--r--media-gfx/gimmage/Manifest9
-rw-r--r--media-gfx/gimmage/files/gimmage-0.2.3-as-needed.patch11
-rw-r--r--media-gfx/gimmage/files/gimmage-0.2.3-desktop-entry.patch16
-rw-r--r--media-gfx/gimmage/files/gimmage-0.2.3-gcc43.patch11
-rw-r--r--media-gfx/gimmage/files/gimmage-0.2.3-gcc47.patch19
-rw-r--r--media-gfx/gimmage/gimmage-0.2.3-r1.ebuild40
-rw-r--r--media-gfx/gimmage/metadata.xml14
7 files changed, 120 insertions, 0 deletions
diff --git a/media-gfx/gimmage/Manifest b/media-gfx/gimmage/Manifest
new file mode 100644
index 000000000000..36e8d68289a5
--- /dev/null
+++ b/media-gfx/gimmage/Manifest
@@ -0,0 +1,9 @@
+AUX gimmage-0.2.3-as-needed.patch 454 SHA256 fe3cfc536cdf8feacad22642f2a12f8389123f50a110a4c5ea06a1da57bdc681 SHA512 5f1a6b464ce58d98e500dad063b7fc88e12ae522b4ece3239ebfcc5205fd415422f3a9e4ca422a417aa67afb629d2eb303e069e7ea3f2206cb091219a3c75896 WHIRLPOOL d1d0ec0e2c6d392029674dd9cc851568e88513d0a1d7f4520e5603bddd747f19a255e8462a15408caa272ac17019ce23dae16a8c74b70c476e7a611face6c9db
+AUX gimmage-0.2.3-desktop-entry.patch 950 SHA256 05df00da5d4e17fbced4b100493047a502ba088b1370a5c3fa5232ddd7e226ad SHA512 3ae966b8008992fe0d3ec4daf46a5760e785d20dce4c382a3368c96079a4bd929773996c6f4056ec3834e5dbc7a6c83fccdaee8e1b04e003b0cae38d8c05a19e WHIRLPOOL e9de5e17aeaf7af2418b71a0810366054b64dfe6f8a4acbc29eba949d90ad64b22d632d4f2bdd49bf0940c3750639a122393a87916e2a3d80cdad8a8a242c7bc
+AUX gimmage-0.2.3-gcc43.patch 304 SHA256 65f9f65c8cdf8d25ac397e752722e2c537c95c025f742c8f9810d867cb7a3e3c SHA512 bd8b62588904ea4000b5b2fc846a29eae3fe48dbf22e91564e2015f263f5b47df580785fdc64d1632a6281a798c6a4d11468a3fd30eab3a6d7a7b30bdd31c3f0 WHIRLPOOL d16a184c1b426110009121cdef2b61e5c6a71475abe9c0dd58f952663531f0d3d4cf623a79579df6c53cff6c58ab57c79cb3761cc9e13f122f48c67ddf182b1e
+AUX gimmage-0.2.3-gcc47.patch 384 SHA256 fa7b885535f8ac994705a71289f096162461fc8d520dedb4d6661939c483aaed SHA512 b7fae449c2d5ebdfae415df0ad9615fa4832998170dfcfd87110e45a6041b91216d8b3e91ab056929183fd0ff6cf9e9ab154c387299b3fe1d41f6e7952062459 WHIRLPOOL 57bd3cd3afccf40c9a3957b01ced04359674124a15bada5b120ccbd4a5a9714af2c0ba6de1738603f506387fe12e66775e2dcdef841ae2f07704da129da61fd8
+DIST gimmage-0.2.3.tar.gz 193777 SHA256 3d5ce3c3fd22efc9fd930e97e33e2c13a755e0a9cf099d12d5f7ecf92cab907b SHA512 ff8fdf860d4712502e6e8656a14e5327a5b89af49f312e54de5f0e80cd6e406214a61228c79ad643c2640268d5eacfd760c83acbebdc7fa9b6e7c094728be167 WHIRLPOOL 7d1a9485da568baec8c430dc5a9fc12eb7dd8943fa17e5fbdc00ea4334548f1f42cad1690c6f171ecb682853a86d79e0e8324e49472c5ccbd8831a800d863792
+EBUILD gimmage-0.2.3-r1.ebuild 845 SHA256 9f2e2b957d2e8b22b9079a7acd089dbfd35d172c9eccc96676a419828d671a99 SHA512 1418bc3cef0cb772e3514a7bad1041e7ee768d62b39e7b7ea4966d5cb4848ce50bf921b932d8d1509575cb4c0272631c499a65c684f54e392531732b5d3c9793 WHIRLPOOL c66e9abe234a98de899e3843838c914db367d1a2c15aad83722d19d48f8dbc9b94d0d46cec0222a3ea7f0f3d6e628f968ceda9287df7041d46d0d2779dc9b658
+MISC ChangeLog 3865 SHA256 393810f2bb505b93f3e34680c5b73d6c2fdbf5243de982bd5b9cf0350a54b39d SHA512 5107d118b6e69ff4489b44cc7eac8756bd4aba6e6cefa76814c707e727bbf8891d2b2e47dce61d8be6f67acdedb5daaaec74164fd36c7e0dd1f3eeb3e7aed2c7 WHIRLPOOL 9f52ef8832746c7819a72486bd0ef2367005f621a7ac2f6987b66a63d123a1a5f0510912067f3ea0d15404734962ba237b42c0747f9ddf73d3f6b19d56f64118
+MISC ChangeLog-2015 2485 SHA256 eebed760566fe7d497656cd5b296b8670cfc6c827de674ec559e42d096cade07 SHA512 1628b4a8f33d38332af9b8bbb757912ecc8e4cb2ddfe6e946a77e6d413ab2d87b0904714214a39aec12c2cbb2905a58ace7337f41d65de25f073fae4430684ac WHIRLPOOL 1f7a57c0178d7f7c08d6dae6fcb7eb23c3ccf866f27710a170e4b492400b5afc7601175b8a6674f0ef5331a1c37e9f70ae93de9f8537e67f876ee513d9000349
+MISC metadata.xml 427 SHA256 3cf14204130ca5e53b7f9ebcaa7bde8ec5e54034da514d1b87798e24cf085eca SHA512 a77c638e65d2026b56ce1868dea6d2045c331cb0bad022978a954ade85a5e5131c67d538f5c9e0e67292c22de117e0272e0b04f49f3fdfe76c7b19fc66c73265 WHIRLPOOL 34c298833a08a5326d7a4476adfd7edd1d7dfcc554f9af11add7f1020b261af13e99626b70128a4378e61d15efdde70df5ecf8eb6067c88359e117e108d7153a
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-r1.ebuild b/media-gfx/gimmage/gimmage-0.2.3-r1.ebuild
new file mode 100644
index 000000000000..9cad305b05b6
--- /dev/null
+++ b/media-gfx/gimmage/gimmage-0.2.3-r1.ebuild
@@ -0,0 +1,40 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+inherit autotools eutils flag-o-matic
+
+DESCRIPTION="A slim GTK-based image browser"
+HOMEPAGE="https://sourceforge.net/projects/gimmage.berlios/"
+SRC_URI="mirror://sourceforge/project/${PN}.berlios/${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"
+
+ append-cxxflags -std=c++11
+ econf ${myconf}
+}
diff --git a/media-gfx/gimmage/metadata.xml b/media-gfx/gimmage/metadata.xml
new file mode 100644
index 000000000000..64b2e5e3a9e1
--- /dev/null
+++ b/media-gfx/gimmage/metadata.xml
@@ -0,0 +1,14 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="project">
+ <email>graphics@gentoo.org</email>
+ <name>Gentoo Graphics Project</name>
+ </maintainer>
+ <longdescription lang="en">
+ gimmage: the gtkmm image viewer
+ </longdescription>
+ <upstream>
+ <remote-id type="sourceforge">gimmage.berlios</remote-id>
+ </upstream>
+</pkgmetadata>