Update of /cvsroot/pure-data/packages/darwin_app In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv11990
Modified Files: Makefile TODO Log Message:
- added pentium3 optimization flags on Intel Macs, since it highly unlikely to run on older hardware, and Apple only supports Pentium4 and above
- added /Applications link to dmg
Index: Makefile =================================================================== RCS file: /cvsroot/pure-data/packages/darwin_app/Makefile,v retrieving revision 1.64 retrieving revision 1.65 diff -C2 -d -r1.64 -r1.65 *** Makefile 6 Dec 2006 04:08:50 -0000 1.64 --- Makefile 11 Dec 2006 04:54:09 -0000 1.65 *************** *** 23,33 **** WISH_CONTENTS = "$(WISH)/Contents"
# base level optimizations OPT_CFLAGS = -Os -funroll-loops -fomit-frame-pointer
! # which CPU to compile for ! TARGET_PLATFORM := $(shell uname -p)
! # CPU-specific gleaned from http://developer.apple.com/releasenotes/DeveloperTools/GCC3.html # check this too: http://hpc.sourceforge.net/ # Generic PowerPC --- 23,44 ---- WISH_CONTENTS = "$(WISH)/Contents"
+ # which CPU to compile for + TARGET_PLATFORM := $(shell uname -p) + # base level optimizations OPT_CFLAGS = -Os -funroll-loops -fomit-frame-pointer
! # auto-vectorization in GCC 4.x (too buggy in 4.0, wait for 4.1) ! #OPT_CFLAGS += -ftree-vectorize -ftree-vectorizer-verbose=3
! ifeq ($(TARGET_PLATFORM),i386) ! OPT_CFLAGS += -march=pentium3 -msse -msse2 -mfpmath=sse ! endif ! ! ifeq ($(TARGET_PLATFORM),powerpc) ! # Package default, support older PowerPCs, but G4 (7450) is the most common ! OPT_CFLAGS += -mcpu=powerpc -mtune=7450 -mpowerpc-gfxopt ! ! # CPU-specific gleaned from http://developer.apple.com/releasenotes/DeveloperTools/RN-GCC4/ # check this too: http://hpc.sourceforge.net/ # Generic PowerPC *************** *** 38,51 **** #OPT_CFLAGS += -mcpu=7400 -faltivec -mpowerpc-gfxopt # PowerPC 7450 (G4 >= 533MHz) ! #OPT_CFLAGS += -fast -fPIC -mcpu=7450 -mtune=7450 -faltivec -ffast-math -mpowerpc-gfxopt # PowerPC G5 (gcc-3.3) #OPT_CFLAGS += -fast -fPIC -faltivec -mpowerpc-gpopt -mpowerpc-gfxopt - - # auto-vectorization would be nice: - # http://gcc.gnu.org/projects/tree-ssa/vectorization.html - - ifeq ($(TARGET_PLATFORM),powerpc) - # Package default, support older PowerPCs, but G4 (7450) is the most common - OPT_CFLAGS += -mcpu=powerpc -mtune=7450 -mpowerpc-gfxopt endif
--- 49,55 ---- #OPT_CFLAGS += -mcpu=7400 -faltivec -mpowerpc-gfxopt # PowerPC 7450 (G4 >= 533MHz) ! #OPT_CFLAGS += -fPIC -mcpu=7450 -mtune=7450 -fast -faltivec -ffast-math -mpowerpc-gfxopt # PowerPC G5 (gcc-3.3) #OPT_CFLAGS += -fast -fPIC -faltivec -mpowerpc-gpopt -mpowerpc-gfxopt endif
*************** *** 255,258 **** --- 259,264 ---- install -p -m0644 org.puredata.pd.plist "/Volumes/$(PACKAGE_NAME)" install -d "/Volumes/$(PACKAGE_NAME)/.imagefolder" + # add link to /Applications for easy install + cd "/Volumes/$(PACKAGE_NAME)/" && ln -s /Applications # background image will only show when the disk image is called "Pd-extended # the background image needs to be added to the .DS_Store to work *************** *** 278,282 ****
! distclean: clean $(MAKE) -C $(packages_src) $(DEST_PATHS) distclean
--- 284,288 ----
! distclean: package_clean $(MAKE) -C $(packages_src) $(DEST_PATHS) distclean
Index: TODO =================================================================== RCS file: /cvsroot/pure-data/packages/darwin_app/TODO,v retrieving revision 1.22 retrieving revision 1.23 diff -C2 -d -r1.22 -r1.23 *** TODO 27 Oct 2006 03:14:12 -0000 1.22 --- TODO 11 Dec 2006 04:54:09 -0000 1.23 *************** *** 23,36 **** - according to tigital, not all of the gui/ix deps are ported to Aqua...
- - - from Carmen Rocco about [fiddle~] crash: - "is fiddle~: - * compiled with the same header - * linked with the same binary of (lib)pd - * compiled with the same compiler? - i had very similar issues with bonk on windows (Virtually same stacktrace - but s/fiddle/bonk) until fixing the above 3 things..." - - - review permissions so that you can build on top on existing builds (its the Frameworks, just chmod -R +w after installingx) --- 23,26 ---- *************** *** 67,77 **** http://developer.apple.com/documentation/mac/runtimehtml/RTArch-43.html
- - ------------------------------------------------------------------------------ - semi-abandoned TODOs - - - instead of shipping Pd.app with a org.puredata.pd.plist, make a script that - uses the "defaults" command to add the desired prefs to any existing - file. (its a good idea, but unforunately, the key names prevent that from - working, i.e. loadlib1, loadlib2, etc) - --- 57,58 ----