debian/ 0000755 0000000 0000000 00000000000 12166212513 007165 5 ustar debian/clean 0000644 0000000 0000000 00000000050 12166212513 010165 0 ustar src/*.o
debian/*.1
src/armada-backlight
debian/install 0000644 0000000 0000000 00000000113 12166212513 010551 0 ustar src/armada-backlight usr/bin
src/armada-backlight.png usr/share/pixmaps
debian/pod2man.mk 0000644 0000000 0000000 00000003321 12166212513 011055 0 ustar # pod2man.mk -- Makefile portion to convert *.pod files to manual pages
#
# Copyright information
#
# Copyright (C) 2008-2013 Jari Aalto
#
# License
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program. If not, see .
#
# Description
#
# Convert *.pod files to manual pages. Write this to 'install'
# target:
#
# install: build $(MANPAGE)
ifneq (,)
This makefile requires GNU Make.
endif
# This variable *must* be set when calling
PACKAGE ?= package
RELEASE ?= $(PACKAGE)
# Optional variables to set
MANSECT ?= 1
PODCENTER ?= $$(date "+%Y-%m-%d")
# Directories
MANSRC =
MANDEST = $(MANSRC)
MANPOD = $(MANSRC)$(PACKAGE).$(MANSECT).pod
MANPAGE = $(MANDEST)$(PACKAGE).$(MANSECT)
POD2MAN = pod2man
POD2MAN_FLAGS = --utf8
makeman: $(MANPAGE)
$(MANPAGE): $(MANPOD)
# make target - create manual page from a *.pod page
podchecker $(MANPOD)
LC_ALL=C $(POD2MAN) $(POD2MAN_FLAGS) \
--center="$(PODCENTER)" \
--name="$(PACKAGE)" \
--section="$(MANSECT)" \
--release="$(RELEASE)" \
$(MANPOD) \
> $(MANPAGE) && \
rm -f pod*.tmp
# End of of Makefile part
debian/watch 0000644 0000000 0000000 00000000164 12166212513 010217 0 ustar version=3
# 2013-07-07 Domain no longer exists
# http://web.tampabay.rr.com/timkb4cq/armada-backlight-(.*)\.tar\.gz
debian/rules 0000755 0000000 0000000 00000000624 12166212513 010247 0 ustar #!/usr/bin/make -f
PACKAGE = armada-backlight
export DEB_BUILD_MAINT_OPTIONS = hardening=+all
export DEB_CFLAGS_MAINT_APPEND = -Wall -pedantic
export DEB_LDFLAGS_MAINT_APPEND = -Wl,--as-needed
man:
$(MAKE) -C debian -f pod2man.mk PACKAGE=$(PACKAGE) makeman
override_dh_auto_build: man
cd src && \
$(CC) $(CPPFLAGS) $(CFLAGS) $(LDFLAGS) armada-backlight.c -o $(PACKAGE)
%:
dh $@
# End of file
debian/GNOME_ArmadaBacklight.xml 0000644 0000000 0000000 00000000603 12166212513 013631 0 ustar
debian/changelog 0000644 0000000 0000000 00000006705 12166212513 011047 0 ustar armada-backlight (1.1-8) unstable; urgency=low
* debian/copyright
- (Comment): Update M300 and M700 information.
* debian/watch
- Disable. Sources no longer available.
-- Jari Aalto Sun, 07 Jul 2013 10:10:54 +0300
armada-backlight (1.1-7) unstable; urgency=low
* debian/debian-compile.mk
- Delete. No longer used.
* debian/control
- (standards-Version): Update to 3.9.4.
* debian/copyright
- Minor layout updates.
* debian/patches
- (10): Remove extra exit call (LP: #937453). Thanks to
Beata Graff av dalHagen .
* debian/pod2man.mk
- Removed sed.
* debian/rules
- Minor layout updates.
-- Jari Aalto Sat, 25 May 2013 02:23:36 +0300
armada-backlight (1.1-6) unstable; urgency=low
* debian/rules
- (override_dh_auto_build): New. Replaces old "build" which fixes double
compiling during the build process: first without hardening flags
and then by dh with hardening flags. Patch thanks to
Simon Ruderich .
-- Jari Aalto Wed, 28 Mar 2012 07:53:56 +0300
armada-backlight (1.1-5) unstable; urgency=low
* Upgrade to packaging format "3.0 quilt".
* debian/compat
- Update to 9.
* debian/control
- (Build-Depends): Update to debhelper 9.
- (standards-Version): Update to 3.9.3.1.
* debian/copyright
- Update to format 1.0.
* debian/debian/*.mk
- (debian-compile.mk): Delete; no longer used.
- (pod2man.mk): Update.
* debian/rules
- Use hardened build flags
http://wiki.debian.org/ReleaseGoals/SecurityHardeningBuildFlags
-- Jari Aalto Thu, 22 Mar 2012 12:58:51 -0400
armada-backlight (1.1-4) unstable; urgency=low
* debian/control
- (Architecture): add kfreebsd-amd64 kfreebsd-i386.
(wishlist; Closes: #561909).
-- Jari Aalto Mon, 21 Dec 2009 10:10:18 +0200
armada-backlight (1.1-3) unstable; urgency=high
* debian/GNOME_ArmadaBacklight.server
- Remove extra double quote in line 19 which broke
bonobo-activation-server (critical; Closes: #561827)
* debian/armada-backlight.install
- Remove GONE file install.
-- Jari Aalto Sun, 20 Dec 2009 19:03:32 +0200
armada-backlight (1.1-2) unstable; urgency=low
* Move to format: 3.0 (quilt).
* debian/armada-backlight.{install,manpages}
- Move content from 'rules' for dh(1) to use.
* debian/armada-backlight.server
- New GNOME applet file.
* debian/armada-backlight.1.pod
- Document new option -h.
* debian/copyright
- Minor layout adjustments.
* debian/{changelog,clean,upstream}
- Move content from 'rules' for dh(1) to use.
* debian/control
- (Architecture): Change all to i386 amd64 (FTBFS; Closes: #561192).
- (Description): Correct minor typos.
* debian/debian-vars.mk
- Delete. Obsoleted by dh(1).
* debian/debian-compile.mk
- New file.
* debian/patches
- (10) fix compiling errors and add option --help.
* debian/rules
- Move to dh(1). Remove and rewrite rules that cab be handled buf dh_*
commands.
- (build): Use CC, CFLAGS.
* debian/source/format
- New file.
* debian/TODO.Debian
- New file.
-- Jari Aalto Wed, 16 Dec 2009 16:49:41 +0200
armada-backlight (1.1-1) unstable; urgency=low
* Initial release (Closes: #559139)
-- Jari Aalto Wed, 02 Dec 2009 09:26:55 +0000
debian/TODO.Debian 0000644 0000000 0000000 00000000674 12166212513 011045 0 ustar TODO for armada-backlight
-------------------------
The original package (2002-2006) contained Gnome 1.x applet activation
*.gnorba files. A partial port to use new Gnome BONOBO interface has
been started in files debian/GNOME_* but this has not yet been
completed.
If you want to help, please read
http://library.gnome.org/devel/panel-applet/stable/applet-porting.html
-- Jari Aalto , Wed, 16 Dec 2009 16:48:43 +0200
debian/upstream 0000644 0000000 0000000 00000000012 12166212513 010741 0 ustar CHANGELOG
debian/patches/ 0000755 0000000 0000000 00000000000 12166212513 010614 5 ustar debian/patches/series 0000644 0000000 0000000 00000000027 12166212513 012030 0 ustar 10-compile-fixes.patch
debian/patches/10-compile-fixes.patch 0000644 0000000 0000000 00000003612 12166212513 014621 0 ustar From f67c02814df637938f09473ff728d1039076675b Mon Sep 17 00:00:00 2001
From: Jari Aalto
Date: Mon, 14 Dec 2009 11:04:26 +0200
Subject: [PATCH] src/armada-backlight.c: Fix compiling errors. Add -h
Signed-off-by: Jari Aalto
---
src/armada-backlight.c | 21 +++++++++++++--------
1 file changed, 13 insertions(+), 8 deletions(-)
--- a/src/armada-backlight.c
+++ b/src/armada-backlight.c
@@ -32,6 +32,8 @@
#include
#include
#include
+#include
+#include
#define INDEX_PORT 0xe0
#define DATA_PORT (INDEX_PORT+1)
@@ -127,16 +129,17 @@
/*----------------------------------------------------------------------------
*/
-static void print_help( progname ) {
+static void print_help( const char *progname ) {
fprintf( stderr,
- "%1$s\n"
+ "%s\n"
"Copyright (c) 2001 Georg Acher, georg@acher.org\n"
"Copyright (c) 2002 Nat Pryce, nat.pryce@b13media.com\n"
- "Sets brightness of Compaq Armada LCD backlight\n"
- "Usage: %1$s [<+|-|value>]\n"
- "no parameters: Returns current brightness\n"
- "+/-: Increases/decreases brightness\n"
- "value: Sets brightness (0<=value<=8)\n",
+ "Sets brightness of Compaq Armada LCD backlight\n\n"
+ "Usage: %s [<+|-|value>]\n"
+ " no parameters: Returns current brightness\n"
+ " +/-: Increases/decreases brightness\n"
+ " value: Sets brightness in range 0..8\n",
+ progname,
progname );
}
@@ -144,7 +147,9 @@
int i;
for( i = 0; i < argc; i++ ) {
- if( strcmp(argv[i],"--help") == 0 ) return 1;
+ if( strcmp(argv[i],"--help") == 0 ||
+ strcmp(argv[i],"-h") == 0 )
+ return 1;
}
return argc > 2;
}
debian/armada-backlight.1.pod 0000644 0000000 0000000 00000004732 12166212513 013211 0 ustar # This is manual page in Perl POD format. Read more at
# http://perldoc.perl.org/perlpod.html or run command:
#
# perldoc perlpod | less
#
# To check the syntax:
#
# podchecker *.pod
#
# Create manual page with command:
#
# pod2man PAGE.N.pod > PAGE.N
=pod
=head1 NAME
armada-backlight - Adjust Compaq Armada backlight
=head1 SYNOPSIS
armada-backlight [-h|--help] [[+-]value]
=head1 DESCRIPTION
Values:
None Prints the current brightness level to stdout.
+ Increases the brightness of the backlight.
- Decreases the brightness of the backlight.
value Sets the brightness of the backlight. Value must be between 0 and
8, inclusive.
The Armada Backlight Controller is a program for controlling the
brightness of the LCD backlight on Compaq Armada[1] laptops under
Linux. It has been tested on an Armada M700 running. It is based on
code by George Acher[2], which was written for the M300 and has been
used on the E500. This package should also work on those machines,
although that has not been tested by Nat Pryce, who put the modified
package together.
The program is divided into two parts:
1. A command-line program that is installed with privileges that
allow it to control the backlight hardware (aka an "suid" program).
2. A GNOME panel applet that provides a convenient GUI to the
command-line program.
An alternative way of using the command-line program is to configure
your X window manager to run it in response to key sequences such as
Alt-F10 to make the screen brighter and Alt-Shift-F10 to make the
screen dimmer (in Compaq Armada, the F10 key has a brightness icon on
it).
References:
1. http://www.compaq.com/products/notebooks/
2. http://www.acher.org/
B
The Armada Backlight Controller applet is installed into the Utility
category of the GNOME Applets menu.
[menu.png]
When added to the panel, the applet presents a scrollbar that can be
used to interactively control the brightness of the backlight and also
shows the current level numerically. The icon identifies the applet in
the panel and can be used to access the applet menu using the right
mouse button.
[applet.png]
=head1 OPTIONS
=over 4
=item B<-h, --help>
Print usage information to stderr.
=back
=head1 ENVIRONMENT
None.
=head1 FILES
None.
=head1 SEE ALSO
laptop-mode-tools(1)
=head1 AUTHORS
This manual page was written by Jari Aalto for
the Debian GNU system (but may be used by others).
=cut
debian/source/ 0000755 0000000 0000000 00000000000 12166212513 010465 5 ustar debian/source/format 0000644 0000000 0000000 00000000014 12166212513 011673 0 ustar 3.0 (quilt)
debian/compat 0000644 0000000 0000000 00000000002 12166212513 010363 0 ustar 9
debian/GNOME_ArmadaBacklight.server 0000644 0000000 0000000 00000003137 12166212513 014344 0 ustar
debian/copyright 0000644 0000000 0000000 00000002704 12166212513 011123 0 ustar Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0
Upstream-Name: armada-backlight
Upstream-Contact: George Acher ,
Source:
Comment:
The M700 original sources no longer available. Last seen 2005 at
http://web.archive.org/web/20050207005124/http://b13media.com/dev/armada-backlight/index.html
.
The M300 code base by George Acher is available at
http://www.lrr.in.tum.de/~acher/m300/
See also http://www.acher.org
Files: *
Copyright:
2001 George Acher ,
2002 Nat Pryce
License: GPL-2+
Files: debian/*
Copyright:
2009, 2012, 2013 Jari Aalto
License: GPL-2+
License: GPL-2+
This package is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at your option) any later version.
.
This package is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
.
You should have received a copy of the GNU General Public License
along with this program. If not, see .
.
On Debian systems, the complete text of the GNU General
Public License can be found in "/usr/share/common-licenses/GPL-2".
debian/manpages 0000644 0000000 0000000 00000000013 12166212513 010675 0 ustar debian/*.1
debian/control 0000644 0000000 0000000 00000001247 12166212513 010574 0 ustar Source: armada-backlight
Section: utils
Priority: optional
Maintainer: Jari Aalto
Build-Depends: debhelper (>= 9)
Standards-Version: 3.9.4
Vcs-Browser: http://anonscm.debian.org/gitweb/?p=collab-maint/armada-backlight.git
Vcs-Git: git://anonscm.debian.org/collab-maint/armada-backlight.git
Package: armada-backlight
Architecture: i386 amd64 kfreebsd-amd64 kfreebsd-i386
Depends: ${shlibs:Depends}, ${misc:Depends}
Description: adjust backlight of Compaq Armada laptops (E300, M500, M700)
An utility to change the laptop LCDs backlight from
a command line. The brightness can be adjusted in steps
for Compaq Armada family of laptops (E300, M500, M700).