Skip to content

Commit 7182e41

Browse files
committed
Merge branch 'release/v0.1.0'
- First very alpha release. Feature complete at a high level, but buggy, and the API will likely change.
2 parents f19fbe9 + c330894 commit 7182e41

File tree

301 files changed

+7720
-4326
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

301 files changed

+7720
-4326
lines changed

README.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,9 @@ To cross-compile for linux and windows in addition to Mac OS X, run:
8282

8383
## Linux Build Notes
8484

85-
You need to make sure the Chef recipes that are in `./Vagrantfile` get installed on your Linux box. I've only tested on Ubuntu 12.04 LTS, so that's all that suppored to build on.
85+
You need to make sure the Chef recipes that are in `./Vagrantfile` get installed on your Linux box. Those recipes are in the humble-video-chef project.
86+
87+
I've only tested on Ubuntu 12.04 LTS, so that's all that supported to build on, and it's a work in progress so hang tight..
8688

8789
To build, once the chef recipes have run on a clean box, just run:
8890

Vagrantfile

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@
44
# Vagrantfile API/syntax version. Don't touch unless you know what you're doing!
55
VAGRANTFILE_API_VERSION = "2"
66

7+
Vagrant.require_version ">= 1.6.3"
8+
79
Vagrant.configure(VAGRANTFILE_API_VERSION) do |config|
810
# All Vagrant configuration is done here. The most common configuration
911
# options are documented and commented below. For a complete reference,
@@ -19,7 +21,8 @@ Vagrant.configure(VAGRANTFILE_API_VERSION) do |config|
1921
# Create a forwarded port mapping which allows access to a specific port
2022
# within the machine from a port on the host machine. In the example below,
2123
# accessing "localhost:8080" will access port 80 on the guest machine.
22-
config.vm.network :forwarded_port, guest: 80, host: 9080
24+
config.vm.network "forwarded_port", guest: 80, host: 9080
25+
2326

2427
# Create a private network, which allows host-only access to the machine
2528
# using a specific IP.
@@ -44,13 +47,13 @@ Vagrant.configure(VAGRANTFILE_API_VERSION) do |config|
4447
# backing providers for Vagrant. These expose provider-specific options.
4548
# Example for VirtualBox:
4649
#
47-
# config.vm.provider :virtualbox do |vb|
50+
config.vm.provider :virtualbox do |vb|
4851
# # Don't boot with headless mode
4952
# vb.gui = true
5053
#
5154
# # Use VBoxManage to customize the VM. For example to change memory:
5255
# vb.customize ["modifyvm", :id, "--memory", "1024"]
53-
# end
56+
end
5457
#
5558
# View the documentation for the provider you're using for more
5659
# information on available options.
@@ -90,7 +93,7 @@ Vagrant.configure(VAGRANTFILE_API_VERSION) do |config|
9093
chef.add_recipe "build-essential"
9194
chef.add_recipe "git"
9295
chef.add_recipe "ohai"
93-
chef.add_recipe "iptables"
96+
# chef.add_recipe "iptables"
9497
chef.add_recipe "apache2"
9598
chef.add_recipe "nginx"
9699
chef.add_recipe "yum"

humble-video-captive/src/main/gnu/cross-configure.sh

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,13 +6,22 @@ HOST=$( ${DIR}/mk/config.guess )
66

