summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristoph Mende <angelos@gentoo.org>2015-10-16 16:15:30 +0200
committerChristoph Mende <angelos@gentoo.org>2015-10-16 16:15:30 +0200
commite11aa4e2f19b541ae84afe293daf0ef3d6acb3bb (patch)
treeddd4776df04904baae6e54f9c290ae4d5217b00e /xfce-extra
parentprofiles: mask net-misc/iputils-20150815-r1 (diff)
downloadgentoo-e11aa4e2f19b541ae84afe293daf0ef3d6acb3bb.tar.gz
gentoo-e11aa4e2f19b541ae84afe293daf0ef3d6acb3bb.tar.bz2
gentoo-e11aa4e2f19b541ae84afe293daf0ef3d6acb3bb.zip
xfce-extra/xfce-theme-manager: version bump to 0.3.6
Package-Manager: portage-2.2.23
Diffstat (limited to 'xfce-extra')
-rw-r--r--xfce-extra/xfce-theme-manager/Manifest1
-rw-r--r--xfce-extra/xfce-theme-manager/files/xfce-theme-manager-0.3.6-format-security.patch13
-rw-r--r--xfce-extra/xfce-theme-manager/xfce-theme-manager-0.3.6.ebuild58
3 files changed, 72 insertions, 0 deletions
diff --git a/xfce-extra/xfce-theme-manager/Manifest b/xfce-extra/xfce-theme-manager/Manifest
index 812cf6a00a1b..796b6fcb4279 100644
--- a/xfce-extra/xfce-theme-manager/Manifest
+++ b/xfce-extra/xfce-theme-manager/Manifest
@@ -1 +1,2 @@
DIST Xfce-Theme-Manager-0.3.5.tar.gz 209269 SHA256 948ce9f26d3cece7eb839499a83e696efbd2376ba6c03628a5d548e9e4415b8b SHA512 41029dc93c464c8b0d47dc36fdf8417811e59aae5cd41dd55fcf4a47199ba114bc17d74f6d4a2c7a6f999cf2afc6c6f1c0d53a0c6f4166537e8c9090acfc1a80 WHIRLPOOL 85bdd10f4a4e6753c1c81821f6c81a0bc0e371cd567f8f5d74c79ada9cd56d2b0998641b0a49d4304fb8342e088c7764fe8c6cdb14829e24a1a844c4e9248cd6
+DIST Xfce-Theme-Manager-0.3.6.tar.gz 339444 SHA256 fb9782c30bde3db988f98895ab5600d4d55b03dcc0fe4f2fd16216d4c95dfb11 SHA512 4590f454675d9303ad9de3a3d7dc99e40c923bf7fe66195731ba7b4d42bbfba56e005e9d6c5629b4fa536fb05f221e10ade5098a171d179b9224cc4bb7fd28ca WHIRLPOOL 45bbca1069ceb9d628e712bf690921b77d71d40db8e8e46161c882ffe46aebf4f1dd3fbb6956542e1b8f0894cac367c4e18831af2d4f86b5e874bf5de08fca47
diff --git a/xfce-extra/xfce-theme-manager/files/xfce-theme-manager-0.3.6-format-security.patch b/xfce-extra/xfce-theme-manager/files/xfce-theme-manager-0.3.6-format-security.patch
new file mode 100644
index 000000000000..1c40baf7caed
--- /dev/null
+++ b/xfce-extra/xfce-theme-manager/files/xfce-theme-manager-0.3.6-format-security.patch
@@ -0,0 +1,13 @@
+diff --git a/Xfce-Theme-Manager/src/database.cpp b/Xfce-Theme-Manager/src/database.cpp
+index f333dee..3de189b 100644
+--- a/Xfce-Theme-Manager/src/database.cpp
++++ b/Xfce-Theme-Manager/src/database.cpp
+@@ -516,7 +516,7 @@ gpointer rebuildDB(gpointer data)
+ if(g_key_file_load_from_file(keyfile,indexfile,G_KEY_FILE_NONE,NULL))
+ displayname=g_key_file_get_string(keyfile,"Icon Theme","Name",NULL);
+ else
+- asprintf(&displayname,entry);
++ asprintf(&displayname,"%s",entry);
+
+ asprintf(&thumbfile,"%s/%s.png",cursorsFolder,entry);
+ makecursor((char*)entry,thumbfile);
diff --git a/xfce-extra/xfce-theme-manager/xfce-theme-manager-0.3.6.ebuild b/xfce-extra/xfce-theme-manager/xfce-theme-manager-0.3.6.ebuild
new file mode 100644
index 000000000000..204c39371c85
--- /dev/null
+++ b/xfce-extra/xfce-theme-manager/xfce-theme-manager-0.3.6.ebuild
@@ -0,0 +1,58 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+inherit xfconf
+
+MY_PN=Xfce-Theme-Manager
+MY_P=${MY_PN}-${PV}
+
+DESCRIPTION="An alternative theme manager for The Xfce Desktop Environment"
+HOMEPAGE="http://keithhedger.hostingsiteforfree.com/pages/apps.html#themeed"
+SRC_URI="http://keithhedger.hostingsiteforfree.com/zips/xfcethememanager/${MY_P}.tar.gz"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+RDEPEND=">=dev-libs/glib-2.30
+ >=x11-libs/gtk+-2.24:2
+ x11-libs/libXcursor
+ >=xfce-base/libxfce4ui-4.10
+ >=xfce-base/xfconf-4.10
+ >=xfce-base/xfdesktop-4.10"
+DEPEND="${RDEPEND}
+ virtual/pkgconfig"
+
+S=${WORKDIR}/${MY_P}
+
+pkg_setup() {
+ DOCS=( ChangeLog )
+ PATCHES=( "${FILESDIR}"/${P}-format-security.patch )
+}
+
+src_prepare() {
+ sed -i \
+ -e '/^Cat/s:;;Settings::' \
+ -e '/^Cat/s:Gnome:GNOME:' \
+ ${MY_PN}/resources/pixmaps/${MY_PN}.desktop || die
+
+ local configext desktopversion=10
+ has_version '>=xfce-base/xfdesktop-4.11' && desktopversion=11
+ [[ -x configure ]] || configext=.ac
+
+ sed -i \
+ -e '/^CFLAGS/s:=-Wall:"& $CFLAGS":' \
+ -e '/^CXXFLAGS/s:=-Wall:"& $CXXFLAGS":' \
+ -e "/^desktopversion/s:=.*:=$desktopversion:" \
+ configure${configext} || die
+
+ xfconf_src_prepare
+}
+
+src_install() {
+ xfconf_src_install
+ rm -f "${ED}"/usr/share/${MY_PN}/docs/gpl-3.0.txt
+}