forked from openSUSE/daps
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathChangeLog
1769 lines (1452 loc) · 70 KB
/
ChangeLog
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
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
-------------------------------------------------------------------
Tue Nov 06 10:50:26 UTC 2018 - [email protected]
Stable release DAPS 3.0.0:
* New Features:
- added support for ASCIIDOC sources
- added support for LibreOffice Draw images (*.odg)
- added support for specifying a config file on the command line
(with --config)
- added SVG support for HTML builds
- integrated hunspell and make aspell optional
- initial well-formedness check ignores duplicated IDs (this
allows to have identical IDs in parts that get profiled)
- initial well-formedness warns about missing xi:include files
- daps-autobuild now supports building single books (via the
--dcfiles option)
- DAPS prgram name and version are passed to stylesheets with
xslt parameters "converter.name" and "converter.version"
- implement file not found for XIncludes
- FOP and XEP version numbers are shown in debug/verbose output
- various improvements for the DocBook to NovDoc conversion
- split lib/daps_functions into several files to improve speed
and maintainability
* Bugfixes:
- #476: DAPS generates ODG->SVG files into images/src
- #475: Tab completion creates error
- #474: Potentially wrong variable assignment
- #437: lodraw tries to convert empty SVG
- #469: RPMLINT complains about permissions of XSLT stylesheet
- #468: xmlwellformed script creates RPMLINT warning
- #466: Build issues with daps-xmlwellformed
- #464: xmlformat incorrectly formats variablelist terms
- #462: Implement file not found for XIncludes
- #459: By default, use the xep-daps.xml configuration from
stylesheets
- #457: Ship the asciidoc postprocessing stylesheet
- #455: Transform glosslist into variablelist (NovDoc conversion)
- #453: Cleanup stylesheet for results from ASCIIDoctor
- #452: Make it possible to specify the ASCIIDOC doc type
- #439: Make xmlformat more verbose in debug mode
- #435: require java-devel >= 1.8.0
- #425: Well-formedness check fails with double occurrences
of xml:ids
- #424: Fix XML catalog generation
- #422: Integrate hunspell and make aspell optional
- #421: Show FOP and XEP version in debug/verbose output
- #419: HTML and PDF builds need different paths for Admonition
and Callout Images
- #416: DAPS Won't Built With UTF-8 Characters in XML Filenames
- #415: Add support for LibreOffice Draw files
- #397: Spaces in path problem
- #322: Add documentation for --xmlonly / --imgonly switches
for the list-srcfiles subcommand
- #226: Let stylesheets know which version of DAPS calls them
- #119: daps-init: also include example for set
- show a warning when an existing PDF has a size of 0 bytes
(usually the result of a failed FOP build)
- PDF fails when static links in build/.tmp already exist
- fixed DocBook identifiers in configure.ac
- made unpack-lopcdrop more robust against non-critical issues;
improved its debugging output
* Documentation:
-new guide: ASCIIDOC Quick Start
- Various updates to reflect changes in the code
- Improve help text for daps-xslt
- Improve error message for IDs defined multiple times
* Removed support for:
- sourcing DC-files
- help texts for deprecated daps 1.x commands
* Misc:
- converted Python scripts to Python 3; changed build
dependencies to python3
-------------------------------------------------------------------
Tue May 30 12:32:26 UTC 2017 - [email protected]
Stable release DAPS 2.4.0:
* New Features:
- added a dependency checker for DAPS (/usr/bin/daps-check-deps)
that makes it easy to check for missing programs/packages
- added a "--lean" parameter to PDF generation for creating PDFs
with a reduced file size (by reducing the quality of included
images); useful for sharing PDFs via e-mail
- added a srylesheet for returning all IDs from an XML file
(daps-xslt/common/get-all-xmlids.xsl)
* Bugfixes:
- #408: The list-file-* commands now work with ROOTIDs from all
possible elements
- #390: When an ID appears twice in the XML and this ID is used
with --rootid, DAPS's error message is unhelpful
- #365: Improved error messages on "File not found" errors
(now tells whether the path was provided by command-line
or config file)
- #371: Make path to the xmlformat config file configurable
- #372: Adjusted debian dependency list
- #373: Check unpack-locdrop
- #379: Output error of list-images-multisrc with
pretty | wc option
- #380: Proper error messages when binaries/packages are missing
- #392: daps-xmlformat writes name of config file into output
- SVGs were not included in ePUBs
(https://bugzilla.suse.com/show_bug.cgi?id=1006204)
- Setting a default value for db5_version in configure.ac
otherwise the DB5 URN in etc/config will be set to an invalid
value if DB5 is not installed when running make
- fixed a few minor issues with the config file parser that was
introduced with 2.3.0 (among them #387)
- Increased Java stacksize for jing
- Improved the DocBook5 -> DocBook 4 (-> NovDoc) conversion
- compatibility: Debian's version of "which" does not support
long parameters
* Documentation:
- Various updates to reflect changes in the code
- #345: added documentatioon for the xmlformat subcommand
- #362: added documentation for the --jobs option
- #363: added documentation about building a bigfile from
invalid sources
- #364: added documentation for the --norefchecks option
- #403: improved documentation about stylesheet customizing
(also see #407)
- #404: clarify doc about listing unused images
- completely revised the doc (spelling, language and grammar)
- doc is not yet 100% on par with the code, but we are getting
closer
* Compatibility:
- successfully tested DAPS on Linux Mint 18.1
-------------------------------------------------------------------
Fri Aug 04 12:36:01 UTC 2016 - [email protected]
Stable release DAPS 2.3.0:
* New Features:
- Config File Parser:
Up to now, config files (DC-files, /tec/daps/config and
~/.config/daps/dapsrc) have been sourced. This has been a major
security issue, since every shell code gets executed when a file
is being sourced. DAPS 2.3.0 now comes with a parser that fixes
this security hole. Apart from one exception (see below) existing
config files do _not_ need to be changed. However, the parser
offers more flexibility, see
https://github.com/openSUSE/daps/blob/develop/etc/config.in
for documentation (the manuals has not been upfdated, yet).
The only exception that requires changes in the config file is
something like FOO="$FOO bar" To concatenate values, use "+="
now. See the following commit for an example:
https://github.com/openSUSE/daps/commit/7a2ce04
- Bash Completion:
TAB-completion for DAPS has been one of the very first feature
requests we opened (almost five years ago). Now we finally
managed to conquer the black Bash magic required to get it!
- Automatically detect the DocBook 5 version: If you have
DocBook 5.1 installed, docbookxi.rng from 5.1 will
automatically be used as the validating schema for DocBook 5
documents. If you rather want to use the 5.0 schema
or a custom schema, set DOCBOOK5_RNG_URI accordingly in
/etc/daps/config (for a system wide configuration), in
$HOME/.config/daps/dapsrc (for a user specific configuration),
or in the DC-file (for a document-specific configuration)
* Bugfixes:
- subcommand "locdrop" failed when the book did not include
images
- spellcheck now ignores text in <replaceable> tags
- obsolete daps-susespell has been removed (replaced by
daps ... spellcheck long ago)
- paths starting with "~" were not always correctly resolved
- several fixes for ePUB, among them a fix that now correctly
chooses mediaobject entries with role="html" rather than
choosing the first one listed ion the XML source
- #10 : Generate TAB completion
- #359: Drop bash 3 suppor
- #369: Code review: Check Variable Assignments
- #375: Issues with the xmlformat target
-------------------------------------------------------------------
Wed Jun 15 11:58:00 UTC 2016 - [email protected]
Stable release DAPS 2.2.0:
* New Features:
- new subcommand "xmlformat" prettyfies the XML sources of a
given DC-file or ROOTID using daps-xmlformat with
/etc/daps/docbook-xmlformat.conf.
(Note: this command will modify the original XML sources!)
- SVG image support for HTML builds. To use it, make sure to
provide the images in SVG format ad reference to them as follows:
<imageobject role="html">
<imagedata fileref="<SVG-FILE>" format="SVG"/>
</imageobject>
- the new global switch --jobs lets you specify how many parallel
jobs to use. The default is set to the number of CPU cores (as was
done in previous versions).
- all commands generating file lists (e.g. "list-srcfiles") now
generate human readable output on STDOUT. When the output goes
to a pipe or subshell, it will be generated as a a one-liner.
- Debugging of XML errors has been made easier. Sometimes the error
message of the validator only points to an xi:include line, making
it impossible to find the real location of the error. The option
--novalid for the target "bigfile" will create the bigfile
without performing a validation check on the sources. A single XML
will be built and validated. Now the error message points to the
exact location of the error in the bigfile. From there it should be
easy to find the error in the original sources.
- Verbose and debugging output now also show all profiling
attributes set in the DC-file, plus version information for
the sytlesheets (if available)
- added the option --norefchecks to all output-generating targets
("html", "pdf", ...), "validate", "bigfile" and others. Allows
to build/validate documents without checking internal links
(<... linkend="<ID>">).
- subcommand "online-docs" now always converts the bigfile that is
created to NovDoc. To keep the same format as the original
sources, specify --dbnoconv. To create a DocBook4 bigfile from
DocBook5 sources, specify --db5todb4.
* Bugfixes:
- #368: db4tonovdoc.xsl generates invalid NovDoc
- #367: daps does not validate fop output
- #366: Spellcheck trying to check the files "Cannot", "stat:", "No",
"such", "file" ...
- #364: DocBook5: Allow validating without checking xrefs
- #363: Allow building a bigfile from invalid sources
- #362: Make the number of parallel jobs configurable
- #361: Externel xrefs are resolved to "????"
- #360: Check Rootid fails on Debian 8.4.0
- #356: file list output should default to pretty format
- #354: Validate the result of online docs when it has been
converted from DB5 to DB4 or novdoc
- #353: Make db5 to db4 conversion default for online-docs
- #351, #348, #342, #282: Fixes for the daps spec-file
- #346: daps-xmlformat writes its messages into the output
- #343: daps-init warning messages
- #340: ePUB builds always show remarks
- #335: on Debian, make install creates incorrect group in
/etc/xml/config
- #330: Enable SVG2Grayscale stylesheet to handle new color
names
- #305: locdrop produces no "non-trans" image tarball for a
complete set
- #301: SVG to PNG conversion creates very large PNGs
- #289: Verbose / Debugging Output Should Show Profiling
Attributes
- #251: Write XSLT to Return xml-model PI
- #226: Let stylesheets know which version of DAPS calls them
- subcommand "clean-all" fails if run from within a directory
that will be removed with that command
- daps fails when called from a directory that no longer exists
* Cross-Distribution Support
- first release with full Debian/Ubuntu support--manual
adjustments after the installation are no longer needed
(was required in previous releases for DocBook5 support).
Many thanks to Tomáš Bažant and Christoph Berg for their help!
- GitHub checkouts now also work for Fedora/RedHat and
Debian/Ubuntu--refer to
https://github.com/openSUSE/daps/blob/develop/INSTALL.adoc
for details
- tested on Debian 8.5.0 / Fedora 23 / openSUSE 13.2 and
Leap 42.1 / SUSE Linux Enterprise 12 / Ubuntu 16.0
* Misc:
- removed "daps-envconvert", a script for converting susedoc
ENV-files to DAPS DC-files. susedoc was the predecessor of
DAPS.
* Documentation:
- the documentation has _not_ been updated for this release, so
new features mentioned above are not yet covered
-------------------------------------------------------------------
Mon Dec 07 14:43:47 UTC 2015 - [email protected]
Stable release DAPS 2.1.5:
* New Features:
- parameters for text generation can be set in the config files
via TXT_PARAMS or via --param/--stringparam on the command line
- a change introduced in 2.0 made using the original DocBook
stylesheets for text generation the default. Since this behavior
is confusing and unexpected, it is reverted with this change:
* the stylesheets configured via STYLEROOT or --styleroot are
used by default for text generation
* to ignore _any_ STYLEROOT definitions, set
TXT_IGNORE_STYLEROOT="yes" in the config files or use
--ignore-styleroot on the command line
(daps -d <DC> text --ignore-styleroot)
* Bugfixes:
- Fix for issue #294: xmlcatalog returns file:<PATH> rather than
file://<PATH> on Debian Jessie and openSUSE Tumbleweed and
caused DAPS to fail with DB5 sources
* Misc
- added basic debugging output to test suite (--debug)
-------------------------------------------------------------------
Tue Dec 02 13:01:00 UTC 2015 - [email protected]
Stable release DAPS 2.1.4:
Find issues in our GitHub tracker at
https://github.com/openSUSE/daps/issues/NUMBER
* Bugfixes:
- Target text shows remarks (issue #293)
- DAPS checklink doesn't work (issue #296)
- ASPELL_EXTRA_DICT from ~/.config/daps/dapsrc is ignored
(issue #297)
- DAPS package includes SUSE wordlist (issue #298)
- Parameter passed with --param is ignored with subcommand "text"
(issue #299)
- Target locdrop does not generate
graphics-setfiles-$(DOCNAME)$(LANGSTRING).tar.bz2 (issue #302)
- Translation check for locdrop (issue #306)
- Add --optipng to unpack-locdrop (issue #307)
- Add --xmlonly / --imgonly switches to list-srcfiles (issue #310)
- bigfile creates unresolved xrefs for DocBook5 (issue #314)
- Improve DocBook5 -> DocBook4 -> Novdoc Stylesheets (issue #311)
- Enhancements in user guide, thanks to Martin Koeditz (issue #315)
- FO contains wrong image paths when XML contains no profiling PI
(issue #316)
- DB-4-to-5 migration: missing book
titles/productnames/productnumbers (issue #319)
* New Features:
- Option --schema lets you specify an URN to a DocBook 5 schema that
is to be used for validation. Will be ignored when validating
Docbbok4 documents.
- DOCBOOK5_STYLE_URI, DOCBOOK5_STYLE_URI, and DOCBOOK4_STYLE_URI
may now also point to a local file. If the URN begins with the
prefix "file://", it will not be resolved via xmlcatalog, but
rather taken as is (minus "file://").
- Add conversion options to online-docs:
. --db5todb4: converts DocBook 5 sources to a DocBook 4 bigfile
. --db5todb4nh: converts DocBook 5 sources to a DocBook 4 bigfile
without a DOCTYPE declaration
. --dbtonovdoc: converts DocBook 4/5 to Novdoc
* Misc:
- Do not set -nocs, hurts us when building Arabic
(related: issue #108)
- Avoid adding version attribute on all elements (commit 3a273d5)
-------------------------------------------------------------------
Tue Sep 22 11:28:03 UTC 2015 - [email protected]
Stable release DAPS 2.1.3:
* Bugfixes:
- Fix for issue #284 (spellcheck / getimages use wrong filelist
when called with --debug
- "--param" and "--stringparam" were missing for the subcommands
package-pdf and package-html
- all warning messages now go to STDERR, making it possible to
always catch the output of a DAPS command with FOO="$(daps...)
* Misc:
- added a wrapper for jing allowing to customize java flags,
jars, and options
- standardized customising options for all java programs (fop,
jing, xep)
-------------------------------------------------------------------
Tue Aug 4 09:28:03 UTC 2015 - [email protected]
Stable release DAPS 2.1.2:
* Bugfixes:
- man page for daps-init was named daps_init
* Misc:
- renamed daps_autobuild to daps-autobuild for consistency
-------------------------------------------------------------------
Fri Jul 10 07:47:38 UTC 2015 - [email protected]
Stable release DAPS 2.1.1:
* Bugfixes:
- Fix for issue #274 (PDF Index Building Fails Because of Empty
Profiling Directory)
- fix for issue #275 (Avoid Same Target Names in Different
Makefiles)
- fix for issue #276 (PROFILE_URN Detection Depends on Position of PI
in Document)
- fix for issue #277 (Debugging Targets Fail when xml:lang is
not set)
- fix for issue #278 (Avoid Using "LANGUAGE" as a Variable Name)
- fix for issue #280 (Webhelp: Common/ Directory Contains Dead
Symbolic Links)
* New Features:
- added support for profiling attribute "outputformat" by
intrducing PROFOUTPUTFORMAT (issue #279)
* Miscellaneous:
- replaced Chinese font "FZSongTi" with "wqy-microhei" in the
default config file for XEP
(XEP_CONFIG_FILE=etc/xep/xep-daps.xml)
-------------------------------------------------------------------
Thu Jul 02 14:38:11 UTC 2015 - [email protected]
Stable release DAPS 2.1:
- added support for webhelp
Please note the following when using the DocBook webhelp
stylesheets:
* building with ROOTID should be avoided (does not generate
sidebar)
* building webhelp is slow, speed up by adjusting the chunk size,
recommended parameters are
"chunk.fast 1" and "chunk.section.depth 0"
- added support for <xi:include ... parse="text"> (issue #71)
- handling of passing XSLT parameters on the command line has been
improved (issue #263), use
* --param "KEY=VALUE" and --stringparam "KEY=VALUE"
* use of --xsltparam still supported for compatibility reasons, but
should be avoided; support will be removed in future versions
* each parameter can be specified multiple times
* bopth parameters are supported for the following subcommands:
epub, html, man, pdf, text, webhelp
* changes only apply to the command-line - settings in the DC-file
still need to be done with XSLTPARAM as before
- improved handling of documents that do not need to be profiled
- daps_autobuild: changed the order of builds to increase performance
- Bugfix package-src: removed extraneous text
- Bugfix daps_autobuild: in case no rebuild was necessary, rsync
deleted the previous results
- Bugfix DB4 -> DB5 migration: Fixed various issues in the migration
stylesheet
-------------------------------------------------------------------
Fri Jun 19 09:21:31 UTC 2015 - [email protected]
Stable release DAPS 2.0:
- supporting rng _and_ rnc schemas for validation with jing
- added a --debug switch and error reporting to daps_autobuild
- moved a --meta related warning so it does not get displayed
when running a *-name subcommand
- fixed a quoting issue in daps-migrate and daps_functions
- fixed an error in the DB4->DB5 migration stylesheet (formatting
was lost on <term> tags)
-------------------------------------------------------------------
Tue Jun 10 13:50:00 UTC 2015 - [email protected]
New release DAPS 2.0~rc7
- replaced daps-auto.pl with daps_autobuild
* uses an XML file as a config file (can be validated with
schema that is also provided)
* supports git _and_ svn repos
- DB5 fix for target productinfo
- locdrop target can now read information about translated files
from in-file tag provided by docmanager
- fixed two issues in the unpack-locdrop target
- fixed stylesheet issues when using saxon as a parser
- Added missing dependency on $(RESULT_DIR) for epub
- bash code cleanup
- Changed default DB5 schema from docbook.rng to docbookxi.rng
(supports xi:includes)
- Documentation: now covers all 2.0 changes
-------------------------------------------------------------------
Tue Apr 27 16:26:00 UTC 2015 - [email protected]
New release DAPS 2.0~rc6
* Bugfix: Due to an error in Makefile.am, the contents of
daps_xslt/relnotes were installed to daps_xslt/xhtml and
vice versa.
-------------------------------------------------------------------
Tue Apr 21 12:58:00 UTC 2015 - [email protected]
New release DAPS 2.0~rc5
- various fixes for ePUB:
-ePUB 2 builds without warnings/errors in epubcheck
-ePUB3 shows a few warnings/errors in epubcheck resulting from
errors in the stylesheets
-make sure ePUB gets a correct date format (YYYY-MM-DD)
- stylesheets for mallard and desktop file generation can now handle
DocBook 5
- fixed for PDF: callout graphics were not shown when using the
DocBook stylesheets
- adjusted the test suite; made sure all tests are passed
- man pages for daps-init, daps-susespell and daps-envconvert will
now be correctly installed
- added various XSLT parameters to the documentation's DC-files to
make them look better when build with the upstream stylesheets
-------------------------------------------------------------------
Tue Apr 14 14:26:00 UTC 2015 - [email protected]
New release DAPS 2.0~rc4
- various fixes for the man pages
- improved the make code
-------------------------------------------------------------------
Mon Apr 13 11:00:00 UTC 2015 - [email protected]
New release DAPS 2.0~rc3
- Full support for DocBook 5 now (finally)
- Moved DAPS user config directory to ~/.config/daps/. The config file
has been renamed to dapsrc (the user will be notified and DAPS will
automatically do the move if the user agrees)
- all of DocBook's profiling attributes are no supported
- Various build fixes to make it work on Debian Wheezy, Fedora 20/21
openSUSE 13.x, SLE 12, and Ubuntu 14.10
- tested DAPS on Debian Wheezy, Fedora 20/21 and Ubuntu 14.10
- Added script and stylesheets to migrate DocBook4 projects to
DocBook 5 (libexec/daps-migrate)
- various fixes and improvements for bin/daps-init
- Added support for local static/ directories
- Established new locdrop workflow
- Fixed daps-init
- strings passed with --xsltparam no longer need to be uoted with double
and single quotes--only use double quotes now
- Definied DAPS version for major, minor, and micro (configure.ac)
. Introduced daps_version_{major,minor,micro} substitutions
. Corrected URL from SourceForge to GitHub
. Used DAPS version in AC_MSG_NOTICE
- Unified copyright statements
- Let configure change the Version in entity-decl.ent
- Created DOCTYPE and PI node manually for daps-xslt/profiling/
stylesheets
- Added more testcases, fixed erfrors in test cases
- Significant documentation updates for version 2.0
- version string in manuals and man pages is now automatically set by
configure/make
- provided useful READMEs in ASCII Doc format
- Support for both, /usr/bin/xml (SUSE) and /usr/bin/xmlstarlet (Ubuntu)
Bug fixes:
- issue#151: Detect DocBook XSL Stylesheet Version in daps
- issue#157: Add option for optimising PNG files for targets locdrop and
package-src
- issue#223: Paths starting with ~ are now correctly resolved
- issue#227: Made --static for HTML builds the default
- issue#230: Moved DAPS config to ~/.config/daps/
- issue#249: Added support for all missing profiling attributes supported
by DocBook
- issue#250: building Japanese text format requires external LANG
setting
- issue#253: Implement Migration Stylesheets from DocBook 4 <-> DocBook 5
- issue#260: Removed project-web directory (moved into gh-pages branch)
- check for embedded fonts in PDF now works correctly
- ASPELL_LANG no longer gets overwritten with value from XML document if
set in config or on the command line
- package-html no longer fails when called with --draft
- DocBook5 validation now works correctly
- epub is now correctly generated (STYLEIMG was not always set)
- existing man page builds were duplicated rather than overwritten
Project:
- project moved to GitHub
- Moved all stylesheet related files to github://openSUSE/suse-xsl
- obsolete docmanager code has been removed from the repository
- source clean-up
- source changes are tested with Travis
TODOs:
- test DocBook 5 with the latest DAPS develop version
- review DAPS documentation
- check existing test cases, add test cases for DocBook5
- add tests to Travis integration service
- Integrate manpage fixes from feature branch
- Integrate make improvements from feature branch
-------------------------------------------------------------------
Thu Aug 14 11:09:36 UTC 2014 - [email protected]
New release DAPS 2.0~rc2
- EPUB 3 builds now succeed
- Mobipocket builds succeed again
- "static" directories are now expected to be located within
specific subfolders of the chosen style root
- EPUB now supports "static" folders
-------------------------------------------------------------------
Fri Aug 1 11:56:05 UTC 2014 - [email protected]
- Changing the version number from "RC1" to "rc1" because the
uppercase form is considered to be older than the previous release
"beta8". No code change.
-------------------------------------------------------------------
Wed Jul 30 08:27:09 UTC 2014 - [email protected]
New release DAPS 2.0~RC1:
- Language string in resulting filenames is no longer transformed to
lowercase but taken as specified in MAIN (needed for Release Notes)
-------------------------------------------------------------------
Wed Jul 23 14:59:13 UTC 2014 - [email protected]
New release DAPS 2.0~beta8:
- Added two stylesheets to daps-xslt/relnotes needed to build
release-notes
-------------------------------------------------------------------
Thu Jun 26 15:31:56 UTC 2014 - [email protected]
New release DAPS 2.0~beta7:
- Reverted the change that was introduced with beta6, since
the libxml2-2 patches have been removed - they broke too many
applications
- apart from a minor change in the automake setup this release is
identical to beta5
-------------------------------------------------------------------
Wed May 21 14:36:57 UTC 2014 - [email protected]
New release DAPS 2.0~beta6:
- Fixed fatal error:
an update of libxml2 changed the behaviour of xmllint's
entity handling which made it necessary to add --noent
to the xmllint calls that check whether the sources are
well-formed
-------------------------------------------------------------------
Wed Apr 23 15:31:09 UTC 2014 - [email protected]
New release DAPS 2.0~beta5:
- fully supporting the suse-doc-style-checker (target stylecheck)
- fix for "online-docs": only tar'ing png and jpg if respective
images are available
- fix for ticket #225 (Misleading error message when xml files do
not reside in a directory named xml/)
- fix for ticket #218 (Improve error handling for --rootid
parameter)
- added tests for targets "package-html and "package-pdf"
- resulting filenames for package-html and package-pdf can now
be queried via "showvariable"
-------------------------------------------------------------------
Fri Mar 14 16:11:06 UTC 2014 - [email protected]
New release DAPS 2.0~beta4:
- replace special characters (such as space or "/") from
profiling attributes with "_" when generating the profiling
directory path
- Made profiling depend on the DC file, too, to ensure a rebuild
is triggered whenever the DC file changes
- STYLEIMG was set in a way that it had an incorrect value in case
a fallback STYLEROOT directory was used
- Improved error message when not being able to determine DocBook
version
- spec file:
* require xmlstarlet
* remove emacs-psgml recommendation
* svg-dtd package has been renamed to svg-schema
-------------------------------------------------------------------
Sat Dec 21 21:30:10 UTC 2013 - [email protected]
New release DAPS 2.0~beta3:
Features:
- Use original HTML DocBook Stylesheets for txt output by default:
* use custom stylesheets by setting TXT_USE_DBSTYLES to "no"
Bugfixes:
- STYLEROOT and FB_STYLEROOT definitions in the config files were
checked even if values were specified on the command line
(ticket #211)use custom stylesheets by setting TXT_USE_DBSTYLES
to "no"
- JSP result directory was incorrect when no profiled MAIN existed
(ticket #212)
- PDF was not copied to the result dir when running package-pdf
- Improved error message when having specified a second bareword
after the subcommand (ticket #185)
-------------------------------------------------------------------
Thu Dec 12 11:48:18 UTC 2013 - [email protected]
Bugfix release DAPS 2.0~beta2:
- two fixes for package-html and package-pdf:
* ticket #208 package-pdf and package-html should support...
* ticket #209 package-html --jsp is broken
-------------------------------------------------------------------
Fri Dec 6 20:39:09 UTC 2013 - [email protected]
Version DAPS 2.0~beta1:
- First beta for a new major release
Output targets:
---------------
* the number of subcommands has been significantly reduced, see
"daps --commands", "daps help" and "daps help <SUBCOMMAND>" for
more information
- "html-single" has been replaced by "html --single"
- "jsp" has been replaced with "html --jsp"
- "color-pdf" has been replaced by "pdf" (now produces color PDFS)
- "pdf" has been replaced by "pdf --grayscale --cropmarks"
- "projectfiles" and "projectgraphics" have been replaced with
"list-srcfiles" (see daps help "list-srcfiles" for more options)
- all dist-* commands have been removed
- when calling deprecated targets, an error message hinting at a
valid alternative (is existing) is shown
* subcommand bigfile now generates a bigfile for the given rootid
(rather than for the complate set); target bigfile-reduced has been
dropped
* subcommands package-pdf and package-html now have switches
--documentfiles, --desktopfiles and --pagefiles which generate
the resource files for GNOME and KDE
* new subcommands
- "clean-package" removes all generated package data for the given
DC-file. Generated images and profiled sources will _not_ be
deleted.
- "dapsenv" shows a list of the most important make variables
and their values
- "images" generates images only for a given rootid. Intended for
debugging purposes
- "package-src" (creates a tarball with profiled XML sources and
images); switch --set-date allows to specify a build date (default
date is "now")
- "list-file" lists the filename that contains the ID specified
with the mandatory parameter --rootid.
* ePUB generation has been completely rewritten (pure make solution,
no longer uses the ruby script from upstream); generated ePUBs
now validate with epubcheck3.
- added support for .mobi (Amazon Kindle format). Requires calibre.
(ticket #98)
* replaced support for HTML4 with support for HTML5 (--html5)
xhtml remains the default, html4 is no longer supported
* to nullify a CSS-file definition for HTML or EPUB (HTML_CSS or
EPUB_CSS) from the DC-file, specify "--css none"
Miscellaneous:
--------------
* now supports XSLT processor saxon6 (in addition to xsltproc),
specify with --xsltprocessor (default: xsltproc)
* improved verbosity handling:
- if output is not a terminal (e.g. pipe) only prints the
resulting filename (-v0)
- default verbosity shows a result message plus filename (-v1)
- -v2 shows additional messages
- -v3 shows the complete make output from make -j1 (commands are
executed successively, not parallel)
- --debug shows the complete make output from make -j1+x
(commands are executed parallel; this also shows in the debug
output)
* added support for JPG images (ticket #101)
* added support for a "static/" directory in STYLEROOT containing
css, js and images that are reference in the CSS and the
stylesheets for HTML
* New general switch --commands shows all available subcommands
* if the XML sources are not well-formed, a meaningful error
message is shown
* xsltparameters have to be submitted as --param PARAM=VALUE or
--stringparam PARAM=VALUE (the "=" is mandatory, used to be
a "space2 with DAPS 1.x)
* output formats are only re-generated when the source files
(xml, entity files or images) have changed. To force a rebuild
run DAPS with --force or run a suitable clean command
* added switches --author and --productname switches to daps-init
Config file changes:
--------------------
* New config file variables:
COVERT_OPS_JPG: command-line options for "convert" for converting
jpg images to grayscale
FOP_STACKSIZE: set stacksize for fop (ticket #82)
META, META_STR: permanently run html and PDF builds with
--meta
STATIC_DIR: custom static directory
XML_USER_CATALOGS: add custom catalogs to XML_CATALOG_FILES
(ticket #99)
XSLTPROCESSOR: Use the specified XSLT processor
(saxon6 or xsltproc)
Code changes:
-------------
* big makefile (common.mk) has been split into several small files
- easier to maintain
- improved performance by only loading makefiles that are needed
for the given subcommand
* added a comprehensive test suite to ensure better quality when
releasing
* no longer requires Bash 4--Bash 3 is sufficient
Documentation:
--------------
* Quickstart has been updated to cover DAPS 2.0
* Update of User Guide is WIP
* new Tutorial "How to Write an Article with DocBook and DAPS"
Bugfixes:
---------
Numerous bugfixes and improvements, among them:
* #64 Split Makefiles
* #66 daps: DC Files and Platform Dependant Paths
* #73 Create PDFs for target locdrop if --def-file is specified
* #82 Add config parameter for FOP (XEP?) stacksize
* #85 Set a fixed <date/> date with package-src target
* #98 Adjust EPUB Stylesheet to Suppot Kindle
* #99 Support User Definied Catalogs by Setting XML_CATALOG_FILES...
* #101 DAPS should support JPEG as a source file format
* #103 Exit target package-source when there are missing images
* #105 DAPS's sub-commands are somewhat inconsistent
* #106 Enable overwriting xsltproc params
* #108 Support FOP 1.1
* #115 --css/HTML_CSS parameter is completely ignored if styleroot...
* #116 Move font requirements from daps specfile to ...
* #126 Add --show switch to checklink
* #127 productinfo sometimes fails and is slow
* #129 Get rid of native xsltproc calls
* #136 daps Ignores Language in Document for Spell Checking
* #138 DAPS makes it easier to create black/white PDFs than ...
* #139 When trying to create a PDF file with malformed XSLT files...
* #142 Saxon seems to have problems with NovDoc documents
* #146 EPUB CRITICAL Error: No manual specific tmp dir
* #147 EPUB validation error on callouts
* #148 --meta only works when profiling
* #159 Fatal Error in ePUB stylesheets
* #163 JSP Stylesheets fail with saxon6
* #165 FOP config file is unnecessary
* #166 Reduce Logging Output of Apache's FOP
* #171 Remove unnecessary "eval" statements in the DAPS code
* #192 Create filenames in a single place
* #196 EPUB does not build with saxon
Known Issues:
-------------
* the webhelp code hasn't been touched at all; webhelp will most
likely not work
-------------------------------------------------------------------
Wed Feb 14 11:47:26 UTC 2013 - [email protected]
Version 1.1.4:
[NOTE: Test releases 1.1 to 1.1.3 have not been publicly released]
daps-auto.pl:
* a perl script to automatically build documents and deploy them
to a remote machine via rsync
EPUB:
* completely rewrote the epub generating code
* no longer needs an external script (db2epub.ruby) for
epub-file generation - now everything is handled in
make itself
HTML/HTML-Single/JSP:
* added a --clean switch which clears the directory
before generating a new version
Packaging:
* completely rewrote the code for package-src
- new option --set-date allows to set a publication date
(default: current date)
* new options for package-html and package-pdf
--desktopfiles: generates an archive with desktopfiles for KDE3
--documentfiles: generates a document file for KDE4/GNOME2
--pagefiles: generates a page file for GNOME3
* completely rewrote online-docs
- now automatically generates epub, color-pdf and single-html archive
- new option --export-dir to specify a results directory
* completely rewrote locdrop
- new option --export-dir to specify a results directory
Spellchecking:
* no longer a stand-alone program
* use "daps -d DC-file spellcheck" to check single files
(--file option), complete documents (via DC-file) or
parts of a document (vi ROOTID)
* can be configured via config variables ASPELL_*
Emacs macros for DocBook:
* Now supports nxml-mode
Documentation:
* Significant additions
Misc:
* Added a --manifest option to dist-html which adds a manifest
files containing the html-files in the same order as in the
document
* Replaced bash 4 only code with bash 3 compatible code
(bash 4 is no longer a prerequisite for daps)
* added support for a static/ directory containing resources
for HTML builds (images, js and css files). If present in
STYLEROOT, it will be copied as-is and links CSS, JS and
style-image links in the HTML source will point there
Bugfixes:
* Ticket #77 Lang variable ($LL) might not be set
* Ticket #104 Inconsistent Tar Ball for dist-graphics
* Ticket #113 (daps-xslt/mallard/docbook.xsl missing)
* Ticket #114 (package-html with easy file names wanted)
* Ticket #121 package-pdf: --xsltparam missing
* Ticket #122 package-pdf: --documentfiles fails with clean sources
* Ticket #127 productinfo sometimes fails and is slow
* Corrected the webhelp.indexer.language setting
* a misplaced >/dev/null prevented the svg2svg conversion,
resulting in 0 byte SVGs
* added proper error handling to setfiles, sourcefiles, docfiles
computing
* html-single output in a separate htmlsingle/ directory
* Raised FOP_STACK to 2048k, because otherwise FOP builds on
x86_64 fail
* Fixed a bug in listing the double images. backup images like
foo.svg~ or foo.svg.~ were listed, too
* EPUB generation failed when no CSS file was specified. This
is fixed now
* Fixed sed statements for preserving and recovering entities;
the former statements did not match all entity declarations
possible and recovering was error-prone
* Only use optipng when it is available
* Fixed targets warn-images and warn-cap
-------------------------------------------------------------------
Thu May 3 20:24:49 UTC 2012 - [email protected]
Version 1.0.2 (Bugfix Release):
* Important:
- in order to avoid confusion with short options for daps itself
(such as -d for --docconfig and --draft),
the subcommands only support long options now. The following
short options for subcommands are no longer supported:
-c (use --comments)
-d (use --draft)
-f (use --file)
-m (use --meta)
-n (use --name)
-p (use --pretty)
-r (use --remarks)
-s (use --show)
- the only short option that will remain is -h (help)
* Bugfixes:
- added proper help texts for subcommands
- target warn-images did not work
- target missinggraphics did not show all missing images
- daps failed with a useless error message when $MAIN was not
well-formed. The fix produces a useful error message now
- --remarks option did not work with DocBook stylesheets
- paths specified on the command line or the config file had to
be absolute. The fix now allows to also specify relative paths
for all configurable directories and files
- COMMENTS_STR, DRAFT_STR and REMARK_STR were not correctly unset
when one of these modes was not set on the command line but
implied by another mode (e.g. --meta). The result was a wrong
filename
- target webhelp-dir-name was missing
- draft.png was not shown in PDF/HTML draft builds when using the
DocBook Stylesheets
- Due to a variable name mismatch, the --name option did not work
properly
- target showvariable exited with an error if requested variable
was empty
- config options FOP_CONFIG and XEP_CONFIG were not used. The fix
renames them to FOP_CONFIG_FILE and XEP_CONFIG_FILE - these
variables are used in the wrapper scripts
- FOP_WRAPPER and XEP_WRAPPER were not set correctly when
DAPSROOT was set
- disabled Permalink generation for PDFs (this is an HTML-only
feature)
- images were not cerrectly references for target jsp
- the DEF file was not correctly packaged in target locdrop
- fixed webhelp target. Wildcards do not work in classpath
expression, resolved them with $(wildcard $(firstword())
- Warning message "DEF file is missing" was issued for targets
that do not have a --def-file option
- targets package-html and package-pdf failed with an error on
desktop files generation
- target remaininggraphics always returned an empty list
- SVG to SVG conversions generated useless error messages
* Stylesheets:
- removed obsolete stuff for @role=productname,
productnumber, or productnameref
* Documentation: