Commit graph

34 commits

Author SHA1 Message Date
joerg
5911def816 Recursive revision bump / recommended bump for gettext ABI change. 2006-02-05 23:08:03 +00:00
joerg
15bd415419 Fix template members for GCC 3.4+. 2006-01-02 21:47:43 +00:00
rillig
b71a1d488b Fixed pkglint warnings. The warnings are mostly quoting issues, for
example MAKE_ENV+=FOO=${BAR} is changed to MAKE_ENV+=FOO=${BAR:Q}. Some
other changes are outlined in

    http://mail-index.netbsd.org/tech-pkg/2005/12/02/0034.html
2005-12-05 20:49:47 +00:00
tonio
82ca40efdb reverting 2005-11-11 19:22:39 +00:00
tonio
9e342ebefe reverting it. 2005-11-11 19:07:40 +00:00
tonio
c27f4ed5e1 Rename LATEX_ACCEPTED and LATEX_DEFAULT to TEX_ACCEPTED and TEX_DEFAULT
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
2005-11-11 18:50:23 +00:00
jlam
95fd1f6ec9 Massive cleanup of buildlink3.mk and builtin.mk files in pkgsrc.
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.
2005-06-01 18:02:37 +00:00
tv
f816d81489 Remove USE_BUILDLINK3 and NO_BUILDLINK; these are no longer used. 2005-04-11 21:44:48 +00:00
wiz
d5dd07cda8 Add RMD160 checksums to the SHA1 ones. 2005-02-23 18:43:53 +00:00
jlam
43ac8c39e1 Replace USE_GCC_SHLIB with "USE_LANGUAGE=c c++" (the latter implies the
former) for applications that are known to require C++.
2004-11-13 22:04:52 +00:00
tv
c487cb967a Libtool fix for PR pkg/26633, and other issues. Update libtool to 1.5.10
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.
2004-10-03 00:12:51 +00:00
xtraeme
ecdb31d738 bl3ify 2004-03-10 14:12:50 +00:00
grant
40614d0b3c get rid of USE_GCC2/3 in pkg Makefiles, and set GCC_REQD or
USE_PKGSRC_GCC as appropriate, as this is handled by compiler.mk now.
2003-09-17 19:39:58 +00:00
reed
4721c1cb69 Add patch-ad so it will build under gcc 3.3.1. Error was:
Window.cc:3234: error: `assert' undeclared (first use this function)
(Approved by maintainer, jschauma.)
2003-08-30 20:34:14 +00:00
grant
c798635adc USE_GCC_SHLIB.
from gavan@.
2003-08-08 08:30:19 +00:00
martti
a6f1375adb COMMENT should start with a capital letter. 2003-07-21 17:27:24 +00:00
grant
ca3be631f2 s/netbsd.org/NetBSD.org/ 2003-07-17 22:50:55 +00:00
wiz
43fa0c7cb6 PKGREVISION bump for libiconv update. 2003-07-13 13:50:19 +00:00
salo
6503867c47 PKGREVISON++
- install into LOCALBASE, not X11BASE.
- style cosmetics (DESCR has 80 columns, sort CATEGORIES, whitespace)
2003-05-17 05:41:09 +00:00
jmmv
f1446ddf2b Drop trailing whitespace. Ok'ed by wiz. 2003-05-06 17:40:18 +00:00
jschauma
4342d56d34 Add patch which closed PR pkg/19689, as both packages use the same sources.
This patch was sent to the blackbox maintainers as well.

Bump PKG_REVISION.
2003-02-20 16:54:16 +00:00
jschauma
173c3b193c Bump dependency on bsetroot for the boxes so that they all require a bsetroot
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
2003-01-05 20:10:10 +00:00
jschauma
3e4796ec7d Rip out bsetroot and bsetbg, which are now provided in wm/bsetroot, so they
can be shared with openbox.

Bump PKGREVISION.
2002-11-20 18:20:30 +00:00
jschauma
30fab4e03d Update the fabolous Blackbox windowmanager to latest 0.65.0 Release
(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.
2002-09-19 15:54:48 +00:00
jlam
a020ed9056 Merge packages from the buildlink2 branch back into the main trunk that
have been converted to USE_BUILDLINK2.
2002-08-25 21:50:52 +00:00
wiz
5f504be15e Update to 0.62.1. Also closes pkg/15556.
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.
2002-03-14 15:07:01 +00:00
zuntum
273821c4d3 Move pkg/ files into package's toplevel directory 2001-10-31 20:59:00 +00:00
jlam
63fc151cb9 Use x11.buildlink.mk instead of USE_X11. Also convert hard-coded references
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.
2001-08-29 22:41:00 +00:00
zuntum
3c48ffdf3a Converted to use buildlink.mk files 2001-06-30 09:24:56 +00:00
hubertf
a2e30883f4 Change maintainer's mail address, requested on IRC 2001-06-07 02:01:11 +00:00
agc
41e8e90119 Move to sha1 checksums where appropriate and possible.
Add distfile sizes where possible.
2001-04-17 16:03:42 +00:00
agc
bbc67fac91 + 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 11:53:33 +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
wiz
b48aa2febf Add new category wm for window managers, and move lots of package from
x11 here. Only changes are: `wm' in category added and some paths fixed.
2000-12-12 02:03:46 +00:00