Import of pkgsrc-2013Q2

This commit is contained in:
2013-09-26 17:14:40 +02:00
commit 785076ae39
74991 changed files with 4380255 additions and 0 deletions

7
wm/waimea/DESCR Normal file
View File

@@ -0,0 +1,7 @@
The design goal for waimea is to create the most efficient desktop
working environment available. To achieve this, waimea is a fast and
highly customizable virtual desktop window manager. It uses the blackbox
image rendering engine (blackbox styles support) and can use the Xft
library for font rendering (anti-aliased font support). It also features
a very advanced configuration system with which is possible to make waimea
behave as almost any other window manager.

52
wm/waimea/Makefile Normal file
View File

@@ -0,0 +1,52 @@
# $NetBSD: Makefile,v 1.48 2013/06/06 12:55:10 wiz Exp $
#
DISTNAME= waimea-0.4.0
PKGREVISION= 26
CATEGORIES= wm
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=waimea/}
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://sourceforge.net/projects/waimea/
COMMENT= Fast and highly customizable virtual window manager
GNU_CONFIGURE= YES
USE_LANGUAGES= c c++
USE_TOOLS+= gmake perl:run pkg-config
.include "../../mk/bsd.prefs.mk"
BUILDLINK_DEPMETHOD.libXt?= build
.include "../../x11/libSM/buildlink3.mk"
.include "../../x11/libX11/buildlink3.mk"
.include "../../x11/libXt/buildlink3.mk"
.if ${X11_TYPE} != "native"
.include "../../x11/libXext/buildlink3.mk"
.include "../../x11/libXinerama/buildlink3.mk"
.include "../../x11/libXrandr/buildlink3.mk"
.include "../../x11/libXrender/buildlink3.mk"
.else
. if !exists(${X11BASE}/include/X11/extensions/Xinerama.h)
CONFIGURE_ARGS+= --disable-xinerama
. endif
. if !exists(${X11BASE}/include/X11/extensions/Xrender.h)
CONFIGURE_ARGS+= --disable-render
. endif
. if !exists(${X11BASE}/include/X11/extensions/shape.h)
CONFIGURE_ARGS+= --disable-shape
. endif
.endif
CONFIGURE_ARGS+= --disable-randr
REPLACE_PERL = \
data/scripts/filelist.pl \
data/scripts/procinfo.pl \
data/scripts/stylesdir.pl.in
.include "../../graphics/freetype2/buildlink3.mk"
.include "../../graphics/imlib2/buildlink3.mk"
.include "../../x11/libXft/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"

15
wm/waimea/PLIST Normal file
View File

@@ -0,0 +1,15 @@
@comment $NetBSD: PLIST,v 1.2 2009/06/14 18:19:02 joerg Exp $
bin/waimea
man/man1/waimea.1
share/waimea/actions/action
share/waimea/actions/action.click-to-focus
share/waimea/actions/action.no-mouse
share/waimea/actions/action.non-opaque
share/waimea/actions/action.sloppy-focus
share/waimea/backgrounds/waimea.png
share/waimea/config
share/waimea/menu
share/waimea/scripts/filelist.pl
share/waimea/scripts/procinfo.pl
share/waimea/scripts/stylesdir.pl
share/waimea/styles/Default.style

9
wm/waimea/distinfo Normal file
View File

@@ -0,0 +1,9 @@
$NetBSD: distinfo,v 1.4 2011/12/21 13:02:10 wiz Exp $
SHA1 (waimea-0.4.0.tar.gz) = b2dc5e829aad8681bab9313bd336b79875154531
RMD160 (waimea-0.4.0.tar.gz) = 5694d832cb3cd51d6f3473c73eb70f803825c1a3
Size (waimea-0.4.0.tar.gz) = 242526 bytes
SHA1 (patch-aa) = f6cdb4054bb3f86f90a942cbaaad3a46bd42c6e2
SHA1 (patch-src_Resources.cc) = 4190dc1cd288fed8a3d3d217ba51e2bdee229cbd
SHA1 (patch-src_Resources.hh) = 6f273e42d362e87413cab68cdd42d9e2277ffdaf
SHA1 (patch-src_Window.cc) = 3a42d1015bb343191c4ad2f1ef42e61a2650a87e

View File

@@ -0,0 +1,13 @@
$NetBSD: patch-aa,v 1.1 2009/07/07 19:34:24 joerg Exp $
--- data/actions/Makefile.in.orig 2009-07-07 21:32:01.000000000 +0200
+++ data/actions/Makefile.in
@@ -228,7 +228,7 @@ uninstall-am: uninstall-actionsDATA unin
install-data-local:
- cd $(pkgdatadir)/actions && \
+ cd ${DESTDIR}$(pkgdatadir)/actions && \
ln -sf action.sloppy-focus action
uninstall-local:

