Commit Graph

147 Commits

Author SHA256 Message Date
Frank Sundermeyer
cad9d9a5fe - Bugfix:
* fixed failing dist-htmlsingle generation in online-docs

OBS-URL: https://build.opensuse.org/package/show/Documentation:Tools/daps?expand=0&rev=130
2013-06-06 08:20:48 +00:00
Frank Sundermeyer
253f3bfa2e - Bugfixes:
* option -m was missing when parsing the command line options
  * allow relative paths for --statdir and --export-dir
  * A custom static dir (--statdir) was not correctly copied/linked
    when no --static option was specified
  * fixed entitiy packaging in various targets
  * made automatic setting of HTML_CSS and EPUB_CSS more robust by
    allowing empty values when readlink fails

OBS-URL: https://build.opensuse.org/package/show/Documentation:Tools/daps?expand=0&rev=128
2013-05-15 14:48:16 +00:00
Frank Sundermeyer
5d8443d7b2 Version 1.1.7 (Bugfix release):
- Critical fix: Locdrop tarballs did not have profiled but original
                 sources. This has been corrected
 - Made check for ROOTID  in lib/daps_functions more robust

OBS-URL: https://build.opensuse.org/package/show/Documentation:Tools/daps?expand=0&rev=127
2013-05-13 08:40:31 +00:00
Frank Sundermeyer
afba8175c6 OBS-URL: https://build.opensuse.org/package/show/Documentation:Tools/daps?expand=0&rev=125 2013-05-07 11:57:12 +00:00
Frank Sundermeyer
0d93ce390a - Bugfix: Typo in Varaiable name
OBS-URL: https://build.opensuse.org/package/show/Documentation:Tools/daps?expand=0&rev=124
2013-05-06 11:28:18 +00:00
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
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
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
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
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
Frank Sundermeyer
f611f1606f - Removed copy pdf from package PDF
OBS-URL: https://build.opensuse.org/package/show/Documentation:Tools/daps?expand=0&rev=10
2011-07-13 08:56:46 +00:00
Frank Sundermeyer
1800c01ce0 - fixed dist-graphics (images were packed with absolute path)
- fixed HTML-USED (imagelist was wrong)
- fixed USED (removed double entries)
- added --extra-files option to package-src in order to be able
  to pack additional ENVfiles
- added --fop option for package-pdf
- packaging targets now have their own function in daps_functions

OBS-URL: https://build.opensuse.org/package/show/Documentation:Tools/daps?expand=0&rev=9
2011-07-13 07:58:30 +00:00
Frank Sundermeyer
6e5b7f2b61 - lib/daps_functions: Fixed xep wrapper call
(susedoc-xep -> daps-xep)

OBS-URL: https://build.opensuse.org/package/show/Documentation:Tools/daps?expand=0&rev=8
2011-07-11 09:42:19 +00:00
Frank Sundermeyer
1b72cb2f56 - common.mk: Another fix for projectfiles/reminingfiles: $INCLUDED
must include $MAIN, otherwise getentityname.py will be called with
  an empty $INCLUDED if the book only contains a single MAIN file

OBS-URL: https://build.opensuse.org/package/show/Documentation:Tools/daps?expand=0&rev=7
2011-07-08 13:16:47 +00:00
Frank Sundermeyer
66fa9e30ad - common.mk: MAIN was missing in projectfiles; fixed remainingfiles
- added TODO for man page generation

OBS-URL: https://build.opensuse.org/package/show/Documentation:Tools/daps?expand=0&rev=6
2011-07-08 12:35:09 +00:00
Karl Eichwalder
72aa47e047 minor .spec cleanup
OBS-URL: https://build.opensuse.org/package/show/Documentation:Tools/daps?expand=0&rev=5
2011-07-08 06:17:27 +00:00
Frank Sundermeyer
94ad168a8a - Changed the IDs in /etc/xml/suse-catalog.xml to something that
makes more sense

OBS-URL: https://build.opensuse.org/package/show/Documentation:Tools/daps?expand=0&rev=4
2011-07-07 09:39:17 +00:00
Frank Sundermeyer
049985ab13 - Fix for -e/-b options
OBS-URL: https://build.opensuse.org/package/show/Documentation:Tools/daps?expand=0&rev=3
2011-07-07 08:07:43 +00:00
Frank Sundermeyer
3276a9f571 - added short options -b and -e for basedir and envfile
- reformatted help

OBS-URL: https://build.opensuse.org/package/show/Documentation:Tools/daps?expand=0&rev=2
2011-07-06 15:12:55 +00:00
Frank Sundermeyer
2f1e2955da First public beta of daps, the successor of susedoc
OBS-URL: https://build.opensuse.org/package/show/Documentation:Tools/daps?expand=0&rev=1
2011-07-01 23:12:32 +00:00