On 9/24/06, Tobias Ulmer <[EMAIL PROTECTED]> wrote:
On Sat, Sep 23, 2006 at 12:00:22PM +0200, viq wrote: > I was trying to update silc-client to 1.0.3, but that didn't work that > well (someone had problems running it on amd64), so I decided to play > with this instead, and here are results of it. I'd call it a late > alpha, the Makefile needs some cleanup (I left all the mess in there > somewhat on purpose, so people can see what else I was trying to do > there, and may offer better sugestions; also at first it was going to > be a subpackage of irssi, and it shows I think). > > Couple of things about this port: > First, most important one: I had to modify the patches somewhat, due > to the issue with fuzzy patching on OpenBSD (and to add one line to > one of them) - thus the file with patches is attached to this mail (I > hope it will get through), and the Makefile for now points at my box > to get them untill c0ffee will incorporate the changes. > Second, run-depends. Those two perl modules are there so running the > second of recomended scripts, silc-mime.pl will work. Or that could be > moved to MESSAGE, something like "If you want to run this script you > will need xx and yy". > Third, there is a lot of patches left from normal irssi build (well, > modified to fit the files after some of them are modified). Probably a > lot of them are not needed, but I left them for now to have a > consistent source with the irssi that gets installed. > I rename the theme file to silc.theme, and install it and the script > files as @sample to /etc/irssi/{themes,scripts}/ so they are more > visible, but that's not really necessary. > This port cannot coexist with silc-client, due to some files existing > in same locations. I don't know how to fix this, if at all possible. > And if not, should I add to makefile some information about > conflicting packages? > > Please comment, test (amd64 is important, seeing as the silc-client > port I tried to make didn't want to work there), flame, and generally > enjoy ;) > -- > viqmake configure: [...] checking for socket... yes checking for inet_addr... yes checking for socklen_t... yes checking whether GLib is unpacked to irssi dir... no checking for glib-config... no checking for GLIB - version >= 1.2.0... no *** The glib-config script installed by GLIB could not be found *** If GLIB was installed in PREFIX, make sure PREFIX/bin is in *** your path, or set the GLIB_CONFIG environment variable to the *** full path to glib-config. *** trying without -lgmodule checking for glib-config... (cached) no checking for GLIB - version >= 1.2.0... no *** The glib-config script installed by GLIB could not be found *** If GLIB was installed in PREFIX, make sure PREFIX/bin is in *** your path, or set the GLIB_CONFIG environment variable to the *** full path to glib-config. checking for glib-config... (cached) no checking for GLIB - version >= 2.0.0... no *** The glib-config script installed by GLIB could not be found *** If GLIB was installed in PREFIX, make sure PREFIX/bin is in *** your path, or set the GLIB_CONFIG environment variable to the *** full path to glib-config. *** trying without -lgmodule checking for glib-config... (cached) no checking for GLIB - version >= 2.0.0... no *** The glib-config script installed by GLIB could not be found *** If GLIB was installed in PREFIX, make sure PREFIX/bin is in *** your path, or set the GLIB_CONFIG environment variable to the *** full path to glib-config. *** If you don't have GLIB, you can get it from ftp://ftp.gtk.org *** If you can't install GLIB anywhere or if you don't want to, *** you can just unpack it to Irssi's source directory and *** Irssi will automatically compile and use it. *** I can download GLib for you now. If you don't want to, press CTRL-C now. *** Press ENTER to continue Didn't check any further because a martynas on irc told me that he tested your port and that there is a new version available..
Ok, here's the newer version, slightly cleaned up, and with glib-1 and glib2 listed as lib_depends - apparently the silc part wants to use glib-1 while the irssi part already uses glib2... Hopefully this will fix things. Port attached, and available at https://viq.ath.cx/obsd/
Tobias
-- viq
irssi-silc-port.tar.gz
Description: GNU Zip compressed data