77
humble_configure()
88
{
9-
PREFIX="$1/humble-video-arch-$2/target/native"
109
BUILD=$2
10+
PREFIX_DEBUG="$1/humble-video-arch-$2-debug/target/native"
11+
if [ ! -e ./${cross_os}-debug/Makefile ]; then
12+
echo "Building ${DIR}/configure in ${PREFIX_DEBUG}"
13+
mkdir -p ./${cross_os}-debug
14+
mkdir -p "${PREFIX_DEBUG}"
15+
(cd ./${cross_os}-debug && (${DIR}/configure --enable-optimizations=no --prefix="${PREFIX_DEBUG}" --host="${BUILD}" ${HUMBLE_CONFIGURE} | tee configure.log))
16+
else
17+
echo "Makefile appears to be up-to-date in ${cross_os}-debug"
18+
fi
19+
PREFIX="$1/humble-video-arch-$2/target/native"
1120
if [ ! -e ./${cross_os}/Makefile ]; then
1221
echo "Building ${DIR}/configure in ${PREFIX}"
1322
mkdir -p ./$cross_os
1423
mkdir -p "${PREFIX}"
15-
(cd ./${cross_os} && (${DIR}/configure --prefix="${PREFIX}" --host="${BUILD}" ${HUMBLE_CONFIGURE} | tee configure.log))
24+
(cd ./${cross_os} && (${DIR}/configure --enable-optimizations=yes --prefix="${PREFIX}" --host="${BUILD}" ${HUMBLE_CONFIGURE} | tee configure.log))
1625
else
1726
echo "Makefile appears to be up-to-date in ${cross_os}"
1827
fi

humble-video-captive/src/main/gnu/libtheora/incarcerate.in

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,16 +18,18 @@ else
1818
fi
1919

2020
DISABLE_ASM=
21+
VS_CFLAGS="@CFLAGS@"
2122
case $HOST_OS in
2223
*darwin*)
2324
DISABLE_ASM="--disable-asm"
25+
VS_CFLAGS="-Wno-error=unused-command-line-argument-hard-error-in-future @CFLAGS@"
2426
;;
2527
*)
2628
;;
2729
esac
2830

2931
CC="@CC@" \
30-
CFLAGS="-I@includedir@ @CFLAGS@" \
32+
CFLAGS="-I@includedir@ ${VS_CFLAGS}" \
3133
LD="@LD@" \
3234
LDFLAGS="-L@libdir@ @LDFLAGS@" \
3335
CPP="@CPP@" \

humble-video-captive/src/main/gnu/libx264/csrc/configure

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -464,7 +464,8 @@ case $host_os in
464464
;;
465465
darwin*)
466466
SYS="MACOSX"
467-
CFLAGS="$CFLAGS -falign-loops=16"
467+
# From http://stackoverflow.com/questions/22678938/error-compiling-x264-on-mac-os-x
468+
CFLAGS="$CFLAGS"
468469
libm="-lm"
469470
if [ "$pic" = "no" ]; then
470471
cc_check "" -mdynamic-no-pic && CFLAGS="$CFLAGS -mdynamic-no-pic"

humble-video-chef/cookbooks/humble-ubuntu-development/recipes/default.rb

Lines changed: 26 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,39 +2,58 @@
22
# Cookbook Name:: humble_development
33
# Recipe:: default
44
#
5-
# Copyright 2013, Humble Software
5+
# Copyright 2014, Humble Software
66
#
77
# All rights reserved - Do Not Redistribute
88
#
9+
#
10+
apt_repository "saucy" do
11+
uri "http://ubuntu.mirror.cambrium.nl/ubuntu/"
12+
distribution "saucy"
13+
components ["main"]
14+
end
915

1016
package "autoconf" do
17+
version "2.69-1.1"
1118
action :upgrade
1219
end
13-
package "automake" do
20+
package "automake" do
21+
version "1:1.13.3-1.1ubuntu2"
1422
action :upgrade
1523
end
24+
apt_repository "saucy" do
25+
action :remove
26+
end
1627
package "libtool" do
28+
version "2.4.2-1ubuntu1"
1729
action :upgrade
1830
end
1931
package "pkg-config" do
32+
version "0.26-1ubuntu1"
2033
action :upgrade
2134
end
2235
package "gcc-multilib" do
36+
version "4:4.6.3-1ubuntu5"
2337
action :upgrade
2438
end
2539
package "g++-multilib" do
40+
version "4:4.6.3-1ubuntu5"
2641
action :upgrade
2742
end
2843
package "mingw-w64" do
44+
version "2.0.1-1"
2945
action :upgrade
3046
end
3147
package "g++-mingw-w64" do
48+
version "4.6.3-1ubuntu5+5ubuntu1"
3249
action :upgrade
3350
end
3451
package "gcc-mingw-w64" do
52+
version "4.6.3-1ubuntu5+5ubuntu1"
3553
action :upgrade
3654
end
3755
package "binutils-mingw-w64" do
56+
version "2.22-2ubuntu1+1"
3857
action :upgrade
3958
end
4059
# There is a bug in virtualbox that cause 'strip' of a '.dll' file
@@ -70,17 +89,22 @@
7089
not_if {File.exists?("/usr/bin/i686-w64-mingw32-strip")}
7190
end
7291
package "doxygen" do
92+
version "1.7.6.1-2ubuntu1"
7393
action :upgrade
7494
end
7595
package "valgrind" do
96+
version "1.3.7.0-0"
7697
action :upgrade
7798
end
7899
package "graphviz" do
100+
version "2.26.3-10"
79101
action :upgrade
80102
end
81103
package "maven" do
104+
version "3.0.4-2"
82105
action :upgrade
83106
end
84107
package "libpcre3-dev" do
108+
version "8.12-4"
85109
action :upgrade
86110
end

