head 1.2; access; symbols pkgsrc-2013Q2:1.2.0.52 pkgsrc-2013Q2-base:1.2 pkgsrc-2012Q4:1.2.0.50 pkgsrc-2012Q4-base:1.2 pkgsrc-2011Q4:1.2.0.48 pkgsrc-2011Q4-base:1.2 pkgsrc-2011Q2:1.2.0.46 pkgsrc-2011Q2-base:1.2 pkgsrc-2009Q4:1.2.0.44 pkgsrc-2009Q4-base:1.2 pkgsrc-2008Q4:1.2.0.42 pkgsrc-2008Q4-base:1.2 pkgsrc-2008Q3:1.2.0.40 pkgsrc-2008Q3-base:1.2 cube-native-xorg:1.2.0.38 cube-native-xorg-base:1.2 pkgsrc-2008Q2:1.2.0.36 pkgsrc-2008Q2-base:1.2 pkgsrc-2008Q1:1.2.0.34 pkgsrc-2008Q1-base:1.2 pkgsrc-2007Q4:1.2.0.32 pkgsrc-2007Q4-base:1.2 pkgsrc-2007Q3:1.2.0.30 pkgsrc-2007Q3-base:1.2 pkgsrc-2007Q2:1.2.0.28 pkgsrc-2007Q2-base:1.2 pkgsrc-2007Q1:1.2.0.26 pkgsrc-2007Q1-base:1.2 pkgsrc-2006Q4:1.2.0.24 pkgsrc-2006Q4-base:1.2 pkgsrc-2006Q3:1.2.0.22 pkgsrc-2006Q3-base:1.2 pkgsrc-2006Q2:1.2.0.20 pkgsrc-2006Q2-base:1.2 pkgsrc-2006Q1:1.2.0.18 pkgsrc-2006Q1-base:1.2 pkgsrc-2005Q4:1.2.0.16 pkgsrc-2005Q4-base:1.2 pkgsrc-2005Q3:1.2.0.14 pkgsrc-2005Q3-base:1.2 pkgsrc-2005Q2:1.2.0.12 pkgsrc-2005Q2-base:1.2 pkgsrc-2005Q1:1.2.0.10 pkgsrc-2005Q1-base:1.2 pkgsrc-2004Q4:1.2.0.8 pkgsrc-2004Q4-base:1.2 pkgsrc-2004Q3:1.2.0.6 pkgsrc-2004Q3-base:1.2 pkgsrc-2004Q2:1.2.0.4 pkgsrc-2004Q2-base:1.2 pkgsrc-2004Q1:1.2.0.2 pkgsrc-2004Q1-base:1.2 pkgsrc-2003Q4:1.1.1.1.0.2 pkgsrc-2003Q4-base:1.1.1.1 pkgsrc-base:1.1.1.1 TNF:1.1.1; locks; strict; comment @# @; 1.2 date 2003.12.29.12.43.36; author recht; state dead; branches; next 1.1; 1.1 date 2003.06.01.11.38.16; author jmmv; state Exp; branches 1.1.1.1; next ; 1.1.1.1 date 2003.06.01.11.38.16; author jmmv; state Exp; branches; next ; desc @@ 1.2 log @Remove metacity-setup which is no longer maintained, of which the authors removed the distfiles and which can't set all the options of the metacity in pkgsrc. @ text @$NetBSD: patch-aa,v 1.1 2003/06/01 11:38:16 jmmv Exp $ Patch obtained from gentoo: "metacity-setup doesn't really detect themes properly". See bug #8822 on bugs.gentoo.org. --- src/callbacks.c.orig 2002-10-05 12:36:03.000000000 -0500 +++ src/callbacks.c 2002-10-05 12:36:07.000000000 -0500 @@@@ -226,20 +226,20 @@@@ GDir *themeDirectory = g_dir_open (possibleThemeDirs[i], 0, NULL); - while ((filename = - g_dir_read_name (themeDirectory)) != NULL) - if (g_file_test - (g_build_filename - (possibleThemeDirs[i], filename, NULL), - G_FILE_TEST_IS_DIR) && - (g_file_test - (g_build_filename - (possibleThemeDirs[i], filename, "metacity-theme-1.xml", NULL), - G_FILE_TEST_IS_REGULAR))) - { - g_ptr_array_add (themeNameHolder, - g_strdup (filename)); - } + while ((filename = g_dir_read_name (themeDirectory)) != NULL) + if (g_file_test (g_build_filename (possibleThemeDirs[i], filename, NULL), G_FILE_TEST_IS_DIR) && + ((g_file_test (g_build_filename (possibleThemeDirs[i], filename, "metacity-theme-1.xml", NULL), G_FILE_TEST_IS_REGULAR)) + /* new themes have metacity-theme-1.xml stored under a directory: metacity-1 */ + ||(g_file_test (g_build_filename (possibleThemeDirs[i], filename, "metacity-1", NULL), G_FILE_TEST_IS_DIR) + && g_file_test (g_build_filename (possibleThemeDirs[i], filename, "metacity-1", "metacity-theme-1.xml",NULL), + G_FILE_TEST_IS_REGULAR) + ) + ) + ) + { + g_ptr_array_add (themeNameHolder, + g_strdup (filename)); + } g_dir_close (themeDirectory); } } @@@@ -690,4 +690,4 @@@@ else metacity_version = "2.4"; on_treeview1_realize (treeview1_cheat, user_data); -} \ No newline at end of file +} @ 1.1 log @Initial revision @ text @d1 1 a1 1 $NetBSD$ @ 1.1.1.1 log @Initial import of metacity-setup, version 0.7.1: metacity-setup is a graphical utility to configure the Metacity window manager, allowing you to change themes, focus settings, the number of workspaces, etc. It is much easier than having to use gconftool or gconf-editor. Package provided in pkgsrc-wip by marc@@users.sf.net with some changes by me. @ text @@