Commit graph

55 commits

Author SHA1 Message Date
obache
9ea3b36c23 recursive bump from gettext-lib shlib bump. 2011-04-22 14:40:40 +00:00
wiz
08ea54d93c Add upstream bug report URL. 2011-01-24 16:33:19 +00:00
wiz
9ccf37122f Fix build with png-1.5. Breakage reported by Stefano Marinelli. 2011-01-16 13:02:38 +00:00
wiz
af3596f984 png shlib name changed for png>=1.5.0, so bump PKGREVISIONs. 2011-01-13 13:36:05 +00:00
dsainty
1f40f3a084 Mechanically replace references to graphics/jpeg with the suitable
alternative from mk/jpeg.buildlink3.mk

This allows selection of an alternative jpeg library (namely the x86 MMX,
SSE, SSE2 accelerated libjpeg-turbo) via JPEG_DEFAULT=libjpeg-turbo, and
follows the current standard model for alternatives (fam, motif, fuse etc).

The mechanical edits were applied via the following script:

#!/bin/sh
for d in */*; do
  [ -d "$d" ] || continue
  for i in "$d/"Makefile* "$d/"*.mk; do
    case "$i" in *.orig|*"*"*) continue;; esac
    out="$d/x"
    sed -e 's;graphics/jpeg/buildlink3\.mk;mk/jpeg.buildlink3.mk;g' \
        -e 's;BUILDLINK_PREFIX\.jpeg;JPEGBASE;g' \
        < "$i" > "$out"
    if cmp -s "$i" "$out"; then
      rm -f "$out"
    else
      echo "Edited $i"
      mv -f "$i" "$i.orig" && mv "$out" "$i"
    fi
  done
done
2010-12-23 11:44:24 +00:00
wiz
e8d8834f6a Bump PKGREVISION for libpng shlib name change.
Also add some patches to remove use of deprecated symbols and fix other
problems when looking for or compiling against libpng-1.4.x.
2010-06-13 22:43:46 +00:00
wiz
91871f449e Second try at jpeg-8 recursive PKGREVISION bump. 2010-01-18 09:58:37 +00:00
tez
85ce004e81 Fix for Secunia Advisory: SA35780
from http://bugs.gentoo.org/attachment.cgi?id=199846
2009-08-27 21:51:37 +00:00
sno
6f7368d4db bump revision because of graphics/jpeg update 2009-08-26 19:56:37 +00:00
drochner
80de8e5553 use libgnutls-config.mk to fix detection of gnutls-2.8
(with the non-default "gnutls" pkg option)
2009-07-03 14:04:12 +00:00
joerg
e031855e4a Convert @exec/@unexec to @pkgdir or drop it. 2009-06-14 22:00:14 +00:00
obache
02a72c740a Add missing portability fix patch. 2009-01-08 11:58:31 +00:00
obache
958c9461d3 Update htmldoc to 1.8.27.
Based on PR 40223.

Pkgsrc changes:
 * Change HOMPAGE for open source version.
 * Add missng dependency on devel/zlib.
 * Optionify of SSL support and let gnutls to selectable.
 * Rename undocumented htmldoc-gui option to x11, it's better match for pkgname.

CHANGES IN HTMLDOC v1.8.27

    BUG FIXES

	- Fixed a crash bug that appeared when more than 10 blank
	  pages were present in a document (PR #6223)
	- Color changes were not reflected in PRE text (STR #129)
	- Remote URLs did not always work on older operating
	  systems (PR #6179)
	- Image filenames using % escapes were not decoded
	  properly.
	- Rows using BGCOLOR that spanned across multiple pages
	  did not render properly (PR #6149)
	- Rows no longer start on a new page due to a cell with
	  both HEIGHT and ROWSPAN specified (PR #6086)
	- CMYK JPEG images caused HTMLDOC to crash (PR #6106)
	- Table cell width calculations didn't always account for
	  the proper minimum width (STR #121)
	- Images were not copied when generating indexed HTML
	  output to a directory (STR #117)
	- Changing the bottom margin resulted in text that was
	  formatted below the bottom margin.
	- The Monospace-Oblique font was not embedded properly in
	  PDF files.


CHANGES IN HTMLDOC v1.8.26

    BUG FIXES

	- Outline and keyword strings in PDF files are now stored
	  as Unicode (STR #113)
	- The Flate compression code could get in an infinite
	  loop if it ran out of memory (STR #101)
	- Book files saved from the GUI did not handle filenames
	  with spaces (STR #105)
	- Fixed and re-enabled the ASCII85Device filter support
	  in PostScript Level 2/3 output (STR #116)
	- Character entities in the first word of a file were not
	  rendered properly (STR #111)
	- Fixed-size table columns were incorrectly resized when
	  a table width was also specified and there was extra
	  space to distribute (PR #6062)
	- Text could "walk" up or down when in-line images were
	  used (PR #6034)
	- Row backgrounds incorrectly replaced cell backgrounds
	  when the first cell in a row used ROWSPAN (PR #6033, PR
	  #6036)
	- HTMLDOC did not correctly parse FONT FACE attributes
	  (PR #6006)
	- Images in Level 2/3 PostScript output did not work on
	  some printers (PR #6000)
	- The GUI did not use the first page header (PR #5978)


CHANGES IN HTMLDOC v1.8.25

    NEW FEATURES

	- Added "--overflow" and "--no-overflow" command-line
	  options to show or hide the content-too-large errors;
	  the default is "--no-overflow".
	- Added "--header1" command-line option and "HEADER1"
	  page comments to set the page header for the first page
	  of each chapter.
	- Added "timing" and "remotebytes" debug data generation.
	- Added DejaVu font collection to better support Cyrillic
	  and Greek text; the new fonts are available under the
	  generic names "monospace", "sans", and "serif".
	- Added "--referer" command-line option and corresponding
	  CGI-mode support to pass Referer: information in HTTP
	  requests (STR #91)

    CHANGES:

	- On Windows, HTMLDOC now logs CGI mode errors to a file
	  called "htmldoc.log" in the Windows temporary
	  directory.
	- HTMLDOC no longer uses Base-85 encoding for image data
	  when producing Level 2 and 3 PostScript output. It
	  appears that many printers and PostScript interpreters
	  cannot properly decode this data when the original
	  image data is not a multiple of 8 bits.
	- HTMLDOC now renders STRONG elements in boldface instead
	  of bold-italic to match the W3C recommendations.
	- HTMLDOC now automatically inserts a TR element before a
	  TD or TH element as needed to improve web site
	  compatibility; this also triggers a HTML error in
	  --strict mode.

    BUG FIXES

	- "$HFIMAGEn" didn't work in a header/footer string.
	- HTMLDOC could crash when rendering a table.
	- Book files were not used in CGI mode (STR #69)
	- Cookies were not sent in HTTP requests (STR #71)
	- Table cells were not aligned properly when the ROWSPAN
	  attribute was set to 1 (STR #73)
	- HTMLDOC crashed when rendering unresolved hyperlinks in
	  aligned images (STR #62)
	- Documented the HTMLDOC_NOCGI environment variable (STR
	  #63)
	- HTMLDOC sometimes crashed when rendering tables with
	  background colors (STR #65)
	- HTMLDOC would crash when writing encrypted strings
	  longer than 1024 bytes (STR #66)
	- HTMLDOC didn't set the data directory when running in
	  CGI mode on Windows.
	- HTMLDOC could crash when loading the Symbol.afm file
	  (STR #93)
	- HTMLDOC did not always honor HEIGHT attributes in table
	  rows.
	- Tables with a mix of colspan and rowspan sometimes
	  caused cells to be moved vertically outside the cell.


CHANGES IN HTMLDOC v1.8.24

    NEW FEATURES

	- HTMLDOC now provides limited cookie support via the
	  "--cookies" command-line option and via the cookies
	  passed by a browser in CGI mode.
	- HTMLDOC now features a CGI mode which provides PDF
	  conversion functionality for web servers.
	- HTMLDOC now generates a document outline for each
	  input file or URL in webpage mode; the outline shows
	  the title for the file and links to the first page
	  containing that file.
	- HTMLDOC now offers an "htmlsep" output type which
	  generates HTML output with a separate file for each
	  heading in the table of contents.
	- HTMLDOC now includes LINK elements in generated HTML
	  so that intelligent browsers like Mozilla can show
	  next/prev/contents/top buttons.
	- HTMLDOC now supports the BORDERCOLOR attribute for
	  tables, a MSIE extension.
	- The "strict HTML" mode now reports unresolved local
	  links.
	- Added support for HP LaserJet 5000 and Xerox DocuPrint
	  2000/100 printer commands.
	- Added multiple header/footer image support.
	- Links to external URLs are now resolved so that the
	  output file can be moved without affecting them.

    CHANGES

	- The command-line now allows --fontsize values from 4
	  to 26 to match the GUI.
	- Now use a 0.001 point tolerance when checking for
	  content that overflows the page/cell.
	- HTMLDOC no longer enables interpolation of 2-color
	  images.
	- The default vertical alignment of images is "BOTTOM"
	  to match the HTML specification.
	- Paragraph spacing is only applied to the first table
	  after a paragraph.
	- The tabloid media size was 10 points too short in
	  length.
	- The table formatter now subtracts the outside border
	  and padding widths for percentage-based widths.  This
	  helps to eliminate "truncation or overlapping" errors.
	- Dropped support for FLTK 1.0.x when building the GUI.
	- The default vertical alignment is now "bottom" inside
	  paragraphs to correctly align different sized text and
	  images to the baseline.
	- Indexed images are now written as PDF image objects
	  when encryption is enabled; this works around a
	  serious bug in Acrobat 6 which tries to decrypt the
	  colormap of in-line images twice, causing some very
	  strange colors!
	- Table captions can now be bottom aligned.
	- Blocks now break at the bottom of a page if the
	  current line height + standard line height goes below
	  the bottom of the page; this prevents images with
	  captions from getting erroneously moved to the top of
	  the next page.
	- Character entities are now supported in HTML
	  attributes and unknown or invalid character entities
	  are left as plain text.
	- Changed handling of NOWRAP for some tables.
	- The --permissions option now supports multiple
	  permission keywords in a single invocation.
	- Dropped support for MacOS 9 and earlier.
	- HTMLDOC now breaks between images that are too large
	  to fit on a single line, to match the behavior of
	  Mozilla/Netscape (STR #7).
	- HTMLDOC now handles XHTML input more cleanly.
	- HTMLDOC no longer specifies an interpolation
	  preference for images in PostScript or PDF output (STR
	  #8)
	- The DT element no longer applies an italic style (PR
	  #5178)
	- HTMLDOC now ignores content inside a STYLE element
	  (PR #5183)

    BUG FIXES

	- Switching between landscape and portrait orientations
	  would cause margin creepage.
	- Images did not default to align=bottom, and the
	  align=bottom line spacing calculation was incorrect.
	- Whitespace before a link was underlined.
	- Fixed a table column sizing bug.
	- HTMLDOC didn't read back the HTTP response properly in
	  all situations.
	- Fixed some more PNG transparency cases.
	- The PageBoundingBox comments in PostScript output did
	  not account for the back page when duplexing was
	  enabled.
	- HTMLDOC generated an incorrect image mask for some
	  images.
	- The first page of each chapter did not use the custom
	  page number if it was placed inside the heading.
	- HTMLDOC did not reset the rendering cache before each
	  page when producing N-up output; this caused font
	  errors in some cases that prevented the document from
	  printing or displaying properly.
	- Eliminated a common cause of "table too wide"
	  formatting errors,
	- Fixed a bug when applying a table background color to
	  a cell without a border that cross a page boundary.
	- Fixed some calls to strcpy with overlapping arguments.
	- The names object was never set when the name objects
	  were written.
	- Character entities were not decoded/encoded inside
	  HTML comments.
	- The current heading was not always correctly
	  substituted when used in the page header or footer.
	- When converting web pages from the GUI, the
	  table-of-contents page number preferences were
	  incorrectly used.
	- PDF page effects/transitions were not put in the right
	  part of the page dictionary, causing them not to be
	  used by the PDF reader application.
	- The _HD_OMIT_TOC attribute was not being honored for
	  HTML output.
	- HTMLDOC now handles "open" messages from the MacOS X
	  Finder (STR #3)
	- The GUI did not load or save the "strict HTML" setting
	  (STR #6)
	- The HTML version of the title page did not set the ALT
	  attribute for the title image (STR #10)
	- The HTML version of the table of contents did not
	  correctly nest the lists in the parent items (STR #10)
	- Borders around left and right-aligned images were not
	  drawn properly (PR #5112)
	- Grayscale PDF output was not truly grayscale (STR #32)
	- Fixed a table-of-contents bug introduced in 1.8.24rc1
	  which caused the PDF document outline and actual TOC
	  pages were not rendered properly (STR #37)
	- Links were not rendered due to a bug that was
	  introduced in 1.8.24rc2 (STR #41)
2009-01-08 11:57:24 +00:00
jlam
7a9ee81fcc Restructure the following packages:
www/htmldoc
	www/htmldoc-x11

The latter is now just www/htmldoc built with a specific set of options.
Changes include:

+ Add options.mk that supports a new option:

	htmldoc-gui		Build with GUI support

+ Remove Makefile.common and move all logic into htmldoc/Makefile and
  htmldoc/options.mk.

+ Add full DESTDIR support.

+ Bump the PKGREVISION for htmldoc and htmldoc-x11 to 7.  Both packages
  now track and use the same PKGREVISION number.
2008-04-22 16:24:31 +00:00
tnn
ad6ceadd25 Per the process outlined in revbump(1), perform a recursive revbump
on packages that are affected by the switch from the openssl 0.9.7
branch to the 0.9.8 branch. ok jlam@
2008-01-18 05:06:18 +00:00
joerg
0120562169 Uses C++. 2006-05-12 10:41:54 +00:00
wiz
375b5e4933 More PKGREVISION bumps for png-1.2.9nb2 update. 2006-04-17 14:52:10 +00:00
jlam
9c8b5ede43 Point MAINTAINER to pkgsrc-users@NetBSD.org in the case where no
developer is officially maintaining the package.

The rationale for changing this from "tech-pkg" to "pkgsrc-users" is
that it implies that any user can try to maintain the package (by
submitting patches to the mailing list).  Since the folks most likely
to care about the package are the folks that want to use it or are
already using it, this would leverage the energy of users who aren't
developers.
2006-03-04 21:28:51 +00:00
rillig
6a433f24d1 Removed unnecessary ${.CURDIR}. 2005-05-24 14:24:45 +00:00
tv
f816d81489 Remove USE_BUILDLINK3 and NO_BUILDLINK; these are no longer used. 2005-04-11 21:44:48 +00:00
wiz
809ad6f2f7 Add RMD160 checksums. 2005-02-24 14:08:26 +00:00
snj
744218de39 Convert to buildlink3. 2004-04-30 05:25:59 +00:00
wiz
a661ce60c0 PKGREVISION bump after openssl-security-fix-update to 0.9.6m.
Buildlink files: RECOMMENDED version changed to current version.
2004-03-26 02:27:34 +00:00
agc
3ad1bdbf06 Move WRKSRC definition away from the first paragraph in a Makefile. 2004-01-20 12:18:15 +00:00
jschauma
fe19bb05b5 PKGREVISION++ after openssl update. 2003-11-12 03:39:39 +00:00
grant
ca3be631f2 s/netbsd.org/NetBSD.org/ 2003-07-17 22:50:55 +00:00
jschauma
874df2b597 s/packages@/tech-pkg@/g
(Forgot the last time we did this.  Pointed out by Sergey
Svishchev (svs at ropnet dot ru))
2003-06-23 14:23:13 +00:00
drochner
95a1dc8c68 update to 1.8.23
changes:
HTMLDOC now supports a full alpha channel in PNG files.
HTMLDOC now reports an error when a table, image, or section of text
 overflows into an adjacent table cell or off the right edge of the page.
The NEW SHEET page comment now breaks on N-up boundaries when N is
 greater than 1.
bugfixes
2002-12-07 18:53:13 +00:00
wiz
f84611a4d8 Set PATCHDIR, for htmldoc-x11. 2002-10-03 15:33:20 +00:00
wiz
29cdfd35ae Update to 1.8.22, as requested by Christian Biere in PR 18460.
Changes:
NEW FEATURES

- Now support many Windows code pages in addition to ISO charsets.
- HTMLDOC now supports heading levels 1 to 15.
- HTMLDOC now allows the author to omit headings from
  the TOC using the _HD_OMIT_TOC attribute.
- HTMLDOC now supports remote book files when running
  from the command-line.
- HTMLDOC now supports hexadecimal character constants (&#xFF)
- New --nup and NUMBER-UP options for PostScript and PDF output.
- HTMLDOC now logs HTML errors.
- HTMLDOC now supports the A3, B, Legal, and Tabloid size names.
- HTMLDOC now supports embedding of the base Type1 fonts
  in PostScript and PDF output.

CHANGES

- HTMLDOC now calculates the resolution of the body
  image using the printable width instead of the page width.
- HTMLDOC should now compile out-of-the-box using the Cygwin tools.
- HTMLDOC no longer inserts whitespace between text inside DIV elements.
- HTMLDOC now supports quoted usernames and passwords in URLs.
- HTMLDOC now defaults unknown colors to white for background colors and
  black for foreground colors. This should make documents that use
  non-standard color names still appear readable.
- The HTML parser now allows BODY to auto-close HEAD and visa-versa.

BUG FIXES

- HTMLDOC could crash when checking if a URL is already cached.
- HTMLDOC didn't adjust the top margin when changing the
  page header if the comment didn't appear at the top of a page.
- HTMLDOC didn't initialize the right number of TOC headings.
- When using a logo image in the header, the header was
  placed too low on the page.
- "make install" didn't work in the fonts directory.
- "&euro;" didn't work, while "&#128;" did: the
  character name table was not sorted properly...
- Links didn't always point to the right page in PDF output.
- XRX comment output could crash HTMLDOC.
- Fixed-width columns in tables could be resized by HTMLDOC.
- When writing PostScript commands, some printers reset
  their duplexing state when a new setpagedevice command
  is received; we now cache the current duplex state and
  change it only as needed.
- The MEDIA SIZE comment didn't adjust the printable
  size for the current landscape setting.
- HTMLDOC placed the header one line too high.
- When continuing a chapter onto the next page, H3 and
  higher headings would be indented the wrong amount.
- HTMLDOC wouldn't compile using GCC under HP-UX due to
  a badly "fixed" system header file (vmtypes.h).
- Generating a book without a table-of-contents would
  produce a bad PDF file.
- The Xerox XRX comments used the wrong units for the
  media size, points instead of millimeters.
- IMG elements with links that use the ALIGN attribute
  didn't get the links.
- Header and footer comments would interfere with the
  top and bottom margin settings.
- Fixed a bug in the htmlReadFile() function which
  caused user-provided title pages not to be displayed
  in PS or PDF output.
- The table-of-contents would inherit the last media
  settings in the document, but use the initial settings
  when formatting.
2002-09-29 14:20:04 +00:00
jlam
f2c0e2bffd buildlink1 -> buildlink2 2002-09-23 23:34:59 +00:00
seb
fbdadc9472 Update to version 1.8.19.
There are really too many changes to mention them all here, previous version
of the package was 20 htmldoc versions behind! See the file CHANGES.txt in the
sources for more details. Anyway you should update.

As suggested in PR pkg/14557 by <collver@linuxfreemail.com> the package had
been strongly buildlinked.  This update address part of this PR.

Also introduce support for another package of htmldoc with the X Windows GUI
activated.
2002-05-06 21:42:37 +00:00
fredb
85f57a0a68 Straighten out DISTNAME/PKGNAME/WRKSRC in the face of bsd.pkg.mk's
PKGNAME munging.
2002-03-17 15:43:43 +00:00
fredb
b48eba1112 Give all packages which depend on "png" a version bump, and update
all dependencies on packages depending on "png" which contain shared
libraries, all for the (imminent) update to the "png" package.
[List courtesy of John Darrow, courtesy of "bulk-build".]
2002-03-13 17:36:35 +00:00
zuntum
431e7a7dda Move pkg/ files into package's toplevel directory 2001-11-01 02:15:23 +00:00
jlam
c4e71c5e7a CPPFLAGS is now passed to MAKE_ENV and CONFIGURE_ENV by bsd.pkg.mk, so
adapt by moving CPPFLAGS settings to top-level, and removing explicit
inclusion of CPPFLAGS into MAKE_ENV and CONFIGURE_ENV.
2001-06-11 06:34:17 +00:00
wiz
26c40c61dd Update dependency on png to >=1.0.11 because of the shlib major bump.
Noted by Frederick Bruckman.
2001-05-22 09:32:18 +00:00
dmcmahill
5728c47653 this works on 1.5 alpha so only mark it as broken for old systems (1.3,1.4).
also don't use floats as ints...
2001-05-13 01:16:23 +00:00
skrll
aa3c03b75a Move to sha1 digests, and add distfile sizes. 2001-04-20 12:02:30 +00:00
agc
8f972b049a + move the distfile digest/checksum value from files/md5 to distinfo
+ move the patch digest/checksum values from files/patch-sum to distinfo
2001-04-17 12:12:16 +00:00
tron
5382bbe7c6 Because the minor number of the PNG library was increased packages compiled
using the newest PNG library won't work on system with an older one. To
prevent such problems with precompiled binary packages require at least
"png-1.0.9nb1" in all dependences.
2001-03-04 09:06:09 +00:00
wiz
a0745845b3 Update to new COMMENT style: COMMENT var in Makefile instead of pkg/COMMENT. 2001-02-17 17:21:28 +00:00
tron
ea7dc91900 Because the minor of "libpng" was bumped we must sure that packages
compiled for the update "png" package depend on it.
2000-03-21 22:40:50 +00:00
tron
e8a1039530 Use "png>=1.0.3" instead of "png-*" in dependence list. 2000-02-09 20:20:52 +00:00
tron
f184beb4a5 Use wildcard dependence for "png" package. 2000-02-09 15:22:32 +00:00
wiz
3a04934ff6 silence pkglint by uncommenting RCS tag 2000-02-05 14:03:27 +00:00
abs
df05aef71f Strip trailing '.', and/or leading '(a|an) ' 2000-01-05 15:37:50 +00:00
agc
00a16e3008 Add package patch checksum files. 1999-07-09 14:22:59 +00:00
abs
ce464992ce Update to 1.7. Also ensure we use jpeg and png. 1999-06-04 01:22:37 +00:00
tv
5c60ed5794 Change {ONLY,NOT}_FOR_{ARCH,OPSYS} format to {ONLY,NOT}_FOR_PLATFORM
pattern match format.  Minor pkglint along the way.
1999-05-24 20:39:35 +00:00