Skip to content

Commit

Permalink
Project update...
Browse files Browse the repository at this point in the history
  • Loading branch information
Macmade committed Apr 29, 2013
1 parent 870cd44 commit 7344189
Show file tree
Hide file tree
Showing 132 changed files with 202 additions and 194 deletions.
10 changes: 10 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
# Mac Finder
.DS_Store
Icon?

# Thumbnails
._*

# Files that might appear on external disk
.Spotlight-V100
.Trashes
13 changes: 13 additions & 0 deletions MP4Parse.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -354,6 +354,7 @@
05DE45A013378714002269FF /* Project object */ = {
isa = PBXProject;
attributes = {
LastUpgradeCheck = 0460;
ORGANIZATIONNAME = eosgarden;
};
buildConfigurationList = 05DE45A313378714002269FF /* Build configuration list for PBXProject "MP4Parse" */;
Expand All @@ -377,13 +378,18 @@
isa = XCBuildConfiguration;
buildSettings = {
ARCHS = "$(ARCHS_STANDARD_32_64_BIT)";
CLANG_WARN_CONSTANT_CONVERSION = YES;
CLANG_WARN_ENUM_CONVERSION = YES;
CLANG_WARN_INT_CONVERSION = YES;
CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
GCC_C_LANGUAGE_STANDARD = gnu99;
GCC_OPTIMIZATION_LEVEL = 0;
GCC_PREPROCESSOR_DEFINITIONS = DEBUG;
GCC_SYMBOLS_PRIVATE_EXTERN = NO;
GCC_VERSION = com.apple.compilers.llvm.clang.1_0;
GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
GCC_WARN_ABOUT_RETURN_TYPE = YES;
GCC_WARN_UNINITIALIZED_AUTOS = YES;
GCC_WARN_UNUSED_VARIABLE = YES;
MACOSX_DEPLOYMENT_TARGET = 10.6;
ONLY_ACTIVE_ARCH = YES;
Expand All @@ -395,10 +401,15 @@
isa = XCBuildConfiguration;
buildSettings = {
ARCHS = "$(ARCHS_STANDARD_32_64_BIT)";
CLANG_WARN_CONSTANT_CONVERSION = YES;
CLANG_WARN_ENUM_CONVERSION = YES;
CLANG_WARN_INT_CONVERSION = YES;
CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
GCC_C_LANGUAGE_STANDARD = gnu99;
GCC_VERSION = com.apple.compilers.llvm.clang.1_0;
GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
GCC_WARN_ABOUT_RETURN_TYPE = YES;
GCC_WARN_UNINITIALIZED_AUTOS = YES;
GCC_WARN_UNUSED_VARIABLE = YES;
MACOSX_DEPLOYMENT_TARGET = 10.6;
SDKROOT = macosx;
Expand All @@ -409,6 +420,7 @@
isa = XCBuildConfiguration;
buildSettings = {
ALWAYS_SEARCH_USER_PATHS = NO;
COMBINE_HIDPI_IMAGES = YES;
COPY_PHASE_STRIP = NO;
DEBUGGING_SYMBOLS = YES;
GCC_DYNAMIC_NO_PIC = NO;
Expand All @@ -425,6 +437,7 @@
isa = XCBuildConfiguration;
buildSettings = {
ALWAYS_SEARCH_USER_PATHS = NO;
COMBINE_HIDPI_IMAGES = YES;
COPY_PHASE_STRIP = YES;
DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym";
GCC_ENABLE_OBJC_EXCEPTIONS = YES;
Expand Down
Binary file not shown.
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<Scheme
version = "1.3">
LastUpgradeVersion = "0460"
version = "1.8">
<BuildAction
parallelizeBuildables = "YES"
buildImplicitDependencies = "YES">
Expand All @@ -22,21 +23,24 @@
</BuildActionEntries>
</BuildAction>
<TestAction
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.GDB"
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.GDB"
shouldUseLaunchSchemeArgsEnv = "YES"
buildConfiguration = "Debug">
<Testables>
</Testables>
</TestAction>
<LaunchAction
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.GDB"
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.GDB"
displayScaleIsEnabled = "NO"
displayScale = "1.00"
launchStyle = "0"
useCustomWorkingDirectory = "NO"
buildConfiguration = "Debug">
buildConfiguration = "Debug"
ignoresPersistentStateOnLaunch = "NO"
debugDocumentVersioning = "YES"
allowLocationSimulation = "YES">
<AdditionalOptions>
</AdditionalOptions>
</LaunchAction>
Expand All @@ -46,7 +50,8 @@
shouldUseLaunchSchemeArgsEnv = "YES"
savedToolIdentifier = ""
useCustomWorkingDirectory = "NO"
buildConfiguration = "Release">
buildConfiguration = "Release"
debugDocumentVersioning = "YES">
</ProfileAction>
<AnalyzeAction
buildConfiguration = "Debug">
Expand Down
24 changes: 24 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
MP4Parse
========

About
-----

A project to parse MPEG-4 files in C++, similar to the [WOOPS PHP MPEG-4 component](https://github.com/macmade/WOOPS).
No longer developed, nor maintained.

License
-------

MP4Parse is released under the terms of the Boost Software License - Version 1.0.

Repository Infos
----------------

Owner: Jean-David Gadina - XS-Labs
Web: www.xs-labs.com
Blog: www.noxeos.com
Twitter: @macmade
GitHub: github.com/macmade
LinkedIn: ch.linkedin.com/in/macmade/
StackOverflow: stackoverflow.com/users/182676/macmade
27 changes: 8 additions & 19 deletions makefile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# ------------------------------------------------------------------------------
#
# Copyright (c) 2010, Jean-David Gadina <macmade@eosgarden.com>
# Copyright (c) 2010, Jean-David Gadina - www.xs-labs.com
# All rights reserved.
#
# Redistribution and use in source and binary forms, with or without
Expand Down Expand Up @@ -38,13 +38,9 @@
# Please note that you need at least version 3.81 of GNU Make to use this file.
# Older versions are not supported and will never be.
#
# You also need a copy of the GNU Libtool in order to handle the shared objects.
# GNU Libtool is sometimes called glibtool, or simply libtool.
# Others implementations of Libtool are not supported at the time.
#
#-------------------------------------------------------------------------------

# $Id: makefile 5 2011-03-18 00:56:58Z [email protected] $
# $Id$

#-------------------------------------------------------------------------------
# Includes
Expand Down Expand Up @@ -147,14 +143,6 @@ _FILES_EXEC_BUILD = $(addprefix $(_DIR_BUILD_BIN),$(EXEC))
# Stem symbol (defined to avoid problems with the second expansion)
_STEM = %

# Checks the debug mode for libtool
ifeq ($(DEBUG_LIBTOOL),0)

# Debug off - Tells libtool to be quiet
_ARGS_LIBTOOL = --quiet

endif

# Adds the include directory to the search paths
_ARGS_CC = -I $(DIR_SRC_INC) -I $(DIR_SRC_LIB_INC) $(ARGS_CC)

Expand Down Expand Up @@ -314,11 +302,13 @@ _exec_end:
$(_DIR_BUILD_LIB)%$(EXT_LIB_ARCHIVE): %$(EXT_CODE) %$(EXT_HEADERS)
@echo
@echo ------ $(subst _CFILE_,$<,$(subst _DIR_BUILD_,$(_DIR_BUILD_LIB),$(LANG_LO_BUILD)))
@$(LIBTOOL) $(_ARGS_LIBTOOL) $(ARGS_LIBTOOL_COMPILE) $(CC) -o $(subst $(EXT_LIB_ARCHIVE),$(EXT_LIB_OBJECT),$@) -c $< $(_ARGS_CC) $(CFLAGS)
$(if $(filter 1,$(DEBUG_CC)), @echo $(CC) -o $(subst $(EXT_LIB_ARCHIVE),$(EXT_OBJECT),$@) -c $< $(_ARGS_CC) $(CFLAGS))
@$(CC) -o $(subst $(EXT_LIB_ARCHIVE),$(EXT_OBJECT),$@) -c $< $(_ARGS_CC) $(CFLAGS)
@echo ------ $(LANG_DONE)
@echo
@echo ------ $(subst _TNAME_,$(addprefix $(_DIR_BUILD_LIB),$(subst $(EXT_LIB_ARCHIVE),$(EXT_LIB_OBJECT),$(@F))),$(subst _DIR_BUILD_,$(_DIR_BUILD_LIB),$(LANG_LA_BUILD)))
@$(LIBTOOL) $(_ARGS_LIBTOOL) $(ARGS_LIBTOOL_LINK) $(CC) -o $@ -c $(subst $(EXT_LIB_ARCHIVE),$(EXT_LIB_OBJECT),$@) $(_ARGS_CC) $(CFLAGS)
@echo ------ $(subst _TNAME_,$(addprefix $(_DIR_BUILD_LIB),$(subst $(EXT_LIB_ARCHIVE),$(EXT_OBJECT),$(@F))),$(subst _DIR_BUILD_,$(_DIR_BUILD_LIB),$(LANG_LA_BUILD)))
$(if $(filter 1,$(DEBUG_LIBTOOL)), @echo $(LIBTOOL) $(_ARGS_LIBTOOL) -static -o $@ $(subst $(EXT_LIB_ARCHIVE),$(EXT_OBJECT),$@))
@$(LIBTOOL) $(_ARGS_LIBTOOL) -static -o $@ $(subst $(EXT_LIB_ARCHIVE),$(EXT_OBJECT),$@)
@echo ------ $(LANG_DONE)

# Builds the shared objects (with header file)
Expand Down Expand Up @@ -374,8 +364,7 @@ $(_DIR_BUILD_BIN)%: $(_DIR_BUILD_OBJ)%$(EXT_OBJECT) $$(patsubst $$(_STEM),$(_DIR
&& echo ------ $(LANG_DONE)\
&& echo\
&& echo ------ $(subst _TFILE_,$(@F),$(subst _DIR_BUILD_,$(_DIR_BUILD_BIN),$(subst _OFILE_,$(_DIR_BUILD_OBJ)$(@F)$(EXT_OBJECT),$(subst _DEPS_,"\n"$(patsubst %,"\n--------- "$(_DIR_BUILD_LIB)%$(EXT_LIB_ARCHIVE),$(DEPS_LIB_$(@F)))$(patsubst %,"\n--------- "$(_DIR_BUILD_OBJ)%$(EXT_OBJECT),$(DEPS_$(@F)))$(patsubst %,"\n--------- -l"%,$(DEPS_SYSLIB_$(@F)))"\n",$(LANG_EXEC_BUILD_HASDEPS)))))\
$(if $(filter 1,$(DEBUG_LIBTOOL)),&& echo $(LIBTOOL) $(_ARGS_LIBTOOL) $(ARGS_LIBTOOL_LINK) $(CC) $(if $(findstring Objective-C,$(code)), $(patsubst %, -framework %, $(OBJC_FRAMEWORK))) -o $@ $(_DIR_BUILD_OBJ)$(@F)$(EXT_OBJECT) $(patsubst %,$(_DIR_BUILD_LIB)%$(EXT_LIB_ARCHIVE),$(DEPS_LIB_$(@F))) $(patsubst %,$(_DIR_BUILD_OBJ)%$(EXT_OBJECT),$(DEPS_$(@F))) $(_ARGS_CC) $(CFLAGS))\
&& $(LIBTOOL) $(_ARGS_LIBTOOL) $(ARGS_LIBTOOL_LINK) $(CC) $(if $(findstring Objective-C,$(code)),$(patsubst %, -framework %, $(OBJC_FRAMEWORK))) -o $@ $(_DIR_BUILD_OBJ)$(@F)$(EXT_OBJECT) $(patsubst %,$(_DIR_BUILD_LIB)%$(EXT_LIB_ARCHIVE),$(DEPS_LIB_$(@F))) $(patsubst %,$(_DIR_BUILD_OBJ)%$(EXT_OBJECT),$(DEPS_$(@F))) $(patsubst %,"-l"%,$(DEPS_SYSLIB_$(@F))) $(_ARGS_CC) $(CFLAGS)\
&& $(CC) $(if $(findstring Objective-C,$(code)), -framework $(OBJC_FRAMEWORK)) -o $@ $(_DIR_BUILD_OBJ)$(@F)$(EXT_OBJECT) $(patsubst %,$(_DIR_BUILD_LIB)%$(EXT_LIB_ARCHIVE),$(DEPS_LIB_$(@F))) $(patsubst %,$(_DIR_BUILD_OBJ)%$(EXT_OBJECT),$(DEPS_$(@F))) $(patsubst %,"-l"%,$(DEPS_SYSLIB_$(@F))) $(_ARGS_CC) $(CFLAGS)\
&& echo ------ $(LANG_DONE)\
,\
@echo\
Expand Down
13 changes: 3 additions & 10 deletions makefile-code/C++.mk
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# ------------------------------------------------------------------------------
#
# Copyright (c) 2010, Jean-David Gadina <macmade@eosgarden.com>
# Copyright (c) 2010, Jean-David Gadina - www.xs-labs.com
# All rights reserved.
#
# Redistribution and use in source and binary forms, with or without
Expand Down Expand Up @@ -37,13 +37,9 @@
# Please note that you need at least version 3.81 of GNU Make to use this file.
# Older versions are not supported and will never be.
#
# You also need a copy of the GNU Libtool in order to handle the shared objects.
# GNU Libtool is sometimes called glibtool, or simply libtool.
# Others implementations of Libtool are not supported at the time.
#
#-------------------------------------------------------------------------------

# $Id: C++.mk 2 2010-06-27 10:25:10Z [email protected] $
# $Id$

# Flag to let the makefile knows that the code specific options were included
CODE_HASOPTIONS := 1
Expand All @@ -54,8 +50,7 @@ CODE_HASOPTIONS := 1

EXT_CODE = .cpp
EXT_HEADERS = .h
EXT_LIB_OBJECT = .lo
EXT_LIB_ARCHIVE = .la
EXT_LIB_ARCHIVE = .a
EXT_OBJECT = .o

#-------------------------------------------------------------------------------
Expand All @@ -70,5 +65,3 @@ LIBTOOL = glibtool
#-------------------------------------------------------------------------------

ARGS_CC = -Os -pedantic -Werror -Wall -Wextra -Wmissing-braces -Wmissing-field-initializers -Wmissing-prototypes -Wparentheses -Wreturn-type -Wshadow -Wsign-compare -Wswitch -Wuninitialized -Wunknown-pragmas -Wunused-function -Wunused-label -Wunused-parameter -Wunused-value -Wunused-variable
ARGS_LIBTOOL_COMPILE = --mode=compile
ARGS_LIBTOOL_LINK = --mode=link
15 changes: 4 additions & 11 deletions makefile-code/C.mk
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# ------------------------------------------------------------------------------
#
# Copyright (c) 2010, Jean-David Gadina <macmade@eosgarden.com>
# Copyright (c) 2010, Jean-David Gadina - www.xs-labs.com
# All rights reserved.
#
# Redistribution and use in source and binary forms, with or without
Expand Down Expand Up @@ -37,13 +37,9 @@
# Please note that you need at least version 3.81 of GNU Make to use this file.
# Older versions are not supported and will never be.
#
# You also need a copy of the GNU Libtool in order to handle the shared objects.
# GNU Libtool is sometimes called glibtool, or simply libtool.
# Others implementations of Libtool are not supported at the time.
#
#-------------------------------------------------------------------------------

# $Id: C.mk 2 2010-06-27 10:25:10Z [email protected] $
# $Id$

# Flag to let the makefile knows that the code specific options were included
CODE_HASOPTIONS := 1
Expand All @@ -54,21 +50,18 @@ CODE_HASOPTIONS := 1

EXT_CODE = .c
EXT_HEADERS = .h
EXT_LIB_OBJECT = .lo
EXT_LIB_ARCHIVE = .la
EXT_LIB_ARCHIVE = .a
EXT_OBJECT = .o

#-------------------------------------------------------------------------------
# Compiler tools
#-------------------------------------------------------------------------------

CC = gcc
LIBTOOL = glibtool
LIBTOOL = libtool

#-------------------------------------------------------------------------------
# Arguments for the compiler tools
#-------------------------------------------------------------------------------

ARGS_CC = -std=c99 -Os -pedantic -Werror -Wall -Wextra -Wbad-function-cast -Wdeclaration-after-statement -Werror-implicit-function-declaration -Wmissing-braces -Wmissing-declarations -Wmissing-field-initializers -Wmissing-prototypes -Wnested-externs -Wold-style-definition -Wparentheses -Wreturn-type -Wshadow -Wsign-compare -Wstrict-prototypes -Wswitch -Wuninitialized -Wunknown-pragmas -Wunused-function -Wunused-label -Wunused-parameter -Wunused-value -Wunused-variable
ARGS_LIBTOOL_COMPILE = --mode=compile
ARGS_LIBTOOL_LINK = --mode=link
13 changes: 3 additions & 10 deletions makefile-code/Objective-C.mk
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# ------------------------------------------------------------------------------
#
# Copyright (c) 2010, Jean-David Gadina <macmade@eosgarden.com>
# Copyright (c) 2010, Jean-David Gadina - www.xs-labs.com
# All rights reserved.
#
# Redistribution and use in source and binary forms, with or without
Expand Down Expand Up @@ -37,13 +37,9 @@
# Please note that you need at least version 3.81 of GNU Make to use this file.
# Older versions are not supported and will never be.
#
# You also need a copy of the GNU Libtool in order to handle the shared objects.
# GNU Libtool is sometimes called glibtool, or simply libtool.
# Others implementations of Libtool are not supported at the time.
#
#-------------------------------------------------------------------------------

# $Id: Objective-C.mk 2 2010-06-27 10:25:10Z [email protected] $
# $Id$

# Flag to let the makefile knows that the code specific options were included
CODE_HASOPTIONS := 1
Expand All @@ -54,8 +50,7 @@ CODE_HASOPTIONS := 1

EXT_CODE = .m
EXT_HEADERS = .h
EXT_LIB_OBJECT = .lo
EXT_LIB_ARCHIVE = .la
EXT_LIB_ARCHIVE = .a
EXT_OBJECT = .o

#-------------------------------------------------------------------------------
Expand All @@ -70,5 +65,3 @@ LIBTOOL = glibtool
#-------------------------------------------------------------------------------

ARGS_CC = -std=c99 -Os -pedantic -Werror -Wall -Wextra -Wbad-function-cast -Wdeclaration-after-statement -Werror-implicit-function-declaration -Wmissing-braces -Wmissing-declarations -Wmissing-field-initializers -Wmissing-prototypes -Wnested-externs -Wold-style-definition -Wparentheses -Wreturn-type -Wshadow -Wsign-compare -Wstrict-prototypes -Wstrict-selector-match -Wswitch -Wundeclared-selector -Wuninitialized -Wunknown-pragmas -Wunused-function -Wunused-label -Wunused-parameter -Wunused-value -Wunused-variable
ARGS_LIBTOOL_COMPILE = --mode=compile
ARGS_LIBTOOL_LINK = --mode=link
8 changes: 2 additions & 6 deletions makefile-config.mk
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# ------------------------------------------------------------------------------
#
# Copyright (c) 2010, Jean-David Gadina <macmade@eosgarden.com>
# Copyright (c) 2010, Jean-David Gadina - www.xs-labs.com
# All rights reserved.
#
# Redistribution and use in source and binary forms, with or without
Expand Down Expand Up @@ -37,13 +37,9 @@
# Please note that you need at least version 3.81 of GNU Make to use this file.
# Older versions are not supported and will never be.
#
# You also need a copy of the GNU Libtool in order to handle the shared objects.
# GNU Libtool is sometimes called glibtool, or simply libtool.
# Others implementations of Libtool are not supported at the time.
#
#-------------------------------------------------------------------------------

# $Id: makefile-config.mk 4 2011-01-05 07:42:35Z [email protected] $
# $Id$

#-------------------------------------------------------------------------------
# Project programming language
Expand Down
8 changes: 2 additions & 6 deletions makefile-lang/en.mk
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# ------------------------------------------------------------------------------
#
# Copyright (c) 2010, Jean-David Gadina <macmade@eosgarden.com>
# Copyright (c) 2010, Jean-David Gadina - www.xs-labs.com
# All rights reserved.
#
# Redistribution and use in source and binary forms, with or without
Expand Down Expand Up @@ -42,13 +42,9 @@
# Please note that you need at least version 3.81 of GNU Make to use this file.
# Older versions are not supported and will never be.
#
# You also need a copy of the GNU Libtool in order to handle the shared objects.
# GNU Libtool is sometimes called glibtool, or simply libtool.
# Others implementations of Libtool are not supported at the time.
#
# ------------------------------------------------------------------------------

# $Id: en.mk 4 2011-01-05 07:42:35Z [email protected] $
# $Id$

# Flag to let the makefile knows that the language labels were included
LANG_HASLABELS := 1
Expand Down
Loading

0 comments on commit 7344189

Please sign in to comment.