[arch-commits] Commit in dwm/trunk (PKGBUILD)

2016-03-10 Thread Sergej Pupykin
Date: Thursday, March 10, 2016 @ 19:30:59
  Author: spupykin
Revision: 165984

upgpkg: dwm 6.1-3

upd

Modified:
  dwm/trunk/PKGBUILD

--+
 PKGBUILD |4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2016-03-10 18:30:54 UTC (rev 165983)
+++ PKGBUILD2016-03-10 18:30:59 UTC (rev 165984)
@@ -5,13 +5,13 @@
 
 pkgname=dwm
 pkgver=6.1
-pkgrel=2
+pkgrel=3
 pkgdesc="A dynamic window manager for X"
 url="http://dwm.suckless.org;
 arch=('i686' 'x86_64')
 license=('MIT')
 options=(zipman)
-depends=('libx11' 'libxinerama' 'libxft' 'freetype2' 'st')
+depends=('libx11' 'libxinerama' 'libxft' 'freetype2' 'st' 'dmenu')
 install=dwm.install
 source=(http://dl.suckless.org/dwm/dwm-$pkgver.tar.gz
config.h


[arch-commits] Commit in dwm/trunk (PKGBUILD)

2015-12-22 Thread Sergej Pupykin
Date: Tuesday, December 22, 2015 @ 10:53:10
  Author: spupykin
Revision: 154160

upgpkg: dwm 6.1-2

upd

Modified:
  dwm/trunk/PKGBUILD

--+
 PKGBUILD |4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2015-12-22 09:52:52 UTC (rev 154159)
+++ PKGBUILD2015-12-22 09:53:10 UTC (rev 154160)
@@ -5,13 +5,13 @@
 
 pkgname=dwm
 pkgver=6.1
-pkgrel=1
+pkgrel=2
 pkgdesc="A dynamic window manager for X"
 url="http://dwm.suckless.org;
 arch=('i686' 'x86_64')
 license=('MIT')
 options=(zipman)
-depends=('libx11' 'libxinerama' 'libxft' 'freetype2')
+depends=('libx11' 'libxinerama' 'libxft' 'freetype2' 'st')
 install=dwm.install
 source=(http://dl.suckless.org/dwm/dwm-$pkgver.tar.gz
config.h


[arch-commits] Commit in dwm/trunk (PKGBUILD config.h)

2015-11-09 Thread Sergej Pupykin
Date: Monday, November 9, 2015 @ 11:39:30
  Author: spupykin
Revision: 146422

upgpkg: dwm 6.1-1

upd

Modified:
  dwm/trunk/PKGBUILD
  dwm/trunk/config.h

--+
 PKGBUILD |   23 +++
 config.h |   28 ++--
 2 files changed, 29 insertions(+), 22 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2015-11-09 10:39:26 UTC (rev 146421)
+++ PKGBUILD2015-11-09 10:39:30 UTC (rev 146422)
@@ -4,33 +4,32 @@
 # Contributor: Grigorios Bouzakis 
 
 pkgname=dwm
-pkgver=6.0
-pkgrel=2
+pkgver=6.1
+pkgrel=1
 pkgdesc="A dynamic window manager for X"
 url="http://dwm.suckless.org;
 arch=('i686' 'x86_64')
 license=('MIT')
 options=(zipman)
-depends=('libx11' 'libxinerama')
+depends=('libx11' 'libxinerama' 'libxft' 'freetype2')
 install=dwm.install
 source=(http://dl.suckless.org/dwm/dwm-$pkgver.tar.gz
config.h
dwm.desktop)
-md5sums=('8bb00d4142259beb11e13473b81c0857'
- '2453e037f46449774ec8afab49b4f1a2'
+md5sums=('f0b6b1093b7207f89c2a90b848c008ec'
+ '80c4ef2a3eca0fe2d14e2203e3833200'
  '939f403a71b6e85261d09fc3412269ee')
 
-build() {
+prepare() {
   cd $srcdir/$pkgname-$pkgver
   cp $srcdir/config.h config.h
-  sed -i 's/CPPFLAGS =/CPPFLAGS +=/g' config.mk
-  sed -i 's/^CFLAGS = -g/#CFLAGS += -g/g' config.mk
-  sed -i 's/^#CFLAGS = -std/CFLAGS += -std/g' config.mk
-  sed -i 's/^LDFLAGS = -g/#LDFLAGS += -g/g' config.mk
-  sed -i 's/^#LDFLAGS = -s/LDFLAGS += -s/g' config.mk
-  make X11INC=/usr/include/X11 X11LIB=/usr/lib/X11
 }
 
+build() {
+  cd $srcdir/$pkgname-$pkgver
+  make X11INC=/usr/include/X11 X11LIB=/usr/lib/X11 
FREETYPEINC=/usr/include/freetype2
+}
+
 package() {
   cd $srcdir/$pkgname-$pkgver
   make PREFIX=/usr DESTDIR=$pkgdir install

Modified: config.h
===
--- config.h2015-11-09 10:39:26 UTC (rev 146421)
+++ config.h2015-11-09 10:39:30 UTC (rev 146422)
@@ -1,7 +1,10 @@
 /* See LICENSE file for copyright and license details. */
 
 /* appearance */
-static const char font[]= 
"-*-terminus-medium-r-*-*-16-*-*-*-*-*-*-*";
+static const char *fonts[] = {
+   "monospace:size=10"
+};
+static const char dmenufont[]   = "monospace:size=10";
 static const char normbordercolor[] = "#44";
 static const char normbgcolor[] = "#22";
 static const char normfgcolor[] = "#bb";
@@ -10,22 +13,26 @@
 static const char selfgcolor[]  = "#ee";
 static const unsigned int borderpx  = 1;/* border pixel of windows */
 static const unsigned int snap  = 32;   /* snap pixel */
-static const Bool showbar   = True; /* False means no bar */
-static const Bool topbar= True; /* False means bottom bar */
+static const int showbar= 1;/* 0 means no bar */
+static const int topbar = 1;/* 0 means bottom bar */
 
 /* tagging */
 static const char *tags[] = { "1", "2", "3", "4", "5", "6", "7", "8", "9" };
 
 static const Rule rules[] = {
+   /* xprop(1):
+*  WM_CLASS(STRING) = instance, class
+*  WM_NAME(STRING) = title
+*/
/* class  instancetitle   tags mask isfloating   
monitor */
-   { "Gimp", NULL,   NULL,   0,True,-1 },
-   { "Firefox",  NULL,   NULL,   1 << 8,   False,   -1 },
+   { "Gimp", NULL,   NULL,   0,1,   -1 },
+   { "Firefox",  NULL,   NULL,   1 << 8,   0,   -1 },
 };
 
 /* layout(s) */
-static const float mfact  = 0.55; /* factor of master area size 
[0.05..0.95] */
-static const int nmaster  = 1;/* number of clients in master area */
-static const Bool resizehints = True; /* True means respect size hints in 
tiled resizals */
+static const float mfact = 0.55; /* factor of master area size 
[0.05..0.95] */
+static const int nmaster = 1;/* number of clients in master area */
+static const int resizehints = 1;/* 1 means respect size hints in tiled 
resizals */
 
 static const Layout layouts[] = {
/* symbol arrange function */
@@ -46,8 +53,9 @@
 #define SHCMD(cmd) { .v = (const char*[]){ "/bin/sh", "-c", cmd, NULL } }
 
 /* commands */
-static const char *dmenucmd[] = { "dmenu_run", "-fn", font, "-nb", 
normbgcolor, "-nf", normfgcolor, "-sb", selbgcolor, "-sf", selfgcolor, NULL };
-static const char *termcmd[]  = { "uxterm", NULL };
+static char dmenumon[2] = "0"; /* component of dmenucmd, manipulated in 
spawn() */
+static const char *dmenucmd[] = { "dmenu_run", "-m", dmenumon, "-fn", 
dmenufont, "-nb", normbgcolor, "-nf", normfgcolor, "-sb", selbgcolor, "-sf", 
selfgcolor, NULL };
+static const char *termcmd[]  = { "st", NULL };
 
 static Key keys[] = {
/* modifier keyfunctionargument */


[arch-commits] Commit in dwm/trunk (PKGBUILD)

2014-07-01 Thread Sergej Pupykin
Date: Tuesday, July 1, 2014 @ 12:50:46
  Author: spupykin
Revision: 113972

upgpkg: dwm 6.0-2

upd

Modified:
  dwm/trunk/PKGBUILD

--+
 PKGBUILD |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Modified: PKGBUILD
===
--- PKGBUILD2014-07-01 10:50:42 UTC (rev 113971)
+++ PKGBUILD2014-07-01 10:50:46 UTC (rev 113972)
@@ -5,7 +5,7 @@
 
 pkgname=dwm
 pkgver=6.0
-pkgrel=1
+pkgrel=2
 pkgdesc=A dynamic window manager for X
 url=http://dwm.suckless.org;
 arch=('i686' 'x86_64')