<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
"http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head><meta http-equiv="content-type" content="text/html; charset=utf-8" />
<title>[117553] trunk/dports/multimedia/libvpx</title>
</head>
<body>
<style type="text/css"><!--
#msg dl.meta { border: 1px #006 solid; background: #369; padding: 6px; color: #fff; }
#msg dl.meta dt { float: left; width: 6em; font-weight: bold; }
#msg dt:after { content:':';}
#msg dl, #msg dt, #msg ul, #msg li, #header, #footer, #logmsg { font-family: verdana,arial,helvetica,sans-serif; font-size: 10pt; }
#msg dl a { font-weight: bold}
#msg dl a:link { color:#fc3; }
#msg dl a:active { color:#ff0; }
#msg dl a:visited { color:#cc6; }
h3 { font-family: verdana,arial,helvetica,sans-serif; font-size: 10pt; font-weight: bold; }
#msg pre { overflow: auto; background: #ffc; border: 1px #fa0 solid; padding: 6px; }
#logmsg { background: #ffc; border: 1px #fa0 solid; padding: 1em 1em 0 1em; }
#logmsg p, #logmsg pre, #logmsg blockquote { margin: 0 0 1em 0; }
#logmsg p, #logmsg li, #logmsg dt, #logmsg dd { line-height: 14pt; }
#logmsg h1, #logmsg h2, #logmsg h3, #logmsg h4, #logmsg h5, #logmsg h6 { margin: .5em 0; }
#logmsg h1:first-child, #logmsg h2:first-child, #logmsg h3:first-child, #logmsg h4:first-child, #logmsg h5:first-child, #logmsg h6:first-child { margin-top: 0; }
#logmsg ul, #logmsg ol { padding: 0; list-style-position: inside; margin: 0 0 0 1em; }
#logmsg ul { text-indent: -1em; padding-left: 1em; }#logmsg ol { text-indent: -1.5em; padding-left: 1.5em; }
#logmsg > ul, #logmsg > ol { margin: 0 0 1em 0; }
#logmsg pre { background: #eee; padding: 1em; }
#logmsg blockquote { border: 1px solid #fa0; border-left-width: 10px; padding: 1em 1em 0 1em; background: white;}
#logmsg dl { margin: 0; }
#logmsg dt { font-weight: bold; }
#logmsg dd { margin: 0; padding: 0 0 0.5em 0; }
#logmsg dd:before { content:'\00bb';}
#logmsg table { border-spacing: 0px; border-collapse: collapse; border-top: 4px solid #fa0; border-bottom: 1px solid #fa0; background: #fff; }
#logmsg table th { text-align: left; font-weight: normal; padding: 0.2em 0.5em; border-top: 1px dotted #fa0; }
#logmsg table td { text-align: right; border-top: 1px dotted #fa0; padding: 0.2em 0.5em; }
#logmsg table thead th { text-align: center; border-bottom: 1px solid #fa0; }
#logmsg table th.Corner { text-align: left; }
#logmsg hr { border: none 0; border-top: 2px dashed #fa0; height: 1px; }
#header, #footer { color: #fff; background: #636; border: 1px #300 solid; padding: 6px; }
#patch { width: 100%; }
#patch h4 {font-family: verdana,arial,helvetica,sans-serif;font-size:10pt;padding:8px;background:#369;color:#fff;margin:0;}
#patch .propset h4, #patch .binary h4 {margin:0;}
#patch pre {padding:0;line-height:1.2em;margin:0;}
#patch .diff {width:100%;background:#eee;padding: 0 0 10px 0;overflow:auto;}
#patch .propset .diff, #patch .binary .diff {padding:10px 0;}
#patch span {display:block;padding:0 10px;}
#patch .modfile, #patch .addfile, #patch .delfile, #patch .propset, #patch .binary, #patch .copfile {border:1px solid #ccc;margin:10px 0;}
#patch ins {background:#dfd;text-decoration:none;display:block;padding:0 10px;}
#patch del {background:#fdd;text-decoration:none;display:block;padding:0 10px;}
#patch .lines, .info {color:#888;background:#fff;}
--></style>
<div id="msg">
<dl class="meta">
<dt>Revision</dt> <dd><a href="https://trac.macports.org/changeset/117553">117553</a></dd>
<dt>Author</dt> <dd>devans@macports.org</dd>
<dt>Date</dt> <dd>2014-03-03 08:52:46 -0800 (Mon, 03 Mar 2014)</dd>
</dl>
<h3>Log Message</h3>
<pre>libvpx: assume maintainership, explicitly enable vp9 codec and rebuild, remove unnecessary post-extract phase, reorganize patchfiles, description, license, comments.</pre>
<h3>Modified Paths</h3>
<ul>
<li><a href="#trunkdportsmultimedialibvpxPortfile">trunk/dports/multimedia/libvpx/Portfile</a></li>
<li><a href="#trunkdportsmultimedialibvpxfilespatchbuildmakeconfigureshdiff">trunk/dports/multimedia/libvpx/files/patch-build-make-configure.sh.diff</a></li>
</ul>
<h3>Added Paths</h3>
<ul>
<li><a href="#trunkdportsmultimedialibvpxfilespatchconfigurediff">trunk/dports/multimedia/libvpx/files/patch-configure.diff</a></li>
</ul>
<h3>Removed Paths</h3>
<ul>
<li><a href="#trunkdportsmultimedialibvpxfilesconfigurepatch">trunk/dports/multimedia/libvpx/files/configure.patch</a></li>
</ul>
</div>
<div id="patch">
<h3>Diff</h3>
<a id="trunkdportsmultimedialibvpxPortfile"></a>
<div class="modfile"><h4>Modified: trunk/dports/multimedia/libvpx/Portfile (117552 => 117553)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/dports/multimedia/libvpx/Portfile        2014-03-03 16:50:52 UTC (rev 117552)
+++ trunk/dports/multimedia/libvpx/Portfile        2014-03-03 16:52:46 UTC (rev 117553)
</span><span class="lines">@@ -6,13 +6,21 @@
</span><span class="cx">
</span><span class="cx"> name libvpx
</span><span class="cx"> version 1.3.0
</span><ins>+revision 1
</ins><span class="cx"> categories multimedia
</span><del>-maintainers nomaintainer
</del><ins>+maintainers devans openmaintainer
</ins><span class="cx"> platforms darwin
</span><del>-license BSD
</del><ins>+license Permissive
</ins><span class="cx">
</span><del>-description VP8 video codec
-long_description VP8 is a highly efficient video compression technology.
</del><ins>+description WebM VP8/VP9 Codec SDK
+long_description The WebM VP8/VP9 codecs are being developed \
+ specifically to meet the demand for the consumption \
+ of video over the Internet, including professionally \
+ and amateur produced video-on-demand and conversational \
+ video content. VP9 is an evolution of the VP8 video \
+ codec and includes a number of enhancements and new \
+ coding tools that have been added to improve coding efficiency. \
+ The VP9 encoder in this release is not, as yet, feature complete.
</ins><span class="cx">
</span><span class="cx"> homepage http://webmproject.org
</span><span class="cx"> master_sites googlecode:webm
</span><span class="lines">@@ -24,28 +32,13 @@
</span><span class="cx">
</span><span class="cx"> depends_build port:yasm
</span><span class="cx">
</span><del>-post-extract {
- # Fix incorrect permissions in 1.2.0 tarball
- # causing files to be installed unreadably
- # causing other ports needing libvpx to fail to find it.
- # http://code.google.com/p/webm/issues/detail?id=644
- fs-traverse item ${worksrcpath} {
- if {[file isfile ${item}]} {
- file attributes ${item} -permissions a+r
- }
- }
-}
</del><ins>+patchfiles patch-build-make-configure.sh.diff \
+ patch-configure.diff
</ins><span class="cx">
</span><del>-# patches for: 10.6; correct "universal" arch default selection; 'sed' scripts.
-patchfiles patch-build-make-configure.sh.diff
-
-# Use the correct SDK
-patchfiles-append configure.patch
-
-
-# As of 0.9.1: doesn't handle shared libraries or debug properly on darwin;
</del><ins>+# As of 1.3.0: doesn't handle shared libraries or debug properly on darwin;
</ins><span class="cx"> # doesn't install docs or examples correctly, so disable them.
</span><span class="cx"> configure.args --enable-vp8 \
</span><ins>+ --enable-vp9 \
</ins><span class="cx"> --enable-internal-stats \
</span><span class="cx"> --enable-pic \
</span><span class="cx"> --enable-postproc \
</span><span class="lines">@@ -108,4 +101,3 @@
</span><span class="cx"> configure.args-append --target=${os.arch}-${os.platform}-gcc
</span><span class="cx"> }
</span><span class="cx"> }
</span><del>-
</del></span></pre></div>
<a id="trunkdportsmultimedialibvpxfilesconfigurepatch"></a>
<div class="delfile"><h4>Deleted: trunk/dports/multimedia/libvpx/files/configure.patch (117552 => 117553)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/dports/multimedia/libvpx/files/configure.patch        2014-03-03 16:50:52 UTC (rev 117552)
+++ trunk/dports/multimedia/libvpx/files/configure.patch        2014-03-03 16:52:46 UTC (rev 117553)
</span><span class="lines">@@ -1,131 +0,0 @@
</span><del>---- build/make/configure.sh.orig        2014-03-01 22:40:51.000000000 +0100
-+++ build/make/configure.sh        2014-03-01 22:45:39.000000000 +0100
-@@ -634,25 +634,13 @@
-
- # detect tgt_os
- case "$gcctarget" in
-- *darwin8*)
-+ *darwin[89]*)
- tgt_isa=universal
-- tgt_os=darwin8
-+ tgt_os=darwin
- ;;
-- *darwin9*)
-- tgt_isa=universal
-- tgt_os=darwin9
-- ;;
-- *darwin10*)
-- tgt_isa=x86_64
-- tgt_os=darwin10
-- ;;
-- *darwin11*)
-- tgt_isa=x86_64
-- tgt_os=darwin11
-- ;;
-- *darwin12*)
-+ *darwin*)
- tgt_isa=x86_64
-- tgt_os=darwin12
-+ tgt_os=darwin
- ;;
- *darwin13*)
- tgt_isa=x86_64
-@@ -709,59 +697,6 @@
- # PIC is probably what we want when building shared libs
- enabled shared && soft_enable pic
-
-- # Handle darwin variants. Newer SDKs allow targeting older
-- # platforms, so find the newest SDK available.
-- case ${toolchain} in
-- *-darwin*)
-- if [ -z "${DEVELOPER_DIR}" ]; then
-- DEVELOPER_DIR=`xcode-select -print-path 2> /dev/null`
-- [ $? -ne 0 ] && OSX_SKIP_DIR_CHECK=1
-- fi
-- if [ -z "${OSX_SKIP_DIR_CHECK}" ]; then
-- OSX_SDK_ROOTS="${DEVELOPER_DIR}/SDKs"
-- OSX_SDK_VERSIONS="MacOSX10.4u.sdk MacOSX10.5.sdk MacOSX10.6.sdk"
-- OSX_SDK_VERSIONS="${OSX_SDK_VERSIONS} MacOSX10.7.sdk"
-- for v in ${OSX_SDK_VERSIONS}; do
-- if [ -d "${OSX_SDK_ROOTS}/${v}" ]; then
-- osx_sdk_dir="${OSX_SDK_ROOTS}/${v}"
-- fi
-- done
-- fi
-- ;;
-- esac
--
-- if [ -d "${osx_sdk_dir}" ]; then
-- add_cflags "-isysroot ${osx_sdk_dir}"
-- add_ldflags "-isysroot ${osx_sdk_dir}"
-- fi
--
-- case ${toolchain} in
-- *-darwin8-*)
-- add_cflags "-mmacosx-version-min=10.4"
-- add_ldflags "-mmacosx-version-min=10.4"
-- ;;
-- *-darwin9-*)
-- add_cflags "-mmacosx-version-min=10.5"
-- add_ldflags "-mmacosx-version-min=10.5"
-- ;;
-- *-darwin10-*)
-- add_cflags "-mmacosx-version-min=10.6"
-- add_ldflags "-mmacosx-version-min=10.6"
-- ;;
-- *-darwin11-*)
-- add_cflags "-mmacosx-version-min=10.7"
-- add_ldflags "-mmacosx-version-min=10.7"
-- ;;
-- *-darwin12-*)
-- add_cflags "-mmacosx-version-min=10.8"
-- add_ldflags "-mmacosx-version-min=10.8"
-- ;;
-- *-darwin13-*)
-- add_cflags "-mmacosx-version-min=10.9"
-- add_ldflags "-mmacosx-version-min=10.9"
-- ;;
-- esac
--
- # Handle Solaris variants. Solaris 10 needs -lposix4
- case ${toolchain} in
- sparc-solaris-*)
---- configure.orig        2014-01-10 21:12:42.000000000 +0100
-+++ configure        2014-03-01 22:47:49.000000000 +0100
-@@ -102,14 +102,18 @@
- all_platforms="${all_platforms} armv7-win32-vs11"
- all_platforms="${all_platforms} armv7-win32-vs12"
- all_platforms="${all_platforms} mips32-linux-gcc"
-+all_platforms="${all_platforms} ppc32-darwin-gcc"
- all_platforms="${all_platforms} ppc32-darwin8-gcc"
- all_platforms="${all_platforms} ppc32-darwin9-gcc"
- all_platforms="${all_platforms} ppc32-linux-gcc"
-+all_platforms="${all_platforms} ppc64-darwin-gcc"
- all_platforms="${all_platforms} ppc64-darwin8-gcc"
- all_platforms="${all_platforms} ppc64-darwin9-gcc"
- all_platforms="${all_platforms} ppc64-linux-gcc"
- all_platforms="${all_platforms} sparc-solaris-gcc"
- all_platforms="${all_platforms} x86-android-gcc"
-+all_platforms="${all_platforms} x86-darwin-gcc"
-+all_platforms="${all_platforms} x86-darwin-clang"
- all_platforms="${all_platforms} x86-darwin8-gcc"
- all_platforms="${all_platforms} x86-darwin8-icc"
- all_platforms="${all_platforms} x86-darwin9-gcc"
-@@ -129,6 +133,8 @@
- all_platforms="${all_platforms} x86-win32-vs10"
- all_platforms="${all_platforms} x86-win32-vs11"
- all_platforms="${all_platforms} x86-win32-vs12"
-+all_platforms="${all_platforms} x86_64-darwin-gcc"
-+all_platforms="${all_platforms} x86_64-darwin-clang"
- all_platforms="${all_platforms} x86_64-darwin9-gcc"
- all_platforms="${all_platforms} x86_64-darwin10-gcc"
- all_platforms="${all_platforms} x86_64-darwin11-gcc"
-@@ -143,6 +149,8 @@
- all_platforms="${all_platforms} x86_64-win64-vs10"
- all_platforms="${all_platforms} x86_64-win64-vs11"
- all_platforms="${all_platforms} x86_64-win64-vs12"
-+all_platforms="${all_platforms} universal-darwin-gcc"
-+all_platforms="${all_platforms} universal-darwin-clang"
- all_platforms="${all_platforms} universal-darwin8-gcc"
- all_platforms="${all_platforms} universal-darwin9-gcc"
- all_platforms="${all_platforms} universal-darwin10-gcc"
</del></span></pre></div>
<a id="trunkdportsmultimedialibvpxfilespatchbuildmakeconfigureshdiff"></a>
<div class="modfile"><h4>Modified: trunk/dports/multimedia/libvpx/files/patch-build-make-configure.sh.diff (117552 => 117553)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/dports/multimedia/libvpx/files/patch-build-make-configure.sh.diff        2014-03-03 16:50:52 UTC (rev 117552)
+++ trunk/dports/multimedia/libvpx/files/patch-build-make-configure.sh.diff        2014-03-03 16:52:46 UTC (rev 117553)
</span><span class="lines">@@ -1,15 +1,109 @@
</span><del>---- build/make/configure.sh.orig        2014-03-01 22:40:06.000000000 +0100
-+++ build/make/configure.sh        2014-03-01 22:40:16.000000000 +0100
</del><ins>+--- build/make/configure.sh.orig        2014-03-01 21:31:44.000000000 -0800
++++ build/make/configure.sh        2014-03-01 21:38:15.000000000 -0800
</ins><span class="cx"> @@ -442,10 +442,10 @@
</span><span class="cx"> EOF
</span><span class="cx">
</span><span class="cx"> if enabled rvct; then cat >> $1 << EOF
</span><span class="cx"> -fmt_deps = sed -e 's;^__image.axf;\${@:.d=.o} \$@;' #hide
</span><del>-+fmt_deps = sed -e 's;^__image.axf\$\$;\${@:.d=.o} \$@;' #hide
</del><ins>++fmt_deps = sed -e 's;^__image.axf;\$\${@:.d=.o} \$@;' #hide
</ins><span class="cx"> EOF
</span><span class="cx"> else cat >> $1 << EOF
</span><span class="cx"> -fmt_deps = sed -e 's;^\([a-zA-Z0-9_]*\)\.o;\${@:.d=.o} \$@;'
</span><del>-+fmt_deps = sed -e 's;^\([a-zA-Z0-9_]*\)\.o\$\$;\${@:.d=.o} \$@;'
</del><ins>++fmt_deps = sed -e 's;^\([a-zA-Z0-9_]*\)\.o;\$\${@:.d=.o} \$@;'
</ins><span class="cx"> EOF
</span><span class="cx"> fi
</span><span class="cx">
</span><ins>+@@ -634,29 +634,13 @@
+
+ # detect tgt_os
+ case "$gcctarget" in
+- *darwin8*)
++ *darwin[89]*)
+ tgt_isa=universal
+- tgt_os=darwin8
++ tgt_os=darwin
+ ;;
+- *darwin9*)
+- tgt_isa=universal
+- tgt_os=darwin9
+- ;;
+- *darwin10*)
+- tgt_isa=x86_64
+- tgt_os=darwin10
+- ;;
+- *darwin11*)
+- tgt_isa=x86_64
+- tgt_os=darwin11
+- ;;
+- *darwin12*)
++ *darwin*)
+ tgt_isa=x86_64
+- tgt_os=darwin12
+- ;;
+- *darwin13*)
+- tgt_isa=x86_64
+- tgt_os=darwin13
++ tgt_os=darwin
+ ;;
+ x86_64*mingw32*)
+ tgt_os=win64
+@@ -709,59 +693,6 @@
+ # PIC is probably what we want when building shared libs
+ enabled shared && soft_enable pic
+
+- # Handle darwin variants. Newer SDKs allow targeting older
+- # platforms, so find the newest SDK available.
+- case ${toolchain} in
+- *-darwin*)
+- if [ -z "${DEVELOPER_DIR}" ]; then
+- DEVELOPER_DIR=`xcode-select -print-path 2> /dev/null`
+- [ $? -ne 0 ] && OSX_SKIP_DIR_CHECK=1
+- fi
+- if [ -z "${OSX_SKIP_DIR_CHECK}" ]; then
+- OSX_SDK_ROOTS="${DEVELOPER_DIR}/SDKs"
+- OSX_SDK_VERSIONS="MacOSX10.4u.sdk MacOSX10.5.sdk MacOSX10.6.sdk"
+- OSX_SDK_VERSIONS="${OSX_SDK_VERSIONS} MacOSX10.7.sdk"
+- for v in ${OSX_SDK_VERSIONS}; do
+- if [ -d "${OSX_SDK_ROOTS}/${v}" ]; then
+- osx_sdk_dir="${OSX_SDK_ROOTS}/${v}"
+- fi
+- done
+- fi
+- ;;
+- esac
+-
+- if [ -d "${osx_sdk_dir}" ]; then
+- add_cflags "-isysroot ${osx_sdk_dir}"
+- add_ldflags "-isysroot ${osx_sdk_dir}"
+- fi
+-
+- case ${toolchain} in
+- *-darwin8-*)
+- add_cflags "-mmacosx-version-min=10.4"
+- add_ldflags "-mmacosx-version-min=10.4"
+- ;;
+- *-darwin9-*)
+- add_cflags "-mmacosx-version-min=10.5"
+- add_ldflags "-mmacosx-version-min=10.5"
+- ;;
+- *-darwin10-*)
+- add_cflags "-mmacosx-version-min=10.6"
+- add_ldflags "-mmacosx-version-min=10.6"
+- ;;
+- *-darwin11-*)
+- add_cflags "-mmacosx-version-min=10.7"
+- add_ldflags "-mmacosx-version-min=10.7"
+- ;;
+- *-darwin12-*)
+- add_cflags "-mmacosx-version-min=10.8"
+- add_ldflags "-mmacosx-version-min=10.8"
+- ;;
+- *-darwin13-*)
+- add_cflags "-mmacosx-version-min=10.9"
+- add_ldflags "-mmacosx-version-min=10.9"
+- ;;
+- esac
+-
+ # Handle Solaris variants. Solaris 10 needs -lposix4
+ case ${toolchain} in
+ sparc-solaris-*)
</ins></span></pre></div>
<a id="trunkdportsmultimedialibvpxfilespatchconfigurediff"></a>
<div class="addfile"><h4>Added: trunk/dports/multimedia/libvpx/files/patch-configure.diff (0 => 117553)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/dports/multimedia/libvpx/files/patch-configure.diff         (rev 0)
+++ trunk/dports/multimedia/libvpx/files/patch-configure.diff        2014-03-03 16:52:46 UTC (rev 117553)
</span><span class="lines">@@ -0,0 +1,41 @@
</span><ins>+--- configure.orig        2014-01-10 12:12:42.000000000 -0800
++++ configure        2014-03-01 21:48:09.000000000 -0800
+@@ -104,9 +104,11 @@
+ all_platforms="${all_platforms} mips32-linux-gcc"
+ all_platforms="${all_platforms} ppc32-darwin8-gcc"
+ all_platforms="${all_platforms} ppc32-darwin9-gcc"
++all_platforms="${all_platforms} ppc32-darwin-gcc"
+ all_platforms="${all_platforms} ppc32-linux-gcc"
+ all_platforms="${all_platforms} ppc64-darwin8-gcc"
+ all_platforms="${all_platforms} ppc64-darwin9-gcc"
++all_platforms="${all_platforms} ppc64-darwin-gcc"
+ all_platforms="${all_platforms} ppc64-linux-gcc"
+ all_platforms="${all_platforms} sparc-solaris-gcc"
+ all_platforms="${all_platforms} x86-android-gcc"
+@@ -118,6 +120,8 @@
+ all_platforms="${all_platforms} x86-darwin11-gcc"
+ all_platforms="${all_platforms} x86-darwin12-gcc"
+ all_platforms="${all_platforms} x86-darwin13-gcc"
++all_platforms="${all_platforms} x86-darwin-gcc"
++all_platforms="${all_platforms} x86-darwin-clang"
+ all_platforms="${all_platforms} x86-linux-gcc"
+ all_platforms="${all_platforms} x86-linux-icc"
+ all_platforms="${all_platforms} x86-os2-gcc"
+@@ -134,6 +138,8 @@
+ all_platforms="${all_platforms} x86_64-darwin11-gcc"
+ all_platforms="${all_platforms} x86_64-darwin12-gcc"
+ all_platforms="${all_platforms} x86_64-darwin13-gcc"
++all_platforms="${all_platforms} x86_64-darwin-gcc"
++all_platforms="${all_platforms} x86_64-darwin-clang"
+ all_platforms="${all_platforms} x86_64-linux-gcc"
+ all_platforms="${all_platforms} x86_64-linux-icc"
+ all_platforms="${all_platforms} x86_64-solaris-gcc"
+@@ -149,6 +155,8 @@
+ all_platforms="${all_platforms} universal-darwin11-gcc"
+ all_platforms="${all_platforms} universal-darwin12-gcc"
+ all_platforms="${all_platforms} universal-darwin13-gcc"
++all_platforms="${all_platforms} universal-darwin-gcc"
++all_platforms="${all_platforms} universal-darwin-clang"
+ all_platforms="${all_platforms} generic-gnu"
+
+ # all_targets is a list of all targets that can be configured
</ins></span></pre>
</div>
</div>
</body>
</html>