summaryrefslogtreecommitdiffstats
path: root/dilos/tdebindings/debian/patches/dilos.patch
blob: 5673f61e794d8c1478e0e7c9e9f313348467a6de (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
Index: tdebindings/korundum/bin/krubyinit.cpp
===================================================================
--- tdebindings.orig/korundum/bin/krubyinit.cpp
+++ tdebindings/korundum/bin/krubyinit.cpp
@@ -31,6 +31,42 @@
 // to detect what they were started with
 static const char* script_name = "krubyinit_app";
 
+/*#ifdef	__dilos__
+#include <tdeglobal.h>
+
+class TDEGlobalNetworkManager;
+class TDEGlobalNetworkManager;
+class TDEHardwareDevices;
+
+TDEGlobalNetworkManager *
+TDEInstance::networkManager()const
+{
+
+	return (NULL);
+}
+
+TDEHardwareDevices *
+TDEInstance::hardwareDevices()const
+{
+
+	return (NULL);
+}
+
+TDEGlobalNetworkManager *
+TDEGlobal::networkManager()
+{
+
+	return (NULL);
+}
+
+TDEHardwareDevices *
+TDEGlobal::hardwareDevices()
+{
+
+	return (NULL);
+}
+#endif*/	/* __dilos__ */
+
 int main(int argc, char **argv) {
      ruby_init();
      ruby_script((char*)script_name);
Index: tdebindings/smoke/tde/Makefile.am
===================================================================
--- tdebindings.orig/smoke/tde/Makefile.am
+++ tdebindings/smoke/tde/Makefile.am
@@ -1,3 +1,4 @@
+CPPFLAGS+= -D__TDE_HAVE_TDEHWLIB
 lib_LTLIBRARIES = libsmoketde.la
 
 # set the include path for X, qt and KDE
@@ -16,11 +17,15 @@ x_sources =  x_1.cpp x_2.cpp x_3.cpp x_4
    x_16.cpp x_17.cpp x_18.cpp x_19.cpp x_20.cpp
 
 # which sources should be compiled for perlqttde
-libsmoketde_la_SOURCES = $(x_sources) smokedata.cpp 
+libsmoketde_la_SOURCES = $(x_sources) smokedata.cpp dilos_smoke_tde.cpp
 
 $(x_sources) smokedata.cpp:
 	perl generate.pl
 
+dilos_smoke_tde.cpp:
+	cp -f $(top_srcdir)/debian/local/$@ $@
+
 CLEANFILES = $(libsmoketde_la_SOURCES)
 
 .NOTPARALLEL:
+
Index: tdebindings/admin/acinclude.m4.in
===================================================================
--- tdebindings.orig/admin/acinclude.m4.in
+++ tdebindings/admin/acinclude.m4.in
@@ -1586,7 +1586,7 @@ if AC_TRY_EVAL(kde_line); then
 	# if you're trying to debug this check and think it's incorrect,
 	# better check your installation. The check _is_ correct - your
 	# installation is not.
-	if test -f actest.cpp && grep klineedit actest.cpp > /dev/null; then
+	if test -f actest.cpp && grep -i klineedit actest.cpp > /dev/null; then
 		kde_cv_uic_plugins=yes
 	fi
 fi
Index: tdebindings/acinclude.m4
===================================================================
--- tdebindings.orig/acinclude.m4
+++ tdebindings/acinclude.m4
@@ -1586,7 +1586,7 @@ if AC_TRY_EVAL(kde_line); then
 	# if you're trying to debug this check and think it's incorrect,
 	# better check your installation. The check _is_ correct - your
 	# installation is not.
-	if test -f actest.cpp && grep klineedit actest.cpp > /dev/null; then
+	if test -f actest.cpp && grep -i klineedit actest.cpp > /dev/null; then
 		kde_cv_uic_plugins=yes
 	fi
 fi
Index: tdebindings/kjsembed/docs/embedding/simple-embed/embedview.ui
===================================================================
--- tdebindings.orig/kjsembed/docs/embedding/simple-embed/embedview.ui
+++ tdebindings/kjsembed/docs/embedding/simple-embed/embedview.ui
@@ -180,4 +180,7 @@
     <includehint>kpushbutton.h</includehint>
     <includehint>kpushbutton.h</includehint>
 </includehints>
+<includes>
+    <include>kpushbutton.h</include>
+</includes>
 </UI>