diff options
author | ben <benjaminfranzke@gmail.com> | 2010-02-14 19:41:13 +0100 |
---|---|---|
committer | ben <benjaminfranzke@gmail.com> | 2010-02-14 19:41:13 +0100 |
commit | 221525a970469edcae722f06cbaeb842d0ca8099 (patch) | |
tree | 570b94b47cf0c1ba148355161be4977be6f0076e /x11-themes | |
download | benf-221525a970469edcae722f06cbaeb842d0ca8099.tar.gz benf-221525a970469edcae722f06cbaeb842d0ca8099.tar.bz2 benf-221525a970469edcae722f06cbaeb842d0ca8099.zip |
import of existing local overlay
Diffstat (limited to 'x11-themes')
-rw-r--r-- | x11-themes/chokolate/Manifest | 2 | ||||
-rw-r--r-- | x11-themes/chokolate/chokolate-1.0.ebuild | 31 | ||||
-rw-r--r-- | x11-themes/gtk-theme-switch/Manifest | 5 | ||||
-rw-r--r-- | x11-themes/gtk-theme-switch/files/gtk-theme-switch-2.0.0_rc2-double-slash.patch | 40 | ||||
-rw-r--r-- | x11-themes/gtk-theme-switch/files/gtk-theme-switch-2.0.0_rc2-gtk+-2.4_fix.patch | 11 | ||||
-rw-r--r-- | x11-themes/gtk-theme-switch/gtk-theme-switch-2.0.0_rc2-r3.ebuild | 43 | ||||
-rw-r--r-- | x11-themes/openbox-themes/Manifest | 2 | ||||
-rw-r--r-- | x11-themes/openbox-themes/openbox-themes-1.0.2.ebuild | 21 | ||||
-rw-r--r-- | x11-themes/qgtkstyle/Manifest | 1 | ||||
-rw-r--r-- | x11-themes/qgtkstyle/qgtkstyle-9999.ebuild | 34 |
10 files changed, 190 insertions, 0 deletions
diff --git a/x11-themes/chokolate/Manifest b/x11-themes/chokolate/Manifest new file mode 100644 index 0000000..cc0d056 --- /dev/null +++ b/x11-themes/chokolate/Manifest @@ -0,0 +1,2 @@ +DIST choKolate_by_narf41.zip 13282 RMD160 bd617f5f40386e331e4fd703cd09031b74ce2341 SHA1 74ba411715473ee2b6e95ceaa3811080702c00ed SHA256 38cac63f32c47289593a3a28ceda12237a7ff05f0c5ff59ffdd8f82b4cb428e3 +EBUILD chokolate-1.0.ebuild 647 RMD160 81ac55a924f1b6f4f583099a644b7b9153343804 SHA1 758aaa4c7ea1570f9c29f1bb3a3c6c969eb34ce6 SHA256 4bd661ea004af3ffa8cfdcad4bb9fbf44213dc1340a420f04694d1ee2b0782b8 diff --git a/x11-themes/chokolate/chokolate-1.0.ebuild b/x11-themes/chokolate/chokolate-1.0.ebuild new file mode 100644 index 0000000..f1a5a62 --- /dev/null +++ b/x11-themes/chokolate/chokolate-1.0.ebuild @@ -0,0 +1,31 @@ +# Copyright 1999-2010 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +MY_P="choKolate" + +DESCRIPTION="a smooth, clean and chocolate coloured theme" +HOMEPAGE="http://narf41.deviantart.com/art/choKolate-149537424" +SRC_URI="http://fc06.deviantart.net/fs71/f/2010/007/c/b/choKolate_by_narf41.zip" + +LICENSE="CCPL-Attribution-ShareAlike-3.0" +SLOT="0" +KEYWORDS="x86 amd64" +IUSE="" + +DEPEND="" +RDEPEND="" + +S=${WORKDIR}/${MY_P} + +src_install() { + insinto /usr/share/apps/QtCurve/ + doins choKolate.qtcurve + + insinto /usr/share/apps/color-schemes/ + doins ChoKolate.colors + + #insinto /usr/share/apps/kwin/ + + +} diff --git a/x11-themes/gtk-theme-switch/Manifest b/x11-themes/gtk-theme-switch/Manifest new file mode 100644 index 0000000..ce26452 --- /dev/null +++ b/x11-themes/gtk-theme-switch/Manifest @@ -0,0 +1,5 @@ +AUX gtk-theme-switch-2.0.0_rc2-double-slash.patch 1306 RMD160 7ad6ad58e6c3dcc96a3e693e6bf53242fef57ec8 SHA1 e9fc158464a3eefc78d570fc6b484f54f9ee7fb8 SHA256 de541d8920b61c9bf2db4804e334ff03dc7a3862261cbd5f6a985c1304be4d50 +AUX gtk-theme-switch-2.0.0_rc2-gtk+-2.4_fix.patch 360 RMD160 05ac0f0be6c0435efaf040769912c245e167da6f SHA1 a00b101c7dc42f111b4fca24a8aae3721f3682ba SHA256 288ba30436e2db9b3c43038405d9da36a54a16206b500e2654ec40b1141acd1c +DIST gtk-theme-switch-2.0.0rc2.tar.gz 13377 RMD160 d6440b9d44848258765a938d3ae0ca9127c5d895 SHA1 b80422fe0b655c34dcf116b9336783e16f8b1110 SHA256 daea22b89d68466a5ec08267b5d95b19e4f00ff465a5e8244383747ed6148ce7 +DIST gtk-theme-switch-2.0.0rc2b.patch.gz 502 RMD160 5a81c1245ffd9c22189425462bc788130327b8ae SHA1 763932d81572e09e497c0ff813dd4fbdd92c0a0c SHA256 d538cf9816545a9844ec4b7701e192aa281c2850867e3dcf0ac895da3bfbeb0a +EBUILD gtk-theme-switch-2.0.0_rc2-r3.ebuild 1095 RMD160 c580cb49eab7f9f77c3a7e82a852393bc762a65a SHA1 e81a18477d29761f88d47de5f3fc64766390bf64 SHA256 7324b2673f1f13a9cccecbd278a1930e5c01cd20265f5d14bbfd0449f71e37c9 diff --git a/x11-themes/gtk-theme-switch/files/gtk-theme-switch-2.0.0_rc2-double-slash.patch b/x11-themes/gtk-theme-switch/files/gtk-theme-switch-2.0.0_rc2-double-slash.patch new file mode 100644 index 0000000..fb09fb2 --- /dev/null +++ b/x11-themes/gtk-theme-switch/files/gtk-theme-switch-2.0.0_rc2-double-slash.patch @@ -0,0 +1,40 @@ +--- gtk-theme-switch-2.0.0rc2/switch.c 2002-05-25 06:54:35.000000000 +0000 ++++ gtk-theme-switch-2.0.0rc2_new/switch.c 2008-06-14 22:09:39.000000000 +0000 +@@ -666,13 +666,36 @@ + gdk_event_send_clientmessage_toall((GdkEvent *)&event); + } + ++gchar *g_str_replace(gchar *subject, gchar *search, gchar *replace) { ++ gchar *string = g_malloc(strlen(subject)+1); ++ strcpy(string, subject); ++ ++ gchar *pos; ++ while ((pos = strstr(string, search)) != NULL) { ++ gchar *tmp = g_malloc(strlen(string)-strlen(search)+strlen(replace)+1); ++ *tmp = '\0'; ++ ++ strncat(tmp, string, strlen(string)-strlen(pos)); ++ strcat(tmp, replace); ++ strcat(tmp, pos+strlen(search)); ++ ++ g_free(string); ++ string = tmp; ++ } ++ ++ return string; ++} ++ + /* Sets rc_file to the rc_file of the theme if the result is true. + * It is the caller's repsonsibility to free rc_file */ + static short is_themedir (gchar *path, gchar **rc_file) + { + gchar *test_rc_file; + struct stat info; +- test_rc_file = g_strdup_printf ("%s/gtk-2.0/gtkrc",path); ++ gchar *tmp = g_strdup_printf ("%s/gtk-2.0/gtkrc",path); ++ test_rc_file = g_str_replace(tmp, "//", "/"); ++ g_free(tmp); ++ + if (stat(test_rc_file, &info) == 0 && (S_ISREG(info.st_mode) || S_ISLNK(info.st_mode))) + { + /* $path/gtk/gtkrc exists, and is a regular file */ diff --git a/x11-themes/gtk-theme-switch/files/gtk-theme-switch-2.0.0_rc2-gtk+-2.4_fix.patch b/x11-themes/gtk-theme-switch/files/gtk-theme-switch-2.0.0_rc2-gtk+-2.4_fix.patch new file mode 100644 index 0000000..637a984 --- /dev/null +++ b/x11-themes/gtk-theme-switch/files/gtk-theme-switch-2.0.0_rc2-gtk+-2.4_fix.patch @@ -0,0 +1,11 @@ +--- Make.old 2004-03-24 19:20:49.450228544 -0800 ++++ Makefile 2004-03-24 19:21:06.603620832 -0800 +@@ -2,7 +2,7 @@ + PREFIX=/usr/local + CFLAGS = -O2 -Wall $(shell pkg-config --cflags gtk+-2.0) + LIBS = $(shell pkg-config --libs gtk+-2.0) +-CFLAGS += -DGTK_DISABLE_BROKEN -DGTK_DISABLE_DEPRECATED ++CFLAGS += -DGTK_DISABLE_BROKEN + + VERSION = 2.0.0rc2 + all: switch diff --git a/x11-themes/gtk-theme-switch/gtk-theme-switch-2.0.0_rc2-r3.ebuild b/x11-themes/gtk-theme-switch/gtk-theme-switch-2.0.0_rc2-r3.ebuild new file mode 100644 index 0000000..5360970 --- /dev/null +++ b/x11-themes/gtk-theme-switch/gtk-theme-switch-2.0.0_rc2-r3.ebuild @@ -0,0 +1,43 @@ +# Copyright 1999-2008 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/x11-themes/gtk-theme-switch/gtk-theme-switch-2.0.0_rc2-r2.ebuild,v 1.11 2008/04/20 15:29:14 drac Exp $ + +inherit eutils toolchain-funcs + +MY_P=${P/_/} + +DESCRIPTION="Application for easy change of GTK-Themes" +HOMEPAGE="http://www.muhri.net/nav.php3?node=gts" +SRC_URI="http://www.muhri.net/${MY_P}.tar.gz + mirror://gentoo/${MY_P}b.patch.gz" + +LICENSE="GPL-2" +SLOT="2" +KEYWORDS="alpha amd64 hppa ia64 ~mips ppc ppc64 sparc x86 ~x86-fbsd" +IUSE="" + +RDEPEND="=x11-libs/gtk+-2*" +DEPEND="${RDEPEND} + dev-util/pkgconfig" + +S=${WORKDIR}/${MY_P} + +src_unpack() { + unpack ${A} + cd "${S}" + epatch "${WORKDIR}"/${MY_P}b.patch \ + "${FILESDIR}"/${P}-gtk+-2.4_fix.patch \ + "${FILESDIR}"/${P}-double-slash.patch +} + +src_compile() { + emake GCC="$(tc-getCC)" \ + CFLAGS="${CFLAGS} -Wall $(pkg-config --cflags gtk+-2.0)" \ + || die "emake failed." +} + +src_install() { + dobin switch2 + newman switch.1 gtk-theme-switch2.1 + dosym gtk-theme-switch2.1 /usr/share/man/man1/switch2.1 +} diff --git a/x11-themes/openbox-themes/Manifest b/x11-themes/openbox-themes/Manifest new file mode 100644 index 0000000..56ba63a --- /dev/null +++ b/x11-themes/openbox-themes/Manifest @@ -0,0 +1,2 @@ +DIST openbox-themes-1.0.2-1.pkg.tar.gz 490418 RMD160 4e09f123fbe500bab6506d46a1323ce8021564bd SHA1 e817edcfce0a4879ffa87ca0d69b84fedd235dd1 SHA256 977c08fdd7dc3cbae478b7be1d0d68740cff28227df49a3a41328db7ebff9ffb +EBUILD openbox-themes-1.0.2.ebuild 503 RMD160 be391a092dcbf66feff05279cdff4aeb28f766b1 SHA1 6faf95b85f8eca1391b144ec8162ab693a80efc7 SHA256 be7165ce9d171d1e75774bb88d396ab4d8f088ef217d18d1db36b2747154f4e5 diff --git a/x11-themes/openbox-themes/openbox-themes-1.0.2.ebuild b/x11-themes/openbox-themes/openbox-themes-1.0.2.ebuild new file mode 100644 index 0000000..cfec174 --- /dev/null +++ b/x11-themes/openbox-themes/openbox-themes-1.0.2.ebuild @@ -0,0 +1,21 @@ +# Copyright 1999-2008 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +DESCRIPTION="Collection of Openbox themes" +HOMEPAGE="http://wiki.archlinux.org/index.php/Openbox#Openbox_Themes" +SRC_URI="ftp://ftp.uni-bayreuth.de/pub/linux/archlinux/community/os/i686/${P}-1.pkg.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="amd64 ~x86" +IUSE="" + +DEPEND="x11-wm/openbox" +RDEPEND="${DEPEND}" + +src_install() { + insinto /usr/share/themes + doins -r usr/share/themes/* +} + diff --git a/x11-themes/qgtkstyle/Manifest b/x11-themes/qgtkstyle/Manifest new file mode 100644 index 0000000..3748cfe --- /dev/null +++ b/x11-themes/qgtkstyle/Manifest @@ -0,0 +1 @@ +EBUILD qgtkstyle-9999.ebuild 711 RMD160 de25757cadf8df1adcd76314b657150ee812860a SHA1 03a211a72cde81bce382459740a9a280e5376b8f SHA256 c1604e3269c931141fb13d1bc75aa49d881e39c5f54b0ca3b4db3424ae86abef diff --git a/x11-themes/qgtkstyle/qgtkstyle-9999.ebuild b/x11-themes/qgtkstyle/qgtkstyle-9999.ebuild new file mode 100644 index 0000000..bc1b4bd --- /dev/null +++ b/x11-themes/qgtkstyle/qgtkstyle-9999.ebuild @@ -0,0 +1,34 @@ +# Copyright 1999-2008 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +inherit subversion qt4 +EAPI="1" + +ESVN_REPO_URI="svn://labs.trolltech.com/svn/styles" +ESVN_PROJECT="gtkstyle" + +DESCRIPTION="make QT 4.x appplications look like native GTK+" +HOMEPAGE="http://labs.trolltech.com/page/Projects/Styles/GtkStyle" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~x86 ~amd64" +IUSE="" + +RDEPEND=">=x11-libs/gtk+-2.0 + x11-libs/qt-gui:4" +DEPEND="${RDEPEND} + dev-util/pkgconfig" + +src_compile() { + cd gtkstyle + eqmake4 qgtkstyle.pro || die "qmake failed" + emake || die "make failed" +} + +src_install() { + cd gtkstyle + emake INSTALL_ROOT="${D}" install || die "make install failed" +} + |