On Sat, Mar 22, 2003 at 05:02:29PM +0000, Mitch wrote:
> Hi all,
> 
> How can I easely create my own Windowmaker dockapps (actualy customized in size for 
> fluxbox) or create bbtools myself??
> is there basic code that will create a blank dockapp/bbtool that I can download 
> somewhere, and what is a good program besides a text editor to play with it??
> I read that Kylix has some stuff for it, but I rather go opensource.

   Well, there are two dockapp libraries in Gentoo: the first one is 'docklib'
which is the original dockapp library created by Alfredo Kojima, who created
Windowmaker; the second is 'libdockapp', which is an extension of the first
created by Pascal Hofstee.  Unfortunatly, they install to the same place
(overwriting header files), so you can't have both.  You should have the
second one, but only the first one seems to contain the 'wmtest' example
program.

That's probably a bit confusing to start with.  What I would suggest is:

   emerge libdockapp
   emerge -f docklib    (We want the package, but not to install it)
   cd <whatever temp directory you want to use>
   tar zxvf /usr/portage/distfiles/docklib-0.2.tar.gz
   cd docklib-0.2
   gcc -g -O2 -o wmtest wmtest.c -L/usr/X11R6/lib -lXpm -lXext -lX11 -ldockapp

The 'wmtest.c' program is a fairly simple counter program, but it does show
how the dockapp library works.  It's unfortunate that it's not actually in
the tarball (though it's listed in the README file).

   If you don't like coding to the library (I have no idea how well it would
work for fluxbox), the library itself should still serve as an example of
how to write a simple dockapp.

---------------------------+---------------------------------------------------
Bryan Feir           VA3GBF|"Advertising may be described as the science of
Home:[EMAIL PROTECTED]   | arresting human intelligence long enough to get
                           | money from it."          -- Stephen Leacock
---------------------------+---------------------------------------------------

--
[EMAIL PROTECTED] mailing list

Reply via email to