diff options
author | Leonardo Boshell <leonardop@gentoo.org> | 2005-08-04 07:24:15 +0000 |
---|---|---|
committer | Leonardo Boshell <leonardop@gentoo.org> | 2005-08-04 07:24:15 +0000 |
commit | b2bd5b40cdc40cbd02e66942f8abff38316ca442 (patch) | |
tree | 16eca965003f93cee7ddc4ac024b2c73b9159ac6 /x11-themes/gtk-engines-experience | |
parent | Stable on amd64 and x86. (diff) | |
download | gentoo-2-b2bd5b40cdc40cbd02e66942f8abff38316ca442.tar.gz gentoo-2-b2bd5b40cdc40cbd02e66942f8abff38316ca442.tar.bz2 gentoo-2-b2bd5b40cdc40cbd02e66942f8abff38316ca442.zip |
New package (bug #78213)
(Portage version: 2.0.51.22-r2)
Diffstat (limited to 'x11-themes/gtk-engines-experience')
6 files changed, 113 insertions, 0 deletions
diff --git a/x11-themes/gtk-engines-experience/ChangeLog b/x11-themes/gtk-engines-experience/ChangeLog new file mode 100644 index 000000000000..ce8f071e4497 --- /dev/null +++ b/x11-themes/gtk-engines-experience/ChangeLog @@ -0,0 +1,10 @@ +# ChangeLog for x11-themes/gtk-engines-experience +# Copyright 2000-2005 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/x11-themes/gtk-engines-experience/ChangeLog,v 1.1 2005/08/04 07:24:14 leonardop Exp $ + +*gtk-engines-experience-0.9.7 (04 Aug 2005) + + 04 Aug 2005; Leonardo Boshell <leonardop@gentoo.org> + gtk-engines-experience-0.9.7.ebuild: + files/gtk-engines-experience-0.9.7-mem_fixes.patch: + New package. Reported on bug #78213. diff --git a/x11-themes/gtk-engines-experience/Manifest b/x11-themes/gtk-engines-experience/Manifest new file mode 100644 index 000000000000..f49acf05036f --- /dev/null +++ b/x11-themes/gtk-engines-experience/Manifest @@ -0,0 +1,5 @@ +MD5 3cf163696e5dd6a36ec412d023ee4946 ChangeLog 391 +MD5 93943e7c2afb973d270b413a50e4a630 metadata.xml 473 +MD5 fd5d6b67e689c120dcbded2c304d4c5d gtk-engines-experience-0.9.7.ebuild 808 +MD5 cec645e8e36ba45b71aaea718361d4e2 .gtk-engines-experience-0.9.7.ebuild.swp 4096 +MD5 889c7d0375a68627c6dd09f68c755d25 files/digest-gtk-engines-experience-0.9.7 69 diff --git a/x11-themes/gtk-engines-experience/files/digest-gtk-engines-experience-0.9.7 b/x11-themes/gtk-engines-experience/files/digest-gtk-engines-experience-0.9.7 new file mode 100644 index 000000000000..161825d34d4b --- /dev/null +++ b/x11-themes/gtk-engines-experience/files/digest-gtk-engines-experience-0.9.7 @@ -0,0 +1 @@ +MD5 dcd54f4743bc0702e49b20b3fc821aa4 experience-0.9.7.tar.bz2 252106 diff --git a/x11-themes/gtk-engines-experience/files/gtk-engines-experience-0.9.7-mem_fixes.patch b/x11-themes/gtk-engines-experience/files/gtk-engines-experience-0.9.7-mem_fixes.patch new file mode 100644 index 000000000000..b64456ea14f5 --- /dev/null +++ b/x11-themes/gtk-engines-experience/files/gtk-engines-experience-0.9.7-mem_fixes.patch @@ -0,0 +1,45 @@ +diff -NurdB experience-0.9.7/src/match.c experience-0.9.7-patched/src/match.c +--- experience-0.9.7/src/match.c 2005-07-30 16:19:44.000000000 -0500 ++++ experience-0.9.7-patched/src/match.c 2005-08-04 02:05:06.000000000 -0500 +@@ -59,8 +59,6 @@ + /* and the struct */ + g_free (pspec); + } +- /* this would happen, if a pspec is unrefed too often */ +- g_assert (pspec->refcount > 0); + } + + static void +@@ -81,6 +79,8 @@ + match->flags = MATCH_NONE; + + match->property_list = NULL; ++ match->details = NULL; ++ match->program_names = NULL; + + /* no other initialization needed here. */ + } +@@ -93,14 +93,16 @@ + + g_assert(match != NULL); + +- /* destroy the GPatternSpecs */ +- g_list_foreach (match->details, (GFunc) g_pattern_spec_free, NULL); +- g_list_foreach (match->program_names, (GFunc) g_pattern_spec_free, NULL); ++ /* destroy the GPatternSpecs and the lists */ ++ if (match->details != NULL) { ++ g_list_foreach (match->details, (GFunc) experience_pattern_spec_unref, NULL); ++ g_list_free (match->details); ++ } ++ if (match->program_names != NULL) { ++ g_list_foreach (match->program_names, (GFunc) experience_pattern_spec_unref, NULL); ++ g_list_free (match->program_names); ++ } + +- /* and the lists */ +- g_list_free (match->details); +- g_list_free (match->program_names); +- + item = g_list_first (match->property_list); + + while (item != NULL) { diff --git a/x11-themes/gtk-engines-experience/gtk-engines-experience-0.9.7.ebuild b/x11-themes/gtk-engines-experience/gtk-engines-experience-0.9.7.ebuild new file mode 100644 index 000000000000..89324b9f608c --- /dev/null +++ b/x11-themes/gtk-engines-experience/gtk-engines-experience-0.9.7.ebuild @@ -0,0 +1,41 @@ +# Copyright 1999-2005 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/x11-themes/gtk-engines-experience/gtk-engines-experience-0.9.7.ebuild,v 1.1 2005/08/04 07:24:14 leonardop Exp $ + +inherit eutils + +MY_P="experience-${PV}" +DESCRIPTION="GTK+2 Experience Theme Engine" +HOMEPAGE="http://art.gnome.org/themes/gtk_engines/1057" +SRC_URI="http://art.gnome.org/download/themes/gtk_engines/1057/${MY_P}.tar.bz2" + +KEYWORDS="~x86" +IUSE="static" +LICENSE="GPL-2" +SLOT="2" + +RDEPEND=">=x11-libs/gtk+-2.6" +DEPEND="${RDEPEND} + dev-util/pkgconfig" + +S=${WORKDIR}/${MY_P} + +src_unpack() { + unpack ${A} + cd ${S} + + epatch ${FILESDIR}/${P}-mem_fixes.patch +} + +src_compile() { + local myconf="$(use_enable static)" + + econf $myconf || die "Configuration failed" + emake || die "Compilation failed" +} + +src_install() { + make DESTDIR="${D}" install || die "Installation failed" + + dodoc AUTHORS ChangeLog NEWS README TODO +} diff --git a/x11-themes/gtk-engines-experience/metadata.xml b/x11-themes/gtk-engines-experience/metadata.xml new file mode 100644 index 000000000000..109f2e6d74e1 --- /dev/null +++ b/x11-themes/gtk-engines-experience/metadata.xml @@ -0,0 +1,11 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <herd>gnome</herd> + <longdescription> + This engine is a very flexible pixmap based GTK-Engine. It is able + to draw widgets as a stack of multiple images. Each of the images + can be manipulated in different ways before being drawn. You can, + for example, change the color, rotate and mirror images. + </longdescription> +</pkgmetadata> |