Update of /cvsroot/pure-data/packages/win32_inno In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv7998/win32_inno
Modified Files: README.txt TODO pd-novideo.bat pd.bat Added Files: generate_inno_files.sh pd-inno.iss.in Removed Files: pd.iss Log Message: generated first Windows release, but using a Pd core compiled by miller. Compiling Pd on win is a massive pain in the butt. Some bug fixes
Index: pd.bat =================================================================== RCS file: /cvsroot/pure-data/packages/win32_inno/pd.bat,v retrieving revision 1.5 retrieving revision 1.6 diff -C2 -d -r1.5 -r1.6 *** pd.bat 24 Mar 2004 16:13:43 -0000 1.5 --- pd.bat 22 Nov 2005 21:38:20 -0000 1.6 *************** *** 1 **** ! "bin\pd.exe" -font 10 -path "doc\vasp" -lib cyclone -lib iem_t3_lib -lib iem_mp3 -lib mjLib -lib OSC -lib percolate -lib vasp -lib xeq -lib xsample -lib zexy -lib iemlib1 -lib iemlib2 -listdev %1 %2 %3 %4 %5 %6 %7 %8 %9 --- 1 ---- ! "bin\pd.exe" -font 10 -path "doc\vasp" -lib cyclone -lib Gem -lib OSC -lib vasp -lib xeq -lib xsample -listdev %1 %2 %3 %4 %5 %6 %7 %8 %9
Index: pd-novideo.bat =================================================================== RCS file: /cvsroot/pure-data/packages/win32_inno/pd-novideo.bat,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -d -r1.4 -r1.5 *** pd-novideo.bat 16 Mar 2004 03:52:31 -0000 1.4 --- pd-novideo.bat 22 Nov 2005 21:38:20 -0000 1.5 *************** *** 1 **** ! "bin\pd.exe" -font 10 -lib cyclone -lib iemlib1 -lib iemlib2 -lib iem_t3_lib -lib iem_mp3 -lib mjLib -lib OSC -lib percolate -lib xeq -lib xsample -lib zexy -listdev %1 %2 %3 %4 %5 %6 %7 %8 %9 --- 1 ---- ! "bin\pd.exe" -font 10 -lib cyclone -lib OSC -lib xeq -lib xsample -listdev %1 %2 %3 %4 %5 %6 %7 %8 %9
--- NEW FILE: generate_inno_files.sh --- #!/bin/sh
ROOT_DIR=build #ROOT_DIR="$INSTALL_PREFIX"
function print_dir() { SED=`echo "sed 's|${ROOT_DIR}/||'"` source=$1 dest=`echo $source | eval $SED ` echo "Source: ${source}/*.*; DestDir: {app}/$dest; Flags: ignoreversion" | \ sed 's|/|\|g' }
function traverse_tree() { my_dir_root="$1" # echo "ROOT: $my_dir_root" FILES=`ls -1d ${my_dir_root}/* | grep -v CVS` if [ "x$FILES" != "x" ]; then print_dir "$dir" for dir in $FILES; do test -d "$dir" && traverse_tree "$dir" done fi }
traverse_tree "${ROOT_DIR}"
Index: TODO =================================================================== RCS file: /cvsroot/pure-data/packages/win32_inno/TODO,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** TODO 21 Nov 2005 04:37:41 -0000 1.2 --- TODO 22 Nov 2005 21:38:20 -0000 1.3 *************** *** 1,3 **** --- 1,9 ----
+ - in generate-pd.inno.sh, don't add dirs with no files in them (doc, 7.stuff, etc). + + - fix PD_VERSION, the sed patterns aren't working + + - make Pd.exe using MinGW's "start.exe" like MacOSX's "open" + - figure out why MinGW-compiled "unauthorized" externals don't work
--- NEW FILE: pd-inno.iss.in --- ; ; ; This file is a template with packages/win32_inno/Makefile turns ; into a proper .iss ISTool/Inno Setup file. hans@at.or.at ; ;
[Setup] AppName=pd AppVerName=PACKAGE_NAME AppPublisher=pure-data.org AppPublisherURL=http://puredata.org AppSupportURL=http://puredata.org/community/lists/ AppUpdatesURL=http://puredata.org/downloads/ DefaultDirName={pf}\pd DefaultGroupName=Pure Data LicenseFile=....\externals\maxlib\LICENSE
Compression=zip/9 ChangesAssociations=true OutputBaseFilename=PACKAGE_NAME [Tasks] ; NOTE: The following entry contains English phrases ("Create a desktop icon" and "Additional icons"). You are free to translate them into another language if required. Name: desktopicon; Description: Create a &desktop icon; GroupDescription: Additional icons: ; NOTE: The following entry contains English phrases ("Create a Quick Launch icon" and "Additional icons"). You are free to translate them into another language if required. Name: quicklaunchicon; Description: Create a &Quick Launch icon; GroupDescription: Additional icons:; Flags: unchecked
[INI] Filename: {app}\pd.url; Section: InternetShortcut; Key: URL; String: http://puredata.org
[Icons] Name: {group}\Pure Data; Filename: {app}\bin\pd.exe; IconFilename: {app}\lib\pd.ico; IconIndex: 0; WorkingDir: {app} Name: {group}\puredata.org; Filename: {app}\pd.url Name: {group}\Uninstall Pure Data; Filename: {uninstallexe} Name: {userdesktop}\Pure Data; Filename: {app}\pd.exe; Tasks: desktopicon; IconFilename: {app}\lib\pd.ico; IconIndex: 0; WorkingDir: {app} Name: {userappdata}\Microsoft\Internet Explorer\Quick Launch\Pure Data; Filename: {app}\pd.exe; Tasks: quicklaunchicon; WorkingDir: {app}; IconFilename: {app}\lib\pd.ico; IconIndex: 0
;Name: {group}\Pure Data (no video); Filename: {app}\pd-novideo.bat; IconFilename: {app}\lib\pd.ico; IconIndex: 0; Tasks: quicklaunchicon desktopicon; WorkingDir: {app} Name: {group}\Documentation\Pd Manual; Filename: {app}\doc\1.manual\index.htm Name: {group}\Documentation\Pd Drums Tutorial; Filename: {app}\doc\tutorials\footils\pddrums\pddrums.html Name: {group}\Documentation\Gem Manual; Filename: {app}\doc\gem\00.manual\index.html Name: {group}\Documentation\Gem Primer; Filename: {app}\doc\gem\GemPrimer.pdf
[Run] ; NOTE: The following entry contains an English phrase ("Launch"). You are free to translate it into another language if required. Filename: {app}\pd.bat; Description: Launch Pure Data; Flags: nowait postinstall skipifsilent
[UninstallDelete] Type: files; Name: {app}\pd.url
[Registry] Root: HKCR; SubKey: Pure.Data; ValueType: dword; ValueName: EditFlags; ValueData: $00000000; Flags: noerror uninsdeletekey Root: HKCR; SubKey: Pure.Data; ValueType: dword; ValueName: BrowserFlags; ValueData: $00000008; Flags: uninsdeletekey noerror Root: HKCR; SubKey: Pure.Data; ValueType: string; ValueData: Pure Data; Flags: uninsdeletekey noerror Root: HKCR; SubKey: Pure.Data\DefaultIcon; ValueType: string; ValueData: {app}\lib\pdpatch.ico,0; Flags: createvalueifdoesntexist noerror Root: HKCR; SubKey: Pure.Data\shell; ValueType: string; ValueData: open; Flags: noerror uninsdeletekey Root: HKCR; SubKey: Pure.Data\shell\open\command; ValueType: string; ValueData: """{app}\bin\pd.exe"" -listdev ""%1"""; Flags: uninsdeletekey noerror Root: HKCR; SubKey: .pd; ValueType: string; ValueData: Pure.Data; Flags: noerror uninsdeletekey Root: HKCR; SubKey: .pd; ValueType: string; ValueName: Content Type; ValueData: text/plain; Flags: noerror uninsdeletekey
[_ISTool] Use7zip=false OutputExeFilename=Output\PACKAGE_NAME.exe
[Files] ; commented out lines have no files, so they give an error ; NOTE: Don't use "Flags: ignoreversion" on any shared system files ; ; ;----------------------------------------------------------------------------- ; packages\win32_inno Source: pdpatch.ico; DestDir: {app}\lib Source: pd.ico; DestDir: {app}\lib #ifexist "pd-nolibs.bat" Source: pd-nolibs.bat; DestDir: {app} #endif #ifexist "pd.bat" Source: pd.bat; DestDir: {app} #endif #ifexist "pd-novideo.bat" Source: pd-novideo.bat; DestDir: {app} #endif ; ; ;----------------------------------------------------------------------------- ; put pdsend and pdreceive in the System dir so that they are in the path ; Source: build\bin\pdsend.exe; DestDir: {sys}; Flags: confirmoverwrite Source: build\bin\pdreceive.exe; DestDir: {sys}; Flags: confirmoverwrite ; add Cyclone's cyclist.exe if it is present #ifexist "build\bin\cyclist.exe" Source: build\bin\cyclist.exe; DestDir: {sys}; Flags: confirmoverwrite #endif ; ; ;----------------------------------------------------------------------------- ; MinGW Files ; these are some helpful utilities from MinGW ; ; start.exe - like Mac OS X's 'open' command, allows you to open files and ; URLs from the command line ;Source: C:\msys\1.0\bin\start.exe; DestDir: {sys}; Flags: confirmoverwrite ; ; ;----------------------------------------------------------------------------- ; non CVS files ; #ifexist "noncvs\extra" Source: noncvs\extra*.dll; DestDir: {app}\extra #endif #ifexist "noncvs\doc\5.reference" Source: noncvs\doc\5.reference*.*; DestDir: {app}\doc\5.reference; Flags: ignoreversion #endif ; ; ;----------------------------------------------------------------------------- ; AUTO-GENERATED ; below this line should be blank since the rest of this file is generated ; by the packages/win32_inno/Makefile. hans@at.or.at ;
Index: README.txt =================================================================== RCS file: /cvsroot/pure-data/packages/win32_inno/README.txt,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -d -r1.4 -r1.5 *** README.txt 24 Mar 2004 16:13:43 -0000 1.4 --- README.txt 22 Nov 2005 21:38:20 -0000 1.5 *************** *** 1,30 ****
------------------------------------------------------------------------------ Software Requirements ------------------------------------------------------------------------------
Inno Setup - http://www.jrsoftware.org/isinfo.php ! This package is assembled using Inno Setup, check pd.iss for details.
ogg vorbis win32k SDK - Install into C:\ to make it work with the current Makefile
pthreads - ftp://sources.redhat.com/pub/pthreads-win32/ pthreads is a standard, cross-platform threading library used in the pd core and externals. You can use the version included with Pd.
Microsoft Visual Studio - ! Sad but true, Pd is free software, but you need some very unfree software ! to compile it on Windows. You need MS Visual Studio 6.0 or better.
------------------------------------------------------------------------------ ! Makefile ------------------------------------------------------------------------------
Currently, the Makefile.nmake only compiles the 'externals' collection. It can also compile flext if you manually check the flext config and uncomment ! things from the Makefile.nmake. Ideally, everything would be compiled and ! built from a Makefile using MinGW, so that only free software would be ! needed.
------------------------------------------------------------------------------ --- 1,54 ----
+ + Check this webpage for more build instructions: + http://puredata.org/docs/developer/mingw + ------------------------------------------------------------------------------ Software Requirements ------------------------------------------------------------------------------
+ MinGW + MinGW provides a free, complete build environment for Pd. + Inno Setup - http://www.jrsoftware.org/isinfo.php ! This package is assembled using Inno Setup, check pd.iss for details.
ogg vorbis win32k SDK - Install into C:\ to make it work with the current Makefile
+ Tcl/Tk + Compile for MinGW. + pthreads - ftp://sources.redhat.com/pub/pthreads-win32/ pthreads is a standard, cross-platform threading library used in the pd core and externals. You can use the version included with Pd.
+ MinGW/gcc + Pd is free software, and can be compiled using free tools. MinGW is the + preferred way of compiling Pd on Windows. + Microsoft Visual Studio - ! You can use MS Visual Studio 6.0 or better to compile Pd and some
------------------------------------------------------------------------------ ! MinGW Makefile ------------------------------------------------------------------------------
+ Since MinGW is the default build system, the file called "Makefile" is the + MinGW Makefile. TO compile: + + cd packages/win32_inno && make + + ------------------------------------------------------------------------------ + Microsoft Visual Studio Makefile + ------------------------------------------------------------------------------ + + You will need to do this to compile: + + nmake /f Makefile.nmake + Currently, the Makefile.nmake only compiles the 'externals' collection. It can also compile flext if you manually check the flext config and uncomment ! things from the Makefile.nmake.
------------------------------------------------------------------------------ *************** *** 76,79 **** --- 100,107 ---- make clean && make
+ ------------------------------------------------------------------------------ + non-CVS binaries + ------------------------------------------------------------------------------ + Binary Sources I Used (I haven't tested them all, I just downloaded them):
--- pd.iss DELETED ---