summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYing-Chun Liu (PaulLiu) <paulliu@debian.org>2016-03-01 14:57:26 +0800
committerYing-Chun Liu (PaulLiu) <paulliu@debian.org>2016-03-04 20:58:46 +0800
commitfca5a866fc303a2c8477dff287356d94e55f9dc0 (patch)
tree0b6f631b02a1272b97d17dbfbe6e59e509edfca3
parentea0ac35ab4a97882475d82e802f8e06bac428fa5 (diff)
Imported Debian patch 20151010-1debian/20151010-1
-rw-r--r--debian/README.Debian6
-rw-r--r--debian/README.source7
-rw-r--r--debian/changelog5
-rw-r--r--debian/compat1
-rw-r--r--debian/control126
-rw-r--r--debian/copyright29
-rw-r--r--debian/libgl1-pvr-dri.install1
-rw-r--r--debian/libgles1-pvr-dev.dirs2
-rw-r--r--debian/libgles1-pvr-dev.install1
-rw-r--r--debian/libgles1-pvr-dev.links1
-rw-r--r--debian/libgles1-pvr.dirs1
-rw-r--r--debian/libgles1-pvr.install1
-rw-r--r--debian/libgles1-pvr.links1
-rw-r--r--debian/libgles2-pvr-dev.dirs2
-rw-r--r--debian/libgles2-pvr-dev.install1
-rw-r--r--debian/libgles2-pvr-dev.links1
-rw-r--r--debian/libgles2-pvr.dirs1
-rw-r--r--debian/libgles2-pvr.install2
-rw-r--r--debian/libgles2-pvr.links1
-rw-r--r--debian/libpvr-private.install11
-rw-r--r--debian/libpvr-private.links1
-rw-r--r--debian/manpage.xml291
-rw-r--r--debian/pvr-utils.install19
-rwxr-xr-xdebian/rules45
-rw-r--r--debian/source/format1
-rw-r--r--debian/xserver-xorg-video-pvr.dirs1
-rw-r--r--debian/xserver-xorg-video-pvr.install2
27 files changed, 561 insertions, 0 deletions
diff --git a/debian/README.Debian b/debian/README.Debian
new file mode 100644
index 0000000..9215163
--- /dev/null
+++ b/debian/README.Debian
@@ -0,0 +1,6 @@
+s900-gpu-binary for Debian
+-------------------------
+
+We use divert to overwrite system libGLES stuff.
+
+ -- Ying-Chun Liu (PaulLiu) <paulliu@debian.org> Tue, 01 Mar 2016 14:57:26 +0800
diff --git a/debian/README.source b/debian/README.source
new file mode 100644
index 0000000..b8bacc4
--- /dev/null
+++ b/debian/README.source
@@ -0,0 +1,7 @@
+s900-gpu-binary for Debian
+-------------------------
+
+Upstream doesn't provide any source and only a binary tarball.
+
+ -- Ying-Chun Liu (PaulLiu) <paulliu@debian.org> Tue, 01 Mar 2016 14:57:26 +0800
+
diff --git a/debian/changelog b/debian/changelog
new file mode 100644
index 0000000..0d4d167
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,5 @@
+s900-gpu-binary (20151010-1) unstable; urgency=medium
+
+ * Initial release (Closes: #nnnn) <nnnn is the bug number of your ITP>
+
+ -- Ying-Chun Liu (PaulLiu) <paulliu@debian.org> Tue, 01 Mar 2016 14:57:26 +0800
diff --git a/debian/compat b/debian/compat
new file mode 100644
index 0000000..ec63514
--- /dev/null
+++ b/debian/compat
@@ -0,0 +1 @@
+9
diff --git a/debian/control b/debian/control
new file mode 100644
index 0000000..bc746f3
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,126 @@
+Source: s900-gpu-binary
+Priority: extra
+Maintainer: Ying-Chun Liu (PaulLiu) <paulliu@debian.org>
+Build-Depends: debhelper (>=9), patchelf
+Standards-Version: 3.9.6
+Section: non-free/libs
+Homepage: https://www.96boards.org/products/ce/bubblegum96/
+
+Package: libpvr-private
+Section: non-free/libs
+Architecture: arm64
+Depends: ${misc:Depends}, ${shlibs:Depends}
+Multi-Arch: same
+Description: pvr private lib
+ Private libraries for pvr.
+
+Package: libgles1-pvr
+Section: non-free/libs
+Architecture: arm64
+Depends:
+ libpvr-private,
+ ${shlibs:Depends},
+ ${misc:Depends},
+Provides: libgles1, libgles1-mesa
+Conflicts: libgles1, libgles1-mesa
+Replaces: libgles1, libgles1-mesa
+Pre-Depends: ${misc:Pre-Depends}
+Multi-Arch: same
+Description: pvr implementation of the OpenGL|ES 1.x API -- runtime
+ OpenGL|ES is a cross-platform API for full-function 2D and 3D graphics on
+ embedded systems - including consoles, phones, appliances and vehicles.
+ It contains a subset of OpenGL plus a number of extensions for the
+ special needs of embedded systems.
+ .
+ OpenGL|ES 1.x provides an API for fixed-function hardware.
+
+Package: libgles1-pvr-dev
+Section: non-free/libdevel
+Architecture: arm64
+Depends:
+ libgles1-pvr (= ${binary:Version}),
+ ${misc:Depends},
+Conflicts: libgles1-mesa-dev
+Replaces: libgles1-mesa-dev
+Provides: libgles1-mesa-dev
+Multi-Arch: same
+Description: pvr implementation of the OpenGL|ES 1.x API -- development files
+ OpenGL|ES is a cross-platform API for full-function 2D and 3D graphics on
+ embedded systems - including consoles, phones, appliances and vehicles.
+ It contains a subset of OpenGL plus a number of extensions for the
+ special needs of embedded systems.
+ .
+ OpenGL|ES 1.x provides an API for fixed-function hardware.
+ .
+ This package provides a development environment for building programs using
+ the OpenGL|ES 1.x APIs.
+
+Package: libgles2-pvr
+Section: non-free/libs
+Architecture: arm64
+Depends: libpvr-private, ${misc:Depends}, ${shlibs:Depends}
+Conflicts: libgles2, libgles2-mesa
+Replaces: libgles2, libgles2-mesa
+Provides: libgles2, libgles2-mesa
+Pre-Depends: ${misc:Pre-Depends}
+Multi-Arch: same
+Description: pvr implementation of the OpenGL|ES 2.x API -- runtime
+ OpenGL|ES is a cross-platform API for full-function 2D and 3D graphics on
+ embedded systems - including consoles, phones, appliances and vehicles.
+ It contains a subset of OpenGL plus a number of extensions for the
+ special needs of embedded systems.
+ .
+ OpenGL|ES 2.x provides an API for programmable hardware including vertex
+ and fragment shaders.
+
+Package: libgles2-pvr-dev
+Section: non-free/libdevel
+Architecture: arm64
+Depends: libgles2-pvr (= ${binary:Version}), ${misc:Depends}
+Conflicts: libgles2-mesa-dev
+Replaces: libgles2-mesa-dev
+Provides: libgles2-mesa-dev
+Multi-Arch: same
+Description: pvr implementation of the OpenGL|ES 2.x API -- development files
+ OpenGL|ES is a cross-platform API for full-function 2D and 3D graphics on
+ embedded systems - including consoles, phones, appliances and vehicles.
+ It contains a subset of OpenGL plus a number of extensions for the
+ special needs of embedded systems.
+ .
+ OpenGL|ES 2.x provides an API for programmable hardware including vertex
+ and fragment shaders.
+ .
+ This package provides a development environment for building applications
+ using the OpenGL|ES 2.x APIs.
+
+Package: xserver-xorg-video-pvr
+Architecture: arm64
+Depends: libpvr-private,
+ ${shlibs:Depends},
+ ${misc:Depends},
+Recommends: libgl1-pvr-dri
+Description: X.Org X server -- pvr display driver
+ This driver for the X.Org X server (see xserver-xorg for a further
+ description) provides support for PowerVR cards.
+
+Package: libgl1-pvr-dri
+Section: non-free/libs
+Architecture: arm64
+Pre-Depends: ${misc:Pre-Depends}
+Depends: libpvr-private,
+ ${shlibs:Depends},
+ ${misc:Depends}
+Recommends: libtxc-dxtn-s2tc0 | libtxc-dxtn0
+Breaks:
+ xserver-xorg-core (<< 2:1.14.3-5),
+Multi-Arch: same
+Description: pvr implementation of the OpenGL API -- DRI modules
+ This package does not include the OpenGL library itself, only the DRI
+ modules for accelerating direct rendering.
+
+Package: pvr-utils
+Section: non-free/x11
+Architecture: arm64
+Depends: libpvr-private, ${shlibs:Depends}, ${misc:Depends},
+Description: Miscellaneous pvr GL utilities
+ This package provides several basic GL utilities built by pvr.
diff --git a/debian/copyright b/debian/copyright
new file mode 100644
index 0000000..f6a9922
--- /dev/null
+++ b/debian/copyright
@@ -0,0 +1,29 @@
+Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Upstream-Name: s900-gpu-binary
+Source: <url://example.com>
+
+Files: *
+Copyright: 2015 Actions-Semi
+License: Non-free license.
+ It is non-free.
+
+Files: debian/*
+Copyright: 2016 Ying-Chun Liu (PaulLiu) <paulliu@debian.org>
+License: MIT
+ 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.
diff --git a/debian/libgl1-pvr-dri.install b/debian/libgl1-pvr-dri.install
new file mode 100644
index 0000000..769eb72
--- /dev/null
+++ b/debian/libgl1-pvr-dri.install
@@ -0,0 +1 @@
+build/pvr_dri.so usr/lib/aarch64-linux-gnu/dri
diff --git a/debian/libgles1-pvr-dev.dirs b/debian/libgles1-pvr-dev.dirs
new file mode 100644
index 0000000..da07fdd
--- /dev/null
+++ b/debian/libgles1-pvr-dev.dirs
@@ -0,0 +1,2 @@
+usr/include
+usr/lib
diff --git a/debian/libgles1-pvr-dev.install b/debian/libgles1-pvr-dev.install
new file mode 100644
index 0000000..243bf61
--- /dev/null
+++ b/debian/libgles1-pvr-dev.install
@@ -0,0 +1 @@
+target_arm64/usr/local/pvr/lib/pkgconfig/glesv1_cm.pc usr/lib/aarch64-linux-gnu/pkgconfig
diff --git a/debian/libgles1-pvr-dev.links b/debian/libgles1-pvr-dev.links
new file mode 100644
index 0000000..566aa91
--- /dev/null
+++ b/debian/libgles1-pvr-dev.links
@@ -0,0 +1 @@
+usr/lib/aarch64-linux-gnu/libGLESv1_CM.so.1 usr/lib/aarch64-linux-gnu/libGLESv1.so
diff --git a/debian/libgles1-pvr.dirs b/debian/libgles1-pvr.dirs
new file mode 100644
index 0000000..6845771
--- /dev/null
+++ b/debian/libgles1-pvr.dirs
@@ -0,0 +1 @@
+usr/lib
diff --git a/debian/libgles1-pvr.install b/debian/libgles1-pvr.install
new file mode 100644
index 0000000..b440c5e
--- /dev/null
+++ b/debian/libgles1-pvr.install
@@ -0,0 +1 @@
+build/libGLESv1_CM.so.* usr/lib/aarch64-linux-gnu
diff --git a/debian/libgles1-pvr.links b/debian/libgles1-pvr.links
new file mode 100644
index 0000000..3436e60
--- /dev/null
+++ b/debian/libgles1-pvr.links
@@ -0,0 +1 @@
+usr/lib/aarch64-linux-gnu/libGLESv1_CM.so.1.1.0 usr/lib/aarch64-linux-gnu/libGLESv1_CM.so.1
diff --git a/debian/libgles2-pvr-dev.dirs b/debian/libgles2-pvr-dev.dirs
new file mode 100644
index 0000000..da07fdd
--- /dev/null
+++ b/debian/libgles2-pvr-dev.dirs
@@ -0,0 +1,2 @@
+usr/include
+usr/lib
diff --git a/debian/libgles2-pvr-dev.install b/debian/libgles2-pvr-dev.install
new file mode 100644
index 0000000..f32a49d
--- /dev/null
+++ b/debian/libgles2-pvr-dev.install
@@ -0,0 +1 @@
+target_arm64/usr/local/pvr/lib/pkgconfig/glesv2.pc usr/lib/aarch64-linux-gnu/pkgconfig
diff --git a/debian/libgles2-pvr-dev.links b/debian/libgles2-pvr-dev.links
new file mode 100644
index 0000000..b332126
--- /dev/null
+++ b/debian/libgles2-pvr-dev.links
@@ -0,0 +1 @@
+usr/lib/aarch64-linux-gnu/libGLESv2.so.2 usr/lib/aarch64-linux-gnu/libGLESv2.so
diff --git a/debian/libgles2-pvr.dirs b/debian/libgles2-pvr.dirs
new file mode 100644
index 0000000..6845771
--- /dev/null
+++ b/debian/libgles2-pvr.dirs
@@ -0,0 +1 @@
+usr/lib
diff --git a/debian/libgles2-pvr.install b/debian/libgles2-pvr.install
new file mode 100644
index 0000000..ae3edc4
--- /dev/null
+++ b/debian/libgles2-pvr.install
@@ -0,0 +1,2 @@
+build/libGLESv2.so.* usr/lib/aarch64-linux-gnu
+
diff --git a/debian/libgles2-pvr.links b/debian/libgles2-pvr.links
new file mode 100644
index 0000000..89c3f30
--- /dev/null
+++ b/debian/libgles2-pvr.links
@@ -0,0 +1 @@
+usr/lib/aarch64-linux-gnu/libGLESv2.so.2.0.0 usr/lib/aarch64-linux-gnu/libGLESv2.so.2
diff --git a/debian/libpvr-private.install b/debian/libpvr-private.install
new file mode 100644
index 0000000..ae00a23
--- /dev/null
+++ b/debian/libpvr-private.install
@@ -0,0 +1,11 @@
+build/libPVROCL.so usr/lib/aarch64-linux-gnu/pvr
+build/libPVROGL_MESA.so usr/lib/aarch64-linux-gnu/pvr
+build/libPVRScopeServices.so usr/lib/aarch64-linux-gnu/pvr
+build/libglslcompiler.so usr/lib/aarch64-linux-gnu/pvr
+build/liboclcompiler.so usr/lib/aarch64-linux-gnu/pvr
+build/libpvr_dri_support.so usr/lib/aarch64-linux-gnu/pvr
+build/libpvrbm.so usr/lib/aarch64-linux-gnu/pvr
+build/libsrv_init.so usr/lib/aarch64-linux-gnu/pvr
+build/libsrv_um.so usr/lib/aarch64-linux-gnu/pvr
+build/libufwriter.so usr/lib/aarch64-linux-gnu/pvr
+build/libusc.so usr/lib/aarch64-linux-gnu/pvr
diff --git a/debian/libpvr-private.links b/debian/libpvr-private.links
new file mode 100644
index 0000000..b0dd6f2
--- /dev/null
+++ b/debian/libpvr-private.links
@@ -0,0 +1 @@
+usr/lib/aarch64-linux-gnu/pvr usr/local/pvr/lib \ No newline at end of file
diff --git a/debian/manpage.xml b/debian/manpage.xml
new file mode 100644
index 0000000..9eee163
--- /dev/null
+++ b/debian/manpage.xml
@@ -0,0 +1,291 @@
+<?xml version='1.0' encoding='UTF-8'?>
+<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
+"http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
+
+<!--
+
+`xsltproc -''-nonet \
+ -''-param man.charmap.use.subset "0" \
+ -''-param make.year.ranges "1" \
+ -''-param make.single.year.ranges "1" \
+ /usr/share/xml/docbook/stylesheet/docbook-xsl/manpages/docbook.xsl \
+ manpage.xml'
+
+A manual page <package>.<section> will be generated. You may view the
+manual page with: nroff -man <package>.<section> | less'. A typical entry
+in a Makefile or Makefile.am is:
+
+DB2MAN = /usr/share/sgml/docbook/stylesheet/xsl/docbook-xsl/manpages/docbook.xsl
+XP = xsltproc -''-nonet -''-param man.charmap.use.subset "0"
+
+manpage.1: manpage.xml
+ $(XP) $(DB2MAN) $<
+
+The xsltproc binary is found in the xsltproc package. The XSL files are in
+docbook-xsl. A description of the parameters you can use can be found in the
+docbook-xsl-doc-* packages. Please remember that if you create the nroff
+version in one of the debian/rules file targets (such as build), you will need
+to include xsltproc and docbook-xsl in your Build-Depends control field.
+Alternatively use the xmlto command/package. That will also automatically
+pull in xsltproc and docbook-xsl.
+
+Notes for using docbook2x: docbook2x-man does not automatically create the
+AUTHOR(S) and COPYRIGHT sections. In this case, please add them manually as
+<refsect1> ... </refsect1>.
+
+To disable the automatic creation of the AUTHOR(S) and COPYRIGHT sections
+read /usr/share/doc/docbook-xsl/doc/manpages/authors.html. This file can be
+found in the docbook-xsl-doc-html package.
+
+Validation can be done using: `xmllint -''-noout -''-valid manpage.xml`
+
+General documentation about man-pages and man-page-formatting:
+man(1), man(7), http://www.tldp.org/HOWTO/Man-Page/
+
+-->
+
+ <!-- Fill in your name for FIRSTNAME and SURNAME. -->
+ <!ENTITY dhfirstname "FIRSTNAME">
+ <!ENTITY dhsurname "SURNAME">
+ <!-- dhusername could also be set to "&dhfirstname; &dhsurname;". -->
+ <!ENTITY dhusername "Ying-Chun Liu (PaulLiu)">
+ <!ENTITY dhemail "paulliu@debian.org">
+ <!-- SECTION should be 1-8, maybe w/ subsection other parameters are
+ allowed: see man(7), man(1) and
+ http://www.tldp.org/HOWTO/Man-Page/q2.html. -->
+ <!ENTITY dhsection "SECTION">
+ <!-- TITLE should be something like "User commands" or similar (see
+ http://www.tldp.org/HOWTO/Man-Page/q2.html). -->
+ <!ENTITY dhtitle "s900-gpu-binary User Manual">
+ <!ENTITY dhucpackage "S900-gpu-binary">
+ <!ENTITY dhpackage "s900-gpu-binary">
+]>
+
+<refentry>
+ <refentryinfo>
+ <title>&dhtitle;</title>
+ <productname>&dhpackage;</productname>
+ <authorgroup>
+ <author>
+ <firstname>&dhfirstname;</firstname>
+ <surname>&dhsurname;</surname>
+ <contrib>Wrote this manpage for the Debian system.</contrib>
+ <address>
+ <email>&dhemail;</email>
+ </address>
+ </author>
+ </authorgroup>
+ <copyright>
+ <year>2007</year>
+ <holder>&dhusername;</holder>
+ </copyright>
+ <legalnotice>
+ <para>This manual page was written for the Debian system
+ (and may be used by others).</para>
+ <para>Permission is granted to copy, distribute and/or modify this
+ document under the terms of the GNU General Public License,
+ Version 2 or (at your option) any later version published by
+ the Free Software Foundation.</para>
+ <para>On Debian systems, the complete text of the GNU General Public
+ License can be found in
+ <filename>/usr/share/common-licenses/GPL</filename>.</para>
+ </legalnotice>
+ </refentryinfo>
+ <refmeta>
+ <refentrytitle>&dhucpackage;</refentrytitle>
+ <manvolnum>&dhsection;</manvolnum>
+ </refmeta>
+ <refnamediv>
+ <refname>&dhpackage;</refname>
+ <refpurpose>program to do something</refpurpose>
+ </refnamediv>
+ <refsynopsisdiv>
+ <cmdsynopsis>
+ <command>&dhpackage;</command>
+ <!-- These are several examples, how syntaxes could look -->
+ <arg choice="plain"><option>-e <replaceable>this</replaceable></option></arg>
+ <arg choice="opt"><option>--example=<parameter>that</parameter></option></arg>
+ <arg choice="opt">
+ <group choice="req">
+ <arg choice="plain"><option>-e</option></arg>
+ <arg choice="plain"><option>--example</option></arg>
+ </group>
+ <replaceable class="option">this</replaceable>
+ </arg>
+ <arg choice="opt">
+ <group choice="req">
+ <arg choice="plain"><option>-e</option></arg>
+ <arg choice="plain"><option>--example</option></arg>
+ </group>
+ <group choice="req">
+ <arg choice="plain"><replaceable>this</replaceable></arg>
+ <arg choice="plain"><replaceable>that</replaceable></arg>
+ </group>
+ </arg>
+ </cmdsynopsis>
+ <cmdsynopsis>
+ <command>&dhpackage;</command>
+ <!-- Normally the help and version options make the programs stop
+ right after outputting the requested information. -->
+ <group choice="opt">
+ <arg choice="plain">
+ <group choice="req">
+ <arg choice="plain"><option>-h</option></arg>
+ <arg choice="plain"><option>--help</option></arg>
+ </group>
+ </arg>
+ <arg choice="plain">
+ <group choice="req">
+ <arg choice="plain"><option>-v</option></arg>
+ <arg choice="plain"><option>--version</option></arg>
+ </group>
+ </arg>
+ </group>
+ </cmdsynopsis>
+ </refsynopsisdiv>
+ <refsect1 id="description">
+ <title>DESCRIPTION</title>
+ <para>This manual page documents briefly the
+ <command>&dhpackage;</command> and <command>bar</command>
+ commands.</para>
+ <para>This manual page was written for the Debian distribution
+ because the original program does not have a manual page.
+ Instead, it has documentation in the GNU <citerefentry>
+ <refentrytitle>info</refentrytitle>
+ <manvolnum>1</manvolnum>
+ </citerefentry> format; see below.</para>
+ <para><command>&dhpackage;</command> is a program that...</para>
+ </refsect1>
+ <refsect1 id="options">
+ <title>OPTIONS</title>
+ <para>The program follows the usual GNU command line syntax,
+ with long options starting with two dashes (`-'). A summary of
+ options is included below. For a complete description, see the
+ <citerefentry>
+ <refentrytitle>info</refentrytitle>
+ <manvolnum>1</manvolnum>
+ </citerefentry> files.</para>
+ <variablelist>
+ <!-- Use the variablelist.term.separator and the
+ variablelist.term.break.after parameters to
+ control the term elements. -->
+ <varlistentry>
+ <term><option>-e <replaceable>this</replaceable></option></term>
+ <term><option>--example=<replaceable>that</replaceable></option></term>
+ <listitem>
+ <para>Does this and that.</para>
+ </listitem>
+ </varlistentry>
+ <varlistentry>
+ <term><option>-h</option></term>
+ <term><option>--help</option></term>
+ <listitem>
+ <para>Show summary of options.</para>
+ </listitem>
+ </varlistentry>
+ <varlistentry>
+ <term><option>-v</option></term>
+ <term><option>--version</option></term>
+ <listitem>
+ <para>Show version of program.</para>
+ </listitem>
+ </varlistentry>
+ </variablelist>
+ </refsect1>
+ <refsect1 id="files">
+ <title>FILES</title>
+ <variablelist>
+ <varlistentry>
+ <term><filename>/etc/foo.conf</filename></term>
+ <listitem>
+ <para>The system-wide configuration file to control the
+ behaviour of <application>&dhpackage;</application>. See
+ <citerefentry>
+ <refentrytitle>foo.conf</refentrytitle>
+ <manvolnum>5</manvolnum>
+ </citerefentry> for further details.</para>
+ </listitem>
+ </varlistentry>
+ <varlistentry>
+ <term><filename>${HOME}/.foo.conf</filename></term>
+ <listitem>
+ <para>The per-user configuration file to control the
+ behaviour of <application>&dhpackage;</application>. See
+ <citerefentry>
+ <refentrytitle>foo.conf</refentrytitle>
+ <manvolnum>5</manvolnum>
+ </citerefentry> for further details.</para>
+ </listitem>
+ </varlistentry>
+ </variablelist>
+ </refsect1>
+ <refsect1 id="environment">
+ <title>ENVIRONMENT</title>
+ <variablelist>
+ <varlistentry>
+ <term><envar>FOO_CONF</envar></term>
+ <listitem>
+ <para>If used, the defined file is used as configuration
+ file (see also <xref linkend="files"/>).</para>
+ </listitem>
+ </varlistentry>
+ </variablelist>
+ </refsect1>
+ <refsect1 id="diagnostics">
+ <title>DIAGNOSTICS</title>
+ <para>The following diagnostics may be issued
+ on <filename class="devicefile">stderr</filename>:</para>
+ <variablelist>
+ <varlistentry>
+ <term><errortext>Bad configuration file. Exiting.</errortext></term>
+ <listitem>
+ <para>The configuration file seems to contain a broken configuration
+ line. Use the <option>--verbose</option> option, to get more info.
+ </para>
+ </listitem>
+ </varlistentry>
+ </variablelist>
+ <para><command>&dhpackage;</command> provides some return codes, that can
+ be used in scripts:</para>
+ <segmentedlist>
+ <segtitle>Code</segtitle>
+ <segtitle>Diagnostic</segtitle>
+ <seglistitem>
+ <seg><errorcode>0</errorcode></seg>
+ <seg>Program exited successfully.</seg>
+ </seglistitem>
+ <seglistitem>
+ <seg><errorcode>1</errorcode></seg>
+ <seg>The configuration file seems to be broken.</seg>
+ </seglistitem>
+ </segmentedlist>
+ </refsect1>
+ <refsect1 id="bugs">
+ <!-- Or use this section to tell about upstream BTS. -->
+ <title>BUGS</title>
+ <para>The program is currently limited to only work
+ with the <package>foobar</package> library.</para>
+ <para>The upstreams <acronym>BTS</acronym> can be found
+ at <ulink url="http://bugzilla.foo.tld"/>.</para>
+ </refsect1>
+ <refsect1 id="see_also">
+ <title>SEE ALSO</title>
+ <!-- In alpabetical order. -->
+ <para><citerefentry>
+ <refentrytitle>bar</refentrytitle>
+ <manvolnum>1</manvolnum>
+ </citerefentry>, <citerefentry>
+ <refentrytitle>baz</refentrytitle>
+ <manvolnum>1</manvolnum>
+ </citerefentry>, <citerefentry>
+ <refentrytitle>foo.conf</refentrytitle>
+ <manvolnum>5</manvolnum>
+ </citerefentry></para>
+ <para>The programs are documented fully by <citetitle>The Rise and
+ Fall of a Fooish Bar</citetitle> available via the <citerefentry>
+ <refentrytitle>info</refentrytitle>
+ <manvolnum>1</manvolnum>
+ </citerefentry> system.</para>
+ </refsect1>
+</refentry>
+
diff --git a/debian/pvr-utils.install b/debian/pvr-utils.install
new file mode 100644
index 0000000..f732a4e
--- /dev/null
+++ b/debian/pvr-utils.install
@@ -0,0 +1,19 @@
+target_arm64/hwperfbin2jsont usr/bin
+target_arm64/xeglinfo usr/bin
+target_arm64/xgles1test1 usr/bin
+target_arm64/ocl_unit_test usr/bin
+target_arm64/xgles2image usr/bin
+target_arm64/pvrdebug usr/bin
+target_arm64/xgles2test1 usr/bin
+target_arm64/xgles3test1 usr/bin
+target_arm64/pvrsrvctl usr/bin
+target_arm64/xgltest1 usr/bin
+target_arm64/pvrtld usr/bin
+target_arm64/xgltest2 usr/bin
+target_arm64/xmultiegltest usr/bin
+target_arm64/rgx_compute_test usr/bin
+target_arm64/xmultiegltest_es2 usr/bin
+target_arm64/rogue2d_fbctest usr/bin
+target_arm64/xmultitest usr/bin
+target_arm64/rogue2d_unittest usr/bin
+target_neutral/*.txt usr/share/pvr-utils
diff --git a/debian/rules b/debian/rules
new file mode 100755
index 0000000..41d4acf
--- /dev/null
+++ b/debian/rules
@@ -0,0 +1,45 @@
+#!/usr/bin/make -f
+# See debhelper(7) (uncomment to enable)
+# output every command that modifies files on the build system.
+#export DH_VERBOSE = 1
+
+
+# see FEATURE AREAS in dpkg-buildflags(1)
+#export DEB_BUILD_MAINT_OPTIONS = hardening=+all
+
+# see ENVIRONMENT in dpkg-buildflags(1)
+# package maintainers to append CFLAGS
+#export DEB_CFLAGS_MAINT_APPEND = -Wall -pedantic
+# package maintainers to append LDFLAGS
+#export DEB_LDFLAGS_MAINT_APPEND = -Wl,--as-needed
+
+
+%:
+ dh $@
+
+
+override_dh_auto_configure:
+ dh_auto_configure --
+
+override_dh_auto_build:
+ dh_auto_build
+ rm -rf $(CURDIR)/build
+ mkdir -p $(CURDIR)/build
+ cp -f $(CURDIR)/target_arm64/*.so $(CURDIR)/build
+ cp -f $(CURDIR)/target_arm64/usr/local/pvr/lib/dri/pvr_dri.so $(CURDIR)/build
+ cp -f $(CURDIR)/target_arm64/xorg.conf $(CURDIR)/build/xorg_pvr.conf
+ chmod a-x $(CURDIR)/build/*.so
+ mv -f build/libGLESv1_CM.so build/libGLESv1_CM.so.1.1.0
+ mv -f build/libGLESv2.so build/libGLESv2.so.2.0.0
+ for i in libpvrbm.so libPVRScopeServices.so libusc.so libpvr_dri_support.so libsrv_init.so libglslcompiler.so libPVROCL.so libsrv_um.so liboclcompiler.so libPVROGL_MESA.so libufwriter.so; do patchelf --set-rpath '$$ORIGIN' $(CURDIR)/build/$$i; done
+ patchelf --set-rpath '$$ORIGIN/pvr' build/libGLESv2.so.*
+ patchelf --set-rpath '$$ORIGIN/pvr' build/libGLESv1_CM.so.*
+ patchelf --set-rpath '$$ORIGIN/../../../aarch64-linux-gnu/pvr' build/pvr_drv.so
+ patchelf --set-rpath '$$ORIGIN/../pvr' build/pvr_dri.so
+
+override_dh_auto_clean:
+ rm -rf $(CURDIR)/build
+ dh_auto_clean
+
+override_dh_strip:
+ #no strip
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)
diff --git a/debian/xserver-xorg-video-pvr.dirs b/debian/xserver-xorg-video-pvr.dirs
new file mode 100644
index 0000000..e4bd627
--- /dev/null
+++ b/debian/xserver-xorg-video-pvr.dirs
@@ -0,0 +1 @@
+etc/X11/xorg.conf.d
diff --git a/debian/xserver-xorg-video-pvr.install b/debian/xserver-xorg-video-pvr.install
new file mode 100644
index 0000000..63c189c
--- /dev/null
+++ b/debian/xserver-xorg-video-pvr.install
@@ -0,0 +1,2 @@
+build/pvr_drv.so usr/lib/xorg/modules/drivers
+build/xorg_pvr.conf etc/X11/xorg.conf.d