first commit

This commit is contained in:
Your Name
2026-02-07 20:22:48 +08:00
commit 1b9711d5e4
2270 changed files with 805872 additions and 0 deletions

View File

@@ -0,0 +1,22 @@
libdri2 (1.0.0~git20120510+26fee2e-0ubuntu2) raring; urgency=low
* Enable dri2-utils package on armhf only. The test utility is
incompatible with the new libdrm_nouveau API, hence currently can only
be built on armhf with libdrm_omap.
-- Dmitrijs Ledkovs <dmitrij.ledkov@ubuntu.com> Sat, 24 Nov 2012 01:36:44 +0000
libdri2 (1.0.0~git20120510+26fee2e-0ubuntu1) quantal; urgency=low
* Initial release (LP: #1040611)
* debian/patches/force-dependency-nouveau1.patch:
- Force dependency with the older libdrm_nouveau1 lib
* debian/patches/moving-libdri2test-to-static.patch:
- Avoid installing libdrm2_test as a shared library, as it's needed only
by dri2test
* debian/patches/names-pitches-array-multiplanar-yuv.patch
- Change DRI2Buffer to make names/pitches into an array to deal with
multiplanar yuv (needed by the PVR SGX OMAP4 driver).
-- Ricardo Salveti de Araujo <ricardo.salveti@linaro.org> Thu, 23 Aug 2012 04:43:40 -0300

View File

@@ -0,0 +1 @@
9

View File

@@ -0,0 +1,43 @@
Source: libdri2
Section: libs
Priority: optional
Maintainer: Ubuntu Developers <ubuntu-devel-discuss@lists.ubuntu.com>
Build-Depends: debhelper (>= 9),
dh-autoreconf,
libdrm-dev (>= 2.4.32),
libxext-dev,
pkg-config,
x11proto-xext-dev,
x11proto-dri2-dev,
libxfixes-dev,
xutils-dev
Standards-Version: 3.9.3
Package: libdri2-dev
Section: libdevel
Architecture: any
Depends: ${misc:Depends},
libdri2-1 (= ${binary:Version})
Description: library for the DRI2 extension to the X Window System -- development files
This package provides the development environment for libdri2.
Package: libdri2-1
Section: libs
Architecture: any
Multi-Arch: same
Pre-Depends: ${misc:Pre-Depends}
Depends: ${misc:Depends},
${shlibs:Depends}
Description: library for the DRI2 extension to the X Window System -- runtime
This package provides the runtime environment for libdri2.
Package: dri2-utils
Section: misc
Priority: extra
Architecture: armhf
Depends: ${misc:Depends},
${shlibs:Depends},
libdri2-1 (= ${binary:Version})
Description: Tests utilities for the DRI2 extension to the X Window System -- testing tools
This package provides the testing tools for the libdri2 package.

View File

@@ -0,0 +1,41 @@
Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
Upstream-Contact: Rob Clark <rob@ti.com>
Source: https://github.com/robclark/libdri2.git
Files: *
Copyright: 2005-2008, Red Hat, Inc.
License: Expat
Files: src/list.h
Copyright: 2010, Intel Corporation
2010, Francisco Jerez <currojerez@riseup.net>
License: Expat
Files: test/*
Copyright: 2011, Texas Instruments, Inc
License: Expat
Files: debian/*
Copyright: 2012, Linaro Limited
2012, Texas Instruments, Inc
License: Expat
License: Expat
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.

View File

@@ -0,0 +1 @@
usr/bin/*

View File

@@ -0,0 +1 @@
debian/dri2test.1

View File

@@ -0,0 +1,30 @@
.TH DRI2TEST 1 "August 23, 2012"
.\" Please adjust this date whenever revising the manpage.
.\"
.\" Some roff macros, for reference:
.\" .nh disable hyphenation
.\" .hy enable hyphenation
.\" .ad l left justify
.\" .ad b justify to both left and right margins
.\" .nf disable filling
.\" .fi enable filling
.\" .br insert line break
.\" .sp <n> insert n+1 empty lines
.\" for manpage-specific macros, see man(7)
.SH NAME
dri2test \- simple program to test the dri2 support
.SH SYNOPSIS
.B dri2test
.SH DESCRIPTION
.PP
.\" TeX users may be more comfortable with the \fB<whatever>\fP and
.\" \fI<whatever>\fP escape sequences to invode bold face and italics,
.\" respectively.
\fBdri2test\fP is a simple program to test the dri2 support by creating a X11 window,
connecting to the dri2 interface, and calling a set of basic functions to validate the
dri2 support at the system.
.SH AUTHOR
dri2test was written by Rob Clark <rob@ti.com>.
.PP
This manual page was written by Ricardo Salveti de Araujo <ricardo.salveti@linaro.org>,
for the Debian project (and may be used by others).

View File

@@ -0,0 +1 @@
usr/lib/*/libdri2.so.*

View File

@@ -0,0 +1,16 @@
libdri2.so.1 libdri2-1 #MINVER#
DRI2Authenticate@Base 1.0.0~git20120510+26fee2e
DRI2Connect@Base 1.0.0~git20120510+26fee2e
DRI2CopyRegion@Base 1.0.0~git20120510+26fee2e
DRI2CreateDrawable@Base 1.0.0~git20120510+26fee2e
DRI2DestroyDrawable@Base 1.0.0~git20120510+26fee2e
DRI2GetBuffers@Base 1.0.0~git20120510+26fee2e
DRI2GetBuffersWithFormat@Base 1.0.0~git20120510+26fee2e
DRI2GetMSC@Base 1.0.0~git20120510+26fee2e
DRI2InitDisplay@Base 1.0.0~git20120510+26fee2e
DRI2QueryExtension@Base 1.0.0~git20120510+26fee2e
DRI2QueryVersion@Base 1.0.0~git20120510+26fee2e
DRI2SwapBuffers@Base 1.0.0~git20120510+26fee2e
DRI2SwapInterval@Base 1.0.0~git20120510+26fee2e
DRI2WaitMSC@Base 1.0.0~git20120510+26fee2e
DRI2WaitSBC@Base 1.0.0~git20120510+26fee2e

View File

@@ -0,0 +1,4 @@
usr/include/*
usr/lib/*/lib*.a
usr/lib/*/lib*.so
usr/lib/*/pkgconfig/*

View File

@@ -0,0 +1,33 @@
#!/usr/bin/make -f
#export DH_VERBOSE=1
deb_source := $(shell dpkg-parsechangelog | sed -n 's/^Source: //p')
deb_version := $(shell dpkg-parsechangelog | sed -n 's/^Version: //p')
upstream_version := $(shell echo '$(deb_version)' | sed 's/.*://; s/-[^-]*$$//')
git_rev := $(shell echo '$(upstream_version)' | sed 's/.*+//')
get-orig-source:
rm -rf $(deb_source)-$(upstream_version)
rm -f $(deb_source)-$(upstream_version).orig.tar.gz
git clone https://github.com/robclark/libdri2.git $(deb_source)-$(upstream_version)
cd $(deb_source)-$(upstream_version) && git archive \
--format=tar \
--prefix=$(deb_source)-$(upstream_version)/ \
$(git_rev) \
| gzip >../$(deb_source)_$(upstream_version).orig.tar.gz
rm -rf $(deb_source)-$(upstream_version)
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 --fail-missing
%:
dh $@ --with autoreconf --builddirectory=build/

View File

@@ -0,0 +1 @@
3.0 (quilt)