debian/ 0000755 0000000 0000000 00000000000 11733135246 007173 5 ustar debian/pod2man.mk 0000644 0000000 0000000 00000003453 11733135246 011071 0 ustar # pod2man.mk -- Makefile portion to convert *.pod files to manual pages
#
# Copyright information
#
# Copyright (C) 2008-2010 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. Add this to Makefile:
#
# PACKAGE = package
#
# man:
# make -f pod2man.mk PACKAGE=$(PACKAGE) makeman
#
# build: man
ifneq (,)
This makefile requires GNU Make.
endif
# This variable *must* be set when called
PACKAGE ?= package
# Optional variables to set
MANSECT ?= 1
PODCENTER ?= User Commands
PODDATE ?= $$(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= LANG=C $(POD2MAN) $(POD2MAN_FLAGS) \
--center="$(PODCENTER)" \
--date="$(PODDATE)" \
--name="$(PACKAGE)" \
--section="$(MANSECT)" \
$(MANPOD) \
| sed 's,[Pp]erl v[0-9.]\+,$(PACKAGE),' \
> $(MANPAGE) && \
rm -f pod*.tmp
# End of of Makefile part
debian/clean 0000644 0000000 0000000 00000000013 11733135246 010172 0 ustar debian/*.1
debian/source/ 0000755 0000000 0000000 00000000000 11733135246 010473 5 ustar debian/source/format 0000644 0000000 0000000 00000000014 11733135246 011701 0 ustar 3.0 (quilt)
debian/changelog 0000644 0000000 0000000 00000006623 11733135246 011054 0 ustar matroxset (0.4-8) unstable; urgency=low
* debian/control
- (Build-Depends): Rm dpkg-dev; not needed with debhelper 9.
- (Standards-Version): Update to 3.9.3.1.
* debian/copyright
- Update to format 1.0.
* debian/rules
- Enable all hardening flags.
- Use DEB_*_MAINT_* variables.
-- Jari Aalto Fri, 23 Mar 2012 14:00:19 -0400
matroxset (0.4-7) unstable; urgency=low
* debian/compat
- Update to 9
* debian/control
- (Build-Depends): update to debhelper 9, dpkg-dev 1.16.1.
* debian/copyright
- Update to DEP5.
* debian/patches
- (10): New. Fix for hardened CFLAGS.
* debian/rules
- Use hardened CFLAGS.
http://wiki.debian.org/ReleaseGoals/SecurityHardeningBuildFlags
-- Jari Aalto Mon, 13 Feb 2012 06:19:12 -0500
matroxset (0.4-6) unstable; urgency=low
* debian/rules
- (override_dh_auto_build). New. Fix FTBFS with ld --as-needed.
Patch thanks to Matthias Klose (Closes: #607586).
* debian/pod2man.mk
- Update.
-- Jari Aalto Mon, 20 Dec 2010 10:52:15 +0200
matroxset (0.4-5) unstable; urgency=low
* debian/control
- (Build-Depends): Update to debhelper 8.
- (Homepage): update URL.
- (Standards-Version): Update to 3.9.1.
* debian/copyright
- Update upstream URL information.
* debian/matroxset.1.pod
- Update documentation; e.g. document options -e and update upstream
homepage URL. Patch thanks to Ville Skyttä .
* debian/rules
- Remove targets handled by dh(1).
-- Jari Aalto Tue, 23 Nov 2010 22:29:36 +0200
matroxset (0.4-4) unstable; urgency=low
* Move to format: 3.0 (quilt).
* debian/clean
- New file. Move content from debian/rules for dh(1).
* debian/control
- (Architecture): limit to i386 amd64.
- (Depends): add ${misc:Depends} for debhelper.
- (Standards-Version): update to 3.8.3.
* debian/copyright
- Use FSF URL (FSF recomendation).
* debian/debian-vars.mk
- Delete, obsoleted by dh(1).
* debian/matroxset.1.pod
- Add copyright.
* debian/matroxset.install
- New file; renamed from "install".
* debian/README.source
- Delete, obsoleted by format 3.0.
* debian/rules
- Remove rules obsoleted by dh(1).
* debian/source/format
- New file.
-- Jari Aalto Sat, 19 Dec 2009 19:28:47 +0200
matroxset (0.4-3) unstable; urgency=low
* New maintainer (Closes: #540820).
* debian/compat
- update to 7.
* debian/control
- (Homepage): new field.
- (Build-Depends): debhelper 7.
- (Standards-Version): update to 3.8.2.
- (Vcs-*): new fields.
* debian/copyright
- update to latest format.
* debian/rules
- upgrade to debhelper 7.
- (man): add new target.
* debian/watch
- new file.
* debian/*.1.pod
- Convert debian/*.1 manual page into easy-to-maintain *.pod format.
- Add proper "SEE ALSO" section.
* debian/*.mk
- New helper files.
-- Jari Aalto Thu, 13 Aug 2009 06:41:48 +0000
matroxset (0.4-2) unstable; urgency=low
* New maintainer (Closes: #354625)
* Fixed new FSF postal address
* New Standards-Version
-- Matti Pöllä Wed, 29 Nov 2006 17:20:10 +0200
matroxset (0.4-1) unstable; urgency=low
* Initial Release.
-- Shaun Jackman Mon, 23 Aug 2004 18:54:26 -0700
debian/matroxset.install 0000644 0000000 0000000 00000000022 11733135246 012603 0 ustar matroxset usr/bin
debian/copyright 0000644 0000000 0000000 00000002643 11733135246 011133 0 ustar Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0
Upstream-Name: matroxset
Upstream-Contact: Petr Vandrovec
Source: http://www.bglug.ca/matrox_tvout
X-Comment: dead upstream
Upstream homepage https://launchpad.net/~petr-vmware
NOTE:
2009-08-16 upstream has abandoned the code 2006.
2010-11-23 sources no longer at
.
Files: *
Copyright:
2004 Petr Vandrovec
License: GPL-2+
Files: debian/*
Copyright:
2009-2012 Jari Aalto
2006 Matti Pöllä
2004 Shaun Jackman
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/compat 0000644 0000000 0000000 00000000002 11733135246 010371 0 ustar 9
debian/control 0000644 0000000 0000000 00000001340 11733135246 010574 0 ustar Source: matroxset
Section: misc
Priority: optional
Maintainer: Jari Aalto
Build-Depends: debhelper (>= 9), libncurses5-dev
Standards-Version: 3.9.3.1
Vcs-Browser: http://git.debian.org/?p=collab-maint/matroxset.git
Vcs-Git: git://git.debian.org/git/collab-maint/matroxset.git
Homepage: http://www.bglug.ca/matrox_tvout
Package: matroxset
Architecture: i386 amd64
Depends: ${misc:Depends}, ${shlibs:Depends}
Description: switch output modes, including TV out, of Matrox video cards
This utility can be used to map heads to outputs, change the output
mode to monitor, TV, or digital flat panel, display information about
horizontal and vertical blanking, and view or modify a number of card
specific controls.
debian/rules 0000755 0000000 0000000 00000000716 11733135246 010257 0 ustar #!/usr/bin/make -f
PACKAGE = matroxset
LIBS = -lncurses
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) MANSECT=1 makeman
override_dh_installman: man
dh_installman
override_dh_auto_build:
$(CC) $(CFLAGS) $(CPPFLAGS) $(LDFLAGS) -o $(PACKAGE) matroxset.c $(LIBS)
%:
dh $@
.PHONY: man
# End f file
debian/matroxset.1.pod 0000644 0000000 0000000 00000006473 11733135246 012076 0 ustar # Copyright
#
# Copyright (C) 2009-2010 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
#
# To learn what TOP LEVEL section to use in manual pages,
# see POSIX/Susv standard and "Utility Description Defaults" at
# http://www.opengroup.org/onlinepubs/009695399/utilities/xcu_chap01.html#tag_01_11
#
# 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
matroxset - switch the output mode of Matrox video cards
=head1 SYNOPSIS
matroxset [OPTIONS] [VALUE]
=head1 OPTIONS
=over 4
=item B<-c>
Get/set control value.
=item B<-e>
Edit controls interactively.
=item B<-f DEVICE>
Manipulate the frame buffer DEVICE (default is /dev/fb1).
=item B<-l>
List controls
=item B<-m>
Connect this frame buffer to the outputs specified in VALUE (0 is
none, 1 is primary, 2 is secondary, 4 is digital flat panel; these
values may be summed for multiple outputs).
=item B<-o OUTPUT>
Set OUTPUT (0 is primary, 1 is secondary, default is 1) to the output
mode VALUE (128 is monitor, 1 is PAL TV, 2 is NTSC TV).
=item B<-p>
Display information about blanking.
=back
=head1 DESCRIPTION
Output Matrox card video to television. PAL 50Hz and NTSC 59.94Hz are
supported, Composite and S-Video output.
Contains two demo programs, normal and swapped. First selects CRTC1 on
first output and CRTC2 on second one. Swapped connects CRTC1 to
secondary head and CRTC2 to primary head. You can use these programs
if you need text mode or 8bpp mode on TV, as CRTC2 is incapable of
these modes.
In program call, If VALUE is specified, set the specified option to
VALUE. If VALUE is not specified, retrieve the value of the specified
option.
For technical information, see I at
. See also C
tips for G200, G400 at . Matrox
frame buffer headers at /usr/include/linux/matroxfb.h
=head1 ENVIRONMENT
None.
=head1 FILES
None.
=head1 SEE ALSO
directvnc(1) fbdev(4) fbgrab(1) fbset(1) fbterm(1) Xvfb(1)
=head1 AUTHORS
Program was written by Petr Vandrovec .
This manual page was written by Shaun Jackman , for
the Debian GNU system (but may be used by others). Updated by Jari
Aalto . Released under license GNU GPL v2 or (at
your option) any later version. For more information about license, visit
.
=cut
debian/examples 0000644 0000000 0000000 00000000026 11733135246 010732 0 ustar normal
swapit
swapped
debian/watch 0000644 0000000 0000000 00000000120 11733135246 010215 0 ustar version=3
http://knihovny.cvut.cz/~vana/matroxfb.html .*matroxset-(.*)\.tar\.gz
debian/manpages 0000644 0000000 0000000 00000000023 11733135246 010704 0 ustar debian/matroxset.1
debian/patches/ 0000755 0000000 0000000 00000000000 11733135246 010622 5 ustar debian/patches/series 0000644 0000000 0000000 00000000015 11733135246 012033 0 ustar 10-gcc.patch
debian/patches/10-gcc.patch 0000644 0000000 0000000 00000001140 11733135246 012611 0 ustar Subject: Gcc 4.6.2 hardened build flags fix
From: Jari Aalto
--- a/matroxset.c
+++ b/matroxset.c
@@ -335,14 +335,14 @@
int ap = 0;
for (ptr = vals; ptr->msg; ptr++) {
if (vbl.flags & ptr->mask) {
- if (ap) printf(", ");
- printf(ptr->msg);
+ if (ap) printf("%s", ", ");
+ printf("%s", ptr->msg);
ap = 1;
}
}
if (!ap)
- printf("none");
- printf("\n");
+ printf("%s", "none");
+ printf("%s", "\n");
}
printf("Field count: %12u\n", vbl.count);
printf("Vertical line: %12u\n", vbl.vcount);