summaryrefslogtreecommitdiff
path: root/xfce-extra/xfce-theme-manager
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 /xfce-extra/xfce-theme-manager
reinit the tree, so we can have metadata
Diffstat (limited to 'xfce-extra/xfce-theme-manager')
-rw-r--r--xfce-extra/xfce-theme-manager/Manifest6
-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/metadata.xml8
-rw-r--r--xfce-extra/xfce-theme-manager/xfce-theme-manager-0.3.6.ebuild57
4 files changed, 84 insertions, 0 deletions
diff --git a/xfce-extra/xfce-theme-manager/Manifest b/xfce-extra/xfce-theme-manager/Manifest
new file mode 100644
index 000000000000..5eb76841ab3a
--- /dev/null
+++ b/xfce-extra/xfce-theme-manager/Manifest
@@ -0,0 +1,6 @@
+AUX xfce-theme-manager-0.3.6-format-security.patch 643 SHA256 fe94a93051db55499224d99d3ee760289bad6905bdd44a3fd11a69d3010b99c6 SHA512 c09365302243c594846faffa1626c9739557ec4cbc4c300ff58c7ce30fbfc3dd38d87253bafa2f6147fe4b1b74d1ed20345db28522d2197d0055ae5389c4c2d8 WHIRLPOOL 4409c5102fc24ed6285eaa091a478b866ce5fed137e7b3308cf83c762eb7e281a90db69ce31504cd9a1d9e7afafe53f9fc4f5816864ce73cc2cfa099cf57617c
+DIST Xfce-Theme-Manager-0.3.6.tar.gz 339444 SHA256 fb9782c30bde3db988f98895ab5600d4d55b03dcc0fe4f2fd16216d4c95dfb11 SHA512 4590f454675d9303ad9de3a3d7dc99e40c923bf7fe66195731ba7b4d42bbfba56e005e9d6c5629b4fa536fb05f221e10ade5098a171d179b9224cc4bb7fd28ca WHIRLPOOL 45bbca1069ceb9d628e712bf690921b77d71d40db8e8e46161c882ffe46aebf4f1dd3fbb6956542e1b8f0894cac367c4e18831af2d4f86b5e874bf5de08fca47
+EBUILD xfce-theme-manager-0.3.6.ebuild 1351 SHA256 85d83c73bfa741f99436058ac03004d326c1f8de9566618bdd8d5984e791fdcd SHA512 d623c680f6a9b2434e602b4ec3e443908d8fc445adf017b6a1be332adf5eb5dd9de07c3d276718b822eaadb1b4c8e7379a7a139db01a929429118d55155375f9 WHIRLPOOL 24ed237b982c2d345900fbb571ca4b41bfdbc328ca138661c424a269dcdf4be3985ac0488033089aa7ec04164f15dc5dd3a8bd5c646f18d381a7fab0539d591e
+MISC ChangeLog 2457 SHA256 2d333f468491d9d752fca23b55d9842ff5bbb60840e248d853c3adbaec6e690e SHA512 0ac39b5c7a8c6fee05c942fed0d7b28a2ac0481be74e096e2fe4405a2c3c8d280b1fb4a786c905b44c5876cae61981f3e0ee01f2cdcd978937eea0e38d6b7380 WHIRLPOOL 7ff2923c80c4dce25ca5738a02fba9ae2adafc344b746bee789f3da103eb497163f1ca8a43066b8450bb598a67aff9a0da0005f0c65c7faf025dc60070e748df
+MISC ChangeLog-2015 936 SHA256 0d37d29ece41351d5e3c2d22078b32b116f6920b35a497281c43faeef24110fd SHA512 f77f02ab97b6ebbad32c6703b066c54b3c4fda60446a900aaf82cb69216f1b3c698766c25d4654614cab7ba0bb9158ad8788ba4bb9d04a8a2fb682bda7440f30 WHIRLPOOL da1c24d4cbd5f0ed0e2e1b3b6c766ff93d5724b21a57db6f9f63661ea150fa00561962129c4b2f15a7c9121394475a30b75d64bdf1a58c7958f0789b17b8ae37
+MISC metadata.xml 247 SHA256 5e270543b0f1e81148a19b29d77d40191169f37a8b3e34c7c08bdca376150864 SHA512 25494c0053fb7b2ed0f78ecc2de8a8ae08a971db8e15f89e906a1d43177fef53eb9ec5dd075a5c67ddee2be112c0943f6c87e4870d405436bddfea3a4fa19203 WHIRLPOOL 15305f8aec1b5f5e255d6378d5b44652a3958e808017fd8ba00350b667528753ff0466bcf5b9b28b683fd3341d25bf8884396730003f071515ad28146d33893b
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/metadata.xml b/xfce-extra/xfce-theme-manager/metadata.xml
new file mode 100644
index 000000000000..359901b31db4
--- /dev/null
+++ b/xfce-extra/xfce-theme-manager/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/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..b2e69fb07bea
--- /dev/null
+++ b/xfce-extra/xfce-theme-manager/xfce-theme-manager-0.3.6.ebuild
@@ -0,0 +1,57 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+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
+}