Re: desktop.links entries - was Re: Advocacy report [part 2]



Kaixo!

On Wed, Nov 17, 1999 at 04:25:59PM +0000, Paul G Cooper wrote:
 
> Great! But how do I compile it? I mean what gcc args do I use?

Oh; yes.

Copy the gdesktoplnk.c file to mc/gnome/ directory and patch the
mc/gnome/Makefile.in like this:

--- mc-4.5.41/gnome/Makefile.in.gdesktoplnk	Mon Nov  8 17:50:47 1999
+++ mc-4.5.41/gnome/Makefile.in	Mon Nov  8 17:51:04 1999
@@ -208,6 +208,10 @@
 	FileManager-common.o
 
 
+GDESKTOPLNKSRCS = gdesktoplnk.c
+
+GDESKTOPLNKOBJS = gdesktoplnk.o
+
 $(CORBA_GENERATED): $(rootdir)/idl/FileManager.idl
 	orbit-idl `gnome-config --cflags idl` $(rootdir)/idl/FileManager.idl
 
@@ -253,6 +257,7 @@
 	$(MAKE) plain-gmc
 	$(MAKE) corba-gmc
 	$(MAKE) gmc-client
+	$(MAKE) gdesktoplnk
 	@echo ----------------------------------------------------------
 	@echo -
 	@echo - GMC no longer exists here.  Use plain-gmc or corba-gmc
@@ -270,6 +275,9 @@
 gmc-client: $(CLIENTOBJS)
 	$(CC) -o gmc-client $(CLIENTOBJS) $(CORBA_LDFLAGS) $(LIBS)
 
+gdesktoplnk: $(GDESKTOPLNKOBJS)
+	$(CC) -o gdesktoplnk $(GDESKTOPLNKOBJS) $(LDFLAGS) $(LIBS)
+
 mc.keys: mc.keys.in Makefile
 	sed -e 's^\@icondir\@^$(icondir)^g' \
 	    -e 's^\@gnomeicondir\@^$(gnomeicondir)^g' \
@@ -342,6 +350,7 @@
 	$(INSTALL_PROGRAM) plain-gmc $(DESTDIR)$(bindir)/$(binprefix)plain-gmc
 	$(INSTALL_PROGRAM) corba-gmc $(DESTDIR)$(bindir)/$(binprefix)gmc
 	$(INSTALL_PROGRAM) gmc-client $(DESTDIR)$(bindir)/$(binprefix)gmc-client
+	$(INSTALL_PROGRAM) gdesktoplnk $(DESTDIR)$(bindir)/$(binprefix)gdesktoplnk
 	for I in $(ICONS); \
 	do $(INSTALL_DATA) $(srcdir)/$$I $(DESTDIR)$(icondir)/$$I; done
 	$(INSTALL_DATA) $(srcdir)/layout $(DESTDIR)$(mclibdir)/layout




Then ./autogen.sh --options && make as habitual


-- 
Ki ça vos våye bén,
Pablo Saratxaga

http://www.ping.be/~pin19314/		PGP Key available, key ID: 0x8F0E4975



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