Dependencies on external dead projects

Enrico Tröger enrico.troeger at uvena.de
Fri Feb 15 16:01:49 CET 2008


On Fri, 15 Feb 2008 08:08:48 +0500, "Alexander E. Patrakov"
<patrakov at gmail.com> wrote:

> > Xfce4-tips just needs to be fixed: ie. display our tips without the
> > dependency on fortune. That not very hard to do, but as always,
> > shouting at other people is one thing, helping them the other one...
> 
> I see. Unfortunately, during the next week I have to go to a semiconductor 
> conference, so this has to wait a bit.

Find the attached patch against xfce4-session(SVN r26613) as a
workaround. The code does read the tips file directly and display a
random item of it. All fortune support is dropped, also the ability to
display any fortune message.
The tips.dat should also be removed from the SVN as it is not used
anymore (I skipped the removal in the patch because tips.dat is a
binary file and I don't like patches with binary parts).

There might be bugs and there might be better solutions, but IMO it's
usuable.


Maybe it's better to move xfce4-tips into the xfce-utils module instead
of xfce4-session? What do you think?
Also, it would be cool if the tips database would be translatable and
since with the patch we aren't fixed to the fortune file format, so we
can choose any format we like to and which works best with
gettext/intltool.
Any opinions?

Regards,
Enrico

-- 
Get my GPG key from http://www.uvena.de/pub.key
-------------- next part --------------
A non-text attachment was scrubbed...
Name: xfce4_session_tips_wo_fortune.patch
Type: text/x-diff
Size: 5744 bytes
Desc: not available
URL: <http://mail.xfce.org/pipermail/xfce4-dev/attachments/20080215/0f128603/attachment.patch>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://mail.xfce.org/pipermail/xfce4-dev/attachments/20080215/0f128603/attachment.pgp>


More information about the Xfce4-dev mailing list