summaryrefslogtreecommitdiff
path: root/libre/libosinfo/libre.patch
blob: 8b2a826f85498f4cefc9c592d56b2494202a4f94 (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
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
--- libosinfo-1.1.0.orig/Makefile.am	2017-04-28 09:30:18.000000000 -0500
+++ libosinfo-1.1.0/Makefile.am	2017-10-25 01:26:54.389870956 -0500
@@ -1,5 +1,5 @@
 
-SUBDIRS = osinfo tests tools docs po examples
+SUBDIRS = osinfo tests tools po examples
 
 INTLTOOL_FILES = \
 	intltool-extract.in \
--- libosinfo-1.1.0.orig/Makefile.in	2017-08-15 05:29:56.000000000 -0500
+++ libosinfo-1.1.0/Makefile.in	2017-10-25 01:28:07.243272077 -0500
@@ -429,7 +429,7 @@
 top_build_prefix = @top_build_prefix@
 top_builddir = @top_builddir@
 top_srcdir = @top_srcdir@
-SUBDIRS = osinfo tests tools docs po examples
+SUBDIRS = osinfo tests tools po examples
 INTLTOOL_FILES = \
 	intltool-extract.in \
 	intltool-merge.in \
--- libosinfo-1.1.0.orig/configure	2017-08-15 05:29:55.000000000 -0500
+++ libosinfo-1.1.0/configure	2017-10-25 01:30:40.046422902 -0500
@@ -15599,7 +15599,7 @@
 GLIB_MKENUMS=`$PKG_CONFIG --variable=glib_mkenums glib-2.0`
 
 
-ac_config_files="$ac_config_files Makefile libosinfo.spec mingw-libosinfo.spec osinfo/Makefile osinfo/libosinfo-1.0.pc osinfo/osinfo_version.h tools/Makefile tests/Makefile docs/Makefile docs/reference/Makefile examples/Makefile po/Makefile.in"
+ac_config_files="$ac_config_files Makefile libosinfo.spec mingw-libosinfo.spec osinfo/Makefile osinfo/libosinfo-1.0.pc osinfo/osinfo_version.h tools/Makefile tests/Makefile examples/Makefile po/Makefile.in"
 
 cat >confcache <<\_ACEOF
 # This file is a shell script that caches the results of configure
@@ -16688,8 +16688,6 @@
     "osinfo/osinfo_version.h") CONFIG_FILES="$CONFIG_FILES osinfo/osinfo_version.h" ;;
     "tools/Makefile") CONFIG_FILES="$CONFIG_FILES tools/Makefile" ;;
     "tests/Makefile") CONFIG_FILES="$CONFIG_FILES tests/Makefile" ;;
-    "docs/Makefile") CONFIG_FILES="$CONFIG_FILES docs/Makefile" ;;
-    "docs/reference/Makefile") CONFIG_FILES="$CONFIG_FILES docs/reference/Makefile" ;;
     "examples/Makefile") CONFIG_FILES="$CONFIG_FILES examples/Makefile" ;;
     "po/Makefile.in") CONFIG_FILES="$CONFIG_FILES po/Makefile.in" ;;
     "po/stamp-it") CONFIG_COMMANDS="$CONFIG_COMMANDS po/stamp-it" ;;
--- libosinfo-1.1.0.orig/configure.ac	2017-05-02 10:44:07.000000000 -0500
+++ libosinfo-1.1.0/configure.ac	2017-10-25 01:31:42.313631867 -0500
@@ -291,8 +291,6 @@
 	osinfo/osinfo_version.h
 	tools/Makefile
 	tests/Makefile
-	docs/Makefile
-	docs/reference/Makefile
 	examples/Makefile
 	po/Makefile.in
 ])
--- libosinfo-1.1.0.orig/examples/demo.js	2016-10-24 04:54:59.000000000 -0500
+++ libosinfo-1.1.0/examples/demo.js	2017-10-25 01:33:02.440040319 -0500
@@ -32,7 +32,7 @@
     print ("  OS short id " + name)
 }
 
-var osid = "http://fedoraproject.org/fedora-11"
+var osid = "https://wiki.parabola.nu/Get_Parabola"
 var hvid = "http://qemu.org/qemu-kvm-0.11.0"
 var drvclass = "net"
 //var drvclass = "audio"
--- libosinfo-1.1.0.orig/examples/libosinfo-dummy-data.xml	2016-10-24 04:54:59.000000000 -0500
+++ libosinfo-1.1.0/examples/libosinfo-dummy-data.xml	2017-10-25 01:35:35.849830619 -0500
@@ -64,87 +64,11 @@
   </devices>
 </platform>
 
