It is more consistent with the tex.buildlink3.mk name. Also, if a package
really needs latex, it just has to set TEX_ACCEPTED to latex distributions
altough today, all TEX_ACCEPTED possibilities are latex distributions
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.
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.
that works without blackbox and uses it's own NLS files.
While we're at it, nitpick the following:
fluxbox: as pointed out in PR pkg/19687, fluxbox will detect Xft2 (if available)
and depend on it automatically. Options were: add
CONFIGURE_ARGS+= --disable-xft
or include Xft2's buildlink. For the time being, add the buildlink
following openboxes example.
openbox: USE_BUILDLINK2=YES -- otherwise including buildlink2's is a no-op
(the first major release from the new maintainer, IIRC). Many new goodies,
bugfixes and overall improvements. This closes PR pkg/18131.
Changes from 0.62.1 to 0.65.0:
- added Taiwan Chinese (zh_TW), Hungarian (hu_HU), Latvian (lv_LV),
Korean (ko_KR), Norwegian (no_NO), Polish (pl_PL), Romanian (ro_RO) and
Ukrainian (uk_UA) nls files and updated most of the others.
- removed the Estonian (ee_ET) and Turkish (tr_TR) locales due to their
being heavily out of date and unmaintained
- remove slit and netwm as compile time options
- strip much of BaseDisplay's original functionality and move it to the
blackbox class.
- huge amounts of internal cleanups
- added emacs local variables to each file that prevent the addition of tabs
- added a Util.cc file which contains useful functions with no obvious home.
- move code over to the STL
- removed several unused variables and otherwise reduced the memory usage
of the objects in Blackbox. For the record the binary is roughly 100k
larger than 0.62.0 and that is mostly due to the STL but there is also a
fair bit of new code. However for the most part blackbox runs faster and
is still one of the leanest window managers out there today.
- bsetroot now sets _XROOTPMAP_ID, so pseudo transparent apps will be happy
- beginnings of a strut implementation. toolbar and slit are removed from
the available screen area if 'full maximize' is not set
- XReparentWindow sends an UnmapNotify to the window manager however
in certain cases the window is already unmapped so the window manager
never gets the event and the unmapNotify event is where reparentNotify was
handled. Added a reparentNotifyEvent handler in the BlackboxWindow class
and a new case in the Blackbox class's process_event function.
- no more blackbox->grab/ungrab calls everywhere
- compression of motion and expose
- Now we have one function which turns ~/ into /home/user/. This is now
called everywhere this expansion should be done. Even added this to the
resource.menu_file so now the menu file may be specified as
~/blackbox_menu.
- added a TimerQueue which is a priority_queue with the ability to release
items it contains before they reach the top of the queue. Also added a
TimerQueueManager protocol class which BaseDisplay now inherits from.
- BTimer now defaults to NOT recurring. Most of the timers in blackbox were
one shots so I saw little benefit in defaulting to repeating timers.
- update transient handling, should solve issues with apps like acroread.
added a getTransientInfo() method of the BlackboxWindow class which
handles checking the transient state in X and setting the appropriate
variables on the window. To attack the infinite loops this
function ensures that client.transient != this and we check for loops
of the form A -> B -> C -> A. The new transient code also allows for one
window to have multiple transients so applications like xmms and web
browsers are better behaved.
- even better ICCCM support and focus handling
- wmswallow works
- fix for clock clipping in the toolbar
- better support for non decorated windows and toggling decor
- the geometry window shown when moving or resizing a window now handles the
parentrelative setting better. parentrelative support has been improved
for all of the other widgets as well.
- better window group handling
- improved edge snap support (still no window to window snapping)
- changing preferences no longer leads to windows being raised
- the window's "send to" menu ignores the current workspace, which is a
better UI approach
- new placeWindow algorithm. Blows the old one out of the water. Not only
is it faster but it is also cleaner code too (-: Went from number 5 in
the profiling results to under 30. Image rendering is now the slowest
part of managing of new windows.
Because of the new code layout, support is now there for new and
different layout options but this will wait for after 0.65.0.
- smart window placement ignores shaded windows now
- new option in the Config menu which allows Scroll Lock to disable
Blackbox's keybindings.
Changes since 0.61.1:
- the lock modifier code handles user redefined modifiers better
- check if the locale actually needs multibyte support before using multibyte
functions
- use srcdir in all of the makefiles
- general code touchups
- blackbox-nls.hh is always generated even if --disable-nls is used.
This allows us to not have all of those hideous #ifdef NLS chunks.
Nothing to worry about, if you do not want NLS this does not affect you
- Workspace::placeWindow() cleanups. Also a speed bump from reducing the
use of iterator->current() and changing the delta from 1 to 8
- fixed a desciptor leak in BScreen::parseMenuFile, seems opendir
lacked a matching closedir.
- fix transient window handling code in Workspace::removeWindow() so
transients give focus back to their parents properly. The code originally
handled sloppy focus then transient windows, so we just flopped the
if/elsif. This is immediately noticable with web browsers and their open
location windows.
- fixed list::insert so you really can insert at item number 2. While there
I cleaned up the code a bit.
- added decoration to the atom state stored in a window
- fixed the window menu gets left open when another window button is pressed
issue with a call to windowmenu->hide() in window->maximize()
- applied xOr's patch for decoration handling
- applied xOr's patch for the maximize, shade, unmaximize bug
- applied Kennis' patch for sending incorrect Slit configure notices
- BlackboxWindow's flags have been moved into a flags structure
- applied xOr's patch for border handling
- resizing a window turns off its maximized flag. Before a resized window
thought it was still maximized and maximizing a double action
- BlackboxWindow::withdraw no longet sets the state to Withdrawn.
This confused some X clients.
- the menu file mentioned in the manpage is now based on DEFAULT_MENU
- menu is no longer installed, you need to copy it yourself
- the lock modifiers no longer stop blackbox!
- maximize a window via bbkeys and the maximize button is not redrawn, fixed
- autoraise and multiple dialog windows yields segv bug fixed
also lengthened the default auto raise delay from 250 to 400
- another iteration of autoraise and dialog box handling, this time we
noticed that nothing ever reset blackbox.focused_window to 0 when a window
was removed
- check if the window is visible before changeBlackboxHints() calls maximize
- placeWindow no longer takes edgeSnapThreshhold into account
- ignore style files ending in ~
- support locale specifiers with @euro in them
- Toolbar name editing buffer reduced to 128 chars, logic added to make sure
this buffer is not overrun
As well as NLS improvements and other minor bug fixes.
to ${X11BASE} in the header and library search paths into references to
${LOCALBASE}/share/x11-links. These packages should now be strongly-
buildlinked regardless of whether xpkgwedge is installed.
Changes well-tested on NetBSD-1.5X/i386 with and without xpkgwedge and
lightly-tested on NetBSD-1.5.1/alpha without xpkgwedge.