Re: [gtk-list] Announce : new irc client
- From: shaleh snafu livenet net (Shaleh)
- To: gtk-list redhat com
- Subject: Re: [gtk-list] Announce : new irc client
- Date: Sun, 3 May 1998 16:13:17 -0400 (EDT)
Well, nice start (-: I get no menus or anything. Also you hard code a few
paths. I put things in /usr/local/share. I had to edit prefs.c to allow this.
Also, all gtk programs w/ simple Makefiles should use gtk-config to show where
the libs and includes are. Below is an incomplete diff. I would like to
second the request that the IRC authors collaborate. You all seem to be
making the same app.
diff /tmp/gnirc-0.1a/Makefile gnirc-0.1a/Makefile
0a1,2
> CFLAGS = -Wall -O2 `gtk-config --cflags` #-g -DDEBUG_PROTO
> LDFLAGS = `gtk-config --libs`
2,7d3
< CFLAGS = -Wall #-g -DDEBUG_PROTO
<
< # Path to gtk libraries ( libglib, libgdk and libgtk)
< GTK_LIBS_PATH= /usr/local/lib
< # Path to standard X libraries ( libX11 and libXext)
< X11_LIBS_PATH= /usr/X11R6/lib
13c9
< CONFIG_PATH = /usr/local/lib/gnirc
---
> CONFIG_PATH = /usr/local/share/gnirc
17,18c13
< gcc $(CFLAGS) -o gnirc -L$(X11_LIBS_PATH) -L$(GTK_LIBS_PATH) -lm -lX11 -lXext \
< -lglib -lgdk -lgtk commands.o irc.o ircio.o main.o \
---
> gcc $(CFLAGS) $(LDFLAGS) -o gnirc commands.o irc.o ircio.o main.o \
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]