Ty Sarna | 4 Apr 21:59

Re: Matchbox 0.5rc1

To: Matthew Allum <breakfast <at> 10.am>
Fcc: outgoing
Subject: Re: [Matchbox] Matchbox 0.5rc1 
In-Reply-To: Your message of "Mon, 31 Mar 2003 12:22:33 +0100."
             <20030331112233.GA10129 <at> debian> 
--------
> Agreed, Id even go as far as saying they look small on a 640x480
> display. But fear not, Im working on implemeneting scaling in the
> panel apps to fix this kind of problem, especially with PDA's now
> emerging with 640x480 displays.

Yay! And looks like you already did the rest of my wishlist in 0.5.
Though I have come up with a new wishlist item: the ability to
programatically launch/pop-to-front a monolaunch. Perhaps an option that
would tell it to write a pid file, and the have kill -HUP or -USR1 or
something on the pid simulate a button push.

This is good if you want bootup/login/whatever to come up with an app
already running, but you want a click on it's button to pop it to front
again instead of staring a second copy.

BTW, I started working on NetBSD package for 0.5.  Looks like some of
the build issues I ran into with 0.4 are already fixed.  One of the
remaining issues is that NetBSD doesn't have strndup.  After
investigating this function, I consider this a good thing, as nobody
even among the Linux people can seem to agree on what the semantics
are...  does it:

	allocate N and strncpy?
	allocate N and strlcpy?
(Continue reading)

Matthew Allum | 5 Apr 00:09
Picon

Re: Matchbox 0.5rc1

on Fri, Apr 04, 2003 at 02:59:39PM -0500, Ty Sarna wrote:
> Yay! And looks like you already did the rest of my wishlist in 0.5.
> Though I have come up with a new wishlist item: the ability to
> programatically launch/pop-to-front a monolaunch. Perhaps an option that
> would tell it to write a pid file, and the have kill -HUP or -USR1 or
> something on the pid simulate a button push.
> 
> This is good if you want bootup/login/whatever to come up with an app
> already running, but you want a click on it's button to pop it to front
> again instead of staring a second copy.
> 

Im sorry but Im not sure what you mean - you want to start an app
automatically ( in your .xinitrc or whatever ), but have monolaunch be
able to hide/show it aswell ?

> 
> BTW, I started working on NetBSD package for 0.5.  Looks like some of
> the build issues I ran into with 0.4 are already fixed.  One of the
> remaining issues is that NetBSD doesn't have strndup.  After
> investigating this function, I consider this a good thing, as nobody
> even among the Linux people can seem to agree on what the semantics
> are...  does it:
> 
> 	allocate N and strncpy?
> 	allocate N and strlcpy?
> 	allocate N+1 and strncpy or memcpy and add \0?
> 	allocate as much as needed, but at most n and strncpy?
> 	allocate as much as needed, but at most n and strlcpy?
> 	allocate as much as needed, but at most n+1 and add \0?
(Continue reading)

Picon
Favicon

Porting Matchbox to Agenda VR3

Hi guys!

I'm trying to port Matchbox to Agenda VR3 and I got the following errors:

/opt/snow-gcc/bin/mipsel-linux-gcc -Os -B/opt/snow-gcc/lib/snow/ -Os -Wall -DUSE_PNG
-DUSE_DNOTIFY -DNO_KBD -DSTANDALONE -I/opt/snow-gcc/mipsel-linux/include
-DDEFAULTTHEME=\"/home/agenda-snow/local/share/themes/blondie/matchbox/theme.xml\"
-DDATADIR=\"/home/agenda-snow/local/share\"
-DCONFDEFAULTS=\"/home/agenda-snow/local/share/matchbox/defaults\"
-DGENERIC_ICON=\"/home/agenda-snow/local/share/pixmaps/mbnoapp.png\"
-DPREFIX=\"/home/agenda-snow/local/share/matchbox\" -I../libmb -Os -B/opt/snow-gcc/lib/snow/
-s -o matchbox main.o wm.o base_client.o main_client.o toolbar_client.o dockbar_client.o
dialog_client.o select_client.o desktop_client.o ewmh.o misc.o client_common.o keys.o list.o
mbtheme-standalone.o  -L/opt/snow-gcc/lib/snow -lX11 -lXext -lpng -lm -lz
wm.o: In function `wm_new':
wm.c(.text+0x18): undefined reference to `rpl_malloc'
wm.o: In function `wm_load_config':
wm.c(.text+0x350): undefined reference to `rpl_malloc'
base_client.o: In function `base_client_new':
base_client.c(.text+0x28): undefined reference to `rpl_malloc'
base_client.o: In function `base_client_process_name':
base_client.c(.text+0x3cc): undefined reference to `rpl_malloc'
ewmh.o: In function `ewmh_update':
ewmh.c(.text+0x578): undefined reference to `rpl_malloc'
mbtheme-standalone.o(.text+0x9d0):mbtheme-standalone.c: more undefined references to
`rpl_malloc' follow
collect2: ld returned 1 exit status
make[2]: ** [matchbox] Erro 1
make[2]: Saindo do diretório `/home/agenda-snow/Projetos/matchbox-0.5rc2/src'
make[1]: ** [all-recursive] Erro 1
(Continue reading)

