2014-01-05 13:29:33 +01:00
|
|
|
# $NetBSD: Makefile.common,v 1.67 2014/01/05 12:29:33 ryoon Exp $
|
2011-04-18 13:55:14 +02:00
|
|
|
#
|
|
|
|
# used by wm/icewm/Makefile
|
|
|
|
# used by wm/icewm-imlib/Makefile
|
2000-12-12 03:03:46 +01:00
|
|
|
|
2014-01-05 13:29:33 +01:00
|
|
|
DISTNAME= icewm-1.2.38pre2
|
2002-03-04 09:24:59 +01:00
|
|
|
CATEGORIES= x11 wm
|
2003-06-03 19:08:33 +02:00
|
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=icewm/}
|
2000-12-12 03:03:46 +01:00
|
|
|
|
2006-03-04 22:28:51 +01:00
|
|
|
MAINTAINER= pkgsrc-users@NetBSD.org
|
2006-01-06 21:49:20 +01:00
|
|
|
HOMEPAGE= http://www.icewm.org/
|
2000-12-12 03:03:46 +01:00
|
|
|
|
2004-11-09 08:58:14 +01:00
|
|
|
GNU_CONFIGURE= yes
|
2006-04-13 20:23:29 +02:00
|
|
|
USE_TOOLS+= gmake msgfmt
|
2004-11-09 08:58:14 +01:00
|
|
|
USE_PKGLOCALEDIR= yes
|
2000-12-12 03:03:46 +01:00
|
|
|
|
2004-07-03 23:17:18 +02:00
|
|
|
DISTINFO_FILE= ${.CURDIR}/../../wm/icewm/distinfo
|
|
|
|
FILESDIR= ${.CURDIR}/../../wm/icewm/files
|
|
|
|
PATCHDIR= ${.CURDIR}/../../wm/icewm/patches
|
2004-06-27 01:56:21 +02:00
|
|
|
|
|
|
|
CONFIGURE_ARGS+= --enable-gradients
|
|
|
|
CONFIGURE_ARGS+= --enable-antialiasing
|
2000-12-12 03:03:46 +01:00
|
|
|
|
2006-05-10 23:37:15 +02:00
|
|
|
USE_LANGUAGES= c c++
|
|
|
|
|
2007-08-25 17:41:32 +02:00
|
|
|
PKG_SYSCONFSUBDIR= icewm
|
|
|
|
|
2000-12-12 03:03:46 +01:00
|
|
|
.include "../../mk/bsd.prefs.mk"
|
|
|
|
|
2005-12-06 00:55:01 +01:00
|
|
|
CONFIGURE_ARGS+= --sysconfdir=${PKG_SYSCONFDIR:Q}
|
|
|
|
CONFIGURE_ARGS+= --with-cfgdir=${PKG_SYSCONFDIR:Q}
|
2007-06-15 19:43:40 +02:00
|
|
|
.if ${X11_TYPE} != "native"
|
|
|
|
.include "../../x11/libXinerama/buildlink3.mk"
|
|
|
|
.elif !exists(${X11BASE}/include/X11/extensions/Xinerama.h)
|
2003-06-14 14:48:06 +02:00
|
|
|
CONFIGURE_ARGS+= --disable-xinerama
|
|
|
|
.endif
|
2006-11-28 16:26:18 +01:00
|
|
|
MAKE_FLAGS+= LOCDIR=${PREFIX}/${PKGLOCALEDIR}/locale
|
2002-03-09 00:17:24 +01:00
|
|
|
|
2003-05-03 18:38:12 +02:00
|
|
|
PKG_SYSCONFSUBDIR= icewm
|
|
|
|
|
2007-08-05 18:03:38 +02:00
|
|
|
.if ${OPSYS} == "NetBSD" && (!exists(/usr/include/machine/apmvar.h) || \
|
|
|
|
(${MACHINE_ARCH} == "sparc64" && !exists(/usr/include/sparc/apmvar.h)))
|
|
|
|
SUBST_CLASSES+= apm
|
|
|
|
SUBST_STAGE.apm= post-configure
|
|
|
|
SUBST_FILES.apm= src/config.h
|
|
|
|
SUBST_SED.apm= -e 's,define CONFIG_APPLET_APM 1,undef CONFIG_APPLET_APM,'
|
|
|
|
SUBST_MESSAGE.apm= Disable APM applet.
|
|
|
|
.endif
|
|
|
|
|
2003-07-16 09:41:33 +02:00
|
|
|
.if ${OPSYS} == "NetBSD"
|
2004-07-02 21:00:12 +02:00
|
|
|
. if !empty(OS_VERSION:M1.*)
|
|
|
|
CONFIGURE_ARGS+= --disable-i18n
|
|
|
|
. else
|
|
|
|
CONFIGURE_ARGS+= --with-unicode-set=utf-32
|
|
|
|
. include "../../converters/libiconv/buildlink3.mk"
|
|
|
|
. endif
|
|
|
|
.else
|
|
|
|
. include "../../converters/libiconv/buildlink3.mk"
|
2003-07-16 09:41:33 +02:00
|
|
|
.endif
|
2006-11-28 16:26:18 +01:00
|
|
|
LIBS.SunOS+= -lintl
|
2000-12-12 03:03:46 +01:00
|
|
|
|
2002-03-04 09:24:59 +01:00
|
|
|
DOCDIR= ${PREFIX}/share/doc/icewm
|
2004-07-02 21:25:16 +02:00
|
|
|
HTMLDIR= ${PREFIX}/share/doc/icewm/html
|
2002-03-04 09:24:59 +01:00
|
|
|
INSTALL_TARGET= install-base install-nls
|
2000-12-12 03:03:46 +01:00
|
|
|
|
2001-03-03 23:01:11 +01:00
|
|
|
post-extract:
|
2006-10-04 21:38:05 +02:00
|
|
|
cp ${FILESDIR}/bsd-daemon.xpm ${WRKSRC}/lib/taskbar
|
2001-03-03 23:01:11 +01:00
|
|
|
|
2000-12-12 03:03:46 +01:00
|
|
|
post-install:
|
2008-11-27 14:28:05 +01:00
|
|
|
${INSTALL_DATA_DIR} ${DESTDIR}${DOCDIR}
|
|
|
|
${INSTALL_DATA_DIR} ${DESTDIR}${HTMLDIR}
|
2006-10-04 21:38:05 +02:00
|
|
|
set -e; \
|
|
|
|
for file in BUGS CHANGES COPYING README README.wm-session TODO; do \
|
2008-11-27 14:28:05 +01:00
|
|
|
${INSTALL_DATA} ${WRKSRC}/"$${file}" ${DESTDIR}${DOCDIR}; \
|
2000-12-12 03:03:46 +01:00
|
|
|
done
|
2008-11-27 14:28:05 +01:00
|
|
|
${INSTALL_DATA} ${WRKSRC}/doc/*.html ${DESTDIR}${HTMLDIR}
|
Update icewm{,-gnome} to 1.2.7. Changes since 1.2.0:
1.2.7: 2003-03-08
- minor bug fixes
1.2.7pre3: 2003-03-02
- new option QuickSwitchGroupWorkspaces (if
QuickSwitchToAllWorkspaces=1)
- Italian translation update
- more menu tweaks
- implement NetWM window type SPLASH
- ACPI status patch from Klaus Schneider
- Made Alt+<left,right mouse button> behave in more standard manner
- DoNotFocus window option added.
1.2.7pre2: 2003-02-26
- Major improvement in percieved speed of menus
- Dutch translation by Ton Kersten
- add new options: ShowRun, ShowAbout, ShowWindowList,
ShowLogoutSubMenu, AllowFullscreen (Ton Kersten)
- support WM_WINDOW_ROLE, too
- fix detection of netwm hints for some apps
- fix AutoReloadMenus bug
1.2.7pre1: 2003-02-23
- fix .order file handling for gnome menus (Thomas Zajic)
- changed default theme to icedesert (Nehal Mistry)
- fix crash in alt+tab when window closes
- rewrite icewm.spec.in Christian W. Zuckschwerdt (zany@triq.net)
- Belarussian translation by Hleb Valoska (el_globus@tut.by)
- tweaked character set (CODESET) detection
- 'Programs' menu is now invoked from menu file, not from the code
- fixed fonts in Infadel2 theme when Xft is used
1.2.6: 2003-01-19
- Slovenian translation by Jernej Kovacic
- improve focus handling on non-xinerama multihead displays
- another submenu/icon handling fix for gnome menus (Thomas Zajic)
- added nonICCCMconfigureRequest window option workaround for
non ICCCM compliant applications
- WINDOW_ROLE handling for winoptions (Stanislav Svirid)
- fix crash in mail status checker in pop/imap configuration
- implement startMinimized window option, similiar to startMaximized
1.2.5: 2003-01-05
- fix lockup when doing operations through window list
- fix compile problem --with-xpm
- fix icesh.cc focus handling (by Todd R. Eigenschink)
- update workaround for some TK issues
- slow startup fix (caused by broken lazy menu loading)
1.2.4: 2003-01-03
- fixed submenu/icon handling for gnome menus (Thomas Zajic)
- acpi optimization (Michal Ceresna)
- fix crash in "Tile ..."
- fix submenu deactivation problem (reported by Bernhard Walle)
- fix focus loss on xmms exit (reported by Bernhard Walle)
- fix problem with restarting the wm (when icewm-menu-gnome1 not
present)
1.2.3: 2002-12-26
- IMPORTANT: system configuration directory changed to
/etc/icewm (from /etc/X11/icewm or /usr/local/etc/X11/icewm).
icewm now installs it's data files in /usr/local/share/icewm.
- added --disable-winmenu and --disable-taskbar configure options
- bug fixes in menu code
- fixed lockup when running under session manager (GNOME2)
1.2.3pre2: 2002-12-15
- support for Xinerama
- rewritten RPM packaging
- new "menuprog" statement in menu files for reading a submenu
from a pipe
- Italian translation update
- moved gnome menu support into an external utility (icewm-menu-gnome1)
(used trough "menuprog", requires gnome 1.x)
- added keybinding for showing the window list menu (KeySysWinListMenu)
1.2.3pre1: 2002-10-20 + soon
- some small fixes for the swedish translation (tucker)
- new APM/ACPI monitor code by Michal Ceresna (cemi)
- Norwegian translation by Petter Johan Olsen
- the Address Bar in the taskbar now works even without
TaskBarDoubleHeight (Ctrl+Alt+Space)
- new APM/ACPI battery monitoring code
- rewritten the work area implementation (doNotCover should
now work much better)
- new "preferences" setting: focusOnAppRaise - focus the window when
application requests to raise it
- cleaned up the icewmbg implementation (TODO: config file for it)
- fixed the Reboot vs Shutdown issue
- Alt+Left Button drag now used for window move and
resize (no more Ctrl+Alt)
- fixed configure option: --enable-depend now used for make depend
1.2.2: 2002-09-06
- fixed icewm.spec file for building RPMs
- fixed CHANGES file
1.2.1: 2002-08-31
- TaskBar and root menu is no longer disabled under Gnome (adjust
your ~/.icewm/preferences manually: ShowTaskBar=0; UseRootButtons=0)
- feature: partial support of the Enhanced Window Manager
Specification (NETWM) needed for GNOME2 and KDE3
compliance
flux - feature: scriptable menus (as found in WindowMaker)
- feature: execute "startup" or "restart" script found in resource
path ($ICEWM_HOME, $ETCDIR, $LIBDIR) after initialization
- bugfix: added --help switch to icewm, allow GNU stylish
long options
- feature: the directory for user preferences can be selected by
the ICEWM_PRIVCFG variable now (default still is and will
forever be ~/.icewm, but think about the beauty of
setting ICEWM_PRIVCFG to "$HOME/.etc/icewm"...)
- bugfix/feature: menu parser is case-insensitive now
- bugfix/feature: normal users won't need GNU make anymore
- cleanup of lib/.../*.xpm by Andrey Smagin
- FocusChangesWorkspace option by Daniel Pittman -- determines
if a new window open on another workspace switches to that
workspace
- PointerRaiseDelay focusing fix by Thomas Linder
- bugfix: enable menu items in window list popup only when appropriate
(closes bug 217168)
- change the ppp status applet to decrease the scale when the
troughput goes down.
- feature: improved icesh's worth by adding support for window classes
- ui-change: added fullscreen window menu action; changed default key
binding for hide, rollup and undoArrange action
- added startMaximized{,Vert,Horz} winoptions
- initial UrgencyHint implementation
- added "menufile" statement for menu files
- configure script defaults changed: imlib, i18n, nls are now default
2003-06-03 18:04:45 +02:00
|
|
|
|
2004-02-26 10:00:03 +01:00
|
|
|
.include "../../devel/gettext-lib/buildlink3.mk"
|
2014-01-05 13:29:33 +01:00
|
|
|
.include "../../fonts/fontconfig/buildlink3.mk"
|
2006-12-15 21:32:52 +01:00
|
|
|
.include "../../x11/libXft/buildlink3.mk"
|
|
|
|
.include "../../x11/libXrandr/buildlink3.mk"
|