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.
Changes since 4.4.2:
x11/xfce4-panel:
* Quite a bit code changed in the dnd code. Mostly to fix a segfault
in FreeBSD-amd64, but more problems were discovered and a lot of
code was simplified.
* Don't respond the uri drags, we don't use it and it only causes
problems like hiding the panel when a file was dragged over the
panel (Bug #3815).
* Fix crash with xrandr 1.2 (Bug #3620)
x11/xfce4-desktop:
* Make menu panel plugin honor CustomizeDesktopMenu kiosk setting
(Bug #1026).
* Fix incorrect initial desktop font size when setting custom font
size if a custom font was never set before (Bug #3957).
wm/xfce4-wm:
* Fix automaximize on move
* Remove trailing \0 in UTF-8 strings, that causes libwnck to
rightfully complain that NET_WM_NAME contains invalid UTF-8
* Exit on SelectionClear event so that xfwm4 exits even with WM who
do not send a ClientMessage event such as Openbox (Bug #2374)
* Backport overlay and compositor support from trunk (Bug #3849)
* Filter out grab/ungrab events so we don't end up redrawing the
frame twice
* Set monitor when positionning menu (Bug #4162)
* Reduce flickering during resize (Bug #4283)
* Fix NET_WM_STATE claiming maximization vertical and horizontal even
if only horizontal of vertical is actually set (Should fix Bug #3969)
* Loosen the rule that prevents an application from iconifying itself
when skip_taskbar is set (Bug #4434)
* Rework visual depth selection of the frame window (Bug #4452)
* Add support for NET_MOVERESIZE_WINDOW
* Take gravity bit into account in configure resize only requests to
comply with standard (Bug #3634)
* Add client windows to save set to avoid loosing all windows in case
of crash
* Use guint32 instead of Time internally to avoid potential issues in
64bits
* Add a "--replace" command line option to replace ICCCM2 compliant
window managers (Bug #3731)
x11/libxfce4gui:
* Fix format-string vulnerability in dialog code
x11/xfce4-terminal:
* Update to latest trunk translations.
sysutils/xfce4-thunar:
* Update to latest trunk translations.
editors/xfce4-mousepad:
* Sort recent items by most recently used.
x11/xfce4-utils:
* Fix missing translated chars (Bug #3543)
Updated translations:
* Basque
* Brazilian Portuguese
* Catalan
* Chinese Traditional
* Danish
* Estonian
* Finnish
* French
* Galician
* German
* Indonesian
* Japanese
* Korean
* Kurdish
* Latvian
* Norwegian
* Polish
* Sinhala
* Slovak
* Slovene
* Spanish
* Turkish
* Urdu
then automatically generate a PLIST that says "${PKGNAME} has no files".
* If PLIST_SRC and GENERATE_PLIST are not set in a package Makefile,
and no PLIST files exist, then fail during the package build with
PKG_FAIL_REASON.
* Remove "intentionally empty" PLISTs again.
Now, the easy way to say that a package installs no files is to just
add the following to the package Makefile:
PLIST_SRC= # empty
that directly manipulate empty PLISTs.
Modify plist/plist.mk so that if the PLIST files are missing and no
GENERATE_PLIST is defined, then the package fails to build.
A new bug fix release of Xfce 4.2 is available. This release is supposed to
be the last release for the 4.2 branch. It includes several fixes ported from
the current developpment branch. This release should not be confused with the
upcoming Xfce 4.4 release [1], it's a bug fix release of the previous stable
branch.
[1] Xfce 4.4.0 is already in pkgsrc-wip.
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).
file's sole purpose was to provide a dependency on pkg-config and set
some environment variables. Instead, turn pkg-config into a "tool"
in the tools framework, where the pkg-config wrapper automatically
adds PKG_CONFIG_LIBDIR to the environment before invoking the real
pkg-config.
For all package Makefiles that included pkg-config/buildlink3.mk, remove
that inclusion and replace it with USE_TOOLS+=pkg-config.
Several changes are involved since they are all interrelated. These
changes affect about 1000 files.
The first major change is rewriting bsd.builtin.mk as well as all of
the builtin.mk files to follow the new example in bsd.builtin.mk.
The loop to include all of the builtin.mk files needed by the package
is moved from bsd.builtin.mk and into bsd.buildlink3.mk. bsd.builtin.mk
is now included by each of the individual builtin.mk files and provides
some common logic for all of the builtin.mk files. Currently, this
includes the computation for whether the native or pkgsrc version of
the package is preferred. This causes USE_BUILTIN.* to be correctly
set when one builtin.mk file includes another.
The second major change is teach the builtin.mk files to consider
files under ${LOCALBASE} to be from pkgsrc-controlled packages. Most
of the builtin.mk files test for the presence of built-in software by
checking for the existence of certain files, e.g. <pthread.h>, and we
now assume that if that file is under ${LOCALBASE}, then it must be
from pkgsrc. This modification is a nod toward LOCALBASE=/usr. The
exceptions to this new check are the X11 distribution packages, which
are handled specially as noted below.
The third major change is providing builtin.mk and version.mk files
for each of the X11 distribution packages in pkgsrc. The builtin.mk
file can detect whether the native X11 distribution is the same as
the one provided by pkgsrc, and the version.mk file computes the
version of the X11 distribution package, whether it's built-in or not.
The fourth major change is that the buildlink3.mk files for X11 packages
that install parts which are part of X11 distribution packages, e.g.
Xpm, Xcursor, etc., now use imake to query the X11 distribution for
whether the software is already provided by the X11 distribution.
This is more accurate than grepping for a symbol name in the imake
config files. Using imake required sprinkling various builtin-imake.mk
helper files into pkgsrc directories. These files are used as input
to imake since imake can't use stdin for that purpose.
The fifth major change is in how packages note that they use X11.
Instead of setting USE_X11, package Makefiles should now include
x11.buildlink3.mk instead. This causes the X11 package buildlink3
and builtin logic to be executed at the correct place for buildlink3.mk
and builtin.mk files that previously set USE_X11, and fixes packages
that relied on buildlink3.mk files to implicitly note that X11 is
needed. Package buildlink3.mk should also include x11.buildlink3.mk
when linking against the package libraries requires also linking
against the X11 libraries. Where it was obvious, redundant inclusions
of x11.buildlink3.mk have been removed.
General:
* new and updated translations: bn_IN, ca, cs, el, el_GR, eo, eu, fi, hu, ja,
ko, mr, pl, ro, vi,
* new french documentation.
gtk-xfce-engine:
* fix various colors issues with ExoIconBar, prelight colors for treeview,
Adobe® Acrobattm 7, progress bar, combo box, gtk scales (#848).
libxfcegui4:
* check ~/.local/share/pixmaps/ as a fallback (#731).
xfcalendar:
* fix compiling with --enable-debug=full (#843),
* remove C99 variable declaration and C++ comments.
xfce4-mixer:
* fix a bug with ALSA.
xfce4-session:
* fix a crash with the MCS plugin.
xfce-utils:
* taskbar: Add a command option "--monitor=x" to allow specifying which
monitor to use in Xinerama mode.
xfdesktop:
* fix translation problems with menu panel plugin,
* fix bug where binding 'xfdesktop -menu' only works sporadically (#441),
* fix unresolved symbol problem with menu module.
xffm:
* fix property dialog crahsing on FreeBSD (#945),
* fix library version info not set on the properties module (#882, #249),
* fix fstab parsing (#524),
* fix compilation issues with ansi compiler and gcc4 (#862).
xfprint:
* make bsdlpr plugin compile,
* change CUPS detection code,
* set correct ld flags (#871),
* add support for printcap aliases (#821),
* fix MCS plugin.
xfwm4:
* fix mouse buttons being left ungrabbed when focus was transfered to
an unmanaged window,
* document hidden option "workspace_scroll" (#948),
* various focus issues (#759, #869, #899, #905, #924, #931),
* fix pixmap depth not being properly set (#895),
* refresh frame when "skip taskbar" state changes (#898),
* allow seemless windows to be hidden from kbd shortcuts,
* code cleanup.
General:
* Don't use G_INLINE_FUNC in the source code, which fixes several weird
build errors.
libxfce4util:
* Fix a problem with NFS mounted home directories in Solaris (#724)
xfce4-session:
* Fix RedHat shutdown code (#703)
xfdesktop:
* fix handling of quoted commands in the desktop menu (#776)
* fix handling of .desktop files with no Categories list (#776)
* add "edit menu" button to panel plugin prefs (#554), and ability to change
the button tooltip (#764)
* fix broken panel plugin behavior when trying to track the default desktop
menu. there's a new option to either follow the default menu, or use a
static menu file (#778)
* fix bug where xfdesktop would crash if the windowlist was opened, then a
window was destroyed, and then that window was selected from the list (#672)
* fix "unique" attribute of system menu inclusion
xffm:
* ensure posix.1-1996 compatibility (#695)
* fix for crash on opening fstab on solaris (#726)
* avoid a showstopper gtk-2.4 bug (scaling gdkpixbufs from svg images).
This is bugzilla #751 report. Not all gtk showstopper bugs from svg
can be avoided. In particular with office/mobile_phone_01.svg. This
file will also crash rox
* allow relative paths for icon resolution (xfce4-modules)
* validate utf error messages (#737)
* don't quote paths that are already quoted.
* change smb-share icon to proper icon
* fix borked overwrite warning dialog message
* bug fixes for keyboardnavigation to close bug #795
* separate remove and paste button in toolbar to avoid confusing the
remove confirmation dialog with the overwrite confirmation dialog
* fix translation problems in several languages, including
brazilian-portuguese
* fill in some missing spanish translation strings
* fix for bug #524 (crashing xffm by mounting cdrom and trying to open it
in the other treeview before mount is complete)
xfcalendar:
* remembering of its position (bug #691 and #789)
* warning box for preventing users to loose their changes (#714 and #738)
* possibility to show/hide xfcalendar in taskbar, pager and systray (#719)
* possibility to choose to either show or hide the calendar window when
xfcalendar is launched (it remembered before the status when leaving)
xfce4-panel:
* Save configuration file only on exit
* Fix double click on inactive item in dialog (#739)
* 64bit fix
* Clock applet tweak (#716, hopefully)
xfprint:
* remove FILE backend and add a print-to-file entry in the printing dialog
* multiple bugfixes (#816, #817, #818, #820) in the BSD-LPR backend
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.
As usual, this is a maintenance release, aimed at bug-fixing;
no new features are being added to the 4.0 branch.
The main purpose of this release is compatibility with recent GTK+
releases along with other fixes.
This is a maintenance release, aimed at bug-fixing; no new features
are being added to the 4.0 branch.
The main purpose of this release is compatibility with the recent GTK+ 2.4.x
release along with other fixes.