Matthew Allum | 9 Apr 19:13
Picon

Re: Porting Matchbox to Agenda VR3

Hmm, Im seen this happen before during a cross-compile of matchbox. 

I think for some reason malloc gets #defined as rpl_malloc in config.h
by autotools - try manually removing that and then re making. 

Im not sure if this is a problem with the x-compiler or autotools,
will investigate. 

Let me know how you get on.

   -- Matthew

 
on Wed, Apr 09, 2003 at 01:55:51PM -0300, Isaque Galdino de Araujo wrote:
> Hi guys!
> 
> I'm trying to port Matchbox to Agenda VR3 and I got the following errors:
> 
> /opt/snow-gcc/bin/mipsel-linux-gcc -Os -B/opt/snow-gcc/lib/snow/ -Os -Wall -DUSE_PNG
-DUSE_DNOTIFY -DNO_KBD -DSTANDALONE -I/opt/snow-gcc/mipsel-linux/include
-DDEFAULTTHEME=\"/home/agenda-snow/local/share/themes/blondie/matchbox/theme.xml\"
-DDATADIR=\"/home/agenda-snow/local/share\"
-DCONFDEFAULTS=\"/home/agenda-snow/local/share/matchbox/defaults\"
-DGENERIC_ICON=\"/home/agenda-snow/local/share/pixmaps/mbnoapp.png\"
-DPREFIX=\"/home/agenda-snow/local/share/matchbox\" -I../libmb -Os -B/opt/snow-gcc/lib/snow/
-s -o matchbox main.o wm.o base_client.o main_client.o toolbar_client.o dockbar_client.o
dialog_client.o select_client.o desktop_client.o ewmh.o misc.o client_common.o keys.o list.o
mbtheme-standalone.o  -L/opt/snow-gcc/lib/snow -lX11 -lXext -lpng -lm -lz
> wm.o: In function `wm_new':
> wm.c(.text+0x18): undefined reference to `rpl_malloc'
(Continue reading)

Matthew Allum | 9 Apr 19:51
Picon

Re: Porting Matchbox to Agenda VR3

btw, what options did you pass to configure ?

  -- Matthew

on Wed, Apr 09, 2003 at 01:55:51PM -0300, Isaque Galdino de Araujo wrote:
> Hi guys!
> 
> I'm trying to port Matchbox to Agenda VR3 and I got the following errors:
> 
> /opt/snow-gcc/bin/mipsel-linux-gcc -Os -B/opt/snow-gcc/lib/snow/ -Os -Wall -DUSE_PNG
-DUSE_DNOTIFY -DNO_KBD -DSTANDALONE -I/opt/snow-gcc/mipsel-linux/include
-DDEFAULTTHEME=\"/home/agenda-snow/local/share/themes/blondie/matchbox/theme.xml\"
-DDATADIR=\"/home/agenda-snow/local/share\"
-DCONFDEFAULTS=\"/home/agenda-snow/local/share/matchbox/defaults\"
-DGENERIC_ICON=\"/home/agenda-snow/local/share/pixmaps/mbnoapp.png\"
-DPREFIX=\"/home/agenda-snow/local/share/matchbox\" -I../libmb -Os -B/opt/snow-gcc/lib/snow/
-s -o matchbox main.o wm.o base_client.o main_client.o toolbar_client.o dockbar_client.o
dialog_client.o select_client.o desktop_client.o ewmh.o misc.o client_common.o keys.o list.o
mbtheme-standalone.o  -L/opt/snow-gcc/lib/snow -lX11 -lXext -lpng -lm -lz
> wm.o: In function `wm_new':
> wm.c(.text+0x18): undefined reference to `rpl_malloc'
> wm.o: In function `wm_load_config':
> wm.c(.text+0x350): undefined reference to `rpl_malloc'
> base_client.o: In function `base_client_new':
> base_client.c(.text+0x28): undefined reference to `rpl_malloc'
> base_client.o: In function `base_client_process_name':
> base_client.c(.text+0x3cc): undefined reference to `rpl_malloc'
> ewmh.o: In function `ewmh_update':
> ewmh.c(.text+0x578): undefined reference to `rpl_malloc'
> mbtheme-standalone.o(.text+0x9d0):mbtheme-standalone.c: more undefined references to
(Continue reading)

