summaryrefslogtreecommitdiff
path: root/wm
diff options
context:
space:
mode:
authorjoerg <joerg@pkgsrc.org>2007-07-12 13:54:01 +0000
committerjoerg <joerg@pkgsrc.org>2007-07-12 13:54:01 +0000
commit8962eca0494b484ec12209a3597865aae8e03803 (patch)
tree3337c00ceff534052117231c220090664a990171 /wm
parentafd4426b6aec24ae2ca6d96dce2faa2dc315ab34 (diff)
downloadpkgsrc-8962eca0494b484ec12209a3597865aae8e03803.tar.gz
Update to ion3-rc-20070708. From Philip Paeps, who also wants to
maintain it. Changes are mostly bugfixes, bugfixes and bug fixes.
Diffstat (limited to 'wm')
-rw-r--r--wm/ion3-devel/Makefile26
-rw-r--r--wm/ion3-devel/PLIST34
-rw-r--r--wm/ion3-devel/distinfo30
-rw-r--r--wm/ion3-devel/patches/patch-aa12
-rw-r--r--wm/ion3-devel/patches/patch-ab8
-rw-r--r--wm/ion3-devel/patches/patch-ac12
-rw-r--r--wm/ion3-devel/patches/patch-ad45
-rw-r--r--wm/ion3-devel/patches/patch-ae16
-rw-r--r--wm/ion3-devel/patches/patch-ag18
-rw-r--r--wm/ion3-devel/patches/patch-ah8
-rw-r--r--wm/ion3-devel/patches/patch-ai36
-rw-r--r--wm/ion3-devel/patches/patch-aj8
-rw-r--r--wm/ion3-devel/patches/patch-ak10
-rw-r--r--wm/ion3-devel/patches/patch-al23
-rw-r--r--wm/ion3-devel/patches/patch-am6
15 files changed, 94 insertions, 198 deletions
diff --git a/wm/ion3-devel/Makefile b/wm/ion3-devel/Makefile
index 71edbb7e19c..c97bcd0ca29 100644
--- a/wm/ion3-devel/Makefile
+++ b/wm/ion3-devel/Makefile
@@ -1,13 +1,12 @@
-# $NetBSD: Makefile,v 1.21 2006/11/06 11:33:52 joerg Exp $
+# $NetBSD: Makefile,v 1.22 2007/07/12 13:54:01 joerg Exp $
#
-DISTNAME= ion-3ds-20060524
+DISTNAME= ion-3rc-20070708
PKGNAME= ${DISTNAME:S/-3ds-/3-/}
-PKGREVISION= 1
CATEGORIES= wm x11
MASTER_SITES= http://modeemi.fi/~tuomov/dl/
-MAINTAINER= joerg@NetBSD.org
+MAINTAINER= philip@FreeBSD.org
HOMEPAGE= http://modeemi.fi/~tuomov/ion/
COMMENT= Keyboard friendly tiling window manager
@@ -22,17 +21,17 @@ CONFIGURE_ENV+= PKGLOCALEDIR=${PREFIX}/${PKGLOCALEDIR}/locale
PKG_SYSCONFSUBDIR= ion3
EGDIR= ${PREFIX}/share/examples/ion3
-EGFILES= cfg_dock.lua cfg_floatws.lua cfg_ion.lua \
- cfg_ioncore.lua cfg_ionws.lua cfg_kludges.lua \
- cfg_menu.lua cfg_modules.lua cfg_panews.lua \
- cfg_pwm.lua cfg_query.lua cfg_sp.lua \
- cfg_statusbar.lua \
+EGFILES= cfg_defaults.lua cfg_dock.lua cfg_ioncore.lua \
+ cfg_ion.lua cfg_kludges.lua cfg_layouts.lua \
+ cfg_menu.lua cfg_pwm.lua cfg_query.lua \
+ cfg_sp.lua cfg_statusbar.lua cfg_tiling.lua \
look.lua look_brownsteel.lua \
- look_clean.lua look_cleanios.lua \
+ look_clean.lua look_cleanios.lua \
look_cleanviolet.lua look_dusky.lua \
- look_greyviolet.lua look_ios.lua \
- look_simpleblue.lua \
- lookcommon_clean.lua lookcommon_emboss.lua
+ look_greenlight.lua look_greyviolet.lua \
+ look_ios.lua look_newviolet.lua \
+ look_simpleblue.lua lookcommon_clean.lua \
+ lookcommon_emboss.lua
.for f in ${EGFILES}
CONF_FILES+= ${EGDIR}/${f} ${PKG_SYSCONFDIR}/${f}
.endfor
@@ -44,6 +43,5 @@ INSTALL_MAKE_FLAGS+= PREFIX=${DESTDIR}${PREFIX}
.include "../../x11/xextproto/buildlink3.mk"
.include "../../x11/libX11/buildlink3.mk"
.include "../../x11/libSM/buildlink3.mk"
-.include "../../x11/libXinerama/buildlink3.mk"
.include "../../x11/libXext/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
diff --git a/wm/ion3-devel/PLIST b/wm/ion3-devel/PLIST
index 55a827ffec6..99e76a783ab 100644
--- a/wm/ion3-devel/PLIST
+++ b/wm/ion3-devel/PLIST
@@ -1,47 +1,39 @@
-@comment $NetBSD: PLIST,v 1.4 2006/08/14 22:42:04 wiz Exp $
+@comment $NetBSD: PLIST,v 1.5 2007/07/12 13:54:01 joerg Exp $
bin/ion3
bin/pwm3
lib/ion3/bin/ion-completefile
lib/ion3/bin/ion-statusd
lib/ion3/lc/de.lc
-lib/ion3/lc/ext_statusbar.lc
lib/ion3/lc/ioncore_bindings.lc
lib/ion3/lc/ioncore_efbb.lc
lib/ion3/lc/ioncore_ext.lc
lib/ion3/lc/ioncore_luaext.lc
lib/ion3/lc/ioncore_menudb.lc
lib/ion3/lc/ioncore_misc.lc
+lib/ion3/lc/ioncore_tabnum.lc
lib/ion3/lc/ioncore_wd.lc
lib/ion3/lc/ioncore_winprops.lc
lib/ion3/lc/mod_dock.lc
-lib/ion3/lc/mod_floatws.lc
-lib/ion3/lc/mod_ionws.lc
lib/ion3/lc/mod_menu.lc
-lib/ion3/lc/mod_mgmtmode.lc
-lib/ion3/lc/mod_panews.lc
-lib/ion3/lc/mod_query.lc
lib/ion3/lc/mod_query_chdir.lc
+lib/ion3/lc/mod_query.lc
lib/ion3/lc/mod_sm.lc
lib/ion3/lc/mod_sp.lc
lib/ion3/lc/mod_statusbar.lc
+lib/ion3/lc/mod_tiling.lc
lib/ion3/lc/statusd_date.lc
lib/ion3/lc/statusd_load.lc
lib/ion3/lc/statusd_mail.lc
lib/ion3/mod/de.so
lib/ion3/mod/mod_dock.so
-lib/ion3/mod/mod_floatws.so
-lib/ion3/mod/mod_ionws.so
lib/ion3/mod/mod_menu.so
-lib/ion3/mod/mod_mgmtmode.so
-lib/ion3/mod/mod_panews.so
lib/ion3/mod/mod_query.so
lib/ion3/mod/mod_sm.so
lib/ion3/mod/mod_sp.so
lib/ion3/mod/mod_statusbar.so
+lib/ion3/mod/mod_tiling.so
man/cs/man1/ion3.1
man/cs/man1/pwm3.1
-man/de/man1/ion3.1
-man/de/man1/pwm3.1
man/fi/man1/ion3.1
man/fi/man1/pwm3.1
man/man1/ion3.1
@@ -50,44 +42,42 @@ share/doc/ion3/ChangeLog
share/doc/ion3/LICENSE
share/doc/ion3/README
share/doc/ion3/RELNOTES
+share/examples/ion3/cfg_defaults.lua
share/examples/ion3/cfg_dock.lua
-share/examples/ion3/cfg_floatws.lua
-share/examples/ion3/cfg_ion.lua
share/examples/ion3/cfg_ioncore.lua
-share/examples/ion3/cfg_ionws.lua
+share/examples/ion3/cfg_ion.lua
share/examples/ion3/cfg_kludges.lua
+share/examples/ion3/cfg_layouts.lua
share/examples/ion3/cfg_menu.lua
-share/examples/ion3/cfg_modules.lua
-share/examples/ion3/cfg_panews.lua
share/examples/ion3/cfg_pwm.lua
share/examples/ion3/cfg_query.lua
share/examples/ion3/cfg_sp.lua
share/examples/ion3/cfg_statusbar.lua
+share/examples/ion3/cfg_tiling.lua
share/examples/ion3/look.lua
share/examples/ion3/look_brownsteel.lua
share/examples/ion3/look_clean.lua
share/examples/ion3/look_cleanios.lua
share/examples/ion3/look_cleanviolet.lua
share/examples/ion3/look_dusky.lua
+share/examples/ion3/look_greenlight.lua
share/examples/ion3/look_greyviolet.lua
share/examples/ion3/look_ios.lua
+share/examples/ion3/look_newviolet.lua
share/examples/ion3/look_simpleblue.lua
share/examples/ion3/lookcommon_clean.lua
share/examples/ion3/lookcommon_emboss.lua
share/ion3/ion-completeman
share/ion3/ion-runinxterm
share/ion3/welcome.cs.txt
-share/ion3/welcome.de.txt
share/ion3/welcome.fi.txt
share/ion3/welcome.txt
share/locale/cs/LC_MESSAGES/ion3.mo
-share/locale/de/LC_MESSAGES/ion3.mo
share/locale/fi/LC_MESSAGES/ion3.mo
-share/locale/ru/LC_MESSAGES/ion3.mo
@dirrm share/ion3
@dirrm share/examples/ion3
@dirrm share/doc/ion3
-@dirrm lib/ion3/bin
@dirrm lib/ion3/mod
@dirrm lib/ion3/lc
+@dirrm lib/ion3/bin
@dirrm lib/ion3
diff --git a/wm/ion3-devel/distinfo b/wm/ion3-devel/distinfo
index 9f2632e6c43..933883cb567 100644
--- a/wm/ion3-devel/distinfo
+++ b/wm/ion3-devel/distinfo
@@ -1,17 +1,15 @@
-$NetBSD: distinfo,v 1.7 2006/11/03 07:02:23 wiz Exp $
+$NetBSD: distinfo,v 1.8 2007/07/12 13:54:01 joerg Exp $
-SHA1 (ion-3ds-20060524.tar.gz) = 65b6bb55205e9c16f02438e3586876416222999e
-RMD160 (ion-3ds-20060524.tar.gz) = 97a86785437fce3ba91e8edfbd412e199415f545
-Size (ion-3ds-20060524.tar.gz) = 620416 bytes
-SHA1 (patch-aa) = 2d818efecf435904ac61dd6396d841db438dc2bf
-SHA1 (patch-ab) = 80a2649065db9e8a6ac59c6d7bf589175b63332c
-SHA1 (patch-ac) = 7f10320ad611bcc92c7db37e475e086be7e14074
-SHA1 (patch-ad) = 75883f474d16cda265c58784ad60c61a5eed98c7
-SHA1 (patch-ae) = 763c5b24fa8f4ba3c6f09d547714a95e87a864ac
-SHA1 (patch-ag) = 0a4e7a5b0afc8393e5085898cc3ec782fb07d005
-SHA1 (patch-ah) = 185eb5a98967976ef2a1532bd515af52f145984d
-SHA1 (patch-ai) = 0d2e440163caceb8e5dd7a88548569083cd16653
-SHA1 (patch-aj) = d9a2f02f7b560bd950290758a980d72780fdfca0
-SHA1 (patch-ak) = 4f7a8dffb06aa03aaebcf645b22b93ef4e0fe2bc
-SHA1 (patch-al) = ee48b28578c8c5168f7b40e6b9bdfe8cf38facb3
-SHA1 (patch-am) = 0ff629d6b9f60760e10fa30c23ccbe24dac284b1
+SHA1 (ion-3rc-20070708.tar.gz) = 84bc9871d9f3c6f37d614d7e9eb54021d3e866e5
+RMD160 (ion-3rc-20070708.tar.gz) = 85947dc1b1dd7abd4304a42e2e946a7641cda8c4
+Size (ion-3rc-20070708.tar.gz) = 655000 bytes
+SHA1 (patch-aa) = 16c548331f747c1cfbfa94b6241128afffdb10fb
+SHA1 (patch-ab) = f16cb96af26a779398fc791b1381b34ec4526794
+SHA1 (patch-ac) = cf0194f39d4823ea890e7afa66485565acb30684
+SHA1 (patch-ae) = 7a81f82b6d7f1aebd5f4d07cb778392cb61c4f19
+SHA1 (patch-ag) = 9db03d4511e77390f51c917ebcc2f403773ca649
+SHA1 (patch-ah) = b30b29fb383838c9008920dfc0435f7a815f963f
+SHA1 (patch-aj) = 08e04586bd0432ea1242ea16d3ab3edf72e34ec1
+SHA1 (patch-ak) = e3951c02a5b70e9ff8ec00567f27bc5a96575e25
+SHA1 (patch-al) = d80745093f26a94d900e4bdddbb5a4c9d9e07191
+SHA1 (patch-am) = 6a55713477b0408ce4700762558116f53da0084e
diff --git a/wm/ion3-devel/patches/patch-aa b/wm/ion3-devel/patches/patch-aa
index 6107a91adc0..e7c5702e2fe 100644
--- a/wm/ion3-devel/patches/patch-aa
+++ b/wm/ion3-devel/patches/patch-aa
@@ -1,12 +1,12 @@
-$NetBSD: patch-aa,v 1.3 2006/09/20 13:25:25 joerg Exp $
+$NetBSD: patch-aa,v 1.4 2007/07/12 13:54:02 joerg Exp $
---- mod_ionws/Makefile.orig 2006-09-20 13:50:46.000000000 +0200
-+++ mod_ionws/Makefile
-@@ -10,6 +10,7 @@ include $(TOPDIR)/system-inc.mk
+--- mod_tiling/Makefile.orig 2007-03-30 12:00:17.325708691 +0200
++++ mod_tiling/Makefile 2007-03-30 12:01:07.915538829 +0200
+@@ -10,6 +10,7 @@
INCLUDES += $(X11_INCLUDES) $(LIBTU_INCLUDES) $(LIBEXTL_INCLUDES) -I..
CFLAGS += $(XOPEN_SOURCE) $(C99_SOURCE)
+LIBS += $(LIBTU_LIBS)
- SOURCES=main.c ionws.c placement.c split.c split-stdisp.c \
- splitfloat.c panehandle.c
+ SOURCES=main.c tiling.c placement.c split.c split-stdisp.c \
+ splitfloat.c panehandle.c ops.c
diff --git a/wm/ion3-devel/patches/patch-ab b/wm/ion3-devel/patches/patch-ab
index cdc21a1a24c..84f3fdd153a 100644
--- a/wm/ion3-devel/patches/patch-ab
+++ b/wm/ion3-devel/patches/patch-ab
@@ -1,8 +1,8 @@
-$NetBSD: patch-ab,v 1.3 2006/09/20 13:25:25 joerg Exp $
+$NetBSD: patch-ab,v 1.4 2007/07/12 13:54:02 joerg Exp $
---- mod_statusbar/Makefile.orig 2006-09-20 13:50:29.000000000 +0200
-+++ mod_statusbar/Makefile
-@@ -10,6 +10,7 @@ include $(TOPDIR)/system-inc.mk
+--- mod_statusbar/Makefile.orig 2007-03-30 12:01:40.796229869 +0200
++++ mod_statusbar/Makefile 2007-03-30 12:01:59.324238660 +0200
+@@ -10,6 +10,7 @@
INCLUDES += $(X11_INCLUDES) $(LIBTU_INCLUDES) $(LIBEXTL_INCLUDES) -I..
CFLAGS += $(XOPEN_SOURCE) $(C99_SOURCE)
diff --git a/wm/ion3-devel/patches/patch-ac b/wm/ion3-devel/patches/patch-ac
index 299393868b8..ade0b1e8993 100644
--- a/wm/ion3-devel/patches/patch-ac
+++ b/wm/ion3-devel/patches/patch-ac
@@ -1,12 +1,10 @@
-$NetBSD: patch-ac,v 1.2 2006/08/14 22:42:04 wiz Exp $
-
---- etc/Makefile.orig 2006-05-24 16:23:26.000000000 +0000
-+++ etc/Makefile
-@@ -23,5 +23,5 @@ include $(TOPDIR)/rules.mk
+--- etc/Makefile.orig 2007-06-04 09:17:40.000000000 +0200
++++ etc/Makefile 2007-06-04 09:17:59.000000000 +0200
+@@ -26,5 +26,5 @@
######################################
_install: etc_install
- rm -f $(ETCDIR)/look.lua
-- ln -s look_cleanviolet.lua $(ETCDIR)/look.lua
+- ln -s look_newviolet.lua $(ETCDIR)/look.lua
+ rm -f $(EXDIR)/look.lua
-+ ln -s look_cleanviolet.lua $(EXDIR)/look.lua
++ ln -s look_newviolet.lua $(EXDIR)/look.lua
diff --git a/wm/ion3-devel/patches/patch-ad b/wm/ion3-devel/patches/patch-ad
deleted file mode 100644
index dd72069b195..00000000000
--- a/wm/ion3-devel/patches/patch-ad
+++ /dev/null
@@ -1,45 +0,0 @@
-$NetBSD: patch-ad,v 1.3 2006/08/14 22:42:04 wiz Exp $
-
---- mod_statusbar/ion-statusd/statusd_load.lua.orig 2006-05-24 16:23:26.000000000 +0000
-+++ mod_statusbar/ion-statusd/statusd_load.lua
-@@ -42,7 +42,7 @@ end
- local function get_load_uptime()
- local f=io.popen('uptime', 'r')
- if not f then
-- return "??"
-+ return ""
- end
- local s=f:read('*l')
- f:close()
-@@ -50,11 +50,30 @@ local function get_load_uptime()
- return (load or "")
- end
-
-+local function get_load_sysctl()
-+ local f=io.popen('sysctl -n vm.loadavg', 'r')
-+ if not f then
-+ return ""
-+ end
-+ local s=f:read('*l')
-+ f:close()
-+ local st, en, load=string.find(s, '^\{? ?(%d+%.%d+) %d+%.%d+ %d+%.%d+ ?\}?$')
-+ return (load or "")
-+end
-+
-+local function get_load_na()
-+ return "(n/a)"
-+end
-+
- local function detect_load_fn()
- if get_load_proc()~="" then
- return get_load_proc
-- else
-+ elseif get_load_uptime()~="" then
- return get_load_uptime
-+ elseif get_load_sysctl()~="" then
-+ return get_load_sysctl
-+ else
-+ return get_load_na
- end
- end
-
diff --git a/wm/ion3-devel/patches/patch-ae b/wm/ion3-devel/patches/patch-ae
index 87429a8afeb..54a5c7972ef 100644
--- a/wm/ion3-devel/patches/patch-ae
+++ b/wm/ion3-devel/patches/patch-ae
@@ -1,16 +1,12 @@
-$NetBSD: patch-ae,v 1.4 2006/08/14 22:42:04 wiz Exp $
+$NetBSD: patch-ae,v 1.5 2007/07/12 13:54:03 joerg Exp $
---- ion/Makefile.orig 2006-05-24 16:23:26.000000000 +0000
-+++ ion/Makefile
-@@ -15,9 +15,10 @@ INCLUDES += $(X11_INCLUDES)
- INCLUDES += $(LIBMAINLOOP_INCLUDES) $(LIBTU_INCLUDES) $(LIBEXTL_INCLUDES)
- INCLUDES += -I..
-
--LIBS += $(X11_LIBS) $(XINERAMA_LIBS)
-+LIBS += $(XINERAMA_LIBS) $(X11_LIBS)
+--- ion/Makefile.orig 2007-03-30 12:06:53.097843787 +0200
++++ ion/Makefile 2007-03-30 12:07:12.744676273 +0200
+@@ -22,6 +22,7 @@
+ LIBS += $(X11_LIBS)
LIBS += $(WHOLEA) $(LIBMAINLOOP_LIBS) $(LIBEXTL_LIBS) $(LIBTU_LIBS) $(NO_WHOLEA)
LIBS += $(LUA_LIBS) $(DL_LIBS)
+LIBS += $(INTL_LIBS)
LIBS += -lm
- EXT_OBJS += ../ioncore/ioncore.a
+ ifeq ($(PRELOAD_MODULES),1)
diff --git a/wm/ion3-devel/patches/patch-ag b/wm/ion3-devel/patches/patch-ag
index d60bddea38b..81f7c03674f 100644
--- a/wm/ion3-devel/patches/patch-ag
+++ b/wm/ion3-devel/patches/patch-ag
@@ -1,20 +1,16 @@
-$NetBSD: patch-ag,v 1.4 2006/08/14 22:42:04 wiz Exp $
+$NetBSD: patch-ag,v 1.5 2007/07/12 13:54:03 joerg Exp $
---- pwm/Makefile.orig 2006-05-24 16:23:26.000000000 +0000
-+++ pwm/Makefile
-@@ -15,9 +15,10 @@ INCLUDES += $(X11_INCLUDES)
- INCLUDES += $(LIBMAINLOOP_INCLUDES) $(LIBTU_INCLUDES) $(LIBEXTL_INCLUDES)
- INCLUDES += -I..
-
--LIBS += $(X11_LIBS) $(XINERAMA_LIBS)
-+LIBS += $(XINERAMA_LIBS) $(X11_LIBS)
+--- pwm/Makefile.orig 2007-03-30 13:16:57.980722339 +0200
++++ pwm/Makefile 2007-03-30 13:18:00.912597331 +0200
+@@ -24,6 +24,7 @@
+ LIBS += $(X11_LIBS)
LIBS += $(WHOLEA) $(LIBMAINLOOP_LIBS) $(LIBEXTL_LIBS) $(LIBTU_LIBS) $(NO_WHOLEA)
LIBS += $(LUA_LIBS) $(DL_LIBS)
+LIBS += $(INTL_LIBS)
LIBS += -lm
- EXT_OBJS += ../ioncore/ioncore.a
-@@ -27,7 +28,7 @@ DEFINES += -DETCDIR=\"$(ETCDIR)\" -DSHAR
+ ifeq ($(PRELOAD_MODULES),1)
+@@ -45,7 +46,7 @@
-DLCDIR=\"$(LCDIR)\" -DLOCALEDIR=\"$(LOCALEDIR)\"
ifndef PWM_ETCDIR
diff --git a/wm/ion3-devel/patches/patch-ah b/wm/ion3-devel/patches/patch-ah
index 99c499584e3..18591cc4c7f 100644
--- a/wm/ion3-devel/patches/patch-ah
+++ b/wm/ion3-devel/patches/patch-ah
@@ -1,8 +1,8 @@
-$NetBSD: patch-ah,v 1.2 2006/08/14 22:42:04 wiz Exp $
+$NetBSD: patch-ah,v 1.3 2007/07/12 13:54:03 joerg Exp $
---- rules.mk.orig 2006-05-24 16:23:26.000000000 +0000
-+++ rules.mk
-@@ -153,9 +153,9 @@ lc_install:
+--- build/rules.mk.orig 2007-03-30 14:59:23.167755140 +0200
++++ build/rules.mk 2007-03-30 14:59:43.807466807 +0200
+@@ -153,9 +153,9 @@
done
etc_install:
diff --git a/wm/ion3-devel/patches/patch-ai b/wm/ion3-devel/patches/patch-ai
deleted file mode 100644
index dffdc8a21b7..00000000000
--- a/wm/ion3-devel/patches/patch-ai
+++ /dev/null
@@ -1,36 +0,0 @@
-$NetBSD: patch-ai,v 1.1.1.1 2004/10/04 20:50:57 cube Exp $
-
---- system-ac.mk.in.orig 2004-09-06 20:25:27.000000000 +0200
-+++ system-ac.mk.in
-@@ -16,11 +16,11 @@ exec_prefix=@exec_prefix@
- # Main binaries
- BINDIR=@bindir@
- # Configuration .lua files
--ETCDIR=@sysconfdir@/@PACKAGE_TARNAME@
-+ETCDIR=@sysconfdir@
- # Some .lua files and ion-* shell scripts
- SHAREDIR=@datadir@/@PACKAGE_TARNAME@
- # Manual pages
--MANDIR=@datadir@/man
-+MANDIR=@prefix@/man
- # Some documents
- DOCDIR=@datadir@/doc/@PACKAGE_TARNAME@
- # Nothing at the moment
-@@ -37,7 +37,8 @@ EXTRABINDIR=@libexecdir@/@PACKAGE_TARNAM
- #VARDIR=@localstatedir@/cache/@PACKAGE_TARNAME@
- VARDIR=/var/cache/@PACKAGE_TARNAME@
- # Message catalogs
--LOCALEDIR=@prefix@/share/locale
-+LOCALEDIR=@PKGLOCALEDIR@
-+EXDIR=@datadir@/examples/@PACKAGE_TARNAME@
-
-
- ##
-@@ -50,6 +51,7 @@ PRELOAD_MODULES=@PRELOAD_MODULES@
-
- # Flags to link with libdl.
- DL_LIBS=@DL_LIBS@
-+INTL_LIBS=@INTL_LIBS@
-
-
- ##
diff --git a/wm/ion3-devel/patches/patch-aj b/wm/ion3-devel/patches/patch-aj
index 1aa67e49ba9..7d4cbe6aa2f 100644
--- a/wm/ion3-devel/patches/patch-aj
+++ b/wm/ion3-devel/patches/patch-aj
@@ -1,8 +1,8 @@
-$NetBSD: patch-aj,v 1.1 2006/02/11 10:03:48 cube Exp $
+$NetBSD: patch-aj,v 1.2 2007/07/12 13:54:04 joerg Exp $
---- mod_statusbar/ion-statusd/Makefile.orig 2005-06-20 22:53:30.000000000 +0200
-+++ mod_statusbar/ion-statusd/Makefile
-@@ -10,6 +10,7 @@ include $(TOPDIR)/system-inc.mk
+--- mod_statusbar/ion-statusd/Makefile.orig 2007-03-30 13:22:35.881433415 +0200
++++ mod_statusbar/ion-statusd/Makefile 2007-03-30 13:23:18.168693657 +0200
+@@ -10,6 +10,7 @@
INCLUDES += $(LIBMAINLOOP_INCLUDES) $(LIBEXTL_INCLUDES) $(LIBTU_INCLUDES)
LIBS += $(LIBMAINLOOP_LIBS) $(LIBEXTL_LIBS) $(LIBTU_LIBS) $(LUA_LIBS) $(DL_LIBS) -lm
diff --git a/wm/ion3-devel/patches/patch-ak b/wm/ion3-devel/patches/patch-ak
index fce4db79703..c9782d09308 100644
--- a/wm/ion3-devel/patches/patch-ak
+++ b/wm/ion3-devel/patches/patch-ak
@@ -1,13 +1,11 @@
-$NetBSD: patch-ak,v 1.1 2006/02/11 10:03:48 cube Exp $
-
---- utils/ion-completefile/Makefile.orig 2005-06-20 22:56:47.000000000 +0200
-+++ utils/ion-completefile/Makefile
-@@ -8,7 +8,7 @@ include $(TOPDIR)/system-inc.mk
+--- utils/ion-completefile/Makefile.orig 2007-06-13 14:02:20.000000000 +0200
++++ utils/ion-completefile/Makefile 2007-06-13 14:03:01.000000000 +0200
+@@ -8,7 +8,7 @@
######################################
-LIBS += $(LIBTU_LIBS)
+LIBS += $(LIBTU_LIBS) $(INTL_LIBS)
INCLUDES += $(LIBTU_INCLUDES)
- CFLAGS += $(XOPEN_SOURCE)
+ CFLAGS += $(XOPEN_SOURCE) $(C99_SOURCE)
diff --git a/wm/ion3-devel/patches/patch-al b/wm/ion3-devel/patches/patch-al
index 890bf7241f1..34de5fbe461 100644
--- a/wm/ion3-devel/patches/patch-al
+++ b/wm/ion3-devel/patches/patch-al
@@ -1,6 +1,6 @@
-$NetBSD: patch-al,v 1.3 2006/11/03 07:02:23 wiz Exp $
+$NetBSD: patch-al,v 1.4 2007/07/12 13:54:04 joerg Exp $
---- system.mk.orig 2006-05-24 16:23:51.000000000 +0000
+--- system.mk.orig 2007-07-08 09:37:38.000000000 +0000
+++ system.mk
@@ -7,7 +7,7 @@
## Installation paths
@@ -38,24 +38,27 @@ $NetBSD: patch-al,v 1.3 2006/11/03 07:02:23 wiz Exp $
LUA_LIBS = -L$(LUA_DIR)/lib -llua
LUA_INCLUDES = -I$(LUA_DIR)/include
LUA=$(LUA_DIR)/bin/lua
-@@ -116,8 +116,7 @@ DEFINES += -DCF_XFREE86_TEXTPROP_BUG_WOR
- #DEFINES += -DCF_NO_LOCALE
-
+@@ -114,9 +114,10 @@ DEFINES += -DCF_XFREE86_TEXTPROP_BUG_WOR
# On some other systems you may something like this:
--#EXTRA_LIBS += -lintl
--#EXTRA_INCLUDES +=
-+INTL_LIBS += -lintl
+ #EXTRA_LIBS += -lintl
+ #EXTRA_INCLUDES +=
++EXTRA_LIBS += -lintl
+
+ # clock_gettime for monotonic time
+-EXTRA_LIBS += -lrt
++EXTRA_LIBS += ${PKGSRC_LIBRT}
##
-@@ -132,8 +131,8 @@ WARN= -W -Wimplicit -Wreturn-type -Wswit
+@@ -131,9 +132,9 @@ WARN= -W -Wimplicit -Wreturn-type -Wswit
-Wtrigraphs -Wformat -Wchar-subscripts \
-Wparentheses -pedantic -Wuninitialized
-CFLAGS=-g -Os $(WARN) $(DEFINES) $(EXTRA_INCLUDES) $(INCLUDES)
-LDFLAGS=-g -Os $(EXTRA_LIBS) $(LIBS)
+ EXPORT_DYNAMIC=-Xlinker --export-dynamic
+CFLAGS+= $(WARN) $(DEFINES) $(EXTRA_INCLUDES) $(INCLUDES) -fPIC
+LDFLAGS+= $(EXTRA_LIBS) $(LIBS)
- EXPORT_DYNAMIC=-Xlinker --export-dynamic
# The following options are mainly for development use and can be used
+ # to check that the code seems to conform to some standards. Depending
diff --git a/wm/ion3-devel/patches/patch-am b/wm/ion3-devel/patches/patch-am
index c228ad7fdc0..0afea50dbc4 100644
--- a/wm/ion3-devel/patches/patch-am
+++ b/wm/ion3-devel/patches/patch-am
@@ -1,7 +1,7 @@
-$NetBSD: patch-am,v 1.1 2006/02/11 10:03:48 cube Exp $
+$NetBSD: patch-am,v 1.2 2007/07/12 13:54:04 joerg Exp $
---- mod_statusbar/ion-statusd/ion-statusd.c.orig 2005-09-29 10:50:12.000000000 +0200
-+++ mod_statusbar/ion-statusd/ion-statusd.c
+--- mod_statusbar/ion-statusd/ion-statusd.c.orig 2007-03-30 13:27:17.972480286 +0200
++++ mod_statusbar/ion-statusd/ion-statusd.c 2007-03-30 13:27:47.120836168 +0200
@@ -9,6 +9,8 @@
* (at your option) any later version.
*/