humble-video-native/src/main/gnu/Makefile.am

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -167,9 +167,9 @@ EXTRA_DIST= \
167167
mk/lib
168168

169169
install-exec-hook:
170-
@$(MKDIR_P) $(abs_top_srcdir)/../../../../humble-video-stage/humble-video-arch-${host}
171-
@cp -f pom-@host@.xml $(abs_top_srcdir)/../../../../humble-video-stage/humble-video-arch-${host}/pom.xml
172-
@(cd $(abs_top_srcdir)/../../../../humble-video-stage/humble-video-arch-${host} && mvn install)
170+
@$(MKDIR_P) $(abs_top_srcdir)/../../../../humble-video-stage/humble-video-arch-${VS_MVN_HOST}
171+
@cp -f pom.xml $(abs_top_srcdir)/../../../../humble-video-stage/humble-video-arch-${VS_MVN_HOST}/pom.xml
172+
@(cd $(abs_top_srcdir)/../../../../humble-video-stage/humble-video-arch-${VS_MVN_HOST} && mvn install)
173173

174174
doc: doxygen-doc
175175

humble-video-native/src/main/gnu/Makefile.in

Lines changed: 21 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Makefile.in generated by automake 1.13.2 from Makefile.am.
1+
# Makefile.in generated by automake 1.14.1 from Makefile.am.
22
# @configure_input@
33

44
# Copyright (C) 1994-2013 Free Software Foundation, Inc.
@@ -84,11 +84,12 @@ DIST_COMMON = INSTALL NEWS README AUTHORS ChangeLog \
8484
$(top_srcdir)/mk/Makefile.global.in \
8585
$(top_srcdir)/mk/Makefile.dependencies.in \
8686
$(top_srcdir)/mk/memcheck.in $(top_srcdir)/mk/pom.xml.in \
87-
COPYING mk/README mk/ar-lib mk/config.guess mk/config.sub \
88-
mk/depcomp mk/install-sh mk/missing mk/ltmain.sh \
89-
$(top_srcdir)/mk/ar-lib $(top_srcdir)/mk/config.guess \
90-
$(top_srcdir)/mk/config.sub $(top_srcdir)/mk/install-sh \
91-
$(top_srcdir)/mk/ltmain.sh $(top_srcdir)/mk/missing
87+
COPYING mk/README mk/ar-lib mk/compile mk/config.guess \
88+
mk/config.sub mk/depcomp mk/install-sh mk/missing mk/ltmain.sh \
89+
$(top_srcdir)/mk/ar-lib $(top_srcdir)/mk/compile \
90+
$(top_srcdir)/mk/config.guess $(top_srcdir)/mk/config.sub \
91+
$(top_srcdir)/mk/install-sh $(top_srcdir)/mk/ltmain.sh \
92+
$(top_srcdir)/mk/missing
9293
ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
9394
am__aclocal_m4_deps = $(top_srcdir)/m4/ax_compiler_vendor.m4 \
9495
$(top_srcdir)/m4/ax_prog_doxygen.m4 \
@@ -103,7 +104,7 @@ am__CONFIG_DISTCLEAN_FILES = config.status config.cache config.log \
103104
mkinstalldirs = $(install_sh) -d
104105
CONFIG_HEADER = $(top_builddir)/src/io/humble/ferry/config.h
105106
CONFIG_CLEAN_FILES = mk/Makefile.global mk/Makefile.dependencies \
106-
mk/memcheck pom-${host}.xml
107+
mk/memcheck pom.xml
107108
CONFIG_CLEAN_VPATH_FILES =
108109
AM_V_P = $(am__v_P_@AM_V@)
109110
am__v_P_ = $(am__v_P_@AM_DEFAULT_V@)
@@ -323,6 +324,7 @@ VS_LDFLAGS = @VS_LDFLAGS@
323324
VS_LIBGCC = @VS_LIBGCC@
324325
VS_LIBGCC_EH = @VS_LIBGCC_EH@
325326
VS_LIBSTDCXX = @VS_LIBSTDCXX@
327+
VS_MVN_HOST = @VS_MVN_HOST@
326328
VS_OS_WINDOWS = @VS_OS_WINDOWS@
327329
VS_PROJECT_NAME = @VS_PROJECT_NAME@
328330
VS_SWIG = @VS_SWIG@
@@ -455,7 +457,7 @@ mk/Makefile.dependencies: $(top_builddir)/config.status $(top_srcdir)/mk/Makefil
455457
cd $(top_builddir) && $(SHELL) ./config.status $@
456458
mk/memcheck: $(top_builddir)/config.status $(top_srcdir)/mk/memcheck.in
457459
cd $(top_builddir) && $(SHELL) ./config.status $@
458-
pom-${host}.xml: $(top_builddir)/config.status $(top_srcdir)/mk/pom.xml.in
460+
pom.xml: $(top_builddir)/config.status $(top_srcdir)/mk/pom.xml.in
459461
cd $(top_builddir) && $(SHELL) ./config.status $@
460462

