--- xbacklight-1.2.3.orig/ChangeLog +++ xbacklight-1.2.3/ChangeLog @@ -1,173 +1,3 @@ -commit 76de9d7a0faeb74b7d5d8b5dfcf632c6c1eae879 -Author: Alan Coopersmith -Date: Sun Jul 14 11:25:03 2019 -0700 - - xbacklight 1.2.3 - - Signed-off-by: Alan Coopersmith - -commit 5172321febbd76a55f32c859996d8923333da3a1 -Author: Alan Coopersmith -Date: Sun Jun 9 13:23:06 2019 -0700 - - atof_or_die: Also die if nothing was converted - - Needed on Solaris to catch errors with strings that have no numbers - - Signed-off-by: Alan Coopersmith - -commit 92de87f30c2fd25245e3e345633fe497665b5448 -Author: Roberto Ricci -Date: Sun Feb 11 17:12:14 2018 +0100 - - exit if conv. from string to double fails - - atof(3), whose return value is undefined on error, is used to parse - command line arguments, leading to undefined beavior if something else - than a number is specified. - this patch uses strtod(3) and exits on error. - - Signed-off-by: Roberto Ricci - Signed-off-by: Alan Coopersmith - -commit ce6001abfc93c8309fd9ece97e0f8783dd64f346 -Author: Roman Donchenko -Date: Wed Apr 3 00:09:20 2013 +0400 - - Properly round the new brightness value - - Previously, it was always rounded down, which meant that -dec X would - result in a bigger change than -inc X for the same X if rounding took place. - - Signed-off-by: Roman Donchenko - Signed-off-by: Alan Coopersmith - -commit 31d4c5d6c10d1547d0031a36ed7c57b78d048fea -Author: Alan Coopersmith -Date: Wed Nov 21 16:58:46 2018 -0800 - - Update configure.ac bug URL for gitlab migration - - Signed-off-by: Alan Coopersmith - -commit 12274b4d4b3c76e90e9417efb1c7b2f39fc55e7a -Author: Alan Coopersmith -Date: Fri Nov 16 21:09:45 2018 -0800 - - Update README for gitlab migration - - Signed-off-by: Alan Coopersmith - -commit 8709d1efd4b8131ddc0a04229bc148a6f473d6f0 -Author: Alan Coopersmith -Date: Fri Mar 9 17:35:30 2018 -0800 - - xbacklight 1.2.2 - - Signed-off-by: Alan Coopersmith - -commit 67f8af194622507beeba0699ed13c9376303d293 -Author: Mihail Konev -Date: Thu Jan 26 14:00:20 2017 +1000 - - autogen: add default patch prefix - - Signed-off-by: Mihail Konev - -commit d4ba66408b6498414bb019a248bad39a1b8b7795 -Author: Emil Velikov -Date: Mon Mar 9 12:00:52 2015 +0000 - - autogen.sh: use quoted string variables - - Place quotes around the $srcdir, $ORIGDIR and $0 variables to prevent - fall-outs, when they contain space. - - Signed-off-by: Emil Velikov - Reviewed-by: Peter Hutterer - Signed-off-by: Peter Hutterer - -commit f74c4af2b723523d94519d81fa45d5aa825195ec -Author: Peter Hutterer -Date: Tue Jan 24 10:32:07 2017 +1000 - - autogen.sh: use exec instead of waiting for configure to finish - - Syncs the invocation of configure with the one from the server. - - Signed-off-by: Peter Hutterer - Reviewed-by: Emil Velikov - -commit 25f2612062e733b1f7eb4bc2ccedf653ec6f052a -Author: Nils Schneider -Date: Wed Nov 4 18:03:25 2015 +0100 - - Use current output configuration - - Do not trigger re-enumerating output devices when changing or querying - the backlight. - - Re-enumerating output devices may stall Xorg at least on Intel GPUs when - EDID is unresponsive or contains bogus data (due to retries). When - working with the backlight it is safe to assume that a monitor capable - of setting its backlight is currently connected. - - Signed-off-by: Nils Schneider - Reviewed-by: Hans de Goede - Signed-off-by: Hans de Goede - -commit f6277d4bf39de12c43a5dfb6db0de8e137ea7071 -Author: Nils Schneider -Date: Mon Sep 28 15:20:30 2015 +0200 - - Use double instead of int for value - - Modern displays allow for fine grained brightness settings. For example, - my laptop allows for 852 brightness steps. In some situations I find it - useful to set the brightness below 1 percent (the minimum possible when - using integers). - - This patch makes xbacklight use a double instead so lower brightness - values like 0.12 are possible. - - Signed-off-by: Nils Schneider - Reviewed-by: Hans de Goede - Signed-off-by: Hans de Goede - -commit 7db4876cdeaa5d25cb857bead7153ef503e993d6 -Author: Alan Coopersmith -Date: Mon Jun 2 22:09:32 2014 -0700 - - autogen.sh: Honor NOCONFIGURE=1 - - See http://people.gnome.org/~walters/docs/build-api.txt - - Signed-off-by: Alan Coopersmith - -commit af78be654ec08e7e651ac6c06de4fbc6dc89fc27 -Author: Alan Coopersmith -Date: Mon Jun 2 22:09:32 2014 -0700 - - configure: Drop AM_MAINTAINER_MODE - - Signed-off-by: Alan Coopersmith - -commit b2a08484343f0ae9b50309d3f69eeb0931223f14 -Author: Alan Coopersmith -Date: Mon Nov 25 22:40:43 2013 -0800 - - Add -version option to print program version - - Signed-off-by: Alan Coopersmith - -commit 4080fb788adba0a851aff29b4dc4f5c71bf4b279 -Author: Alan Coopersmith -Date: Mon Nov 25 22:37:45 2013 -0800 - - Print which option was in error along with usage message - - Signed-off-by: Alan Coopersmith - commit 8e0f47c1971f17ac37c89fb49a8f1807d25923a5 Author: Matt Turner Date: Mon Oct 7 20:43:34 2013 -0700 --- xbacklight-1.2.3.orig/autogen.sh +++ xbacklight-1.2.3/autogen.sh @@ -0,0 +1,17 @@ +#! /bin/sh + +srcdir=`dirname "$0"` +test -z "$srcdir" && srcdir=. + +ORIGDIR=`pwd` +cd "$srcdir" + +autoreconf -v --install || exit 1 +cd "$ORIGDIR" || exit $? + +git config --local --get format.subjectPrefix >/dev/null 2>&1 || + git config --local format.subjectPrefix "PATCH app/xbacklight" + +if test -z "$NOCONFIGURE"; then + exec "$srcdir"/configure "$@" +fi --- xbacklight-1.2.3.orig/debian/changelog +++ xbacklight-1.2.3/debian/changelog @@ -0,0 +1,80 @@ +xbacklight (1.2.3-1) unstable; urgency=medium + + [ Julien Cristau ] + * Switch all xorg.freedesktop.org URLs in packaging to https. + * Update Vcs-* URLs to use https. + + [ Debian Janitor ] + * Remove constraints unnecessary since buster (oldstable): + + Build-Depends: Drop versioned constraint on xutils-dev. + * Bump debhelper from deprecated 7 to 13. + * Set debhelper-compat version in Build-Depends. + * Update Vcs-* headers from URL redirect. + * Use canonical URL in Vcs-Git. + + [ Timo Aaltonen ] + * New upstream release. + * upstream: Add signing-key.asc. + + [ Andreas Tille ] + * Fix watch file + * Add Homepage + * d/rules: Drop boilerplate claiming this is an example + * DEP5 + * Add debian/gbp.conf to declare non-default branch names + * Do not Build-Depend on outdated packages + (s/libxcb-util0-dev/libxcb-util-dev/, s/pkg-config/pkgconf/) + * Standards-Version: 4.7.0 (routine-update) + * Rules-Requires-Root: no (routine-update) + * Rely on pre-initialized dpkg-architecture variables. + * Set hardening options + * Add missing items in SYNOPSIS of manpage + Closes: #825274 + + -- Timo Aaltonen Fri, 06 Sep 2024 11:11:07 +0300 + +xbacklight (1.2.1-1) unstable; urgency=medium + + * New upstream release (closes: #716684) + - ported from Xlib to xcb + * Disable silent build rules. + + -- Julien Cristau Sat, 12 Jul 2014 19:04:26 +0200 + +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.2.3.orig/debian/control +++ xbacklight-1.2.3/debian/control @@ -0,0 +1,24 @@ +Source: xbacklight +Section: x11 +Priority: optional +Maintainer: Debian X Strike Force +Build-Depends: + debhelper-compat (= 13), + libxcb1-dev, + libxcb-randr0-dev, + libxcb-util-dev, + pkgconf, + xutils-dev, + automake, +Standards-Version: 4.7.0 +Vcs-Git: https://salsa.debian.org/xorg-team/app/xbacklight.git +Vcs-Browser: https://salsa.debian.org/xorg-team/app/xbacklight +Homepage: https://gitlab.freedesktop.org/xorg/app/xbacklight +Rules-Requires-Root: no + +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.2.3.orig/debian/copyright +++ xbacklight-1.2.3/debian/copyright @@ -0,0 +1,31 @@ +Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ +Upstream-Name: xbacklight +Source: https://xorg.freedesktop.org/releases/individual/app/ + +Files: * +Copyright: 2007-2019 Keith Packard +License: MIT + +Files: debian/* +Copyright: 2007-2016 Julien Cristau + 2024 Andreas Tille +License: MIT + +License: MIT + 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.2.3.orig/debian/gbp.conf +++ xbacklight-1.2.3/debian/gbp.conf @@ -0,0 +1,3 @@ +[DEFAULT] +upstream-branch = upstream-unstable +debian-branch = debian-unstable --- xbacklight-1.2.3.orig/debian/patches/manpage.patch +++ xbacklight-1.2.3/debian/patches/manpage.patch @@ -0,0 +1,20 @@ +Author: Andreas Tille +Last-Update: Mon, 19 Aug 2024 09:48:10 +0200 +Bug-Debian: https://bugs.debian.org/825274 + The original bug report is also asking for options -v and --version + However, this is no problem of the manpage but style of the code + thus closing the bug report with this patch +Description: Add missing items in SYNOPSIS +Forwarded: https://gitlab.freedesktop.org/xorg/app/xbacklight/-/issues/8 + +--- a/man/xbacklight.man ++++ b/man/xbacklight.man +@@ -29,6 +29,8 @@ xbacklight \- adjust backlight brightnes + [\-set percent] + [\-inc percent] + [\-dec percent] ++[\-time milliseconds] ++[\-steps number] + .SH DESCRIPTION + .I Xbacklight + is used to adjust the backlight brightness where supported. It finds all --- xbacklight-1.2.3.orig/debian/patches/series +++ xbacklight-1.2.3/debian/patches/series @@ -0,0 +1 @@ +manpage.patch --- xbacklight-1.2.3.orig/debian/rules +++ xbacklight-1.2.3/debian/rules @@ -0,0 +1,39 @@ +#!/usr/bin/make -f + +# Uncomment this to turn on verbose mode. +#export DH_VERBOSE=1 + +export DEB_BUILD_MAINT_OPTIONS=hardening=+all + +# These are used for cross-compiling and for saving the configure script +# from having to guess our platform (since we know it already) +include /usr/share/dpkg/architecture.mk + +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) -- \ + --disable-silent-rules \ + 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.2.3.orig/debian/upstream/signing-key.asc +++ xbacklight-1.2.3/debian/upstream/signing-key.asc @@ -0,0 +1,61 @@ +-----BEGIN PGP PUBLIC KEY BLOCK----- + +mQGiBEab+moRBACDH5yKqS3wcc5bdxY7PBNuwKvF5TKMfagmSvuRDtZjjIIWaA/n +Z1KboV9Gq5g7kP7+Kfu+Qgd8u65eVsWwmPW10fXvj3aCU53glx2EdGdrHcgiyH2g +EQfPiyBw+trIppWFRV0IDXSLMA1FNC92t2nSG/VFHaPTVwcgkIRSfcXDvwCglGdE +a6f4uLqoNHP+m4yYnzapFuMD/R4+2AJDAvEWKDdYCGZzlawjAmmWyXrmT7/C/mx9 +8qUR473l4buXjHgDkkXXlHqdzil1vK85PhrKzNJDCCmlHUJNz+QwiAMOLwpD+kwV +Pb57RG7y+a5JQ5+jtVw4RlUxZIk/wj2An9YBO3A5vR7PdjM32ZJCN2+aM4dYfNzQ +xQKTA/47icvBaBVTl9rztjg2pd2Aqpc1P/GsIYLGj7XjnnJvGAENBHSH1QjpZMJG +CTS9oJ+B0/wrIr+pA+MdFgYAb6ojMQJOO6UChjWWSGjMFcs/CeXhxlLBido3DtAE +TbNTwO6OEfAvdosvTdhJFnwvZlJ+zZGGy5CrF2Fd9PUe9tmASbQuQWxhbiBDb29w +ZXJzbWl0aCA8YWxhbi5jb29wZXJzbWl0aEBvcmFjbGUuY29tPoiCBBMRCgBCAhsD +BgsJCAcDAgYVCAIJCgsEFgIDAQIeAQIXgAIZARYhBEoZPAbTXnxnD6TvC6L7nggf +LRMOBQJkQs2eBQknDNS0AAoJEKL7nggfLRMO1esAnR4FVD60BpDY/bJp5RC1VXhO +Vlo4AKCJgsQeVeGLxDlMuhAmbcCkOjafqb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amh1jSgliZwuk9m7V7Wgxx+nBJawpWDX/eKLObE +rfDwQ4dfOFvjbXLQMmNnQNaUGIWLPP3l8GuBOHMq60Bu+TPgh627vUntL5REQEQq +TXIzWC6U10QsDblLwIvdOVSdGF5xl/N1myXzSKvrsZwWtoFc8G9v9hcCjhtN1sm9 +b7Ojc51iZXvcetcvPy5RA6AUW3yEExaedUdLnvIF9sjFYIfJWFVYh2AgavnGre6f +F+NV2v3zfx3wRT7H9//m4YIDYJmgZgyQccXegTwfGBIq3osAAwYH/1FiMUMMES5I +lz2nDqId+DCWECAU6wgvIFRcXrZWxDxB+ZrnmTCXoAD0xedpfOkRHp8XTVc/9MU+ +wQ+lZRx2OQ6MJW0XGuFvHm94KZF/8HzWA2Ah7U4n0+3sLpk6zWceZq2zZNF0yVTj +wD98+xNK1Q9sP8aOKdtg8yMH3hisKR6rdW+mfX5q0Q8Gol2hZsFH/qyIhnPzhXDk +nuOh8E5iMkzrejVXUEn++Yzj23XjP59SObLznVkyxI+kBI9qvVEPfFBDybjHWqLc +gRcCpXAzjizEi+/d31iDa2ErJHV4R42obecFqiPnoDtiX3IiP7z9fmxM4aWPZZRq +vq+1ht5wkn+ISQQYEQIACQUCRpv6bwIbDAAKCRCi+54IHy0TDoLoAKCHYRpw/Xfy +Eunw1YL/uMZzl78qIQCdFVcXNbqD83qVhW4Ly7hyDL8o0aI= +=awvS +-----END PGP PUBLIC KEY BLOCK----- --- xbacklight-1.2.3.orig/debian/watch +++ xbacklight-1.2.3/debian/watch @@ -0,0 +1,3 @@ +version=4 +opts=pgpsigurlmangle=s/$/.sig/ \ +https://xorg.freedesktop.org/releases/individual/app/ @PACKAGE@-(.*)\.tar\.gz