summaryrefslogtreecommitdiffstats
path: root/x11/gcursor/files
diff options
context:
space:
mode:
authormarcus <marcus@df743ca5-7f9a-e211-a948-0013205c9059>2006-10-14 18:33:48 +0800
committermarcus <marcus@df743ca5-7f9a-e211-a948-0013205c9059>2006-10-14 18:33:48 +0800
commit1b3327761c8bcb98d89b529daeae9600844b4361 (patch)
tree0be1cd4eb5fec6661da4798906b0d9bd522e794f /x11/gcursor/files
parenta65aedbb59fd9dfb33a4633611777da99ec4dcd5 (diff)
downloadmarcuscom-ports-1b3327761c8bcb98d89b529daeae9600844b4361.tar
marcuscom-ports-1b3327761c8bcb98d89b529daeae9600844b4361.tar.gz
marcuscom-ports-1b3327761c8bcb98d89b529daeae9600844b4361.tar.bz2
marcuscom-ports-1b3327761c8bcb98d89b529daeae9600844b4361.tar.lz
marcuscom-ports-1b3327761c8bcb98d89b529daeae9600844b4361.tar.xz
marcuscom-ports-1b3327761c8bcb98d89b529daeae9600844b4361.tar.zst
marcuscom-ports-1b3327761c8bcb98d89b529daeae9600844b4361.zip
Clean out MarcusCom after the big import into ports.
Next stop, GNOME 2.17. git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@7799 df743ca5-7f9a-e211-a948-0013205c9059
Diffstat (limited to 'x11/gcursor/files')
-rw-r--r--x11/gcursor/files/patch-data::gcursor.desktop.in18
-rw-r--r--x11/gcursor/files/patch-src::gcursor.c59
2 files changed, 0 insertions, 77 deletions
diff --git a/x11/gcursor/files/patch-data::gcursor.desktop.in b/x11/gcursor/files/patch-data::gcursor.desktop.in
deleted file mode 100644
index 952a2cc2b..000000000
--- a/x11/gcursor/files/patch-data::gcursor.desktop.in
+++ /dev/null
@@ -1,18 +0,0 @@
---- data/gcursor.desktop.in.orig Sun Feb 20 21:34:50 2005
-+++ data/gcursor.desktop.in Sun Feb 20 21:36:12 2005
-@@ -1,12 +1,11 @@
- [Desktop Entry]
-+Encoding=UTF-8
- _Name=Cursor Selection
- _Comment=Select a different cursor
- Exec=gcursor
- Icon=
- Terminal=false
- Type=Application
--
--Categories=GNOME;Application;Settings;
- StartupNotify=true
--Encoding=UTF-8
--
-+Categories=Application;Settings;AdvancedSettings;
-+OnlyShowIn=GNOME;
diff --git a/x11/gcursor/files/patch-src::gcursor.c b/x11/gcursor/files/patch-src::gcursor.c
deleted file mode 100644
index 583eac0fd..000000000
--- a/x11/gcursor/files/patch-src::gcursor.c
+++ /dev/null
@@ -1,59 +0,0 @@
---- src/gcursor.c.orig Thu Aug 26 05:35:55 2004
-+++ src/gcursor.c Thu Jul 27 13:25:46 2006
-@@ -32,29 +32,22 @@
-
- #warning move this into gconf
- char *paths[] = {
-- "/usr/share/cursors/xfree/",
-- "/usr/X11R6/lib/X11/icons/",
-- "/usr/Xorg/lib/X11/icons/",
-- "/usr/local/share/icons/",
-- "/usr/share/icons/",
-+ "%%LOCALBASE%%/lib/X11/icons/",
-+ "%%X11BASE%%/lib/X11/icons/",
- "%s/.icons/",
- NULL
- };
-
- void open_theme_dir()
- {
-- GError * error = NULL;
-- char * filename;
--
-- filename = g_strdup_printf("file:///%s/.icons/", g_getenv("HOME"));
-- gnome_url_show(filename,&error);
-- g_free(filename);
-+ gchar *path, *command;
-
-- if (error)
-- {
-- gnome_warning_dialog (error->message);
-- g_error_free (error);
-- }
-+ path = g_strdup_printf ("%s/.icons", g_get_home_dir());
-+ command = g_strdup_printf ("nautilus --no-desktop %s", path);
-+
-+ g_free (path);
-+ g_spawn_command_line_async (command, NULL);
-+ g_free (command);
- }
-
-
-@@ -85,7 +78,7 @@
- filename = g_shell_quote(gtk_file_selection_get_filename(GTK_FILE_SELECTION(fs)));
- #endif
-
-- path = g_strdup_printf("file-roller --extract-to=%s/.icons/ %s", g_getenv("HOME"),
-+ path = g_strdup_printf("file-roller --extract-to=%s/.icons/ %s", g_get_home_dir(),
- filename);
- g_free(filename);
-
-@@ -281,7 +274,7 @@
-
- for (iterator = paths; *iterator; iterator++)
- {
-- dirname = g_strdup_printf(*iterator, g_getenv("HOME"));
-+ dirname = g_strdup_printf(*iterator, g_get_home_dir());
- directory = g_dir_open(dirname, 0, NULL);
-
- while(directory != NULL && (name = g_dir_read_name(directory)) != NULL)