461463
mostlyclean-libtool:
@@ -657,10 +659,16 @@ dist-xz: distdir
657659
$(am__post_remove_distdir)
658660

659661
dist-tarZ: distdir
662+
@echo WARNING: "Support for shar distribution archives is" \
663+
"deprecated." >&2
664+
@echo WARNING: "It will be removed altogether in Automake 2.0" >&2
660665
tardir=$(distdir) && $(am__tar) | compress -c >$(distdir).tar.Z
661666
$(am__post_remove_distdir)
662667

663668
dist-shar: distdir
669+
@echo WARNING: "Support for distribution archives compressed with" \
670+
"legacy program 'compress' is deprecated." >&2
671+
@echo WARNING: "It will be removed altogether in Automake 2.0" >&2
664672
shar $(distdir) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).shar.gz
665673
$(am__post_remove_distdir)
666674

@@ -702,9 +710,10 @@ distcheck: dist
702710
&& dc_destdir="$${TMPDIR-/tmp}/am-dc-$$$$/" \
703711
&& am__cwd=`pwd` \
704712
&& $(am__cd) $(distdir)/_build \
705-
&& ../configure --srcdir=.. --prefix="$$dc_install_base" \
713+
&& ../configure \
706714
$(AM_DISTCHECK_CONFIGURE_FLAGS) \
707715
$(DISTCHECK_CONFIGURE_FLAGS) \
716+
--srcdir=.. --prefix="$$dc_install_base" \
708717
&& $(MAKE) $(AM_MAKEFLAGS) \
709718
&& $(MAKE) $(AM_MAKEFLAGS) dvi \
710719
&& $(MAKE) $(AM_MAKEFLAGS) check \
@@ -932,9 +941,9 @@ include $(abs_top_builddir)/mk/Makefile.global
932941
@DX_COND_doc_TRUE@ $(DX_ENV) $(DX_DOXYGEN) $(srcdir)/$(DX_CONFIG)
933942

934943
install-exec-hook:
935-
@$(MKDIR_P) $(abs_top_srcdir)/../../../../humble-video-stage/humble-video-arch-${host}
936-
@cp -f pom-@host@.xml $(abs_top_srcdir)/../../../../humble-video-stage/humble-video-arch-${host}/pom.xml
937-
@(cd $(abs_top_srcdir)/../../../../humble-video-stage/humble-video-arch-${host} && mvn install)
944+
@$(MKDIR_P) $(abs_top_srcdir)/../../../../humble-video-stage/humble-video-arch-${VS_MVN_HOST}
945+
@cp -f pom.xml $(abs_top_srcdir)/../../../../humble-video-stage/humble-video-arch-${VS_MVN_HOST}/pom.xml
946+
@(cd $(abs_top_srcdir)/../../../../humble-video-stage/humble-video-arch-${VS_MVN_HOST} && mvn install)
938947

939948
doc: doxygen-doc
940949

0 commit comments

Comments
 (0)