View File

@@ -0,0 +1,33 @@
$NetBSD: patch-src_Resources.cc,v 1.1 2011/12/21 13:02:10 wiz Exp $
Avoid conflict with list<>.
--- src/Resources.cc.orig 2002-11-06 11:55:10.000000000 +0000
+++ src/Resources.cc
@@ -1568,7 +1568,7 @@ void ResourceHandler::LoadActions(WaScre
NULL);
str = str + i3 + 1;
ReadActions((char *) buffer2, defs, &wacts,
- &ext_list->list, wascreen);
+ &ext_list->rlist, wascreen);
}
else if (str[0] == 'n' && str[1] == '/') {
for (i3 = 2; str[i3] != '\0' &&
@@ -1583,7 +1583,7 @@ void ResourceHandler::LoadActions(WaScre
NULL);
str = str + i3 + 1;
ReadActions((char *) buffer2, defs, &wacts,
- &ext_list->list, wascreen);
+ &ext_list->rlist, wascreen);
}
else if (str[0] == 't' && str[1] == '/') {
for (i3 = 2; str[i3] != '\0' &&
@@ -1598,7 +1598,7 @@ void ResourceHandler::LoadActions(WaScre
str + 2);
str = str + i3 + 1;
ReadActions((char *) buffer2, defs, &wacts,
- &ext_list->list, wascreen);
+ &ext_list->rlist, wascreen);
}
else if (! strncasecmp(str, "window", 6)) {
str = str + 6;

View File

@@ -0,0 +1,63 @@
$NetBSD: patch-src_Resources.hh,v 1.1 2011/12/21 13:02:10 wiz Exp $
Avoid conflict with list<>.
--- src/Resources.hh.orig 2002-11-06 11:55:10.000000000 +0000
+++ src/Resources.hh
@@ -40,24 +40,24 @@ typedef struct _ButtonStyle ButtonStyle;
#define IS_ENV_CHAR(ch) (isalnum(ch) || ch == '_')
-#define ACTLISTCLEAR(list) \
- while (! list.empty()) { \
- if (list.back()->exec) \
- delete [] list.back()->exec; \
- if (list.back()->param) \
- delete [] list.back()->param; \
- delete list.back(); \
- list.pop_back(); \
+#define ACTLISTCLEAR(rlist) \
+ while (! rlist.empty()) { \
+ if (rlist.back()->exec) \
+ delete [] rlist.back()->exec; \
+ if (rlist.back()->param) \
+ delete [] rlist.back()->param; \
+ delete rlist.back(); \
+ rlist.pop_back(); \
}
-#define ACTLISTPTRCLEAR(list) \
- while (! list->empty()) { \
- if (list->back()->exec) \
- delete [] list->back()->exec; \
- if (list->back()->param) \
- delete [] list->back()->param; \
- delete list->back(); \
- list->pop_back(); \
+#define ACTLISTPTRCLEAR(rlist) \
+ while (! rlist->empty()) { \
+ if (rlist->back()->exec) \
+ delete [] rlist->back()->exec; \
+ if (rlist->back()->param) \
+ delete [] rlist->back()->param; \
+ delete rlist->back(); \
+ rlist->pop_back(); \
}
@@ -193,13 +193,13 @@ public:
delete name;
delete cl;
delete title;
- ACTLISTCLEAR(list);
+ ACTLISTCLEAR(rlist);
}
Regex *name;
Regex *cl;
Regex *title;
- list<WaAction *> list;
+ list<WaAction *> rlist;
};
class StrComp {

View File

@@ -0,0 +1,23 @@
$NetBSD: patch-src_Window.cc,v 1.1 2011/12/21 13:02:10 wiz Exp $
Avoid conflict with list<>.
--- src/Window.cc.orig 2002-11-06 11:55:10.000000000 +0000
+++ src/Window.cc
@@ -280,13 +280,13 @@ list <WaAction *> *WaWindow::GetActionLi
if (classhint) {
if (classhint->res_name &&
(*it)->name->Match(classhint->res_name))
- return &((*it)->list);
+ return &((*it)->rlist);
else if (classhint->res_class &&
(*it)->cl->Match(classhint->res_class))
- return &((*it)->list);
+ return &((*it)->rlist);
}
if ((*it)->title->Match(name))
- return &((*it)->list);
+ return &((*it)->rlist);
}
return NULL;
}