pkgsrc/www/dillo/Makefile

48 lines
1.3 KiB
Makefile
Raw Normal View History

# $NetBSD: Makefile,v 1.72 2016/07/09 06:39:12 wiz Exp $
DISTNAME= dillo-3.0.5
PKGREVISION= 2
CATEGORIES= www
MASTER_SITES= http://www.dillo.org/download/
Updated to version 0.7.2. Changes: - use tar.bz2 distfile - add USE_INET6 to BUILD_DEFS only if it's really used - DESCR has 80 columns - style nits 0.7.2: ====== - * Implemented text selection! (aka: Copy&Paste) (BUG#59) Patch: Sebastian Geerken, Eric Gaudet - * Fixed IPv6 support when the unthreaded server is used. Patch: Damien Couderc, Jorge Arellano - * Fixed the IPv6 socket connection code for *BSD. Patch: Daniel Hartmeier, Jorge Arellano - * Made the URL_SpamSafe flag be inherited by the BASE element. Patch: Melvin Hadasht - * Switched configure.in to use AC_CANONICAL_SYSTEM instead of 'uname'. Patch: Patrice Mandin - * Added "image/x-png" to MIME types (obsolete, but should be recognized). Patch: Paolo P. - * Fixed the code that handled the installation of "dillorc". Patches: Andreas Schweitzer, Paolo P. - * Fixed a lot of glitches in configure.in: notably libpng and libjpeg detection, enabling and disabling. (BUG#: 386, 407, 392, 349)! Patches: Andreas Schweitzer - * Fixed two leaks in Dw(Ext)Iterator. Patches: Jörgen Viksell - * Repaired some minor misbehaviours in the cookie-strings parser. Patches: Jörgen Viksell, Jorge Arellano - * Enabled entities parsing in HTML-given hidden and password values. Patch: Jorge Arellano, Francis Daly - * Implemented character stuffing in dpi (Fix bookmarks with quotes) BUG#434. * Added a HTML warning message for META outside HEAD. * Removed a segfault source when the server doesn't send content/type info. * Added file type detection for filenames without extension. * Removed the warnings detected with gcc 3.2.2. * Fixed the VERBATIM parsing mode and replaced the SCRIPT mode with it. * Fixed the problem with CR handling in TEXTAREA (BUG#318). * Fixed initial value parsing within TEXTAREA tags (BUG#400). * Fixed loading files with spaces in the name (command line) BUG#437. Patches: Jorge Arellano
2003-05-06 18:10:15 +02:00
EXTRACT_SUFX= .tar.bz2
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://www.dillo.org/
COMMENT= Very small and fast graphical web-browser
Update to 3.0.3 * Add LICENSE. Changelog: dillo-3.0.3 [April 17, 2013] +- Support for CSS display property - Replace polling in DNS with a pipe. - Packed trie to optimize hyphenator memory consumption. - Fix crash in datauri dpi. - Speed up DNS requests when ipv6 isn't enabled. Patches: Johannes Hofmann +- Fix image input coordinates (BUG#1070) - When location bar is given focus, temporarily show panels if hidden (BUG#1093). - Fix bug where data URI has charset but no media type. - Bug meter line number fix for bare carriage returns. - Add some more info to various bug meter messages. - For text selection, fix releasing mouse button outside of boundary. - While selecting text, moving cursor outside viewport will scroll it. - Make form resetting work for <select>. - Never leave location bar empty when requesting page (BUG#1113). - Some improvements to tab navigation of form widgets (includes BUG#1111). - Don't let form input widget insert literal control chars (BUG#1110). - Assorted improvements to browser usability from the keyboard. - Added user interface color preferences (ui_*). - Removed show_url preference. Patches: corvid +- Automatic hyphenation (includes penalty_* preferences that control line-breaking). Patch: Sebastian Geerken +- Added the "view-source" keybinding (default: Ctrl-U). Patch: Alexander Voigt +- Introduced the domainrc mechanism for finer-grained control than filter_auto_requests had provided. Patch: p37sitdu, corvid +- After focusing option menu, keypress will seek to next one beginning with that character. - When active tab is closed, focus the last one visited or opened. - Fixed a bug in dpip when dillo aborts a running dpi connection. Patches: Jorge Arellano Cid +- Better window titles. - Show dialog if saved file would overwrite an existing one. Patches: Jeremy Henty +- Remove hardcoded UI colors. Patch: Benjamin Johnson, corvid +- Fix fd leak in dpi write failure case. Patch: p37sitdu, Jorge Arellano Cid
2013-06-09 18:29:33 +02:00
LICENSE= gnu-gpl-v3
USE_LANGUAGES= c c++
Changes 0.8.4: - * Fixed a possible attack (program abortion) by malicious web pages, which contain huge values for <table> attributes "colspan" and "rowspan". * Changed anchors, they are now tested to be unique, and removed properly, when a widget tree is changed (e.g. another page is visited). Also added HTML warnings. Patches: Sebastian Geerken - * Fixed two minor memory leaks (IO's Buf1Start & html's SPCBuf). * Fixed handling of XML's "/>" tag-closing (e.g. <script ... />). BUG#514 * Removed obsolete code from IO/file.c. * Added a few missing EINTR handlers in dpi.c. * Orthogonalized the generic parser: - Fixes memory leaks and widget state when recovering from bad HTML. - Improves error detection and validation (needed by XHTML). - Makes DOC tree generation possible (needed by CSS). - Cleaner design of handling routines for bad HTML. - Orthodox treatment of double optional elements (HTML, HEAD, BODY). - Lots of minor code cleanups. * Switched the dpi file server's design to pthreads (fixes a critical race). * Avoided a crash when indexed GIF images lack a color map (BUG#647). * Fixed a bug when the remote HTTP server sends no Content-Type and the TCP packetizing splits the header from data (BUG#650). * Returned the parser to the old whitespace "collapsing" mode (this can be changed with the SGML_SPCDEL define in html.c). * Fixed a memory leak for DwStyle (there was one leak per page). Patches: Jorge Arellano - * Fixed a large memory leak of thread specific resources. --Very important Patch: Jorge Arellano, Livio Baldini - * Removed warnings for pointer arithmetic and strict prototypes all around the code (now it works under LP64 architectures). * Made miscelaneous cleanups for LP64 architectures. Patches: Jorge Arellano, Dieter Baron - * Changed dpid's umask to 0077. Patch: Jorge Arellano, Richard Zidlicky - * Switched to g_vsnprintf (instead of vsnprintf). Patch: Frank Wille - * Updated a bit the README file. Patch: Dieter Baron - * Made a grammatical and typographical review of the whole documentation in doc/. Also added some clarifications. * Fixed a libpng detection problem (e.g., on CYGWIN). BUG#651 Patches: Roberto Sanchez - * Fixed "id" and "name" attributes parsing logic. * Improved the parsing algorithm for character entities. BUG#605 Patches: Matthias Franz - * Fixed a security bug with uncertain data and a_Interface_msg(). CAN-2005-0012. Patch: Tavis Ormandy
2005-01-27 10:39:44 +01:00
GNU_CONFIGURE= yes
CONFIGURE_ARGS+= --sysconfdir=${PKG_SYSCONFBASEDIR}
Update to 3.0.3 * Add LICENSE. Changelog: dillo-3.0.3 [April 17, 2013] +- Support for CSS display property - Replace polling in DNS with a pipe. - Packed trie to optimize hyphenator memory consumption. - Fix crash in datauri dpi. - Speed up DNS requests when ipv6 isn't enabled. Patches: Johannes Hofmann +- Fix image input coordinates (BUG#1070) - When location bar is given focus, temporarily show panels if hidden (BUG#1093). - Fix bug where data URI has charset but no media type. - Bug meter line number fix for bare carriage returns. - Add some more info to various bug meter messages. - For text selection, fix releasing mouse button outside of boundary. - While selecting text, moving cursor outside viewport will scroll it. - Make form resetting work for <select>. - Never leave location bar empty when requesting page (BUG#1113). - Some improvements to tab navigation of form widgets (includes BUG#1111). - Don't let form input widget insert literal control chars (BUG#1110). - Assorted improvements to browser usability from the keyboard. - Added user interface color preferences (ui_*). - Removed show_url preference. Patches: corvid +- Automatic hyphenation (includes penalty_* preferences that control line-breaking). Patch: Sebastian Geerken +- Added the "view-source" keybinding (default: Ctrl-U). Patch: Alexander Voigt +- Introduced the domainrc mechanism for finer-grained control than filter_auto_requests had provided. Patch: p37sitdu, corvid +- After focusing option menu, keypress will seek to next one beginning with that character. - When active tab is closed, focus the last one visited or opened. - Fixed a bug in dpip when dillo aborts a running dpi connection. Patches: Jorge Arellano Cid +- Better window titles. - Show dialog if saved file would overwrite an existing one. Patches: Jeremy Henty +- Remove hardcoded UI colors. Patch: Benjamin Johnson, corvid +- Fix fd leak in dpi write failure case. Patch: p37sitdu, Jorge Arellano Cid
2013-06-09 18:29:33 +02:00
REPLACE_PERL+= dpid/dpidc dillo-install-hyphenation
USE_TOOLS+= perl:run wget:run
Update dillo to 2.1.1, partially from Matthew Mondor in PR pkg/41670. Changes: 2.1.1: Add additional size checks for images. Added support for css colors of the form rgb(255, 255, 255). Added the 'nop' keybinding (nop = NO_OPERATION; cancels a default hook). Added 'stop' key action (not bound by default). Reduced 'warning: ignoring return value of ...' 2.1: Implemented basic CSS infrastructure! Read user style from ~/.dillo/style.css. Added configurable keybindings! (in ~/.dillo/keysrc) Implemented "search previous" in string searches. Ported the command line interface from dillo1 Set middle click to submit in a new TAB. (Helps to keep form data!) Implemented Basic authentication! Implemented a close-tab button for the GUI. Implemented a tools menu. Added dillo(1) man page. Added "font_max_size", "font_min_size" dillorc options. Added instant client-side redirects (aka. zero-delay META refresh). Proxy support for HTTPS. Updated the URL resolver to comply with RFC-3986. Fixed Bookmarks modify's HTML so it wraps nicely on handhelds. Made cookierc parsing more robust. Fix: recover page focus when clicking outside of a widget. Added support for the Q element. BUG#343 Added a right-click menu to form controls (show hiddens, submit, reset) Added the "http_language" dillorc option for setting HTTP's Accept-Language. Replace image loading button and page menu option with a tools menu option. Implemented the "overline" text-decoration. Enhanced and cleaned up text decorations for SUB and SUP. Added "View Stylesheets" to the page menu. System config files have moved to sysconfdir/dillo/ Allowed compilation with older machines by removing a few C99isms. Switched SSL-enabled to configure.in (./configure --enable-ssl). Removed redundant caller NULL checks already in the API. Added use of inttypes.h when stdint.h isn't found. Made the parser recognize "[^ ]/>"-terminated XML elements. Brought in Sebastian's CSS parser from dillo-0.8.0-css-3. Support CSS @import directive. Improved CSS selector matching performance using hash tables. Added support for descendant and child selectors. Support selector specificity. Replace bg_color dillorc option. Remove text_color, link_color, and force_my_colors dillorc options. Replace visited_color dillorc option. Allow negative values for specific CSS properties only. Disable negative margins for now as dw/* does not support them yet. Disable form widgets while stylesheets are loading. Implement --xid command line option (used by claws mail client). Added the "middle_click_drags_page" dillorc option. Set the File menu label to hide when the File menu-button is shown. Made a big cleanup of cache.c WRT charset decoding (fixes bugs). Made an extensive cleanup/fixup of the whole image handling process. Fixed handling of META's content-type with no MIME type (e.g. only charset). Added support for a quoted URL in META refresh. Updated the GPL copyright note in the source files.
2009-07-09 07:04:02 +02:00
PKG_SYSCONFSUBDIR= dillo
Updated to version 0.7.2. Changes: - use tar.bz2 distfile - add USE_INET6 to BUILD_DEFS only if it's really used - DESCR has 80 columns - style nits 0.7.2: ====== - * Implemented text selection! (aka: Copy&Paste) (BUG#59) Patch: Sebastian Geerken, Eric Gaudet - * Fixed IPv6 support when the unthreaded server is used. Patch: Damien Couderc, Jorge Arellano - * Fixed the IPv6 socket connection code for *BSD. Patch: Daniel Hartmeier, Jorge Arellano - * Made the URL_SpamSafe flag be inherited by the BASE element. Patch: Melvin Hadasht - * Switched configure.in to use AC_CANONICAL_SYSTEM instead of 'uname'. Patch: Patrice Mandin - * Added "image/x-png" to MIME types (obsolete, but should be recognized). Patch: Paolo P. - * Fixed the code that handled the installation of "dillorc". Patches: Andreas Schweitzer, Paolo P. - * Fixed a lot of glitches in configure.in: notably libpng and libjpeg detection, enabling and disabling. (BUG#: 386, 407, 392, 349)! Patches: Andreas Schweitzer - * Fixed two leaks in Dw(Ext)Iterator. Patches: Jörgen Viksell - * Repaired some minor misbehaviours in the cookie-strings parser. Patches: Jörgen Viksell, Jorge Arellano - * Enabled entities parsing in HTML-given hidden and password values. Patch: Jorge Arellano, Francis Daly - * Implemented character stuffing in dpi (Fix bookmarks with quotes) BUG#434. * Added a HTML warning message for META outside HEAD. * Removed a segfault source when the server doesn't send content/type info. * Added file type detection for filenames without extension. * Removed the warnings detected with gcc 3.2.2. * Fixed the VERBATIM parsing mode and replaced the SCRIPT mode with it. * Fixed the problem with CR handling in TEXTAREA (BUG#318). * Fixed initial value parsing within TEXTAREA tags (BUG#400). * Fixed loading files with spaces in the name (command line) BUG#437. Patches: Jorge Arellano
2003-05-06 18:10:15 +02:00
EGDIR= ${PREFIX}/share/examples/dillo
CONF_FILES= ${EGDIR}/dillorc ${PKG_SYSCONFDIR}/dillorc
CONF_FILES+= ${EGDIR}/dpidrc ${PKG_SYSCONFDIR}/dpidrc
Update dillo to 2.1.1, partially from Matthew Mondor in PR pkg/41670. Changes: 2.1.1: Add additional size checks for images. Added support for css colors of the form rgb(255, 255, 255). Added the 'nop' keybinding (nop = NO_OPERATION; cancels a default hook). Added 'stop' key action (not bound by default). Reduced 'warning: ignoring return value of ...' 2.1: Implemented basic CSS infrastructure! Read user style from ~/.dillo/style.css. Added configurable keybindings! (in ~/.dillo/keysrc) Implemented "search previous" in string searches. Ported the command line interface from dillo1 Set middle click to submit in a new TAB. (Helps to keep form data!) Implemented Basic authentication! Implemented a close-tab button for the GUI. Implemented a tools menu. Added dillo(1) man page. Added "font_max_size", "font_min_size" dillorc options. Added instant client-side redirects (aka. zero-delay META refresh). Proxy support for HTTPS. Updated the URL resolver to comply with RFC-3986. Fixed Bookmarks modify's HTML so it wraps nicely on handhelds. Made cookierc parsing more robust. Fix: recover page focus when clicking outside of a widget. Added support for the Q element. BUG#343 Added a right-click menu to form controls (show hiddens, submit, reset) Added the "http_language" dillorc option for setting HTTP's Accept-Language. Replace image loading button and page menu option with a tools menu option. Implemented the "overline" text-decoration. Enhanced and cleaned up text decorations for SUB and SUP. Added "View Stylesheets" to the page menu. System config files have moved to sysconfdir/dillo/ Allowed compilation with older machines by removing a few C99isms. Switched SSL-enabled to configure.in (./configure --enable-ssl). Removed redundant caller NULL checks already in the API. Added use of inttypes.h when stdint.h isn't found. Made the parser recognize "[^ ]/>"-terminated XML elements. Brought in Sebastian's CSS parser from dillo-0.8.0-css-3. Support CSS @import directive. Improved CSS selector matching performance using hash tables. Added support for descendant and child selectors. Support selector specificity. Replace bg_color dillorc option. Remove text_color, link_color, and force_my_colors dillorc options. Replace visited_color dillorc option. Allow negative values for specific CSS properties only. Disable negative margins for now as dw/* does not support them yet. Disable form widgets while stylesheets are loading. Implement --xid command line option (used by claws mail client). Added the "middle_click_drags_page" dillorc option. Set the File menu label to hide when the File menu-button is shown. Made a big cleanup of cache.c WRT charset decoding (fixes bugs). Made an extensive cleanup/fixup of the whole image handling process. Fixed handling of META's content-type with no MIME type (e.g. only charset). Added support for a quoted URL in META refresh. Updated the GPL copyright note in the source files.
2009-07-09 07:04:02 +02:00
CONF_FILES+= ${EGDIR}/keysrc ${PKG_SYSCONFDIR}/keysrc
Update to 3.0.3 * Add LICENSE. Changelog: dillo-3.0.3 [April 17, 2013] +- Support for CSS display property - Replace polling in DNS with a pipe. - Packed trie to optimize hyphenator memory consumption. - Fix crash in datauri dpi. - Speed up DNS requests when ipv6 isn't enabled. Patches: Johannes Hofmann +- Fix image input coordinates (BUG#1070) - When location bar is given focus, temporarily show panels if hidden (BUG#1093). - Fix bug where data URI has charset but no media type. - Bug meter line number fix for bare carriage returns. - Add some more info to various bug meter messages. - For text selection, fix releasing mouse button outside of boundary. - While selecting text, moving cursor outside viewport will scroll it. - Make form resetting work for <select>. - Never leave location bar empty when requesting page (BUG#1113). - Some improvements to tab navigation of form widgets (includes BUG#1111). - Don't let form input widget insert literal control chars (BUG#1110). - Assorted improvements to browser usability from the keyboard. - Added user interface color preferences (ui_*). - Removed show_url preference. Patches: corvid +- Automatic hyphenation (includes penalty_* preferences that control line-breaking). Patch: Sebastian Geerken +- Added the "view-source" keybinding (default: Ctrl-U). Patch: Alexander Voigt +- Introduced the domainrc mechanism for finer-grained control than filter_auto_requests had provided. Patch: p37sitdu, corvid +- After focusing option menu, keypress will seek to next one beginning with that character. - When active tab is closed, focus the last one visited or opened. - Fixed a bug in dpip when dillo aborts a running dpi connection. Patches: Jorge Arellano Cid +- Better window titles. - Show dialog if saved file would overwrite an existing one. Patches: Jeremy Henty +- Remove hardcoded UI colors. Patch: Benjamin Johnson, corvid +- Fix fd leak in dpi write failure case. Patch: p37sitdu, Jorge Arellano Cid
2013-06-09 18:29:33 +02:00
CONF_FILES+= ${EGDIR}/domainrc ${PKG_SYSCONFDIR}/domainrc
2009-07-07 16:24:05 +02:00
INSTALLATION_DIRS= share/doc/dillo ${EGDIR}
INSTALL_MAKE_FLAGS+= sysconfdir=${EGDIR}
2012-02-16 20:59:53 +01:00
LIBS.SunOS+= -liconv
.include "options.mk"
post-install:
2009-07-07 16:24:05 +02:00
${INSTALL_DATA} ${WRKSRC}/doc/*.txt ${DESTDIR}${PREFIX}/share/doc/dillo
${INSTALL_DATA} ${WRKSRC}/doc/README ${DESTDIR}${PREFIX}/share/doc/dillo
.include "../../converters/libiconv/buildlink3.mk"
.include "../../devel/zlib/buildlink3.mk"
.include "../../mk/jpeg.buildlink3.mk"
.include "../../graphics/png/buildlink3.mk"
2011-12-02 14:06:31 +01:00
.include "../../x11/fltk13/buildlink3.mk"
.include "../../mk/pthread.buildlink3.mk"
.include "../../mk/bsd.pkg.mk"