From 05d621b2e67fd931e447531a50a7c7a6058cc8b3 Mon Sep 17 00:00:00 2001 From: John Fredriksson Date: Fri, 28 Oct 2011 14:00:29 +0200 Subject: Add debian packaging files. Add files needed for creating debian packages. --- debian/changelog | 5 +++++ debian/compat | 1 + debian/control | 23 +++++++++++++++++++++++ debian/copyright | 30 ++++++++++++++++++++++++++++++ debian/docs | 0 debian/files | 2 ++ debian/hdmiservice-dev.dirs | 2 ++ debian/hdmiservice-dev.install | 1 + debian/hdmiservice.conf | 15 +++++++++++++++ debian/hdmiservice.dirs | 3 +++ debian/hdmiservice.install | 3 +++ debian/rules | 18 ++++++++++++++++++ debian/source/format | 1 + 13 files changed, 104 insertions(+) create mode 100644 debian/changelog create mode 100644 debian/compat create mode 100644 debian/control create mode 100644 debian/copyright create mode 100644 debian/docs create mode 100644 debian/files create mode 100644 debian/hdmiservice-dev.dirs create mode 100644 debian/hdmiservice-dev.install create mode 100644 debian/hdmiservice.conf create mode 100644 debian/hdmiservice.dirs create mode 100644 debian/hdmiservice.install create mode 100755 debian/rules create mode 100644 debian/source/format diff --git a/debian/changelog b/debian/changelog new file mode 100644 index 0000000..381a070 --- /dev/null +++ b/debian/changelog @@ -0,0 +1,5 @@ +hdmiservice (1.0) unstable; urgency=low + + * Initial Release. + + -- John Fredriksson Wed, 28 Sep 2011 17:38:58 +0200 diff --git a/debian/compat b/debian/compat new file mode 100644 index 0000000..7f8f011 --- /dev/null +++ b/debian/compat @@ -0,0 +1 @@ +7 diff --git a/debian/control b/debian/control new file mode 100644 index 0000000..126cad8 --- /dev/null +++ b/debian/control @@ -0,0 +1,23 @@ +Source: hdmiservice +Priority: extra +Maintainer: John Fredriksson +Build-Depends: debhelper (>= 7.0.50~) +Standards-Version: 3.9.1 +Section: libs +Homepage: +#Vcs-Git: git://git.debian.org/collab-maint/hdmiservice.git +#Vcs-Browser: http://git.debian.org/?p=collab-maint/hdmiservice.git;a=summary + +Package: hdmiservice-dev +Section: libdevel +Architecture: any +Depends: hdmiservice (= ${binary:Version}) +Description: + + +Package: hdmiservice +Section: libs +Architecture: any +Depends: ${shlibs:Depends}, ${misc:Depends} +Description: + diff --git a/debian/copyright b/debian/copyright new file mode 100644 index 0000000..7dda4a9 --- /dev/null +++ b/debian/copyright @@ -0,0 +1,30 @@ +Format: http://dep.debian.net/deps/dep5 +Upstream-Name: hdmiservice + +Files: * + +Copyright (C) ST-Ericsson SA 2011 +Author: Per Persson per.xb.persson@stericsson.com for +ST-Ericsson. + +License terms: +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in +all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN +THE SOFTWARE. + +Copyright: 2011 ST-Ericsson SA +License: MIT diff --git a/debian/docs b/debian/docs new file mode 100644 index 0000000..e69de29 diff --git a/debian/files b/debian/files new file mode 100644 index 0000000..8d266b4 --- /dev/null +++ b/debian/files @@ -0,0 +1,2 @@ +hdmiservice-dev_1.0_armel.deb libdevel extra +hdmiservice_1.0_armel.deb libs extra diff --git a/debian/hdmiservice-dev.dirs b/debian/hdmiservice-dev.dirs new file mode 100644 index 0000000..4418816 --- /dev/null +++ b/debian/hdmiservice-dev.dirs @@ -0,0 +1,2 @@ +usr/lib +usr/include diff --git a/debian/hdmiservice-dev.install b/debian/hdmiservice-dev.install new file mode 100644 index 0000000..41a1414 --- /dev/null +++ b/debian/hdmiservice-dev.install @@ -0,0 +1 @@ +usr/include/* diff --git a/debian/hdmiservice.conf b/debian/hdmiservice.conf new file mode 100644 index 0000000..a48759d --- /dev/null +++ b/debian/hdmiservice.conf @@ -0,0 +1,15 @@ +# hdmiservice +# +# logic for creating and selecting framebuffer resolution + +description "HDMI service" + +start on starting gdm + +pre-start script + hdmistart & +end script + +post-start script + while [ ! -e /dev/fb0 ]; do sleep 2; done +end script diff --git a/debian/hdmiservice.dirs b/debian/hdmiservice.dirs new file mode 100644 index 0000000..0e037cf --- /dev/null +++ b/debian/hdmiservice.dirs @@ -0,0 +1,3 @@ +usr/lib +usr/bin +etc/init diff --git a/debian/hdmiservice.install b/debian/hdmiservice.install new file mode 100644 index 0000000..80cb3ca --- /dev/null +++ b/debian/hdmiservice.install @@ -0,0 +1,3 @@ +usr/lib/*.so +usr/bin/* +etc/init/*.conf diff --git a/debian/rules b/debian/rules new file mode 100755 index 0000000..8332782 --- /dev/null +++ b/debian/rules @@ -0,0 +1,18 @@ +#!/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 + +override_dh_auto_install: + mkdir -p debian/tmp/etc/init + cp debian/hdmiservice.conf debian/tmp/etc/init/ + $(MAKE) DESTDIR=debian/tmp install + +%: + dh $@ diff --git a/debian/source/format b/debian/source/format new file mode 100644 index 0000000..89ae9db --- /dev/null +++ b/debian/source/format @@ -0,0 +1 @@ +3.0 (native) -- cgit v1.2.3