diff options
51 files changed, 424 insertions, 135 deletions
diff --git a/cerbero/commands/gensdkshell.py b/cerbero/commands/gensdkshell.py index 6cc725d8..d0fbfc56 100644 --- a/cerbero/commands/gensdkshell.py +++ b/cerbero/commands/gensdkshell.py @@ -64,7 +64,7 @@ class GenSdkShell(Command): if cmd == None: cmd = self.DEFAULT_CMD env = {} - prefix_env_name = 'GSTREAMER_SDK_ROOT' + prefix_env_name = 'GSTREAMER_ROOT' prefix_env = '${%s}' % prefix_env_name libdir = libdir.replace(prefix, prefix_env) env['PATH'] = \ diff --git a/cerbero/config.py b/cerbero/config.py index a55f56ba..56982152 100644 --- a/cerbero/config.py +++ b/cerbero/config.py @@ -243,7 +243,7 @@ class Config (object): 'PYTHONPATH': pythonpath, 'MONO_PATH': os.path.join(libdir, 'mono', '4.5'), 'MONO_GAC_PREFIX': prefix, - 'GSTREAMER_SDK_ROOT': prefix + 'GSTREAMER_ROOT': prefix } return env diff --git a/config/osx-universal.cbc b/config/osx-universal.cbc index 4adcd227..479e19c0 100644 --- a/config/osx-universal.cbc +++ b/config/osx-universal.cbc @@ -1,5 +1,5 @@ from cerbero.config import Architecture target_arch=Architecture.UNIVERSAL -prefix='/Library/Frameworks/GStreamer.framework/Versions/0.10' +prefix='/Library/Frameworks/GStreamer.framework/Versions/1.0' diff --git a/config/win32.cbc b/config/win32.cbc index cbfa15ba..af66cab5 100644 --- a/config/win32.cbc +++ b/config/win32.cbc @@ -1,3 +1,3 @@ -prefix='c:/gstreamer-sdk/0.10/x86' +prefix='c:/gstreamer-sdk/1.0/x86' from cerbero.config import Architecture target_arch = Architecture.X86 diff --git a/config/win64.cbc b/config/win64.cbc index 51d97d33..eea0498d 100644 --- a/config/win64.cbc +++ b/config/win64.cbc @@ -1,4 +1,4 @@ -prefix='c:/gstreamer-sdk/0.10/x86_64' +prefix='c:/gstreamer-sdk/1.0/x86_64' from cerbero.config import Architecture arch = Architecture.X86_64 target_arch = Architecture.X86_64 diff --git a/data/ndk-build/gstreamer-1.0.mk b/data/ndk-build/gstreamer-1.0.mk index 4746a878..775efd14 100755 --- a/data/ndk-build/gstreamer-1.0.mk +++ b/data/ndk-build/gstreamer-1.0.mk @@ -16,9 +16,9 @@ # Free Software Foundation, Inc., 59 Temple Place - Suite 330, # Boston, MA 02111-1307, USA. -$(call assert-defined, GSTREAMER_SDK_ROOT) -$(if $(wildcard $(GSTREAMER_SDK_ROOT)),,\ - $(error "The directory GSTREAMER_SDK_ROOT=$(GSTREAMER_SDK_ROOT) does not exists")\ +$(call assert-defined, GSTREAMER_ROOT) +$(if $(wildcard $(GSTREAMER_ROOT)),,\ + $(error "The directory GSTREAMER_ROOT=$(GSTREAMER_ROOT) does not exists")\ ) @@ -30,22 +30,25 @@ ifndef GSTREAMER_PLUGINS $(info "The list of GSTREAMER_PLUGINS is empty") endif +# Expand home directory (~/) +GSTREAMER_ROOT := $(wildcard $(GSTREAMER_ROOT)) + # Path for GStreamer static plugins ifndef GSTREAMER_STATIC_PLUGINS_PATH GSTREAMER_STATIC_PLUGINS_PATH := lib/gstreamer-1.0 endif -GSTREAMER_STATIC_PLUGINS_PATH := $(GSTREAMER_SDK_ROOT)/lib/gstreamer-1.0/static +GSTREAMER_STATIC_PLUGINS_PATH := $(GSTREAMER_ROOT)/lib/gstreamer-1.0/static # Path for the NDK integration makefiles ifndef GSTREAMER_NDK_BUILD_PATH -GSTREAMER_NDK_BUILD_PATH := $(GSTREAMER_SDK_ROOT)/share/gst-android/ndk-build +GSTREAMER_NDK_BUILD_PATH := $(GSTREAMER_ROOT)/share/gst-android/ndk-build endif # Include tools include $(GSTREAMER_NDK_BUILD_PATH)/tools.mk # Path for the static GIO modules -G_IO_MODULES_PATH := $(GSTREAMER_SDK_ROOT)/lib/gio/modules/static +G_IO_MODULES_PATH := $(GSTREAMER_ROOT)/lib/gio/modules/static # Host tools ifeq ($(HOST_OS),windows) @@ -84,7 +87,7 @@ LOCAL_MAKEFILE := $(local-makefile) LOCAL_PREBUILT_PREFIX := lib LOCAL_PREBUILT_SUFFIX := .so LOCAL_EXPORT_C_INCLUDES := $(subst -I$1, $1, $(call pkg-config-get-includes,$(GSTREAMER_DEPS))) -LOCAL_EXPORT_C_INCLUDES += $(GSTREAMER_SDK_ROOT)/include +LOCAL_EXPORT_C_INCLUDES += $(GSTREAMER_ROOT)/include ################################################################## @@ -139,7 +142,7 @@ GSTREAMER_ANDROID_LIBS += $(GSTREAMER_PLUGINS_LIBS) $(G_IO_MODULES_LIBS) - GSTREAMER_ANDROID_WHOLE_AR := $(call pkg-config-get-libs-no-deps,$(GSTREAMER_DEPS)) # Fix deps for giognutls GSTREAMER_ANDROID_LIBS := $(call fix-deps,-lgiognutls, -lhogweed) -GSTREAMER_ANDROID_CFLAGS := $(call pkg-config-get-includes,$(GSTREAMER_DEPS)) -I$(GSTREAMER_SDK_ROOT)/include +GSTREAMER_ANDROID_CFLAGS := $(call pkg-config-get-includes,$(GSTREAMER_DEPS)) -I$(GSTREAMER_ROOT)/include # In newer NDK, SYSROOT is replaced by SYSROOT_INC and SYSROOT_LINK, which # now points to the root directory. But this will probably change in the future from: @@ -151,7 +154,7 @@ endif # Create the link command GSTREAMER_ANDROID_CMD := $(call libtool-link,$(TARGET_CC) $(TARGET_LDFLAGS) -shared --sysroot=$(SYSROOT) \ -o $(GSTREAMER_ANDROID_SO) $(GSTREAMER_ANDROID_O) \ - -L$(GSTREAMER_SDK_ROOT)/lib -L$(GSTREAMER_STATIC_PLUGINS_PATH) $(G_IO_MODULES_PATH) \ + -L$(GSTREAMER_ROOT)/lib -L$(GSTREAMER_STATIC_PLUGINS_PATH) $(G_IO_MODULES_PATH) \ $(GSTREAMER_ANDROID_LIBS), $(GSTREAMER_LD)) -Wl,-no-undefined $(GSTREAMER_LD) GSTREAMER_ANDROID_CMD := $(call libtool-whole-archive,$(GSTREAMER_ANDROID_CMD),$(GSTREAMER_ANDROID_WHOLE_AR)) diff --git a/data/ndk-build/gstreamer.mk b/data/ndk-build/gstreamer.mk index f66109e8..050d93ff 100755 --- a/data/ndk-build/gstreamer.mk +++ b/data/ndk-build/gstreamer.mk @@ -16,9 +16,9 @@ # Free Software Foundation, Inc., 59 Temple Place - Suite 330, # Boston, MA 02111-1307, USA. -$(call assert-defined, GSTREAMER_SDK_ROOT) -$(if $(wildcard $(GSTREAMER_SDK_ROOT)),,\ - $(error "The directory GSTREAMER_SDK_ROOT=$(GSTREAMER_SDK_ROOT) does not exists")\ +$(call assert-defined, GSTREAMER_ROOT) +$(if $(wildcard $(GSTREAMER_ROOT)),,\ + $(error "The directory GSTREAMER_ROOT=$(GSTREAMER_ROOT) does not exists")\ ) @@ -37,18 +37,18 @@ GSTREAMER_SDK_ROOT := $(wildcard $(GSTREAMER_SDK_ROOT)) ifndef GSTREAMER_STATIC_PLUGINS_PATH GSTREAMER_STATIC_PLUGINS_PATH := lib/gstreamer-0.10 endif -GSTREAMER_STATIC_PLUGINS_PATH := $(GSTREAMER_SDK_ROOT)/lib/gstreamer-0.10/static +GSTREAMER_STATIC_PLUGINS_PATH := $(GSTREAMER_ROOT)/lib/gstreamer-0.10/static # Path for the NDK integration makefiles ifndef GSTREAMER_NDK_BUILD_PATH -GSTREAMER_NDK_BUILD_PATH := $(GSTREAMER_SDK_ROOT)/share/gst-android/ndk-build +GSTREAMER_NDK_BUILD_PATH := $(GSTREAMER_ROOT)/share/gst-android/ndk-build endif # Include tools include $(GSTREAMER_NDK_BUILD_PATH)/tools.mk # Path for the static GIO modules -G_IO_MODULES_PATH := $(GSTREAMER_SDK_ROOT)/lib/gio/modules/static +G_IO_MODULES_PATH := $(GSTREAMER_ROOT)/lib/gio/modules/static # Host tools ifeq ($(HOST_OS),windows) @@ -89,7 +89,7 @@ LOCAL_MAKEFILE := $(local-makefile) LOCAL_PREBUILT_PREFIX := lib LOCAL_PREBUILT_SUFFIX := .so LOCAL_EXPORT_C_INCLUDES := $(subst -I$1, $1, $(call pkg-config-get-includes,$(GSTREAMER_DEPS))) -LOCAL_EXPORT_C_INCLUDES += $(GSTREAMER_SDK_ROOT)/include +LOCAL_EXPORT_C_INCLUDES += $(GSTREAMER_ROOT)/include ################################################################## @@ -147,7 +147,7 @@ GSTREAMER_ANDROID_LIBS += $(GSTREAMER_PLUGINS_LIBS) $(G_IO_MODULES_LIBS) - GSTREAMER_ANDROID_WHOLE_AR := $(call pkg-config-get-libs-no-deps,$(GSTREAMER_DEPS)) # Fix deps for giognutls GSTREAMER_ANDROID_LIBS := $(call fix-deps,-lgiognutls, -lhogweed) -GSTREAMER_ANDROID_CFLAGS := $(call pkg-config-get-includes,$(GSTREAMER_DEPS)) -I$(GSTREAMER_SDK_ROOT)/include +GSTREAMER_ANDROID_CFLAGS := $(call pkg-config-get-includes,$(GSTREAMER_DEPS)) -I$(GSTREAMER_ROOT)/include # In newer NDK, SYSROOT is replaced by SYSROOT_INC and SYSROOT_LINK, which # now points to the root directory. But this will probably change in the future from: @@ -159,7 +159,7 @@ endif # Create the link command GSTREAMER_ANDROID_CMD := $(call libtool-link,$(TARGET_CC) $(TARGET_LDFLAGS) -shared --sysroot=$(SYSROOT) \ -o $(GSTREAMER_ANDROID_SO) $(GSTREAMER_ANDROID_O) \ - -L$(GSTREAMER_SDK_ROOT)/lib -L$(GSTREAMER_STATIC_PLUGINS_PATH) $(G_IO_MODULES_PATH) \ + -L$(GSTREAMER_ROOT)/lib -L$(GSTREAMER_STATIC_PLUGINS_PATH) $(G_IO_MODULES_PATH) \ $(GSTREAMER_ANDROID_LIBS), $(GSTREAMER_LD)) -Wl,-no-undefined $(GSTREAMER_LD) GSTREAMER_ANDROID_CMD := $(call libtool-whole-archive,$(GSTREAMER_ANDROID_CMD),$(GSTREAMER_ANDROID_WHOLE_AR)) diff --git a/data/ndk-build/tools.mk b/data/ndk-build/tools.mk index 65ac13d4..1e22a96b 100644 --- a/data/ndk-build/tools.mk +++ b/data/ndk-build/tools.mk @@ -25,14 +25,14 @@ ifeq ($(HOST_OS),windows) HOST_PKG_CONFIG := $(GSTREAMER_NDK_BUILD_PATH)/tools/windows/pkg-config # No space before the &&, or it will be added to PKG_CONFIG_LIBDIR - PKG_CONFIG_ORIG := set PKG_CONFIG_LIBDIR=$(GSTREAMER_SDK_ROOT)/lib/pkgconfig&& $(HOST_PKG_CONFIG) - GSTREAMER_SDK_ROOT := $(subst \,/,$(GSTREAMER_SDK_ROOT)) + PKG_CONFIG_ORIG := set PKG_CONFIG_LIBDIR=$(GSTREAMER_ROOT)/lib/pkgconfig&& $(HOST_PKG_CONFIG) + GSTREAMER_ROOT := $(subst \,/,$(GSTREAMER_ROOT)) else HOST_PKG_CONFIG := pkg-config - PKG_CONFIG_ORIG := PKG_CONFIG_LIBDIR=$(GSTREAMER_SDK_ROOT)/lib/pkgconfig $(HOST_PKG_CONFIG) + PKG_CONFIG_ORIG := PKG_CONFIG_LIBDIR=$(GSTREAMER_ROOT)/lib/pkgconfig $(HOST_PKG_CONFIG) endif -PKG_CONFIG := $(PKG_CONFIG_ORIG) --define-variable=prefix=$(GSTREAMER_SDK_ROOT) --define-variable=libdir=$(GSTREAMER_SDK_ROOT)/lib +PKG_CONFIG := $(PKG_CONFIG_ORIG) --define-variable=prefix=$(GSTREAMER_ROOT) --define-variable=libdir=$(GSTREAMER_ROOT)/lib # ----------------------------------------------------------------------------- # Function : pkg-config-get-includes @@ -61,7 +61,7 @@ pkg-config-get-libs = \ pkg-config-get-libs-no-deps = \ $(eval __tmpvar.libs := ) \ $(foreach package,$1,\ - $(eval __tmpvar.libs += $(shell $(HOST_SED) -n 's/^Libs: \(.*\)/\1/p' $(GSTREAMER_SDK_ROOT)/lib/pkgconfig/$(package).pc)))\ + $(eval __tmpvar.libs += $(shell $(HOST_SED) -n 's/^Libs: \(.*\)/\1/p' $(GSTREAMER_ROOT)/lib/pkgconfig/$(package).pc)))\ $(filter -l%, $(__tmpvar.libs)) # ----------------------------------------------------------------------------- @@ -71,7 +71,7 @@ pkg-config-get-libs-no-deps = \ # Usage : $(call pkg-config-get-prefix,<package>) # ----------------------------------------------------------------------------- pkg-config-get-prefix = \ - $(shell $(HOST_SED) -n 's/^prefix=\(.*\)/\1/p' $(GSTREAMER_SDK_ROOT)/lib/pkgconfig/$1.pc) + $(shell $(HOST_SED) -n 's/^prefix=\(.*\)/\1/p' $(GSTREAMER_ROOT)/lib/pkgconfig/$1.pc) # ----------------------------------------------------------------------------- # Function : libtool-whole-archive @@ -266,7 +266,7 @@ libtool-get-dependency-libs = \ $(shell $(HOST_SED) -n "s/^dependency_libs='\(.*\)'/\1/p" $1) libtool-replace-prefixes = \ - $(subst $(BUILD_PREFIX),$(GSTREAMER_SDK_ROOT),$1 ) + $(subst $(BUILD_PREFIX),$(GSTREAMER_ROOT),$1 ) libtool-get-static-library = \ $(shell $(HOST_SED) -n "s/^old_library='\(.*\)'/\1/p" $1) diff --git a/data/vs-1.0/gst-sdk-template/Scripts/1033/default.js b/data/vs-1.0/gst-template/Scripts/1033/default.js index f6e0128e..7eabdde1 100644 --- a/data/vs-1.0/gst-sdk-template/Scripts/1033/default.js +++ b/data/vs-1.0/gst-template/Scripts/1033/default.js @@ -25,7 +25,7 @@ function CreateCustomProject(strProjectName, strProjectPath) {
var strProjTemplatePath = wizard.FindSymbol('PROJECT_TEMPLATE_PATH');
var strProjTemplate = '';
- strProjTemplate = strProjTemplatePath + '\\gst-sdk-template\\gst-sdk-template.vcxproj';
+ strProjTemplate = strProjTemplatePath + '\\gst-template\\gst-template.vcxproj';
var Solution = dte.Solution;
var strSolutionName = "";
diff --git a/data/vs-1.0/gst-sdk-template/gst-sdk-template.vcxproj b/data/vs-1.0/gst-template/gst-template.vcxproj index 32f731b4..2b10b490 100644 --- a/data/vs-1.0/gst-sdk-template/gst-sdk-template.vcxproj +++ b/data/vs-1.0/gst-template/gst-template.vcxproj @@ -38,13 +38,13 @@ </ImportGroup>
<ImportGroup Label="PropertySheets" Condition="'$(Platform)'=='Win32'">
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
- <Import Project="$(GSTREAMER_1_0_SDK_ROOT_X86)\share\vs\2010\libs\gstreamer-1.0.props" Condition="exists('$(GSTREAMER_1_0_SDK_ROOT_X86)\share\vs\2010\libs\gstreamer-1.0.props')" />
- <Import Project="$(GSTREAMER_1_0_SDK_ROOT_X86)\share\vs\2010\msvc\x86.props" Condition="exists('$(GSTREAMER_1_0_SDK_ROOT_X86)\share\vs\2010\msvc\x86.props')" />
+ <Import Project="$(GSTREAMER_1_0_ROOT_X86)\share\vs\2010\libs\gstreamer-1.0.props" Condition="exists('$(GSTREAMER_1_0_ROOT_X86)\share\vs\2010\libs\gstreamer-1.0.props')" />
+ <Import Project="$(GSTREAMER_1_0_ROOT_X86)\share\vs\2010\msvc\x86.props" Condition="exists('$(GSTREAMER_1_0_ROOT_X86)\share\vs\2010\msvc\x86.props')" />
</ImportGroup>
<ImportGroup Label="PropertySheets" Condition="'$(Platform)'=='x64'">
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
- <Import Project="$(GSTREAMER_1_0_SDK_ROOT_X86_64)\share\vs\2010\libs\gstreamer-1.0.props" Condition="exists('$(GSTREAMER_1_0_SDK_ROOT_X86_64)\share\vs\2010\libs\gstreamer-1.0.props')" />
- <Import Project="$(GSTREAMER_1_0_SDK_ROOT_X86_64)\share\vs\2010\msvc\x86_64.props" Condition="exists('$(GSTREAMER_1_0_SDK_ROOT_X86_64)\share\vs\2010\msvc\x86_64.props')" />
+ <Import Project="$(GSTREAMER_1_0_ROOT_X86_64)\share\vs\2010\libs\gstreamer-1.0.props" Condition="exists('$(GSTREAMER_1_0_ROOT_X86_64)\share\vs\2010\libs\gstreamer-1.0.props')" />
+ <Import Project="$(GSTREAMER_1_0_ROOT_X86_64)\share\vs\2010\msvc\x86_64.props" Condition="exists('$(GSTREAMER_1_0_ROOT_X86_64)\share\vs\2010\msvc\x86_64.props')" />
</ImportGroup>
<PropertyGroup Label="UserMacros" />
<PropertyGroup Condition="'$(Configuration)'=='Debug'">
diff --git a/data/vs-1.0/wizard/gst-sdk-template.vsdir b/data/vs-1.0/wizard/gst-sdk-template.vsdir index 2ccdac7a..2ac7cf67 100644 --- a/data/vs-1.0/wizard/gst-sdk-template.vsdir +++ b/data/vs-1.0/wizard/gst-sdk-template.vsdir @@ -1 +1 @@ -gst-sdk-template.vsz| |GStreamer SDK Project|1|Create GStreamer projects easily.| |6777| |GstProject
+gst-template.vsz| |GStreamer Project|1|Create GStreamer projects easily.| |6777| |GstProject
diff --git a/data/vs-1.0/wizard/gst-sdk-template.vsz b/data/vs-1.0/wizard/gst-sdk-template.vsz index 8495e30c..3d340f20 100644 --- a/data/vs-1.0/wizard/gst-sdk-template.vsz +++ b/data/vs-1.0/wizard/gst-sdk-template.vsz @@ -1,7 +1,7 @@ VSWIZARD 7.0
Wizard=VsWizard.VsWizardEngine.10.0
-Param="WIZARD_NAME = gst-sdk-template"
+Param="WIZARD_NAME = gst-template"
Param="RELATIVE_PATH = VCWizards"
Param="FALLBACK_LCID = 1033"
Param="WIZARD_UI = FALSE"
diff --git a/data/vs/gst-sdk-template/gst-sdk-template.vcxproj b/data/vs/gst-sdk-template/gst-sdk-template.vcxproj index 5094f0da..b061ac31 100644 --- a/data/vs/gst-sdk-template/gst-sdk-template.vcxproj +++ b/data/vs/gst-sdk-template/gst-sdk-template.vcxproj @@ -38,13 +38,13 @@ </ImportGroup>
<ImportGroup Label="PropertySheets" Condition="'$(Platform)'=='Win32'">
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
- <Import Project="$(GSTREAMER_SDK_ROOT_X86)\share\vs\2010\libs\gstreamer-0.10.props" Condition="exists('$(GSTREAMER_SDK_ROOT_X86)\share\vs\2010\libs\gstreamer-0.10.props')" />
- <Import Project="$(GSTREAMER_SDK_ROOT_X86)\share\vs\2010\msvc\x86.props" Condition="exists('$(GSTREAMER_SDK_ROOT_X86)\share\vs\2010\msvc\x86.props')" />
+ <Import Project="$(GSTREAMER_ROOT_X86)\share\vs\2010\libs\gstreamer-0.10.props" Condition="exists('$(GSTREAMER_ROOT_X86)\share\vs\2010\libs\gstreamer-0.10.props')" />
+ <Import Project="$(GSTREAMER_ROOT_X86)\share\vs\2010\msvc\x86.props" Condition="exists('$(GSTREAMER_ROOT_X86)\share\vs\2010\msvc\x86.props')" />
</ImportGroup>
<ImportGroup Label="PropertySheets" Condition="'$(Platform)'=='x64'">
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
- <Import Project="$(GSTREAMER_SDK_ROOT_X86_64)\share\vs\2010\libs\gstreamer-0.10.props" Condition="exists('$(GSTREAMER_SDK_ROOT_X86_64)\share\vs\2010\libs\gstreamer-0.10.props')" />
- <Import Project="$(GSTREAMER_SDK_ROOT_X86_64)\share\vs\2010\msvc\x86_64.props" Condition="exists('$(GSTREAMER_SDK_ROOT_X86_64)\share\vs\2010\msvc\x86_64.props')" />
+ <Import Project="$(GSTREAMER_ROOT_X86_64)\share\vs\2010\libs\gstreamer-0.10.props" Condition="exists('$(GSTREAMER_ROOT_X86_64)\share\vs\2010\libs\gstreamer-0.10.props')" />
+ <Import Project="$(GSTREAMER_ROOT_X86_64)\share\vs\2010\msvc\x86_64.props" Condition="exists('$(GSTREAMER_ROOT_X86_64)\share\vs\2010\msvc\x86_64.props')" />
</ImportGroup>
<PropertyGroup Label="UserMacros" />
<PropertyGroup Condition="'$(Configuration)'=='Debug'">
@@ -87,4 +87,4 @@ <Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
<ImportGroup Label="ExtensionTargets">
</ImportGroup>
-</Project>
\ No newline at end of file +</Project>
diff --git a/data/vs/wizard/gst-sdk-template.vsdir b/data/vs/wizard/gst-sdk-template.vsdir index 2ccdac7a..36132153 100644 --- a/data/vs/wizard/gst-sdk-template.vsdir +++ b/data/vs/wizard/gst-sdk-template.vsdir @@ -1 +1 @@ -gst-sdk-template.vsz| |GStreamer SDK Project|1|Create GStreamer projects easily.| |6777| |GstProject
+gst-sdk-template.vsz| |GStreamer Project|1|Create GStreamer projects easily.| |6777| |GstProject
diff --git a/packages/base-system-1.0.package b/packages/base-system-1.0.package index f4b67679..0671b6c0 100644 --- a/packages/base-system-1.0.package +++ b/packages/base-system-1.0.package @@ -7,12 +7,12 @@ class Package(package.Package): name = 'base-system-1.0' shortdesc = 'Base system dependencies' longdesc = 'Base system dependencies' - url = "http://www.gstreamer.com" - version = '2013.04' + url = "http://gstreamer.freedesktop.org" + version = '1.0.8' codename = 'Congo' license = License.LGPL vendor = 'GStreamer Project' - org = 'com.gstreamer' + org = 'org.freedesktop.gstreamer' uuid = 'fae6046d-5a39-4d54-93ee-3770d2f316f5' files = ['cairo:libs', 'expat:libs', 'fontconfig:libs:etc', diff --git a/packages/gstreamer-1.0-capture.package b/packages/gstreamer-1.0-capture.package index a2e7236a..92c563bd 100644 --- a/packages/gstreamer-1.0-capture.package +++ b/packages/gstreamer-1.0-capture.package @@ -7,12 +7,12 @@ class Package(package.Package): name = 'gstreamer-1.0-capture' shortdesc = 'GStreamer 1.0 plugins for capture' longdesc = 'GStreamer 1.0 plugins for capture' - url = "http://www.gstreamer.com" - version = '2013.04' + url = "http://gstreamer.freedesktop.org" + version = '1.0.8' codename = 'Congo' license = License.LGPL vendor = 'GStreamer Project' - org = 'com.gstreamer' + org = 'org.freedesktop.gstreamer' uuid = '1c85344d-5968-4e50-959e-5cf4379e0a40' deps = ['gstreamer-1.0-core', 'gstreamer-1.0-encoding'] diff --git a/packages/gstreamer-1.0-codecs-gpl.package b/packages/gstreamer-1.0-codecs-gpl.package index bdd766bb..98e8bb7a 100644 --- a/packages/gstreamer-1.0-codecs-gpl.package +++ b/packages/gstreamer-1.0-codecs-gpl.package @@ -7,12 +7,12 @@ class Package(package.Package): name = 'gstreamer-1.0-codecs-gpl' shortdesc = 'GStreamer 1.0 codecs under the GPL license and/or with patents issues' longdesc = 'GStreamer 1.0 codecs under the GPL license and/or with patents issues' - url = "http://www.gstreamer.com" - version = '2013.04' + url = "http://gstreamer.freedesktop.org" + version = '1.0.8' codename = 'Congo' license = License.LGPL vendor = 'GStreamer Project' - org = 'com.gstreamer' + org = 'org.freedesktop.gstreamer' uuid = 'f685219b-7ee8-46b9-af3c-338e3cbb4f94' deps = ['gstreamer-1.0-core'] diff --git a/packages/gstreamer-1.0-codecs-restricted.package b/packages/gstreamer-1.0-codecs-restricted.package index 68508961..70de7c42 100644 --- a/packages/gstreamer-1.0-codecs-restricted.package +++ b/packages/gstreamer-1.0-codecs-restricted.package @@ -7,12 +7,12 @@ class Package(package.Package): name = 'gstreamer-1.0-codecs-restricted' shortdesc = 'GStreamer 1.0 restricted codecs with potential patent issues in some countries' longdesc = 'GStreamer 1.0 restricted codecs with potential patent issues in some countries' - version = '2013.04' + version = '1.0.8' codename = 'Congo' - url = "http://www.gstreamer.com" + url = "http://gstreamer.freedesktop.org" license = License.LGPL vendor = 'GStreamer Project' - org = 'com.gstreamer' + org = 'org.freedesktop.gstreamer' uuid = '0a4e77e8-3c8c-4e7d-890b-1538d36f1816' deps = ['gstreamer-1.0-core'] diff --git a/packages/gstreamer-1.0-codecs.package b/packages/gstreamer-1.0-codecs.package index 3fa7442a..11839a8c 100644 --- a/packages/gstreamer-1.0-codecs.package +++ b/packages/gstreamer-1.0-codecs.package @@ -7,12 +7,12 @@ class Package(package.Package): name = 'gstreamer-1.0-codecs' shortdesc = 'GStreamer 1.0 codecs' longdesc = 'GStreamer 1.0 codecs' - version = '2013.04' + version = '1.0.8' codename = 'Congo' - url = "http://www.gstreamer.com" + url = "http://gstreamer.freedesktop.org" license = License.LGPL vendor = 'GStreamer Project' - org = 'com.gstreamer' + org = 'org.freedesktop.gstreamer' uuid = 'a2e545d5-7819-4636-9e86-3660542f08e5' deps = ['gstreamer-1.0-core'] diff --git a/packages/gstreamer-1.0-core.package b/packages/gstreamer-1.0-core.package index d57bb5bb..c82b6ee8 100644 --- a/packages/gstreamer-1.0-core.package +++ b/packages/gstreamer-1.0-core.package @@ -7,17 +7,17 @@ class Package(package.Package): name = 'gstreamer-1.0-core' shortdesc = 'GStreamer 1.0 core' longdesc = 'GStreamer 1.0 core' - url = "http://www.gstreamer.com" - version = '2013.04' + url = "http://gstreamer.freedesktop.org" + version = '1.0.8' codename = 'Congo' license = License.LGPL vendor = 'GStreamer Project' - org = 'com.gstreamer' + org = 'org.freedesktop.gstreamer' uuid = 'd9626750-e8b7-4e40-944d-98b67ed0c6bf' deps = ['base-system-1.0'] files = ['gstreamer-1.0', 'gst-plugins-base-1.0:bins:libs:core:lang', - 'gst-sdk-shell', + 'gst-shell', 'gst-plugins-good-1.0:plugins_core:lang', 'gst-plugins-bad-1.0:plugins_core:lang', 'gst-plugins-bad-1.0:plugins_core:lang', diff --git a/packages/gstreamer-1.0-dvd.package b/packages/gstreamer-1.0-dvd.package index e47cede4..514143c0 100644 --- a/packages/gstreamer-1.0-dvd.package +++ b/packages/gstreamer-1.0-dvd.package @@ -7,12 +7,12 @@ class Package(package.Package): name = 'gstreamer-1.0-dvd' shortdesc = 'GStreamer 1.0 DVD support' longdesc = 'GStreamer 1.0 DVD support' - url = "http://www.gstreamer.com" - version = '2013.04' + url = "http://gstreamer.freedesktop.org" + version = '1.0.8' codename = 'Congo' license = License.LGPL vendor = 'GStreamer Project' - org = 'com.gstreamer' + org = 'org.freedesktop.gstreamer' uuid = 'b92c270e-3d91-48ea-bedf-fdc01b41caba' deps = ['gstreamer-1.0-core'] diff --git a/packages/gstreamer-1.0-effects.package b/packages/gstreamer-1.0-effects.package index e1a8efa2..ab5807f5 100644 --- a/packages/gstreamer-1.0-effects.package +++ b/packages/gstreamer-1.0-effects.package @@ -7,12 +7,12 @@ class Package(package.Package): name = 'gstreamer-1.0-effects' shortdesc = 'GStreamer 1.0 effects and instrumentation plugins' longdesc = 'GStreamer 1.0 effects and instrumentation plugins' - url = "http://www.gstreamer.com" - version = '2013.04' + url = "http://gstreamer.freedesktop.org" + version = '1.0.8' codename = 'Congo' license = License.LGPL vendor = 'GStreamer Project' - org = 'com.gstreamer' + org = 'org.freedesktop.gstreamer' uuid = '4be3f88b-b552-4cd7-aecd-cf935fe270f7' deps = ['gstreamer-1.0-core'] diff --git a/packages/gstreamer-1.0-encoding.package b/packages/gstreamer-1.0-encoding.package index e9de13f4..9250e362 100644 --- a/packages/gstreamer-1.0-encoding.package +++ b/packages/gstreamer-1.0-encoding.package @@ -7,12 +7,12 @@ class Package(package.Package): name = 'gstreamer-1.0-encoding' shortdesc = 'GStreamer 1.0 plugins for playback' longdesc = 'GStreamer 1.0 plugins for playback' - url = "http://www.gstreamer.com" - version = '2013.04' + url = "http://gstreamer.freedesktop.org" + version = '1.0.8' codename = 'Congo' license = License.LGPL vendor = 'GStreamer Project' - org = 'com.gstreamer' + org = 'org.freedesktop.gstreamer' uuid = '0c91cd49-7dd2-4b48-aa7a-3f71d17c09b4' deps = ['gstreamer-1.0-core', 'gstreamer-1.0-playback'] diff --git a/packages/gstreamer-1.0-libav.package b/packages/gstreamer-1.0-libav.package index 16a0b7f8..02304153 100644 --- a/packages/gstreamer-1.0-libav.package +++ b/packages/gstreamer-1.0-libav.package @@ -7,12 +7,12 @@ class Package(package.Package): name = 'gstreamer-1.0-libav' shortdesc = 'GStreamer 1.0 libav wrapper' longdesc = 'GStreamer 1.0 libav wrapper' - url = "http://www.gstreamer.com" - version = '2013.04' + url = "http://gstreamer.freedesktop.org" + version = '1.0.8' codename = 'Congo' license = License.LGPL vendor = 'GStreamer Project' - org = 'com.gstreamer' + org = 'org.freedesktop.gstreamer' uuid = '5581acc2-d38c-491b-83c9-14b7011c3c06' deps = ['gstreamer-1.0-core'] diff --git a/packages/gstreamer-1.0-net-restricted.package b/packages/gstreamer-1.0-net-restricted.package index 6620b4c5..e1c3847a 100644 --- a/packages/gstreamer-1.0-net-restricted.package +++ b/packages/gstreamer-1.0-net-restricted.package @@ -7,12 +7,12 @@ class Package(package.Package): name = 'gstreamer-1.0-net-restricted' shortdesc = 'GStreamer 1.0 plugins for network protocols with potential patent issues in some countries' longdesc = 'GStreamer 1.0 plugins for network protocols with potential patent issues in some countries' - url = "http://www.gstreamer.com" - version = '2013.04' + url = "http://gstreamer.freedesktop.org" + version = '1.0.8' codename = 'Congo' license = License.LGPL vendor = 'GStreamer Project' - org = 'com.gstreamer' + org = 'org.freedesktop.gstreamer' uuid = '8cf57a89-3ba3-4db0-8b66-15e79b541ffe' deps = ['gstreamer-1.0-core'] diff --git a/packages/gstreamer-1.0-net.package b/packages/gstreamer-1.0-net.package index 342d67fd..24423a9a 100644 --- a/packages/gstreamer-1.0-net.package +++ b/packages/gstreamer-1.0-net.package @@ -7,12 +7,12 @@ class Package(package.Package): name = 'gstreamer-1.0-net' shortdesc = 'GStreamer 1.0 plugins for network protocols' longdesc = 'GStreamer 1.0 plugins for network protocols' - url = "http://www.gstreamer.com" - version = '2013.04' + url = "http://gstreamer.freedesktop.org" + version = '1.0.8' codename = 'Congo' license = License.LGPL vendor = 'GStreamer Project' - org = 'com.gstreamer' + org = 'org.freedesktop.gstreamer' uuid = '2f9ca3f5-3b3b-4b4d-8cc9-6c08f21af807' deps = ['gstreamer-1.0-core'] diff --git a/packages/gstreamer-1.0-playback.package b/packages/gstreamer-1.0-playback.package index 02ae420e..76c7f0af 100644 --- a/packages/gstreamer-1.0-playback.package +++ b/packages/gstreamer-1.0-playback.package @@ -7,12 +7,12 @@ class Package(package.Package): name = 'gstreamer-1.0-playback' shortdesc = 'GStreamer 1.0 plugins for playback' longdesc = 'GStreamer 1.0 plugins for playback' - url = "http://www.gstreamer.com" - version = '2013.04' + url = "http://gstreamer.freedesktop.org" + version = '1.0.8' codename = 'Congo' license = License.LGPL vendor = 'GStreamer Project' - org = 'com.gstreamer' + org = 'org.freedesktop.gstreamer' uuid = '74bc4aad-2463-4be5-9a8b-41d132fa7bd5' deps = ['gstreamer-1.0-core'] diff --git a/packages/gstreamer-1.0-system.package b/packages/gstreamer-1.0-system.package index 70ffd219..d537b00d 100644 --- a/packages/gstreamer-1.0-system.package +++ b/packages/gstreamer-1.0-system.package @@ -7,12 +7,12 @@ class Package(package.Package): name = 'gstreamer-1.0-system' shortdesc = 'GStreamer 1.0 system plugins' longdesc = 'GStreamer 1.0 system plugins' - url = "http://www.gstreamer.com" - version = '2013.04' + url = "http://gstreamer.freedesktop.org" + version = '1.0.8' codename = 'Congo' license = License.LGPL vendor = 'GStreamer Project' - org = 'com.gstreamer' + org = 'org.freedesktop.gstreamer' uuid = 'fe9b6b9e-0817-4a2f-9838-44e1d9377435' deps = ['gstreamer-1.0-core'] diff --git a/packages/gstreamer-1.0-visualizers.package b/packages/gstreamer-1.0-visualizers.package index 7ce31749..91b4e0d4 100644 --- a/packages/gstreamer-1.0-visualizers.package +++ b/packages/gstreamer-1.0-visualizers.package @@ -7,12 +7,12 @@ class Package(package.Package): name = 'gstreamer-1.0-visualizers' shortdesc = 'GStreamer 1.0 visualization plugins' longdesc = 'GStreamer 1.0 visualization plugins' - url = "http://www.gstreamer.com" - version = '2013.04' + url = "http://gstreamer.freedesktop.org" + version = '1.0.8' codename = 'Congo' license = License.LGPL vendor = 'GStreamer Project' - org = 'com.gstreamer' + org = 'org.freedesktop.gstreamer' uuid = 'b8800fa1-44bb-4a95-87e1-6814cdc62ec3' deps = ['gstreamer-1.0-core'] diff --git a/packages/gstreamer-1.0-vs-templates.package b/packages/gstreamer-1.0-vs-templates.package new file mode 100644 index 00000000..ae14a52f --- /dev/null +++ b/packages/gstreamer-1.0-vs-templates.package @@ -0,0 +1,20 @@ +# vi:si:et:sw=4:sts=4:ts=4:syntax=python
+# -*- Mode: Python -*-
+from cerbero.packages.wix import VSTemplatePackage
+
+
+class Package(VSTemplatePackage):
+
+ name = 'gstreamer-1.0-vs-templates'
+ shortdesc = 'GStreamer 1.0 VS templates'
+ longdesc = 'GStreamer 1.0 Visual Studio templates'
+ url = "http://gstreamer.freedesktop.org"
+ version = '1.0.8'
+ codename = 'Congo'
+ license = License.LGPL
+ vendor = 'GStreamer Project'
+ org = 'org.freedesktop.gstreamer'
+ uuid = '42b3ba90-bd6a-4d94-a40d-5f2adf7ce441'
+ vs_template_dir = 'share/vs/2010/gst-sdk-template'
+ vs_wizard_dir = 'share/vs/2010/wizard'
+ vs_template_name = 'GStreamer'
diff --git a/packages/gstreamer-1.0/background.png b/packages/gstreamer-1.0/background.png Binary files differnew file mode 100644 index 00000000..06c165df --- /dev/null +++ b/packages/gstreamer-1.0/background.png diff --git a/packages/gstreamer-1.0/banner.bmp b/packages/gstreamer-1.0/banner.bmp Binary files differnew file mode 100644 index 00000000..8634344e --- /dev/null +++ b/packages/gstreamer-1.0/banner.bmp diff --git a/packages/gstreamer-1.0/dialog.bmp b/packages/gstreamer-1.0/dialog.bmp Binary files differnew file mode 100644 index 00000000..535daf8b --- /dev/null +++ b/packages/gstreamer-1.0/dialog.bmp diff --git a/packages/gstreamer-1.0/gstreamer-1.0.package b/packages/gstreamer-1.0/gstreamer-1.0.package new file mode 100644 index 00000000..119ec36a --- /dev/null +++ b/packages/gstreamer-1.0/gstreamer-1.0.package @@ -0,0 +1,70 @@ +# -*- Mode: Python -*- vi:si:et:sw=4:sts=4:ts=4:syntax=python + + +class SDKPackage(package.SDKPackage): + + name = "gstreamer-1.0" + shortdesc = "GStreamer 1.0" + longdesc = "GStreamer 1.0" + title = "GStreamer 1.0" + url = "http://gstreamer.freedesktop.org" + version = '1.0.8' + sdk_version = '1.0' + codename = 'Congo' + license = License.LGPL + uuid = 'b1b4b712-0d09-4a34-8117-8a69b6deecc2' + vendor = "GStreamer Project" + org = "org.freedesktop.gstreamer" + ignore_package_prefix = True + packages =[ + # (name, required, selected) + ('gstreamer-1.0-core', True, True), + ('gstreamer-1.0-system', False, True), + ('gstreamer-1.0-playback', False, True), + ('gstreamer-1.0-codecs', False, True), + ('gstreamer-1.0-effects', False, True), + ('gstreamer-1.0-net', False, True), + ('gstreamer-1.0-visualizers', False, True), + ('gstreamer-1.0-codecs-gpl', False, False), + ('gstreamer-1.0-codecs-restricted', False, False), + ('gstreamer-1.0-net-restricted', False, False), + ('gstreamer-1.0-dvd', False, False), + ('gstreamer-1.0-libav', False, False), + ('gstreamer-1.0-encoding', False, False), + ('gstreamer-1.0-capture', False, False), + ] + platform_packages = { + Platform.WINDOWS: [ + ('vsintegration-1.0', True, False), + ('gstreamer-1.0-vs-templates', True, False), + ], + } + + install_dir = { + Platform.WINDOWS: 'gstreamer', + Platform.LINUX: '/opt/gstreamer-1.0/', + Platform.DARWIN: '/Library/Frameworks/GStreamer.framework/', + Platform.IOS: '/Library/Developer/GStreamer/iPhone.sdk'} + + root_env_var = 'GSTREAMER_1_0_ROOT_%(arch)s' + wix_upgrade_code = { + PackageType.DEVEL: { + Architecture.X86 : 'c0c6126d-1f4a-4577-9598-e900f594fd06', + Architecture.X86_64: '49c4a3aa-249f-453c-b82e-ecd05fac0693', + }, + PackageType.RUNTIME: { + Architecture.X86 : 'ebe0c791-d84e-4f7e-a4eb-18012a0e319d', + Architecture.X86_64: 'c20a66dc-b249-4e6d-a68a-d0f836b2b3cf', + }, + } + osx_framework_library = ('GStreamer', 'lib/GStreamer') + ios_framework_library = ('GStreamer', 'lib/GStreamer') + + + def prepare(self): + if self.config.target_platform in [Platform.ANDROID, Platform.IOS]: + p = ['gstreamer-1.0-dvd'] + self.packages = [ x for x in self.packages if x[0] not in p] + if self.config.target_platform == Platform.IOS: + self.resources_postinstall = 'post_install_ios' + self.user_resources = ['share/gst-sdk/tutorials/xcode iOS'] diff --git a/packages/gstreamer-1.0/icon.ico b/packages/gstreamer-1.0/icon.ico Binary files differnew file mode 100644 index 00000000..d788f973 --- /dev/null +++ b/packages/gstreamer-1.0/icon.ico diff --git a/packages/gstreamer-1.0/license.rtf b/packages/gstreamer-1.0/license.rtf new file mode 100644 index 00000000..54ab83db --- /dev/null +++ b/packages/gstreamer-1.0/license.rtf @@ -0,0 +1,94 @@ +{\rtf1\ansi\deff3\adeflang1025 +{\fonttbl{\f0\froman\fprq2\fcharset0 Times New Roman;}{\f1\froman\fprq2\fcharset2 Symbol;}{\f2\fswiss\fprq2\fcharset0 Arial;}{\f3\froman\fprq2\fcharset128 Liberation Serif{\*\falt Times New Roman};}{\f4\fswiss\fprq2\fcharset128 Liberation Sans{\*\falt Arial};}{\f5\froman\fprq2\fcharset128 Times New Roman;}{\f6\froman\fprq0\fcharset128 Times New Roman;}{\f7\fnil\fprq2\fcharset128 Droid Sans;}{\f8\fnil\fprq2\fcharset128 FreeSans;}{\f9\fswiss\fprq0\fcharset128 FreeSans;}} +{\colortbl;\red0\green0\blue0;\red128\green128\blue128;} +{\stylesheet{\s0\snext0\nowidctlpar{\*\hyphen2\hyphlead2\hyphtrail2\hyphmax0}\cf0\kerning1\hich\af7\langfe2052\dbch\af8\afs24\alang1081\loch\f3\fs24\lang1031 Normal;} +{\s15\sbasedon0\snext16\sb240\sa120\keepn\hich\af7\dbch\af8\afs28\loch\f4\fs28 Heading;} +{\s16\sbasedon0\snext16\sb0\sa120 Text body;} +{\s17\sbasedon16\snext17\sb0\sa120\dbch\af9 List;} +{\s18\sbasedon0\snext18\sb120\sa120\noline\i\dbch\af9\afs24\ai\fs24 Caption;} +{\s19\sbasedon0\snext19\noline\dbch\af9 Index;} +}{\info{\creatim\yr0\mo0\dy0\hr0\min0}{\revtim\yr0\mo0\dy0\hr0\min0}{\printim\yr0\mo0\dy0\hr0\min0}{\comment LibreOffice}{\vern3500}}\deftab720 + +{\*\pgdsctbl +{\pgdsc0\pgdscuse195\pgwsxn12240\pghsxn15840\marglsxn1800\margrsxn1800\margtsxn1440\margbsxn1440\pgdscnxt0 Default;}} +\formshade{\*\pgdscno0}\paperh15840\paperw12240\margl1800\margr1800\margt1440\margb1440\sectd\sbknone\sectunlocked1\pgndec\pgwsxn12240\pghsxn15840\marglsxn1800\margrsxn1800\margtsxn1440\margbsxn1440\ftnbj\ftnstart1\ftnrstcont\ftnnar\aenddoc\aftnrstcont\aftnstart1\aftnnrlc +\pgndec\pard\plain \s0\nowidctlpar{\*\hyphen2\hyphlead2\hyphtrail2\hyphmax0}\cf0\kerning1\hich\af7\langfe2052\dbch\af8\afs24\alang1081\loch\f3\fs24\lang1031\sl276\slmult1\sb0\sa200{\b\rtlch \ltrch\fs44\lang255\loch\f6 + }{\b\rtlch \ltrch\loch\fs44\lang255\loch\f6 +Installer, default installation} +\par \pard\plain \s0\nowidctlpar{\*\hyphen2\hyphlead2\hyphtrail2\hyphmax0}\cf0\kerning1\hich\af7\langfe2052\dbch\af8\afs24\alang1081\loch\f3\fs24\lang1031\sl276\slmult1\sb0\sa200{\b0\rtlch \ltrch\loch\fs24\lang255\loch\f6 +The installer (Microsoft Windows and MacOSX) and the default installation (GNU/Linux) contain and install the minimal default installation. At install time or later, the downloading of optional components is also possible, but read on for certain legal cautions you might want to take. All downloads are from the freedesktop.org website.} +\par \pard\plain \s0\nowidctlpar{\*\hyphen2\hyphlead2\hyphtrail2\hyphmax0}\cf0\kerning1\hich\af7\langfe2052\dbch\af8\afs24\alang1081\loch\f3\fs24\lang1031\sl276\slmult1\sb0\sa200{\b\rtlch \ltrch\loch\fs44\lang255\loch\f6 +Licensing GStreamer} +\par \pard\plain \s0\nowidctlpar{\*\hyphen2\hyphlead2\hyphtrail2\hyphmax0}\cf0\kerning1\hich\af7\langfe2052\dbch\af8\afs24\alang1081\loch\f3\fs24\lang1031\sl276\slmult1\sb0\sa200{\b0\rtlch \ltrch\loch\fs24\lang255\loch\f6 +Gstreamer minimal default installation only contains packages which are licensed under the GNU LGPL license v2.1. This license gives you the Freedom to use, modify, make copies of the software either in the original or in a modified form, provided that the software you redistribute is licensed under the same licensing terms. This only extends to the software itself and modified versions of it, but you are free to link the LGPL software as a library used by other software under whichever license. In other words, it is a weak copyleft license.} +\par \pard\plain \s0\nowidctlpar{\*\hyphen2\hyphlead2\hyphtrail2\hyphmax0}\cf0\kerning1\hich\af7\langfe2052\dbch\af8\afs24\alang1081\loch\f3\fs24\lang1031\sl276\slmult1\sb0\sa200{\b0\rtlch \ltrch\loch\fs24\lang255\loch\f6 +Therefore, it is possible to use GStreamer to build applications that are then distributed under a different license, including a proprietary one, provided that reverse engineering is not prohibited for debugging modifications purposes. Only the pieces of GStreamer that are under the LGPL need to be kept under the LGPL, and the corresponding source code must be distributed along with the application (or an irrevocable offer to do so for at least three years from distribution). Please consult section 6 of the LGPL for further details as to what the corresponding source code must contain.} +\par \pard\plain \s0\nowidctlpar{\*\hyphen2\hyphlead2\hyphtrail2\hyphmax0}\cf0\kerning1\hich\af7\langfe2052\dbch\af8\afs24\alang1081\loch\f3\fs24\lang1031\sl276\slmult1\sb0\sa200{\b0\rtlch \ltrch\loch\fs24\lang255\loch\f6 +Some portions of the minimal default installation may be under different licenses, which are both more liberal than the LGPL (they are less strict conditions for granting the license) and compatible with the LGPL. This is advised locally.} +\par \pard\plain \s0\nowidctlpar{\*\hyphen2\hyphlead2\hyphtrail2\hyphmax0}\cf0\kerning1\hich\af7\langfe2052\dbch\af8\afs24\alang1081\loch\f3\fs24\lang1031\sl276\slmult1\sb0\sa200{\b\rtlch \ltrch\loch\fs44\lang255\loch\f6 +Optional packages} +\par \pard\plain \s0\nowidctlpar{\*\hyphen2\hyphlead2\hyphtrail2\hyphmax0}\cf0\kerning1\hich\af7\langfe2052\dbch\af8\afs24\alang1081\loch\f3\fs24\lang1031\sl276\slmult1\sb0\sa200{\b0\rtlch \ltrch\loch\fs24\lang255\loch\f6 +There are two types of optional packages, which are under a different license or have other issues concerning patentability (or both).} +\par \pard\plain \s0\nowidctlpar{\*\hyphen2\hyphlead2\hyphtrail2\hyphmax0}\cf0\kerning1\hich\af7\langfe2052\dbch\af8\afs24\alang1081\loch\f3\fs24\lang1031\sl276\slmult1\sb0\sa200{\b\rtlch \ltrch\loch\fs36\lang255\loch\f6 +GPL code} +\par \pard\plain \s0\nowidctlpar{\*\hyphen2\hyphlead2\hyphtrail2\hyphmax0}\cf0\kerning1\hich\af7\langfe2052\dbch\af8\afs24\alang1081\loch\f3\fs24\lang1031\sl276\slmult1\sb0\sa200{\b0\rtlch \ltrch\loch\fs24\lang255\loch\f6 +Part of the optional packages are under the GNU GPL v2 or v3. This means that you cannot link the GPL software in a program unless the same program is also under the GPL, but you are invited to seek competent advice on how this works in your precise case and design choices. GPL is called \uc3 \u8220\'e2\'80\'9cstrong copyleft\u8221\'e2\'80\'9d because the condition to distributed under the same license has the largest possible scope and extends to all derivative works.\uc1 } +\par \pard\plain \s0\nowidctlpar{\*\hyphen2\hyphlead2\hyphtrail2\hyphmax0}\cf0\kerning1\hich\af7\langfe2052\dbch\af8\afs24\alang1081\loch\f3\fs24\lang1031\sl276\slmult1\sb0\sa200{\b\rtlch \ltrch\loch\fs36\lang255\loch\f6 +Patents} +\par \pard\plain \s0\nowidctlpar{\*\hyphen2\hyphlead2\hyphtrail2\hyphmax0}\cf0\kerning1\hich\af7\langfe2052\dbch\af8\afs24\alang1081\loch\f3\fs24\lang1031\sl276\slmult1\sb0\sa200{\b0\rtlch \ltrch\loch\fs24\lang255\loch\f6 +Certain software, and in particular software that implements multimedia standard formats such as Mp3, MPEG 2 video and audio, h.264, MPEG 4 audio and video, AC3, etc, can have patent issues. In certain countries patents are granted on software and even software-only solution are by and large considered patentable and are patented (such as in the United States). In certain others, patents on pure software solutions are formally prohibited, but granted (this is the case of Europe), and in others again are neither allowed nor granted.} +\par \pard\plain \s0\nowidctlpar{\*\hyphen2\hyphlead2\hyphtrail2\hyphmax0}\cf0\kerning1\hich\af7\langfe2052\dbch\af8\afs24\alang1081\loch\f3\fs24\lang1031\sl276\slmult1\sb0\sa200{\b0\rtlch \ltrch\loch\fs24\lang255\loch\f6 +It is up to you to make sure that in the countries where GStreamer is used, products are made using it and product are distributed, a license from the applicable patent holders is required or not. Receiving GStreamer \uc3 \u8211\'e2\'80\'93 or links to other downloadable software \u8211\'e2\'80\'93 does not provide any license expressed or implied over these patents, except in very limited conditions where the license so provides. No representation is made.\uc1 } +\par \pard\plain \s0\nowidctlpar{\*\hyphen2\hyphlead2\hyphtrail2\hyphmax0}\cf0\kerning1\hich\af7\langfe2052\dbch\af8\afs24\alang1081\loch\f3\fs24\lang1031\sl276\slmult1\sb0\sa200{\b0\rtlch \ltrch\loch\fs24\lang255\loch\f6 +In certain cases, the optional packages are distributed only as source code. It is up the receiver to make sure that in the applicable circumstances compiling the same code for a given platform or distributing the object code is an act that infringes one or more patents.} +\par \pard\plain \s0\nowidctlpar{\*\hyphen2\hyphlead2\hyphtrail2\hyphmax0}\cf0\kerning1\hich\af7\langfe2052\dbch\af8\afs24\alang1081\loch\f3\fs24\lang1031\sl276\slmult1\sb0\sa200{\b\rtlch \ltrch\loch\fs44\lang255\loch\f6 +Software is as-is} +\par \pard\plain \s0\nowidctlpar{\*\hyphen2\hyphlead2\hyphtrail2\hyphmax0}\cf0\kerning1\hich\af7\langfe2052\dbch\af8\afs24\alang1081\loch\f3\fs24\lang1031\sl276\slmult1\sb0\sa200{\b0\rtlch \ltrch\loch\fs24\lang255\loch\f6 +All software and GStreamer is provided as-is, without any warranty whatsoever. The individual licenses have particular language disclaiming liability: we invite you to read all of them. Should you need a warranty on the fact that software works as intended or have any kind of indemnification, you have the option to subscribe a software maintenance agreement with a company or entity that is in that business. Fluendo and Collabora, as well as some other companies, provide software maintenance agreements under certain conditions, you are invited to contact them in order to receive further details and discuss of the commercial terms.} +\par \pard\plain \s0\nowidctlpar{\*\hyphen2\hyphlead2\hyphtrail2\hyphmax0}\cf0\kerning1\hich\af7\langfe2052\dbch\af8\afs24\alang1081\loch\f3\fs24\lang1031\sl276\slmult1\sb0\sa200{\b\rtlch \ltrch\loch\fs44\lang255\loch\f6 +Data protection} +\par \pard\plain \s0\nowidctlpar{\*\hyphen2\hyphlead2\hyphtrail2\hyphmax0}\cf0\kerning1\hich\af7\langfe2052\dbch\af8\afs24\alang1081\loch\f3\fs24\lang1031\sl276\slmult1\sb0\sa200{\b0\rtlch \ltrch\loch\fs24\lang255\loch\f6 +This website might use cookies and HTTP logs for statistical analysis and on an aggregate basis only.} +\par \pard\plain \s0\nowidctlpar{\*\hyphen2\hyphlead2\hyphtrail2\hyphmax0}\cf0\kerning1\hich\af7\langfe2052\dbch\af8\afs24\alang1081\loch\f3\fs24\lang1031\sl276\slmult1\sb0\sa200{\b\rtlch \ltrch\loch\fs44\lang255\loch\f6 +Frequently Asked Questions} +\par \pard\plain \s0\nowidctlpar{\*\hyphen2\hyphlead2\hyphtrail2\hyphmax0}\cf0\kerning1\hich\af7\langfe2052\dbch\af8\afs24\alang1081\loch\f3\fs24\lang1031\sl276\slmult1\sb0\sa200{\b\rtlch \ltrch\loch\fs36\lang255\loch\f6 +What licenses are there?} +\par \pard\plain \s0\nowidctlpar{\*\hyphen2\hyphlead2\hyphtrail2\hyphmax0}\cf0\kerning1\hich\af7\langfe2052\dbch\af8\afs24\alang1081\loch\f3\fs24\lang1031\sl276\slmult1\sb0\sa200{\b0\rtlch \ltrch\loch\fs24\lang255\loch\f6 +GStreamer containst software under various licenses. See above.} +\par \pard\plain \s0\nowidctlpar{\*\hyphen2\hyphlead2\hyphtrail2\hyphmax0}\cf0\kerning1\hich\af7\langfe2052\dbch\af8\afs24\alang1081\loch\f3\fs24\lang1031\sl276\slmult1\sb0\sa200{\b\rtlch \ltrch\loch\fs36\lang255\loch\f6 +How does this relate to the packaging system?} +\par \pard\plain \s0\nowidctlpar{\*\hyphen2\hyphlead2\hyphtrail2\hyphmax0}\cf0\kerning1\hich\af7\langfe2052\dbch\af8\afs24\alang1081\loch\f3\fs24\lang1031\sl276\slmult1\sb0\sa200{\b0\rtlch \ltrch\loch\fs24\lang255\loch\f6 +The packaging is only a more convenient way to install software and decide what's good for you. GStreamer is meant to be modular, making use of different modules, or plugins, that perform different activities.} +\par \pard\plain \s0\nowidctlpar{\*\hyphen2\hyphlead2\hyphtrail2\hyphmax0}\cf0\kerning1\hich\af7\langfe2052\dbch\af8\afs24\alang1081\loch\f3\fs24\lang1031\sl276\slmult1\sb0\sa200{\b0\rtlch \ltrch\loch\fs24\lang255\loch\f6 +We provide some of them by default. Others are provided as an additional download, should you elect to do so. You could do the same by finding and downloading the same packages for your own platform. So it is entirely up to you to decide what to do.} +\par \pard\plain \s0\nowidctlpar{\*\hyphen2\hyphlead2\hyphtrail2\hyphmax0}\cf0\kerning1\hich\af7\langfe2052\dbch\af8\afs24\alang1081\loch\f3\fs24\lang1031\sl276\slmult1\sb0\sa200{\b0\rtlch \ltrch\loch\fs24\lang255\loch\f6 +Also, we note that GStreamer elements are divided into different packages, roughly following the licensing conditions attached to the same. For instance, the codecs-gpl package contains GPL licensed codecs. All the packages installed by default, conversely, are licensed under the LGPL or a more liberal license. This division is provided only for ease of reference, but we cannot guarantee that our selection is 100% correct, so it is up to the user to verify the actual licensing conditions before distributing works that utilize GStreamer.} +\par \pard\plain \s0\nowidctlpar{\*\hyphen2\hyphlead2\hyphtrail2\hyphmax0}\cf0\kerning1\hich\af7\langfe2052\dbch\af8\afs24\alang1081\loch\f3\fs24\lang1031\sl276\slmult1\sb0\sa200{\b\rtlch \ltrch\loch\fs36\lang255\loch\f6 +Can I / must I distribute GStreamer along with my application?} +\par \pard\plain \s0\nowidctlpar{\*\hyphen2\hyphlead2\hyphtrail2\hyphmax0}\cf0\kerning1\hich\af7\langfe2052\dbch\af8\afs24\alang1081\loch\f3\fs24\lang1031\sl276\slmult1\sb0\sa200{\b0\rtlch \ltrch\loch\fs24\lang255\loch\f6 +You surely can. All software is Free/Open Source software, and can be distributed freely. You are not required to distribute it. Only, be reminded that one of the conditions for you to use software under certain licenses to make a work containing such software, is that you also distribute the complete source code of the original code (or of the modified code, if you have modified it). There are alternative ways to comply with this obligation, some of them do not require any actual distribution of source code, but since GStreamer contains the entire source code, you might want to include it (or the directories containing the source code) with your application as a safe way to comply with this requirement of the license.} +\par \pard\plain \s0\nowidctlpar{\*\hyphen2\hyphlead2\hyphtrail2\hyphmax0}\cf0\kerning1\hich\af7\langfe2052\dbch\af8\afs24\alang1081\loch\f3\fs24\lang1031\sl276\slmult1\sb0\sa200{\b\rtlch \ltrch\loch\fs36\lang255\loch\f6 +What happens when I modify the GStreamer's source code?} +\par \pard\plain \s0\nowidctlpar{\*\hyphen2\hyphlead2\hyphtrail2\hyphmax0}\cf0\kerning1\hich\af7\langfe2052\dbch\af8\afs24\alang1081\loch\f3\fs24\lang1031\sl276\slmult1\sb0\sa200{\b0\rtlch \ltrch\loch\fs24\lang255\loch\f6 +You are invited to do so, as the licenses (unless you are dealing with proprietary bits, but in that case you will not find the corresponding source code) so permit. Be reminded though that in that case you need to also provide the complete corresponding source code (and to preserve the same license, of course). You might also consider to push your modifications upstream, so that they are merged into the main branch of development if they are worth it and will be maintained by the GStreamer project and not by you individually. We invite you not to fork the code, if at all possible.} +\par \pard\plain \s0\nowidctlpar{\*\hyphen2\hyphlead2\hyphtrail2\hyphmax0}\cf0\kerning1\hich\af7\langfe2052\dbch\af8\afs24\alang1081\loch\f3\fs24\lang1031\sl276\slmult1\sb0\sa200{\b\rtlch \ltrch\loch\fs36\lang255\loch\f6 +How does licensing relate to software patents? What about software patents in general?} +\par \pard\plain \s0\nowidctlpar{\*\hyphen2\hyphlead2\hyphtrail2\hyphmax0}\cf0\kerning1\hich\af7\langfe2052\dbch\af8\afs24\alang1081\loch\f3\fs24\lang1031\sl276\slmult1\sb0\sa200{\b0\rtlch \ltrch\loch\fs24\lang255\loch\f6 +This is a tricky question. We believe software patents should not exist, so that by distributing and using software on a general purpose machine you would not violate any of them. But the inconvenient truth is that they do exist.} +\par \pard\plain \s0\nowidctlpar{\*\hyphen2\hyphlead2\hyphtrail2\hyphmax0}\cf0\kerning1\hich\af7\langfe2052\dbch\af8\afs24\alang1081\loch\f3\fs24\lang1031\sl276\slmult1\sb0\sa200{\b0\rtlch \ltrch\loch\fs24\lang255\loch\f6 +Software patents are widely available in the USA. Despite they are formally prohibited in the European Union, they indeed are granted by the thousand by the European Patent Office, and also some national patent offices follow the same path. In other countries they are not available.} +\par \pard\plain \s0\nowidctlpar{\*\hyphen2\hyphlead2\hyphtrail2\hyphmax0}\cf0\kerning1\hich\af7\langfe2052\dbch\af8\afs24\alang1081\loch\f3\fs24\lang1031\sl276\slmult1\sb0\sa200{\b0\rtlch \ltrch\loch\fs24\lang255\loch\f6 +Since patent protection is a national state-granted monopoly, distributing software that violates patents in a given country could be entirely safe if done in another country. Fair use exceptions also exist. So we cannot advice you whether the software we provide would be considered violating patents in your country or in any other country, but that can be said for virtually all kinds of sofware. Only, since we deal with audio-video standards, and these standards are by and large designed to use certain patented technologies, it is common wisdom that the pieces of software that implement these standards are sensitive in this respect.} +\par \pard\plain \s0\nowidctlpar{\*\hyphen2\hyphlead2\hyphtrail2\hyphmax0}\cf0\kerning1\hich\af7\langfe2052\dbch\af8\afs24\alang1081\loch\f3\fs24\lang1031\sl276\slmult1\sb0\sa200{\b0\rtlch \ltrch\loch\fs24\lang255\loch\f6 +This is why GStreamer has taken a modular approach, so that you can use a Free plugins or a proprietary, patent royalty bearing, plugin for a given standard.} +\par \pard\plain \s0\nowidctlpar{\*\hyphen2\hyphlead2\hyphtrail2\hyphmax0}\cf0\kerning1\hich\af7\langfe2052\dbch\af8\afs24\alang1081\loch\f3\fs24\lang1031\sl276\slmult1\sb0\sa200{\b\rtlch \ltrch\loch\fs36\lang255\loch\f6 +What about static vs. dynamic linking and copyleft?} +\par \pard\plain \s0\nowidctlpar{\*\hyphen2\hyphlead2\hyphtrail2\hyphmax0}\cf0\kerning1\hich\af7\langfe2052\dbch\af8\afs24\alang1081\loch\f3\fs24\lang1031\sl276\slmult1\sb0\sa200{\b0\rtlch \ltrch\loch\fs24\lang255\loch\f6 +We cannot provide one single answer to that question. Since copyright in software works as copyright in literature, static linking means basically that the programmer includes bits of code of the original library in the bytecode at compile time. This amounts to make derivative code of the library without conceivable exceptions, so you need a permission from the copyright holders of the library to do this.} +\par \pard\plain \s0\nowidctlpar{\*\hyphen2\hyphlead2\hyphtrail2\hyphmax0}\cf0\kerning1\hich\af7\langfe2052\dbch\af8\afs24\alang1081\loch\f3\fs24\lang1031\sl276\slmult1\sb0\sa200{\b0\rtlch \ltrch\loch\fs24\lang255\loch\f6 +A widespread line of thinking says that dynamic linking is conversely not relevant to the copyleft effect, since the mingling of code in a larger work is done at runtime. However, another equally authoritative line of thought says that only certain type of dynamic linking is not copyright relevant. Therefore, using a library that is specifically designed to be loaded into a particular kind of software, even through API, requires permission by the copyright holder of the library when the two pieces are distributed together.} +\par \pard\plain \s0\nowidctlpar{\*\hyphen2\hyphlead2\hyphtrail2\hyphmax0}\cf0\kerning1\hich\af7\langfe2052\dbch\af8\afs24\alang1081\loch\f3\fs24\lang1031\sl276\slmult1\sb0\sa200{\b0\rtlch \ltrch\loch\fs24\lang255\loch\f6 +In all cases, since most of the software we include in GStreamer is under the LGPL, this permission is granted once for all, subject to compliance with the conditions set out by it. Therefore, the problem only arises when you want to use GPL libraries to make non-GPL applications, and you need to audit your software in that case to make sure that what you do is not an infringement. This is why we have put the GPL libraries in a separate set of optional components, so you have a clearer view of what is safely clear for use, and what might need better investigation on a case-by-case basis.} +\par \pard\plain \s0\nowidctlpar{\*\hyphen2\hyphlead2\hyphtrail2\hyphmax0}\cf0\kerning1\hich\af7\langfe2052\dbch\af8\afs24\alang1081\loch\f3\fs24\lang1031\sl276\slmult1\sb0\sa200{\b0\rtlch \ltrch\loch\fs24\lang255\loch\f6 +Please be reminded that even for LGPL, the recipient of the software must be in a position to replace the current library with a modified one, and to that effect some conditions apply, among which that for static linking you must also provide the complete toolchain required to relink the library (\uc3 \u8220\'e2\'80\'9cany data and utility programs needed for reproducing the executable from it\u8221\'e2\'80\'9d, except the \u8220\'e2\'80\'9cmajor components\u8221\'e2\'80\'9d) and that the license of the conditions of the resulting program must allow decompilation to debug modifications to the library.\uc1 } +\par }
\ No newline at end of file diff --git a/packages/gstreamer-1.0/license.txt b/packages/gstreamer-1.0/license.txt new file mode 100644 index 00000000..66ead92c --- /dev/null +++ b/packages/gstreamer-1.0/license.txt @@ -0,0 +1,81 @@ +Installer, default installation: The installer (Microsoft Windows +and MacOSX) and the default installation (GNU/Linux) contain and +install the minimal default installation. At install time or later, +the downloading of optional components is also possible, but read on +for certain legal cautions you might want to take. All downloads are +from the freedesktop.org website, for registered/approved users only. + +Licensing of GStreamer: GStreamer minimal default installation only +contains packages which are licensed under the GNU LGPL license v2.1. +This license gives you the Freedom to use, modify, make copies of the +software either in the original or in a modified form, provided that +the software you redistribute is licensed under the same licensing +terms. This only extends to the software itself and modified versions +of it, but you are free to link the LGPL software as a library used by +other software under whichever license. In other words, it is a weak +copyleft license. + +Therefore, it is possible to use GStreamer to build applications that +are then distributed under a different license, including a +proprietary one, provided that reverse engineering is not prohibited +for debugging modifications purposes. Only the pieces of GStreamer that +are under the LGPL need to be kept under the LGPL, and the +corresponding source code must be distributed along with the +application (or an irrevocable offer to do so for at least three years +from distribution). Please consult section 6 of the LGPL for further +details as to what the corresponding source code must contain. + +Some portions of the minimal default installation may be under +different licenses, which are both more liberal than the LGPL (they +are less strict conditions for granting the license) and compatible +with the LGPL. This is advised locally. + +Optional packages: There are two types of optional packages, which are +under a different license or have other issues concerning +patentability (or both). + +GPL code: Part of the optional packages are under the GNU GPL v2 or +v3. This means that you cannot link the GPL software in a program +unless the same program is also under the GPL, but you are invited to +seek competent advice on how this works in your precise case and +design choices. GPL is called “strong copyleft” because the +condition to distributed under the same license has the largest +possible scope and extends to all derivative works. + +Patents: Certain software, and in particular software that implements +multimedia standard formats such as Mp3, MPEG 2 video and audio, +h.264, MPEG 4 audio and video, AC3, etc, can have patent issues. In +certain countries patents are granted on software and even +software-only solution are by and large considered patentable and are +patented (such as in the United States). In certain others, patents +on pure software solutions are formally prohibited, but granted (this +is the case of Europe), and in others again are neither allowed nor +granted. + +It is up to you to make sure that in the countries where GStreamer is +used, products are made using it and product are distributed, a +license from the applicable patent holders is required or not. +Receiving GStreamer – or links to other downloadable software – +does not provide any license expressed or implied over these patents, +except in very limited conditions where the license so provides. No +representation is made. + +In certain cases, the optional packages are distributed only as source +code. It is up the receiver to make sure that in the applicable +circumstances compiling the same code for a given platform or +distributing the object code is an act that infringes one or more +patents. + +Software is as-is: All software and GStreamer is provided as-is, +without any warranty whatsoever. The individual licenses have +particular language disclaiming liability: we invite you to read all +of them. Should you need a warranty on the fact that software works as +intended or have any kind of indemnification, you have the option to +subscribe a software maintenance agreement with a company or entity +that is in that business. Fluendo and Collabora, as well as some other +companies, provide software maintenance agreements under certain +conditions, you are invited to contact them in order to receive +further details and discuss of the commercial terms. + +We use cookies and HTTP logs for statistical analysis and on an +aggregate basis only. diff --git a/packages/gstreamer-1.0/license_unwrapped.txt b/packages/gstreamer-1.0/license_unwrapped.txt new file mode 100644 index 00000000..62e74bdc --- /dev/null +++ b/packages/gstreamer-1.0/license_unwrapped.txt @@ -0,0 +1,21 @@ +Installer, default installation: The installer (Microsoft Windows and MacOSX) and the default installation (GNU/Linux) contain and install the minimal default installation. At install time or later, the downloading of optional components is also possible, but read on for certain legal cautions you might want to take. All downloads are from the freedesktop.org website, for registered/approved users only. + +Licensing of GStreamer: GStreamer minimal default installation only contains packages which are licensed under the GNU LGPL license v2.1. This license gives you the Freedom to use, modify, make copies of the software either in the original or in a modified form, provided that the software you redistribute is licensed under the same licensing terms. This only extends to the software itself and modified versions of it, but you are free to link the LGPL software as a library used by other software under whichever license. In other words, it is a weak copyleft license. + +Therefore, it is possible to use GStreamer to build applications that are then distributed under a different license, including a proprietary one, provided that reverse engineering is not prohibited for debugging modifications purposes. Only the pieces of GStreamer that are under the LGPL need to be kept under the LGPL, and the corresponding source code must be distributed along with the application (or an irrevocable offer to do so for at least three years from distribution). Please consult section 6 of the LGPL for further details as to what the corresponding source code must contain. + +Some portions of the minimal default installation may be under different licenses, which are both more liberal than the LGPL (they are less strict conditions for granting the license) and compatible with the LGPL. This is advised locally. + +Optional packages: There are two types of optional packages, which are under a different license or have other issues concerning patentability (or both). + +GPL code: Part of the optional packages are under the GNU GPL v2 or v3. This means that you cannot link the GPL software in a program unless the same program is also under the GPL, but you are invited to seek competent advice on how this works in your precise case and design choices. GPL is called “strong copyleft” because the condition to distributed under the same license has the largest possible scope and extends to all derivative works. + +Patents: Certain software, and in particular software that implements multimedia standard formats such as Mp3, MPEG 2 video and audio, h.264, MPEG 4 audio and video, AC3, etc, can have patent issues. In certain countries patents are granted on software and even software-only solution are by and large considered patentable and are patented (such as in the United States). In certain others, patents on pure software solutions are formally prohibited, but granted (this is the case of Europe), and in others again are neither allowed nor granted. + +It is up to you to make sure that in the countries where GStreamer is used, products are made using it and product are distributed, a license from the applicable patent holders is required or not. Receiving GStreamer – or links to other downloadable software – does not provide any license expressed or implied over these patents, except in very limited conditions where the license so provides. No representation is made. + +In certain cases, the optional packages are distributed only as source code. It is up the receiver to make sure that in the applicable circumstances compiling the same code for a given platform or distributing the object code is an act that infringes one or more patents. + +Software is as-is: All software and GStreamer is provided as-is, without any warranty whatsoever. The individual licenses have particular language disclaiming liability: we invite you to read all of them. Should you need a warranty on the fact that software works as intended or have any kind of indemnification, you have the option to subscribe a software maintenance agreement with a company or entity that is in that business. Fluendo and Collabora, as well as some other companies, provide software maintenance agreements under certain conditions, you are invited to contact them in order to receive further details and discuss of the commercial terms. + +We use cookies and HTTP logs for statistical analysis and on an aggregate basis only. diff --git a/packages/gstreamer-1.0/post_install_ios b/packages/gstreamer-1.0/post_install_ios new file mode 100755 index 00000000..a52bbde2 --- /dev/null +++ b/packages/gstreamer-1.0/post_install_ios @@ -0,0 +1,4 @@ +#!/bin/sh + +mkdir -p ~/Library/Developer/Xcode/Templates/ +cp -r ~/Library/Developer/GStreamer-1.0/iPhone.sdk/Templates/* ~/Library/Developer/Xcode/Templates/ diff --git a/packages/vsintegration-1.0.package b/packages/vsintegration-1.0.package index b7349c04..9bd798f8 100644 --- a/packages/vsintegration-1.0.package +++ b/packages/vsintegration-1.0.package @@ -7,12 +7,12 @@ class Package(package.Package): name = 'vsintegration-1.0' shortdesc = 'Visual Studio Integration' longdesc = 'Visual Studio Integration' - url = "http://www.gstreamer.com" - version = '2013.04' + url = "http://gstreamer.freedesktop.org" + version = '1.0.8' codename = 'Congo' license = License.LGPL vendor = 'GStreamer Project' - org = 'com.gstreamer' + org = 'org.freedesktop.gstreamer' uuid = '0d032a12-05b0-42a3-9b79-6b31d070dfca' files = ['vsintegration-1.0'] diff --git a/recipes/custom.py b/recipes/custom.py index 1d056ff4..60362fac 100644 --- a/recipes/custom.py +++ b/recipes/custom.py @@ -12,7 +12,7 @@ from cerbero.utils import to_unixpath class GStreamerStatic(recipe.Recipe): config_sh = 'sh ./autogen.sh --noconfigure && ./configure' - configure_options = "--enable-introspection=no --disable-examples --enable-static-plugins --disable-shared --enable-static --with-package-origin='http://www.gstreamer.com' --with-package-name='GStreamer (GStreamer SDK)' " + configure_options = "--enable-introspection=no --disable-examples --enable-static-plugins --disable-shared --enable-static " extra_configure_options = '' # Static build will always fail on make check make_check = None diff --git a/recipes/gst-libav-1.0.recipe b/recipes/gst-libav-1.0.recipe index 9ff3aa10..94dde814 100644 --- a/recipes/gst-libav-1.0.recipe +++ b/recipes/gst-libav-1.0.recipe @@ -8,7 +8,7 @@ class Recipe(recipe.Recipe): # the linked libs licenses = [License.LGPLv2Plus] config_sh = 'sh ./autogen.sh --noconfigure && ./configure' - configure_options = "--enable-lgpl --disable-examples --with-package-origin='http://www.gstreamer.com' --with-package-name='GStreamer libav Plugins (GStreamer SDK)' " + configure_options = "--enable-lgpl --disable-examples " commit = 'upstream/1.0' deps = ['gstreamer-1.0', 'gst-plugins-base-1.0', 'bzip2', 'zlib' ] diff --git a/recipes/gst-plugins-bad-1.0-static.recipe b/recipes/gst-plugins-bad-1.0-static.recipe index 06ad6ce9..5f44aea0 100644 --- a/recipes/gst-plugins-bad-1.0-static.recipe +++ b/recipes/gst-plugins-bad-1.0-static.recipe @@ -106,12 +106,10 @@ class Recipe(custom.GStreamerStatic): ], Platform.DARWIN: [ 'libgstapplemedia', - 'libgstapplemedia_nonpublic', ], Platform.IOS: [ 'libgsteglglessink', 'libgstapplemedia', - 'libgstapplemedia_nonpublic', ], Platform.ANDROID: [ 'libgsteglglessink', @@ -149,16 +147,3 @@ class Recipe(custom.GStreamerStatic): 'lib/libgstphotography-1.0.la', 'lib/libgstphotography-1.0.a'] -# def post_install(self): -# if self.config.platform == Platform.WINDOWS and\ -# self.config.target_platform == Platform.WINDOWS: -# from cerbero.utils.msbuild import MSBuild -# from cerbero.utils import messages as m -# solution = os.path.join(self.build_dir, 'win32', 'vs10', 'gst-plugins-bad.sln') -# root = self.config.prefix.rsplit('/', 1)[0] -# msbuild = MSBuild(solution, self.config.target_arch, -# GSTREAMER_SDK_ROOT=root) -# try: -# msbuild.build() -# except Exception, e: -# m.error("The Direct Show plugins will not be built.") diff --git a/recipes/gst-plugins-bad-1.0.recipe b/recipes/gst-plugins-bad-1.0.recipe index 85de6ad3..203977d2 100644 --- a/recipes/gst-plugins-bad-1.0.recipe +++ b/recipes/gst-plugins-bad-1.0.recipe @@ -6,7 +6,7 @@ class Recipe(recipe.Recipe): version = '1.0' licenses = [License.LGPLv2Plus] config_sh = 'sh ./autogen.sh --noconfigure && ./configure' - configure_options = "--enable-static --disable-introspection --disable-gsm --disable-examples --disable-camerabin --disable-festival --disable-freeze --disable-h264parse --disable-inter --disable-legacyresample --disable-mpegvideoparse --disable-videomaxrate --disable-bz2 --disable-decklink --disable-linsys --disable-fbdev --disable-apexsink --disable-celt --disable-curl --disable-dc1394 --disable-directfb --disable-dirac --disable-divx --disable-faac --disable-flite --disable-gme --disable-ladspa --disable-lv2 --disable-mimic --disable-modplug --disable-mpeg2enc --disable-mplex --disable-musepack --disable-musicbrainz --disable-mythtv --disable-nas --disable-neon --disable-ofa --disable-openal --disable-opencv --disable-pvr --disable-sdl --disable-sndfile --disable-soundtouch --disable-spandsp --disable-swfdec --disable-teletextdec --disable-timidity --disable-vdpau --disable-voaacenc --disable-voamrwbenc --disable-wildmidi --disable-xvid --disable-zbar --disable-sdi --disable-cog --with-package-origin='http://www.gstreamer.com' --with-package-name='GStreamer Bad Plugins (GStreamer SDK)' " + configure_options = "--enable-static --disable-introspection --disable-gsm --disable-examples --disable-camerabin --disable-festival --disable-freeze --disable-h264parse --disable-inter --disable-legacyresample --disable-mpegvideoparse --disable-videomaxrate --disable-bz2 --disable-decklink --disable-linsys --disable-fbdev --disable-apexsink --disable-celt --disable-curl --disable-dc1394 --disable-directfb --disable-dirac --disable-divx --disable-faac --disable-flite --disable-gme --disable-ladspa --disable-lv2 --disable-mimic --disable-modplug --disable-mpeg2enc --disable-mplex --disable-musepack --disable-musicbrainz --disable-mythtv --disable-nas --disable-neon --disable-ofa --disable-openal --disable-opencv --disable-pvr --disable-sdl --disable-sndfile --disable-soundtouch --disable-spandsp --disable-swfdec --disable-teletextdec --disable-timidity --disable-vdpau --disable-voaacenc --disable-voamrwbenc --disable-wildmidi --disable-xvid --disable-zbar --disable-sdi --disable-cog " commit = 'upstream/1.0' deps = ['gstreamer-1.0', 'gst-plugins-base-1.0', 'bzip2', 'libass', 'faad2', 'libkate', 'zlib', 'opus', @@ -111,12 +111,10 @@ class Recipe(recipe.Recipe): ], Platform.DARWIN: [ 'lib/gstreamer-1.0/libgstapplemedia%(mext)s', - 'lib/gstreamer-1.0/libgstapplemedia_nonpublic%(mext)s', ], Platform.IOS: [ 'lib/gstreamer-1.0/libgsteglglessink%(mext)s', 'lib/gstreamer-1.0/libgstapplemedia%(mext)s', - 'lib/gstreamer-1.0/libgstapplemedia_nonpublic%(mext)s', ], Platform.ANDROID: [ 'lib/gstreamer-1.0/libgsteglglessink%(mext)s', @@ -144,16 +142,3 @@ class Recipe(recipe.Recipe): if self.config.variants.nodebug: self.configure_options += ' --disable-gst-debug' -# def post_install(self): -# if self.config.platform == Platform.WINDOWS and\ -# self.config.target_platform == Platform.WINDOWS: -# from cerbero.utils.msbuild import MSBuild -# from cerbero.utils import messages as m -# solution = os.path.join(self.build_dir, 'win32', 'vs10', 'gst-plugins-bad.sln') -# root = self.config.prefix.rsplit('/', 1)[0] -# msbuild = MSBuild(solution, self.config.target_arch, -# GSTREAMER_SDK_ROOT=root) -# try: -# msbuild.build() -# except Exception, e: -# m.error("The Direct Show plugins will not be built.") diff --git a/recipes/gst-plugins-base-1.0.recipe b/recipes/gst-plugins-base-1.0.recipe index 8da59387..4ecbad04 100644 --- a/recipes/gst-plugins-base-1.0.recipe +++ b/recipes/gst-plugins-base-1.0.recipe @@ -6,7 +6,7 @@ class Recipe(recipe.Recipe): version = '1.0' licenses = [License.LGPLv2Plus] config_sh = 'sh ./autogen.sh --noconfigure && ./configure' - configure_options = "--enable-static --program-prefix= --disable-introspection --disable-examples --with-package-origin='http://www.gstreamer.com' --with-package-name='GStreamer Base Plugins (GStreamer SDK)' " + configure_options = "--enable-static --program-prefix= --disable-introspection --disable-examples " commit = 'upstream/1.0' deps = ['glib', 'gstreamer-1.0', 'libxml2', 'libogg', 'pango', 'libtheora', 'libvisual', 'libvorbis', 'zlib', 'orc'] diff --git a/recipes/gst-plugins-good-1.0.recipe b/recipes/gst-plugins-good-1.0.recipe index c4821c83..82fd03a8 100644 --- a/recipes/gst-plugins-good-1.0.recipe +++ b/recipes/gst-plugins-good-1.0.recipe @@ -6,7 +6,7 @@ class Recipe(recipe.Recipe): version = '1.0' licenses = [License.LGPLv2Plus] config_sh = 'sh ./autogen.sh --noconfigure && ./configure' - configure_options = '--disable-introspection --disable-examples --disable-oss4 --disable-oss --disable-dv1394 --disable-aalib --disable-libcaca --disable-jack --disable-shout2 --with-package-origin="http://www.gstreamer.com" --with-package-name=\'GStreamer Good Plugins (GStreamer SDK)\' ' + configure_options = '--disable-introspection --disable-examples --disable-oss4 --disable-oss --disable-dv1394 --disable-aalib --disable-libcaca --disable-jack --disable-shout2 ' commit = 'upstream/1.0' deps = ['gstreamer-1.0', 'gst-plugins-base-1.0', 'jpeg', 'libpng', 'speex', 'gdk-pixbuf', 'libsoup', diff --git a/recipes/gst-plugins-ugly-1.0.recipe b/recipes/gst-plugins-ugly-1.0.recipe index 0638fe9d..67faff18 100644 --- a/recipes/gst-plugins-ugly-1.0.recipe +++ b/recipes/gst-plugins-ugly-1.0.recipe @@ -6,7 +6,7 @@ class Recipe(recipe.Recipe): version = '1.0' licenses = [License.LGPLv2Plus] config_sh = 'sh ./autogen.sh --noconfigure && ./configure' - configure_options = "--disable-introspection --disable-examples --disable-iec958 --disable-mpegstream --disable-cdio --disable-lame --disable-sidplay --disable-twolame --with-package-origin='http://www.gstreamer.com' --with-package-name='GStreamer Ugly Plugins (GStreamer SDK)' " + configure_options = "--disable-introspection --disable-examples --disable-iec958 --disable-mpegstream --disable-cdio --disable-lame --disable-sidplay --disable-twolame " commit = 'upstream/1.0' deps = ['gstreamer-1.0', 'gst-plugins-base-1.0', 'a52dec', 'opencore-amr', 'libdvdread', 'libmpeg2', 'libmad', 'x264'] diff --git a/recipes/gst-shell.recipe b/recipes/gst-shell.recipe new file mode 100644 index 00000000..6f36b5f2 --- /dev/null +++ b/recipes/gst-shell.recipe @@ -0,0 +1,26 @@ +# -*- Mode: Python -*- vi:si:et:sw=4:sts=4:ts=4:syntax=python + +import os + +class Recipe(recipe.Recipe): + name = 'gst-shell' + version = '0.1' + licenses = [License.LGPL] + btype = BuildType.CUSTOM + stype = SourceType.CUSTOM + + files_shell = ['bin/gst-shell', 'share/gstreamer/gst-env'] + + def install(self): + from cerbero.commands.gensdkshell import GenSdkShell + name = self.files_shell[0] + prefix = self.config.prefix + libdir = os.path.join(prefix, 'lib') + py_prefix = self.config.py_prefix + output_dir = prefix + gensdkshell = GenSdkShell() + gensdkshell.runargs(self.config, name, output_dir, prefix, libdir, + py_prefix) + name = self.files_shell[1] + gensdkshell.runargs(self.config, name, output_dir, prefix, libdir, + py_prefix, cmd='') diff --git a/recipes/gstreamer-1.0.recipe b/recipes/gstreamer-1.0.recipe index c9fc950a..a98d8f74 100644 --- a/recipes/gstreamer-1.0.recipe +++ b/recipes/gstreamer-1.0.recipe @@ -6,7 +6,7 @@ class Recipe(recipe.Recipe): version = '1.0' licenses = [License.LGPLv2_1Plus] config_sh = 'sh ./autogen.sh --noconfigure && ./configure' - configure_options = "--enable-static --program-prefix= --disable-instrospection --disable-examples --with-package-origin='http://www.gstreamer.com' --with-package-name='GStreamer (GStreamer SDK) '" + configure_options = "--enable-static --program-prefix= --disable-instrospection --disable-examples " commit = 'upstream/1.0' deps = ['glib', 'gtk-doc-lite'] diff --git a/recipes/vsintegration-1.0.recipe b/recipes/vsintegration-1.0.recipe index 5152c3e9..5855e4f3 100644 --- a/recipes/vsintegration-1.0.recipe +++ b/recipes/vsintegration-1.0.recipe @@ -13,7 +13,7 @@ class Recipe(recipe.Recipe): def install(self): import shutil from cerbero.commands.genvsprops import GenVSProps - env_var = ('GSTREAMER_1_0_SDK_ROOT_%s' % self.config.target_arch).upper() + env_var = ('GSTREAMER_1_0_ROOT_%s' % self.config.target_arch).upper() vspropsdir = os.path.join(self.config.prefix, self.files_devel[0], 'libs') if not os.path.exists(vspropsdir): os.makedirs(vspropsdir) @@ -45,8 +45,8 @@ class Recipe(recipe.Recipe): path = os.path.join(datapropsdir, f) shutil.copy(path, os.path.join(propsdir, f)) # Copy Wizard template files - propsdir = os.path.join(self.config.prefix, 'share/vs/2010/gst-sdk-template') + propsdir = os.path.join(self.config.prefix, 'share/vs/2010/gst-template') if os.path.exists(propsdir): shutil.rmtree(propsdir) - datapropsdir = os.path.join(self.config.data_dir, 'vs-1.0', 'gst-sdk-template') + datapropsdir = os.path.join(self.config.data_dir, 'vs-1.0', 'gst-template') shutil.copytree(datapropsdir, propsdir) diff --git a/recipes/vsintegration.recipe b/recipes/vsintegration.recipe index 48956d80..b3f3faf1 100644 --- a/recipes/vsintegration.recipe +++ b/recipes/vsintegration.recipe @@ -13,7 +13,7 @@ class Recipe(recipe.Recipe): def install(self): import shutil from cerbero.commands.genvsprops import GenVSProps - env_var = ('GSTREAMER_SDK_ROOT_%s' % self.config.target_arch).upper() + env_var = ('GSTREAMER_ROOT_%s' % self.config.target_arch).upper() vspropsdir = os.path.join(self.config.prefix, self.files_devel[0], 'libs') if not os.path.exists(vspropsdir): os.makedirs(vspropsdir) @@ -45,8 +45,8 @@ class Recipe(recipe.Recipe): path = os.path.join(datapropsdir, f) shutil.copy(path, os.path.join(propsdir, f)) # Copy Wizard template files - propsdir = os.path.join(self.config.prefix, 'share/vs/2010/gst-sdk-template') + propsdir = os.path.join(self.config.prefix, 'share/vs/2010/gst-template') if os.path.exists(propsdir): shutil.rmtree(propsdir) - datapropsdir = os.path.join(self.config.data_dir, 'vs', 'gst-sdk-template') + datapropsdir = os.path.join(self.config.data_dir, 'vs', 'gst-template') shutil.copytree(datapropsdir, propsdir) |