Commit Graph

60 Commits

Author SHA256 Message Date
Thomas Schraitle
1c9496da19 Fixed bugs:
* bnc#573835: pdf-color: title in PDF properties too general
  * bnc#703483: FOP: No Hyphenation?
  * bnc#706452: FOP: Too much Whitespace Behind <ulink> and <filename>
  * bnc#711526: Layout: sect3 can not be distinguished from a sect4
  * bnc#719848: daps stylesheets: Make metadata for PDF draft mode optional

OBS-URL: https://build.opensuse.org/package/show/Documentation:Tools/daps?expand=0&rev=60
2011-12-07 14:26:59 +00:00
Frank Sundermeyer
fa931bcda3 Lots of new features/bugfixes
OBS-URL: https://build.opensuse.org/package/show/Documentation:Tools/daps?expand=0&rev=59
2011-12-07 14:15:25 +00:00
Thomas Schraitle
27ade85b89 - Raised daps to version 0.9.1
- Fixed URL in fetch_source

OBS-URL: https://build.opensuse.org/package/show/Documentation:Tools/daps?expand=0&rev=58
2011-12-07 14:10:57 +00:00
Frank Sundermeyer
ad93dd2db2 - Bugfixes on .document and .desktop file generation
OBS-URL: https://build.opensuse.org/package/show/Documentation:Tools/daps?expand=0&rev=57
2011-10-07 12:33:04 +00:00
Thomas Schraitle
fa96d9aa67 - Updated Quick Start/Flyer design
OBS-URL: https://build.opensuse.org/package/show/Documentation:Tools/daps?expand=0&rev=56
2011-10-07 08:16:52 +00:00
Frank Sundermeyer
0edc448a07 - Bugfix: image copying on static html builds
OBS-URL: https://build.opensuse.org/package/show/Documentation:Tools/daps?expand=0&rev=55
2011-10-06 11:59:40 +00:00
Frank Sundermeyer
21c529e9eb - Bugfix: css file was not properly copied when using --static on
HTML builds

OBS-URL: https://build.opensuse.org/package/show/Documentation:Tools/daps?expand=0&rev=54
2011-10-06 10:41:46 +00:00
Frank Sundermeyer
1fc2978021 - Bugfixing HTML generation. Copying/linking images and CSS made
problems when old builöds were present. This fix ensures images/css
  files get removed before trying to create them

OBS-URL: https://build.opensuse.org/package/show/Documentation:Tools/daps?expand=0&rev=53
2011-09-30 22:26:04 +00:00
Frank Sundermeyer
19aca56480 Beta 8:
- new option "--static" for html builds copies images and css files
  rather than linking them (which is the default)
- document-files-html / document-files-pdf / desktop-files now only
  generate the desktop files rather than creating tarballs
  * tarballs are generated with dist-document-files-html, dist-...
  * document-files-dir-name, desktop-files-dir-name show the
    directory names for the generated desktop files
- new file names for PDFs:
  color: ($BOOK|$ROOTID)_$LANG.pdf
  print: ($BOOK|$ROOTID)-print_$LANG.pdf
- new option --def-file=DEFFILE for target package-src. If specified
  also adds all ENV files referenced in the DEF-file to the tarball
- new option --def-file=DEFFILE for target locdrop adds the DEF-file
  to the notrans tarball

OBS-URL: https://build.opensuse.org/package/show/Documentation:Tools/daps?expand=0&rev=52
2011-09-30 15:01:16 +00:00
Frank Sundermeyer
e23d1854e6 - spec file changes so daps builds for SLE 11 / 11.1:
* checkbot is a recommendation for SLE
  * require python-xml for < 1120
  * replace make_install macro with a literal make install call,
    since 11.1/SLE 11 do not have the macro
- use the tar option --transform instead of --xform in order to be
  compatible with older tar versions
- Bugfix Makefile: global option -d has been replaced with --debug

OBS-URL: https://build.opensuse.org/package/show/Documentation:Tools/daps?expand=0&rev=51
2011-09-26 15:42:04 +00:00
Frank Sundermeyer
8624fff516 - target validate now also warns about missing graphics
- Bugfix: verbosity switch -v works correctly now

OBS-URL: https://build.opensuse.org/package/show/Documentation:Tools/daps?expand=0&rev=50
2011-09-26 11:49:35 +00:00
Frank Sundermeyer
946cbfa597 - verbosity can now also be set to "0" on the command line (needed
for scripting)
- renamed "--verbose" switch to "--verbosity"
- Specfile: Requires: fam

