Re: [dwm] autoconf

2009-03-20 Thread Richard Pöttler
On Fri, Mar 20, 2009 at 12:15:53AM +0100, Kurt Van Dijck wrote:
 On Thu, Mar 19, 2009 at 06:09:33PM +0100, Nico Golde wrote:
  Hi,
  * Kurt Van Dijck kurt.van.di...@eia.be [2009-03-19 17:53]:
   I'm in the process of cross-compiling dwm. I understand the idea of
   having a config.mk for this, but it is not the easiest.
   Since I had to fix some other packets too, I learned myself to setup a
   minimal autoconf. This allows one to do:
   ./configure  make  make install
   
   Since dwm is distributed as a source package and not binary, I suspect
   this can mean a serious improvement.
  
  EPIC FAIL!
  Please read the FAQ: http://suckless.org/common/faq
 I agree as a developer. a 'config.mk' approach, I understand.
 I didn't even walk all FAQ's to get the job done :-)
 
 As a user, I'm not that convinced. ./configure is easier to explain that
 Makefile.
 
 What I learned from the automake/autoconf docs is:
 1) autoconf allows easy test, suitable for users.
 2) ./configure script is big :-(
 3) automake starts the real mess, using libtool etc.
 
 I chose (for this  other projects) to stick to my own hand-crafted
 Makefiles, supported by autoconf.
 Some advantages of this approach:
 * The core Makefile(.in) is still readable as developer.
 * applying different --prefix, --host or DESTDIR gets easier.

I got to disagree here, since I made dwm port for crux. You only have to
take a short look at the slim Makefile and you got your answer:

make DESTDIR=$somedir PREFIX=/usr MANPREFIX=/usr/man install

At least this doesn't look complicated to me.

bye
richi

[1] http://repo.or.cz/w/namenlos-ports.git?a=tree;f=dwm;hb=HEAD
-- 
quoting guide: http://www.xs4all.nl/~hanb/documents/quotingguide.html


pgpi2VgdeHP0s.pgp
Description: PGP signature


Re: [dwm] Suckess Code Management

2009-03-12 Thread Richard Pöttler
On Thu, Mar 12, 2009 at 09:11:57AM +0100, Christoph Schied wrote:
 Amit Uttamchandani wrote:
 
 ...
 11. personal wiki - zim (dont like it though, still want to write a clone)

