--- xbacklight-1.1.2.orig/autogen.sh +++ xbacklight-1.1.2/autogen.sh @@ -0,0 +1,13 @@ +#! /bin/sh + +srcdir=`dirname $0` +test -z "$srcdir" && srcdir=. + +ORIGDIR=`pwd` +cd $srcdir + +autoreconf -v --install || exit 1 +cd $ORIGDIR || exit $? + +$srcdir/configure --enable-maintainer-mode "$@" + --- xbacklight-1.1.2.orig/debian/rules +++ xbacklight-1.1.2/debian/rules @@ -0,0 +1,43 @@ +#!/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 (,$(filter noopt,$(DEB_BUILD_OPTIONS))) + CFLAGS += -O0 +else + CFLAGS += -O2 +endif +ifneq (,$(filter parallel=%,$(DEB_BUILD_OPTIONS))) + NUMJOBS = $(patsubst parallel=%,%,$(filter parallel=%,$(DEB_BUILD_OPTIONS))) + MAKEFLAGS += -j$(NUMJOBS) +endif + +BUILDDIR = build + +override_dh_auto_configure: + autoreconf -vfi + dh_auto_configure --builddirectory=$(BUILDDIR) -- \ + CFLAGS="$(CFLAGS)" LDFLAGS="-Wl,-z,defs" + +build build-arch build-indep binary binary-arch binary-indep: + dh $@ --builddirectory=$(BUILDDIR) + +clean: + dh $@ --builddirectory=$(BUILDDIR) + rm -f aclocal.m4 configure config.guess config.sub config.h.in + rm -f depcomp install-sh missing + find -name Makefile.in -delete --- xbacklight-1.1.2.orig/debian/control +++ xbacklight-1.1.2/debian/control @@ -0,0 +1,21 @@ +Source: xbacklight +Section: x11 +Priority: optional +Maintainer: Debian X Strike Force +Build-Depends: + debhelper (>= 7.3), + libxrandr-dev (>= 2:1.2), + libx11-dev, + pkg-config, + xutils-dev (>= 1:7.5+4), + automake, +Standards-Version: 3.9.1 +Vcs-Git: git://git.debian.org/git/pkg-xorg/app/xbacklight +Vcs-Browser: http://git.debian.org/?p=pkg-xorg/app/xbacklight.git + +Package: xbacklight +Architecture: any +Depends: ${shlibs:Depends}, ${misc:Depends} +Description: simple utility to set the backlight level + xbacklight is a simple command-line utility to set the backlight level + using the RandR 1.2 Backlight output property. --- xbacklight-1.1.2.orig/debian/watch +++ xbacklight-1.1.2/debian/watch @@ -0,0 +1,3 @@ +#git=git://anongit.freedesktop.org/xorg/app/xbacklight +version=3 +http://xorg.freedesktop.org/releases/individual/app/xbacklight-(.*)\.tar\.gz --- xbacklight-1.1.2.orig/debian/copyright +++ xbacklight-1.1.2/debian/copyright @@ -0,0 +1,24 @@ +This package was debianized by Julien Cristau on +Thu Jun 21, 2007. +It was downloaded from http://xorg.freedesktop.org/releases/individual/app/ + +Copyright © 2007 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. + --- xbacklight-1.1.2.orig/debian/changelog +++ xbacklight-1.1.2/debian/changelog @@ -0,0 +1,37 @@ +xbacklight (1.1.2-1) unstable; urgency=low + + * Rename the build directory to not include DEB_BUILD_GNU_TYPE for no + good reason. Thanks, Colin Watson! + * Refer to the Backlight property in the package description instead of the + legacy BACKLIGHT. + * New upstream release. + * Drop no longer necessary libxrender-dev build-dep. + * Update debian/copyright from COPYING. + * Pass target to dh as first argument for v8 compatibility. + * Bump Standards-Version to 3.9.1. + * Bump xutils-dev build-dep to 1:7.5+4 for util-macros 1.8. + + -- Julien Cristau Sun, 13 Feb 2011 00:14:08 +0100 + +xbacklight (1.1.1-1) unstable; urgency=low + + * Switch to debhelper 7 and dh. + * Build in a build directory. + * Run autoreconf at build time. + * New upstream release + - works with new Backlight property (closes: #563277) + - fixes manpage typo (closes: #509306) + * Drop XS- prefix from Vcs-* control fields. + * Allow parallel builds, parse space-separated DEB_BUILD_OPTIONS. + * Bump Standards-Version to 3.8.3. + * Remove myself from Uploaders, I'm not maintaining this. + * Remove menu entry. xbacklight is not particularly useful without a + terminal or outside of a script. + + -- Julien Cristau Mon, 04 Jan 2010 18:32:33 +0000 + +xbacklight (1.1-1) unstable; urgency=low + + * Initial release. + + -- Julien Cristau Thu, 21 Jun 2007 14:34:22 +0100 --- xbacklight-1.1.2.orig/debian/compat +++ xbacklight-1.1.2/debian/compat @@ -0,0 +1 @@ +7