From 4be18d7c8f2ac72b402dcbe8385922638fcd0a89 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andreas=20M=C3=BCller?= <schnitzeltony@googlemail.com>
Date: Tue, 30 Oct 2012 13:14:11 +0100
Subject: [PATCH 1/5] add cursor-theme "xfce-invisible"
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com>
Upstream-Status: Submitted [1]
[1] https://bugzilla.xfce.org/show_bug.cgi?id=9474
---
 Makefile.am         |    1 +
 configure.ac.in        |    2 +
 cursors/Makefile.am |  178 +++++++++++++++++++++++++++++++++++++++++++++++++++
 cursors/index.theme |    3 +
 6 files changed, 184 insertions(+), 0 deletions(-)
 create mode 100644 cursors/Makefile.am
 create mode 100644 cursors/index.theme

diff --git a/Makefile.am b/Makefile.am
index 3060bac..3f0dd1d 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -1,6 +1,7 @@
 # $Id$
 
 SUBDIRS = \
+	cursors \
 	dialogs \
 	xfce4-settings-manager \
 	xfce4-settings-editor \
diff --git a/configure.ac.in b/configure.ac.in
index 0e7907d..1378049 100644
--- a/configure.ac.in
+++ b/configure.ac.in
@@ -157,6 +157,7 @@ dnl *** Optional support for Xcursor ***
 dnl ************************************
 XDT_CHECK_OPTIONAL_PACKAGE([XCURSOR], [xcursor], [1.1.0],
                            [xcursor], [Cursor themes support])
+AC_SUBST(cursordir, "\${datadir}/icons/xfce-invisible/cursors")
 
 dnl ****************************************
 dnl *** Optional support for Libxklavier ***
