summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'media-gfx/ristretto')
-rw-r--r--media-gfx/ristretto/Manifest2
-rw-r--r--media-gfx/ristretto/files/ristretto-0.8.0-fix-appdata-validation.patch25
-rw-r--r--media-gfx/ristretto/files/ristretto-0.8.0-fix-icon-installation.patch20
-rw-r--r--media-gfx/ristretto/metadata.xml8
-rw-r--r--media-gfx/ristretto/ristretto-0.6.3.ebuild37
-rw-r--r--media-gfx/ristretto/ristretto-0.8.0-r1.ebuild42
6 files changed, 134 insertions, 0 deletions
diff --git a/media-gfx/ristretto/Manifest b/media-gfx/ristretto/Manifest
new file mode 100644
index 000000000000..554fd6c8059f
--- /dev/null
+++ b/media-gfx/ristretto/Manifest
@@ -0,0 +1,2 @@
+DIST ristretto-0.6.3.tar.bz2 499323 SHA256 2b6816de298e9a0d9b95662664690713c4123a9ac813a27bdde4727a03472d79 SHA512 996ed14ab749efd2df702a87e559711791bad71226e8b097c630e9c425059805ca52523ef68e8757849837e89a59bbb580459cc45b4e207785aedcfbaf733166 WHIRLPOOL 402b1f1747dc47b39bc08772e8169130aea2e1826fb0fe01b5a40bc669d1d3d37bdf7f1a21ef19108f70382c9843cdc66d99ce21b5def3eadb83dd3dd8f356c3
+DIST ristretto-0.8.0.tar.bz2 541473 SHA256 71625324cecda7199acbc95a3ea5132d0dcbf808771e7a209ea2b9503ae4f328 SHA512 067d3e7b5ec4fe3537cc796b94e8b999fc99efdb58c52a2a71160405626a3784caa877724e756b363012dce4719ee534f4ce0c92f2f6f2adaf937da8d5abab99 WHIRLPOOL 85b7dbbf7009b5a100f8fa5302f683df2832d448c5580e94ae8e48cd74ec600b9964b101f774cb9610f63786ffe7f11a779a5a4c333ba4778c058ac2f70d35c9
diff --git a/media-gfx/ristretto/files/ristretto-0.8.0-fix-appdata-validation.patch b/media-gfx/ristretto/files/ristretto-0.8.0-fix-appdata-validation.patch
new file mode 100644
index 000000000000..e1266ab547b9
--- /dev/null
+++ b/media-gfx/ristretto/files/ristretto-0.8.0-fix-appdata-validation.patch
@@ -0,0 +1,25 @@
+From 3ae341ba0bbf5c0fefcdb02a3674061a6b73f7db Mon Sep 17 00:00:00 2001
+From: Kevin Fenzi <kevin@scrye.com>
+Date: Mon, 2 Mar 2015 15:41:11 +0300
+Subject: appdata fails validation (Bug #11622)
+
+appstream-util fails with "cannot contain a hyperlink".
+
+Signed-off-by: Eric Koegel <eric.koegel@gmail.com>
+
+diff --git a/ristretto.appdata.xml.in b/ristretto.appdata.xml.in
+index 0ff8b22..ea7a96f 100644
+--- a/ristretto.appdata.xml.in
++++ b/ristretto.appdata.xml.in
+@@ -66,7 +66,7 @@
+ <release version="0.6.0" timestamp="1335662454">
+ <description>
+ <_p>This version comes with several changes such as online documentation on
+- http://docs.xfce.org, the option to limit the maximum image-quality to
++ docs.xfce.org, the option to limit the maximum image-quality to
+ the screen dimensions to improve memory-usage and performance - now ristretto
+ renders at full quality with this option disabled, only one toolbar - instead
+ of two, a quick-launch button on the toolbar to execute an editor, the option
+--
+cgit v0.10.1
+
diff --git a/media-gfx/ristretto/files/ristretto-0.8.0-fix-icon-installation.patch b/media-gfx/ristretto/files/ristretto-0.8.0-fix-icon-installation.patch
new file mode 100644
index 000000000000..79eed6b47b7d
--- /dev/null
+++ b/media-gfx/ristretto/files/ristretto-0.8.0-fix-icon-installation.patch
@@ -0,0 +1,20 @@
+This should normally patch Makefile.am and use autotools.eclass to re-run
+autoreconf. However, this does not work out of the box and pulling out the big
+artillery to fix a simple typo which will be gone in the next release wasn't
+worth the trouble.
+
+See https://bugs.gentoo.org/542604.
+
+Denis Dupeyron <calchan@gentoo.org>
+
+--- icons/128x128/Makefile.in.orig 2015-04-20 21:16:04.376497095 -0600
++++ icons/128x128/Makefile.in 2015-04-20 21:16:23.423138219 -0600
+@@ -337,7 +337,7 @@
+ top_build_prefix = @top_build_prefix@
+ top_builddir = @top_builddir@
+ top_srcdir = @top_srcdir@
+-iconsdir = $(datadir)/icons/hicolor/48x48/apps
++iconsdir = $(datadir)/icons/hicolor/128x128/apps
+ icons_DATA = ristretto.png
+ EXTRA_DIST = $(icons_DATA)
+ all: all-am
diff --git a/media-gfx/ristretto/metadata.xml b/media-gfx/ristretto/metadata.xml
new file mode 100644
index 000000000000..008cf479f615
--- /dev/null
+++ b/media-gfx/ristretto/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer>
+ <email>xfce@gentoo.org</email>
+ <name>XFCE Team</name>
+ </maintainer>
+</pkgmetadata>
diff --git a/media-gfx/ristretto/ristretto-0.6.3.ebuild b/media-gfx/ristretto/ristretto-0.6.3.ebuild
new file mode 100644
index 000000000000..494b8c01a90a
--- /dev/null
+++ b/media-gfx/ristretto/ristretto-0.6.3.ebuild
@@ -0,0 +1,37 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+inherit xfconf
+
+DESCRIPTION="A fast and lightweight picture viewer for the Xfce desktop environment"
+HOMEPAGE="http://goodies.xfce.org/projects/applications/ristretto"
+SRC_URI="mirror://xfce/src/apps/${PN}/${PV%.*}/${P}.tar.bz2"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~alpha amd64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc x86"
+IUSE="debug"
+
+RDEPEND=">=dev-libs/dbus-glib-0.98
+ >=dev-libs/glib-2.24
+ media-libs/libexif
+ x11-libs/cairo
+ >=x11-libs/gtk+-2.20:2
+ x11-libs/libX11
+ >=xfce-base/libxfce4ui-4.10
+ >=xfce-base/libxfce4util-4.10
+ >=xfce-base/xfconf-4.10"
+DEPEND="${RDEPEND}
+ dev-util/intltool
+ virtual/pkgconfig
+ sys-devel/gettext"
+
+pkg_setup() {
+ XFCONF=(
+ $(xfconf_use_debug)
+ )
+
+ DOCS=( AUTHORS ChangeLog NEWS TODO )
+}
diff --git a/media-gfx/ristretto/ristretto-0.8.0-r1.ebuild b/media-gfx/ristretto/ristretto-0.8.0-r1.ebuild
new file mode 100644
index 000000000000..0c3e1aca9bc7
--- /dev/null
+++ b/media-gfx/ristretto/ristretto-0.8.0-r1.ebuild
@@ -0,0 +1,42 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+inherit xfconf
+
+DESCRIPTION="A fast and lightweight picture viewer for the Xfce desktop environment"
+HOMEPAGE="http://goodies.xfce.org/projects/applications/ristretto"
+SRC_URI="mirror://xfce/src/apps/${PN}/${PV%.*}/${P}.tar.bz2"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~alpha amd64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc x86"
+IUSE="debug"
+
+RDEPEND=">=dev-libs/dbus-glib-0.98:0=
+ >=dev-libs/glib-2.24:2=
+ media-libs/libexif:0=
+ x11-libs/cairo:0=
+ >=x11-libs/gtk+-2.20:2=
+ x11-libs/libX11:0=
+ >=xfce-base/libxfce4ui-4.10:0=
+ >=xfce-base/libxfce4util-4.10:0=
+ >=xfce-base/xfconf-4.10:0="
+DEPEND="${RDEPEND}
+ dev-util/intltool
+ virtual/pkgconfig
+ sys-devel/gettext"
+
+pkg_setup() {
+ PATCHES=(
+ "${FILESDIR}"/${P}-fix-appdata-validation.patch
+ "${FILESDIR}"/${P}-fix-icon-installation.patch
+ )
+
+ XFCONF=(
+ $(xfconf_use_debug)
+ )
+
+ DOCS=( AUTHORS ChangeLog NEWS TODO )
+}