Commit Graph

81 Commits

Author SHA256 Message Date
Frank Sundermeyer
b07826e974 Version 1.1:
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 documnet 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)

OBS-URL: https://build.opensuse.org/package/show/Documentation:Tools/daps?expand=0&rev=102
2012-12-21 12:18:10 +00:00
Thomas Schraitle
6fbe8d0739 Accepting request 130128 from home:pgajdos
- prepare spec file for dropping SuSEconfig.fonts (openFATE#313536)

OBS-URL: https://build.opensuse.org/request/show/130128
OBS-URL: https://build.opensuse.org/package/show/Documentation:Tools/daps?expand=0&rev=100
2012-08-06 18:55:48 +00:00
Frank Sundermeyer
d65b483b48 Added proper help texts for sub commands
OBS-URL: https://build.opensuse.org/package/show/Documentation:Tools/daps?expand=0&rev=97
2012-05-03 20:27:48 +00:00
Frank Sundermeyer
0729a2a986 Version 1.0.2 (Bugfix Release):
- target showvariable exited with an error if requested variable
    was empty
  - 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
    
  - Quick Start Guide: Finished
  - Updated README.upgrade_from_susedoc_4.x

OBS-URL: https://build.opensuse.org/package/show/Documentation:Tools/daps?expand=0&rev=96
2012-05-02 15:23:50 +00:00
Frank Sundermeyer
fe5eaee973 Version 1.0.1 (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:
  - 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

OBS-URL: https://build.opensuse.org/package/show/Documentation:Tools/daps?expand=0&rev=93
2012-04-24 13:07:06 +00:00
Frank Sundermeyer
c9354eb921 Version 1.0:
Bugfix:
 - Use XEP/FOP wrapper scripts by default

OBS-URL: https://build.opensuse.org/package/show/Documentation:Tools/daps?expand=0&rev=92
2012-04-03 10:07:02 +00:00
Frank Sundermeyer
4a93471795 version 1.0 RC5:
* Bugfix:
  - Setting stack size for FOP to 512k in wrapper script, otherwise
    builds on i586 fail during hyphenation

OBS-URL: https://build.opensuse.org/package/show/Documentation:Tools/daps?expand=0&rev=91
2012-04-02 14:23:39 +00:00
Frank Sundermeyer
5f2f00bb67 Version 1.0 RC4
* Bugfix:
  - Not all links were dereferenced with --static

OBS-URL: https://build.opensuse.org/package/show/Documentation:Tools/daps?expand=0&rev=90
2012-04-02 12:29:36 +00:00
Frank Sundermeyer
21ff33f600 Version 1.0 RC3
* Bugfixes:
  - Issuing hint on missing formatter scripts only when verbosity
    is >= 1
  - spec-file: Fixed typo on suse-xsl-stylesheet recommends
               python-xml needs to be a general requirement
  - fixed path to callouts and style images for FO
* Lots of minor documentation fixes/enhancements

OBS-URL: https://build.opensuse.org/package/show/Documentation:Tools/daps?expand=0&rev=88
2012-03-30 19:43:56 +00:00
Frank Sundermeyer
197dc706bb Version 1.0 RC2
* Bugfixes:
  - issue a hint rather than exiting when XEP/FOP_WRAPPER do not
    exist
  - daps_xslt/yelp/*.xsl was not installed by make install

OBS-URL: https://build.opensuse.org/package/show/Documentation:Tools/daps?expand=0&rev=86
2012-03-29 09:16:02 +00:00
Frank Sundermeyer
bb5ba667ea Version 1.0 RC1
* Bugfixes:
  - fixed minor package building issues
  - inkscape always returns 0, even in case of an error. Added
    a workaround, so daps now exits when an image conversion with
    inkscape fails
  - --main option should work now
  - Fixed errors on setting the fallback stylesheets
  - comments and remarks did not show up in the docs when requested
    (again ;-(( ) - this is fixed now
* much better error handling - daps will now exit when wrong paths
  or a non existing ROOTID are entered in the user config file
  or the DC file
* significant enhancements to the Documentation
  (Reference & Quickstart)

OBS-URL: https://build.opensuse.org/package/show/Documentation:Tools/daps?expand=0&rev=84
2012-03-28 09:00:47 +00:00
Frank Sundermeyer
27c5ae0e88 Bugfix: Typo in Makefile caused catalog error
OBS-URL: https://build.opensuse.org/package/show/Documentation:Tools/daps?expand=0&rev=83
2012-03-20 13:15:28 +00:00
Frank Sundermeyer
baf2dea131 * Bugfix: Typo in Makefile caused wrong catalog entries
OBS-URL: https://build.opensuse.org/package/show/Documentation:Tools/daps?expand=0&rev=82
2012-03-16 16:02:48 +00:00
Frank Sundermeyer
744748f839 * showvariable now only shows the result to make it better suited
for script usage

OBS-URL: https://build.opensuse.org/package/show/Documentation:Tools/daps?expand=0&rev=81
2012-03-15 15:38:56 +00:00
Frank Sundermeyer
c23bccfb66 Version 1.0beta2:
* Bugfix:
  Finally found the correct solution for adding/removing catalog
  entries in the spec file
* Enhancement: webhelp suppport

OBS-URL: https://build.opensuse.org/package/show/Documentation:Tools/daps?expand=0&rev=80
2012-03-15 10:17:42 +00:00
Frank Sundermeyer
fc2e98f6b1 Version 1.0beta1:
* Rebuild large parts to make DAPS distribution-independent.
  - rewrote Makefile for automake/autoconf
    => configure; make; make install is now supported
  - thorough cross-distribution testing is still needed, basic tests
    have been run on RedHat, Debian and Ubuntu
* removal of custom stylesheets
  DAPS no longer uses the SUSE stylesheets as a default. It even no
  longer contains the SUSE stylesheets - they are now available as a
  separate package (suse-xsl-stylesheets in Documentation:Tools).
  - By default DAPS uses the generic DocBook stylesheets now
  - Custom stylesheets such as the SUSE stylesheets can be used by
    specifying up to four parameters on the command line/the config
    files:
    * Styleroot:
      Directory containing the custom stylesheets. Must have the same
      directory structure as the original DocBook stylesheet root
      directory. Does _not_ need to contain stylesheets for all output
      formats. If stylesheets are not found, DAPS will automatically
      fall back to the DocBook stylesheets.
      - Variable: STYLEROOT
      - Parameter: --styleroot
      - Value: absolute path to directory
    * Fallback styleroot
      Custom fallback styleroot. If DAPS cannot find styles for the
      given output format, it will automatically fall back to the
      DocBook stylesheets. This config option will add a custom
      fallback directory with higher priority. The DocBook stylesheets
      will remain as a last resort, however.
      - Variable: FALLBACK_STYLEROOT

OBS-URL: https://build.opensuse.org/package/show/Documentation:Tools/daps?expand=0&rev=79
2012-03-08 11:17:04 +00:00
Thomas Schraitle
2972d440fd - Really fixed bnc#739213,
- Added COPYING-{2.0,3.0} files

OBS-URL: https://build.opensuse.org/package/show/Documentation:Tools/daps?expand=0&rev=75
2012-01-09 16:32:03 +00:00
Thomas Schraitle
805007c924 - Really fixed bnc#739213
OBS-URL: https://build.opensuse.org/package/show/Documentation:Tools/daps?expand=0&rev=74
2012-01-09 15:32:49 +00:00
Karl Eichwalder
ae45be9b59 rm fetch_source
OBS-URL: https://build.opensuse.org/package/show/Documentation:Tools/daps?expand=0&rev=71
2011-12-28 11:48:31 +00:00
Karl Eichwalder
6e92599461 .changes
OBS-URL: https://build.opensuse.org/package/show/Documentation:Tools/daps?expand=0&rev=70
2011-12-28 08:41:50 +00:00
Frank Sundermeyer
ced07a64b0 New version 0.9.2
- BUGFIXES:
  * fixed misspelled variablename in fo generating target
  * remarks in HTML and PDF builds were only shown when comments
    were turned on, too. This had been fixed earlier but the fix
    seems to have been reverted by mistake. Re-enabled the fix in
    the inline.xslt stxlesheets for fo and html
- -r/--remarls now implies draft mode
- -m/--meta now implies draft mode but does not imply remarks
  anymore
    - new switch -m/--meta for pdf builds (adds same functionality as
      for the html builds)

OBS-URL: https://build.opensuse.org/package/show/Documentation:Tools/daps?expand=0&rev=68
2011-12-15 14:16:55 +00:00
Karl Eichwalder
8d67bba305 license
OBS-URL: https://build.opensuse.org/package/show/Documentation:Tools/daps?expand=0&rev=67
2011-12-15 10:40:11 +00:00
Karl Eichwalder
8d5d74036d .changes
OBS-URL: https://build.opensuse.org/package/show/Documentation:Tools/daps?expand=0&rev=66
2011-12-15 06:51:56 +00:00
Frank Sundermeyer
29bb2f8258 - BUGFIX: Misspelled variable name in fo generation for FOP
- Styleshhet changes:
  * added first draft of release notes stylesheets

OBS-URL: https://build.opensuse.org/package/show/Documentation:Tools/daps?expand=0&rev=61
2011-12-09 11:55:40 +00:00
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
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
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
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