debian/0000775000000000000000000000000011653552371007200 5ustar debian/control0000664000000000000000000000167211653552401010603 0ustar Source: libomxcamera Section: libs Priority: optional Maintainer: Ubuntu Developers XSBC-Original-Maintainer: Ying-Chun Liu (PaulLiu) Build-Depends: debhelper (>= 7.0.50~), autotools-dev, libomxil-bellagio-dev, pkg-config Standards-Version: 3.9.2 Homepage: http://omxil.sourceforge.net/ Package: libomxil-bellagio0-components-camera Architecture: any Depends: ${shlibs:Depends}, ${misc:Depends} Description: Motorola Camera components for Bellagio OpenMAX IL OpenMAX Integration Layer (IL) is a standard API to access Multimedia Components on mobile platforms. It has been defined by the Khronos group. By means of the OpenMAX IL API, multimedia frameworks can access hardware accelerators on platforms that provide it. . Bellagio is an opensource implementation of the OpenMAX IL API that runs on Linux. . This package contains the Motorola Camera OpenMAX component. debian/docs0000664000000000000000000000001411614035120010027 0ustar NEWS README debian/compat0000664000000000000000000000000211614035120010357 0ustar 7 debian/rules0000775000000000000000000000060611614035120010243 0ustar #!/usr/bin/make -f # -*- makefile -*- # Uncomment this to turn on verbose mode. #export DH_VERBOSE=1 %: dh $@ override_dh_auto_configure: dh_auto_configure -- --libdir=/usr/lib/libomxil-bellagio0 CFLAGS="$(CFLAGS) -Wno-error=unused-but-set-variable" override_dh_makeshlibs: dh_makeshlibs -Xlibomx override_dh_auto_install: dh_auto_install find debian -name '*.la' -exec rm {} \; debian/patches/0000775000000000000000000000000011653552650010627 5ustar debian/patches/Werror.patch0000664000000000000000000000253211653552650013132 0ustar Description: turn on -Werror during configuration to fix FTBFS Allow warnings during configuration, otherwise it fails: configure:11768: gcc -o conftest -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Wformat-security -Wno-error=unused-but-set-variable -Werror -D_FORTIFY_SOURCE=2 -Wl,-Bsymbolic-functions -Wl,-z,relro conftest.c -lpthread >&5 conftest.c: In function 'main': conftest.c:27:22: error: null argument where non-null required (argument 1) [-Werror=nonnull] conftest.c:28:22: error: null argument where non-null required (argument 1) [-Werror=nonnull] conftest.c:28:22: error: null argument where non-null required (argument 3) [-Werror=nonnull] cc1: all warnings being treated as errors Author: Ilya Barygin --- libomxcamera-0.1.orig/configure +++ libomxcamera-0.1/configure @@ -2839,7 +2839,6 @@ fi ac_config_headers="$ac_config_headers config.h" -CFLAGS="${CFLAGS} -Werror" ################################################################################ --- libomxcamera-0.1.orig/configure.ac +++ libomxcamera-0.1/configure.ac @@ -9,7 +9,6 @@ AC_SUBST(OMXIL_CFLAGS) AC_SUBST(OMXIL_LIBS) AC_CONFIG_HEADERS([config.h]) -CFLAGS="${CFLAGS} -Werror" AC_PREFIX_DEFAULT(/usr/local/lib/extern_omxcomp) ################################################################################ debian/patches/series0000664000000000000000000000004611653552417012045 0ustar 01_fix_64bit_FTBFS.patch Werror.patch debian/patches/01_fix_64bit_FTBFS.patch0000664000000000000000000000437511614267226014702 0ustar From: Giulio Urlini Date: Tue, 16 Feb 2010 16:04:32 +0100 Subject: [PATCH] applied patch for 64 bit machines This commit applies an updated patch like the one provided in message patch 2906372 in source forge bellagio trackers It changes the output of adresses removing the cast to int Origin: upstream, http://omxil.git.sourceforge.net/git/gitweb.cgi?p=omxil/components;a=patch;h=631c72a857d3a2d5272523513556ad26a7a9a8cd Index: libomxcamera-0.1/src/omx_camera_source_component.c =================================================================== --- libomxcamera-0.1.orig/src/omx_camera_source_component.c 2011-07-28 22:09:00.465066641 +0800 +++ libomxcamera-0.1/src/omx_camera_source_component.c 2011-07-28 22:11:05.758727915 +0800 @@ -557,8 +557,8 @@ if(omx_camera_source_component_Private->sMapbufQueue.buffers != NULL ) { for (i = 0; i < OMX_MAPBUFQUEUE_GETMAXLEN( omx_camera_source_component_Private->sMapbufQueue ); ++i) { - DEBUG(DEB_LEV_PARAMS, "i=%d,addr=%x,length=%d\n",(int)i, - (int)omx_camera_source_component_Private->sMapbufQueue.buffers[i].pCapAddrStart, + DEBUG(DEB_LEV_PARAMS, "i=%d,addr=%p,length=%d\n",(int)i, + omx_camera_source_component_Private->sMapbufQueue.buffers[i].pCapAddrStart, (int)omx_camera_source_component_Private->sMapbufQueue.buffers[i].length); if (-1 == munmap(omx_camera_source_component_Private->sMapbufQueue.buffers[i].pCapAddrStart, @@ -717,7 +717,7 @@ return OMX_ErrorInsufficientResources; } } else { - DEBUG(DEB_LEV_FUNCTION_NAME, "In %s, Error Component %x Already Allocated\n", __func__, (int)openmaxStandComp->pComponentPrivate); + DEBUG(DEB_LEV_FUNCTION_NAME, "In %s, Error Component %p Already Allocated\n", __func__, openmaxStandComp->pComponentPrivate); } /* Call base source constructor */ @@ -1992,8 +1992,8 @@ return OMX_ErrorHardware; } - DEBUG(DEB_LEV_PARAMS, "i=%d,addr=%x,length=%d\n",(int)i, - (int)omx_camera_source_component_Private->sMapbufQueue.buffers[i].pCapAddrStart, + DEBUG(DEB_LEV_PARAMS, "i=%d,addr=%p,length=%d\n",(int)i, + omx_camera_source_component_Private->sMapbufQueue.buffers[i].pCapAddrStart, (int)omx_camera_source_component_Private->sMapbufQueue.buffers[i].length); } debian/copyright0000664000000000000000000000257011614035555011134 0ustar Format: http://svn.debian.org/wsvn/dep/web/deps/dep5.mdwn?op=file&rev=166 Upstream-Name: libomxcamera Upstream-Contact: Pankaj Sen Giulio Urlini Source: http://sourceforge.net/projects/omxil/ Files: * Copyright: 2007-2009, STMicroelectronics 2007-2009, Nokia Corporation and/or its subsidiary(-ies). License: LGPL-2.1+ Files: debian/* Copyright: 2011, Ying-Chun Liu (PaulLiu) License: LGPL-2.1+ License: LGPL-2.1+ This library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version. . This library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details. . You should have received a copy of the GNU Lesser General Public License along with this library; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA . On Debian GNU/Linux systems, the complete text of the GNU Lesser General Public License can be found in `/usr/share/common-licenses/LGPL-2.1'. debian/source/0000775000000000000000000000000011614035120010461 5ustar debian/source/format0000664000000000000000000000001411614035120011667 0ustar 3.0 (quilt) debian/watch0000664000000000000000000000007111614035614010220 0ustar version=3 http://sf.net/omxil/libomxcamera-(.*)\.tar\.gz debian/changelog0000664000000000000000000000104611653552371011053 0ustar libomxcamera (0.1-2ubuntu1) precise; urgency=low * Turn off -Werror during configuration. Fixes FTBFS. -- Ilya Barygin Mon, 31 Oct 2011 21:03:01 +0400 libomxcamera (0.1-2) unstable; urgency=low * debian/patches/01_fix_64bit_FTBFS.patch: fix FTBFS on 64-bit systems -- Ying-Chun Liu (PaulLiu) Thu, 28 Jul 2011 22:13:53 +0800 libomxcamera (0.1-1) unstable; urgency=low * Initial release (Closes: #615170) -- Ying-Chun Liu (PaulLiu) Thu, 28 Jul 2011 00:22:36 +0800