xcalib (0.8.dfsg1-2) debian-dir only changes

Summary

 debian/README.Debian   |   18 ++++++++++++
 debian/changelog       |   23 ++++++++++++++++
 debian/compat          |    1 
 debian/control         |   16 +++++++++++
 debian/copyright       |   44 +++++++++++++++++++++++++++++++
 debian/dirs            |    1 
 debian/docs            |    1 
 debian/rules           |   69 +++++++++++++++++++++++++++++++++++++++++++++++++
 debian/watch           |    4 ++
 debian/xcalib.1        |   41 +++++++++++++++++++++++++++++
 debian/xcalib.manpages |    1 
 11 files changed, 219 insertions(+)

    
download this patch

Patch contents

--- xcalib-0.8.dfsg1.orig/debian/xcalib.manpages
+++ xcalib-0.8.dfsg1/debian/xcalib.manpages
@@ -0,0 +1 @@
+debian/xcalib.1
--- xcalib-0.8.dfsg1.orig/debian/README.Debian
+++ xcalib-0.8.dfsg1/debian/README.Debian
@@ -0,0 +1,18 @@
+xcalib for Debian
+-----------------
+
+You are very encouraged to read upstream README where it's explained ICC,
+VCGT tags and monitor calibration and profiling philosophy.
+
+If you are using xcalib on an Apple MacBook, OSX provides you some profiles:
+
+MacBook C2D (new MacBook Pro):
+/Library/ColorSync/Profiles/Displays/Color\ LCD-4271780.icc
+MacBook Pro CoreDuo (old MacBook Pro):
+/Library/ColorSync/Profiles/Displays/Color\ LCD-4271800.icc
+MacBook (not Pro) C2D (new MacBook):
+/Library/ColorSync/Profiles/Displays/Color\ LCD-4271780.icc
+
+(from http://gentoo-wiki.com/HARDWARE_Apple_MacBook#Colour_Profile)
+
+ -- Jorge Salamero Sanz <bencer@cauterized.net>  Thu, 30 Aug 2007 13:30:07 +0200
--- xcalib-0.8.dfsg1.orig/debian/xcalib.1
+++ xcalib-0.8.dfsg1/debian/xcalib.1
@@ -0,0 +1,41 @@
+.TH "XCALIB" "1" "07 July 2007" "Stefan Dohla" "xcalib"
+.SH "NAME" 
+xcalib \- Tiny monitor calibration loader for Xorg. 
+.SH "SYNOPSIS" 
+.PP 
+\fBxcalib [\fB-options\fR] ICCPROFILE
+.SH "DESCRIPTION" 
+.PP 
+\fBxcalib\fR loads 'vcgt'-tag of ICC profiles to the X-server using the
+XVidMode Extension in order to calibrate your display.
+.SH "OPTIONS"
+.IP "\fB-d\fP, \fB-display <host:dpy>\fP" 10
+.IP "\fB-s\fP, \fB-screen <screen-#>\fP" 10
+.IP "\fB-c\fP, \fB-clear\fP" 10
+.IP "\fB-n\fP, \fB-noaction\fP" 10
+.IP "\fB-v\fP, \fB-verbose\fP" 10
+.IP "\fB-p\fP, \fB-printramps\fP" 10
+.IP "\fB-l\fP, \fB-loss\fP" 10
+.IP "\fB-i\fP, \fB-invert\fP" 10
+.IP "\fB-gc\fP, \fB-gammacor <gamma>\fP" 10
+.IP "\fB-b\fP, \fB-brightness <percent>\fP" 10
+.IP "\fB-co\fP, \fB-contrast <percent>\fP" 10
+.IP "\fB-red <gamma> <brightness-percent> <contrast-percent>\fP" 10
+.IP "\fB-green <gamma> <brightness-percent> <contrast-percent>\fP" 10
+.IP "\fB-blue <gamma> <brightness-percent> <contrast-percent>\fP" 10
+.IP "\fB-a\fP, \fB-alter\fP" 10
+.IP "\fB-h\fP, \fB-help\fP" 10
+.IP "\fB-version\fP" 10
+.PP
+Last parameter MUST be an ICC profile containing a vcgt or mLUT tag
+or empty if the "-a" or "-alter" paramter is used or the LUT is to
+be cleared.
+.SH "SEE ALSO" 
+.PP 
+Homepage: <http://www.etg.e-technik.uni-erlangen.de/web/doe/xcalib/> 
+.SH "AUTHOR" 
+Stefan Dohla <stefan AT doehla DOT de>
+.PP 
+.SH "OTHER"
+.PP
+This manual page was written by Jorge Salamero Sanz <bencer@cauterized.net> for the Debian GNU/Linux system (but may be used by others). Permission is granted to copy, distribute and/or modify this document under the terms of the GNU General Public License version 2 or any later version published by the Free Software Foundation.
--- xcalib-0.8.dfsg1.orig/debian/compat
+++ xcalib-0.8.dfsg1/debian/compat
@@ -0,0 +1 @@
+5
--- xcalib-0.8.dfsg1.orig/debian/docs
+++ xcalib-0.8.dfsg1/debian/docs
@@ -0,0 +1 @@
+README
--- xcalib-0.8.dfsg1.orig/debian/dirs
+++ xcalib-0.8.dfsg1/debian/dirs
@@ -0,0 +1 @@
+/usr/bin
--- xcalib-0.8.dfsg1.orig/debian/copyright
+++ xcalib-0.8.dfsg1/debian/copyright
@@ -0,0 +1,44 @@
+This package was debianized by Jorge Salamero Sanz <bencer@cauterized.net> on
+Tue, 19 Jun 2007 19:51:47 +0200.
+
+It was downloaded from <http://www.etg.e-technik.uni-erlangen.de/web/doe/xcalib/>
+
+Files deleted on the DFSG version (not properly licensed) or non-free:
+
+  AdobeGammaTest.icm
+  bluish.icc
+  fglrx/
+  gamma_1_0.icc
+  gamma_2_2_bright.icc
+  gamma_2_2.icc
+  gamma_2_2_lowContrast.icc
+
+Upstream Author:
+
+    Stefan Dohla <stefan AT doehla DOT de>
+
+Copyright:
+
+    Copyright (C) 2004-2007 Stefan Dohla <stefan AT doehla DOT de>
+
+License:
+
+   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; version 2 dated June, 1991.
+
+   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 package; if not, write to the Free Software
+   Foundation, Inc., 51 Franklin St, Fifth Floor, Boston,
+   MA 02110-1301, USA.
+
+On Debian systems, the complete text of the GNU General Public License
+can be found in the file `/usr/share/common-licenses/GPL-2'.
+
+The Debian packaging is (C) 2007, Jorge Salamero Sanz <bencer@cauterized.net>
+and is licensed under the GPL, see `/usr/share/common-licenses/GPL'.
--- xcalib-0.8.dfsg1.orig/debian/control
+++ xcalib-0.8.dfsg1/debian/control
@@ -0,0 +1,16 @@
+Source: xcalib
+Section: x11
+Priority: extra
+Maintainer: Jorge Salamero Sanz <bencer@debian.org>
+Build-Depends: debhelper (>= 5), libxxf86vm-dev, libxext-dev
+Standards-Version: 3.8.0
+Homepage: http://xcalib.sourceforge.net/
+
+Package: xcalib
+Architecture: any
+Depends: ${shlibs:Depends}
+Suggests: icc-profiles
+Description: Tiny monitor calibration loader for Xorg
+ xcalib loads 'vcgt'-tag of ICC profiles to the X-server
+ using the XVidMode Extension in order to calibrate your
+ display.
--- xcalib-0.8.dfsg1.orig/debian/watch
+++ xcalib-0.8.dfsg1/debian/watch
@@ -0,0 +1,4 @@
+# watch control file for uscan
+version=3
+opts=dversionmangle=s/\.dfsg\d+$// \
+http://sf.net/xcalib/xcalib-source-(.+)\.tar\.gz
--- xcalib-0.8.dfsg1.orig/debian/rules
+++ xcalib-0.8.dfsg1/debian/rules
@@ -0,0 +1,69 @@
+#!/usr/bin/make -f
+
+# Uncomment this to turn on verbose mode.
+#export DH_VERBOSE=1
+
+XCALIB_VERSION = 0.8
+
+CFLAGS = -Wall -g
+
+ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS)))
+	CFLAGS += -O0
+else
+	CFLAGS += -O2
+endif
+
+configure: configure-stamp
+
+configure-stamp:
+	dh_testdir
+
+	touch $@
+
+build: build-stamp
+
+build-stamp: configure-stamp 
+	dh_testdir
+	
+	$(CC) $(CFLAGS) -c xcalib.c -DXCALIB_VERSION=\"$(XCALIB_VERSION)\"
+	$(CC) $(CFLAGS) -lm -o xcalib xcalib.o -lX11 -lXxf86vm -lXext
+	
+	touch $@
+
+clean:
+	dh_testdir
+	dh_testroot
+	rm -f build-stamp configure-stamp
+	
+	rm -f xcalib.o xcalib
+	
+	dh_clean 
+
+install: build
+	dh_testdir
+	dh_testroot
+	dh_clean -k
+	dh_installdirs
+	
+	install -o 0 -g 0 -m 0755 xcalib $(CURDIR)/debian/xcalib/usr/bin/xcalib
+
+binary-indep:
+
+binary-arch: build install
+	dh_testdir
+	dh_testroot
+	dh_installdocs
+	dh_installchangelogs
+	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
--- xcalib-0.8.dfsg1.orig/debian/changelog
+++ xcalib-0.8.dfsg1/debian/changelog
@@ -0,0 +1,23 @@
+xcalib (0.8.dfsg1-2) unstable; urgency=low
+
+  * Added Homepage header.
+  * Updated Standards-Version.
+  * Updated the watch file.
+  * Minor updates on debian/rules.
+  * Changed to <bencer@debian.org> address.
+
+ -- Jorge Salamero Sanz <bencer@debian.org>  Wed, 09 Jul 2008 12:49:18 +0200
+
+xcalib (0.8.dfsg1-1.1) unstable; urgency=medium
+
+  * Non-maintainer upload.
+  * Add build-dep on libxext-dev (Closes: #486993, #453047)
+
+ -- Moritz Muehlenhoff <jmm@debian.org>  Fri, 27 Jun 2008 22:50:53 +0200
+
+xcalib (0.8.dfsg1-1) unstable; urgency=low
+
+  *  Initial release (Closes: #429618).
+  *  Repackaged upstream release to meet the DFSG.
+
+ -- Jorge Salamero Sanz <bencer@cauterized.net>  Thu, 30 Aug 2007 13:29:09 +0200