What I have discovered today: vimwiki
(http://www.vim.org/scripts/script.php?script_id=2226) seems to be nice
- at least I will give it a try.

 ...

bye
richi
-- 
quoting guide: http://www.xs4all.nl/~hanb/documents/quotingguide.html


pgpOAjTwDjjZE.pgp
Description: PGP signature


Re: [dwm] C unit testing

2009-03-11 Thread Richard Pöttler
On Tue, Mar 10, 2009 at 09:24:41AM +, A.S. Bradbury wrote:
 On Tue, Mar 10, 2009 at 8:48 AM, Richard Pöttler
 richard.poett...@gmail.com wrote:
  I just wanted to ask you guys if you could recommend me a tool to
  unit test my C code. So far I only found CUnit, Check and CuTest but
  haven't dug into any of them. Do you have any suggestions?
 
 I haven't yet used it, but Google have released cmockery:
 
 http://code.google.com/p/cmockery/

Thanks. I will give it a try.

bye
richi
-- 
quoting guide: http://www.xs4all.nl/~hanb/documents/quotingguide.html


pgpyO5mkQ0Iwj.pgp
Description: PGP signature


[dwm] C unit testing

2009-03-10 Thread Richard Pöttler
Hi,

I just wanted to ask you guys if you could recommend me a tool to
unit test my C code. So far I only found CUnit, Check and CuTest but
haven't dug into any of them. Do you have any suggestions?

bye
richi
-- 
quoting guide: http://www.xs4all.nl/~hanb/documents/quotingguide.html


pgp8k9YVvRA6B.pgp
Description: PGP signature


Re: [dwm] [Offtopic] minimalistic filesystem ncurses viewer

2008-12-27 Thread Richard Pöttler
On Sat, Dec 27, 2008 at 12:51 AM, Ricardo Catalinas Jiménez
jimenezr...@gmail.com wrote:
 I just wanted to say I've been using dwm for a while and I like the suckless
 philosophy, so I wrote a simple filesystem viewer for myself to complement
 my desktop. I tried before vifm and others but they were too buggy and too
 big to be fixed. In case of interest, take a look:

http://server01.i.info/fm.html
 (http://freshmeat.net/projects/fm-viewer/)

A view days ago I discovered clex (http://www.clex.sk/). Maybe you
want to give it a shot.

bye
richi


Re: [dwm] autostart

2008-09-08 Thread Richard Pöttler
On Mon, Sep 8, 2008 at 10:44 AM, bill lam [EMAIL PROTECTED] wrote:
 I use slim to start dwm or other wm. I want to know to autostart a
 particular script for dwn only.

 Thanks in advance.

Just place the command in front of the dwm command in the dwm branch
of your case block in the .xinitrc.

You also want to have a look at:
http://www.google.at/search?q=.xinitrc+dwm+slimie=utf-8oe=utf-8aq=trls=org.mozilla:de:officialclient=firefox-a

bye
richi



Re: [dwm] git mirror of the hg repository

2008-08-27 Thread Richard Pöttler
On Wed, Aug 27, 2008 at 4:48 PM, Simon Rozet [EMAIL PROTECTED] wrote:
 hello,

hi

 FYI, I made a git mirror of the hg repository. (synced daily)
  http://github.com/sr/dwm
  git://github.com/sr/dwm.git

Great, thanks. I prefer git over hg, too.

 The script I used to automate the process
  http://gist.github.com/7358

 P.S. : I am marked as the commiter of every commit.
 I want to fix that, but can't figure how. anyone?

Is there a reason, why you aren't using:

http://git.kernel.org/?p=git/git.git;a=blob_plain;f=contrib/hg-to-git/hg-to-git.py;hb=HEAD

? I didn't have a close look, but maybe it does, what you want to
achieve (and it is maintained my the git people, so they know, what to
do ;) ).

bye
richi



Re: [dwm] Being not so elitist

2008-07-29 Thread Richard Pöttler
On Tue, Jul 29, 2008 at 10:44 AM, Anselm R Garbe [EMAIL PROTECTED] wrote:
 2008/7/29 markus schnalke [EMAIL PROTECTED]:
This keeps its userbase small and elitist. No novices asking stupid
questions.

 Well, I removed this statement, now. It was on purpose 2 years ago,
 though. It wasn't intended as offense, however.

 I might restore this statement, if a new user shows up proposing or
 asking for a configuration file format.

I am happy about this decision.

I think there will be a new user asking for this sooner or later. Why
not add some kind of faq (and even if it only contains one
question/answer), where it says, that a configuration file format is
not gonna happen unless someone writes a patch for it and posts it in
the appropiate section. The faq could also link to the wiki page
describing how to patch the configuration header file, Filippo is
going to write.

bye
richi



Re: [dwm] A rather radical thought

2008-04-02 Thread Richard Pöttler
On Wed, Apr 02, 2008 at 02:59:24PM +0200, Anselm R. Garbe wrote:
 What about getting rid of supporting the selection of multiple
 tags 

I never used it, but it is more because most of the time I don't think about it,
and simply apply the same tag to two windows and switch to this one, instead of
selecting two tags. It was the same with alt+tab, but since it made it's way
into my brain, and now  it's the combination I use most.

 at a time and celebrating the revival of the column layout
 of wmii again in dwm 5.0? What about getting rid of all the tiled
 layout flavors in favor for the column layout?

I like the two column layout of dwm and if I would like to have more, I would
use wmii. I would more prefer to be able to apply different column withs to
different tags.

bye
richi
-- 
quoting guide: http://www.xs4all.nl/~hanb/documents/quotingguide.html


pgpwzTMg4QGJs.pgp
Description: PGP signature


Re: [dwm] java 7 and dwm

2008-01-22 Thread Richard Pöttler
On Tue, Jan 22, 2008 at 11:58:17AM +0100, Anselm R. Garbe wrote:
 On Tue, Jan 22, 2008 at 04:41:04PM +0900, Renick Bell wrote:
   On Thu, Dec 27, 2007 at 03:28:39PM +0100, Anthony Brown wrote:
FYI: I just downloaded and early binary release of JDK 7 and it looks
like the new Java version behaves properly with dwm (using 'standard'
dwm-4.7). I tried using some Gui apps that gave me the infamous grey
windows with Java6 (or Java5 without setting AWT_TOOLKIT=MToolkit) and
so far no problems occured.
  
  With this Java and dwm-4.7, I'm still getting the gray windows.
  
  java -version
  java version 1.7.0
  IcedTea Runtime Environment (build 1.7.0-b21)
  IcedTea Client VM (build 1.7.0-b21, mixed mode, sharing)
  
  Any suggestions?
 
 Is IcedTea based on the Sun source code?

According to [1], yes (at least most of the parts, it seems):

The IcedTea project provides a harness to build the source code from
http://openjdk.java.net using Free Software build tools and provides
replacements for the binary plugs with code from the GNU Classpath project.

bye
richi

[1] http://icedtea.classpath.org/wiki/Main_Page
-- 
quoting guide: http://www.xs4all.nl/~hanb/documents/quotingguide.html


pgpOXAiAdRT9H.pgp
Description: PGP signature


[dwm] executing programs won't work with tcsh

2007-12-19 Thread Richard Pöttler
hi,

I am using tcsh and got some problems, when i want to start a program
with M+p. The problem is, that tcsh assigns variables with set name
value and not like the sh shells with name=value. I patched
the config.def.h (patch is attached) to directly exec the output of
dmenu and mailed it to Anselm, but he pointed out, that there will be
problems if the user presses Esc, which causes exec to execute .

Does anyone of you know a solutions for this problem?

bye
richi


dwm-config.patch
Description: Binary data