diff options
author | Hans-Christoph Steiner <eighthave@users.sourceforge.net> | 2005-11-21 04:39:02 +0000 |
---|---|---|
committer | Hans-Christoph Steiner <eighthave@users.sourceforge.net> | 2005-11-21 04:39:02 +0000 |
commit | c67180156bb011ebe9a0524757052a28a6c62692 (patch) | |
tree | a0c3e3660a926a44c1254516338ac83cff0d05b2 /packages/patches/darwin/darwin_display_tweaks.patch | |
parent | 3382e067199abb3bb8fcb2044711910640a459c1 (diff) |
Lots of changes, got the first complete(-ish) build with the new extended
build system. I left as much of the old functionality in place as possible,
definitely were it was being used. But there are some changes that break
backwards compatibility, thought they should be noticed by few, and be easy to
fix going forward.
Some highlights:
- centralized patch system (packages/patches with targets patch_pd and
unpatch_pd)
- easily redirected builds, using INSTALL_PREFIX and all of the *_DEST
variables. This makes building packages like Pd.app, .deb, .rpm,
etc. much easier.
- libdir format: basically a libdir is a directory that has both the objects
and the help files together in one folder. It can be added using -lib or
the StartUp preferences, or you can access them via geiger namespaces,
i.e. [mylibrary/myobject].
- special characters allow in setup function/file names for objects. This
makes objects like [||~] possible without having to be in a library. Now
they can be either .pd files or individual .pd_darwin files (thanks
IOhannes for the patch).
svn path=/trunk/; revision=3993
Diffstat (limited to 'packages/patches/darwin/darwin_display_tweaks.patch')
-rw-r--r-- | packages/patches/darwin/darwin_display_tweaks.patch | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/packages/patches/darwin/darwin_display_tweaks.patch b/packages/patches/darwin/darwin_display_tweaks.patch new file mode 100644 index 00000000..59771854 --- /dev/null +++ b/packages/patches/darwin/darwin_display_tweaks.patch @@ -0,0 +1,33 @@ +--- ../../pd/src/u_main.tk Thu Jun 9 11:54:59 2005 ++++ build/Pd.app/Contents/Resources/bin/pd.tk Thu Jun 9 16:17:58 2005 +@@ -37,6 +37,12 @@ + if {$pd_nt == 2} { + # turn on James Tittle II's fast drawing (wait until I can test this...): + # set tk::mac::useCGDrawing 1 ++ # set minimun line size for anti-aliasing. If set to 1 or 0, then every ++ # line will be anti-aliased. While this makes connections and circles in ++ # [bng] and such look really good, it makes boxes and messages look out of ++ # focus. Setting this to 2 makes it so the thick audio rate connections ++ # are anti-aliased. <hans@at.or.at> 2005-06-09 ++ set tk::mac::CGAntialiasLimit 2 + global pd_guidir + global pd_tearoff + set pd_gui2 [string range $argv0 0 [expr [string last / $argv0 ] - 1]] +@@ -158,7 +164,7 @@ + + + frame .printout +-text .printout.text -relief raised -bd 2 -font -*-courier-bold--normal--12-* \ ++text .printout.text -relief raised -bd 2 -font { courier 12 } \ + -yscrollcommand ".printout.scroll set" -width 80 + # .printout.text insert end "\n\n\n\n\n\n\n\n\n\n" + scrollbar .printout.scroll -command ".printout.text yview" +@@ -337,7 +343,7 @@ + global pd_myversion + set name [format ".help%d" $doc_number] + toplevel $name +- text $name.text -relief raised -bd 2 -font -*-courier-bold--normal--12-* \ ++ text $name.text -relief raised -bd 2 -font { helvetica 14 } \ + -yscrollcommand "$name.scroll set" -background white + scrollbar $name.scroll -command "$name.text yview" + pack $name.scroll -side right -fill y |