diff options
author | Kim Kibum <kb0929.kim@samsung.com> | 2012-07-13 11:00:48 +0900 |
---|---|---|
committer | Kim Kibum <kb0929.kim@samsung.com> | 2012-07-13 11:00:48 +0900 |
commit | 1041c2fad9c3a386fd3e7bdd3c3f6a97d25838e3 (patch) | |
tree | 4633d327918f85d5ddc810be36df66116765d684 /debian | |
parent | 4786e80586a15fa1b6cfbd25e8d65810b510f0eb (diff) | |
download | drm-trusted-1041c2fad9c3a386fd3e7bdd3c3f6a97d25838e3.tar.gz drm-trusted-1041c2fad9c3a386fd3e7bdd3c3f6a97d25838e3.tar.bz2 drm-trusted-1041c2fad9c3a386fd3e7bdd3c3f6a97d25838e3.zip |
upload source
Diffstat (limited to 'debian')
-rw-r--r-- | debian/README | 8 | ||||
-rw-r--r-- | debian/README.Debian | 8 | ||||
-rw-r--r-- | debian/changelog | 64 | ||||
-rw-r--r-- | debian/compat | 1 | ||||
-rw-r--r-- | debian/control | 25 | ||||
-rw-r--r-- | debian/drm-trusted-0.install.in | 1 | ||||
-rw-r--r-- | debian/drm-trusted-0.postinst | 8 | ||||
-rw-r--r-- | debian/drm-trusted-dev.install.in | 2 | ||||
-rw-r--r-- | debian/rules | 124 |
9 files changed, 241 insertions, 0 deletions
diff --git a/debian/README b/debian/README new file mode 100644 index 0000000..6960314 --- /dev/null +++ b/debian/README @@ -0,0 +1,8 @@ +The Debian Package drm-trusted +---------------------------- + +Comments regarding the Package + + -- Hakjoo Ko <hakjoo.ko@samsung.com> Thu, 23 Feb 2012 11:34:57 +0530 + -- Mahendra Kumar Prajapat <mahendra.p@samsung.com> Thu, 23 Feb 2012 11:34:57 +0530 + -- Harsha Shekar <h.shekar@samsung.com> Thu, 23 Feb 2012 11:34:57 +0530 diff --git a/debian/README.Debian b/debian/README.Debian new file mode 100644 index 0000000..ef41f21 --- /dev/null +++ b/debian/README.Debian @@ -0,0 +1,8 @@ +drm-trusted for Debian +---------------------- + +<possible notes regarding this package - if none, delete this file> + + -- Hakjoo Ko <hakjoo.ko@samsung.com> Thu, 23 Feb 2012 11:34:57 +0530 + -- Mahendra Kumar Prajapat <mahendra.p@samsung.com> Thu, 23 Feb 2012 11:34:57 +0530 + -- Harsha Shekar <h.shekar@samsung.com> Thu, 23 Feb 2012 11:34:57 +0530 diff --git a/debian/changelog b/debian/changelog new file mode 100644 index 0000000..7f1b5f0 --- /dev/null +++ b/debian/changelog @@ -0,0 +1,64 @@ +drm-trusted (0.0.6-0) unstable; urgency=low + + * Added TCs and test utility + * Bug fixes and code clean up + * Modified by Harsha Shekar <h.shekar@samsung.com> + * Git: slp/pkgs/d/drm-trusted + * Tag: drm-trusted_0.0.6-0 + + -- Harsha Shekar <h.shekar@samsung.com> Mon, 14 May 2012 19:24:24 +0900 + +drm-trusted (0.0.5-0) unstable; urgency=low + + * Issue fix in convert handle + * Removed multiple occurences of CID size + * Modified by Harsha Shekar <h.shekar@samsung.com> + * Git: slp/pkgs/d/drm-trusted + * Tag: drm-trusted_0.0.5-0 + + -- Harsha Shekar <h.shekar@samsung.com> Fri, 11 May 2012 19:20:10 +0900 + +drm-trusted (0.0.4-0) unstable; urgency=low + + * Implementation of APIs like DM to DCF, master reset etc + * Modified by Harsha Shekar <h.shekar@samsung.com> + * Git: slp/pkgs/d/drm-trusted + * Tag: drm-trusted_0.0.4-0 + + -- Harsha Shekar <h.shekar@samsung.com> Thu, 10 May 2012 10:31:48 +0900 + +drm-trusted (0.0.3-1) unstable; urgency=low + + * Modified spec file + * Modified by Harsha Shekar <h.shekar@samsung.com> + * Git: slp/pkgs/d/drm-trusted + * Tag: drm-trusted_0.0.3-1 + + -- Harsha Shekar <h.shekar@samsung.com> Tue, 08 May 2012 18:28:13 +0900 + +drm-trusted (0.0.3-0) unstable; urgency=low + + * Removed compilation errors when both client and trusted client included + * Modified by Harsha Shekar <h.shekar@samsung.com> + * Git: slp/pkgs/d/drm-trusted + * Tag: drm-trusted_0.0.3-0 + + -- Harsha Shekar <h.shekar@samsung.com> Thu, 03 May 2012 11:40:23 +0530 + +drm-trusted (0.0.2-0) unstable; urgency=low + + * Implementation of Consumption APIs + * Modified by Harsha <h.shekar@samsung.com> Mahendra <mahendra.p@samsung.com> + * Git: slp/pkgs/d/drm-trusted + * Tag: drm-trusted_0.0.2-0 + + -- Harsha Shekar <h.shekar@samsung.com> Wed, 18 Apr 2012 14:45:06 +0530 + +drm-trusted (0.0.1-0) unstable; urgency=low + + * Initial drm-trusted client code + * Modification by Harsha Shekar <h.shekar@samsung.com> + * Git: slp/pkgs/d/drm-trusted + * Tag: drm-trusted_0.0.1-0 + + -- Harsha Shekar <h.shekar@samsung.com> Wed, 04 Apr 2012 13:50:25 +0530 diff --git a/debian/compat b/debian/compat new file mode 100644 index 0000000..7ed6ff8 --- /dev/null +++ b/debian/compat @@ -0,0 +1 @@ +5 diff --git a/debian/control b/debian/control new file mode 100644 index 0000000..f2fb37c --- /dev/null +++ b/debian/control @@ -0,0 +1,25 @@ +Source: drm-trusted +Section: main +Priority: optional +Maintainer: Hakjoo Ko <hakjoo.ko@samsung.com>, Mahendra Kumar Prajapat <mahendra.p@samsung.com> +Uploaders: Harsha Shekar <h.shekar@samsung.com> Mahendra Kumar Prajapat <mahendra.p@samsung.com> +Build-Depends: debhelper (>= 5), dlog-dev, capi-base-common-dev +Standards-Version: 3.7.2 + +Package: drm-trusted-0 +Section: main +Architecture: any +Depends: ${shlibs:Depends}, ${misc:Depends} +Description: DRM trusted client library package. To be used only by native/trusted applications + +Package: drm-trusted-dev +Section: main +Architecture: any +Depends: drm-trusted-0 (= ${Source-Version}), dlog-dev, capi-base-common-dev +Description: DRM trusted client library development package. To be used only by native/trusted applications + +Package: drm-trusted-0-dbg +Section: debug +Architecture: any +Depends: ${shlibs:Depends}, ${misc:Depends}, drm-trusted-0 (=${Source-Version}) +Description: debug package of DRM trusted client library. To be used only by native/trusted applications diff --git a/debian/drm-trusted-0.install.in b/debian/drm-trusted-0.install.in new file mode 100644 index 0000000..9b75a8a --- /dev/null +++ b/debian/drm-trusted-0.install.in @@ -0,0 +1 @@ +@PREFIX@/lib/*
\ No newline at end of file diff --git a/debian/drm-trusted-0.postinst b/debian/drm-trusted-0.postinst new file mode 100644 index 0000000..d5dcd37 --- /dev/null +++ b/debian/drm-trusted-0.postinst @@ -0,0 +1,8 @@ +#!/bin/sh +#if [ ${USER} = "root" ] +#then +# Do post installation operations as a root +#else +# Do post installation operations as a non-root +#fi + diff --git a/debian/drm-trusted-dev.install.in b/debian/drm-trusted-dev.install.in new file mode 100644 index 0000000..791161c --- /dev/null +++ b/debian/drm-trusted-dev.install.in @@ -0,0 +1,2 @@ +@PREFIX@/include/drm-trusted/drm_trusted_client.h +@PREFIX@/include/drm-trusted/drm_trusted_client_types.h diff --git a/debian/rules b/debian/rules new file mode 100644 index 0000000..6bc34e7 --- /dev/null +++ b/debian/rules @@ -0,0 +1,124 @@ +#!/usr/bin/make -f +# -*- makefile -*- +# Sample debian/rules that uses debhelper. +# This file was originally written by Joey Hess and Craig Small. +# As a special exception, when this file is copied by dh-make into a +# dh-make output file, you may use that output file without restriction. +# This special exception was added by Craig Small in version 0.37 of dh-make. + +# Uncomment this to turn on verbose mode. +#export DH_VERBOSE=1 + + +# These are used for cross-compiling and for saving the configure script +# from having to guess our platform (since we know it already) +DEB_HOST_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE) +DEB_BUILD_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE) + +CFLAGS ?= -Wall -g +CFLAGS += -fPIC +CXXFLAGS ?= -Wall -g +CXXFLAGS += -fPIC + +PREFIX ?= /usr +DATADIR ?= /opt + +ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS))) + CFLAGS += -O0 + CXXFLAGS += -O0 +else + CFLAGS += -O2 + CXXFLAGS += -O2 +endif + +LDFLAGS += --rpath=$(PREFIX)/lib -Wl,--as-needed + +configure: configure-stamp +configure-stamp: + dh_testdir + # Add here commands to configure the package. + CFLAGS="$(CFLAGS)" CXXFLAGS="$(CXXFLAGS)" LDFLAGS="$(LDFLAGS)" cmake . -DCMAKE_INSTALL_PREFIX=$(PREFIX) + touch configure-stamp + +build: build-stamp + +build-stamp: configure-stamp + dh_testdir + + # Add here commands to compile the package. + $(MAKE) + #docbook-to-man debian/ncurses.sgml > ncurses.1 + + for f in `find $(CURDIR)/debian/ -name "*.in"`; do \ + cat $$f > $${f%.in}; \ + sed -i -e "s#@PREFIX@#$(PREFIX)#g" $${f%.in}; \ + sed -i -e "s#@DATADIR@#$(DATADIR)#g" $${f%.in}; \ + done + + touch $@ + +clean: + dh_testdir + dh_testroot + rm -f build-stamp configure-stamp + + # Add here commands to clean up after the build process. + -$(MAKE) clean + rm -rf CMakeCache.txt + rm -rf CMakeFiles + rm -rf cmake_install.cmake + rm -rf Makefile + rm -rf install_manifest.txt + rm -rf *.pc + + for f in `find $(CURDIR)/debian/ -name "*.in"`; do \ + rm -f $${f%.in}; \ + done + dh_clean + +install: build + dh_testdir + dh_testroot + dh_prep + dh_installdirs + + # Add here commands to install the package into debian/ncurses. + $(MAKE) DESTDIR=$(CURDIR)/debian/tmp install + + +# Build architecture-independent files here. +binary-indep: build install +# We have nothing to do by default. + +# Build architecture-dependent files here. +binary-arch: build install + dh_testdir + dh_testroot + dh_installexamples + dh_install --sourcedir=debian/tmp +# dh_installmenu +# dh_installdebconf +# dh_installlogrotate +# dh_installemacsen +# dh_installpam +# dh_installmime +# dh_python +# dh_installinit +# dh_installcron +# dh_installinfo + dh_installman + dh_link + #dh_strip #before + dh_strip --dbg-package=drm-trusted-0-dbg #after + dh_compress + dh_fixperms +# dh_perl + dh_makeshlibs + dh_installdeb + dh_shlibdeps + dh_gencontrol + dh_md5sums + dh_builddeb + +binary: binary-indep binary-arch +.PHONY: build clean binary-indep binary-arch binary install
\ No newline at end of file |