[PD-dev] Linux-Installer bugfix

Frank Barknecht fbar at footils.org
Tue Dec 6 13:57:07 CET 2005


Hi,

attached is a small fix to the externals-build Makefile, which I had
to do to let Hans' linux-installer compile several externals.

Also attached is another patch which I had to apply to fix the
scripts/checkout-developer-layout.sh for me.

Actually I'm trying out the new build system to finally use it to do
Debian packages using the unified build, which in my view seems like a
good idea. However I see some issues with that. For one, running curl
to download stuff from the web while building is not acceptable in a
Debian package, which has to build without net connection as well.
(Actually it would be nice to have the Externals-HOWTO in CVS
anyways.)

Currently I just disable the curl stuff in the central Makefile.
(Btw: Some html-generation is using the <font>-tag, which is
deprecated and even illegal in some dialects of HTML.)

Then using /usr as a prefix will not install pd in /usr/bin, but still
in /usr/local/bin. I haven't found out yet, where to change that. 

Ciao
-- 
 Frank Barknecht                 _ ______footils.org_ __goto10.org__
-------------- next part --------------
Index: checkout-developer-layout.sh
===================================================================
RCS file: /cvsroot/pure-data/scripts/checkout-developer-layout.sh,v
retrieving revision 1.4
diff -u -b -B -r1.4 checkout-developer-layout.sh
--- checkout-developer-layout.sh	30 Nov 2005 06:53:36 -0000	1.4
+++ checkout-developer-layout.sh	6 Dec 2005 12:51:35 -0000
@@ -20,10 +20,10 @@
 }
 
 if [ $# -eq 0 ]; then
-    CVSROOT=":pserver:anonymous at cvs.sourceforge.net:/cvsroot/pure-data"
+    export CVSROOT=":pserver:anonymous at cvs.sourceforge.net:/cvsroot/pure-data"
     echo "Checking out anonymously. Give your SourceForge ID as an argument otherwise."
     echo "The anonymous password is: anoncvs"
-#    cvs login
+    cvs login
 elif [ "$1" == "--help" ]; then
     print_usage
 elif [ "$1" == "-h" ]; then
@@ -42,8 +42,8 @@
 done
 
 # Gem is still separate
-CVSROOT=:pserver:anonymous at cvs.gem.iem.at:/cvsroot/pd-gem
-#cvs login
+export CVSROOT=:pserver:anonymous at cvs.gem.iem.at:/cvsroot/pd-gem
+cvs login
 cvs checkout Gem GemLibs
 
 
-------------- next part --------------
Index: Makefile
===================================================================
RCS file: /cvsroot/pure-data/externals/Makefile,v
retrieving revision 1.13
diff -u -b -B -r1.13 Makefile
--- Makefile	2 Dec 2005 19:10:19 -0000	1.13
+++ Makefile	6 Dec 2005 12:36:09 -0000
@@ -61,7 +61,7 @@
 LINUX_INCLUDES = $(INCLUDES)
 LINUX_LDFLAGS = $(LDFLAGS) -Wl,-export_dynamic  -shared
 %.pd_linux: %.c
-	$(CC) $(CFLAGS) $(INCLUDES) -o "$*.o" -c "../src/$*.c"
+	$(CC) $(CFLAGS) $(INCLUDES) -o "$*.o" -c "$*.c"
 	gcc  $(LINUX_LDFLAGS) -o "$*.pd_linux" "$*.o" -lc -lm 
 	chmod a-x "$*.pd_linux"
 	$(STRIP) $*.pd_linux


More information about the Pd-dev mailing list