From 2a4c52397664b394f2437bd68938061f80d7cd18 Mon Sep 17 00:00:00 2001 From: John Fredriksson Date: Tue, 27 Sep 2011 14:36:54 +0000 Subject: Add debian packaging files. Add debian directory with rules for how to make debian packages. --- debian/changelog | 11 ++++++ debian/compat | 1 + debian/control | 20 +++++++++++ debian/copyright | 29 ++++++++++++++++ debian/rules | 102 +++++++++++++++++++++++++++++++++++++++++++++++++++++++ 5 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 100755 debian/rules diff --git a/debian/changelog b/debian/changelog new file mode 100644 index 0000000..9f67f77 --- /dev/null +++ b/debian/changelog @@ -0,0 +1,11 @@ +xf86-video-mali (1.0-2) natty; urgency=low + + * Corrected y-offset for b2r2 operations. + + -- John Fredriksson Fri, 14 Oct 2011 19:53:55 +0200 + +xf86-video-mali (1.0-1) unstable; urgency=low + + * Initial release + + -- John Fredriksson Mon, 21 Mar 2011 17:00:03 +0100 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..1a8ca83 --- /dev/null +++ b/debian/control @@ -0,0 +1,20 @@ +Source: xf86-video-mali +Section: x11 +Priority: optional +Maintainer: packages@igloocommunity.org +Build-Depends: gawk, debhelper (>= 5.0.0), quilt, pkg-config, xserver-xorg-dev (>= 2:1.10), x11proto-core-dev, x11proto-fonts-dev, x11proto-randr-dev, x11proto-render-dev, x11proto-video-dev, x11proto-dri2-dev, dpkg-dev (>= 1.14.17), xutils-dev (>= 1:7.4+4), b2r2lib-dev, automake, libdrm-dev +Standards-Version: 3.8.0 + +Package: xf86-video-mali +Architecture: armel +Depends: ${shlibs:Depends}, ${misc:Depends}, ${xviddriver:Depends} +Provides: ${xviddriver:Provides} +Description: X.Org X server -- STE chipsets display driver + This package provides the driver for the STE graphic devices + +Package: xf86-video-mali-dbg +Architecture: armel +Depends: ${shlibs:Depends}, ${misc:Depends}, ${xviddriver:Depends}, xf86-video-mali (= ${binary:Version}) +Provides: ${xviddriver:Provides} +Description: X.Org X server -- STE chipsets display driver + This package provides the driver for the STE graphic devices diff --git a/debian/copyright b/debian/copyright new file mode 100644 index 0000000..1b386c6 --- /dev/null +++ b/debian/copyright @@ -0,0 +1,29 @@ +Upstream Author(s): + + ARM Limited + +Copyright: + + Copyright (C) 2010 ARM Limited. All rights reserved. + Copyright (C) ST-Ericsson SA 2011 + +License: + + 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/rules b/debian/rules new file mode 100755 index 0000000..d999a07 --- /dev/null +++ b/debian/rules @@ -0,0 +1,102 @@ +#!/usr/bin/make -f +# -*- makefile -*- +# Sample debian/rules that uses debhelper. +# This file was originally written by Joey Hess and Craig Small. +# As a special exception, when this file is copied by dh-make into a +# dh-make output file, you may use that output file without restriction. +# This special exception was added by Craig Small in version 0.37 of dh-make. + +# Uncomment this to turn on verbose mode. +#export DH_VERBOSE=1 + + +# These are used for cross-compiling and for saving the configure script +# from having to guess our platform (since we know it already) +DEB_HOST_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE) +DEB_BUILD_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE) + +CFLAGS = -Wall -g +ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS))) + CFLAGS += -O0 +else + CFLAGS += -O2 +endif + +ifneq (,$(findstring debug,$(DEB_BUILD_OPTIONS))) + CFLAGS += -DDEBUG +endif + +config.status: + dh_testdir + # Add here commands to configure the package. + #./build.sh --host=$(DEB_HOST_GNU_TYPE) --build=$(DEB_BUILD_GNU_TYPE) --prefix=/usr --mandir=\$${prefix}/share/man --infodir=\$${prefix}/share/info CFLAGS="$(CFLAGS)" #LDFLAGS="-Wl,-z,defs" + +build: build-stamp + +build-stamp: config.status + dh_testdir + + # Add here commands to compile the package. + ./build.sh + # $(MAKE) + #docbook-to-man debian/xf86-video-mali.sgml > xf86-video-mali.1 + + touch $@ + +clean: + dh_testdir + dh_testroot + rm -f build-stamp + + # Add here commands to clean up after the build process. + #if test -f config.status ; then $(MAKE) distclean ; fi + #rm -f config.sub config.guess + + dh_clean + +install: build + dh_testdir + dh_testroot + dh_clean -k + dh_installdirs + + $(MAKE) DESTDIR=$(CURDIR)/debian/xf86-video-mali install + + +# Build architecture-independent files here. +binary-indep: build install +# We have nothing to do by default. + +# Build architecture-dependent files here. +binary-arch: build install + dh_testdir + dh_testroot +# dh_installchangelogs ChangeLog + dh_installdocs + dh_installexamples +# dh_install +# dh_installmenu +# dh_installdebconf +# dh_installlogrotate +# dh_installemacsen +# dh_installpam +# dh_installmime +# dh_python +# dh_installinit +# dh_installcron +# dh_installinfo +# dh_installman + dh_link + dh_strip --dbg-package=xf86-video-mali + dh_compress + dh_fixperms +# dh_perl +# dh_makeshlibs + dh_installdeb + dh_shlibdeps + dh_gencontrol + dh_md5sums + dh_builddeb + +binary: binary-indep binary-arch +.PHONY: build clean binary-indep binary-arch binary install -- cgit v1.2.3