Wireshark-commits: [Wireshark-commits] rev 50437: / /trunk-1.8/macosx-support-lib-patches/: portaud
Date: Sun, 07 Jul 2013 21:22:06 GMT
http://anonsvn.wireshark.org/viewvc/viewvc.cgi?view=rev&revision=50437

User: guy
Date: 2013/07/07 02:22 PM

Log:
 Copy over revisions from trunk:
 
   ------------------------------------------------------------------------
   r50425 | guy | 2013-07-06 16:00:56 -0700 (Sat, 06 Jul 2013) | 6 lines
   
   We need Cairo if we're building on 10.5 *or* if we're building *for*
   10.5 on a later OS.
   
   Fix the download path for libpng, and update the version to the
   currently-available version.
   
   ------------------------------------------------------------------------
   r50421 | guy | 2013-07-06 14:21:54 -0700 (Sat, 06 Jul 2013) | 2 lines
   
   Use consistent 4-space no-tab indentation.
   
   ------------------------------------------------------------------------
   r50418 | guy | 2013-07-06 12:32:07 -0700 (Sat, 06 Jul 2013) | 6 lines
   
   Don't install the GNU autotools on Snow Leopard and earlier; they were
   shipped with those versions of OS X, and I had some problems with the
   newer versions on Snow Leopard (the Makefile was doing weird stuff that
   caused build failures in wsutil, moving .Tlo files to .Plo files; I
   didn't investigate futher).
   
   ------------------------------------------------------------------------
   r50402 | guy | 2013-07-05 23:16:06 -0700 (Fri, 05 Jul 2013) | 7 lines
   
   Add a "-t <target>" flag to set the deployment target OS version; that
   causes a -mmacosx-version-min flag to be used, to keep the compiler and
   linker from using features not supported by that OS version, and causes
   the support libraries to be built against the SDK for that OS version,
   so they don't request library versions later than the one shipped with
   that version.
   
   ------------------------------------------------------------------------
   r50391 | guy | 2013-07-05 16:27:10 -0700 (Fri, 05 Jul 2013) | 2 lines
   
   Get rid of extra blank line.
   
   ------------------------------------------------------------------------
   r50390 | guy | 2013-07-05 16:26:15 -0700 (Fri, 05 Jul 2013) | 2 lines
   
   Add a -u flag to uninstall the support tools and libraries.
   
   ------------------------------------------------------------------------
   r50389 | guy | 2013-07-05 16:19:58 -0700 (Fri, 05 Jul 2013) | 7 lines
   
   LIBFFI_CFLAGS and LIBFFI_LIBS are defined only to suppress the attempt
   to run pkg-config to get their values; they should be set equal to the
   values that would be returned by pkg-config for libffi with the --cflags
   and --libs arguments, respectively.  They should *NOT* include the
   values of CFLAGS and LDFLAGS supplied in the environment; those should
   be handled separately.
   
   ------------------------------------------------------------------------
   r50383 | guy | 2013-07-04 16:16:23 -0700 (Thu, 04 Jul 2013) | 3 lines
   
   Use xcrun --show-sdk-path to find out where the system include files are
   hidden, rather than a "compile a program" hack.
   
   ------------------------------------------------------------------------
   r50196 | guy | 2013-06-27 12:14:41 -0700 (Thu, 27 Jun 2013) | 4 lines
   
   Actually, that's not a clang bug; my test case had a typo.  It's still a
   case where clang is complaining about code that's OK, it's just not OK
   in a way that lets clang determine that it is.
   
   ------------------------------------------------------------------------
   r50186 | guy | 2013-06-27 03:30:33 -0700 (Thu, 27 Jun 2013) | 5 lines
   
   Don't assume the system include files are under /usr/include; trick the
   compiler into saying where they are, and use that.
   
   Patch a bug in PortAudio pa_stable_v19_20111121 that clang found.
   
   ------------------------------------------------------------------------
   r50175 | guy | 2013-06-26 14:29:38 -0700 (Wed, 26 Jun 2013) | 5 lines
   
   Another clang issue to work around:
   
   libgcrypt expects gnu89-style semantics for "inline"; GCC defaults to
   gnu89, but clang defaults to gnu99.
   
   ------------------------------------------------------------------------
   r50174 | guy | 2013-06-26 12:38:47 -0700 (Wed, 26 Jun 2013) | 3 lines
   
   Suppress -Wformat-nonliteral when building GLib, to avoid a clang bug
   where it issues bogus warnings.
   
   ------------------------------------------------------------------------
   r50072 | guy | 2013-06-19 17:27:52 -0700 (Wed, 19 Jun 2013) | 5 lines
 
   Don't assume $(uname) works; it's not a standard Bourne shell feature,
   and we only assume a Bourne-compatible shell.
 
   It's "OS X", not "OsX".
 
   ------------------------------------------------------------------------
   r50070 | eapache | 2013-06-19 16:52:54 -0700 (Wed, 19 Jun 2013) | 8 lines
   
   From Dirk J via https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=8821
   
   if no make options are given to the macosx-setup.sh script by the user, the
   script sets the number of parallel make jobs to 1.5x CPU cores.
   
   Bonus enhancement: print the "export PKG_CONFIG_PATH" information in autogen.sh
   on OsX, so people don't have to remember it.
   
   ------------------------------------------------------------------------
   r49995 | gerald | 2013-06-17 16:30:56 -0700 (Mon, 17 Jun 2013) | 2 lines
   
   From Dirk Jagdmann via bug 7525: macosx-setup.sh improvements.
   
   ------------------------------------------------------------------------
   r49263 | tuexen | 2013-05-13 04:46:16 -0700 (Mon, 13 May 2013) | 4 lines
   
   Allow for building 32-bit versions of the libraries used by wireshark.
   This allows to build a 32-bit version of wireshark.
   
   
   ------------------------------------------------------------------------
   r48573 | tuexen | 2013-03-26 15:47:41 -0700 (Tue, 26 Mar 2013) | 2 lines
   
   Use more recent versions of various libs.
   
   ------------------------------------------------------------------------
   r47435 | guy | 2013-02-01 19:43:44 -0800 (Fri, 01 Feb 2013) | 4 lines
   
   Current version of pkg-config is 0.27.
   
   Update some comments.
   
   ------------------------------------------------------------------------
   r47207 | guy | 2013-01-21 22:10:05 -0800 (Mon, 21 Jan 2013) | 2 lines
   
   2.24.5 is not 2.24.25.  HTH.
   
   ------------------------------------------------------------------------
   r47206 | guy | 2013-01-21 21:07:23 -0800 (Mon, 21 Jan 2013) | 23 lines
   
   Rename MACOSX_VERSION to DARWIN_MAJOR_VERSION to reflect what it
   actually is (it's not an OS X version number, e.g. 10.7 for Leopard,
   it's a Darwin version number, e.g. 9 for Leopard).  Add comments before
   checks to indicate what we're checking for.
   
   Put in a big long comment giving details about the issues I ran into
   when trying to make this work on Leopard.
   
   Fail if you try to run this on anything before Snow Leopard - note that
   I said "trying" in the previous comment, and, yes, it was a very trying
   experience....
   
   Bump the libpng version - 1.5.12 isn't available any more.
   
   Add some comments explaining why the code for Leopard was downloading
   and installing libpng and libpixman.
   
   Add some code to handle packages where older versions weren't compressed
   with xz and newer versions were.
   
   Add a hack to avoid finding the version of libpng that comes with X11
   when trying to build Cairo on Leopard.
   
   ------------------------------------------------------------------------
   r44810 | guy | 2012-09-07 20:10:03 -0700 (Fri, 07 Sep 2012) | 3 lines
   
   Fix some issues that showed up when building on Mountain Lion, and
   update the README.macos file.
   
   ------------------------------------------------------------------------
   r44693 | guy | 2012-08-29 03:31:29 -0700 (Wed, 29 Aug 2012) | 5 lines
   
   At least with the version of Xcode that comes with Leopard,
   /usr/include/ffi/fficonfig.h doesn't define MACOSX, which causes the
   build of GLib to fail.  If we don't find "#define.*MACOSX" in
   /usr/include/ffi/fficonfig.h, explictly define it.
   
   ------------------------------------------------------------------------
   r44471 | guy | 2012-08-13 09:38:25 -0700 (Mon, 13 Aug 2012) | 3 lines
   
   Expand the "why we need to build Cairo in some cases" comment, and put
   it before the checks for whether to build Cairo.
   
   ------------------------------------------------------------------------
   r44468 | tuexen | 2012-08-13 04:54:37 -0700 (Mon, 13 Aug 2012) | 2 lines
   
   Build cairo on Leopard too.
   
   ------------------------------------------------------------------------
   r44467 | tuexen | 2012-08-13 04:51:32 -0700 (Mon, 13 Aug 2012) | 2 lines
   
   Update libpng version.
   
   ------------------------------------------------------------------------
   r44458 | guy | 2012-08-12 12:51:04 -0700 (Sun, 12 Aug 2012) | 2 lines
   
   Fix an apparently out-of-date comment.
   
   ------------------------------------------------------------------------
   r44457 | guy | 2012-08-12 12:32:46 -0700 (Sun, 12 Aug 2012) | 5 lines
   
   Patching configure.in files and regenerating them is a bag of hurt, as
   it can depend on, among other things, having the the relevant .pc files
   in one of the directories in PKG_CONFIG_PATH.  Instead, just don't
   request a fat build of PortAudio.
   
   ------------------------------------------------------------------------
   r44446 | guy | 2012-08-11 16:03:06 -0700 (Sat, 11 Aug 2012) | 3 lines
   
   Add some patches to make PortAudio build with the macosx-setup.sh
   script.
   
   ------------------------------------------------------------------------
   r43366 | jmayer | 2012-06-19 07:48:36 -0700 (Tue, 19 Jun 2012) | 2 lines
   
   Add a comment to prevent acidentally bumping lua version to 5.2 again.
   
   ------------------------------------------------------------------------
   r43358 | jmayer | 2012-06-19 06:31:49 -0700 (Tue, 19 Jun 2012) | 4 lines
   
   Downgrade Lua from 5.2.1 to 5.1.5: Lua 5.2 is API incompatible
   with Lua 5.1.
   Fixes https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=7373
   
   ------------------------------------------------------------------------
   r43306 | jmayer | 2012-06-17 05:07:46 -0700 (Sun, 17 Jun 2012) | 2 lines
   
   update lua 5.2.0 -> 5.2.1

Directory: /trunk-1.8/macosx-support-lib-patches/
  Changes    Path                             Action
  +11 -0     portaudio-pa_mac_core.c.patch    Added
  +11 -0     portaudio-pa_mac_core.h.patch    Added

Directory: /trunk-1.8/
  Changes    Path               Action
  +2 -0      Makefile.am        Modified
  +50 -30    README.macos       Modified
  +6 -1      autogen.sh         Modified
  +942 -273  macosx-setup.sh    Modified