-<os id="http://fedoraproject.org/fedora-11">
-  <upgrades id="http://fedoraproject.org/fedora-10" />
-  <short-id>fedora11</short-id>
-  <name>Fedora 11</name>
-  <version>11</version>
-  <vendor>Fedora Project</vendor>
-  <x-fruit>apples</x-fruit>
-  <x-animal>marmot</x-animal>
-  <x-animal>aardvark</x-animal>
-
-  <!-- Device support for unspecified platform -->
-  <devices>
-    <device id="http://pci-ids.ucw.cz/read/PC/1002/4382">
-      <driver>es1391</driver>
-    </device>
-    <device id="http://pci-ids.ucw.cz/read/PC/1274/5000">
-      <driver>ac97+</driver>
-    </device>
-  </devices>
-</os>
-
-<os id="http://fedoraproject.org/fedora-10">
-  <short-id>fedora10</short-id>
-  <name>Fedora 10</name>
-  <version>10</version>
-  <vendor>Fedora Project</vendor>
-
-  <!-- Device support for unspecified platform -->
-  <devices>
-    <device id="http://pci-ids.ucw.cz/read/PC/1274/5000">
-      <driver>ac97</driver>
-    </device>
-    <device id="http://pci-ids.ucw.cz/read/PC/1002/4382">
-      <driver>es1391</driver>
-    </device>
-  </devices>
-</os>
-
-<os id="http://software.opensuse.org/112">
-    <short-id>opensuse11.2</short-id>
-    <name>OpenSuse 11.2</name>
-    <version>11.2</version>
-    <vendor>OpenSuse Project</vendor>
+<os id="https://wiki.parabola.nu/Get_Parabola">
+    <short-id>parabola</short-id>
+    <name>Parabola GNU/Linux-libre</name>
+    <vendor>Parabola Project</vendor>
 </os>
 
-<deployment id="http://fedoraproject.org/fedora-10?kvm-0.11.0">
-  <platform id="http://qemu.org/qemu-kvm-0.11.0" />
-  <os id="http://fedoraproject.org/fedora-10" />
-
-  <devices>
-    <device id="http://pci-ids.ucw.cz/read/PC/1002/4382">
-      <driver>ac97</driver>
-    </device>
-    <device id="http://pci-ids.ucw.cz/read/PC/1274/5000">
-      <driver>ES1370</driver>
-    </device>
-    <device id="http://pci-ids.ucw.cz/read/PC/a727/0013">
-      <driver>3com</driver>
-    </device>
-  </devices>
-</deployment>
-
-<deployment id="http://fedoraproject.org/fedora-11?kvm-0.11.0">
-  <platform id="http://qemu.org/qemu-kvm-0.11.0" />
-  <os id="http://fedoraproject.org/fedora-11" />
-
-  <devices>
-    <device id="http://pci-ids.ucw.cz/read/PC/1274/5000">
-      <driver>es1370</driver>
-    </device>
-    <device id="http://pci-ids.ucw.cz/read/PC/1002/4382">
-      <driver>ac97</driver>
-    </device>
-    <device id="http://pci-ids.ucw.cz/read/PC/1274/1371/80864541">
-      <driver>es1371</driver>
-    </device>
-    <device id="http://pci-ids.ucw.cz/read/PC/a727/0013">
-      <driver>3com</driver>
-    </device>
-  </devices>
-</deployment>
-
 <!-- End of backing data -->
 </libosinfo>
--- libosinfo-1.1.0.orig/tests/test-isodetect.c	2017-08-10 09:47:46.000000000 -0500
+++ libosinfo-1.1.0/tests/test-isodetect.c	2017-10-25 01:42:03.522453768 -0500
@@ -376,90 +376,6 @@
     g_object_unref(loader);
 }
 
-START_TEST(test_fedora)
-{
-    test_one("fedora");
-}
-END_TEST
-
-START_TEST(test_rhel)
-{
-    test_one("rhel");
-}
-END_TEST
-
-START_TEST(test_ubuntu)
-{
-    test_one("ubuntu");
-}
-END_TEST
-
-START_TEST(test_debian)
-{
-    test_one("debian");
-}
-END_TEST
-
-START_TEST(test_windows)
-{
-    test_one("windows");
-}
-END_TEST
-
-START_TEST(test_freebsd)
-{
-    test_one("freebsd");
-}
-END_TEST
-
-START_TEST(test_openbsd)
-{
-    test_one("openbsd");
-}
-END_TEST
-
-START_TEST(test_opensuse)
-{
-    test_one("opensuse");
-}
-END_TEST
-
-START_TEST(test_centos)
-{
-    test_one("centos");
-}
-END_TEST
-
-START_TEST(test_gnome)
-{
-    test_one("gnome");
-}
-END_TEST
-
-START_TEST(test_altlinux)
-{
-    test_one("altlinux");
-}
-END_TEST
-
-START_TEST(test_mageia)
-{
-    test_one("mageia");
-}
-END_TEST
-
-START_TEST(test_sles)
-{
-    test_one("sles");
-}
-END_TEST
-
-START_TEST(test_sled)
-{
-    test_one("sled");
-}
-END_TEST
-
 static Suite *
 list_suite(void)
 {
@@ -467,20 +383,6 @@
     TCase *tc = tcase_create("Core");
     tcase_set_timeout(tc, 20);
 
-    tcase_add_test(tc, test_fedora);
-    tcase_add_test(tc, test_rhel);
-    tcase_add_test(tc, test_ubuntu);
-    tcase_add_test(tc, test_debian);
-    tcase_add_test(tc, test_windows);
-    tcase_add_test(tc, test_freebsd);
-    tcase_add_test(tc, test_openbsd);
-    tcase_add_test(tc, test_opensuse);
-    tcase_add_test(tc, test_centos);
-    tcase_add_test(tc, test_gnome);
-    tcase_add_test(tc, test_altlinux);
-    tcase_add_test(tc, test_mageia);
-    tcase_add_test(tc, test_sles);
-    tcase_add_test(tc, test_sled);
     suite_add_tcase(s, tc);
     return s;
 }