[package] Add cwiid package
[openwrt/svn-archive/archive.git] / utils / cwiid / patches / 100-dump_gtk_wmdemo.patch
1 Index: cwiid-0.6.00/Makefile.in
2 ===================================================================
3 --- cwiid-0.6.00.orig/Makefile.in 2010-06-20 19:32:38.000000000 +0200
4 +++ cwiid-0.6.00/Makefile.in 2010-06-20 19:32:46.000000000 +0200
5 @@ -3,7 +3,7 @@
6 include @top_builddir@/defs.mak
7
8 LIB_DIRS = libcwiid
9 -BIN_DIRS = wmgui wminput lswm
10 +BIN_DIRS = wminput lswm
11 DOC_DIRS = man doc
12 ifdef PYTHON
13 BIND_DIRS = python
14 Index: cwiid-0.6.00/configure.ac
15 ===================================================================
16 --- cwiid-0.6.00.orig/configure.ac 2010-06-20 19:31:22.000000000 +0200
17 +++ cwiid-0.6.00/configure.ac 2010-06-20 19:31:35.000000000 +0200
18 @@ -124,11 +124,6 @@
19 fi
20 AC_SUBST(LDCONFIG)
21
22 -pkg_modules="gtk+-2.0 >= 2.0.0 gthread-2.0"
23 -PKG_CHECK_MODULES([GTK], [$pkg_modules])
24 -AC_SUBST(GTK_CFLAGS)
25 -AC_SUBST(GTK_LIBS)
26 -
27 AC_OUTPUT(
28 [Makefile]
29 [defs.mak]
30 Index: cwiid-0.6.00/wminput/Makefile.in
31 ===================================================================
32 --- cwiid-0.6.00.orig/wminput/Makefile.in 2010-06-20 19:47:06.000000000 +0200
33 +++ cwiid-0.6.00/wminput/Makefile.in 2010-06-20 19:47:13.000000000 +0200
34 @@ -14,7 +14,7 @@
35 -DWMINPUT_CONFIG_DIR=\"$(WMINPUT_CONFIG_DIR)\" \
36 -DCWIID_PLUGINS_DIR=\"$(CWIID_PLUGINS_DIR)\"
37
38 -LDLIBS += -lcwiid -ldl
39 +LDLIBS += -lcwiid -ldl -lbluetooth
40 LDFLAGS += -L@top_builddir@/libcwiid -rdynamic
41 INST_DIR = @bindir@
42
43 Index: cwiid-0.6.00/lswm/Makefile.in
44 ===================================================================
45 --- cwiid-0.6.00.orig/lswm/Makefile.in 2010-06-20 19:50:13.000000000 +0200
46 +++ cwiid-0.6.00/lswm/Makefile.in 2010-06-20 19:50:22.000000000 +0200
47 @@ -8,7 +8,7 @@
48
49 CFLAGS += -I@top_builddir@/libcwiid
50 LDFLAGS += -L@top_builddir@/libcwiid
51 -LDLIBS += -lcwiid
52 +LDLIBS += -lcwiid -lbluetooth
53 INST_DIR = @bindir@
54
55 include $(COMMON)/include/app.mak
56 Index: cwiid-0.6.00/Makefile.in
57 ===================================================================
58 --- cwiid-0.6.00.orig/Makefile.in 2010-06-20 19:53:45.000000000 +0200
59 +++ cwiid-0.6.00/Makefile.in 2010-06-20 19:53:54.000000000 +0200
60 @@ -9,7 +9,7 @@
61 BIND_DIRS = python
62 endif
63
64 -SUB_DIRS = $(LIB_DIRS) $(BIN_DIRS) $(DOC_DIRS) $(BIND_DIRS) wmdemo
65 +SUB_DIRS = $(LIB_DIRS) $(BIN_DIRS) $(DOC_DIRS) $(BIND_DIRS)
66
67 all install clean distclean uninstall: TARGET += $(MAKECMDGOALS)
68
69