[Solved] nmaster patch for DWM

Hello all!
I was using a very stock version of DWM. Now I want to get my hands dirty and customize it more.
I downloaded the nmaster.c patch off of the official dwm website. I then made the changes to the config.h as directed by the website. I then placed the nmaster.c file in the same directory as the other dwm files. However, I try to compile it with makepkg -i --skipinteg and I get this:
==> Making package: dwm 5.8.2-2 (Wed Aug 11 18:12:03 CDT 2010)
==> Checking Runtime Dependencies...
==> Checking Buildtime Dependencies...
==> Retrieving Sources...
-> Found dwm-5.8.2.tar.gz
-> Found config.h
-> Found dwm.desktop
==> WARNING: Skipping integrity checks.
==> Extracting Sources...
-> Extracting dwm-5.8.2.tar.gz with bsdtar
==> Removing existing pkg/ directory...
==> Entering fakeroot environment...
==> Starting build()...
dwm build options:
CFLAGS = -march=x86-64 -mtune=generic -O2 -pipe -g -std=c99 -pedantic -Wall -O0 -I. -I/usr/include -I/usr/include/X11 -DVERSION="5.8.2" -DXINERAMA
LDFLAGS = -Wl,--hash-style=gnu -Wl,--as-needed -g -L/usr/lib -lc -L/usr/lib/X11 -lX11 -L/usr/lib/X11 -lXinerama
CC = cc
CC dwm.c
In file included from dwm.c:279:0:
config.h:17:21: fatal error: nmaster.c: No such file or directory
compilation terminated.
make: *** [dwm.o] Error 1
Aborting...
What am I doing wrong?

Wow, I put it in the wrong directory... 1 folder too high
Here's my config.h http://pastebin.com/6K1wMTZz
When I try to compile now, I get this error:
In file included from config.h:17:0,
from dwm.c:279:
nmaster.c: In function 'incnmaster':
nmaster.c:23:2: error: too few arguments to function 'arrange'
dwm.c:157:13: note: declared here
nmaster.c: In function 'setnmaster':
nmaster.c:31:2: error: too few arguments to function 'arrange'
dwm.c:157:13: note: declared here
make: *** [dwm.o] Error 1

