From cb86a2f2cecd41023bf1bf12fbcf11be11220f31 Mon Sep 17 00:00:00 2001 From: Nikhil Devshatwar Date: Tue, 21 May 2013 14:18:11 +0530 Subject: [PATCH] DEBIAN: debianization --- debian/changelog | 57 +++++++++++++++++++++++++++++++++++++++++++++++ debian/compat | 1 + debian/control | 41 ++++++++++++++++++++++++++++++++++ debian/copyright | 49 ++++++++++++++++++++++++++++++++++++++++ debian/libgbm-dev.install | 2 ++ debian/libgbm1.install | 1 + debian/rules | 11 +++++++++ debian/source/format | 1 + 8 files changed, 163 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/libgbm-dev.install create mode 100644 debian/libgbm1.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..f7149a2 --- /dev/null +++ b/debian/changelog @@ -0,0 +1,57 @@ +libgbm (9.0.0-8glsdk1) precise; urgency=low + + * Updated control (removed blank lines) + * Fixed mk-build-deps error + + -- Nikhil Devshatwar Tue, 05 Mar 2013 05:50:42 +0000 + +libgbm (9.0.0-8) precise; urgency=low + + * Remove untracked files + * gitignore + * Allow build for any architecture + * Add patch to produce libgbm.so.1.0.0 + + -- Vincent Stehlé Fri, 26 Oct 2012 14:27:32 +0200 + +libgbm (9.0.0-7) precise; urgency=low + + * Update control + + -- Xavier Boudet Wed, 19 Sep 2012 12:34:48 +0200 + +libgbm (9.0.0-6) precise; urgency=low + + * Update Vcs-Git + + -- Xavier Boudet Mon, 17 Sep 2012 19:17:52 +0200 + +libgbm (9.0.0-5) precise; urgency=low + + * Update control + + -- Xavier Boudet Fri, 14 Sep 2012 17:05:24 +0200 + +libgbm (9.0.0-4) precise; urgency=low + + * Update configure.ac check modules + + -- Xavier Boudet Fri, 14 Sep 2012 16:36:48 +0200 + +libgbm (9.0.0-3) precise; urgency=low + + * Update to libudev.pc name + + -- Xavier Boudet Fri, 14 Sep 2012 15:55:14 +0200 + +libgbm (9.0.0-2) precise; urgency=low + + * Add udev patch + + -- Xavier Boudet Thu, 13 Sep 2012 14:44:43 +0200 + +libgbm (9.0.0-1) precise; urgency=low + + * libgbm: gbm frontend used by weston compositor + + -- Xavier Boudet Thu, 13 Sep 2012 10:39:15 +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..12df6fa --- /dev/null +++ b/debian/control @@ -0,0 +1,41 @@ +Source: libgbm +Section: graphics +Priority: optional +Maintainer: TI OMAP Developers +Build-Depends: cdbs, + debhelper (>= 7), + libtool, + dh-autoreconf, + quilt, + libdrm-dev (>= 2.4.32-1ubuntu1+ti1.1), + libdri2-dev (>= 1.0.2-0ubuntu3), + libudev-dev, + pkg-config +Standards-Version: 3.9.2 +Homepage: git://github.com/robclark/libgbm.git +Vcs-Git: git://gitorious.org/ubuntu-omap/libgbm.git + +Package: libgbm1 +Section: libs +Architecture: any +Priority: optional +Depends: + ${shlibs:Depends}, + ${misc:Depends}, +Pre-Depends: ${misc:Pre-Depends} +Description: generic buffer management API -- runtime + This is the gbm frontend used by (for example) weston compositor to + load the GLES stack, and retrieve the backing buffer objects behind + an eglImage (created with EGL_WAYLAND_BUFFER_WL), etc. + +Package: libgbm-dev +Section: libdevel +Architecture: any +Priority: optional +Depends: ${misc:Depends}, + libgbm1 (= ${binary:Version}), + libudev-dev +Description: generic buffer management API -- runtime + This is the gbm frontend used by (for example) weston compositor to + load the GLES stack, and retrieve the backing buffer objects behind + an eglImage (created with EGL_WAYLAND_BUFFER_WL), etc. diff --git a/debian/copyright b/debian/copyright new file mode 100644 index 0000000..3280fa2 --- /dev/null +++ b/debian/copyright @@ -0,0 +1,49 @@ +This package was debianized by Xavier Boudet on +Thu, 13 Sep 2012 10:50:24 +0200. + + +Upstream Author(s): + + Benjamin Franzke + + Rob Clark + +Copyright: + + Texas Instruments Inc. 2012 + +License: + + License: + + * Copyright © 2011 Intel Corporation + * + * 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 (including the next + * paragraph) 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. + +On Debian systems, the complete text of the GNU General +Public License version 2 can be found in `/usr/share/common-licenses/GPL-2'. + +The Debian packaging is: + + Copyright (C) 2012 Xavier Boudet + +and is licensed under the GPL version 2, +see `/usr/share/common-licenses/GPL-2'. diff --git a/debian/libgbm-dev.install b/debian/libgbm-dev.install new file mode 100644 index 0000000..1026b5c --- /dev/null +++ b/debian/libgbm-dev.install @@ -0,0 +1,2 @@ +usr/lib/pkgconfig/gbm.pc usr/lib/pkgconfig +usr/include/gbm usr/include diff --git a/debian/libgbm1.install b/debian/libgbm1.install new file mode 100644 index 0000000..e6f8dfb --- /dev/null +++ b/debian/libgbm1.install @@ -0,0 +1 @@ +usr/lib/libgbm.so* usr/lib diff --git a/debian/rules b/debian/rules new file mode 100755 index 0000000..1b25e39 --- /dev/null +++ b/debian/rules @@ -0,0 +1,11 @@ +#!/usr/bin/make -f + +include /usr/share/cdbs/1/rules/debhelper.mk +include /usr/share/cdbs/1/class/autotools.mk +include /usr/share/cdbs/1/rules/autoreconf.mk +include /usr/share/cdbs/1/rules/patchsys-quilt.mk + +ifneq (,$(LDFLAGS)) + LDFLAGS := $(filter-out %-Bsymbolic-functions,$(LDFLAGS)) +endif + diff --git a/debian/source/format b/debian/source/format new file mode 100644 index 0000000..163aaf8 --- /dev/null +++ b/debian/source/format @@ -0,0 +1 @@ +3.0 (quilt) -- 2.7.4