On Thu, Oct 14, 2010 at 10:18:07AM +0200, Petr Sabata wrote: > > It can't be packaged in the sense of shipping binaries. But if a > > wrapper script is provided that automatically recompiles dwm for the > > individual user whenever necessary, the software could be packaged in > > the sense that it could be installed and updated with yum and would be > > functional without user intervention. The latter is my definition of > > "packageable". Compare to the akmods offered by RPM Fusion. > > I suppose rebuilding for every individual user would also be possible. I guess > the best way to do that without any user intervention would be to rebuild every > time a user's X session is started -- it's so small one would hardly notice it. > > I created this draft based on my yesterdays email: > http://psabata.fedorapeople.org/dwm/dwm-5.8.2-1.fc13.src.rpm > > However, there are some limitations when compared to your approach: > 1. One has to manually call dwm-reconfigure to rebuild dwm with their > configuration > 2. All users in the system share the same settings (this is worse) > > So, the new idea: > > package dwm: > - installs binaries with default configuration only > - depends on dmenu and xterm > package dwm-user (or whatever): > - installs dwm sources and a "dwm-start" script which: > - checks for, say, ~/.dwm.config.def.h; > runs default dwm if it's not present, or > recompiles dwm in ~/.dwm with the user configuration and runs it > if the config's there (and possibly has changed since the last > time) > - depends on dwm, gcc, make and Xlib-devel > Ok, here it is: http://psabata.fedorapeople.org/packages/dwm/dwm-5.8.2-1.fc13.src.rpm Comments welcome. Petr > Petr > > > > -- > > Matt > > > > -- > > devel mailing list > > devel@xxxxxxxxxxxxxxxxxxxxxxx > > https://admin.fedoraproject.org/mailman/listinfo/devel > > -- > Petr 'contyk' Sabata, Red Hat, Brno > > () ascii ribbon campaign - against html e-mail > /\ www.asciiribbon.org - against proprietary attachments > -- > devel mailing list > devel@xxxxxxxxxxxxxxxxxxxxxxx > https://admin.fedoraproject.org/mailman/listinfo/devel -- Petr 'contyk' Sabata, Red Hat, Brno () ascii ribbon campaign - against html e-mail /\ www.asciiribbon.org - against proprietary attachments
Attachment:
pgpTxAYuWFkbI.pgp
Description: PGP signature
-- devel mailing list devel@xxxxxxxxxxxxxxxxxxxxxxx https://admin.fedoraproject.org/mailman/listinfo/devel