OBS-URL: https://build.opensuse.org/package/show/Documentation:Tools/daps?expand=0&rev=49
2011-09-20 11:55:25 +00:00
Frank Sundermeyer
1e2eef8ace - Specfile: fixed %{ext_man}
- fetch_source now also copies the spec file if needed

OBS-URL: https://build.opensuse.org/package/show/Documentation:Tools/daps?expand=0&rev=48
2011-09-19 11:55:33 +00:00
Thomas Schraitle
2919ed7430 Fixed typo with %{ext_man} (removed double '.')
OBS-URL: https://build.opensuse.org/package/show/Documentation:Tools/daps?expand=0&rev=47
2011-09-19 11:47:06 +00:00
Frank Sundermeyer
4787c5564f - Completely rewrote the verbosity stuff:
* Verbosity none: only display on line with result (default)
  * Verbosity 1 (-v, --verbose=1): print the most important target results
  * Verbosity 2 (-vv --verbose=2): print all commands called by make
  * Default verbosity level can be overwritten in ~/.daps/config via
    VERBOSITY=(0|1|2)
- General option -d is no longer supported to avoid confusion with
  subcommand option -d (draft mode) - use --debug instead
- Replaced target clean-book with clean-results
- Updated BUGS and TODO
- Stylesheets:
  * fixed bnc#573835 (PDF metadata)
- Bugfix: BUILD_DIR is now set in the makefiles
- Packaging:
  * added script that generates the source tarball via
    svn export
  * added %{ext_man} to spec file

