[PD-cvs] packages/darwin_app/patches configure.jackosx.patch,NONE,1.1 makefile.in.patch,NONE,1.1 s_audio_jack.patch,NONE,1.1 socket.patch,NONE,1.1 u_main.tk.patch,NONE,1.1 unpatch,NONE,1.1

gerard roma g_roma at users.sourceforge.net
Wed Sep 1 02:20:14 CEST 2004


Update of /cvsroot/pure-data/packages/darwin_app/patches
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv19487

Added Files:
	configure.jackosx.patch makefile.in.patch s_audio_jack.patch 
	socket.patch u_main.tk.patch unpatch 
Log Message:
macosx style app


--- NEW FILE: configure.jackosx.patch ---
Index: configure
===================================================================
RCS file: /cvsroot/pure-data/pd/src/configure,v
retrieving revision 1.4
diff -r1.4 configure
5996c5996
< # support for jack, on either linux or darwin:
---
> # support for jack on linux :
5999,6001c5999,6004
<     MORECFLAGS=$MORECFLAGS" -DUSEAPI_JACK"
<     SYSSRC=$SYSSRC" s_audio_jack.c"
<     LDFLAGS=$LDFLAGS" -lrt -ljack"
---
>     if test `uname -s` = Linux
>     then
>         MORECFLAGS=$MORECFLAGS" -DUSEAPI_JACK"
>         SYSSRC=$SYSSRC" s_audio_jack.c"
>         LDFLAGS=$LDFLAGS" -lrt -ljack"
>     fi

--- NEW FILE: makefile.in.patch ---
Index: makefile.in
===================================================================
RCS file: /cvsroot/pure-data/pd/src/makefile.in,v
retrieving revision 1.3
diff -r1.3 makefile.in
103,104c103,104
< 	/Library/Frameworks/Tk.framework/Versions/Current/Tk \
< 	/Library/Frameworks/Tcl.framework/Versions/Current/Tcl \
---
> 	/Applications/Utilities/Wish\ Shell.app/Contents/Frameworks/Tk.framework/Versions/Current/Tk \
> 	/Applications/Utilities/Wish\ Shell.app/Contents/Frameworks/Tcl.framework/Versions/Current/Tcl \

--- NEW FILE: u_main.tk.patch ---
Index: u_main.tk
===================================================================
RCS file: /cvsroot/pure-data/pd/src/u_main.tk,v
retrieving revision 1.3
diff -r1.3 u_main.tk
34,35c34,36
<     set pd_guidir $pd_gui2/..
<     load $pd_guidir/bin/pdtcl
---
>     # set pd_guidir $pd_gui2/..
>     # load $pd_guidir/bin/pdtcl
>     loadpdtcl
340a342
>     global tcl_platform
365,366c367,373
<     $mbar.help add command -label {Pure Documentation...} \
< 	-command {menu_documentation} 
---
>     if {$tcl_platform(os) != "Darwin"} {
>         $mbar.help add command -label {Pure Documentation...} \
> 	    -command {menu_documentation} 
>     } else {
>         $mbar.help add command -label {Pure Documentation...} \
>             -command {menu_doc_open doc/menus doc-menu.pd}
>     }

--- NEW FILE: s_audio_jack.patch ---
Index: s_audio_jack.c
===================================================================
RCS file: /cvsroot/pure-data/pd/src/s_audio_jack.c,v
retrieving revision 1.4
diff -r1.4 s_audio_jack.c
43c43,45
< 	
---
>         #ifdef MACOSX
>         jack_out_max = nframes;
>         #else	
45a48
>         #endif 

--- NEW FILE: unpatch ---
cd ../../../pd/src 
rm s_inter.c makefile.in u_main.tk s_audio_jack.c configure
cvs update s_inter.c makefile.in u_main.tk s_audio_jack.c configure

--- NEW FILE: socket.patch ---
Index: s_inter.c
===================================================================
RCS file: /cvsroot/pure-data/pd/src/s_inter.c,v
retrieving revision 1.4
diff -r1.4 s_inter.c
643a644,648
> #ifdef MACOSX
> 	if (setsockopt(xsock, SOL_SOCKET, SO_REUSEADDR,
> 				   &intarg, sizeof(intarg)) < 0)
> 		post("setsockopt (SO_REUSEADDR) failed\n");	
> #endif





More information about the Pd-cvs mailing list