Wed Apr 18 23:15:19 2012 UTC ()
Add patches from Philipp Hartwig improving fullscreen mode; from the
notion-general mailing list.
Bump PKGREVISION.
(wiz)
diff -r1.1.1.1 -r1.2 pkgsrc/wm/notion/Makefile
diff -r1.1.1.1 -r1.2 pkgsrc/wm/notion/distinfo
diff -r0 -r1.1 pkgsrc/wm/notion/patches/patch-ioncore_manage.c
diff -r0 -r1.1 pkgsrc/wm/notion/patches/patch-ioncore_netwm.c
diff -r0 -r1.1 pkgsrc/wm/notion/patches/patch-ioncore_netwm.h
--- pkgsrc/wm/notion/Makefile 2012/01/08 15:22:14 1.1.1.1
+++ pkgsrc/wm/notion/Makefile 2012/04/18 23:15:18 1.2
| @@ -1,18 +1,19 @@ | | | @@ -1,18 +1,19 @@ |
1 | # $NetBSD: Makefile,v 1.1.1.1 2012/01/08 15:22:14 wiz Exp $ | | 1 | # $NetBSD: Makefile,v 1.2 2012/04/18 23:15:18 wiz Exp $ |
2 | # | | 2 | # |
3 | | | 3 | |
4 | DISTNAME= notion-3-2011102900-src | | 4 | DISTNAME= notion-3-2011102900-src |
5 | PKGNAME= ${DISTNAME:S/3-/3./:S/-src//} | | 5 | PKGNAME= ${DISTNAME:S/3-/3./:S/-src//} |
| | | 6 | PKGREVISION= 1 |
6 | CATEGORIES= wm | | 7 | CATEGORIES= wm |
7 | MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=notion/} | | 8 | MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=notion/} |
8 | EXTRACT_SUFX= .tar.bz2 | | 9 | EXTRACT_SUFX= .tar.bz2 |
9 | | | 10 | |
10 | MAINTAINER= pkgsrc-users@NetBSD.org | | 11 | MAINTAINER= pkgsrc-users@NetBSD.org |
11 | HOMEPAGE= http://notion.sourceforge.net/ | | 12 | HOMEPAGE= http://notion.sourceforge.net/ |
12 | COMMENT= Tiling window manager based on ion3 | | 13 | COMMENT= Tiling window manager based on ion3 |
13 | LICENSE= ion-license AND gnu-lgpl-v2.1 | | 14 | LICENSE= ion-license AND gnu-lgpl-v2.1 |
14 | | | 15 | |
15 | PKG_DESTDIR_SUPPORT= user-destdir | | 16 | PKG_DESTDIR_SUPPORT= user-destdir |
16 | | | 17 | |
17 | # notion is based on ion3 | | 18 | # notion is based on ion3 |
18 | CONFLICTS= ion3-[0-9]* | | 19 | CONFLICTS= ion3-[0-9]* |
--- pkgsrc/wm/notion/distinfo 2012/01/08 15:22:14 1.1.1.1
+++ pkgsrc/wm/notion/distinfo 2012/04/18 23:15:18 1.2
| @@ -1,9 +1,12 @@ | | | @@ -1,9 +1,12 @@ |
1 | $NetBSD: distinfo,v 1.1.1.1 2012/01/08 15:22:14 wiz Exp $ | | 1 | $NetBSD: distinfo,v 1.2 2012/04/18 23:15:18 wiz Exp $ |
2 | | | 2 | |
3 | SHA1 (notion-3-2011102900-src.tar.bz2) = e9f76cee087d8deb7cdef36be160ec830289331a | | 3 | SHA1 (notion-3-2011102900-src.tar.bz2) = e9f76cee087d8deb7cdef36be160ec830289331a |
4 | RMD160 (notion-3-2011102900-src.tar.bz2) = afe2b0548a2651d8bb7333761d4842464f7bb2c9 | | 4 | RMD160 (notion-3-2011102900-src.tar.bz2) = afe2b0548a2651d8bb7333761d4842464f7bb2c9 |
5 | Size (notion-3-2011102900-src.tar.bz2) = 584767 bytes | | 5 | Size (notion-3-2011102900-src.tar.bz2) = 584767 bytes |
6 | SHA1 (patch-build_rules.mk) = f8321cea75a1dfb6187ce5229f85cfea7dc5c9a7 | | 6 | SHA1 (patch-build_rules.mk) = f8321cea75a1dfb6187ce5229f85cfea7dc5c9a7 |
| | | 7 | SHA1 (patch-ioncore_manage.c) = d57e6118716989590b37e472f2d1f921cd16e049 |
| | | 8 | SHA1 (patch-ioncore_netwm.c) = ff665477c26c56eea4339484a2ad2255e5ddd7c8 |
| | | 9 | SHA1 (patch-ioncore_netwm.h) = d292d751e7c684d177d574ff2e7a7b346a55f5b9 |
7 | SHA1 (patch-libtu_output.c) = e9e9e77f0c1ff196fefa887a51f647f0dee7df89 | | 10 | SHA1 (patch-libtu_output.c) = e9e9e77f0c1ff196fefa887a51f647f0dee7df89 |
8 | SHA1 (patch-pwm_Makefile) = e614eb6aea7af2b526392e7b9c17d5be262bf569 | | 11 | SHA1 (patch-pwm_Makefile) = e614eb6aea7af2b526392e7b9c17d5be262bf569 |
9 | SHA1 (patch-system.mk) = fa439b406cf79b117118991095520380fb95a109 | | 12 | SHA1 (patch-system.mk) = fa439b406cf79b117118991095520380fb95a109 |
$NetBSD: patch-ioncore_manage.c,v 1.1 2012/04/18 23:15:19 wiz Exp $
Fixes some fullscreen apps.
From Philipp Hartwig <ph@phhart.de>
on notion-general@lists.sourceforge.net
--- ioncore/manage.c.orig 2011-10-29 18:19:21.000000000 +0000
+++ ioncore/manage.c
@@ -151,8 +151,8 @@ static bool try_fullscreen(WClientWin *c
fs_scr=dflt;
}
- if(fs_scr==NULL)
- fs_scr=netwm_check_initial_fullscreen(cwin);
+ if(fs_scr==NULL && netwm_check_initial_fullscreen(cwin))
+ fs_scr=dflt;
if(fs_scr==NULL)
fs_scr=clientwin_fullscreen_chkrq(cwin, param->geom.w, param->geom.h);
$NetBSD: patch-ioncore_netwm.c,v 1.1 2012/04/18 23:15:19 wiz Exp $
Fixes some fullscreen apps.
From Philipp Hartwig <ph@phhart.de>
on notion-general@lists.sourceforge.net
--- ioncore/netwm.c.orig 2011-10-29 18:19:21.000000000 +0000
+++ ioncore/netwm.c
@@ -95,7 +95,7 @@ void netwm_init_rootwin(WRootWin *rw)
/*{{{ _NET_WM_STATE */
-WScreen *netwm_check_initial_fullscreen(WClientWin *cwin)
+bool netwm_check_initial_fullscreen(WClientWin *cwin)
{
int i, n;
@@ -106,16 +106,16 @@ WScreen *netwm_check_initial_fullscreen(
1, TRUE, (uchar**)&data);
if(n<0)
- return NULL;
+ return FALSE;
for(i=0; i<n; i++){
if(data[i]==(long)atom_net_wm_state_fullscreen)
- return region_screen_of((WRegion*)cwin);
+ return TRUE;
}
XFree((void*)data);
- return NULL;
+ return FALSE;
}
$NetBSD: patch-ioncore_netwm.h,v 1.1 2012/04/18 23:15:19 wiz Exp $
Fixes some fullscreen apps.
From Philipp Hartwig <ph@phhart.de>
on notion-general@lists.sourceforge.net
--- ioncore/netwm.h.orig 2011-10-29 18:19:21.000000000 +0000
+++ ioncore/netwm.h
@@ -20,7 +20,7 @@
extern void netwm_init();
extern void netwm_init_rootwin(WRootWin *rw);
-extern WScreen *netwm_check_initial_fullscreen(WClientWin *cwin);
+extern bool netwm_check_initial_fullscreen(WClientWin *cwin);
extern void netwm_update_state(WClientWin *cwin);
extern void netwm_delete_state(WClientWin *cwin);
extern void netwm_set_active(WRegion *reg);