diff --git a/srcpkgs/2bwm-git/template b/srcpkgs/2bwm-git/template index 4e9ad597787..86f14cf7567 100644 --- a/srcpkgs/2bwm-git/template +++ b/srcpkgs/2bwm-git/template @@ -1,6 +1,6 @@ # Template file for '2bwm-git' pkgname=2bwm-git -version=20130928 +version=20131221 revision=1 makedepends="libxcb-devel xcb-util-devel xcb-util-keysyms-devel xcb-util-wm-devel" short_desc="Fast floating window manager" diff --git a/srcpkgs/acpi/template b/srcpkgs/acpi/template index 5a5fadc68cc..74d0f9b902a 100644 --- a/srcpkgs/acpi/template +++ b/srcpkgs/acpi/template @@ -1,6 +1,6 @@ # Template file for 'acpi' pkgname=acpi -version=1.6 +version=1.7 revision=1 build_style=gnu-configure short_desc="Displays informations about ACPI devices (battery, thermal sensors and power)" @@ -8,7 +8,7 @@ maintainer="Ypnose " license="GPL-2" homepage="http://sourceforge.net/projects/acpiclient/" distfiles="http://downloads.sourceforge.net/acpiclient/$pkgname-$version.tar.gz" -checksum=ed61d20400c4fd3965dde9b49ab3ac74da02f8eca1a55454f7a1ac3fa1fd5c31 +checksum=d7a504b61c716ae5b7e81a0c67a50a51f06c7326f197b66a4b823de076a35005 do_install() { make DESTDIR=$DESTDIR install diff --git a/srcpkgs/b43-fwcutter/template b/srcpkgs/b43-fwcutter/template index 1b2dbf3f6cb..47b2e088cb0 100644 --- a/srcpkgs/b43-fwcutter/template +++ b/srcpkgs/b43-fwcutter/template @@ -1,13 +1,13 @@ # Template file for 'b43-fwcutter' pkgname=b43-fwcutter -version=017 +version=018 revision=1 short_desc="Firmware extraction tool for Broadcom wireless driver" maintainer="Ypnose " license="GPL" homepage="http://wireless.kernel.org/en/users/Drivers/b43" distfiles="http://bues.ch/b43/fwcutter/$pkgname-$version.tar.bz2" -checksum=92b06548013136fb2bdac7da5de095a12872f27722cf996129ab24945de568b6 +checksum=57b069dcd1a369ceb457ca397aab470be9b3fc537f400d27244e060fd425638f do_build() { make PREFIX=/usr CC=$CC ${makejobs} diff --git a/srcpkgs/bar-git/template b/srcpkgs/bar-git/template index cd163f6dddf..4ed61a89eba 100644 --- a/srcpkgs/bar-git/template +++ b/srcpkgs/bar-git/template @@ -1,6 +1,6 @@ # Template file for 'bar-git' pkgname=bar-git -version=20131104 +version=20131221 revision=1 makedepends="libxcb-devel" short_desc="A lightweight xcb based bar" diff --git a/srcpkgs/bspwm-git/template b/srcpkgs/bspwm-git/template index 154240555d8..250ee22d151 100644 --- a/srcpkgs/bspwm-git/template +++ b/srcpkgs/bspwm-git/template @@ -1,6 +1,6 @@ # Template file for 'bspwm-git' pkgname=bspwm-git -version=20131104 +version=20131221 revision=1 makedepends="libxcb-devel xcb-util-devel xcb-util-wm-devel" short_desc="A tiling window manager based on binary space partitioning" diff --git a/srcpkgs/cwm-git/template b/srcpkgs/cwm-git/template index 0080a294781..e9ada65771c 100644 --- a/srcpkgs/cwm-git/template +++ b/srcpkgs/cwm-git/template @@ -1,6 +1,6 @@ # Template file for 'cwm-git' pkgname=cwm-git -version=20131104 +version=20131221 revision=1 hostmakedepends="pkg-config bison" makedepends="fontconfig-devel libXft-devel libXinerama-devel libXrandr-devel libX11-devel" diff --git a/srcpkgs/inxi/template b/srcpkgs/inxi/template index 8947d04f78b..8c722742a31 100644 --- a/srcpkgs/inxi/template +++ b/srcpkgs/inxi/template @@ -1,13 +1,13 @@ # Template file for 'inxi' pkgname=inxi -version=1.9.14 +version=1.9.17 revision=1 short_desc="A full featured system information script" maintainer="Ypnose " license="GPL-3" homepage="http://code.google.com/p/inxi/" distfiles="http://inxi.googlecode.com/svn/trunk/inxi.tar.gz" -checksum=46a07a50c231f57a7dd9af048b06f4612f45d7dde47609d13e498a5a0ce7b07d +checksum=2632a2bc099d6d242a1049b38b7cc47dd09b070f78a56f4be7683513acee8e31 create_wrksrc=yes do_install() { diff --git a/srcpkgs/smu-git/template b/srcpkgs/smu-git/template new file mode 100644 index 00000000000..fc1a35e2eea --- /dev/null +++ b/srcpkgs/smu-git/template @@ -0,0 +1,29 @@ +# Template file for 'smu-git' +pkgname=smu-git +version=20131221 +revision=1 +short_desc="Simple markup - markdown like syntax" +maintainer="Ypnose " +license="MIT" +homepage="https://github.com/Gottox/smu/" + +do_fetch() { + local url="git://github.com/Gottox/smu" + msg_normal "Fetching source from $url ...\n" + git clone ${url} ${pkgname}-${version} +} + +do_build() { + make CC=$CC INCS="-I." LIBS= ${makejobs} +} + +do_install() { + make PREFIX=/usr DESTDIR=$DESTDIR install + vinstall LICENSE 644 usr/share/licenses/smu +} + +smu-git_package() { + pkg_install() { + vmove usr + } +} diff --git a/srcpkgs/sxhkd-git/template b/srcpkgs/sxhkd-git/template index 9835f712554..4da1abcfcc9 100644 --- a/srcpkgs/sxhkd-git/template +++ b/srcpkgs/sxhkd-git/template @@ -1,6 +1,6 @@ # Template file for 'sxhkd-git' pkgname=sxhkd-git -version=20131104 +version=20131221 revision=1 makedepends="libxcb-devel xcb-util-devel xcb-util-keysyms-devel" short_desc="Simple X HotKey Daemon" diff --git a/srcpkgs/sxiv-git/files/config.h b/srcpkgs/sxiv-git/files/config.h index f5d048a074d..b1e9c028d68 100644 --- a/srcpkgs/sxiv-git/files/config.h +++ b/srcpkgs/sxiv-git/files/config.h @@ -46,6 +46,12 @@ enum { GIF_LOOP = 0 /* endless loop [0/1] */ }; +/* gamma correction: the user-visible ranges [-GAMMA_RANGE, 0] and + * (0, GAMMA_RANGE] are mapped to the ranges [0, 1], and (1, GAMMA_MAX]. + * */ +static const double GAMMA_MAX = 10.0; +static const int GAMMA_RANGE = 32; + #endif #ifdef _THUMBS_CONFIG @@ -95,6 +101,7 @@ static const keymap_t keys[] = { { true, XK_space, i_toggle_animation, (arg_t) None }, { false, XK_m, it_toggle_image_mark, (arg_t) None }, + { false, XK_M, it_reverse_marks, (arg_t) None }, { false, XK_N, it_navigate_marked, (arg_t) +1 }, { false, XK_P, it_navigate_marked, (arg_t) -1 }, @@ -141,6 +148,11 @@ static const keymap_t keys[] = { { false, XK_a, i_toggle_antialias, (arg_t) None }, { false, XK_A, it_toggle_alpha, (arg_t) None }, + /* decrease/increase/reset gamma */ + { false, XK_braceleft, i_change_gamma, (arg_t) -1 }, + { false, XK_braceright, i_change_gamma, (arg_t) +1 }, + { true, XK_G, i_change_gamma, (arg_t) 0 }, + /* open current image with given program: */ { true, XK_g, it_open_with, (arg_t) "gimp" }, diff --git a/srcpkgs/sxiv-git/template b/srcpkgs/sxiv-git/template index aaffd635eae..27596d30269 100644 --- a/srcpkgs/sxiv-git/template +++ b/srcpkgs/sxiv-git/template @@ -1,6 +1,6 @@ # Template file for 'sxiv-git' pkgname=sxiv-git -version=20131104 +version=20131221 revision=1 makedepends="libX11-devel imlib2-devel giflib-devel" short_desc="Simple X Image Viewer" diff --git a/srcpkgs/tabbed-git/files/config.h b/srcpkgs/tabbed-git/files/config.h index ca4b8d6b474..ceda9f70453 100644 --- a/srcpkgs/tabbed-git/files/config.h +++ b/srcpkgs/tabbed-git/files/config.h @@ -2,10 +2,10 @@ /* appearance */ static const char font[] = "-*-*-medium-*-*-*-14-*-*-*-*-*-*-*"; -static const char normbgcolor[] = "#222222"; -static const char normfgcolor[] = "#cccccc"; -static const char selbgcolor[] = "#555555"; -static const char selfgcolor[] = "#ffffff"; +static const char* normbgcolor = "#222222"; +static const char* normfgcolor = "#cccccc"; +static const char* selbgcolor = "#555555"; +static const char* selfgcolor = "#ffffff"; static const char before[] = "<"; static const char after[] = ">"; static const int tabwidth = 200; @@ -19,11 +19,20 @@ static const Bool foreground = True; static int newposition = 0; static Bool npisrelative = False; +#define SETPROP(p) { \ + .v = (char *[]){ "/bin/sh", "-c", \ + "prop=\"`xwininfo -children -id $1 | grep '^ 0x' | sed -e's@^ *\\(0x[0-9a-f]*\\) \"\\([^\"]*\\)\".*@\\1 \\2@' | xargs -0 printf %b | dmenu -l 10`\" &&" \ + "xprop -id $1 -f $0 8s -set $0 \"$prop\"", \ + p, winid, NULL \ + } \ +} + #define MODKEY ControlMask static Key keys[] = { \ /* modifier key function argument */ { MODKEY|ShiftMask, XK_Return, focusonce, { 0 } }, { MODKEY|ShiftMask, XK_Return, spawn, { 0 } }, + { MODKEY, XK_t, spawn, SETPROP("_TABBED_SELECT_TAB") }, { MODKEY|ShiftMask, XK_l, rotate, { .i = +1 } }, { MODKEY|ShiftMask, XK_h, rotate, { .i = -1 } }, diff --git a/srcpkgs/tabbed-git/template b/srcpkgs/tabbed-git/template index f0286b91f74..6d9890c65b1 100644 --- a/srcpkgs/tabbed-git/template +++ b/srcpkgs/tabbed-git/template @@ -1,6 +1,6 @@ # Template file for 'tabbed-git' pkgname=tabbed-git -version=20131104 +version=20131221 revision=1 makedepends="libX11-devel" short_desc="Simple generic tabbed fronted to xembed aware applications"