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
This changes the buildlink3.mk files to use an include guard for the
recursive include. The use of BUILDLINK_DEPTH, BUILDLINK_DEPENDS,
BUILDLINK_PACKAGES and BUILDLINK_ORDER is handled by a single new
variable BUILDLINK_TREE. Each buildlink3.mk file adds a pair of
enter/exit marker, which can be used to reconstruct the tree and
to determine first level includes. Avoiding := for large variables
(BUILDLINK_ORDER) speeds up parse time as += has linear complexity.
The include guard reduces system time by avoiding reading files over and
over again. For complex packages this reduces both %user and %sys time to
half of the former time.
KHTML
* Treat specific attribute values case-insensitively during style matching.
With these changes, KHTML becomes the first rendering engine to thoroughly
pass the 578 tests of the excellent Automated CSS3 Selectors Testsuite
(http://www.css3.info/selectors-test).
* Implement CSS3 extension text-overflow: ellipsis.
* Implement overflow-x/y as many websites use it now.
* Fix overflow sometimes not painted/repainted.
* Fix incorrect margin for some tables.
* Fix crashes on some AJAX pages.
* Fix background no-repeat image wrapping.
* Fix instanceof ecma operator not working on DOM objects.
* Fix some pages appearing empty or missing content.
* Fix table caption rendering on some pages.
* Make innerText much faster fixing freezes on some web pages.
* Fix crash on javascript manipulated tables.
* Fix all links gettinh underlined while hovering over just one link on
some malformed web pages.
* Let floats overflow the left border when they should.
* Fix cursor in input field not disappearing when setting focus to another
input field.
* Prevent crash-inducing recursion of detach due to blur events happening
when widgets with focus get destroyed.
* Fix border collapse not working in tables.
* Fix ∉ displayed as ¬in;.
* Make max-height and max-width: none work correctly.
* Fix memory leak when using deleteRule.
* Fix crash when resolving a stylesheet imported from external one.
* Fix an infinite relayout on msdn.
* Fix computed line-height beign incorrect.
* Fix crash race on various sites with popup ads.
* Reset hover text when mouse leaves khtml view.
* Whenever the content changes, recheck if the mouse cursor shall show
some other shape to correctly match it to the content below it.
* Immediately redraw visited links with the respective color when the
page got loaded and inserted into the history.
* Fix tables sometimes intruding floats on dynamic restyle.
* Fix conflicting priorities in font shorthand parsing leading to wrong
line-height computation.
* Do not crash when finding backwards.
* Fix infinite recursion happening when changing style from
overflow:scroll to auto.
* Fix initial size of input type=FILE form control.
* Make vertical-align text-top/bottom CSS 2.1 compliant.
* Fix ecma alert() dialog formatting it's output as a single huge line
without line breaks.
Kate
* Add actionscript highlighting.
* Add some pseudo-elements that khtml supports, but FireFox doesn't.
* Fix wrong indentation at top of source file in cstyle indenter.
* Fix memory leaks and accessing uninitialized variable.
* Fix endless loop in cstyle indenter.
* Fix crash using comment commands.
* Java Highlighting: Correctly highlight comments after import lines.
kdefx
* Change asterisks on passwords to bullets.
kdeprint
* Fix printing of files with accentuated characters in filename or in
the path.
* Fix showing names of non local files in kprinter.
kio
* Don't crash when creating a job for an invalid URL.
* Hide the progress dialog while displaying the password dialog.
* Fix wrong "Couldn't receive DCOP signal" errors on RMB menu.
* Fix statusbar having more than one line.
* Fix possible data loss when using kioexec.
KJS
* Properly propagate some exception values.
* Fixed Number.toPrecision(n) calls on negative zero.
* Allow changing the internal value of invalid dates.
* Fix Unicode support in RegExp handling, and also be more robust
vs. embedded nulls. Fixes problems with some cyrillic characters in
gmail and makes google calendar somewhat work.
and add a new helper target and script, "show-buildlink3", that outputs
a listing of the buildlink3.mk files included as well as the depth at
which they are included.
For example, "make show-buildlink3" in fonts/Xft2 displays:
zlib
fontconfig
iconv
zlib
freetype2
expat
freetype2
Xrender
renderproto
RECOMMENDED is removed. It becomes ABI_DEPENDS.
BUILDLINK_RECOMMENDED.foo becomes BUILDLINK_ABI_DEPENDS.foo.
BUILDLINK_DEPENDS.foo becomes BUILDLINK_API_DEPENDS.foo.
BUILDLINK_DEPENDS does not change.
IGNORE_RECOMMENDED (which defaulted to "no") becomes USE_ABI_DEPENDS
which defaults to "yes".
Added to obsolete.mk checking for IGNORE_RECOMMENDED.
I did not manually go through and fix any aesthetic tab/spacing issues.
I have tested the above patch on DragonFly building and packaging
subversion and pkglint and their many dependencies.
I have also tested USE_ABI_DEPENDS=no on my NetBSD workstation (where I
have used IGNORE_RECOMMENDED for a long time). I have been an active user
of IGNORE_RECOMMENDED since it was available.
As suggested, I removed the documentation sentences suggesting bumping for
"security" issues.
As discussed on tech-pkg.
I will commit to revbump, pkglint, pkg_install, createbuildlink separately.
Note that if you use wip, it will fail! I will commit to pkgsrc-wip
later (within day).
Many new features and refinements.
Notable changes include:
* Konqueror is the second web browser to pass the Acid2 CSS test,
ahead of Firefox and Internet Explorer
* Konqueror can also now free web pages from adverts with its
ad-block feature
* SuperKaramba is included in KDE, providing well-integrated and
easy-to-install widgets for the user's desktop
* Kopete has support for MSN and Yahoo! webcams
* The edutainment module has three new applications (KGeography,
Kanagram and blinKen), and has seen huge improvements in Kalzium
Changes:
* kdecore: Fix in command-line argument handler for clicking on mailto
urls while kontact was started with arguments
* kdecore: Fix the support for Dante proxies
* kdecore: Fix the "random resolver failure" problem
* kdecore: Fix the support for the IPv6 Blacklist in ioslaves
* kdeui: Fix "Change Icon" in the toolbar editor
* khtml: Fix submitted position for scrolled imagemaps
* khtml: Load external CSS style-sheet with correct charset
* khtml: Apply CSS padding to tables
* khtml: Improve PRE parsing
* khtml: Fix links with WBR tags
* khtml: Parse CSS3 pseudo-classes and pseudo-elements more strict
* khtml: Fix document.all.item
* khtml: Return meaningful HTMLTableCellElement::cellIndex() values
* khtml: Unbreak setting of location.href on windows opened by
windows.open()
* khtml: Various crash fixes
* khtml: Fixed infinite loop due to onChange from textareas
* khtml: Fix crash in window.setTimeout when Javascript is disabled
* khtml: Fix server-side-push handler to accept bugzilla sending
"text/html; charset=utf-8" as Content-Type
* khtml: Fix for MMB-pasting onto an empty konqueror window
* kjs: Allow non-ascii letters in identifiers
* kjs: More flexible date string parsing
* kjs: Fixes in escape() and unescape() functions
* kjs: Fixes in RegExp constructor
* kssl: store SSL passwords in the KDE wallet and reuse as needed
* kio: KZip: Fixed double-deletion bug when trying to write to a
non-writable directory.
* kio: Fix for print:/manager not embedding the right part in Konqueror
* kio: Use correct window icon in Konqueror when showing trash:/
* kfile: Don't show edit dialog when drop-adding items to sidebar
* kfile: If Shift is pressed when menu opens show 'Delete' instead of
'Trash'
* kio-http: Prevent endless busy loop
* kio-http: Massive speed improvement for deleting Webdav folders
* kio-ftp: Try non-passive mode if passive mode fails
* kio-ftp: Fix parsing of Netware FTP servers, so that files don't all
appear with a lock (no permissions)
* kutils: Fixed support for back ref \0 (entire matched text)
caches variable definitions that were computed by make. These variables
are specified by listing them in MAKE_VARS, e.g.,
.if !defined(FOO)
FOO!= very_time_consuming_command
.endif
MAKE_VARS+= FOO
bsd.pkg.mk will include only the one generated during the most recent
phase. A particular phase's makevars.mk file consists of variable
definitions that are a superset of all of the ones produced in previous
phases of the build.
The caching is useful because bsd.pkg.mk invokes make recursively,
which in the example above has the potential to run the very time-consuming
command each time unless we cause FOO to be defined for the sub-make
processes. We don't cache via MAKE_FLAGS because MAKE_FLAGS isn't
consistently applied to every invocation of make, and also because
MAKE_FLAGS can overflow the maximum length of a make variable very
quickly if we add many values to it.
One important and desirable property of variables cached via MAKE_VARS
is that they only apply to the current package, and not to any
dependencies whose builds may have been triggered by the current
package.
The makevars.mk files are generated by new targets fetch-vars,
extract-vars, patch-vars, etc., and these targets are built during
the corresponding real-* target to ensure that they are being invoked
with PKG_PHASE set to the proper value.
Also, remove the variables cache file that bsd.wrapper.mk was generating
since the new makevars.mk files provide the same functionality at a
higher level. Change all WRAPPER_VARS definitions that were used by
the old wrapper-phase cache file into MAKE_VARS definitions.
package because PKG_OPTION.<pkg> could contain negative options, which
are never part of PKG_OPTIONS. Instead, use the show-var target to
display the value. We cache it in WRAPPER_VARS and in MAKE_FLAGS to
prevent reinvoking the show-var target recursively.
Highlights at a glance
* Text-to-speech system with support built into Konqueror, Kate, KPDF
and the standalone application KSayIt
* Support for text to speech synthesis is integrated with the desktop
* Completely redesigned, more flexible trash system
* Kicker with improved look and feel
* KPDF now enables you to select, copy & paste text and images from
PDFs, along with many other improvements
* Kontact supports now various groupware servers, including eGroupware,
GroupWise, Kolab, OpenGroupware.org and SLOX
* Kopete supports Novell Groupwise and Lotus Sametime and gets
integrated into Kontact
* DBUS/HAL support allows to keep dynamic device icons in media:/ and
on the desktop in sync with the state of all devices
* KHTML has improved standard support and now close to full support for
CSS 2.1 and the CSS 3 Selectors module
* Better synchronization between 2 PCs
* A new high contrast style and a complete monochrome icon set
* An icon effect to paint all icons in two chosen colors, converting
third party application icons into high contrast monochrome icons
* Akregator allows you to read news from your favourite RSS-enabled
websites in one application
* Juk has now an album cover management via Google Image Search
* KMail now stores passwords securely with KWallet
* SVG files can now be used as wallpapers
* KHTML plug-ins are now configurable, so the user can selectively
disable ones that are not used. This does not include Netscape-style
plug-ins. Netscape plug-in in CPU usage can be manually lowered, and
plug-ins are more stable.
* more than 6,500 bugs have been fixed
* more than 1,700 wishes have been fullfilled
* more than 80,000 contributions with several million lines of code and
documentation added or changed
Changes:
* kdecore: recognize known names for the MacRoman charset
* khtml: only disallow fixed positioning on body, not relative/absolute
* khtml: added Javascript-support for HTMLDocument.compatMode
* khtml: fixed textarea manipulation by DOM
* khtml: paged media support (page-break-before and -after)
* khtml: correctly handle text-transform on first-letter
* khtml: fixed display: block on pseudo-elements
* khtml: return Undefined instead of Null for out-of-range indices
* khtml: fixed stopPropagation when called from the target node itself
* khtml: fixed htmlCompat mode for documents served as text/html
* khtml: fixed display: compact
* khtml: support z-order for text areas and list boxes
* khtml: don't set assume <select> got items when we calculate a height
for items
* khtml: changed default horizontal margins for H1-H6 from auto to 0
* khtml: escape otherwise unencodable characters in form submits
* khtml: merged min,max-height fixes
* khtml: merged handling of event handlers
* khtml: implemented CSS 2.1 compliant parsing of background-position
* khtml: fixed m_value vs ATTR_VALUE problem which didn't allow sending
mail on gmail
* khtml: make use of the suggested filename for images
* khtml: tons of bidi fixes
* khtml: enable strict CSS parsing also for transitional doctypes
* khtml: ignore height element for input elements that are not image
* khtml: form widget fixes for plastik (and others)
* khtml: make sure we are layouted before scrolling if we are still
loading
* khtml: add compensated font scale from Todd Fahrner's "Toward a
standard font size interval system"
* khtml: avoid triggering full repaints of the view before the first
layout is done
* khtml: implement CSS3 property box-sizing to match MacIE, Opera and
Mozilla
* khtml: fix globeandmail.com famlily of crashes
* khtml: floats and flowing around floats improvements
* khtml: fix textarea scrolling positions
* khtml: tons of fixes for tables
* khtml: remove hidden widgets from the painting
* khtml: avoid crashes on XML documents
* khtml: ignore relative positioning on table sections
* khtml: fix static position calculation for positioned elements
* khtml: support insertAdjacentHTML
* khtml: fix crash in sites manipulating frames
* khtml: async kwallet support
* khtml: fix selectorText() when no namespace is specified
* khtml: update the layout before fetching the computed values
* khtml: color 'http://foo' links as visited if 'http://foo/' is in
history
* khtml: corrected ref-counting error leading to segfault/invalid
memory usage
* khtml: fixed some memory corruptions with garbage HTML
* khtml: account for scrollbar height when sizing variable
overflow:scroll/auto boxes
in the process. (More information on tech-pkg.)
Bump PKGREVISION and BUILDLINK_DEPENDS of all packages using libtool and
installing .la files.
Bump PKGREVISION (only) of all packages depending directly on the above
via a buildlink3 include.
* Rewrite the name-resolution routines so that true asynchronous lookups
are possible (multithreaded). Thiago Macieira
* kconf_update has now support for updating files other than config
files. Waldo Bastian
* Crypto certificates import without user interaction Helge Deller
* KEditToolbar: Add support for arranging actions via drag&drop. Sandro
Giessl
* Move KNewStuff to kdelibs, making it usable for KDE-Edu etc. Josef
Spillner
* Introduce KIMIface, a generic DCOP interface to instant messaging/chat
clients, and support libraries for other KDE apps, enabling loosely
coupled integration. Will Stephenson
* Show actions icons in the configure shortcut dialog. Olivier Goffart
* KKeyDialog: add widget (based on klistviewsearchline) for searching
shortcuts Cristian Tibirna
* User visible feedback if invocation of browser, help Center or mailer
fails
* KImgIO
o Add EXR image plugin, supports reading high dynamic range files.
Brad Hards
o Add support for SGI images (a.k.a. "RGB" images). These do typically
have file extensions *.rgb, *.rgba, *.sgi, or *.bw. The SGI image
file format is a de-facto standard for textures, for example in 3D
modeling. Melchior Franz
o Add read support for DDS images (Direct Draw Surface). This format
is mainly used for textures in DirectX. Ignacio Castaño
* libkabc
o Write support and SSL/TLS for the LDAP resource Szombathelyi György
* KLocale
o Try harder to find message translations if a string is not translated
in the primary language of the user, but available in other languages
that the user has chosen in kcontrol. Heiko Evermann
* KSpell2
o Introduction of the new spellchecking library fixing all of KSpell
shortcomings. Zack Rusin
* KHTML part
o KHTML: Merge text shifting from WebCore. Leo Savernik
o KHTML: Type-ahead find Arend van Beelen jr.
o Copy To->IM Contact... context menu entry. Using kimproxy, allow one
to initiate a file transfer from Konqueror. Will Stephenson
o Added "Open in This Window" in popup frame submenu
o New context menu when text is selected which allows lookup in default
search engine
o Fixed and improved Access Key support: now activated by pressing and
releasing the ctrl key. When activated, the accesskey mode displays all
accesskeys available in tooltips Jean-Baptiste Mardelle
Changes:
* Fix CR at end of line in source file
* Make the kalyptus script install with the executable bit set
* Respect "EffectsEnabled" for tearoff handle setting