--- nvtv-0.4.7.orig/man/nvtv.1x +++ nvtv-0.4.7/man/nvtv.1x @@ -1,4 +1,4 @@ -.TH NVTV "1" "March 2002" "User Commands" "User Commands" +.TH NVTV "1x" "March 2002" "User Commands" "User Commands" .SH NAME nvtv \(em GUI to control TV output hardware settings .SH DESCRIPTION @@ -31,8 +31,8 @@ Fetch current mode (use only for printing) .TP \fB\-l\fR \fB\-\-list\fR -List available modes on stdout. Must be combined with -T if hardware is -not accessible. Can be combined with -S. Fields are seperated by +List available modes on stdout. Must be combined with \-T if hardware is +not accessible. Can be combined with \-S. Fields are seperated by tabs, and contain TV system, resolution, size, overscan compenstation percentage, and aspect in that order. .TP @@ -117,28 +117,28 @@ .TP .B Contrast -from -100 (percent) to 100 (percent). +from \-100 (percent) to 100 (percent). .TP .B Saturation -from -100 (percent) to 100 (percent). +from \-100 (percent) to 100 (percent). .TP .B Brightness# -from -50 (percent) to 50 (percent). This setting and the two following +from \-50 (percent) to 50 (percent). This setting and the two following settings change the TV signal directly and should be used carefully. Extreme values may degrade the signal up to the point where it cannot be properly displayed anymore. .TP .B Contrast# -from -50 (percent) to 50 (percent). +from \-50 (percent) to 50 (percent). .TP .B Saturation# -from -50 (percent) to 50 (percent). +from \-50 (percent) to 50 (percent). .TP .B Phase -from -60 (degrees) to 60 (degrees). +from \-60 (degrees) to 60 (degrees). .TP .B Hue -from -60 (degrees) to 60 (degrees). +from \-60 (degrees) to 60 (degrees). .TP .B Flicker Flicker filter, from 0 (percent) to 100 (percent). --- nvtv-0.4.7.orig/man/nvtvd.8 +++ nvtv-0.4.7/man/nvtvd.8 @@ -2,8 +2,8 @@ .SH NAME nvtvd \(em backend server to control TV output hardware .SH DESCRIPTION -nvtvd is a demon that accesses the TV output hardware. It can be controlled -by \fBnvtv\fR through two pipes. You can use this demon +nvtvd is a daemon that accesses the TV output hardware. It can be controlled +by \fBnvtv\fR through two pipes. You can use this daemon if the user cannot gain root rights to start nvtv. .SS OPTIONS .TP --- nvtv-0.4.7.orig/man/nvdump.8 +++ nvtv-0.4.7/man/nvdump.8 @@ -0,0 +1,43 @@ +.TH NVDUMP "8" "March 2002" "System Commands" "System Commands" +.SH NAME +nvdump \(em program to dump NVidia TV-OUT encoder registers +.SH SYNOPSIS +.B nvdump +[\-ar2] [\-i [incr]] ... +.TP +.B nvdump +\-s ... +.SH DESCRIPTION +nvdump dumps parts of the Nvidia TV-OUT encoder register space +(besides the CRTC) and can be used for troubleshooting. +You can use it if you suspect there might be register changes that +are to output with 'nvtv \-P' +.SS OPTIONS +.TP +\fB\-h\fR \fB\-?\fR \fB\-\-help\fR +print help message +.TP +\fB\-a\fR +print all +.TP +\fB\-2\fR +print also PCRTC2 and PRAMDAC2 +.TP +\fB\-r\fR +print registers +.TP +\fB\-i\fR +set increment +.TP +\fB\-s\fR +set register values +.SH "AUTHOR" +.PP +This manual page was written by Eduard Bloch +and Roberto Lumbreras for +the \fBDebian\fP system (but may be used by others). Permission is +granted to copy, distribute and/or modify this document under +the terms of the GNU Free Documentation +License, Version 1.1 or any later version published by the Free +Software Foundation; with no Invariant Sections, no Front-Cover +Texts and no Back-Cover Texts. --- nvtv-0.4.7.orig/test/Makefile +++ nvtv-0.4.7/test/Makefile @@ -0,0 +1,330 @@ +# Makefile.in generated automatically by automake 1.4-p6 from Makefile.am + +# Copyright (C) 1994, 1995-8, 1999, 2001 Free Software Foundation, Inc. +# This Makefile.in is free software; the Free Software Foundation +# gives unlimited permission to copy and/or distribute it, +# with or without modifications, as long as this notice is preserved. + +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY, to the extent permitted by law; without +# even the implied warranty of MERCHANTABILITY or FITNESS FOR A +# PARTICULAR PURPOSE. + +# TESTS = test + + +SHELL = /bin/sh + +srcdir = . +top_srcdir = .. + +prefix = /usr +exec_prefix = /usr + +bindir = ${exec_prefix}/bin +sbindir = ${prefix}/sbin +libexecdir = ${exec_prefix}/libexec +datadir = ${prefix}/share +sysconfdir = ${prefix}/etc +sharedstatedir = ${prefix}/com +localstatedir = ${prefix}/var +libdir = ${exec_prefix}/lib +infodir = ${prefix}/info +mandir = ${prefix}/share/man +includedir = ${prefix}/include +oldincludedir = /usr/include + +DESTDIR = + +pkgdatadir = $(datadir)/nvtv +pkglibdir = $(libdir)/nvtv +pkgincludedir = $(includedir)/nvtv + +top_builddir = .. + +ACLOCAL = aclocal-1.4 +AUTOCONF = autoconf +AUTOMAKE = automake-1.4 +AUTOHEADER = autoheader + +INSTALL = /usr/bin/install -c +INSTALL_PROGRAM = ${INSTALL} $(AM_INSTALL_PROGRAM_FLAGS) +INSTALL_DATA = ${INSTALL} -m 644 +INSTALL_SCRIPT = ${INSTALL} +transform = s,x,x, + +NORMAL_INSTALL = : +PRE_INSTALL = : +POST_INSTALL = : +NORMAL_UNINSTALL = : +PRE_UNINSTALL = : +POST_UNINSTALL = : +CC = gcc +GTK_CFLAGS = -DXTHREADS -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/X11R6/include -I/usr/include/atk-1.0 -I/usr/include/pango-1.0 -I/usr/include/freetype2 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include +GTK_CONFIG = +GTK_LIBS = -Wl,--export-dynamic -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lgdk_pixbuf-2.0 -lm -lpangoxft-1.0 -lpangox-1.0 -lpango-1.0 -lgobject-2.0 -lgmodule-2.0 -ldl -lglib-2.0 +MAKEINFO = makeinfo +OBJS_BACKEND = card_direct.o back_unix.o back_client.o +OBJS_EXTRA = actions.o +OBJS_GUI = gui.o gui_bt.o gui_cx.o gui_ch.o gui_ph.o gui_nx.o gui_nv.o gui_tdfx.o gui_i810.o +PACKAGE = nvtv +PKG_CONFIG = /usr/bin/pkg-config +PROGRAM = nvtv nvtvd +VERSION = 0.4.7 +WX_CFLAGS = +WX_CFLAGS_ONLY = +WX_CONFIG_PATH = +WX_CPPFLAGS = +WX_CXXFLAGS = +WX_CXXFLAGS_ONLY = +WX_LIBS = +WX_LIBS_STATIC = +WX_VERSION = + +check_PROGRAMS = tester life + +# from src/Makefile.am ... FIXME use a single? +# without +# include ($(srcdir)|$(top_srcdir))/filename + +GUI_SOURCES = gui.c gui_bt.c gui_cx.c gui_ch.c gui_ph.c gui_nx.c gui_nv.c gui_tdfx.c gui_i810.c + + +SRCS_COMMON = libc_wrapper.c xf86i2c.c pipe.c tv_common.c tv_nv.c tv_tdfx.c tv_i810.c tv_null.c tv_bt.c tv_cx.c tv_nx.c tv_ch1_7007.c tv_ch2_7009.c tv_ph1_saa7102.c tv_ph2_saa7104.c data.c data_bt.c data_cx.c data_ch.c data_ph.c data_nx.c data_nv.c data_tdfx.c data_i810.c data_xbox.c data_vesa.c calc_bt.c back_direct.c back_nvidia.c back_tdfx.c back_i810.c back_null.c + + +SRCS_TEST = test_mmio.c test_i2c.c test_record.c back_test.c card_direct.c + + +noinst_HEADERS = back_test.h tester.h test_record.h + +tester_SOURCES = tester.c test_mmio.c test_i2c.c test_record.c back_test.c back_unix.c card_direct.c $(SRCS_COMMON) + + +life_SOURCES = life.c nvtv.c actions.c print.c $(GUI_SOURCES) $(SRCS_TEST) $(SRCS_COMMON) + + +AM_CPPFLAGS = -I../src -DTEST_HOOKS +mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs +CONFIG_HEADER = ../src/config.h +CONFIG_CLEAN_FILES = + +DEFS = -DHAVE_CONFIG_H -I. -I$(srcdir) -I../src +CPPFLAGS = -I/usr/X11R6/include -I/usr/local/include +LDFLAGS = +LIBS = -Wl,--export-dynamic -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lgdk_pixbuf-2.0 -lm -lpangoxft-1.0 -lpangox-1.0 -lpango-1.0 -lgobject-2.0 -lgmodule-2.0 -ldl -lglib-2.0 -L/usr/X11R6/lib -lX11 -lXext -lm -lpci -lXxf86vm -lXmu +X_CFLAGS = -I/usr/X11R6/include +X_LIBS = -L/usr/X11R6/lib +X_EXTRA_LIBS = +X_PRE_LIBS = -lSM -lICE +tester_OBJECTS = tester.o test_mmio.o test_i2c.o test_record.o \ +back_test.o back_unix.o card_direct.o libc_wrapper.o xf86i2c.o pipe.o \ +tv_common.o tv_nv.o tv_tdfx.o tv_i810.o tv_null.o tv_bt.o tv_cx.o \ +tv_nx.o tv_ch1_7007.o tv_ch2_7009.o tv_ph1_saa7102.o tv_ph2_saa7104.o \ +data.o data_bt.o data_cx.o data_ch.o data_ph.o data_nx.o data_nv.o \ +data_tdfx.o data_i810.o data_xbox.o data_vesa.o calc_bt.o back_direct.o \ +back_nvidia.o back_tdfx.o back_i810.o back_null.o +tester_LDADD = $(LDADD) +tester_DEPENDENCIES = +tester_LDFLAGS = +life_OBJECTS = life.o nvtv.o actions.o print.o gui.o gui_bt.o gui_cx.o \ +gui_ch.o gui_ph.o gui_nx.o gui_nv.o gui_tdfx.o gui_i810.o test_mmio.o \ +test_i2c.o test_record.o back_test.o card_direct.o libc_wrapper.o \ +xf86i2c.o pipe.o tv_common.o tv_nv.o tv_tdfx.o tv_i810.o tv_null.o \ +tv_bt.o tv_cx.o tv_nx.o tv_ch1_7007.o tv_ch2_7009.o tv_ph1_saa7102.o \ +tv_ph2_saa7104.o data.o data_bt.o data_cx.o data_ch.o data_ph.o \ +data_nx.o data_nv.o data_tdfx.o data_i810.o data_xbox.o data_vesa.o \ +calc_bt.o back_direct.o back_nvidia.o back_tdfx.o back_i810.o \ +back_null.o +life_LDADD = $(LDADD) +life_DEPENDENCIES = +life_LDFLAGS = +CFLAGS = -g -DXTHREADS -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/X11R6/include -I/usr/include/atk-1.0 -I/usr/include/pango-1.0 -I/usr/include/freetype2 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include +COMPILE = $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) +CCLD = $(CC) +LINK = $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(LDFLAGS) -o $@ +HEADERS = $(noinst_HEADERS) + +DIST_COMMON = Makefile.am Makefile.in + + +DISTFILES = $(DIST_COMMON) $(SOURCES) $(HEADERS) $(TEXINFOS) $(EXTRA_DIST) + +TAR = tar +GZIP_ENV = --best +SOURCES = $(tester_SOURCES) $(life_SOURCES) +OBJECTS = $(tester_OBJECTS) $(life_OBJECTS) + +all: all-redirect +.SUFFIXES: +.SUFFIXES: .S .c .o .s +$(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4) + cd $(top_srcdir) && $(AUTOMAKE) --gnu --include-deps test/Makefile + +Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status + cd $(top_builddir) \ + && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status + + +mostlyclean-checkPROGRAMS: + +clean-checkPROGRAMS: + -test -z "$(check_PROGRAMS)" || rm -f $(check_PROGRAMS) + +distclean-checkPROGRAMS: + +maintainer-clean-checkPROGRAMS: + +.c.o: + $(COMPILE) -c $< + +.s.o: + $(COMPILE) -c $< + +.S.o: + $(COMPILE) -c $< + +mostlyclean-compile: + -rm -f *.o core *.core + +clean-compile: + +distclean-compile: + -rm -f *.tab.c + +maintainer-clean-compile: + +tester: $(tester_OBJECTS) $(tester_DEPENDENCIES) + @rm -f tester + $(LINK) $(tester_LDFLAGS) $(tester_OBJECTS) $(tester_LDADD) $(LIBS) + +life: $(life_OBJECTS) $(life_DEPENDENCIES) + @rm -f life + $(LINK) $(life_LDFLAGS) $(life_OBJECTS) $(life_LDADD) $(LIBS) + +tags: TAGS + +ID: $(HEADERS) $(SOURCES) $(LISP) + list='$(SOURCES) $(HEADERS)'; \ + unique=`for i in $$list; do echo $$i; done | \ + awk ' { files[$$0] = 1; } \ + END { for (i in files) print i; }'`; \ + here=`pwd` && cd $(srcdir) \ + && mkid -f$$here/ID $$unique $(LISP) + +TAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) $(LISP) + tags=; \ + here=`pwd`; \ + list='$(SOURCES) $(HEADERS)'; \ + unique=`for i in $$list; do echo $$i; done | \ + awk ' { files[$$0] = 1; } \ + END { for (i in files) print i; }'`; \ + test -z "$(ETAGS_ARGS)$$unique$(LISP)$$tags" \ + || (cd $(srcdir) && etags -o $$here/TAGS $(ETAGS_ARGS) $$tags $$unique $(LISP)) + +mostlyclean-tags: + +clean-tags: + +distclean-tags: + -rm -f TAGS ID + +maintainer-clean-tags: + +distdir = $(top_builddir)/$(PACKAGE)-$(VERSION)/$(subdir) + +subdir = test + +distdir: $(DISTFILES) + @for file in $(DISTFILES); do \ + d=$(srcdir); \ + if test -d $$d/$$file; then \ + cp -pr $$d/$$file $(distdir)/$$file; \ + else \ + test -f $(distdir)/$$file \ + || ln $$d/$$file $(distdir)/$$file 2> /dev/null \ + || cp -p $$d/$$file $(distdir)/$$file || :; \ + fi; \ + done + +info-am: +info: info-am +dvi-am: +dvi: dvi-am +check-am: all-am + $(MAKE) $(AM_MAKEFLAGS) $(check_PROGRAMS) +check: check-am +installcheck-am: +installcheck: installcheck-am +install-exec-am: +install-exec: install-exec-am + +install-data-am: +install-data: install-data-am + +install-am: all-am + @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am +install: install-am +uninstall-am: +uninstall: uninstall-am +all-am: Makefile $(HEADERS) +all-redirect: all-am +install-strip: + $(MAKE) $(AM_MAKEFLAGS) AM_INSTALL_PROGRAM_FLAGS=-s install +installdirs: + + +mostlyclean-generic: + +clean-generic: + +distclean-generic: + -rm -f Makefile $(CONFIG_CLEAN_FILES) + -rm -f config.cache config.log stamp-h stamp-h[0-9]* + +maintainer-clean-generic: +mostlyclean-am: mostlyclean-checkPROGRAMS mostlyclean-compile \ + mostlyclean-tags mostlyclean-generic + +mostlyclean: mostlyclean-am + +clean-am: clean-checkPROGRAMS clean-compile clean-tags clean-generic \ + mostlyclean-am + +clean: clean-am + +distclean-am: distclean-checkPROGRAMS distclean-compile distclean-tags \ + distclean-generic clean-am + +distclean: distclean-am + +maintainer-clean-am: maintainer-clean-checkPROGRAMS \ + maintainer-clean-compile maintainer-clean-tags \ + maintainer-clean-generic distclean-am + @echo "This command is intended for maintainers to use;" + @echo "it deletes files that may require special tools to rebuild." + +maintainer-clean: maintainer-clean-am + +.PHONY: mostlyclean-checkPROGRAMS distclean-checkPROGRAMS \ +clean-checkPROGRAMS maintainer-clean-checkPROGRAMS mostlyclean-compile \ +distclean-compile clean-compile maintainer-clean-compile tags \ +mostlyclean-tags distclean-tags clean-tags maintainer-clean-tags \ +distdir info-am info dvi-am dvi check check-am installcheck-am \ +installcheck install-exec-am install-exec install-data-am install-data \ +install-am install uninstall-am uninstall all-redirect all-am all \ +installdirs mostlyclean-generic distclean-generic clean-generic \ +maintainer-clean-generic clean mostlyclean distclean maintainer-clean + + +# The C sources and includes are first taken from ., then from ../src + +vpath %.c .:../src + +# Kill defines (taken from ../src/config.h) + +# DEFS = -I. -I$(srcdir) + +# Tell versions [3.59,3.63) of GNU make to not export all variables. +# Otherwise a system limit (for SysV at least) may be exceeded. +.NOEXPORT: --- nvtv-0.4.7.orig/debian/nvtv.default +++ nvtv-0.4.7/debian/nvtv.default @@ -0,0 +1,10 @@ +# Defaults for nvtv initscript +# sourced by /etc/init.d/nvtv +# installed at /etc/default/nvtv by the maintainer scripts + +# +# This is a POSIX shell fragment +# + +# Additional options that are passed to the Daemon. +DAEMON_OPTS="--quiet" --- nvtv-0.4.7.orig/debian/README.Debian +++ nvtv-0.4.7/debian/README.Debian @@ -0,0 +1,16 @@ +nvtv for Debian +--------------- + +NOTE: This program is still in alpha state. It works fine for me, but other +people can get more problems with it. + + - The program does not cooperate with X's mode switching, so you must + reexecute it when the resolution has been changed. + - Alternatively, make sure that your application works in the same resolution + as desired full-screen resolution, so the mode is not touched when the + application switches to full-screen mode. + - The program must be executed as root. It is possible to use sudo, but suid + permissions are not usable with Gtk. There is a wrapper program called + "nvtv-noroot" which will use gksu to let you enter the root passwort. + + -- Eduard Bloch , Mon, 17 Feb 2003 20:58:30 +0100 --- nvtv-0.4.7.orig/debian/changelog +++ nvtv-0.4.7/debian/changelog @@ -0,0 +1,121 @@ +nvtv (0.4.7-1) unstable; urgency=low + + * New upstream release. (closes: #252782) + * Added amd64 to arch list. (closes: #252775) + + -- Roberto Lumbreras Sat, 05 Jun 2004 14:26:12 +0200 + +nvtv (0.4.6-3) unstable; urgency=low + + * Recompile again nvtv, this time it is linked staticaly with libpci (no + changes). (closes: #244461) + + -- Roberto Lumbreras Sun, 18 Apr 2004 18:07:13 +0200 + +nvtv (0.4.6-2) unstable; urgency=low + + * Recompile with new pciutils-dev (closes: #240805) + + -- Roberto Lumbreras Tue, 30 Mar 2004 00:28:17 +0200 + +nvtv (0.4.6-1) unstable; urgency=low + + * New upstream release (closes: #238223) + * Added init script so gksu is not needed. + + -- Roberto Lumbreras Tue, 16 Mar 2004 02:31:53 +0100 + +nvtv (0.4.5-4) unstable; urgency=low + + * Recompile with libgtk2.0-dev (closes: #225929) + * New standards (no changes needed) + + -- Roberto Lumbreras Tue, 27 Jan 2004 01:26:39 +0100 + +nvtv (0.4.5-3) unstable; urgency=low + + * Changed manpage section of nvtv (closes: #214713) + + -- Roberto Lumbreras Sat, 11 Oct 2003 15:54:12 +0200 + +nvtv (0.4.5-2) unstable; urgency=low + + * New maintainer, closes: #158156 + + -- Roberto Lumbreras Sun, 05 Oct 2003 02:55:34 +0200 + +nvtv (0.4.5-1) unstable; urgency=low + + * New upstream release + + uses X_FLAGS instead of $x_includes (closes: #192455) + + -- Eduard Bloch Thu, 2 Oct 2003 12:40:58 +0200 + +nvtv (0.4.4-1) unstable; urgency=low + + * New upstream release, closes: #187764 + + -- Eduard Bloch Sun, 6 Apr 2003 13:53:19 +0200 + +nvtv (0.4.3-1) unstable; urgency=low + + * New upstream release, closes: #181345 + * Documented nvtv-noroot + + -- Eduard Bloch Mon, 17 Feb 2003 20:48:02 +0100 + +nvtv (0.4.2-3) unstable; urgency=low + + * Limited the number of Arches to i386 - upstream seems to use i386-specific + stuff, closes: #171099 + + -- Eduard Bloch Thu, 28 Nov 2002 22:58:13 +0100 + +nvtv (0.4.2-2) unstable; urgency=low + + * Updated config.{guess,sub}, closes: #171077 + + -- Eduard Bloch Thu, 28 Nov 2002 18:31:23 +0100 + +nvtv (0.4.2-1) unstable; urgency=low + + * New upstream release + * Fixed capitalisation, closes: #140880 + + -- Eduard Bloch Thu, 28 Nov 2002 14:59:46 +0100 + +nvtv (0.4.0-2) unstable; urgency=low + + * Using gksu to get root permissions + + -- Eduard Bloch Wed, 17 Jul 2002 23:55:13 +0200 + +nvtv (0.4.0-1) unstable; urgency=low + + * New upstream release + * xterm -> x-terminal-emulator, closes: #150836 + * changed error message to point to nvtv-noroot + + -- Eduard Bloch Mon, 24 Jun 2002 15:57:23 +0200 + +nvtv (0.3.0-3) unstable; urgency=low + + * Changed the tempfile thing to place the control pipes in $HOME + * improved clean rule + + -- Eduard Bloch Thu, 21 Mar 2002 00:10:00 +0100 + +nvtv (0.3.0-2) unstable; urgency=low + + * Wrapper, asking to enter the root passwort included + + -- Eduard Bloch Tue, 19 Mar 2002 15:02:21 +0100 + +nvtv (0.3.0-1) unstable; urgency=low + + * Initial Release, closes: #136223 + * replaced the static tempfile references with tempnam generated strings + * wrote manpages + + -- Eduard Bloch Sun, 17 Mar 2002 11:37:12 +0100 + --- nvtv-0.4.7.orig/debian/control +++ nvtv-0.4.7/debian/control @@ -0,0 +1,15 @@ +Source: nvtv +Section: admin +Priority: optional +Maintainer: Roberto Lumbreras +Build-Depends: debhelper (>> 4.0.0), pciutils-dev, xlibs, xlibs-dev, libgtk2.0-dev, autotools-dev +Standards-Version: 3.6.1 + +Package: nvtv +Architecture: i386 amd64 +Depends: ${shlibs:Depends} +Provides: tvtool +Description: Tool to control TV chips on NVidia cards under Linux + This is a program to control the TV encoder chips on NVidia cards under + Linux, in order to get tv-out with a wide range of resolutions and + sizes, including "overscan" modes. It does even work with the free nv drivers. --- nvtv-0.4.7.orig/debian/copyright +++ nvtv-0.4.7/debian/copyright @@ -0,0 +1,11 @@ +This package was debianized by Eduard Bloch on +Sun, 17 Mar 2002 11:37:12 +0100. + +It was downloaded from http://prdownloads.sourceforge.net/nv-tv-out/ + +Upstream Author: Dirk Thierbach + +Copyright: + +This program is protected by the GNU Public License (GPL). On Debian systems, +the GPL is located in the file /usr/share/common-licenses/GPL. --- nvtv-0.4.7.orig/debian/compat +++ nvtv-0.4.7/debian/compat @@ -0,0 +1 @@ +4 --- nvtv-0.4.7.orig/debian/rules +++ nvtv-0.4.7/debian/rules @@ -0,0 +1,110 @@ +#!/usr/bin/make -f +# Sample debian/rules that uses debhelper. +# GNU copyright 1997 to 1999 by Joey Hess. + +# Uncomment this to turn on verbose mode. +#export DH_VERBOSE=1 + +CFLAGS = -Wall +INSTALL_PROGRAM = install + +ifneq (,$(findstring debug,$(DEB_BUILD_OPTIONS))) + CFLAGS += -g +endif + +ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS))) + CFLAGS += -O0 +else + CFLAGS += -O2 +endif +ifeq (,$(findstring nostrip,$(DEB_BUILD_OPTIONS))) + INSTALL_PROGRAM += -s +endif + +export DEB_HOST_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE) +export DEB_BUILD_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE) + +# FOR AUTOCONF 2.52 AND NEWER ONLY +ifeq ($(DEB_BUILD_GNU_TYPE), $(DEB_HOST_GNU_TYPE)) + CONFFLAGS += --build $(DEB_HOST_GNU_TYPE) +else + CONFFLAGS += --build $(DEB_BUILD_GNU_TYPE) --host $(DEB_HOST_GNU_TYPE) +endif + +configure: configure-stamp + +configure-stamp: + dh_testdir + rm -f config.sub config.guess + ln -s /usr/share/misc/config.sub config.sub + ln -s /usr/share/misc/config.guess config.guess + rm -f src/config.h + # Add here commands to configure the package. + CFLAGS="$(CFLAGS)" ./configure $(CONFFLAGS) --with-gtk=gtk2 --prefix=/usr --exec-prefix=/usr --mandir=\$${prefix}/share/man --sbindir=\$${prefix}/sbin + touch configure-stamp + +build: build-stamp + +build-stamp: configure-stamp + dh_testdir + + # Add here commands to compile the package. + $(MAKE) + $(MAKE) -C src nvdump + + touch build-stamp + +clean: + dh_testdir + dh_testroot + + # Add here commands to clean up after the build process. + -$(MAKE) clean + -test -f src/Makefile || (cd src ; ./configure) + -$(MAKE) -C src distclean + rm -f build-stamp configure-stamp + rm -f src/config.cache src/config.status src/config.log src/Makefile man/Makefile config.log config.cache config.status Makefile config.sub config.guess src.config.h + rm -f src/nvdump + + dh_clean + +install: build + dh_testdir + dh_testroot + dh_clean -k + dh_installdirs + + # Add here commands to install the package into debian/nvtv. + #$(MAKE) install DESTDIR=$(CURDIR)/debian/nvtv + $(INSTALL_PROGRAM) -m 755 src/nvtvd debian/nvtv/usr/sbin/ + $(INSTALL_PROGRAM) -m 755 src/nvtv debian/nvtv/usr/bin/ + $(INSTALL_PROGRAM) -m 755 src/nvdump debian/nvtv/usr/sbin/ + +# Build architecture-independent files here. +binary-indep: build install +# We have nothing to do by default. + +# Build architecture-dependent files here. +binary-arch: build install + dh_testdir + dh_testroot + dh_installchangelogs ChangeLog + dh_installdocs + dh_installexamples + dh_install + dh_installmenu + dh_installdebconf + dh_installinit -- defaults 80 + 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 configure --- nvtv-0.4.7.orig/debian/nvtv.dirs +++ nvtv-0.4.7/debian/nvtv.dirs @@ -0,0 +1,2 @@ +usr/bin +usr/sbin --- nvtv-0.4.7.orig/debian/nvtv.docs +++ nvtv-0.4.7/debian/nvtv.docs @@ -0,0 +1,11 @@ +BUGS +FAQ +README +TODO +doc/timing.txt +doc/chips.txt +doc/overview.txt +doc/USAGE +ANNOUNCE +AUTHORS +NEWS --- nvtv-0.4.7.orig/debian/nvtv.menu +++ nvtv-0.4.7/debian/nvtv.menu @@ -0,0 +1 @@ +?package(nvtv):needs="X11" section="Apps/Tools" title="NVidia TV-Out" command="/usr/bin/nvtv" longtitle="NVidia TV-Out control utility" --- nvtv-0.4.7.orig/debian/nvtv.init +++ nvtv-0.4.7/debian/nvtv.init @@ -0,0 +1,68 @@ +#!/bin/bash + +PATH=/sbin:/bin:/usr/sbin:/usr/bin + +DAEMON=/usr/sbin/nvtvd +NAME=nvtvd +DESC="NVidia TV-Out server" + +test -x $DAEMON || exit 0 + +# Include defaults if available +if [ -f /etc/default/nvtv ] +then + . /etc/default/nvtv +fi + +set -e + +case "$1" in + start) + echo -n "Starting $DESC: $NAME" + if start-stop-daemon --quiet --stop --signal 0 --exec $DAEMON + then + echo " already running." + else + if start-stop-daemon --start --quiet --background --exec $DAEMON \ + -- $DAEMON_OPTS + then + echo "." + else + echo "$NAME failed to start." + fi + fi + ;; + stop) + echo -n "Stopping $DESC: $NAME" + if start-stop-daemon --quiet --stop --signal 0 --exec $DAEMON + then + start-stop-daemon --stop --quiet --exec $DAEMON + # Now we wait for it to die + num=0 + while start-stop-daemon --quiet --stop --signal 0 --exec $DAEMON + do + num=$[$num+1] + if [ $num -gt 10 ] + then + echo -n " not died" + break + fi + sleep 1 + done + echo "." + else + echo " not running." + fi + ;; + restart|force-reload) + $0 stop + $0 start + ;; + *) + N=/etc/init.d/$NAME + echo "Usage: $N {start|stop|restart|force-reload}" >&2 + exit 1 + ;; +esac + +exit 0 --- nvtv-0.4.7.orig/debian/nvtv.manpages +++ nvtv-0.4.7/debian/nvtv.manpages @@ -0,0 +1,3 @@ +man/nvdump.8 +man/nvtv.1x +man/nvtvd.8