--- rendercheck-1.3+git20100528+0d88ba2.orig/debian/watch +++ rendercheck-1.3+git20100528+0d88ba2/debian/watch @@ -0,0 +1,4 @@ +# Compulsory line, this is a version 3 file +version=3 + +http://xorg.freedesktop.org/archive/individual/app/rendercheck-(.*)\.tar\.bz2 --- rendercheck-1.3+git20100528+0d88ba2.orig/debian/changelog +++ rendercheck-1.3+git20100528+0d88ba2/debian/changelog @@ -0,0 +1,7 @@ +rendercheck (1.3+git20100528+0d88ba2-1~lucid) lucid; urgency=low + + * Initial release. (Closes: #xxxxxx) + * Checkout from git 20100528 (master branch) up to commit + 0d88ba2ebc5d31e7bb03a0628fd4027f1937c39b + + -- Robert Hooker Fri, 28 May 2010 07:23:02 -0400 --- rendercheck-1.3+git20100528+0d88ba2.orig/debian/docs +++ rendercheck-1.3+git20100528+0d88ba2/debian/docs @@ -0,0 +1 @@ +README --- rendercheck-1.3+git20100528+0d88ba2.orig/debian/control +++ rendercheck-1.3+git20100528+0d88ba2/debian/control @@ -0,0 +1,13 @@ +Source: rendercheck +Section: x11 +Priority: optional +Maintainer: Robert Hooker +Build-Depends: debhelper (>= 7), autotools-dev, pkg-config, libxext-dev, libx11-dev, libxrender-dev, xutils-dev (>= 7.5~1) +Standards-Version: 3.8.3 + +Package: rendercheck +Architecture: any +Depends: ${shlibs:Depends}, ${misc:Depends} +Description: a set of simple tools for the X Render extension. + rendercheck is a set of simple tests of the X Render extension. + It is designed for authors of Render implementations in X Servers. --- rendercheck-1.3+git20100528+0d88ba2.orig/debian/rules +++ rendercheck-1.3+git20100528+0d88ba2/debian/rules @@ -0,0 +1,95 @@ +#!/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) +ifneq ($(DEB_HOST_GNU_TYPE),$(DEB_BUILD_GNU_TYPE)) +CROSS= --build $(DEB_BUILD_GNU_TYPE) --host $(DEB_HOST_GNU_TYPE) +else +CROSS= --build $(DEB_BUILD_GNU_TYPE) +endif + +CFLAGS = -g -Wall +ifeq (,$(filter noopt,$(DEB_BUILD_OPTIONS))) + CFLAGS += -O2 +else + CFLAGS += -O0 +endif + +ifneq (,$(filter parallel=%,$(DEB_BUILD_OPTIONS))) + NUMJOBS = $(patsubst parallel=%,%,$(filter parallel=%,$(DEB_BUILD_OPTIONS))) + MAKEFLAGS += -j$(NUMJOBS) +endif + +get-orig-source: + git clone git://anongit.freedesktop.org/xorg/app/rendercheck && \ + cd rendercheck/ && autoreconf -v --install && \ + REVISION=$$(git show --pretty=format:"%h" HEAD | head -n1) && cd .. && \ + PREFIX=rendercheck_1.3+git$$(date +%Y%m%d)+$$REVISION && \ + tar --exclude=.git --exclude=.git/* --exclude=.git* --exclude=autom4te.cache \ + -cf - rendercheck | gzip -9 >$$PREFIX.orig.tar.gz && rm -rf rendercheck + +config.status: configure + dh_testdir + ./configure $(CROSS) --prefix=/usr --mandir=\$${prefix}/share/man + + +build: build-stamp + +build-stamp: config.status + dh_testdir + + $(MAKE) + + touch $@ + +clean: + dh_testdir + dh_testroot + rm -f build-stamp + + [ ! -f Makefile ] || $(MAKE) distclean + + dh_clean + +install: build + dh_testdir + dh_testroot + dh_prep + dh_installdirs + + $(MAKE) DESTDIR=$(CURDIR)/debian/rendercheck install + + +binary-indep: install + +binary-arch: install + dh_testdir + dh_testroot + dh_installchangelogs + dh_installdocs + dh_installexamples + dh_installman + dh_link + dh_strip + dh_compress + dh_fixperms + dh_installdeb + dh_shlibdeps + dh_gencontrol + dh_md5sums + dh_builddeb + +binary: binary-indep binary-arch +.PHONY: build clean binary-indep binary-arch binary install get-orig-source --- rendercheck-1.3+git20100528+0d88ba2.orig/debian/compat +++ rendercheck-1.3+git20100528+0d88ba2/debian/compat @@ -0,0 +1 @@ +7 --- rendercheck-1.3+git20100528+0d88ba2.orig/debian/copyright +++ rendercheck-1.3+git20100528+0d88ba2/debian/copyright @@ -0,0 +1,65 @@ +This package was debianized by Robert Hooker on +Fri, 28 May 2010 07:25:52 -0400. + +This original source for this package was obtained via the upstream +git branch at http://cgit.freedesktop.org/xorg/app/rendercheck + +Upstream Authors: + + Eric Anholt + +Copyright: + + Copyright © 2005 Eric Anholt + +License: +The code is covered by the MIT license. Most of it is under the common form +that just says "authors and copyright holders": + + 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. + +Some of the code is also under the MIT license but specifically mentions +Eric Anholt: + + 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 Eric Anholt not be used in + advertising or publicity pertaining to distribution of the software without + specific, written prior permission. Eric Anholt makes no + representations about the suitability of this software for any purpose. It + is provided "as is" without express or implied warranty. + + ERIC ANHOLT DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, + INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO + EVENT SHALL ERIC ANHOLT 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. + +The Debian packaging is: + + Copyright (C) 2010 Robert Hooker + based on the work Copyright (C) 2009 Eric Anholt + +and is licensed under the GPL version 3, +see `/usr/share/common-licenses/GPL-3'.