[dev] [wmii] notifications only work from tag 1

2010-01-14 Thread Yuval Hager
I am trying to send notifications using 'notify-send' (libnotify) and I 
found out they work only if they are sent from tag 1.
otherwise, I get the following message from dbus-daemon:

,
| (:5963): Wnck-WARNING **: Someone set a weird number of desktops 
in _NET_NUMBER_OF_DESKTOPS, assuming the value is 1
| 
| 
| Wnck-CRITICAL **: wnck_window_is_on_workspace: assertion 
`WNCK_IS_WORKSPACE (workspace)' failed
| aborting...
`

Anyone has a clue?

--y


signature.asc
Description: This is a digitally signed message part.


[dev] link hinting support for surf

2010-01-14 Thread pancake
Yesterday I was looking for linkhinting support for surf.. but after 
talking with Nibble
he told me that he managed to port a chromium plugin few time ago, so we 
make some cleanup
on the code and some testing and I've commited the script.js into the 
sites repo:


 http://surf.suckless.org/files/link_hints

Hopefully working downloads will be the next thing to do.

PD: Looks like there's a crash while closing clients in tabbed.

Enjoy!

--pancake



[dev] stali and the shipped compilers

2010-01-14 Thread Jimmy Tang
Hi All,

I've been looking at the shipped compilers in the stali repo, I was
just wondering how the compilers were configured. I'm interested in
enabling gfortran for my own uses and testing.

Thanks,
Jimmy

-- 
Jimmy Tang
Trinity Centre for High Performance Computing,
Lloyd Building, Trinity College Dublin, Dublin 2, Ireland.
http://www.tchpc.tcd.ie/ | http://www.tchpc.tcd.ie/~jtang


pgptlvfTGu84H.pgp
Description: PGP signature


Re: [dev] stali and the shipped compilers

2010-01-14 Thread pancake

I would prefer to drop gcc, glibc and all the shit from gnu.

Tcc and dietlibc are usable solutions and maybe the code is not the  
best one but at least is sane.


Current toolchain is just to get a working version. I know that anselm  
is really busy these days, like me.. This is the reason why some of  
those projects are a bit stopped.


Is there any minimal and complete fortran implementation?

On Jan 14, 2010, at 9:02 PM, Jimmy Tang  wrote:


Hi All,

I've been looking at the shipped compilers in the stali repo, I was
just wondering how the compilers were configured. I'm interested in
enabling gfortran for my own uses and testing.

Thanks,
Jimmy

--
Jimmy Tang
Trinity Centre for High Performance Computing,
Lloyd Building, Trinity College Dublin, Dublin 2, Ireland.
http://www.tchpc.tcd.ie/ | http://www.tchpc.tcd.ie/~jtang




Re: [dev] stali and the shipped compilers

2010-01-14 Thread Alexander Surma
The configurations of the compilers can usually be extracted from the
executable with ``gfortran -v''

Surma

On Thu, Jan 14, 2010 at 9:42 PM, pancake  wrote:
> I would prefer to drop gcc, glibc and all the shit from gnu.
>
> Tcc and dietlibc are usable solutions and maybe the code is not the best one
> but at least is sane.
>
> Current toolchain is just to get a working version. I know that anselm is
> really busy these days, like me.. This is the reason why some of those
> projects are a bit stopped.
>
> Is there any minimal and complete fortran implementation?
>
> On Jan 14, 2010, at 9:02 PM, Jimmy Tang  wrote:
>
>> Hi All,
>>
>> I've been looking at the shipped compilers in the stali repo, I was
>> just wondering how the compilers were configured. I'm interested in
>> enabling gfortran for my own uses and testing.
>>
>> Thanks,
>> Jimmy
>>
>> --
>> Jimmy Tang
>> Trinity Centre for High Performance Computing,
>> Lloyd Building, Trinity College Dublin, Dublin 2, Ireland.
>> http://www.tchpc.tcd.ie/ | http://www.tchpc.tcd.ie/~jtang
>
>



[dev] [surf] patch for SETPROP

2010-01-14 Thread Josh Rickmar
Here's a config.def.h patch to prevent SETPROP from setting a property
to an empty value. This will prevent errors in surf when hitting escape
and to close dmenu when setting some surf XProperties, like the url.
--- surf.orig/config.def.h  Thu Jan 14 16:31:24 2010
+++ surf/config.def.h   Thu Jan 14 16:30:46 2010
@@ -10,7 +10,7 @@
 
 #define SETPROP(p)   { .v = (char *[]){ "/bin/sh", "-c", \
"prop=\"`xprop -id $1 $0 | cut -d '\"' -f 2 | dmenu`\" &&" \
-   "xprop -id $1 -f $0 8s -set $0 \"$prop\"", \
+   "[ -n \"$prop\" ] && xprop -id $1 -f $0 8s -set $0 \"$prop\"", \
p, winid, NULL } }
 #define MODKEY GDK_CONTROL_MASK
 static Key keys[] = {


Re: [dev] stali and the shipped compilers

2010-01-14 Thread Anthony Bentley
On Thu, Jan 14, 2010 at 09:42:02PM +0100, pancake wrote:
> I would prefer to drop gcc, glibc and all the shit from gnu.
> 
> Tcc and dietlibc are usable solutions and maybe the code is not the
> best one but at least is sane.
How about pcc?



Re: [dev] [surf] patch for SETPROP

2010-01-14 Thread Josh Rickmar
On Thu, Jan 14, 2010 at 04:38:57PM +, Josh Rickmar wrote:
> Here's a config.def.h patch to prevent SETPROP from setting a property
> to an empty value. This will prevent errors in surf when hitting escape
> and to close dmenu when setting some surf XProperties, like the url.

> --- surf.orig/config.def.hThu Jan 14 16:31:24 2010
> +++ surf/config.def.h Thu Jan 14 16:30:46 2010
> @@ -10,7 +10,7 @@
>  
>  #define SETPROP(p)   { .v = (char *[]){ "/bin/sh", "-c", \
>   "prop=\"`xprop -id $1 $0 | cut -d '\"' -f 2 | dmenu`\" &&" \
> - "xprop -id $1 -f $0 8s -set $0 \"$prop\"", \
> + "[ -n \"$prop\" ] && xprop -id $1 -f $0 8s -set $0 \"$prop\"", \
>   p, winid, NULL } }
>  #define MODKEY GDK_CONTROL_MASK
>  static Key keys[] = {


Oh, guess this isn't needed after all. Thought it was, since I was using
another pipe after the dmenu command, so $? was no longer the return
code from dmenu.



Re: [dev] stali and the shipped compilers

2010-01-14 Thread Uriel
This is all silly-talk, building the Linux kernel with anything other
than gcc is currently not practical, and wont be for some time.

uriel

On Thu, Jan 14, 2010 at 10:40 PM, Anthony Bentley
 wrote:
> On Thu, Jan 14, 2010 at 09:42:02PM +0100, pancake wrote:
>> I would prefer to drop gcc, glibc and all the shit from gnu.
>>
>> Tcc and dietlibc are usable solutions and maybe the code is not the
>> best one but at least is sane.
> How about pcc?
>
>