OBS-URL: https://build.opensuse.org/package/show/Documentation:Tools/daps?expand=0&rev=46
2011-09-19 11:20:18 +00:00
Thomas Schraitle
f71dbba111 - Applied spec file changes after Jan Engelhardt's mail on
opensuse-packaging:
  (see also http://en.opensuse.org/openSUSE:Specfile_guidelines)
- removal of '# norootforbuild'
- removal of Authors list, no longer desired in factory
- removal of %clean section, no longer required
- adding %{?_smp_mflags} whereever there is none

OBS-URL: https://build.opensuse.org/package/show/Documentation:Tools/daps?expand=0&rev=45
2011-09-19 07:00:32 +00:00
Frank Sundermeyer
a6fa0d4aae Beta 7
- DAPS now supports EPS (will be converted to PDF and PNG) and
  PDF images; SVG sources can also be converted into PDF
  - new dependencies for EPS and PDF support in spec file:
    ghostscript-library, poppler tools
- completely revised images.mk to increase readability and improved
  inline documentation
- sped up png optimization with optipng by using optimization level
  2 rather than 8: almost no difference in file-size, but huge
  difference in speed
- Bugfixes:
  - rewrote profiling, since the changes from beta6 introduced
    an error that prevented profiling on changed files

OBS-URL: https://build.opensuse.org/package/show/Documentation:Tools/daps?expand=0&rev=44
2011-09-15 20:47:13 +00:00
Frank Sundermeyer
7942e0dc08 - Bugfix: remove duplicate entries in SRCFILE list in common.mk
(using sort)

OBS-URL: https://build.opensuse.org/package/show/Documentation:Tools/daps?expand=0&rev=43
2011-09-12 13:45:19 +00:00
Frank Sundermeyer
9c502c8a2b Beta 6
- DAPS can now use XML source files with any suffix
  (not only *.xml--the KDE  project for example is using *.docbook);
-  set default values for PROFOS and PROFARCH in case they are empty
- Bugfixes:
  * target validate: call function comments_remarks rather than
    build_generic
  * target locdrop: correct docmanager command; warn if no file has
    doc:trans=yes

OBS-URL: https://build.opensuse.org/package/show/Documentation:Tools/daps?expand=0&rev=42
2011-09-09 22:40:06 +00:00
Frank Sundermeyer
cf082b801c - this time for real: adjusted spec file so daps also builds for
openSUSE_Evergreen_11.2

OBS-URL: https://build.opensuse.org/package/show/Documentation:Tools/daps?expand=0&rev=41
2011-09-08 15:27:58 +00:00
Frank Sundermeyer
aa36774b00 Beta 5
- print filename and ids for chapter and section headlines
  in draft mode
- added 301 and 302 codes to dontwarn options of checkbot 
- start image viewer in target getimages only when there are images

OBS-URL: https://build.opensuse.org/package/show/Documentation:Tools/daps?expand=0&rev=40
2011-09-08 14:25:58 +00:00
Frank Sundermeyer
51a6a1e846 - Reverted previous change since that causes trouble with
11.3

OBS-URL: https://build.opensuse.org/package/show/Documentation:Tools/daps?expand=0&rev=39
2011-08-11 15:33:13 +00:00
Frank Sundermeyer
c6d4ad3bcc - Adjusted spec file so daps also builds for openSUSE_Evergreen_11.2
OBS-URL: https://build.opensuse.org/package/show/Documentation:Tools/daps?expand=0&rev=38
2011-08-11 15:00:38 +00:00
Frank Sundermeyer
1ac9e7b43f - Using a stylesheet rather than the buggy /usr/bin/xml to get the
rootid of a file for target checklink

OBS-URL: https://build.opensuse.org/package/show/Documentation:Tools/daps?expand=0&rev=37
2011-08-11 14:32:34 +00:00
Thomas Schraitle
20c464f525 Fixed daps archive
OBS-URL: https://build.opensuse.org/package/show/Documentation:Tools/daps?expand=0&rev=36
2011-08-10 14:50:50 +00:00
Thomas Schraitle
4aa899c620 - Changed standard layout from Novell to SUSE
OBS-URL: https://build.opensuse.org/package/show/Documentation:Tools/daps?expand=0&rev=35
2011-08-10 14:38:52 +00:00
Frank Sundermeyer
ef8ae227c4 - BUGFIX: target checklink now exits when no rootid or filename is
specified; rootid from ENVfile is ignored

OBS-URL: https://build.opensuse.org/package/show/Documentation:Tools/daps?expand=0&rev=34
2011-08-08 09:57:07 +00:00
Frank Sundermeyer
017a00160a - BUGFIX: Profiling was only redone when the _xml_ source files had
changed, not when the entity files had changed - added a
          dependency on *.ent to the profiling target $(PROFILES) 
          to fix this

OBS-URL: https://build.opensuse.org/package/show/Documentation:Tools/daps?expand=0&rev=33
2011-08-05 15:09:22 +00:00
Frank Sundermeyer
f20f62d159 - BUGFIX: getimages function did not work in verbose or
debug mode

OBS-URL: https://build.opensuse.org/package/show/Documentation:Tools/daps?expand=0&rev=32
2011-08-05 14:46:50 +00:00
Frank Sundermeyer
93da524c7e - adding a workaround for the crappy xml program that has no catalog
support

OBS-URL: https://build.opensuse.org/package/show/Documentation:Tools/daps?expand=0&rev=31
2011-08-04 14:01:02 +00:00
Frank Sundermeyer
b9edd36940 - Colored output is now automatically disabled when not being on a
Terminal - so you now pipe daps commands to other programs
  (e.g. a PDF Viewer or a browser)

OBS-URL: https://build.opensuse.org/package/show/Documentation:Tools/daps?expand=0&rev=30
2011-08-04 12:16:43 +00:00
Frank Sundermeyer
949b99f803 - Added option --file to target checklink
OBS-URL: https://build.opensuse.org/package/show/Documentation:Tools/daps?expand=0&rev=29
2011-08-04 10:24:33 +00:00
Frank Sundermeyer
1da73fae61 - Changing target validate again: when being called explicitly, it
now always checks profiled sources _with remarks_ ($REMARKS is
  set to 1). Options -r and -c have been removed again. 
- Bugfix: Using $@ instead of $SCMD_ARGS in getopts calls in
  lib/daps_functions

OBS-URL: https://build.opensuse.org/package/show/Documentation:Tools/daps?expand=0&rev=28
2011-08-01 14:38:22 +00:00
Frank Sundermeyer
70f5b2f850 - we need to be able to install daps and susedoc in parallel
internally, so removed the Obsoletes: susedoc statement
  from the spec file
- target validate can now be called with -r and -c, too

OBS-URL: https://build.opensuse.org/package/show/Documentation:Tools/daps?expand=0&rev=27
2011-08-01 11:34:52 +00:00
Frank Sundermeyer
f1478c5f73 - Bugfix: daps-susespell: the extra-dict was not invoked correctly
OBS-URL: https://build.opensuse.org/package/show/Documentation:Tools/daps?expand=0&rev=26
2011-07-28 15:26:43 +00:00
Frank Sundermeyer
53ca1b9790 - BUGFIX: DAPS_ENV_NAME must not be set in config
OBS-URL: https://build.opensuse.org/package/show/Documentation:Tools/daps?expand=0&rev=25
2011-07-26 15:35:17 +00:00
Frank Sundermeyer
39a62ccfef Beta 4
- spec file:  
  * removed obsolete python dependencies (they moved to daps-docmanager)
  * obsoletes susedoc
  * recommends daps-docmanager and aspell+en dicts
- daps-susespell now has a man page and supports additional options
  --lang and --dict

OBS-URL: https://build.opensuse.org/package/show/Documentation:Tools/daps?expand=0&rev=24
2011-07-26 10:46:29 +00:00
Frank Sundermeyer
19767aabaa - daps-susespell can now check multiple files
- Bugfix in lib/docbook-macros: Element typo (arearefs)

OBS-URL: https://build.opensuse.org/package/show/Documentation:Tools/daps?expand=0&rev=23
2011-07-25 20:31:52 +00:00
Frank Sundermeyer
062c1a77a4 - Target checklink (chklnk, jana) now supports --rootid
OBS-URL: https://build.opensuse.org/package/show/Documentation:Tools/daps?expand=0&rev=22
2011-07-25 14:27:21 +00:00
Frank Sundermeyer
cad490d083 - Added exits after target calls
- Improved help/README on target init

OBS-URL: https://build.opensuse.org/package/show/Documentation:Tools/daps?expand=0&rev=21
2011-07-25 08:20:06 +00:00
Frank Sundermeyer
3f4b11e51b - Bugfix: daps init help now works correctly
- Added a quickstart README
- Improved error handling and verbose output
- The majority of targets now write a logfile

OBS-URL: https://build.opensuse.org/package/show/Documentation:Tools/daps?expand=0&rev=20
2011-07-22 21:24:23 +00:00
Frank Sundermeyer
898e16d865 Beta 3
- Bugfix: USEMETA now works correctly
- added new binary daps-susepell (Spellchecker)
- added new target getimages

OBS-URL: https://build.opensuse.org/package/show/Documentation:Tools/daps?expand=0&rev=19
2011-07-21 15:35:27 +00:00
Frank Sundermeyer
574009d5b9 - Bugfixes
* replaced @VERSION@ and @DATE@ in daps man page
  * daps error messages now go to STDERR
  * DTDROOT/xslt (STYLEDEVEL) is the new defaul-LAYOUTROOT
  * Fixed the long-standing bug that required to activate remarks
    _and_ comments in order to see remarks
    
- new optional config option for ~/.daps/config: DAPS_ENV_DEFAULT
  to specify a default ENVFILE. If set, will be automatically used
  unless an alternative ENVFILE is specified on the commandline via
  -e/--envfile or via a sourced ENVFILE by DAPS_ENV_NAME
- added new target showenv that print variables ENVFILE and BASE_DIR;
  can output more variables if needed

OBS-URL: https://build.opensuse.org/package/show/Documentation:Tools/daps?expand=0&rev=18
2011-07-20 15:40:24 +00:00
Frank Sundermeyer
8c266e7470 - format_options needs to be called from the main call_make functions
OBS-URL: https://build.opensuse.org/package/show/Documentation:Tools/daps?expand=0&rev=17
2011-07-19 21:16:51 +00:00
Frank Sundermeyer
1ec62aa470 - Bugfix: Sourcing an ENV with DAPS_ENV_NAME set did not work
- Bugfix: Command line arguments for comments, drafts and remarks
  were not properly exported

OBS-URL: https://build.opensuse.org/package/show/Documentation:Tools/daps?expand=0&rev=16
2011-07-19 14:45:08 +00:00
Frank Sundermeyer
0a17513d7c - Moved daps-xmlformat to bin
- specifying a default ENVfile with DAPS_ENV_NAME=<ENV> in
  ~/.daps/config now also works when BASE_DIR is specified

OBS-URL: https://build.opensuse.org/package/show/Documentation:Tools/daps?expand=0&rev=15
2011-07-14 15:26:23 +00:00
Frank Sundermeyer
30830d983e - added a new subcommend: init, which creates a working environment incl.
an ENV file and a xml/MAIN

OBS-URL: https://build.opensuse.org/package/show/Documentation:Tools/daps?expand=0&rev=14
2011-07-14 14:22:46 +00:00
Frank Sundermeyer
db934a2be4 - Fixed a bug in xslt/misc/get-all-used-files.xsl; common.mk needed
to be changed, too
- error messages are directed to /dev/null when calling make_nolog

OBS-URL: https://build.opensuse.org/package/show/Documentation:Tools/daps?expand=0&rev=13
2011-07-13 15:28:06 +00:00
Frank Sundermeyer
eb6924d4d8 - LOG_DIR was not exported
- when running showvariable the date was always printed with the
  result - this is hopefully fixed now
- Expanded ENV conversion example in the upgrade README

OBS-URL: https://build.opensuse.org/package/show/Documentation:Tools/daps?expand=0&rev=12
2011-07-13 13:33:56 +00:00
Frank Sundermeyer
dd857eca11 - replaced the last remnants of "susedoc" with "daps"
OBS-URL: https://build.opensuse.org/package/show/Documentation:Tools/daps?expand=0&rev=11
2011-07-13 11:47:43 +00:00