Picon
Favicon

Re: Porting Matchbox to Agenda VR3

./configure --enable-png --enable-dnotify --enable-libsn --enable-xsetting --enable-standalone
--disable-keyboard --host=mipsel-linux --prefix=/home/agenda-snow/local

On Wed, 9 Apr 2003 18:51:16 +0100
Matthew Allum <breakfast <at> 10.am> wrote:

> btw, what options did you pass to configure ?
> 
>   -- Matthew
> 
> on Wed, Apr 09, 2003 at 01:55:51PM -0300, Isaque Galdino de Araujo wrote:
> > Hi guys!
> > 
> > I'm trying to port Matchbox to Agenda VR3 and I got the following errors:
> > 
> > /opt/snow-gcc/bin/mipsel-linux-gcc -Os -B/opt/snow-gcc/lib/snow/ -Os -Wall -DUSE_PNG
-DUSE_DNOTIFY -DNO_KBD -DSTANDALONE -I/opt/snow-gcc/mipsel-linux/include
-DDEFAULTTHEME=\"/home/agenda-snow/local/share/themes/blondie/matchbox/theme.xml\"
-DDATADIR=\"/home/agenda-snow/local/share\"
-DCONFDEFAULTS=\"/home/agenda-snow/local/share/matchbox/defaults\"
-DGENERIC_ICON=\"/home/agenda-snow/local/share/pixmaps/mbnoapp.png\"
-DPREFIX=\"/home/agenda-snow/local/share/matchbox\" -I../libmb -Os -B/opt/snow-gcc/lib/snow/
-s -o matchbox main.o wm.o base_client.o main_client.o toolbar_client.o dockbar_client.o
dialog_client.o select_client.o desktop_client.o ewmh.o misc.o client_common.o keys.o list.o
mbtheme-standalone.o  -L/opt/snow-gcc/lib/snow -lX11 -lXext -lpng -lm -lz
> > wm.o: In function `wm_new':
> > wm.c(.text+0x18): undefined reference to `rpl_malloc'
> > wm.o: In function `wm_load_config':
> > wm.c(.text+0x350): undefined reference to `rpl_malloc'
> > base_client.o: In function `base_client_new':
(Continue reading)

Matthew Allum | 9 Apr 21:10
Picon

Re: Porting Matchbox to Agenda VR3

Does adding --target and --build to your configure line make any
difference ?

  -- Matthew

on Wed, Apr 09, 2003 at 03:06:38PM -0300, Isaque Galdino de Araujo wrote:
> ./configure --enable-png --enable-dnotify --enable-libsn --enable-xsetting --enable-standalone
--disable-keyboard --host=mipsel-linux --prefix=/home/agenda-snow/local
> 
Picon
Favicon

Re: Porting Matchbox to Agenda VR3

No. Unfortunetly!

On Wed, 9 Apr 2003 20:10:44 +0100
Matthew Allum <breakfast <at> 10.am> wrote:

> Does adding --target and --build to your configure line make any
> difference ?
> 
>   -- Matthew
> 
> on Wed, Apr 09, 2003 at 03:06:38PM -0300, Isaque Galdino de Araujo wrote:
> > ./configure --enable-png --enable-dnotify --enable-libsn --enable-xsetting
--enable-standalone --disable-keyboard --host=mipsel-linux --prefix=/home/agenda-snow/local
> > 

--

-- 
Isaque Galdino de Araujo    C/C++/Java    http://sites.uol.com.br/isaque
Linux User #274776          since 1997             Slackware User so far
Matthew Allum | 9 Apr 21:41
Picon

Re: Porting Matchbox to Agenda VR3

Doh bummer - and still no joy manually editing the config.h file ?

  -- Matthew

on Wed, Apr 09, 2003 at 04:29:47PM -0300, Isaque Galdino de Araujo wrote:
> No. Unfortunetly!
> 
> On Wed, 9 Apr 2003 20:10:44 +0100
> Matthew Allum <breakfast <at> 10.am> wrote:
> 
> > Does adding --target and --build to your configure line make any
> > difference ?
> > 
> >   -- Matthew
> > 
> > on Wed, Apr 09, 2003 at 03:06:38PM -0300, Isaque Galdino de Araujo wrote:
> > > ./configure --enable-png --enable-dnotify --enable-libsn --enable-xsetting
--enable-standalone --disable-keyboard --host=mipsel-linux --prefix=/home/agenda-snow/local
> > > 
> 
> 
> -- 
> Isaque Galdino de Araujo    C/C++/Java    http://sites.uol.com.br/isaque
> Linux User #274776          since 1997             Slackware User so far
> _______________________________________________
> Matchbox mailing list
> Matchbox <at> handhelds.org
> https://handhelds.org/mailman/listinfo/matchbox
> 
(Continue reading)

Picon
Favicon

Re: Porting Matchbox to Agenda VR3

I tried that, but it starts giving me other errors:

/opt/snow-gcc/bin/mipsel-linux-gcc -DHAVE_CONFIG_H -I. -I. -I..   -Os -B/opt/snow-gcc/lib/snow/  -Os
-B/opt/snow-gcc/lib/snow/ -Os -Wall -DUSE_PNG -DUSE_DNOTIFY -DNO_KBD -DSTANDALONE 
-I/opt/snow-gcc/mipsel-linux/include -DDEFAULTTHEME=\"\" -DCONFDEFAULTS=\"\"
-DPIXMAPSDIR=\"/home/agenda-snow/local/share/pixmaps/\"
-DDATADIR=\"/home/agenda-snow/local/share\" -I../libmb -c mbmenu.c
In file included from /opt/snow-gcc/mipsel-linux/include/linux/fcntl.h:4,
                 from mbmenu.c:35:
/opt/snow-gcc/mipsel-linux/include/asm/fcntl.h:80: parse error before "__kernel_off_t"
/opt/snow-gcc/mipsel-linux/include/asm/fcntl.h:80: warning: no semicolon at end of struct or union
/opt/snow-gcc/mipsel-linux/include/asm/fcntl.h:81: warning: type defaults to `int' in declaration
of `l_len'
/opt/snow-gcc/mipsel-linux/include/asm/fcntl.h:81: warning: data definition has no type or storage class
/opt/snow-gcc/mipsel-linux/include/asm/fcntl.h:83: parse error before "l_pid"
/opt/snow-gcc/mipsel-linux/include/asm/fcntl.h:83: warning: type defaults to `int' in declaration
of `l_pid'
/opt/snow-gcc/mipsel-linux/include/asm/fcntl.h:83: warning: data definition has
no/opt/snow-gcc/mipsel-linux/include/asm/fcntl.h:85: parse error before '}' token
/opt/snow-gcc/mipsel-linux/include/asm/fcntl.h:85: warning: type defaults to `int' in declaration
of `flock_t'
/opt/snow-gcc/mipsel-linux/include/asm/fcntl.h:85: warning: data definition has no type or storage class
mbmenu.c: In function `handle_events':
mbmenu.c:960: `SIGRTMIN' undeclared (first use in this function)
mbmenu.c:960: (Each undeclared identifier is reported only once
mbmenu.c:960: for each function it appears in.)
mbmenu.c: In function `main':
mbmenu.c:1113: structure has no member named `sa_sigaction'
mbmenu.c:1115: `SA_SIGINFO' undeclared (first use in this function)
mbmenu.c:1116: `SIGRTMIN' undeclared (first use in this function)
(Continue reading)


Gmane