oroborus-user
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Oroborus-user] Oroborus/deskmenu under BSD


From: Maxime Guillaud
Subject: [Oroborus-user] Oroborus/deskmenu under BSD
Date: Fri, 20 Aug 2004 00:36:06 +0200
User-agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.4) Gecko/20040811


Hi Stefan, Hi list,

I recently installed Oroborus (+deskmenu) on an OpenBSD machine. I would like to give you some feedback in order to make it easier...

I downloaded version 2.0.13-1 and tried to install it. Unfortunately, it seems that the "configure" file is not included, and I'm not proficient enough in autoconf to generate it myself. Fortunately, version 2.0.12 works good enough for me so I installed this one. This is my second remark : could you make older versions of the source available on the Oroborus website ? Many people rely on older version for various reasons (because something changed and they don't like it, because they don't want to deal with the new dependencies, because they install from ports under xBSD and the port has not been updated yet... actually that's where I found version 2.0.12 : the FreeBSD port !)

Ok, so now everything is fine with Oroborus. I went on and installed deskmenu, which also had some compilation problems : it seems that the error() function is not available under BSD (maybe it's a Linux thing ?). So I slightly patched the file xmalloc.c in order to reimplement error().
I attach the patch.

Now I'm perfectly happy with Oroborus+Deskmenu+fspanel. For those who don't know fspanel, I think that it's the perfect complement to Oroborus, so check it out : http://www.chatjunkies.org/fspanel/

Hope all this helps :-)
Maxime

diff deskmenu-1.4.0/src/xmalloc.c deskmenu-1.4.0-patched/src/xmalloc.c
28a29
> #include <stdio.h>
47,48d47
< #include "error.h"
< 
67,71c66,73
< #if __STDC__ && (HAVE_VPRINTF || HAVE_DOPRNT)
< void error (int, int, const char *, ...);
< #else
< void error ();
< #endif
---
> static void
> error (int exit_status, const char *mode, const char *message)
> {
>   fprintf (stderr, "oroborus: %s: %s.\n", mode, message);
> 
>   if (exit_status >= 0)
>     exit (exit_status);
> }

reply via email to

[Prev in Thread] Current Thread [Next in Thread]