Show last authors
1 = {{id name="AdaptingFancyLibs&MinGW-PkgfromDebian9Stretchto10Buster,Mingw-7toMingw-8-Introduction"/}}Introduction =
2
3 About every 2 years Debian introduces a new release.
4
5 At the time I'm writing this Debian [[Buster>>url:https://wiki.debian.org/DebianBuster||rel="nofollow" shape="rect" class="external-link"]] is on it's way from Full Freeze to GA.
6
7 The following notes shall provide the order in which FancyLibs shall be adapted and released for a new Debian release or maybe an Ubuntu release.
8
9 = {{id name="AdaptingFancyLibs&MinGW-PkgfromDebian9Stretchto10Buster,Mingw-7toMingw-8-AdaptingFancyLibstonewDebianRelease"/}}Adapting FancyLibs to new Debian Release =
10
11 The steps per sub project are the same as described for "HelloWorld projects* in [[doc:PBA.Adapting PBA to new Debian Release.WebHome]], with -o unix (before [[MinGW>>doc:MINGW64.WebHome]] adaption) or -o "arch|unix|7" after MinGW adaption.
12
13 === {{id name="AdaptingFancyLibs&MinGW-PkgfromDebian9Stretchto10Buster,Mingw-7toMingw-8-FancyLibssubprojectrebuildorderphase1"/}}FancyLibs subproject rebuild order phase 1 ===
14
15 The recommended order for phase 1 (before MinGW adaptions) is:
16
17 (% class="wrapped" %)
18 |=(((
19 Project (subdir)
20 )))|=(((
21 Archs (-o parameter)
22 )))|=(((
23 Remarks general
24 )))|=(((
25 Status & Remarks stretch/buster
26 )))|=(((
27 Version with Buster
28 )))
29 |(((
30 fancylog
31 )))|(((
32 arch|8
33 )))|(((
34 \\
35 )))|(((
36 OK.
37 in pba-rpmrelease, call to rpmsign can be reduced to:
38 rpmsign ~-~-addsign -v ~-~-key-id 9...7 -D "%~_~_gpg /usr/bin/gpg" ../foobar-1.2.3-1.src.rpm
39 )))|(((
40 1.0.3-5
41 )))
42 |(((
43 cute-headers
44 )))|(((
45 arch|8
46 )))|(((
47 Data only, could be done anytime
48 )))|(((
49 OK
50 )))|(((
51 1.6.1-9
52 )))
53 |(((
54 fancylibs
55 )))|(((
56 arch
57 )))|(((
58 \\
59 )))|(((
60 OK. libstdc++-8-dev
61 )))|(((
62 3.7.3-1
63 )))
64 |(((
65 fancydb
66 )))|(((
67 -
68 )))|(((
69 Unix only
70 )))|(((
71 OK
72 )))|(((
73 0.6.5-7
74 )))
75 |(((
76 fancydrawing
77 )))|(((
78 arch
79 )))|(((
80 \\
81 )))|(((
82 OK
83 )))|(((
84 0.6.2-3
85 )))
86 |(((
87 fancygpsdclient
88 )))|(((
89 unix
90 )))|(((
91 \\
92 )))|(((
93 OK
94 )))|(((
95 0.4.3-5
96 )))
97 |(((
98 fancyhttpd
99 )))|(((
100 arch
101 )))|(((
102 \\
103 )))|(((
104 OK
105 )))|(((
106 0.8.0-2
107 )))
108 |(((
109 fancylogd
110 )))|(((
111 unix
112 )))|(((
113 \\
114 )))|(((
115 OK
116 )))|(((
117 0.1.0-3
118 )))
119 |(((
120 fancylogview
121 )))|(((
122 .
123 )))|(((
124 Debian unix & amd64 only
125 )))|(((
126 Half OK: Does not build for armhf, maybe never did, libqt4-dev seems incomplete for arm
127 )))|(((
128 0.3.0.5
129 )))
130 |(((
131 fancypkcs11
132 )))|(((
133 unix
134 )))|(((
135 Debian unix & amd64 only
136 )))|(((
137 Half OK: Does not build for armhf, maybe never did
138 )))|(((
139 0.4.1-1
140 )))
141 |(((
142 fancypcsc
143 )))|(((
144 unix
145 )))|(((
146 Debian unix & amd64 only
147 )))|(((
148 Half OK: Does not build for armhf, maybe never did
149 )))|(((
150 0.2.5-2
151 )))
152 |(((
153 fancymodbus
154 )))|(((
155 unix
156 )))|(((
157 \\
158 )))|(((
159 OK
160 Required minor adaption, with libmodbus-dev going from 3.0.6 to 3.1.4
161 )))|(((
162 0.2.4-3
163 )))
164 |(((
165 fancysax
166 )))|(((
167 arch
168 )))|(((
169 \\
170 )))|(((
171 OK
172 )))|(((
173 0.6.1-7
174 )))
175 |(((
176 fancyqt4
177 )))|(((
178 arch
179 )))|(((
180 \\
181 )))|(((
182 OK
183 )))|(((
184 0.9.3-3
185 )))
186 |(((
187 fancyqt4widgets
188 )))|(((
189 arch
190 )))|(((
191 \\
192 )))|(((
193 OK
194 )))|(((
195 0.5.2-2
196 )))
197 |(((
198 fancysane
199 )))|(((
200 unix
201 )))|(((
202 \\
203 )))|(((
204 OK, but libsane-dbg not available for buster. Reduced that to suggestion
205 )))|(((
206 0.3.2-5
207 )))
208 |(((
209 fancyqmi
210 )))|(((
211 unix
212 )))|(((
213 Debian unix & amd64 only
214 )))|(((
215 Half OK: Does not build for armhf, maybe never did
216 )))|(((
217 0.2.1-5
218 )))
219 |(((
220 fancyssl-tools
221 )))|(((
222 unix
223 )))|(((
224 \\
225 )))|(((
226 OK?
227 )))|(((
228 0.4.0-5
229 )))
230
231 Tests with released Buster on 2019-08-02 showed that all unix builds work for amd64, most work for armhf.
232
233 === {{id name="AdaptingFancyLibs&MinGW-PkgfromDebian9Stretchto10Buster,Mingw-7toMingw-8-MinGW-Pkgrebuilds"/}}MinGW-Pkg rebuilds ===
234
235 Stretch came with Mingw 7, Buster comes with Mingw 8, so we should rebuild that carefully, pulling up versions of libraries.
236
237 Order based on [[doc:MINGW64.mingw 6 rebuild order.WebHome]]
238
239 (% class="wrapped" %)
240 |=(((
241 Project (mingw-pkg subdir pattern)
242 )))|=(((
243 Dep.
244 )))|=(((
245 Version in mingw-pkg MinGW-7 Stretch
246 )))|=(((
247 Version in mingw-pkg MinGW-8 Buster
248 )))|=(((
249 Buster status
250 )))
251 |(((
252 (osslsigncode)
253 )))|(((
254 -
255 )))|(((
256 -
257 )))|(((
258 -
259 )))|(((
260 ignored
261 )))
262 |(((
263 mingw-w64-binutils / binutils-mingw-w64
264 )))|(((
265 \\
266 )))|(((
267 - (2.27.90.20161231-1+7.4)
268 )))|(((
269 - (2.31.1-11+8.3)
270 )))|(((
271 provided by Debian now
272 )))
273 |(((
274 (mingw-w64-libmysql)
275 )))|(((
276 \\
277 )))|(((
278 - (6.1.11-1clazzespba1)
279 )))|(((
280 - (6.1.11-1clazzespba2)
281 )))|(((
282 obsolete since mingw-6, empty now
283 )))
284 |(((
285 mingw-w64-libmariadb
286 )))|(((
287 \\
288 )))|(((
289 -
290 )))|(((
291 -
292 )))|(((
293 not required for now
294 )))
295 |(((
296 mingw-w64-gcc-rt
297 )))|(((
298 \\
299 )))|(((
300 6.3.0,
301 uses Debian's g++-mingw64-*
302 )))|(((
303 8.3.0 (-6+21.3~~deb10u1),
304 uses Debian's g++-mingw64-*
305 )))|(((
306 OK
307 )))
308 |(((
309 mingw-w64-zlib
310 )))|(((
311 mingw-w64-gcc-rt
312 )))|(((
313 1.2.11
314 )))|(((
315 1.2.11
316 )))|(((
317 OK after rules changes:
318 common-build-indep to build-indep,
319 common-install-indep to install-indep
320 )))
321 |(((
322 mingw-w64-openssl
323 )))|(((
324 mingw-w64-zlib
325 )))|(((
326 1.1.0f-0
327 )))|(((
328 1.1.1c
329 )))|(((
330 OK
331 )))
332 |(((
333 mingw-w64-libpng
334 )))|(((
335 mingw-w64-zlib
336 )))|(((
337 1.6.31
338 )))|(((
339 1.6.37
340 )))|(((
341 OK?
342 libtool: link: x86_64-w64-mingw32-gcc -O2 -Wall -o .libs/pngfix.exe contrib/tools/pngfix.o ./.libs/libpng16.dll.a -lz -L/usr/x86_64-w64-mingw32/lib
343 libtool: error: Could not determine the host path corresponding to
344 libtool: error: '.../mingw-pkg/trunk/mingw-w64-deb/mingw-w64-libpng-1.6.37/build/.libs'
345 libtool: error: Continuing, but uninstalled executables may not work. ...
346 )))
347 |(((
348 mingw-w64-libjpeg
349 )))|(((
350 mingw-w64-libpng
351 )))|(((
352 9b
353 )))|(((
354 9c
355 )))|(((
356 OK
357 )))
358 |(((
359 mingw-w64-libtiff
360 )))|(((
361 mingw-w64-libjpeg
362 )))|(((
363 4.0.8
364 )))|(((
365 4.0.10
366 )))|(((
367 OK
368 )))
369 |(((
370 mingw-w64-libmng
371 )))|(((
372 mingw-w64-libjpeg
373 )))|(((
374 2.0.3-2
375 )))|(((
376 2.0.3-3
377 )))|(((
378 OK
379 )))
380 |(((
381 mingw-w64-bzip2
382 )))|(((
383 mingw-w64-gcc-rt
384 )))|(((
385 1.0.6-3
386 )))|(((
387 1.0.6-4
388 )))|(((
389 OK
390 )))
391 |(((
392 mingw-w64-libboost
393 )))|(((
394 mingw-w64-bzip2
395 )))|(((
396 -
397 )))|(((
398 -
399 )))|(((
400 - (ignored)
401 )))
402 |(((
403 mingw-w64-libiconv
404 )))|(((
405 mingw-w64-gcc-rt
406 )))|(((
407 1.15-1
408 )))|(((
409 1.16-1
410 )))|(((
411 OK
412 )))
413 |(((
414 mingw-w64-libxml2
415 )))|(((
416 mingw-w64-libiconv
417 )))|(((
418 2.9.3-1
419 )))|(((
420 2.9.9-1
421 )))|(((
422 OK
423 )))
424 |(((
425 mingw-w64-gettext
426 )))|(((
427 mingw-w64-libxml2
428 )))|(((
429 0.19.8-1
430 )))|(((
431 0.20.1-1
432 )))|(((
433 OK
434 New patch {{code language="none"}}pthread_sigmask.m4{{/code}}.patch based on [[this post>>url:https://lists.gnu.org/archive/html/bug-gnulib/2019-05/msg00098.html||shape="rect"]].
435 \\
436 )))
437 |(((
438 mingw-w64-qt4-qmake
439 )))|(((
440 \\
441 )))|(((
442 4.8.7-0clazzespba1
443 )))|(((
444 4.8.7-1clazzespba0
445 )))|(((
446 OK
447 Builldep change: {{code language="none"}}libstdc++-6-dev{{/code}} to {{code language="none"}}libstdc++-6-dev{{/code}}
448 )))
449 |(((
450 mingw-w64-qt4
451 )))|(((
452 mingw-w64-qt4-qmake,
453 many of above
454 )))|(((
455 4.8.7-0clazzespba3
456 )))|(((
457 4.8.7-1clazzespba0
458 )))|(((
459 TBC ~~
460 Building without SSL support since mingw-7.
461
462 Needed these:
463 dpkg ~-~-add-architecture i386
464 apt-get update
465 apt-get install wine32
466 )))
467 |(((
468 mingw-w32-qt4-qmake
469 )))|(((
470 \\
471 )))|(((
472 4.8.7-0clazzespba1
473 )))|(((
474 4.8.7-1clazzespba0
475 )))|(((
476 Builldep change: {{code language="none"}}libstdc++-6-dev{{/code}} to {{code language="none"}}libstdc++-6-dev{{/code}}
477 OK
478 )))
479 |(((
480 mingw-w32-qt4
481 )))|(((
482 mingw-w32-qt4-qmake,
483 many of above
484 )))|(((
485 4.8.7-0clazzespba3
486 )))|(((
487 4.8.7-1clazzespba0
488 )))|(((
489 TODO
490 Building without SSL support since mingw-7.
491 )))
492 |(((
493 mingw-w64-jni-headers
494 )))|(((
495 \\
496 )))|(((
497 1.6.0-4clazzespba5
498 )))|(((
499 1.6.0-4clazzespba6
500 )))|(((
501 OK.
502 Using headers from OpenJDK-11 now.
503 Should we raise the version to 11?
504 )))
505
506 === {{id name="AdaptingFancyLibs&MinGW-PkgfromDebian9Stretchto10Buster,Mingw-7toMingw-8-TODOFancyLibssubprojectrebuildorderphase3"/}}TODO FancyLibs subproject rebuild order phase 3 ===
507
508 The recommended order for phase 2 (before MinGW-8 adaptions) is:
509
510 (% class="wrapped" %)
511 |=(((
512 Project (subdir)
513 )))|=(((
514 Archs (-o parameter)
515 )))|=(((
516 Buster Status
517 )))|=(((
518 Version with MinGW-8 package for Buster
519 )))|=(((
520 Remarks, changes
521 )))
522 |(((
523 fancylog
524 )))|(((
525 - (arch|8)
526 )))|(((
527 OK
528 )))|(((
529 1.0.3-7
530 )))|(((
531 \\
532 )))
533 |(((
534 cute-headers
535 )))|(((
536 - (arch|8)
537 )))|(((
538 OK
539 )))|(((
540 8_1.6.1-10
541 )))|(((
542 \\
543 )))
544 |(((
545 fancylibs
546 )))|(((
547 - (arch|8)
548 )))|(((
549 OK
550 )))|(((
551 3.7.3-2
552 )))|(((
553 In debian-mingw-8/rules:
554 # see [[https:~~/~~/bugs.debian.org/cgi-bin/bugreport.cgi?bug=930492>>url:https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=930492||shape="rect"]]
555 w32pcdir = /usr/i686-w64-mingw32/lib/pkgconfig
556 w64pcdir = /usr/x86_64-w64-mingw32/lib/pkgconfig
557 ...
558 common-build-indep::
559 cd $(w32builddir) && $(MAKE) arch="i686-w64-mingw32" PKG_CONFIG_LIBDIR=$(w32pcdir)
560 cd $(w64builddir) && $(MAKE) arch="x86_64-w64-mingw32" PKG_CONFIG_LIBDIR=$(w64pcdir)
561 )))
562 |(((
563 fancydrawing
564 )))|(((
565 - (arch|8)
566 )))|(((
567 OK
568 )))|(((
569 (% class="moz-quote-pre code" %)
570 (((
571 0.6.2-5
572 )))
573 )))|(((
574 In debian-mingw-8/rules:
575 # see [[https:~~/~~/bugs.debian.org/cgi-bin/bugreport.cgi?bug=930492>>url:https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=930492||shape="rect"]]
576 w32pcdir = /usr/i686-w64-mingw32/lib/pkgconfig
577 w64pcdir = /usr/x86_64-w64-mingw32/lib/pkgconfig
578 ...
579 common-build-indep::
580 cd $(builddir) && PKG_CONFIG_LIBDIR=$(w64pcdir) $(MAKE) arch=$(arch)
581 cd $(builddir32) && PKG_CONFIG_LIBDIR=$(w32pcdir) $(MAKE) arch=$(arch32)
582 )))
583 |(((
584 fancygpsdclient
585 )))|(((
586 - (unix|8)
587 )))|(((
588 OK
589 )))|(((
590 0.4.3-7
591 )))|(((
592 debian-mingw-8/rules adapted like above
593 )))
594 |(((
595 fancyhttpd
596 )))|(((
597 - (arch|8)
598 )))|(((
599 OK
600 )))|(((
601 0.8.0-3
602 )))|(((
603 debian-mingw-8/rules adapted like above
604 )))
605 |(((
606 fancylogd
607 )))|(((
608 - (unix|8)
609 )))|(((
610 OK
611 )))|(((
612 0.1.0-6
613 )))|(((
614 debian-mingw-8/rules adapted like above
615
616 Also had to add FANCYLOGD_COMMON_API in fancylogdVersion.cpp
617 )))
618 |(((
619 fancylogview
620 )))|(((
621 - (nsis directory)
622 )))|(((
623 OK
624 )))|(((
625 0.3.0.6
626 )))|(((
627 Deferred, depends on QT
628 )))
629 |(((
630 --fancypkcs11--
631 )))|(((
632 - (unix only)
633 )))|(((
634 -
635 )))|(((
636 -
637 )))|(((
638 Probably never build for MinGW, despite debian-mingw-?/ directories
639 )))
640 |(((
641 fancypcsc
642 )))|(((
643 - (arch|8)
644 )))|(((
645 OK
646 )))|(((
647 0.2.5-4
648 )))|(((
649 \\
650 )))
651 |(((
652 --fancymodbus--
653 )))|(((
654 - (unix only)
655 )))|(((
656 -
657 )))|(((
658 -
659 )))|(((
660 \\
661 )))
662 |(((
663 fancysax
664 )))|(((
665 - (arch|8)
666 )))|(((
667 OK
668 )))|(((
669 0.6.1-9
670 )))|(((
671 debian-mingw-8/rules adapted like above
672 )))
673 |(((
674 fancyqt4
675 )))|(((
676 - (arch|8)
677 )))|(((
678 OK
679 )))|(((
680 0.9.3-5
681 )))|(((
682 debian-mingw-8/rules adapted like above
683 )))
684 |(((
685 fancyqt4widgets
686 )))|(((
687 - (arch|8)
688 )))|(((
689 OK
690 )))|(((
691 0.5.2-3
692 )))|(((
693 debian-mingw-8/rules adapted like above
694 )))
695 |(((
696 --fancysane--
697 )))|(((
698 - (unix only)
699 )))|(((
700 -
701 )))|(((
702 -
703 )))|(((
704 \\
705 )))
706 |(((
707 --fancyqmi--
708 )))|(((
709 - (unix only)
710 )))|(((
711 -
712 )))|(((
713 -
714 )))|(((
715 \\
716 )))
717 |(((
718 fancyssl-tools
719 )))|(((
720 - (arch|8)
721 )))|(((
722 OK
723 )))|(((
724 0.4.0-6
725 )))|(((
726 debian-mingw-8/rules adapted like above
727 )))
728
729 === {{id name="AdaptingFancyLibs&MinGW-PkgfromDebian9Stretchto10Buster,Mingw-7toMingw-8-Obsoletesubdirs"/}}Obsolete subdirs ===
730
731 (% class="wrapped" %)
732 |=(((
733 Project (subdir)
734 )))|=(((
735 Remarks
736 )))
737 |(((
738 base64
739 )))|(((
740 never even built for stretch
741 )))
742 |(((
743 gpsfake-runner
744 )))|(((
745 shell scripts only
746 )))
747 |(((
748 jnix
749 )))|(((
750 never even built for stretch
751 )))
752 |(((
753 fancyxmlsock
754 )))|(((
755 Looks lke old experimental code now in fancysock
756 )))
757
758 \\
759
760 \\