Similar Messages

  • [SOLVED] Error compiling systray patch for dwm 6.0

    Hello folks.
    This is makepkg's output.
    ┌─[parazyd][archbox][~/dwm]
    └──╼ makepkg -ef
    ==> Making package: dwm 6.0-1 (Wed Nov 19 17:33:05 CET 2014)
    ==> Checking runtime dependencies...
    ==> Checking buildtime dependencies...
    ==> WARNING: Using existing src/ tree
    ==> Removing existing pkg/ directory...
    ==> Starting build()...
    dwm build options:
    CFLAGS = -std=c99 -pedantic -Wall -Os -I. -I/usr/include -I/usr/include/X11 -D_FORTIFY_SOURCE=2 -DVERSION="6.0" -DXINERAMA
    LDFLAGS = -s -L/usr/lib -lc -L/usr/lib/X11 -lX11 -L/usr/lib/X11 -lXinerama
    CC = cc
    CC dwm.c
    In file included from dwm.c:329:0:
    config.h:67:1: warning: initialization from incompatible pointer type
    static const char *scratchpadcmd[] = { termcmd, "-title", scratchpadname, "-geometry", "150x40", NULL };
    ^
    config.h:67:1: warning: (near initialization for ‘scratchpadcmd[0]’)
    dwm.c: In function ‘cleanup’:
    dwm.c:551:5: error: ‘showsystray’ undeclared (first use in this function)
    if(showsystray) {
    ^
    dwm.c:551:5: note: each undeclared identifier is reported only once for each function it appears in
    dwm.c: In function ‘clientmessage’:
    dwm.c:593:5: error: ‘showsystray’ undeclared (first use in this function)
    if(showsystray && cme->window == systray->win && cme->message_type == netatom[NetSystemTrayOP]) {
    ^
    dwm.c: In function ‘drawbar’:
    dwm.c:866:6: error: ‘showsystray’ undeclared (first use in this function)
    if(showsystray && m == selmon)
    ^
    dwm.c: In function ‘getsystraywidth’:
    dwm.c:1124:5: error: ‘showsystray’ undeclared (first use in this function)
    if(showsystray)
    ^
    dwm.c:1125:42: error: ‘systrayspacing’ undeclared (first use in this function)
    for(i = systray->icons; i; w += i->w + systrayspacing, i = i->next);
    ^
    dwm.c:1125:56: warning: left-hand operand of comma expression has no effect [-Wunused-value]
    for(i = systray->icons; i; w += i->w + systrayspacing, i = i->next);
    ^
    dwm.c: In function ‘keypress’:
    dwm.c:1252:2: warning: ‘XKeycodeToKeysym’ is deprecated (declared at /usr/include/X11/Xlib.h:1699) [-Wdeprecated-declarations]
    keysym = XKeycodeToKeysym(dpy, (KeyCode)ev->keycode, 0);
    ^
    dwm.c: In function ‘removesystrayicon’:
    dwm.c:1541:6: error: ‘showsystray’ undeclared (first use in this function)
    if(!showsystray || !i)
    ^
    dwm.c: In function ‘resizebarwin’:
    dwm.c:1560:5: error: ‘showsystray’ undeclared (first use in this function)
    if(showsystray && m == selmon)
    ^
    dwm.c: In function ‘togglebar’:
    dwm.c:1996:5: error: ‘showsystray’ undeclared (first use in this function)
    if(showsystray) {
    ^
    dwm.c: In function ‘updatebars’:
    dwm.c:2130:6: error: ‘showsystray’ undeclared (first use in this function)
    if(showsystray && m == selmon)
    ^
    dwm.c: In function ‘updatesystrayiconstate’:
    dwm.c:2343:6: error: ‘showsystray’ undeclared (first use in this function)
    if(!showsystray || !i || ev->atom != xatom[XembedInfo] ||
    ^
    dwm.c: In function ‘updatesystray’:
    dwm.c:2372:6: error: ‘showsystray’ undeclared (first use in this function)
    if(!showsystray)
    ^
    dwm.c:2378:79: error: ‘DC’ has no member named ‘sel’
    systray->win = XCreateSimpleWindow(dpy, root, x, selmon->by, w, bh, 0, 0, dc.sel[ColBG]);
    ^
    dwm.c:2382:28: error: ‘DC’ has no member named ‘norm’
    wa.background_pixel = dc.norm[ColBG];
    ^
    dwm.c:2402:8: error: ‘systrayspacing’ undeclared (first use in this function)
    w += systrayspacing;
    ^
    dwm.c: In function ‘wintosystrayicon’:
    dwm.c:2509:6: error: ‘showsystray’ undeclared (first use in this function)
    if(!showsystray || !w)
    ^
    Makefile:18: recipe for target 'dwm.o' failed
    make: *** [dwm.o] Error 1
    ==> ERROR: A failure occurred in build().
    Aborting...
    I'm trying to apply systray to my dwm-6.0, but I get errors when compiling and I'm not exactly sure what's the problem. Could anyone help?
    Here's the dwm.c after applying the patch: http://pastebin.com/Aie3Uw0n
    This is my dwm.c prior to patching (this one works): http://pastebin.com/ra0NhGnV
    And here's Unia's patch I'm trying to use: https://github.com/Unia/dwm-patches/blo … stray.diff
    Any help would be kindly appreciated.
    -- mod note: split from https://bbs.archlinux.org/viewtopic.php?id=92895&p=28 - Trilby --
    Last edited by parazyd (2014-11-19 17:03:03)

    Thanks a lot for that. Now I seem to be stuck on another thing :-/
    I have no idea what to do...
    ==> Making package: dwm 6.0-1 (Wed Nov 19 17:39:04 CET 2014)
    ==> Checking runtime dependencies...
    ==> Checking buildtime dependencies...
    ==> WARNING: Using existing src/ tree
    ==> Removing existing pkg/ directory...
    ==> Starting build()...
    dwm build options:
    CFLAGS = -std=c99 -pedantic -Wall -Os -I. -I/usr/include -I/usr/include/X11 -D_FORTIFY_SOURCE=2 -DVERSION="6.0" -DXINERAMA
    LDFLAGS = -s -L/usr/lib -lc -L/usr/lib/X11 -lX11 -L/usr/lib/X11 -lXinerama
    CC = cc
    CC dwm.c
    In file included from dwm.c:329:0:
    config.h:25:7: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘const’
    tatic const unsigned int systraypinning = 0; /* 0: sloppy systray follows selected monitor, >0: pin systray to monitor X */
    ^
    In file included from dwm.c:329:0:
    config.h:71:1: warning: initialization from incompatible pointer type
    static const char *scratchpadcmd[] = { termcmd, "-title", scratchpadname, "-geometry", "150x40", NULL };
    ^
    config.h:71:1: warning: (near initialization for ‘scratchpadcmd[0]’)
    dwm.c: In function ‘keypress’:
    dwm.c:1252:2: warning: ‘XKeycodeToKeysym’ is deprecated (declared at /usr/include/X11/Xlib.h:1699) [-Wdeprecated-declarations]
    keysym = XKeycodeToKeysym(dpy, (KeyCode)ev->keycode, 0);
    ^
    dwm.c: In function ‘updatesystray’:
    dwm.c:2378:79: error: ‘DC’ has no member named ‘sel’
    systray->win = XCreateSimpleWindow(dpy, root, x, selmon->by, w, bh, 0, 0, dc.sel[ColBG]);
    ^
    dwm.c:2382:28: error: ‘DC’ has no member named ‘norm’
    wa.background_pixel = dc.norm[ColBG];
    ^
    Makefile:18: recipe for target 'dwm.o' failed
    make: *** [dwm.o] Error 1
    ==> ERROR: A failure occurred in build().
    Aborting...

  • Patch for modbin6-1.00.38.exe is out.. "2MBIOS.BIN can't open!" Solved.

    Hi mates,
    ive decide to make a patch for modbin6 1.00.38 to improve stability and minise risk of modding the BIOS. for users which is reading this post if never heard about MODBIN better avoid reading below. its nice program for basic BIOS mod, simple to use, but very danger in the same time couse mess with BIOS and inproperty using may couse disaster. im not gona advert or to invite persons to use it. just wana make this program to be used normally to bring stability and minise risk of making corrupted BIOSes.. for persons which is already using it and have experience with him or with person Enthu which is wana try it and they dont worry if mobo may caouse for trash. there is 2 reasons to making this patch.
       1. couse sometimes im using it there is features on it wchich gives basic stuffs, unlocking hidden features locked by manifacturer(sometimes really usefull especially for DIMM Vcore..). so there is a nasty bug on it which gona explain later. most of persons who is using MODBIN know about it. so that patch will spend me alot of time and minimise risk of mistake during avoiding bug couse operation need several procedure and automatised will risk free and much fastern.
       2. to bring ability for most stable operations to persons which is already using it when need.
    but lets talk about the patch. everyone know that nasty issue with MODBIN(made it by Borg N1,part from his collection). bug is program wont safe BIOS file  and quiting with Abnormal program termination.... gives this one message: !!!File
    2MBIOS.BIN can't open!Thanks for using ModBin6 1.00.38  how nice ...
    here is Borg N1 advices:
    Quote from: Borg Number One on 16-July-05, 05:24:51
    Hi.
    It is a kind of sad fact that many users just know how to use the mouse and keyboard. 
    Well, you have to configure your config.sys (Win9x/ME) or config.nt to run MODBIN6
    (e.g. MODBIN6 2.01.01 (06/25))
    in Windows prompt/console without problems.
    The " FILES " & " BUFFERS " values are the important values.
    http://www.xtremesystems.org/forums/showthread.php?t=45538
    http://www.xtremesystems.org/forums/showthread.php?t=63210&highlight=config.nt
    +++ BNOBTC & BNOBLG +++
    http://bnobtc.pix-art.com
    Borg advices is good but unfortuanly doesnt fix that bug... seems author dont have much idea why this is happend...error is constant ... Pure DOS also can't help... i wana add few more tips to the Borg's ones to improve stability when using  modbin, after that will talking about patch.
    TIP: navigate to this folder and open config.nt file:  %SystemRoot%\system32\config.nt
    at the end of file add this ones:
    dos=high, umb
    device=%SystemRoot%\system32\himem.sys /CPUCLOCK:ON /HMAMIN=64
    FILES=40
    BUFFERS=40
    STACKS=9,256            -----> Preserving 039A-045Eh   3,152   Sys  039Ah Stacks, 0552h DOSX
    Also MODBIN doesnt work well with long filenames.... etc "document and settings\my profile\desktp\modblabla" if not gona work property and there is a big chance of failure will load but after saving will have problems to update BIOS "core"(original.tmp) so always use 8.3 syntax standart .... best way from root directory make subdir whcih name to no NOT exceed 8 symbols... etc C:\123,C:\MYFLASH,C:\ROFL
    without TIPs it is really big gamble with BIOS....
    Aslo that will prevent Stack Overflow error when BIOS is loading....
    NOTE: To activate changes just quit from any DOS interpretators like(4nt,command.com,cmd and so on). and re-run it. Reboot OS is not requred.
    here how to do:
    Also when executing MODBIN put below executable file this ones without quotes "loadfix forcedos modbin6-1.00.38.exe"
    and ofcourse nasty error is waiting us... "2MBIOS.BIN can't open!Thanks for using ModBin6 1.00.38"
    Patch which iv maked gona RIP this error forever.
    Download: modbin6_1.00.38
    Download: MODBINPATCH
    What patch need? and how to use it? I named patch "Dynamic Patch for modbin" Couse isnt make modification on MODBIN program but momory his parent process when is loaded into memory.
    tips suggested below is recommended but not nesecery for the patch.. patch need MODBIN and your BIOS file (modbin6-1.00.38.exe and mybios.bin) to be copied to systemroot drive(usually C) in folder MSI etc put modbin6-1.00.38.exe and mybios.bin(BIOS which you gona mod) to C:\MSI
    Patch make checking if folder doesnt match will not continue....
    How to use it..... Copy modbin6-1.00.38.exe and mybios.bin to C:\MSI, then from command prompt navigate to C:\MSI and execute "loadfix forcedos modbin6-1.00.38.exe" after that load your BIOS file... when loading is complete navigate to your patch folder and execute patchMSI.exe.... takes 10 seconds to complete after that make active "white" window and enter "Q" then hit ENTER key both windows will be closed, after that return to your modbin window, make what you gona make and save BIOS file like normal procedure... Method is founded and tested by me from years below never let me down(never brings corrupted BIOS), but just today ive made patch couse was too lazy... also Borg's MODBIN can work with most of all chipsets which is using AWARD Modular based... NOTE: K9 isnt tested. the most of here you can view how exacly to do it and differents with and without patch:
    here is one more think some time maybe usefull from me:D
    Here is 1st little short trick:(no analog anywhere, like patch only here can be found if accepted):
    How to reset BIOS if you have nothink? Examples if you are administrator/PC-support or any and must fix same PC but the BIOS has an password?! And you dont have permision to open Case to reset CMOS(couse PC has an sticker with Warantly (and removing that sticker couse lost pc warrantly) You need access to BIOS to re-check,configure somethink there but its password protected. anyway there could be many situation. what we need? nothink special just bootable DOS(or analog- PC-DOS or whatever,doesnt matter where will boot(cd,flash disk,hdd)), no extended commands.[io.sys(jo.sys),command.com] - files requred to boot Here we go:
    boot from desired device.when you see command prompt etc.: "A:\,C:\"
    We will write a program without any languich..directly in PC code..(without compilator), direct in machine code.
    write this:
    copy con ffs.com|ffs          *comment None
    176.230p144144230q195     *comment Hold "ALT" and write number
    ^Z                                  *comment "CTRL+Z" then hit "Enter"
    Explain:
    copy(internal command)
    con (command line switch)
    ^Z (CTRL+Z)
    NOTE: Numbers in second line must be written with holdon "ALT" key and specified numbers.(ASCI Code). Non numbers symbols is normal keyboard selection. on input display should look like:
    copy con ffs.com|ffs                   
    ░.цpРРцq├                                 
    ^Z                                           
    Program is 9 bytes long... (simple but high effective)
    Thats it.Reboot Computer... password is gone. CMOS is reseted to default values. Tested on Award 4.0,6.0, AMI BIOS. Break all..
    and finaly again:
    **To All readers of this thread: Please note that this thread is with regards to Self-Modding BIOS and are of NO Official Testings from MSI. MSI will not be responsible for ANY Damage caused from requesting these self modded BIOSes! Please mind that you'll ONLY request and flash AT YOUR OWN RISK!!!** also MODBIN Author(Borg N1) and me is dont are NOT  responsible for ANY Damage caused by MODBIN or Add On Patch. (i didnt think there is risk exit must must said that warning....couse playing with BIOS is always risky). Happy Tweaking. 

    Well, I was wondering if the system not allowing the tty to change ownership -- but root also has the problem.
    You might try checking which shell is set for your users in /etc/passwd, and then check that the shell really exists at the specified path, and that it is executable.  You might also check that the home directory for you users (also specified in /etc/passwd) is mounted and your user has the appropriate rights to that directory.
    Other than that, I am running out of altitude, airspeed and ideas all at the same time.  There was one thing in your trace I did not understand.  Why is your system looking to the floppy drive?  I wonder if that is contributing to the problem.

  • [SOLVED]Need help with dwm...

    Hi,
    I need help with dwm.I want to apply only 2 patches but everytime when i try i get error... I need xft or pango patch and systray patch.Please help.
    Thanks.
    Last edited by grobar87 (2013-06-01 13:49:55)

    [dejan@archtop dwm-6.0]$ patch < 00-dwm-6.0-buildflags.diff
    patching file config.mk
    [dejan@archtop dwm-6.0]$ patch < dwm-6.0-xft.diff
    patching file dwm.c
    [dejan@archtop dwm-6.0]$ patch < 02-dwm-6.0-systray.diff
    patching file dwm.c
    [dejan@archtop dwm-6.0]$ sudo make clean install
    [sudo] password for dejan:
    cleaning
    dwm build options:
    CFLAGS = -std=c99 -pedantic -Wall -Os -I. -I/usr/include -I/usr/X11R6/include -I/usr/include/freetype2 -DVERSION="6.0" -DXINERAMA -DXFT
    LDFLAGS = -s -L/usr/lib -lc -L/usr/X11R6/lib -lX11 -L/usr/X11R6/lib -lXinerama -L/usr/X11R6/lib -lXft
    CC = cc
    creating config.h from config.def.h
    CC dwm.c
    dwm.c: In function ‘keypress’:
    dwm.c:1062:2: warning: ‘XKeycodeToKeysym’ is deprecated (declared at /usr/include/X11/Xlib.h:1695) [-Wdeprecated-declarations]
    CC -o dwm
    installing executable file to /usr/local/bin
    installing manual page to /usr/local/share/man/man1
    [dejan@archtop dwm-6.0]$
    And here is my config.h:
    /* See LICENSE file for copyright and license details. */
    /* appearance */
    static const char font[] = "Ohsnap";
    static const char normbordercolor[] = "#444444";
    static const char normbgcolor[] = "#222222";
    static const char normfgcolor[] = "#bbbbbb";
    static const char selbordercolor[] = "#005577";
    static const char selbgcolor[] = "#005577";
    static const char selfgcolor[] = "#eeeeee";
    static const unsigned int borderpx = 1; /* border pixel of windows */
    static const unsigned int snap = 32; /* snap pixel */
    static const unsigned int systrayspacing = 2; /* systray spacing */
    static const Bool showsystray = True; /* False means no systray */
    static const Bool showbar = True; /* False means no bar */
    static const Bool topbar = True; /* False means bottom bar */
    /* tagging */
    static const char *tags[] = { "1", "2", "3", "4", "5", "6", "7", "8", "9" };
    static const Rule rules[] = {
    /* class instance title tags mask isfloating monitor */
    { "Gimp", NULL, NULL, 0, True, -1 },
    { "Firefox", NULL, NULL, 1 << 8, False, -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 Layout layouts[] = {
    /* symbol arrange function */
    { "[]=", tile }, /* first entry is default */
    { "><>", NULL }, /* no layout function means floating behavior */
    { "[M]", monocle },
    /* key definitions */
    #define MODKEY Mod1Mask
    #define TAGKEYS(KEY,TAG) \
    { MODKEY, KEY, view, {.ui = 1 << TAG} }, \
    { MODKEY|ControlMask, KEY, toggleview, {.ui = 1 << TAG} }, \
    { MODKEY|ShiftMask, KEY, tag, {.ui = 1 << TAG} }, \
    { MODKEY|ControlMask|ShiftMask, KEY, toggletag, {.ui = 1 << TAG} },
    /* helper for spawning shell commands in the pre dwm-5.0 fashion */
    #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 Key keys[] = {
    /* modifier key function argument */
    { MODKEY, XK_p, spawn, {.v = dmenucmd } },
    { MODKEY|ShiftMask, XK_Return, spawn, {.v = termcmd } },
    { MODKEY, XK_b, togglebar, {0} },
    { MODKEY, XK_j, focusstack, {.i = +1 } },
    { MODKEY, XK_k, focusstack, {.i = -1 } },
    { MODKEY, XK_i, incnmaster, {.i = +1 } },
    { MODKEY, XK_d, incnmaster, {.i = -1 } },
    { MODKEY, XK_h, setmfact, {.f = -0.05} },
    { MODKEY, XK_l, setmfact, {.f = +0.05} },
    { MODKEY, XK_Return, zoom, {0} },
    { MODKEY, XK_Tab, view, {0} },
    { MODKEY|ShiftMask, XK_c, killclient, {0} },
    { MODKEY, XK_t, setlayout, {.v = &layouts[0]} },
    { MODKEY, XK_f, setlayout, {.v = &layouts[1]} },
    { MODKEY, XK_m, setlayout, {.v = &layouts[2]} },
    { MODKEY, XK_space, setlayout, {0} },
    { MODKEY|ShiftMask, XK_space, togglefloating, {0} },
    { MODKEY, XK_0, view, {.ui = ~0 } },
    { MODKEY|ShiftMask, XK_0, tag, {.ui = ~0 } },
    { MODKEY, XK_comma, focusmon, {.i = -1 } },
    { MODKEY, XK_period, focusmon, {.i = +1 } },
    { MODKEY|ShiftMask, XK_comma, tagmon, {.i = -1 } },
    { MODKEY|ShiftMask, XK_period, tagmon, {.i = +1 } },
    TAGKEYS( XK_1, 0)
    TAGKEYS( XK_2, 1)
    TAGKEYS( XK_3, 2)
    TAGKEYS( XK_4, 3)
    TAGKEYS( XK_5, 4)
    TAGKEYS( XK_6, 5)
    TAGKEYS( XK_7, 6)
    TAGKEYS( XK_8, 7)
    TAGKEYS( XK_9, 8)
    { MODKEY|ShiftMask, XK_q, quit, {0} },
    /* button definitions */
    /* click can be ClkLtSymbol, ClkStatusText, ClkWinTitle, ClkClientWin, or ClkRootWin */
    static Button buttons[] = {
    /* click event mask button function argument */
    { ClkLtSymbol, 0, Button1, setlayout, {0} },
    { ClkLtSymbol, 0, Button3, setlayout, {.v = &layouts[2]} },
    { ClkWinTitle, 0, Button2, zoom, {0} },
    { ClkStatusText, 0, Button2, spawn, {.v = termcmd } },
    { ClkClientWin, MODKEY, Button1, movemouse, {0} },
    { ClkClientWin, MODKEY, Button2, togglefloating, {0} },
    { ClkClientWin, MODKEY, Button3, resizemouse, {0} },
    { ClkTagBar, 0, Button1, view, {0} },
    { ClkTagBar, 0, Button3, toggleview, {0} },
    { ClkTagBar, MODKEY, Button1, tag, {0} },
    { ClkTagBar, MODKEY, Button3, toggletag, {0} },

  • Deskjet 710/720/810/820/1000 Series printers - Patch for 64 bit Vista and Windows 7

    There is an issue with the 64 bit Vista, Windows 7 and Windows 8 or 8.1 drivers that causes the spooler to crash with the following HP Deskjet printers:
    Deskjet 710    
    Deskjet 712 
    Deskjet 720 
    Deskjet 722 
    Deskjet 810 
    Deskjet 812 
    Deskjet 820 
    Deskjet 822 
    Deskjet 1000 
    The attached file contains a patch for this issue for Vista and Windows 7.
    [The patch does not currently work for Windows 8 or 8.1 x64 systems.  There are some efforts to address this, if a solution is developed it will be posted here.  {Edit - I have not made any progress in getting the patch to work in Windows 8 x64.}]  
    First make sure the driver for the printer is installed.  If the driver has not been installed go to Start, Devices and Printers, Add a Printer, Local Printer, choose the proper port (for USB-Parallel converters the port will likely be USB001: or perhaps USB002: ), Next, click Windows Update then choose HP for the manufacturer and select the appropriate printer.   
    Apply the patch as follows: Log into the computer with an administrative account.  Download the patch by clicking on this link or on the paper clip at the end of this post.  Save the patch file to your computer, then unzip it.  Next copy the three DLL files to the following directory:  %windir%\system32\spool\drivers\x64\3   
    Note that %windir% is a system variable that points to the location of the Windows directory. For most systems this will be C:\Windows.  You can click Start, Computer and type %windir%\system32\spool\drivers\x64\3 in the address bar and it will find the right place.
    This can be done from a DOS prompt if DOS is opened with the "run as administrator" command, or from explorer with a copy and paste.  Depending on your UAC settings you may need to provide confirmation.  Also allow the current files to be overwritten if prompted.
    This patch is not required and should not applied to a 32 bit version of Vista or Windows 7.
    Thanks to extraordinary Microsoft engineer Alan Morris for guidance for the patch.
    Update - the following are more detailed installation instructions:
    Download the patch from here. Now click on the file and open it, then extract the patch to some directory that is easy to find. (I use c:\temp. If this directory does not exist you can create it as follows: open the administrative DOS prompt by clicking on Start, All Programs, Accessories, then right click on CMD.EXE and select Run as Administrator. Click in the DOS box then type the following:
    MD c:\temp
    CD \temp
    Now extract the patch files into the c:\temp directory (extract all, chose c:\temp as the destination).
    [Update - Windows security settings may prevent these files from being used, please open Computer, type c:\temp in the address bar and then right click on each of the dll files and select Properties.  If there is a message in Properties indicating the file was downloaded from the internet and may be blocked then unblock the file before proceeding.]
    Next click back in the administrative DOS prompt and type the following: (stuff in green is comments, do not type them...)
    DIR *.dll (this is just to verify the files are there, it should list hpvdb720.dll, hpvdb820.dll and hpwm5db1.dll and perhaps others.)
    Net stop spooler (makes sure the files are not in use.)
    Copy  hpvdb720.dll  C:\windows\system32\spool\drivers\x64\3 (this is for the Deskjet 710/712/720/722)
    Copy  hpvdb820.dll  c:\windows\system32\spool\drivers\x64\3 (this covers the Deskjet 820 and 822)
    Copy  hpwm5db1.dll  c:\windows\system32\spool\drivers\x64\3(this covers the Deskjet 1000)
    Net Start Spooler
    Exit
    [Edit - note that these DLL files will already be in the directory.  You will get a warning asking if it is OK to overwrite the files, say "yes".]
    At this point the patch is installed and ready to print.
    Note that the printers here do not support USB connections, they have only parallel ports. [Edit - if your printer does have a parallel port use it, this will likely be much less problematic than using a USB-Parallel converter.]   If you use a USB-parallel converter make sure it is supported in your operating system.  The following posts are flagged with USB-parallel cables that are reported to work in Windows 7.   A driver is required for the USB-parallel converter in addition to the driver for the printer.  For supported converters this is typically supplied automatically in Windows 7.  Note:  the proper port to select for the USB-Parallel converters is often USB001:.  I have heard of some cases where the port was USB002: or LPT3: as well.  If the port you are using does not succeed (after applying the patch) try changing the port by going to Start, Devices and Printers, right click on your printer and select Printer Properties, then click on the Ports tab.
    Bob Headrick,  HP Expert
    I am not an employee of HP, I am a volunteer posting here on my own time.
    If your problem is solved please click the "Accept as Solution" button ------------V
    If my answer was helpful please click the "Thumbs Up" to say "Thank You"--V
    This question was solved.
    View Solution.
    Attachments:
    DJ_Patch.zip ‏34 KB

    Just want to send a thanks.  Purchased a new HP computer with 64 bit Windows 7 and haven't been able to get my 722c to work. This patch worked like a charm!

  • Navigation problems in IE7 after installing "BI AddOn Patch for GUI 7.10"

    Hi,
    I am having the following problem:
    After installing the BI AddOn Patch for GUI 7.10 (bi710sp07p_701-10004472.exe), Internet Explorer is not behaving normally anymore.
    The problem is as follows: When I click on a link with the CTRL-key pressed, then IE7 will open the link in a new tab. However the page does not load anymore in the new tab, the contents will stay empty even though correct address is shown address bar.
    The same will happen with pop-ups, so pop-up will appear, but it will not load, page stays white.
    When I uninstall the patch then IE7 will work fine again.
    For clarity, I am not talking about BEx web reporting here (because we only use BEx Analyzer). The problem occurs when accessing normal webpages like Google (the problem does not depend on the website that was selected).
    Anyone have any ideas how to solve this problem?

    Also having the same issue doing a full patch upgrade
    As a local Admin install the patches in the following order.
    1.     bi710sp12p_1201-10004472.exe
    2.     bw350gui710_8-10004473.exe
    3.     gui710_17-10002995.exe
    Getting a number of issues IE7+8 new tabs not working JRE stopped working and issues with excel (3 occasions)
    Tried changing the order of the patches and doing full uninstall of sap followed by re-install of sap but the only thing which seems to work is un-install of IE, JRE and Excel then re-install. As you can imagine not very popular.
    were going to try out the latest Bex7 1300 patch will let you know how its going
    Jon
    Edited by: Jon Hoare on Aug 27, 2010 9:38 AM

  • [svn] 4610: Commit Josh's patch for 3. x to fix bug SDK-17367 which works around an issue with Dictionary that stops ObjectUtil .toString() working with QNames.

    Revision: 4610
    Author: [email protected]
    Date: 2009-01-21 12:48:01 -0800 (Wed, 21 Jan 2009)
    Log Message:
    Commit Josh's patch for 3.x to fix bug SDK-17367 which works around an issue with Dictionary that stops ObjectUtil.toString() working with QNames.
    QE: Yes, please add a test case to ObjectUtil tests for this scenario.
    Doc: No
    Checkintests: Pass
    Bugs:
    SDK-17367 ObjectUtil.toString(QName) causes RTE
    Ticket Links:
    http://bugs.adobe.com/jira/browse/SDK-17367
    http://bugs.adobe.com/jira/browse/SDK-17367
    Modified Paths:
    flex/sdk/branches/3.x/frameworks/projects/framework/src/mx/utils/ObjectUtil.as

    VPN-User,
    Ok - I see the list of issues and will ensure our X300 specialist takes a look at it.   
    Please do understand that while you have put together a very coherent list, I try to ensure priority to threads in which multiple customers are focused on a single issue, as we deliver the most benefit to the community in working on those.   This forum is primarly a peer to peer discussion forum rather than a Lenovo chat / tech support where we try to solve each and every issue put forth.
    Individuals with a long list of issues on a particular machine may find benefit from either contacting technical support and working through their list, or publishing it as you have done and wait for other users of the same system to share their experiences.
    Thanks for your patience
    Mark
    ThinkPads: S30, T43, X60t, X1, W700ds, IdeaPad Y710, IdeaCentre: A300, IdeaPad K1
    Mark Hopkins
    Program Manager, Lenovo Social Media (Services)
    twitter @lenovoforums
    English Community   Deutsche Community   Comunidad en Español   Русскоязычное Сообщество

  • Vista/Wind​ows 7 Duplex Patch for Officejet 7210 7310 7410 and Photosmart 2610 2710

    Some printer model with automatic duplexers do not properly print the back page in Vista (or in Windows 7 if updated from Vista).   In these models the back side is printed updside down regardless of the driver settings.
    The attached zip file has a patch and instructions to correct this issue for the following printers:
    Officejet 7210
    Officejet 7310
    Officejet 7410
    Officejet L7300
    Photosmart 2610
    Photosmart 2710
    Patches for other models may be available here.
    This patch has been well tested, with over 1800 copies of this patch distributed via email since April 2007.
    The zip file has two files
    OJ7410.pdf     contains detailed instructions to apply the patch.  Opening this file requires Adobe Reader or a similar pdf viewer, available for free download.
    hpo7x00t.gpd  is the actual patch file.
    To apply the patch download the zip file attached here.  Extract the files into the %temp% directory, then open the OJ7410.pdf file and follow the instructions.  If you have difficulty finding the %temp% directory you can find this directory by opening your "computer" folder and typing %temp% in the address bar.
    Bob Headrick,  HP Expert
    I am not an employee of HP, I am a volunteer posting here on my own time.
    If your problem is solved please click the "Accept as Solution" button ------------V
    If my answer was helpful please click the "Thumbs Up" to say "Thank You"--V
    This question was solved.
    View Solution.
    Attachments:
    Officejet 7410 Vista Duplex Patch.zip ‏427 KB

    [Placeholder for updates]
    Message Edited by Bob_Headrick on 05-14-2009 12:39 PM
    Bob Headrick,  HP Expert
    I am not an employee of HP, I am a volunteer posting here on my own time.
    If your problem is solved please click the "Accept as Solution" button ------------V
    If my answer was helpful please click the "Thumbs Up" to say "Thank You"--V

  • Statinator4k, status tool in C (not only for dwm)

    Gathers cpu, cpu temp (with acpi), ram, net, wifi, battery, cpu clock and date/time info as well as notifications. Outputs either on stdout or as root window title (for dwm). Output formats for dwm, dwm with colostatusbar patch, dwm-sprinkles and HTML are provided (html is WIP) and relatively easy to create. MPD, acpi thermal and lm_sensors thermal support is planned.
    Im open for more ideas what (and how) to monitor or to output to or how to format, even more so for patches.
    The Project is based on this one: http://www.mail-archive.com/dwm@suckles … 06122.html
    Here is the svn:
    https://svn.0mark.unserver.de/statinator4k/
    and a Bug tracker:
    http://0mark.unserver.de/flyspray/index.php?project=6
    *edit:* renamed from dstat to statinator4k, because its more cool(TM) and dstat was used by some other stuff
    Last edited by 0mark (2011-07-01 18:50:26)

    I got this error when I try to compile it with dwm_colorbar:
    statinator4k build options:
    CFLAGS = -std=c99 -pedantic -Wall -Os -I. -I/usr/include -I/usr/X11R6/include -I/usr/include/dbus-1.0 -I/usr/lib/dbus-1.0/include -DVERSION="20.1" -DUSE_X11 -DUSE_SOCKETS -DUSE_NOTIFY -DUSE_ALSAVOL -DFORMAT_METHOD="formats_dwm_colorbar.h"
    LDFLAGS = -L/usr/lib -lc -L/usr/X11R6/lib -lX11 -ldbus-1 -lasound
    CC = cc
    CC s4k.c
    s4k.c: In function ‘get_brightness’:
    s4k.c:614:2: warning: implicit declaration of function ‘brightness_format’ [-Wimplicit-function-declaration]
    CC notify.c
    CC -o s4k
    s4k.o: In function `get_brightness':
    s4k.c:(.text+0x1886): undefined reference to `brightness_format'
    collect2: error: ld returned 1 exit status
    make: *** [s4k] Error 1
    zsh: exit 2 make
    And with clang compiler:
    statinator4k build options:
    CFLAGS = -std=c99 -pedantic -Wall -Os -I. -I/usr/include -I/usr/X11R6/include -I/usr/include/dbus-1.0 -I/usr/lib/dbus-1.0/include -DVERSION="20.1" -DUSE_X11 -DUSE_SOCKETS -DUSE_NOTIFY -DUSE_ALSAVOL -DFORMAT_METHOD="formats_dwm_colorbar.h"
    LDFLAGS = -L/usr/lib -lc -L/usr/X11R6/lib -lX11 -ldbus-1 -lasound
    CC = clang
    CC s4k.c
    s4k.c:529:30: warning: comparison of unsigned expression < 0 is always false [-Wtautological-compare]
    if(battery_stats[i].rate < 0) battery_stats[i].rate=1;
    ~~~~~~~~~~~~~~~~~~~~~ ^ ~
    s4k.c:614:2: warning: implicit declaration of function 'brightness_format' is invalid in C99 [-Wimplicit-function-declaration]
    brightness_format(status);
    ^
    2 warnings generated.
    CC notify.c
    CC -o s4k
    s4k.o:s4k.c:function get_brightness: error: undefined reference to 'brightness_format'
    clang: error: linker command failed with exit code 1 (use -v to see invocation)
    make: *** [s4k] Error 1
    zsh: exit 2 make
    And compiling it with dwm_sprinkless works fine.

  • Any updates and/or patches for Aperture 3.2?

    Just wondering if there are any updates and/or patches for Aperture 3.2. Especially for "Detect Edges" mode.

    Hi
    I don't know if it solves your problem, but version 3.2.1 has been released on last Thursday. You could update and try it.
    Regards, Michael

  • How to install patches in DWM?

    I've been trying but I can't figure out how to install patches in DWM. For instance I'm trying to install the Fancybar pathc from the DWM. I tried to do this by going to my dwm directory, run patch -p1 < ~/fancybar-r1496.diff, then rebuild DWM with makepkg -efi --skipinteg and finally restart DWM.. But it doesn't work
    What am I doing wrong?

    patroclo7 wrote:If you compile dwm, by hand, you obviously need to run plain "make clean install" and not resort to makepkg. If you want to resort to makepkg (which is in this specific case, IMOO, overkill) you can: apply the patch in the PKGBUILD itself; apply the patch by hand in $startdir/src/dwm-<version>, but then you need to use the specific option "-e", so to instruct makepkg to use the existing $startdir/src without untarring again the source tarball.
    Well, the reason I'm using PKGBUILD is because that's what the Arch Wiki says. But if make's better then I'll use that instead. How exactly do I do that?

  • Patch for PeopleSoft

    Hi,
    I learnt there is a patch for PeopleSoft database that reduces free spaces when building indexes in the database.
    Can someone please give me the link or possibly the Patch ID.
    Thanks and regards.
    Texas!

    I'm not sure to understand what you want to do, and how you are expecting indexes space saving.
    As I said earlier, after installing the patch 8.49.06 (or 07, that was several months ago, not sure exactly which one it was) and create an Oracle database, it was very less space than same install (and db creation) with PT8.49.00 (no patch).
    But since you are able to install Peopletools patch, that means you have a metalink3 access, then the easiest way would be to create a SR.
    Anyway, the patch itself won't solve the space issue without recreating database or indexes.
    Nicolas.

  • Will there ever be patches for Flash 8?

    I just wondered if Adobe intends to issue patches for Flash 8
    instead of just Flashplayer. I reported bugs over a year ago that
    were taken up as existing and have not heard a word since. Does
    anyone know what is happening?
    Brian

    Walter,
    thanks for the reply. Yes - truly irritating!
    Although some can't be classified as true "bugs" but are
    clearly usability issues.
    I can add to that list with a few of my own - i will pick
    one:
    Properties Panel, the field that displays the frame number of
    a nested animation in a Graphic
    symbol. It is only wide enough to show 2 digits, so any
    nested animations 100 frames or longer will
    not show the entire number of frames - very annoying when you
    spend a lot of time typing in frame
    numbers to control graphic symbols and nested animations.
    I have included the items from your list that are not already
    on mine and will do what i can to see
    that the next version of flash solves some of these issues.
    And yes - not having the ability to export movie clips and
    effects to video format is the biggest
    bummer for flash 8 - i knew it during the BETA and know it
    all too well now. But I haven't regarded
    it as a total loss - i choose to find work-arounds and
    thankfully www.flashants.com has a tool
    called SWF2Video - it has saved me on many flash to video
    projects that included graphics that had
    to have bitmap filtered effects.
    anyway - i appreciate your reply and if you have anymore
    gripes - send em my way please.
    -chris
    --> **Adobe Certified Expert**
    --> www.mudbubble.com
    --> www.keyframer.com
    Walter Elias wrote:
    >
    quote:
    Originally posted by:
    Newsgroup User
    >
    > What is it about Flash 8 that is not working for you?
    You haven't mentioned it
    > yet I don't think.
    >
    > ******************************************
    >
    >
    > 1)
    > I use Flash heavily to produce television animation. I
    use a TV-safe color
    > pallette which has several hundred colors. Now try this:
    add some colors to
    > your Flash color pallette. Bring it to more than 100
    colors. Then try selecting
    > a new color in the Color Mixer or clicking the color
    swatch on the Tools panel.
    > Guess what? The swatches go off the screen. There is no
    way to access any
    > swatches other than the lower 60 or so. You can't resize
    or drag that pallette
    > window. This was untrue in earlier versions of Flash. I
    can't tell you how
    > badly this slows down work for me and all my fellow
    animators. The
    > ex-macromedia tech people told me they flagged this as a
    "critical" issue.
    > Seems to me it would be simple to revert to the earlier
    methods of handling the
    > swatch windows and release a patch.
    >
    > 2) Apply timeline ActionScript to an object. Then on a
    later frame put a mask
    > on the timeline and apply it to that object. The
    ActionScript controlling the
    > object stops working. Same in reverse: if there's a mask
    that is removed, the
    > timeline AS stops working. Workaround: repeat the Action
    Script at every frame
    > where a mask starts and stops. This was also a bug in
    Flash 7. Macromedia tech
    > support worked with me for several weeks on this, and
    finally rated this to be
    > a "critical bug".
    >
    > 3) Put any movie clip on the timeline. Do not give it an
    instance name. Add a
    > keyframe later in the movie. On that later keyframe,
    give the movie clip an
    > instance name. Then put some ActionScript on the
    timeline that refers to that
    > movie clip's instance name. It won't work. You have to
    go back and apply the
    > same instance name to every instance of that movie clip
    anywhere on the
    > timeline, even before the AS appears. Otherwise it won't
    work. Can you imagine
    > the agony of having produced a complex animation with
    hundreds of keyframes,
    > only to later decide to apply a script to several movie
    clips. You have to go
    > back and apply instance names to every one of the
    hundreds of previous
    > instances of those movie clips, or the script won't
    work.
    >
    > Is that enough? Shall I continue with all the irritating
    little user interface
    > bugs? Such as the Controller window, which you used to
    be able to tuck away
    > beneath the Tools pallette, without sacrificing screen
    real estate. But now it
    > can only appear above the timeline, which means you have
    to sacrifice a bit on
    > the size of the stage. When doing animation, every pixel
    of viewable area is
    > important!
    >
    > I could go on and on. Most of the bugs I found are
    simple to fix, since most
    > of them were not bugs in Flash 7!
    >
    > To be very honest, even though I'm a designer and
    animator, I find the
    > 'graphic enhancements' in Flash 8, like the filters, to
    be mostly useless. If
    > my clients didn't require that I use Flash 8 so that I
    can send files back and
    > forth with them, I'd do like a huge number of animators
    I know and go back to
    > Flash MX (version 6), the last stable, elegant and truly
    user-friendly version
    > of Flash.
    >

  • Patch for updating Help link

    Hi,
    My requirement is that I want to know whether there is any patch to get the 'Help' option to work correctly in Forms&OAF pages. By 'work correctly', I mean , is any patch available to make the Help page open correctly?
    Now, when I click on Help link in OAF pages or Help-> Help window , sometimes I am facing the issue of:
    1) getting HTTP 404 error (An error occurred while retrieving Oracle Applications Help information.
    Help target could not be found. )
    2) the oracle applications help page opens giving us the option to search .
    Is there any way to link the help link to the correct page? I have seen, for most of the pages, help page is opening correctly.
    In some of the pages, help option is not enabled. I know 'Help' link can be enabled by personalisation but is there a patch to solve all these issues I have mentioned?

    For standard pages -> You don't need to write any code, there will be a doc patch for each module, your DBA or Oracle can help you get the exact patch number for the product you are using.
    For Custom Pages-> You would need to implement the documentation/content and use the standard procedure for deploying these to the env.
    Tapash

  • How to Add patches to dwm?

    I cp the dwm directory to my builds directory.
    I then makepkg -i and install dwm, it runs fine.  I want to compile dwm with the bottom stack patch from their website.
    I download the dwm-5.3-bstack.diff  file into my dwm directory.  I saw in another thread to add
    patch -p1 < dwm-5.3-bstack.diff || return 1
    into my package build.  I am just unclear of where to add it.
    my PKGBUILD is
    # $Id: PKGBUILD,v 1.19 2008/12/05 09:41:07 sergej Exp $
    # Maintainer: Sergej Pupykin <[email protected]>
    # Contributor: Dag Odenhall <[email protected]>
    # Contributor: Grigorios Bouzakis <[email protected]>
    pkgname=dwm
    pkgver=5.3
    pkgrel=1
    pkgdesc="A dynamic window manager for X"
    url="http://www.suckless.org/wiki/dwm"
    arch=('i686' 'x86_64')
    license=('MIT')
    options=(zipman)
    depends=('libx11')
    install=dwm.install
    source=(http://code.suckless.org/dl/dwm/dwm-$pkgver.tar.gz \
    config.h)
    md5sums=('ee47a2adcc3bbc3c053307e6ef35e3e0'
    '8093b1bea675dea404913e828cabfa04')
    build() {
    cd $srcdir/$pkgname-$pkgver
    cp $srcdir/config.h config.h
    make X11INC=/usr/include/X11 X11LIB=/usr/lib/X11 || return 1
    make PREFIX=/usr DESTDIR=$pkgdir install || return 1
    install -m644 -D LICENSE $pkgdir/usr/share/licenses/$pkgname/LICENSE && \
    install -m644 -D README $pkgdir/usr/share/doc/$pkgname/README
    I then know i need to enter #include "bstack.c" into my config.h file.  I am just a little unclear of it I add it to the original config.h in my dwm directory. Or must I add it to the config.h that is in the src directory?  Thanks, Justin.

    Thanks for the reply.  I can it to install, but I still do not get the option for bottom stack.  Do I need to add it to my config somewhere? I assumed the patch would add it to the config.h intself?
    Here is a link to the patch
    http://bsdgroup.org/files/dwm-5.3-bstack.diff
    PKGBUILD
    # $Id: PKGBUILD,v 1.19 2008/12/05 09:41:07 sergej Exp $
    # Maintainer: Sergej Pupykin <[email protected]>
    # Contributor: Dag Odenhall <[email protected]>
    # Contributor: Grigorios Bouzakis <[email protected]>
    pkgname=dwm
    pkgver=5.3
    pkgrel=1
    pkgdesc="A dynamic window manager for X"
    url="http://www.suckless.org/wiki/dwm"
    arch=('i686' 'x86_64')
    license=('MIT')
    options=(zipman)
    depends=('libx11')
    install=dwm.install
    source=(http://code.suckless.org/dl/dwm/dwm-$pkgver.tar.gz \
    config.h
    http://code.suckless.org/dl/dwm/dwm-$pkgver.tar.gz \
    dwm-5.3-bstack.diff
    md5sums=('ee47a2adcc3bbc3c053307e6ef35e3e0'
    '8093b1bea675dea404913e828cabfa04')
    build() {
    cd $srcdir/$pkgname-$pkgver
    patch -p0 < ../dwm-5.3-bstack.diff || return 1
    cp $srcdir/config.h config.h
    make X11INC=/usr/include/X11 X11LIB=/usr/lib/X11 || return 1
    make PREFIX=/usr DESTDIR=$pkgdir install || return 1
    install -m644 -D LICENSE $pkgdir/usr/share/licenses/$pkgname/LICENSE && \
    install -m644 -D README $pkgdir/usr/share/doc/$pkgname/README
    config.h
    /* See LICENSE file for copyright and license details. */
    /* appearance */
    static const char font[] = "-*-terminus-medium-r-normal-*-14-*-*-*-*-*-*-*";
    static const char normbordercolor[] = "#cccccc";
    static const char normbgcolor[] = "#cccccc";
    static const char normfgcolor[] = "#000000";
    static const char selbordercolor[] = "#0066ff";
    static const char selbgcolor[] = "#0066ff";
    static const char selfgcolor[] = "#ffffff";
    static unsigned int borderpx = 1; /* border pixel of windows */
    static unsigned int snap = 32; /* snap pixel */
    static Bool showbar = True; /* False means no bar */
    static Bool topbar = True; /* False means bottom bar */
    static Bool readin = True; /* False means do not read stdin */
    static Bool usegrab = False; /* True means grabbing the X server
    during mouse-based resizals */
    /* tagging */
    static const char tags[][MAXTAGLEN] = { "1", "2", "3", "4", "5", "6", "7", "8", "9" };
    static unsigned int tagset[] = {1, 1}; /* after start, first tag is selected */
    static Rule rules[] = {
    /* class instance title tags mask isfloating */
    { "Gimp", NULL, NULL, 0, True },
    { "Firefox", NULL, NULL, 1 << 8, True },
    /* layout(s) */
    static float mfact = 0.55; /* factor of master area size [0.05..0.95] */
    static Bool resizehints = True; /* False means respect size hints in tiled resizals */
    static Layout layouts[] = {
    /* symbol arrange function */
    { "[]=", tile }, /* first entry is default */
    { "><>", NULL }, /* no layout function means floating behavior */
    { "[M]", monocle },
    /* key definitions */
    #define MODKEY Mod1Mask
    #define TAGKEYS(KEY,TAG) \
    { MODKEY, KEY, view, {.ui = 1 << TAG} }, \
    { MODKEY|ControlMask, KEY, toggleview, {.ui = 1 << TAG} }, \
    { MODKEY|ShiftMask, KEY, tag, {.ui = 1 << TAG} }, \
    { MODKEY|ControlMask|ShiftMask, KEY, toggletag, {.ui = 1 << TAG} },
    /* helper for spawning shell commands in the pre dwm-5.0 fashion */
    #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 Key keys[] = {
    /* modifier key function argument */
    { MODKEY, XK_p, spawn, {.v = dmenucmd } },
    { MODKEY|ShiftMask, XK_Return, spawn, {.v = termcmd } },
    { MODKEY, XK_b, togglebar, {0} },
    { MODKEY, XK_j, focusstack, {.i = +1 } },
    { MODKEY, XK_k, focusstack, {.i = -1 } },
    { MODKEY, XK_h, setmfact, {.f = -0.05} },
    { MODKEY, XK_l, setmfact, {.f = +0.05} },
    { MODKEY, XK_Return, zoom, {0} },
    { MODKEY, XK_Tab, view, {0} },
    { MODKEY|ShiftMask, XK_c, killclient, {0} },
    { MODKEY, XK_t, setlayout, {.v = &layouts[0]} },
    { MODKEY, XK_f, setlayout, {.v = &layouts[1]} },
    { MODKEY, XK_m, setlayout, {.v = &layouts[2]} },
    { MODKEY, XK_space, setlayout, {0} },
    { MODKEY|ShiftMask, XK_space, togglefloating, {0} },
    { MODKEY, XK_0, view, {.ui = ~0 } },
    { MODKEY|ShiftMask, XK_0, tag, {.ui = ~0 } },
    TAGKEYS( XK_1, 0)
    TAGKEYS( XK_2, 1)
    TAGKEYS( XK_3, 2)
    TAGKEYS( XK_4, 3)
    TAGKEYS( XK_5, 4)
    TAGKEYS( XK_6, 5)
    TAGKEYS( XK_7, 6)
    TAGKEYS( XK_8, 7)
    TAGKEYS( XK_9, 8)
    { MODKEY|ShiftMask, XK_q, quit, {0} },
    /* button definitions */
    /* click can be a tag number (starting at 0),
    * ClkLtSymbol, ClkStatusText, ClkWinTitle, ClkClientWin, or ClkRootWin */
    static Button buttons[] = {
    /* click event mask button function argument */
    { ClkLtSymbol, 0, Button1, setlayout, {0} },
    { ClkLtSymbol, 0, Button3, setlayout, {.v = &layouts[2]} },
    { ClkWinTitle, 0, Button2, zoom, {0} },
    { ClkStatusText, 0, Button2, spawn, {.v = termcmd } },
    { ClkClientWin, MODKEY, Button1, movemouse, {0} },
    { ClkClientWin, MODKEY, Button2, togglefloating, {0} },
    { ClkClientWin, MODKEY, Button3, resizemouse, {0} },
    { ClkTagBar, 0, Button1, view, {0} },
    { ClkTagBar, 0, Button3, toggleview, {0} },
    { ClkTagBar, MODKEY, Button1, tag, {0} },
    { ClkTagBar, MODKEY, Button3, toggletag, {0} },
    #include "bstack.c"
    I then get this
    [justin@beast dwm]$ makepkg -g >> PKGBUILD
    ==> Retrieving Sources...
    -> Found dwm-5.3.tar.gz in build dir
    -> Found config.h in build dir
    -> Found dwm-5.3-bstack.diff in build dir
    ==> Generating checksums for source files...
    I can then install
    [justin@beast dwm]$ makepkg -efi
    ==> Making package: dwm 5.3-1 x86_64 (Mon Dec 22 23:39:52 EST 2008)
    ==> Checking Runtime Dependencies...
    ==> Checking Buildtime Dependencies...
    ==> WARNING: Skipping source retrieval -- using existing src/ tree
    ==> WARNING: Skipping source integrity checks -- using existing src/ tree
    ==> WARNING: Skipping source extraction -- using existing src/ tree
    ==> Removing existing pkg/ directory...
    ==> Entering fakeroot environment...
    ==> Starting build()...
    patching file bstack.c
    patching file config.def.h
    Hunk #1 succeeded at 30 (offset 2 lines).
    dwm build options:
    CC dwm.c
    CFLAGS = -std=c99 -pedantic -Wall -Os -I. -I/usr/include -I/usr/include/X11 -DVERSION="5.3"
    LDFLAGS = -s -L/usr/lib -lc -L/usr/lib/X11 -lX11
    CC = cc
    CC -o dwm
    dwm build options:
    CFLAGS = -std=c99 -pedantic -Wall -Os -I. -I/usr/include -I/usr/X11R6/include -DVERSION="5.3"
    LDFLAGS = -s -L/usr/lib -lc -L/usr/X11R6/lib -lX11
    CC = cc
    installing executable file to /home/justin/builds/dwm/pkg/usr/bin
    installing manual page to /home/justin/builds/dwm/pkg/usr/share/man/man1
    ==> Tidying install...
    -> Compressing man pages...
    -> Stripping debugging symbols from binaries and libraries...
    ==> Creating package...
    -> Generating .PKGINFO file...
    -> Adding install script...
    -> Compressing package...
    ==> Leaving fakeroot environment.
    ==> Finished making: dwm 5.3-1 x86_64 (Mon Dec 22 23:39:53 EST 2008)
    ==> Installing package dwm with pacman -U...
    Password:
    loading package data...
    checking dependencies...
    (1/1) checking for file conflicts [#########################################################################################################################################################] 100%
    -- Edit config.h in PKGBUILD's directory (generally /var/abs/community/x11/dwm/)
    -- and rebuild package if you want to change settings.
    (1/1) upgrading dwm
    Thanks.

Maybe you are looking for