@@ -232,6 +233,7 @@ AC_SUBST([PLATFORM_LDFLAGS])
 AC_OUTPUT([
 Makefile
 po/Makefile.in
+cursors/Makefile
 dialogs/Makefile
 dialogs/appearance-settings/Makefile
 dialogs/accessibility-settings/Makefile
diff --git a/cursors/Makefile.am b/cursors/Makefile.am
new file mode 100644
index 0000000..c9e5a9f
--- /dev/null
+++ b/cursors/Makefile.am
@@ -0,0 +1,178 @@
+CURSOR_NAMES_INVISIBLE = \
+	00008160000006810000408080010102 \
+	028006030e0e7ebffc7f7070c0600140 \
+	2870a09082c103050810ffdffffe0204 \
+	03b6e0fcb3499374a867c041f52298f0 \
+	0876e1c15ff2fc01f906f1c363074c0f \
+	08ffe1cb5fe6fc01f906f1c063814ccf \
+	08ffe1e65f80fcfdf9fff11263e74c48 \
+	1001208387f90000800003000700f6ff \
+	1081e37283d90000800003c07f3ef6bf \
+	14fef782d02440884392942c11205230 \
+	208530c400c041818281048008011002 \
+	3085a0e285430894940527032f8b26df \
+	4498f0e0c1937ffe01fd06f973665830 \
+	5aca4d189052212118709018842178c0 \
+	5c6cd98b3f3ebcb1f9c7f1c204630408 \
+	6407b0e94181790501fd1e167b474872 \
+	640fb0e74195791501fd1ed57b41487f \
+	9081237383d90e509aa00f00170e968f \
+	9d800788f1b08800ae810202380a0822 \
+	a2a266d0498c3104214a47bd64ab0fc8 \
+	b66166c04f8c3109214a4fbd64a50fc8 \
+	c7088f0f3e6c8088236ef8e1e3e70000 \
+	d9ce0ab605698f320427677b458ad60b \
+	e29285e634086352946a0e7090d73106 \
+	f41c0e382c94c0958e07017e42b00462 \
+	f41c0e382c97c0938e07017e42800402 \
+	fcf1c3c7cd4491d801f1e1c78f100000 \
+	fcf21c00b30f7e3f83fe0dfd12e71cff \
+	alias \
+	all-scroll \
+	arrow \
+	base_arrow_down \
+	base_arrow_up \
+	based_arrow_down \
+	based_arrow_up \
+	bd_double_arrow \
+	boat \
+	bottom_left_corner \
+	bottom_right_corner \
+	bottom_side \
+	bottom_tee \
+	cell \
+	center_ptr \
+	circle \
+	closedhand \
+	color-picker \
+	col-resize \
+	copy \
+	cross \
+	cross_reverse \
+	crossed_circle \
+	crosshair \
+	default \
+	diamond_cross \
+	dnd-ask \
+	dnd-copy \
+	dnd-link \
+	dnd-move \
+	dnd-no-drop \
+	dnd-none \
+	dot \
+	dot_box_mask \
+	dotbox \
+	double_arrow \
+	down_arrow \
+	draft_large  \
+	draft_small  \
+	draped_box   \
+	e-resize \
+	ew-resize \
+	exchange     \
+	fd_double_arrow \
+	fleur \
+	forbidden \
+	grab \
+	grabbing \
+	gumby \
+	h_double_arrow \
+	hand \
+	hand1 \
+	hand2 \
+	help \
+	ibeam \
+	icon \
+	left_arrow \
+	left_ptr \
+	left_side \
+	left_tee  \
+	link \
+	ll_angle  \
+	lr_angle  \
+	move      \
+	ne-resize \
+	nesw-resize \
+	no-drop \
+	not-allowed \
+	n-resize \
+	ns-resize \
+	nw-resize \
+	nwse-resize \
+	openhand \
+	pencil    \
+	pirate    \
+	plus      \
+	pointer \
+	pointing_hand \
+	question_arrow \
+	right_arrow \
+	right_ptr      \
+	right_side     \
+	right_tee      \
+	row-resize \
+	sailboat       \
+	sb_down_arrow \
+	sb_h_double_arrow \
+	sb_left_arrow \
+	sb_right_arrow \
+	sb_up_arrow \
+	sb_v_double_arrow \
+	se-resize \
+	size_all \
+	size_bdiag \
+	size_fdiag \
+	size_hor \
+	size_ver \
+	sizing \
+	shuttle \
+	split_h \
+	split_v \
+	s-resize \
+	sw-resize \
+	target  \
+	tcross  \
+	text \
+	top_left_arrow  \
+	top_left_corner \
+	top_right_corner \
+	top_side \
+	top_tee \
+	trek \
+	ul_angle \
+	up_arrow \
+	ur_angle \
+	vertical-text \
+	v_double_arrow \
+	whats_this \
+	w-resize \
+	X_cursor \
+	xterm \
+	zoom-in \
+	zoom-out
+
+CURSOR_NAMES = \
+	3ecb610c1bf2410f44200f48c40d3599 \
+	08e8e1c95fe2fc01f976f1e063a24ccd \
+	00000000000000020006000e7e9ffc3f \
+	half-busy \
+	left_ptr_watch \
+	progress \
+	watch
+
+
+EXTRA_DIST = invisible wait index.theme
+
+install-data-local:
+	$(mkinstalldirs) $(DESTDIR)@cursordir@;
+	$(INSTALL_DATA) $(srcdir)/index.theme $(DESTDIR)/@cursordir@/..
+	$(INSTALL_DATA) $(srcdir)/invisible $(srcdir)/wait $(DESTDIR)@cursordir@/
+	for CURSOR in $(CURSOR_NAMES_INVISIBLE); do \
+		echo '-- Installing invisible cursor '$$CURSOR; \
+		ln -s $(srcdir)/invisible $(DESTDIR)@cursordir@/$$CURSOR; \
+	done
+	for CURSOR in $(CURSOR_NAMES); do \
+		echo '-- Installing visible cursor '$$CURSOR; \
+		ln -s $(srcdir)/wait $(DESTDIR)@cursordir@/$$CURSOR; \
+	done
+
diff --git a/cursors/index.theme b/cursors/index.theme
new file mode 100644
index 0000000..0c48458
--- /dev/null
+++ b/cursors/index.theme
@@ -0,0 +1,3 @@
+[Icon Theme]
+Name=xfce-invisible
+Example=invisible
-- 
1.7.6.5

