Revision: 10588
http://pure-data.svn.sourceforge.net/pure-data/?rev=10588&view=rev
Author: eighthave
Date: 2009-01-21 20:05:26 +0000 (Wed, 21 Jan 2009)
Log Message:
-----------
copied pd-extended-auto-builder.sh to this one and changed names to pd-devel
Modified Paths:
--------------
trunk/scripts/auto-build/pd-devel-auto-builder.sh
Modified: trunk/scripts/auto-build/pd-devel-auto-builder.sh
===================================================================
--- trunk/scripts/auto-build/pd-devel-auto-builder.sh 2009-01-21 18:31:35 UTC (rev 10587)
+++ trunk/scripts/auto-build/pd-devel-auto-builder.sh 2009-01-21 20:05:26 UTC (rev 10588)
@@ -1,34 +1,115 @@
#!/bin/sh
+# this script is the first attempt to have an automated updater and builder
# the source dir where this script is
+## this could be done more easily with ${0%/*}
SCRIPT_DIR=$(echo $0 | sed 's|\(.*\)/.*$|\1|')
. $SCRIPT_DIR/auto-build-common
# the name of this script
+## this could be done more easily with ${0##*/}
SCRIPT=$(echo $0| sed 's|.*/\(.*\)|\1|g')
+BUILD_DIR=.
case $SYSTEM in
- linux)
- echo "Configuring for GNU/Linux"
- ;;
- darwin)
- echo "Configuring for Darwin/Mac OS X"
- ;;
- mingw*)
- echo "Configuring for MinGW/Windows"
- ;;
- cygwin*)
- echo "Configuring for Cygwin/Windows"
- ;;
- *)
- echo "ERROR: Platform $SYSTEM not supported!"
- exit
- ;;
+ linux)
+ BUILD_DIR=linux_make
+ echo "Configuring to use $BUILD_DIR on GNU/Linux"
+ ;;
+ darwin)
+ BUILD_DIR=darwin_app
+ echo "Configuring to use $BUILD_DIR on Darwin/Mac OS X"
+ ;;
+ mingw*)
+ BUILD_DIR=win32_inno
+ echo "Configuring to use $BUILD_DIR on MinGW/Windows"
+ ;;
+ cygwin*)
+ BUILD_DIR=win32_inno
+ echo "Configuring to use $BUILD_DIR on Cygwin/Windows"
+ ;;
+ *)
+ echo "ERROR: Platform $SYSTEM not supported!"
+ exit
+ ;;
esac
+# convert into absolute path
+## shouldn't this use the ${SCRIPT_DIR} variable rather than call an external program?
+cd $(echo $0 | sed 's|\(.*\)/.*$|\1|')/../..
+auto_build_root_dir=$(pwd)
+echo "root: $auto_build_root_dir"
-echo "This currently does nothing, but it could..."
+# let rsync handle the cleanup with --delete
+case $SYSTEM in
+ mingw*)
+ /c/cygwin/bin/sh -c \
+ "rsync -a --delete rsync://128.238.56.50/distros/pd-devel/ ${auto_build_root_dir}/"
+ ;;
+ *)
+ rsync -a --delete rsync://128.238.56.50/distros/pd-devel/ ${auto_build_root_dir}/
+ ;;
+esac
-# if the below word prints, the status report email is not sent
-echo SUCCESS
+cd "${auto_build_root_dir}/packages/$BUILD_DIR"
+make -C "${auto_build_root_dir}/packages" set_version
+make test_locations
+mount
+make package_clean
+make install && make package
+
+
+upload_build ()
+{
+ platform_folder=$1
+ build_folder=$2
+ archive_format=$3
+
+ archive=$(ls -1 ${auto_build_root_dir}/packages/${platform_folder}/${build_folder}/Pd*.${archive_format} | tail -1)
+
+ echo "upload specs $1 $2 $3"
+ echo "Uploading $archive"
+ upload_filename=$(ls -1 ${archive} | sed "s|.*/\(.*\)\.${archive_format}|\1-${HOSTNAME}.${archive_format}|")
+ if [ -e ${archive} ]; then
+ case $SYSTEM in
+ mingw*)
+ /c/cygwin/bin/sh -c \
+ "rsync -a ${archive} rsync://128.238.56.50/upload/${DATE}/${upload_filename}" && \
+ md5sum ${archive} > ${archive}.md5 && \
+ /c/cygwin/bin/sh -c \
+ "rsync -a ${archive}.md5 rsync://128.238.56.50/upload/${DATE}/${upload_filename}.md5" && \
+ echo "successfully uploaded: ${upload_filename}" && \
+ echo SUCCESS
+ ;;
+ *)
+ rsync -a ${archive} rsync://128.238.56.50/upload/${DATE}/${upload_filename} && \
+ md5sum ${archive} > ${archive}.md5 && \
+ rsync -a ${archive}.md5 rsync://128.238.56.50/upload/${DATE}/${upload_filename}.md5 && \
+ echo "successfully uploaded: ${upload_filename}" && \
+ echo SUCCESS
+ ;;
+ esac
+ fi
+}
+
+
+case $SYSTEM in
+ linux)
+ if [ -x /usr/bin/dpkg-deb ]; then
+ upload_build linux_make . deb
+ else
+ upload_build linux_make build tar.bz2
+ fi
+ ;;
+ darwin)
+ upload_build darwin_app . dmg
+ ;;
+ mingw*)
+ upload_build win32_inno Output exe
+ ;;
+ cygwin*)
+ upload_build win32_inno Output exe
+ ;;
+esac
+
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
Revision: 10587
http://pure-data.svn.sourceforge.net/pure-data/?rev=10587&view=rev
Author: eighthave
Date: 2009-01-21 18:31:35 +0000 (Wed, 21 Jan 2009)
Log Message:
-----------
intercept kAEQuitApplication sent by hitting Cmd-Q so that it prompts before quitting. It still is a bit glitchy, sometimes you have to hit another key before it quits, but this is better than just quitting without asking anything
Modified Paths:
--------------
branches/pd-extended/0.41/pd/src/u_main.tk
Modified: branches/pd-extended/0.41/pd/src/u_main.tk
===================================================================
--- branches/pd-extended/0.41/pd/src/u_main.tk 2009-01-21 18:12:00 UTC (rev 10586)
+++ branches/pd-extended/0.41/pd/src/u_main.tk 2009-01-21 18:31:35 UTC (rev 10587)
@@ -357,6 +357,13 @@
# Intercept closing the main pd window: MP 20060413:
wm protocol . WM_DELETE_WINDOW menu_quit
+
+# intercept kAEQuitApplication from Cmd-Q
+proc ::tk::mac::Quit {} {
+ puts stderr "::tk::mac::Quit"
+ menu_quit
+}
+
############### set up global variables ################################
set untitled_number 1
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
Revision: 10586
http://pure-data.svn.sourceforge.net/pure-data/?rev=10586&view=rev
Author: eighthave
Date: 2009-01-21 18:12:00 +0000 (Wed, 21 Jan 2009)
Log Message:
-----------
added todo items from emails and some Tk research
Modified Paths:
--------------
branches/pd-devel/0.41.4/devel_doc/TODO
Modified: branches/pd-devel/0.41.4/devel_doc/TODO
===================================================================
--- branches/pd-devel/0.41.4/devel_doc/TODO 2009-01-21 18:11:22 UTC (rev 10585)
+++ branches/pd-devel/0.41.4/devel_doc/TODO 2009-01-21 18:12:00 UTC (rev 10586)
@@ -1,2 +1,25 @@
+
+program structure
+-----------------
+[ ] performance testing to make sure the Tcl networking is up to snuff
+[ ] overall naming/organization scheme for variables, functions, and packages
+[ ] implement checking to see if another Pd is already running follwoing this code example: http://tcl.tk/man/tcl8.4/TkCmd/send.htm
+
+
+gui logic
+---------
[ ] figure out Undo/Redo/Cut/Copy/Paste state changes for menus
[ ] figure out parent window/window list for Window menu
+[ ] canvas scrollbar logic
+[ ] flash menu when accelerator hits (i.e. flash Edit when Ctrl-E)
+
+
+panels
+------
+[ ] find panel
+[ ] send message panel
+[ ] restructure Pd window for cleaner UI and code
+[ ] unified preference panel with tabs (like standard on GNOME, Mac OS X, Win)
+[ ] help browser
+[ ] wm attributes -topmost for panels like Find, message
+[ ] MacWindowStyle for panels: http://wiki.tcl.tk/13428
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
Revision: 10585
http://pure-data.svn.sourceforge.net/pure-data/?rev=10585&view=rev
Author: eighthave
Date: 2009-01-21 18:11:22 +0000 (Wed, 21 Jan 2009)
Log Message:
-----------
removed crufty ancient TODO files and moved a couple still-relevant notes to more appropriate places
Removed Paths:
-------------
trunk/packages/TODO
trunk/packages/darwin_app/TODO
trunk/packages/linux_make/TODO
trunk/packages/win32_inno/TODO
Deleted: trunk/packages/TODO
===================================================================
--- trunk/packages/TODO 2009-01-21 17:39:56 UTC (rev 10584)
+++ trunk/packages/TODO 2009-01-21 18:11:22 UTC (rev 10585)
@@ -1,39 +0,0 @@
-
-- make a web page that has stuff that can't be included due to license and
- patent issues: (percolate, mp3, mpeg2, mpeg4, etc)
-
-- make all of pd/src/x_*.c into a standalone library that is optionally loaded
- by Pd. Then these objects can be placed into the namespace.
-
-
-- allow DESTDIR to be a relative path
-
-
-- document generate-libdir-metafile.sh
-
-
-- rm "configure" on distclean
-
-
-- output the compilation flags to the resulting package so that different
- builds with the same name can be distinguished
-
-- global optimization flags
- ideally, you would use a version of Pd that is fully optimized for your
- CPU. In order to do this, a system of optimization flags needs to be
- developed so that you can specific the target CPU in one place and have
- everything compile for that CPU.
-
-
-- make standard targets: distclean (*~, etc.), uninstall instead of install_clean
-
-
-- adding flext (from tgrill) "you could take the templates, *.def in the
- buildsys hierarchy from which the original config*.txt files are
- generated. These don't make assumptions about CPU etc. and should therefore
- be portable"
-
-
-- Preferences
-
- - look at BBogart's LML http://www.ekran.org/ben/research/lml/lml-v0.1-TEST8-osx.tgz
Deleted: trunk/packages/darwin_app/TODO
===================================================================
--- trunk/packages/darwin_app/TODO 2009-01-21 17:39:56 UTC (rev 10584)
+++ trunk/packages/darwin_app/TODO 2009-01-21 18:11:22 UTC (rev 10585)
@@ -1,32 +0,0 @@
-
-
-- check code to make it all use single-precision/libmx functions on Mac OSX.
-
-- review permissions so that you can build on top on existing builds (its the
- Frameworks, just chmod -R +w after installingx)
-
-
-- add standard paths to included org.puredata.pd.plist following these
- guidelines:
-http://developer.apple.com/documentation/MacOSX/Conceptual/BPFileSystem/Articles/WhereToPutFiles.html
-
-
-- try this for the Pref Pane:
- kAEShowPreferences ::tk::mac::ShowPreferences
-
-
-- redo menu system
- - research Tk + "Custom MDEF" for menus
- - the menus are the same for all windows
- - instead of hiding menus, grey-out/disable menu items on Pd window
- - one method for creating all menus
- - Pd window has method which disables menus
- - flash menu when accelerator hits
- - fix edit mode menu item (make it a checkbox or change to "play mode"
-
-
-- Pd should then test to see if Jack is available before switching to it,
- otherwise it'll just crash. Here's apple's method of testing:
-
- http://developer.apple.com/documentation/mac/runtimehtml/RTArch-43.html
-
Deleted: trunk/packages/linux_make/TODO
===================================================================
--- trunk/packages/linux_make/TODO 2009-01-21 17:39:56 UTC (rev 10584)
+++ trunk/packages/linux_make/TODO 2009-01-21 18:11:22 UTC (rev 10585)
@@ -1,5 +0,0 @@
-
-- compile Pd with Jack and ALSA
-
-- fix $ escaping in the generated install Makefile
-
Deleted: trunk/packages/win32_inno/TODO
===================================================================
--- trunk/packages/win32_inno/TODO 2009-01-21 17:39:56 UTC (rev 10584)
+++ trunk/packages/win32_inno/TODO 2009-01-21 18:11:22 UTC (rev 10585)
@@ -1,26 +0,0 @@
-
-- test 7zip format for the installer packages, make sure it'll run on all
- platforms. Its better to use 7zip since its smaller, and its free.
-
-
-- make things compile in Cygwin's MinGW environment (then things can be
- compiled from an ssh session)
-
-
-- switch to Martin Peach's menu_openhtml patch, it handles names with spaces
- better (i.e. replace openhtml_win32_fix-0.39-2.patch)
-
-
-- make DLLs install into %SystemRoot%\system32 instead of %ProgramFiles%\pd\bin
-
-
-- check out using env vars in Path settings in registry, or make relative
- paths (I checked, you can't use env vars in the path or loadlib
- settings... arg, this should be implemented)
-
-
-- get Windows Makefiles for Gem
-
-
-- make gripd compile from source (then we don't need to include pthreadVC.dll
- from Miller's pd package, and other hacks)
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
ERROR: module is write only
rsync error: syntax or usage error (code 1) at main.c(641) [sender=2.6.9]
rsync error: error in rsync protocol data stream (code 12) at /SourceCache/rsync/rsync-35.2/rsync/io.c(452) [receiver=2.6.9]
the full logfile - if it has been succesfully uploaded - can be viewed at:
http://autobuild.puredata.info/auto-build/2009-01-20/logs/2009-01-20_10.43.…