Commit Graph

163 Commits

Author SHA256 Message Date
Frank Sundermeyer
12c7f6b798 - Removed one unnecessary make info output which may produce
irritating messages

OBS-URL: https://build.opensuse.org/package/show/Documentation:Tools/daps?expand=0&rev=123
2013-05-03 21:33:03 +00:00
Frank Sundermeyer
6f7e8973bf Version 1.1.6 (Bugfix release):
* General:
   - reducing code by adding MAIN to the list of DOCFILES, by
       generating the list of ENTITY files globally and by
       using HTML_DIR for HTML. HTML-SINGLE and JSP
 * EPUB:
   - fixed critical error: a single tmp dir was used to generate
     different EPUB books
   - EPUB zip file is now generated from a file list extracted from
     OEBPS/content.opf. This ensures that only files referenced
     in the content.opf are packaged
   - Added fix for bug in DocBook stylesheets which generates an
     empty date entry in content.opf which causes a validation error
   - Improved CSS handling:
     - if no CSS file is specified on the command line or in the
       DC-file, the _first_ one found in <STYLEDIR>/epub/ is
       automatically used
     - --css now requires a parameter - if you do not want any CSS
       file to be used, specify "none": --css=none
   - EPUBs now validate with epubcheck 3.0
 * HTML:
   - if using the DocBook standard layout for resources
     <STYLEDIR>/images
     <STYLEDIR>/<FOO>.css
     it is no longer manfdatory to specify a CSS file on the
     command line or in the DC-file. DAPS will automatically use the
     _first_ *.css file in <STYLDIR>/ if none is specified
   - if using a static dir for resources
      <STYLEDIR>/static
                   |-css
                   |-js
                   |-images
      you can now specify an alternative css file with --css or an
      alternative static dir with --statdir
    - this makes it possible to switch between stylsheets using the
      two different resource directory approaches without having to
      modify a DC-file
    - the --css parameter now requires an argument. If you want to
      use no stylesheet at all, specify --css=none
    NOTE: This update requires to run the first HTML, HTML-Single
          and JSP build after the update with the --clean switch in
          order to create a clean result directory.
    - if both variants (<STYLEDIR>/images and <STYLEDIR>/static
      exist, the static directory is automatically used
 * LOCDROP:
   - DC-files are delivered with a locdrop if --def-file is
     specified
   - NO_TRANS_FILES was not correctly computed
   - entity files were missing in packages
 * PACKAGE-SRC:
   - entity files were missing in packages
 * ONLINE-DOCS:
   - generating a uniquely named graphics tarball for each book
     (when export-dir is set) instead of one that gets overwritten
     with each build

OBS-URL: https://build.opensuse.org/package/show/Documentation:Tools/daps?expand=0&rev=122
2013-05-02 15:54:21 +00:00
Thomas Schraitle
c031e1f60b - Fixed bnc#811376
OBS-URL: https://build.opensuse.org/package/show/Documentation:Tools/daps?expand=0&rev=120
2013-03-27 06:56:27 +00:00
Frank Sundermeyer
d08e13eda7 * fix for EPUB validation bug (EPUB Mime-Type file ended with
a newline which caused a validation error)

OBS-URL: https://build.opensuse.org/package/show/Documentation:Tools/daps?expand=0&rev=119
2013-03-25 09:42:39 +00:00
Frank Sundermeyer
963ed98fbf * spec-file update: Version 1.77 or better of the Docook
stylesheets is required 
 * updated Changelog

OBS-URL: https://build.opensuse.org/package/show/Documentation:Tools/daps?expand=0&rev=117
2013-03-22 15:15:00 +00:00
Frank Sundermeyer
c69acb18c9 Version 1.1.5 (Bugfix release)
* fixed errors in EPUB generation (wrong paths in content.opf)
   EPUBs should now be viewable in all ePUB viewers
 * fixed two errors in target locdrop: no proper image tarball was
   generated and the notrans-tarball had a wrong path 
 * added a missing conditional requirement (on $IMG_DIRECTORIES)
   for image building
 * fixed errors when building dist-{html,htmlsingle,jsp}

OBS-URL: https://build.opensuse.org/package/show/Documentation:Tools/daps?expand=0&rev=116
2013-03-22 14:11:08 +00:00
Thomas Schraitle
d2196e994a Accepting request 160555 from home:m_meister:branches:openSUSE:Factory
- Added url as source.
  Please see http://en.opensuse.org/SourceUrls

OBS-URL: https://build.opensuse.org/request/show/160555
OBS-URL: https://build.opensuse.org/package/show/Documentation:Tools/daps?expand=0&rev=115
2013-03-22 09:37:27 +00:00
Frank Sundermeyer
8e7f0c0fae Version 1.1.4 (Bugfix Release):
* Fixed target productinfo, which did not produce any output when
   ROOTID was not set

OBS-URL: https://build.opensuse.org/package/show/Documentation:Tools/daps?expand=0&rev=113
2013-02-13 14:52:00 +00:00
Frank Sundermeyer
b7d9702ee0 Version 1.1.3 (Bugfix Release):
* Added missing dependecies for Desktop/Document/Pagefile option
   (fix for ticket #122 package-pdf: --documentfiles fails with
   clean sources)
 * Added switch "xsltparam" for package-pdf and package-html
   (fix for ticket #121 package-pdf: --xsltparam missing)

OBS-URL: https://build.opensuse.org/package/show/Documentation:Tools/daps?expand=0&rev=111
2013-02-05 14:13:17 +00:00
Frank Sundermeyer
d056362916 Removed Provides:susedoc
OBS-URL: https://build.opensuse.org/package/show/Documentation:Tools/daps?expand=0&rev=109
2013-01-18 10:10:47 +00:00
Frank Sundermeyer
0d9c118c79 Fixed wrong BuildRequires for fontpackage-devel
OBS-URL: https://build.opensuse.org/package/show/Documentation:Tools/daps?expand=0&rev=108
2013-01-18 09:59:27 +00:00
Frank Sundermeyer
71d4aad718 Version 1.1.2:
* added support for the static/ directory used by the new
  stylesheets for HTML
* re-enabled the new font-macros in spec-file (see commit from
  Mon Aug  6 15:53:53 UTC 2012 - pgajdos@suse.com) that got
  overwritten

OBS-URL: https://build.opensuse.org/package/show/Documentation:Tools/daps?expand=0&rev=107
2013-01-17 15:37:41 +00:00
Frank Sundermeyer
d23828d422 Fixed broken BUILD_DIR setting in daps.in
OBS-URL: https://build.opensuse.org/package/show/Documentation:Tools/daps?expand=0&rev=106
2013-01-15 10:47:19 +00:00
Frank Sundermeyer
4e15e05b04 Version 1.1.1 (Bugfix Release):
* fix for ticket #113 (daps-xslt/mallard/docbook.xsl missing) 
* fix for ticket #114 (package-html with easy file names wanted)
* settings for BUILD_DIR in config files were ignored

OBS-URL: https://build.opensuse.org/package/show/Documentation:Tools/daps?expand=0&rev=105
2013-01-14 16:16:40 +00:00
Frank Sundermeyer
c22c7d2ba9 suse-xsl-stylesheets has to be a requirement (not a recommendation)
OBS-URL: https://build.opensuse.org/package/show/Documentation:Tools/daps?expand=0&rev=103
2012-12-21 14:20:52 +00:00
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
136312271f Bugfix: /etc/daps/docbook-xmlformat.conf was not installed
OBS-URL: https://build.opensuse.org/package/show/Documentation:Tools/daps?expand=0&rev=98
2012-05-04 08:37:03 +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
8535a6454b Corrected typo
OBS-URL: https://build.opensuse.org/package/show/Documentation:Tools/daps?expand=0&rev=95
2012-04-26 10:46:37 +00:00
Frank Sundermeyer
1b1ec4dfa6 Bugfixing the bugfix release
OBS-URL: https://build.opensuse.org/package/show/Documentation:Tools/daps?expand=0&rev=94
2012-04-25 14:10:35 +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
318cdb8798 New configure script due to version upgrade
OBS-URL: https://build.opensuse.org/package/show/Documentation:Tools/daps?expand=0&rev=89
2012-03-30 19:56:01 +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
ce3e2ebbc3 Issuing hint on missing formatter scripts only when verbosity is >= 1
OBS-URL: https://build.opensuse.org/package/show/Documentation:Tools/daps?expand=0&rev=87
2012-03-29 12:57:03 +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
e364ec5ef6 * Bugfix: Only issue a hint when XEP/FOP_WRAPPER do not exist
OBS-URL: https://build.opensuse.org/package/show/Documentation:Tools/daps?expand=0&rev=85
2012-03-28 10:43:48 +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
Stephan Kulow
d0f6f8dbbb Accepting request 99568 from Documentation:Tools
Sorry, make the fetch-source appear in spec file, rename it to make it more consistent

OBS-URL: https://build.opensuse.org/request/show/99568
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/daps?expand=0&rev=1
2012-01-17 10:32:30 +00:00
Thomas Schraitle
44f94625a2 Added daps-fetch-source in spec file, fixed sr#99551
OBS-URL: https://build.opensuse.org/package/show/Documentation:Tools/daps?expand=0&rev=77
2012-01-10 09:26:10 +00:00
Thomas Schraitle
bdec46e4aa Renew archive, make fetch_source be more verbose
OBS-URL: https://build.opensuse.org/package/show/Documentation:Tools/daps?expand=0&rev=76
2012-01-10 08:24:27 +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
Thomas Schraitle
d4587a7238 Corrected SVNPATH: use Sourceforge SVN URL instead of svn.opensuse.org
OBS-URL: https://build.opensuse.org/package/show/Documentation:Tools/daps?expand=0&rev=73
2012-01-09 15:28:01 +00:00
Karl Eichwalder
75705ccca7 list fetch_source as source
OBS-URL: https://build.opensuse.org/package/show/Documentation:Tools/daps?expand=0&rev=72
2011-12-28 14:00:18 +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
Karl Eichwalder
a56082d70b OBS-URL: https://build.opensuse.org/package/show/Documentation:Tools/daps?expand=0&rev=69 2011-12-27 15:41:41 +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