2009-12-24 04:13:07 +01:00
|
|
|
# $NetBSD: Makefile,v 1.56 2009/12/24 03:13:07 snj Exp $
|
2002-11-20 19:16:18 +01:00
|
|
|
|
2009-12-15 13:42:04 +01:00
|
|
|
DISTNAME= openbox-3.4.8
|
2009-12-24 04:13:07 +01:00
|
|
|
PKGREVISION= 1
|
2003-05-17 07:42:10 +02:00
|
|
|
CATEGORIES= wm x11
|
2002-11-20 19:16:18 +01:00
|
|
|
MASTER_SITES= http://icculus.org/openbox/releases/
|
2007-06-14 11:33:14 +02:00
|
|
|
# PR pkg/36489
|
|
|
|
MASTER_SITES+= http://offload1.icculus.org/openbox/releases/
|
2002-11-20 19:16:18 +01:00
|
|
|
|
2007-07-21 23:56:34 +02:00
|
|
|
MAINTAINER= wiz@NetBSD.org
|
2002-11-20 19:16:18 +01:00
|
|
|
HOMEPAGE= http://icculus.org/openbox/
|
2003-12-18 10:57:27 +01:00
|
|
|
COMMENT= Standards compliant, light-weight and extensible window manager
|
2002-11-20 19:16:18 +01:00
|
|
|
|
2003-12-18 10:57:27 +01:00
|
|
|
DEPENDS+= vera-ttf>=1.10:../../fonts/vera-ttf
|
2002-11-20 19:16:18 +01:00
|
|
|
|
2009-02-16 13:04:01 +01:00
|
|
|
PKG_DESTDIR_SUPPORT= user-destdir
|
|
|
|
|
2003-12-18 10:57:27 +01:00
|
|
|
GNU_CONFIGURE= YES
|
2006-04-13 20:23:29 +02:00
|
|
|
USE_TOOLS+= gmake msgfmt pkg-config
|
2003-12-18 10:57:27 +01:00
|
|
|
USE_LIBTOOL= YES
|
|
|
|
USE_PKGLOCALEDIR= YES
|
2008-01-15 00:07:10 +01:00
|
|
|
USE_FEATURES+= setenv
|
2002-11-20 19:16:18 +01:00
|
|
|
|
2004-02-14 19:26:26 +01:00
|
|
|
PKGCONFIG_OVERRIDE= parser/obparser-3.0.pc.in
|
|
|
|
PKGCONFIG_OVERRIDE+= render/obrender-3.0.pc.in
|
2003-09-27 00:05:14 +02:00
|
|
|
|
2005-12-06 00:55:01 +01:00
|
|
|
CONFIGURE_ARGS+= --sysconfdir=${PKG_SYSCONFDIR:Q}
|
2007-08-03 23:51:03 +02:00
|
|
|
LDFLAGS+= ${BUILDLINK_LDADD.libsetenv}
|
2004-02-08 00:22:17 +01:00
|
|
|
PKG_SYSCONFSUBDIR= xdg
|
2007-01-24 20:40:26 +01:00
|
|
|
OWN_DIRS= ${PKG_SYSCONFDIR}
|
|
|
|
OWN_DIRS+= ${PKG_SYSCONFDIR}/openbox
|
2004-02-08 00:22:17 +01:00
|
|
|
|
|
|
|
EGDIR= ${PREFIX}/share/examples/openbox
|
|
|
|
CONF_FILES= ${EGDIR}/menu.xml ${PKG_SYSCONFDIR}/openbox/menu.xml
|
|
|
|
CONF_FILES+= ${EGDIR}/rc.xml ${PKG_SYSCONFDIR}/openbox/rc.xml
|
2009-12-24 04:13:07 +01:00
|
|
|
CONF_FILES+= ${EGDIR}/autostart.sh \
|
|
|
|
${PKG_SYSCONFDIR}/openbox/autostart.sh
|
2004-02-08 00:22:17 +01:00
|
|
|
|
2006-12-27 14:37:35 +01:00
|
|
|
BUILDLINK_DEPMETHOD.libXt?= build
|
|
|
|
|
2004-02-17 00:00:47 +01:00
|
|
|
.include "../../converters/libiconv/buildlink3.mk"
|
|
|
|
.include "../../devel/glib2/buildlink3.mk"
|
Update to 3.3:
3.3:
* Add a showDelay option for the dock.
* Fixed onscreen-keeping code which broke a bit in -rc2.
* Fix incorrect handling of window properties on 64 bit arches.
* Fix pixelsize being the same as size for pango, now it is correct.
* Fix drawing of icons taller than wide, eg gimp.
* Add a 'mirrorhorizontal' gradient, like horizontal but mirrored in the
center and 'splitvertical' which is like vertical but nonlinear in a fancy
way.
* Translations for de, hr and zh_TW added.
* Add initial per-app settings support.
* Fix some outstanding issues with 64-bit support.
* Add an optional delay for displaying submenus so you can move the mouse
over some entries without flashing each submenu.
* Plug some minor memleaks and fix minor bugs.
* Changed algorithm for downscaling window icons.
* New themes!
* Disable support for libstartup-notification by default, it doesn't seem
to work well.
* Allow disabling of duplicate window numbering by option titleNumber in
theme section.
* Add moverelative and resizerelative actions.
* Option middle for menus that make submenus be centered instead of aligned
by the top edge to the parent entry.
* Fix transient (ie dialog) windows being placed offscreen if the parent
is close to the edge of the screen.
3.3-rc2:
* Fixed some typos and errors in rc.xsd
* Add the noStrut option to the dock (to allow maximizing windows over it),
useful when it is not in the above layer.
* Fix transparent terminals not updating when using ToggleDecor.
* Yet more poking at the onscreen-keeping code, should now do the right
thing always.
* Add an option to hide disabled buttons instead of showing them as disabled.
* Hopefully fixed all the remaining pango issues. The new 1.10 release also
fixes shadows again.
* I think the lib linking in Makefile.am is right now, please tell me if it
isn't.
* Added a finnish translation and some minor updates to others.
* Fixed configure.ac so --enable-pango doesn't disable pango support or the
other way around, make enabled be default to get some extra testing.
3.3-rc1:
* Poked around a bit in the code that keeps windows onscreen, if you
are using xinerama, please let me know if things are better/worse/same.
* Add support for pango, disabled by default due to a bug in pango 1.8 that
breaks shadows, it works fine with 1.6.x though. Poke the pango developers
here http://bugzilla.gnome.org/show_bug.cgi?id=169622 if you want this
to be fixed.
* Made edge resist and Send/MoveToEdge not hit windows at layers below
the current one, add option to disable this behaviour.
* Fixed directional focus not getting trapped in omnipresent windows
* Fixed focus actions when bound to the mouse, normal focus cycle is always
linear and directional focus is totally disabled, it makes no sense
anyway, just move the mouse.
* Added an option for the raise/lower/raiselower/unshaderaise/shadelower
options called group that lets you bind stuff to raise/lower the whole
window group. <action name="raise"><group>yes</group></action>
* Add various new actions. I haven't updated the web docs yet, but I think
I managed to get all of them listed in rc.xsd.
* Bugs 1783, 1812, 1863, 1905, 2005, 1957 fixed.
* Some translations added. (ca, no, pl, ru, fr)
2006-09-03 16:27:59 +02:00
|
|
|
.include "../../devel/pango/buildlink3.mk"
|
2004-02-17 00:00:47 +01:00
|
|
|
.include "../../textproc/libxml2/buildlink3.mk"
|
2006-12-27 14:37:35 +01:00
|
|
|
.include "../../x11/libSM/buildlink3.mk"
|
|
|
|
.include "../../x11/libX11/buildlink3.mk"
|
Update to 3.4.3:
3.4.3:
* Add Ukrainian translation
* Updated translations:
- Japanese, Dutch, Polish, Italian, Estonian, German, Portuguese,
Vietnamese, Finnish, Czech, Arabic, Spanish, Swedish, French
* Improve focus fallback - don't fallback to windows you can't focus cycle
(Alt-Tab) to
* Don't show the client border for undecorated windows when keepBorder is on,
just the outer border
* Some improvements in the smart placement to help it find a place more
often. This needs more work still.
* Don't focus windows that appear under the mouse in mouse-focus mode unless
underMouse is enabled
* Don't move focus when the window under the pointer iconifies unless
underMouse is enabled
* Respect min/max window sizes when a window is fullscreened or maximized.
This fixes problems experienced with maximizing vnc windows
* Don't XUngrabKeyboard unless we need to
* Correct calculations for the menu header width, so that they are not
ellisized unnecessarily
* Advanced support for partial struts. When you maximize a window it will
now only use the struts it needs to. This can greatly improve
xinerama functionality.
* Fixes for how the dock is placed in certain positions on screen (off by 1
errors)
* New default bindings:
- don't unshade when clicking on the titlebar
- raise when unshading with the scrollwheel
- lower when shading with the scrollwheel
* Don't show the top resize area in the titlebar when a window is shaded
* Optimize rendering of window decorations
* Optimize splitvertical gradients - no more malloc/free during render
* Let the theme specify all colors for a splitvertical gradient with the new
.splitTo theme elements
* Improve decorations for maximized windows. Don't draw the side borders in
the titlebar.
* Don't resist against desklet windows (below layer + skip taskbar)
* New actions for dynamically adjusting your desktop workspaces:
- AddDesktopLast, RemoveDesktopLast
- AddDesktopCurrent, RemoveDestopCurrent
* New <center> option for smart placement (default is on)
* Fix MoveToCenter in Xinerama (TwinView) setups
* Let you lower a window without lowering its children or siblings
* Don't set the default Openbox icon on child windows, let them inherit the
icon from their parents
* Fix Onyx themes - fade out disabled buttons
* Don't auto-resize windows to fit on screen if they are UserSpecified
Size or Position
* Don't activate windows which raise themselves anymore. It was a nice
thought, but it caused too much problems
* Rewrite of the actions subsystem
* Removed deprecated actions:
- ShowDesktop, UnshowDesktop (Use ToggleShowDesktop)
- ResizeRelativeVert, ResizeRelativeHorz (Use ResizeRelative)
* Combined the MoveFromEdge* actions with MoveToEdge* actions, and removed
the MoveFromEdge* action names.
* Switch desktops when moving a window and you drag it to the edge of the
screen (added the <screenEdgeWarpTime> option for this)
* Add actions to add/remove the last desktop in the client list menus
* Use startup notification when launching ObConf in the default root menu
* Remove the desktop switching dialog, as it confuses people and they don't
know how to turn it off to switch desktops instantly. Some other
incarnation may return in the future.
* Add optional <finalactions> option for NextWindow, PreviousWindow,
DirectionalFocus*, and DirectionalTarget* actions
* Don't focus new helper windows unless they are alone in their group. This
fixes gucharmap
* Fancy keyboard window moving:
- Shift-arrow will move the window to the next edge
- Control-arrow will move the window by only 1 pixel
- Arrow will move the window by a larger number of pixels
* Fancy keyboard window resizing:
- The first arrow will choose an edge to resize (then you can grow or
shrink the window on that edge)
- Hitting an arrow perpendicular to your selected edge will choose a
different edge to resize
- Shift-arrow will grow/shrink the window to the next edge
- Control arrow will grow/shrink the window by only 1 pixel
- Arrow will grow/shrink the window by a larger number of pixel
* Timeout when synchronously resizing a window so you can still resize busy
or dead application windows
* Let you specify keyboard shortcuts in your root menus with _. Such as
label="XTe_rm" would make 'r' the shortcut key.
* Fixes for placing windows with per-app settings:
- you can now place windows relative to any edge of the screen instead of
only the top left. (-0 uses the far edge, +0 uses the near edge. You can
use --0 and +-0 to specify negative numbers.)
- fix bug with windows being placed far off-screen occasionally
- allow you to place windows partially outside of the screen
- let per-app settings override program-specified positions (but not if it
is user-specified)
* Add user-specified margins to the configuration file
* Fix for transient windows in groups with transient windows of the group
transients. That wasn't supposed to be legible. i.e. 2 group transients
and 1 direct transient for one of the group transients.
* Don't include child/parent windows in tests for being occluded or occluding
other windows, since you can't raise/lower above/below them. This fixes
the raiselower action for windows which have children.
* Reduce the size of the middle gradient in splitvertical gradients. This
makes the split harder than it was in 3.4.2
* Don't include debian/ dir in releases
* Add resize bindings for the edges to the default hardcoded bindings
* Fix focus cycle indicator positioning for some windows (i.e. OpenOffice)
* Add the MoveResizeTo action. This is very xinerama aware! It also lets
you move a window to any edge of any screen.
* Make actions that look for edges include the dock's edges (e.g. MoveToEdge)
* New preferred option for the Execute action is <command> instead of
<execute> but the old one will still work.
* Fix for moving windows partially offsceen causing them to jump far away
* Fix for windows which are not on any monitor, to keep them on screen
partically too
* Require libstartupnotification 0.8 in configure (we use stuff that was not
around in some earlier versions)
* Grab the server when mapping windows to avoid race conditions in other
programs (getting MapNotify before you are visible)
* Handle case gracefully when ConfigureRequent for restacking specifies
a siblig which we aren't managing
* Use KeyRelease to run things from Openbox menus, so that the release
does not go to the focused window (causing the new window to not get
focus)
* Add new actions for controlling window decorations:
- Decorate, Undecorate
* Fix so that the values for per-app settings are not case sensitive
* Fix crash with very small windows
* Fix resize resistance for windows with aspect ratio limits
* Let you resize windows with aspect ratio limits in the vertical directions
2007-07-28 10:46:27 +02:00
|
|
|
.include "../../x11/libXcursor/buildlink3.mk"
|
2006-12-15 21:32:52 +01:00
|
|
|
.include "../../x11/libXft/buildlink3.mk"
|
2007-11-25 13:41:36 +01:00
|
|
|
.include "../../x11/libXinerama/buildlink3.mk"
|
2008-09-16 19:47:57 +02:00
|
|
|
.include "../../x11/libXrandr/buildlink3.mk"
|
2006-12-27 14:37:35 +01:00
|
|
|
.include "../../x11/libXt/buildlink3.mk"
|
Update to 3.4.3:
3.4.3:
* Add Ukrainian translation
* Updated translations:
- Japanese, Dutch, Polish, Italian, Estonian, German, Portuguese,
Vietnamese, Finnish, Czech, Arabic, Spanish, Swedish, French
* Improve focus fallback - don't fallback to windows you can't focus cycle
(Alt-Tab) to
* Don't show the client border for undecorated windows when keepBorder is on,
just the outer border
* Some improvements in the smart placement to help it find a place more
often. This needs more work still.
* Don't focus windows that appear under the mouse in mouse-focus mode unless
underMouse is enabled
* Don't move focus when the window under the pointer iconifies unless
underMouse is enabled
* Respect min/max window sizes when a window is fullscreened or maximized.
This fixes problems experienced with maximizing vnc windows
* Don't XUngrabKeyboard unless we need to
* Correct calculations for the menu header width, so that they are not
ellisized unnecessarily
* Advanced support for partial struts. When you maximize a window it will
now only use the struts it needs to. This can greatly improve
xinerama functionality.
* Fixes for how the dock is placed in certain positions on screen (off by 1
errors)
* New default bindings:
- don't unshade when clicking on the titlebar
- raise when unshading with the scrollwheel
- lower when shading with the scrollwheel
* Don't show the top resize area in the titlebar when a window is shaded
* Optimize rendering of window decorations
* Optimize splitvertical gradients - no more malloc/free during render
* Let the theme specify all colors for a splitvertical gradient with the new
.splitTo theme elements
* Improve decorations for maximized windows. Don't draw the side borders in
the titlebar.
* Don't resist against desklet windows (below layer + skip taskbar)
* New actions for dynamically adjusting your desktop workspaces:
- AddDesktopLast, RemoveDesktopLast
- AddDesktopCurrent, RemoveDestopCurrent
* New <center> option for smart placement (default is on)
* Fix MoveToCenter in Xinerama (TwinView) setups
* Let you lower a window without lowering its children or siblings
* Don't set the default Openbox icon on child windows, let them inherit the
icon from their parents
* Fix Onyx themes - fade out disabled buttons
* Don't auto-resize windows to fit on screen if they are UserSpecified
Size or Position
* Don't activate windows which raise themselves anymore. It was a nice
thought, but it caused too much problems
* Rewrite of the actions subsystem
* Removed deprecated actions:
- ShowDesktop, UnshowDesktop (Use ToggleShowDesktop)
- ResizeRelativeVert, ResizeRelativeHorz (Use ResizeRelative)
* Combined the MoveFromEdge* actions with MoveToEdge* actions, and removed
the MoveFromEdge* action names.
* Switch desktops when moving a window and you drag it to the edge of the
screen (added the <screenEdgeWarpTime> option for this)
* Add actions to add/remove the last desktop in the client list menus
* Use startup notification when launching ObConf in the default root menu
* Remove the desktop switching dialog, as it confuses people and they don't
know how to turn it off to switch desktops instantly. Some other
incarnation may return in the future.
* Add optional <finalactions> option for NextWindow, PreviousWindow,
DirectionalFocus*, and DirectionalTarget* actions
* Don't focus new helper windows unless they are alone in their group. This
fixes gucharmap
* Fancy keyboard window moving:
- Shift-arrow will move the window to the next edge
- Control-arrow will move the window by only 1 pixel
- Arrow will move the window by a larger number of pixels
* Fancy keyboard window resizing:
- The first arrow will choose an edge to resize (then you can grow or
shrink the window on that edge)
- Hitting an arrow perpendicular to your selected edge will choose a
different edge to resize
- Shift-arrow will grow/shrink the window to the next edge
- Control arrow will grow/shrink the window by only 1 pixel
- Arrow will grow/shrink the window by a larger number of pixel
* Timeout when synchronously resizing a window so you can still resize busy
or dead application windows
* Let you specify keyboard shortcuts in your root menus with _. Such as
label="XTe_rm" would make 'r' the shortcut key.
* Fixes for placing windows with per-app settings:
- you can now place windows relative to any edge of the screen instead of
only the top left. (-0 uses the far edge, +0 uses the near edge. You can
use --0 and +-0 to specify negative numbers.)
- fix bug with windows being placed far off-screen occasionally
- allow you to place windows partially outside of the screen
- let per-app settings override program-specified positions (but not if it
is user-specified)
* Add user-specified margins to the configuration file
* Fix for transient windows in groups with transient windows of the group
transients. That wasn't supposed to be legible. i.e. 2 group transients
and 1 direct transient for one of the group transients.
* Don't include child/parent windows in tests for being occluded or occluding
other windows, since you can't raise/lower above/below them. This fixes
the raiselower action for windows which have children.
* Reduce the size of the middle gradient in splitvertical gradients. This
makes the split harder than it was in 3.4.2
* Don't include debian/ dir in releases
* Add resize bindings for the edges to the default hardcoded bindings
* Fix focus cycle indicator positioning for some windows (i.e. OpenOffice)
* Add the MoveResizeTo action. This is very xinerama aware! It also lets
you move a window to any edge of any screen.
* Make actions that look for edges include the dock's edges (e.g. MoveToEdge)
* New preferred option for the Execute action is <command> instead of
<execute> but the old one will still work.
* Fix for moving windows partially offsceen causing them to jump far away
* Fix for windows which are not on any monitor, to keep them on screen
partically too
* Require libstartupnotification 0.8 in configure (we use stuff that was not
around in some earlier versions)
* Grab the server when mapping windows to avoid race conditions in other
programs (getting MapNotify before you are visible)
* Handle case gracefully when ConfigureRequent for restacking specifies
a siblig which we aren't managing
* Use KeyRelease to run things from Openbox menus, so that the release
does not go to the focused window (causing the new window to not get
focus)
* Add new actions for controlling window decorations:
- Decorate, Undecorate
* Fix so that the values for per-app settings are not case sensitive
* Fix crash with very small windows
* Fix resize resistance for windows with aspect ratio limits
* Let you resize windows with aspect ratio limits in the vertical directions
2007-07-28 10:46:27 +02:00
|
|
|
.include "../../x11/startup-notification/buildlink3.mk"
|
2003-05-17 07:42:10 +02:00
|
|
|
|
2002-11-20 19:16:18 +01:00
|
|
|
.include "../../mk/bsd.pkg.mk"
|