summaryrefslogtreecommitdiff
path: root/media-gfx/ristretto
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/ristretto
reinit the tree, so we can have metadata
Diffstat (limited to 'media-gfx/ristretto')
-rw-r--r--media-gfx/ristretto/Manifest11
-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.8.0-r1.ebuild41
-rw-r--r--media-gfx/ristretto/ristretto-0.8.2.ebuild36
-rw-r--r--media-gfx/ristretto/ristretto-0.8.2_p20170821.ebuild42
7 files changed, 183 insertions, 0 deletions
diff --git a/media-gfx/ristretto/Manifest b/media-gfx/ristretto/Manifest
new file mode 100644
index 000000000000..23826ed3d657
--- /dev/null
+++ b/media-gfx/ristretto/Manifest
@@ -0,0 +1,11 @@
+AUX ristretto-0.8.0-fix-appdata-validation.patch 1084 SHA256 89ae1eee31329352eaf6427e6c4699023c584e1683caef37ee03736937da5738 SHA512 dcd2ee1a6b21c7973b0de30632029628eadc604f4d606f16d72eb344b2f321caeed527c9964ddd4972d5db529bf48bc234ef67759953943b2df21ddaaed94fa4 WHIRLPOOL 29e59618ed720991ec4722ab146b1160eb590a91a80420c86102e61a3e443e4a42d7433026f7cfb295051871618c90745ead43defda26080985dd9fbc3a5bcb8
+AUX ristretto-0.8.0-fix-icon-installation.patch 745 SHA256 e5f581a2087dafa22bf6114c6a656cc5ac2bff7c761f5f04af4a94267eaa72d1 SHA512 878c6e377ab261b7034d659be768c816ad61be960a792d506dde404d0a7c04436d8ca60bec35a4562ead219cc329b53e301afda1536ce456270cb5469472a079 WHIRLPOOL 64d21daa1af162e34c3f43340a939ca4ac32234d565cb6603c48315f9e5a122d0683dfca2674fac100a323d3fc46050d01305bf422fbeaeced506436504d3b0a
+DIST ristretto-0.8.0.tar.bz2 541473 SHA256 71625324cecda7199acbc95a3ea5132d0dcbf808771e7a209ea2b9503ae4f328 SHA512 067d3e7b5ec4fe3537cc796b94e8b999fc99efdb58c52a2a71160405626a3784caa877724e756b363012dce4719ee534f4ce0c92f2f6f2adaf937da8d5abab99 WHIRLPOOL 85b7dbbf7009b5a100f8fa5302f683df2832d448c5580e94ae8e48cd74ec600b9964b101f774cb9610f63786ffe7f11a779a5a4c333ba4778c058ac2f70d35c9
+DIST ristretto-0.8.2.tar.bz2 559444 SHA256 f8f3b77ca6fc77ddf8cff1bb52e5c5802c462663f72f324393b3a0360f6901b8 SHA512 bceef420ebb6e5ab89f339cb4d173bbdd3abc09df5f7dd4551e5c8484e226af6a4ef7b131888926027bae901fd05278cf29de296588723142bd6d0bd8afc312e WHIRLPOOL 85da22ada74afe3fff268d316823979c1992d8e705a97a9d92bb6bcf7fea9b25d69ba59cf399a45d775561ec28758b7ee5012ab238e76d4e169eac1eb32fada9
+DIST ristretto-0.8.2git-rd21ed3c.tar.bz2 584418 SHA256 9de0e922372c63c7ba3b108cd2d777feab3c1b551b8e646b42dbbd73ca84ceca SHA512 17fe6b5c24d4f4f3b6d28e1c435afbb0140e81a77f2b1c628ab7e05ed380a55a902368dabbb8e92647f08bb8853df8099b8de779d94dc91d3426cc7e33cbcbe3 WHIRLPOOL 93c3e5d23ec35f91253f40f84b862e81f54aebb4821b00bea50e8bc51e70b79c8b0151c2cfc3cd650cbfbbd04d730822314fa8a40da327aeadc31aae7e27a823
+EBUILD ristretto-0.8.0-r1.ebuild 959 SHA256 91d350f7c31adf3517f16d4863a51d07b2cb1496045396577586aa4d9ca7fe3a SHA512 6a0829f14ac72ce3e7860412e09ea9148d39d00fd21d9cd52f2dac30c4bdc0cf10ebe8f471f519886f7d85530eced1d518cbe9eca090eb741e7b0a555f9edd38 WHIRLPOOL 81ebc6c467d56c923e469d1ee7348ffe54a5ad87b3ab0f0de4ebe9eacfc8043f940fd4a739a02846230345504d23bce2d492e6d6fdf4ebe42bcfc9e5cb92e2bf
+EBUILD ristretto-0.8.2.ebuild 853 SHA256 252c9149c6130df6fc75d398d473e12bb0df4319b3d17f45bdff503e5f643254 SHA512 ab24be0f6c395ba7c3fae4fa1a17ca3dfb785814f05fb1ae788a2b76331647138c0c99db760656d89acb44b945f260ad061d26c79527023b09f21a95489c0ecd WHIRLPOOL 707cea32d2c193cb06e817f1c92a3c1c310d761d77fe9a6fde49c6371a34ccddc092e16ac8faf36468c12522c3a137c4c3f15008bedb811fce58cb4827ba11a7
+EBUILD ristretto-0.8.2_p20170821.ebuild 946 SHA256 df5c8739a1a9f71282b9cff23a48ad5558d3dc700a906023811d5c71752d740b SHA512 cc8e1d72806a99cb07b21f8070eb730025fd788aa3a893a98c78b185f5c0a38a85d95aab5903838591d794b71a75f17de97d7cc079fa224ee0f4f8930696387e WHIRLPOOL 83159be6d33b903fe2d4156a45f647602363a6573034caf185e66aa08588a8a1ff3b71f8d88a1328b4d4749abe7d0d9c84d65eade6396999bec2f5ae0c91140c
+MISC ChangeLog 2566 SHA256 59a4947645e1eb4a6bead48682fda1948693fd65a877ab2f29218330991999a4 SHA512 41cd2259d696d819bca71e75634291f7916b301c1c71f6e3e56935f360c119d753645fc021676a7dfe6a89b3027fd7630c49c74461ec0255cbfa29f0e3ce17cc WHIRLPOOL 661431f7d88e1b7bfb09b8f685144c4c62dc6858a7337887a8f7faf3cba2b4c43ecfc77a7b1127a0544d2cbd0601689fcc20f66aa1e62f33bebaa3e374e09fb2
+MISC ChangeLog-2015 14512 SHA256 97035baff604b2e069e3630539dc17af1cf1b40b662a91bbe8e0dc1aecbd3cd8 SHA512 8cea86a2971132055902d35716b51fd446cf3b2d45391605ec6c7ad60932cb27fac896a2aecb2eb5be432844998fe4bece6f88873e0776c40dfe206c7c5d76e5 WHIRLPOOL 1035759f113ea67251c8cade21da1453d69aa06a61d544bb667f87ade6d8ddd7bf32411ef38ed077dc4817f8fc34f16a30717e1ed52617a7ad0e89671b513d73
+MISC metadata.xml 247 SHA256 5e270543b0f1e81148a19b29d77d40191169f37a8b3e34c7c08bdca376150864 SHA512 25494c0053fb7b2ed0f78ecc2de8a8ae08a971db8e15f89e906a1d43177fef53eb9ec5dd075a5c67ddee2be112c0943f6c87e4870d405436bddfea3a4fa19203 WHIRLPOOL 15305f8aec1b5f5e255d6378d5b44652a3958e808017fd8ba00350b667528753ff0466bcf5b9b28b683fd3341d25bf8884396730003f071515ad28146d33893b
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..359901b31db4
--- /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 type="project">
+ <email>xfce@gentoo.org</email>
+ <name>XFCE Team</name>
+ </maintainer>
+</pkgmetadata>
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..8974558e41db
--- /dev/null
+++ b/media-gfx/ristretto/ristretto-0.8.0-r1.ebuild
@@ -0,0 +1,41 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+inherit xfconf
+
+DESCRIPTION="A fast and lightweight picture viewer for the Xfce desktop environment"
+HOMEPAGE="https://docs.xfce.org/apps/ristretto/start"
+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 )
+}
diff --git a/media-gfx/ristretto/ristretto-0.8.2.ebuild b/media-gfx/ristretto/ristretto-0.8.2.ebuild
new file mode 100644
index 000000000000..7c1f99c4c960
--- /dev/null
+++ b/media-gfx/ristretto/ristretto-0.8.2.ebuild
@@ -0,0 +1,36 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+inherit xfconf
+
+DESCRIPTION="A fast and lightweight picture viewer for the Xfce desktop environment"
+HOMEPAGE="https://docs.xfce.org/apps/ristretto/start"
+SRC_URI="mirror://xfce/src/apps/${PN}/${PV%.*}/${P}.tar.bz2"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm64 ~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() {
+ XFCONF=(
+ $(xfconf_use_debug)
+ )
+
+ DOCS=( AUTHORS ChangeLog NEWS TODO )
+}
diff --git a/media-gfx/ristretto/ristretto-0.8.2_p20170821.ebuild b/media-gfx/ristretto/ristretto-0.8.2_p20170821.ebuild
new file mode 100644
index 000000000000..bce668dc9152
--- /dev/null
+++ b/media-gfx/ristretto/ristretto-0.8.2_p20170821.ebuild
@@ -0,0 +1,42 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit gnome2-utils xdg-utils
+
+MY_P=${P%_p*}git-rd21ed3c
+DESCRIPTION="A fast and lightweight picture viewer for Xfce"
+HOMEPAGE="https://docs.xfce.org/apps/ristretto/start"
+SRC_URI="https://dev.gentoo.org/~mgorny/dist/${MY_P}.tar.bz2"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86"
+IUSE=""
+
+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"
+
+S=${WORKDIR}/${MY_P}
+
+pkg_postinst() {
+ xdg_desktop_database_update
+ gnome2_icon_cache_update
+}
+
+pkg_postrm() {
+ xdg_desktop_database_update
+ gnome2_icon_cache_update
+}