mirror of
https://salsa.debian.org/xorg-team/lib/pixman
synced 2026-01-08 04:11:50 +00:00
Add Debian packaging.
This commit is contained in:
parent
808e2de3a6
commit
7bd29202ea
5
debian/changelog
vendored
Normal file
5
debian/changelog
vendored
Normal file
@ -0,0 +1,5 @@
|
||||
pixman (0.9.0~git20070524-1) UNRELEASED; urgency=low
|
||||
|
||||
* First upload.
|
||||
|
||||
-- Julien Cristau <jcristau@debian.org> Fri, 18 May 2007 22:23:43 +0200
|
||||
1
debian/compat
vendored
Normal file
1
debian/compat
vendored
Normal file
@ -0,0 +1 @@
|
||||
5
|
||||
35
debian/control
vendored
Normal file
35
debian/control
vendored
Normal file
@ -0,0 +1,35 @@
|
||||
Source: pixman
|
||||
Section: devel
|
||||
Priority: optional
|
||||
Maintainer: Debian X Strike Force <debian-x@lists.debian.org>
|
||||
Uploaders: Julien Cristau <jcristau@debian.org>
|
||||
Build-Depends: quilt, debhelper
|
||||
Standards-Version: 3.7.2
|
||||
|
||||
Package: libpixman0
|
||||
Section: libs
|
||||
Architecture: any
|
||||
Depends: ${shlibs:Depends}
|
||||
Description: pixel-manipulation library for X and cairo
|
||||
A library for manipulating pixel regions -- a set of Y-X banded
|
||||
rectangles, image compositing using the Porter/Duff model
|
||||
and implicit mask generation for geometric primitives including
|
||||
trapezoids, triangles, and rectangles.
|
||||
|
||||
Package: libpixman0-dbg
|
||||
Section: libdevel
|
||||
Priority: extra
|
||||
Architecture: any
|
||||
Depends: libpixman0 (= ${binary:Version})
|
||||
Description: pixel-manipulation library for X and cairo (debugging symbols)
|
||||
Debugging symbols for the Cairo pixel manipulation library. This is
|
||||
needed to debug programs linked against libpixman0.
|
||||
|
||||
Package: libpixman-dev
|
||||
Section: libdevel
|
||||
Architecture: any
|
||||
Depends: libpixman0 (= ${binary:Version})
|
||||
Conflicts: libpixman1-dev
|
||||
Description: pixel-manipulation library for X and cairo (development files)
|
||||
Development libraries, header files and documentation needed by
|
||||
programs that want to compile with the Cairo pixman library.
|
||||
71
debian/copyright
vendored
Normal file
71
debian/copyright
vendored
Normal file
@ -0,0 +1,71 @@
|
||||
Debian packaging by Julien Cristau <jcristau@debian.org>, 18 May 2007.
|
||||
Downloaded from git://anongit.freedesktop.org/git/pixman.
|
||||
|
||||
Copyright © 2000 Keith Packard, member of The XFree86 Project, Inc.
|
||||
2005 Lars Knoll & Zack Rusin, Trolltech
|
||||
Copyright © 2000 SuSE, Inc.
|
||||
Copyright © 2007 Red Hat, Inc.
|
||||
Copyright © 1998 Keith Packard
|
||||
|
||||
Permission to use, copy, modify, distribute, and sell this software and its
|
||||
documentation for any purpose is hereby granted without fee, provided that
|
||||
the above copyright notice appear in all copies and that both that
|
||||
copyright notice and this permission notice appear in supporting
|
||||
documentation, and that the name of the copyright holders not be used in
|
||||
advertising or publicity pertaining to distribution of the software without
|
||||
specific, written prior permission. The copyright holders make no
|
||||
representations about the suitability of this software for any purpose. It
|
||||
is provided "as is" without express or implied warranty.
|
||||
|
||||
THE COPYRIGHT HOLDERS DISCLAIM ALL WARRANTIES WITH REGARD TO THIS
|
||||
SOFTWARE, INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND
|
||||
FITNESS, IN NO EVENT SHALL THE COPYRIGHT HOLDERS BE LIABLE FOR ANY
|
||||
SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
|
||||
WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN
|
||||
AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING
|
||||
OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS
|
||||
SOFTWARE.
|
||||
|
||||
Copyright 1987, 1988, 1989, 1998 The Open Group
|
||||
|
||||
Permission to use, copy, modify, distribute, and sell this software and its
|
||||
documentation for any purpose is hereby granted without fee, provided that
|
||||
the above copyright notice appear in all copies and that both that
|
||||
copyright notice and this permission notice appear in supporting
|
||||
documentation.
|
||||
|
||||
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
|
||||
OPEN GROUP 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.
|
||||
|
||||
Except as contained in this notice, the name of The Open Group shall not be
|
||||
used in advertising or otherwise to promote the sale, use or other dealings
|
||||
in this Software without prior written authorization from The Open Group.
|
||||
|
||||
Copyright 1987, 1988, 1989 by
|
||||
Digital Equipment Corporation, Maynard, Massachusetts.
|
||||
|
||||
All Rights Reserved
|
||||
|
||||
Permission to use, copy, modify, and distribute this software and its
|
||||
documentation for any purpose and without fee is hereby granted,
|
||||
provided that the above copyright notice appear in all copies and that
|
||||
both that copyright notice and this permission notice appear in
|
||||
supporting documentation, and that the name of Digital not be
|
||||
used in advertising or publicity pertaining to distribution of the
|
||||
software without specific, written prior permission.
|
||||
|
||||
DIGITAL DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, INCLUDING
|
||||
ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO EVENT SHALL
|
||||
DIGITAL BE LIABLE FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR
|
||||
ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS,
|
||||
WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION,
|
||||
ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS
|
||||
SOFTWARE.
|
||||
|
||||
4
debian/libpixman-dev.install
vendored
Normal file
4
debian/libpixman-dev.install
vendored
Normal file
@ -0,0 +1,4 @@
|
||||
usr/lib/libpixman.so
|
||||
usr/lib/libpixman.a
|
||||
usr/lib/pkgconfig
|
||||
usr/include/pixman
|
||||
1
debian/libpixman0.install
vendored
Normal file
1
debian/libpixman0.install
vendored
Normal file
@ -0,0 +1 @@
|
||||
usr/lib/libpixman.so.*
|
||||
82
debian/rules
vendored
Executable file
82
debian/rules
vendored
Executable file
@ -0,0 +1,82 @@
|
||||
#!/usr/bin/make -f
|
||||
|
||||
PACKAGE = libpixman0
|
||||
|
||||
include /usr/share/quilt/quilt.make
|
||||
|
||||
CFLAGS = -Wall -g
|
||||
ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS)))
|
||||
CFLAGS += -O0
|
||||
else
|
||||
CFLAGS += -O2
|
||||
endif
|
||||
ifeq (,$(findstring nostrip,$(DEB_BUILD_OPTIONS)))
|
||||
INSTALL_PROGRAM += -s
|
||||
endif
|
||||
|
||||
DEB_HOST_ARCH ?= $(shell dpkg-architecture -qDEB_HOST_ARCH)
|
||||
DEB_HOST_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE)
|
||||
DEB_BUILD_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE)
|
||||
ifeq ($(DEB_BUILD_GNU_TYPE), $(DEB_HOST_GNU_TYPE))
|
||||
confflags += --build=$(DEB_HOST_GNU_TYPE)
|
||||
else
|
||||
confflags += --build=$(DEB_BUILD_GNU_TYPE) --host=$(DEB_HOST_GNU_TYPE)
|
||||
endif
|
||||
|
||||
build: patch build-stamp
|
||||
build-stamp:
|
||||
dh_testdir
|
||||
test -d obj-$(DEB_BUILD_GNU_TYPE) || mkdir obj-$(DEB_BUILD_GNU_TYPE)
|
||||
cd obj-$(DEB_BUILD_GNU_TYPE) && \
|
||||
../configure --prefix=/usr --mandir=\$${prefix}/share/man \
|
||||
--infodir=\$${prefix}/share/info $(confflags) \
|
||||
CFLAGS="$(CFLAGS)"
|
||||
cd obj-$(DEB_BUILD_GNU_TYPE) && $(MAKE)
|
||||
|
||||
touch build-stamp
|
||||
|
||||
clean: unpatch
|
||||
dh_testdir
|
||||
dh_testroot
|
||||
rm -f build-stamp
|
||||
|
||||
rm -f config.cache config.log config.status
|
||||
rm -f */config.cache */config.log */config.status
|
||||
rm -f conftest* */conftest*
|
||||
rm -rf autom4te.cache */autom4te.cache
|
||||
rm -rf obj-*
|
||||
|
||||
dh_clean
|
||||
|
||||
install: build
|
||||
dh_testdir
|
||||
dh_testroot
|
||||
dh_clean -k
|
||||
dh_installdirs
|
||||
|
||||
cd obj-$(DEB_BUILD_GNU_TYPE) && $(MAKE) DESTDIR=$(CURDIR)/debian/tmp install
|
||||
|
||||
# Install architecture-dependent files here.
|
||||
binary-arch: build install
|
||||
dh_testdir
|
||||
dh_testroot
|
||||
|
||||
dh_installdocs
|
||||
dh_install --sourcedir=debian/tmp --list-missing
|
||||
dh_installchangelogs
|
||||
dh_link
|
||||
dh_strip --dbg-package=$(PACKAGE)-dbg
|
||||
dh_compress
|
||||
dh_fixperms
|
||||
dh_makeshlibs
|
||||
dh_shlibdeps
|
||||
dh_installdeb
|
||||
dh_gencontrol
|
||||
dh_md5sums
|
||||
dh_builddeb
|
||||
|
||||
binary-indep: build install
|
||||
# Nothing to do
|
||||
|
||||
binary: binary-indep binary-arch
|
||||
.PHONY: build clean binary-indep binary-arch binary install
|
||||
Loading…
Reference in New Issue
Block a user