From bdde948604f3bc46cc3153eb376b95fa82e29585 Mon Sep 17 00:00:00 2001 From: Nikhil Devshatwar Date: Thu, 16 May 2013 19:41:03 +0530 Subject: [PATCH] DEBIAN: Debianization --- debian/changelog | 104 ++++++++++++++++++++++++++ debian/compat | 1 + debian/control | 112 ++++++++++++++++++++++++++++ debian/copyright | 65 ++++++++++++++++ debian/dri2-utils.install | 1 + debian/dri2-utils.lintian-overrides | 2 + debian/libdri2-1.install | 1 + debian/libdri2-1.symbols | 16 ++++ debian/libdri2-dev.install | 4 + debian/rules | 23 ++++++ debian/source/format | 1 + 11 files changed, 330 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/dri2-utils.install create mode 100644 debian/dri2-utils.lintian-overrides create mode 100644 debian/libdri2-1.install create mode 100644 debian/libdri2-1.symbols create mode 100644 debian/libdri2-dev.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..5346b3b --- /dev/null +++ b/debian/changelog @@ -0,0 +1,104 @@ +libdri2 (1.0.3-0ubuntu4) precise; urgency=low + + * Update x11proto-dri2-dev version + + -- Xavier Boudet Fri, 04 Jan 2013 16:48:34 +0100 + +libdri2 (1.0.3-0ubuntu3) precise; urgency=low + + * Add to gitignore + * debian/rules: hack dh install to avoid fail when files are missing + + -- Vincent Stehlé Fri, 26 Oct 2012 15:57:03 +0200 + +libdri2 (1.0.3-0ubuntu2) precise; urgency=low + + * Update Vcs data + + -- Xavier Boudet Wed, 26 Sep 2012 14:15:36 +0200 + +libdri2 (1.0.3-0ubuntu1) precise; urgency=low + + * New upstream delivery: 4f1eef3 + + -- Xavier Boudet Fri, 24 Aug 2012 14:54:58 +0200 + +libdri2 (1.0.2-0ubuntu3) precise; urgency=low + + * Incremented dependency version for libdrm-dev + + -- Xavier Boudet Wed, 28 Mar 2012 15:25:38 +0000 + +libdri2 (1.0.2-0ubuntu2) precise; urgency=low + + * Incremented dependency version for x11proto-dri2 + + -- David Bercovitz Thu, 01 Mar 2012 14:36:13 +0100 + +libdri2 (1.0.2-0ubuntu1) precise; urgency=low + + * Bump to 1.0.2 to fix orig file + + -- David Bercovitz Wed, 29 Feb 2012 16:38:46 +0100 + +libdri2 (1.0.1-0ubuntu7) precise; urgency=low + + * Added dri2video support + + -- David Bercovitz Tue, 28 Feb 2012 15:37:55 +0100 + +libdri2 (1.0.1-0ubuntu6) precise; urgency=low + + * Updated dependency version for libdrm + to 2.4.30 + + -- David Bercovitz Fri, 17 Feb 2012 14:19:00 +0100 + +libdri2 (1.0.1-0ubuntu4) precise; urgency=low + + * Updated version constraint on libdrm-dev + in debian/control file. + + -- David Bercovitz Wed, 25 Jan 2012 15:45:10 +0100 + +libdri2 (1.0.1-0ubuntu3) precise; urgency=low + + * Fixed precise armhf build + + -- David Bercovitz Tue, 24 Jan 2012 13:48:18 +0100 + +libdri2 (1.0.1-0ubuntu2) precise; urgency=low + + * Forced libdrm-dev TI version in control + file in order to avoid build issue + building on precise ubuntu version. + + -- David Bercovitz Mon, 23 Jan 2012 17:52:25 +0100 + +libdri2 (1.0.1-0ubuntu1) precise; urgency=low + + * Updated upstream tree to git commit ID: + da7ba7295aecedea6c0b89cd747a65b9d7dccb65 + under GitHub robclark/libdri2 + + -- David Bercovitz Mon, 23 Jan 2012 16:46:06 +0100 + +libdri2 (1.0.0-0ubuntu3) oneiric; urgency=low + + * Added debian/gbp.conf file + * Added pristine-tar + + -- David Bercovitz Wed, 14 Dec 2011 11:49:00 +0100 + +libdri2 (1.0.0-0ubuntu2) oneiric; urgency=low + + * Updated dependency version on libdrm in control file + + -- David Bercovitz Mon, 12 Dec 2011 17:45:43 +0100 + +libdri2 (1.0.0-0ubuntu1) oneiric; urgency=low + + * Initial Ubuntu package for TI OMAP DRI2 library extension to the + X Window System + + -- David Bercovitz Mon, 05 Dec 2011 17:37:28 +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..c699e5e --- /dev/null +++ b/debian/control @@ -0,0 +1,112 @@ +Source: libdri2 +Section: libs +Priority: optional +Maintainer: TI OMAP Developers +Build-Depends: + debhelper (>= 8.1.2ubuntu2), + quilt (>= 0.48-7), + dh-autoreconf, + pkg-config, + xutils-dev (>= 1:7.6+5), + x11proto-xext-dev (>= 7.2.0-3), + x11proto-dri2-dev (>= 2.8-1~precise1+ti1.0), + libxfixes-dev (>= 1:5.0-4), + libxext-dev (>= 2:1.3.0-3), + libdrm-dev (>= 2.4.32-1ubuntu1+ti1.1) +Standards-Version: 3.9.2 +Vcs-Git: git://gitorious.org/ubuntu-omap/libdri2.git +Vcs-Browser: https://gitorious.org/ubuntu-omap/libdri2 + +Package: libdri2-dev +Section: libdevel +Architecture: any +Depends: + libdri2-1 (= ${binary:Version}), + ${misc:Depends} +Description: library for the DRI2 extension to the X Window System -- development files + All questions regarding this software should be directed at the + Xorg mailing list: + http://lists.freedesktop.org/mailman/listinfo/xorg + Please submit bug reports to the Xorg bugzilla: + https://bugs.freedesktop.org/enter_bug.cgi?product=xorg + The master development code repository can be found at: + git://anongit.freedesktop.org/git/xorg/lib/libdri2 + http://cgit.freedesktop.org/xorg/lib/libdri2 + For patch submission instructions, see: + http://www.x.org/wiki/Development/Documentation/SubmittingPatches + For more information on the git code manager, see: + http://wiki.x.org/wiki/GitPage + . + This package provides the development environment for libdri. + +Package: libdri2-1 +Section: libs +Architecture: any +Multi-Arch: same +Depends: + ${shlibs:Depends}, + ${misc:Depends} +Description: library for the DRI2 extension to the X Window System -- runtime + All questions regarding this software should be directed at the + Xorg mailing list: + http://lists.freedesktop.org/mailman/listinfo/xorg + Please submit bug reports to the Xorg bugzilla: + https://bugs.freedesktop.org/enter_bug.cgi?product=xorg + The master development code repository can be found at: + git://anongit.freedesktop.org/git/xorg/lib/libdri2 + http://cgit.freedesktop.org/xorg/lib/libdri2 + For patch submission instructions, see: + http://www.x.org/wiki/Development/Documentation/SubmittingPatches + For more information on the git code manager, see: + http://wiki.x.org/wiki/GitPage + . + This package provides the runtime environment for libdri. + +Package: libdri2-dbg +Section: debug +Priority: extra +Architecture: any +Multi-Arch: same +Depends: + libdri2-1 (= ${binary:Version}), + ${misc:Depends} +Description: library for the DRI2 extension to the X Window System -- debugging symbols + All questions regarding this software should be directed at the + Xorg mailing list: + http://lists.freedesktop.org/mailman/listinfo/xorg + Please submit bug reports to the Xorg bugzilla: + https://bugs.freedesktop.org/enter_bug.cgi?product=xorg + The master development code repository can be found at: + git://anongit.freedesktop.org/git/xorg/lib/libdri2 + http://cgit.freedesktop.org/xorg/lib/libdri2 + For patch submission instructions, see: + http://www.x.org/wiki/Development/Documentation/SubmittingPatches + For more information on the git code manager, see: + http://wiki.x.org/wiki/GitPage + . + This package provides the debugging symbols for libdri2 package. + +Package: dri2-utils +Section: misc +Priority: extra +Architecture: any +Multi-Arch: same +Depends: + libdri2-1 (= ${binary:Version}), + ${shlibs:Depends}, + ${misc:Depends} +Description: Tests utilities for the DRI2 extension to the X Window System -- testing tools + All questions regarding this software should be directed at the + Xorg mailing list: + http://lists.freedesktop.org/mailman/listinfo/xorg + Please submit bug reports to the Xorg bugzilla: + https://bugs.freedesktop.org/enter_bug.cgi?product=xorg + The master development code repository can be found at: + git://anongit.freedesktop.org/git/xorg/lib/libdri2 + http://cgit.freedesktop.org/xorg/lib/libdri2 + For patch submission instructions, see: + http://www.x.org/wiki/Development/Documentation/SubmittingPatches + For more information on the git code manager, see: + http://wiki.x.org/wiki/GitPage + . + This package provides the testing tools for libdri2 package. diff --git a/debian/copyright b/debian/copyright new file mode 100644 index 0000000..121cc69 --- /dev/null +++ b/debian/copyright @@ -0,0 +1,65 @@ +DRI2 was packaged for Debian by: + + David Bercovitz on Mon, 05 Dec 2011 18:00:01 +0200 + +Original source code was downloaded from + +Copyright: + + Copyright(c) 2011 Texas Instruments. All rights reserved. + All rights reserved. + + Redistribution and use in source and binary forms, with or without + modification, are permitted provided that the following conditions + are met: + + * Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + * Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in + the documentation and/or other materials provided with the + distribution. + * Neither the name Texas Instruments nor the names of its + contributors may be used to endorse or promote products derived + from this software without specific prior written permission. + + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS + "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT + LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR + A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT + OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, + SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT + LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, + DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY + THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT + (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE + OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + +License: + + GPL-2 (GNU GPL Version 2), + + This package is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License version 2 as + published by the Free Software Foundation. + + This package 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 General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this package; if not, write to the Free Software + Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + +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) 2011 David Bercovitz + +you can redistribute it and/or modify +it under the terms of the GNU General Public License version 2 as +published by the Free Software Foundation. + diff --git a/debian/dri2-utils.install b/debian/dri2-utils.install new file mode 100644 index 0000000..1df36c6 --- /dev/null +++ b/debian/dri2-utils.install @@ -0,0 +1 @@ +usr/bin/* diff --git a/debian/dri2-utils.lintian-overrides b/debian/dri2-utils.lintian-overrides new file mode 100644 index 0000000..1e8394b --- /dev/null +++ b/debian/dri2-utils.lintian-overrides @@ -0,0 +1,2 @@ +dri2-utils: package-name-doesnt-match-sonames +dri2-utils: binary-without-manpage diff --git a/debian/libdri2-1.install b/debian/libdri2-1.install new file mode 100644 index 0000000..97c29da --- /dev/null +++ b/debian/libdri2-1.install @@ -0,0 +1 @@ +usr/lib/libdri2.so.* diff --git a/debian/libdri2-1.symbols b/debian/libdri2-1.symbols new file mode 100644 index 0000000..3b54b17 --- /dev/null +++ b/debian/libdri2-1.symbols @@ -0,0 +1,16 @@ +libdri2.so.1 libdri2-1 #MINVER# + DRI2Authenticate@Base 1.0.0 + DRI2Connect@Base 1.0.0 + DRI2CopyRegion@Base 1.0.0 + DRI2CreateDrawable@Base 1.0.0 + DRI2DestroyDrawable@Base 1.0.0 + DRI2GetBuffers@Base 1.0.0 + DRI2GetBuffersWithFormat@Base 1.0.0 + DRI2GetMSC@Base 1.0.0 + DRI2InitDisplay@Base 1.0.0 + DRI2QueryExtension@Base 1.0.0 + DRI2QueryVersion@Base 1.0.0 + DRI2SwapBuffers@Base 1.0.0 + DRI2SwapInterval@Base 1.0.0 + DRI2WaitMSC@Base 1.0.0 + DRI2WaitSBC@Base 1.0.0 diff --git a/debian/libdri2-dev.install b/debian/libdri2-dev.install new file mode 100644 index 0000000..6cd8ddd --- /dev/null +++ b/debian/libdri2-dev.install @@ -0,0 +1,4 @@ +usr/include/* +usr/lib/lib*.a +usr/lib/lib*.so +usr/lib/pkgconfig/* diff --git a/debian/rules b/debian/rules new file mode 100755 index 0000000..cfa537b --- /dev/null +++ b/debian/rules @@ -0,0 +1,23 @@ +#!/usr/bin/make -f + +### +### Configuration, decide what to build +### + +override_dh_auto_configure: + dh_auto_configure -- --enable-test + +override_dh_auto_install: + dh_auto_install --destdir=debian/tmp + +override_dh_install: + find debian/tmp -name '*.la' -delete + dh_install --list-missing || : + +override_dh_strip: + dh_strip -plibdri2-1 --dbg-package=libdri2-dbg + dh_strip -s --remaining-packages + +%: + dh $@ --with quilt,autoreconf --builddirectory=build/ + 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.26.2