--- qmc-0.94.orig/debian/changelog +++ qmc-0.94/debian/changelog @@ -0,0 +1,31 @@ +qmc (0.94-3.1) unstable; urgency=medium + + * Non-maintainer upload. + * Update DH level to 10. (Closes: #817645) + * debian/compat: updated to 10. + * debian/control: + - Bumped Standards-Version to 3.9.8. + + -- Giovani Augusto Ferreira Thu, 15 Dec 2016 15:17:57 -0200 + +qmc (0.94-3) unstable; urgency=low + + * Suggest only www-browser again, this in the real virtual package + and mozilla-firebird's provides is a bug + * run sensible-browser instead of x-www-browser + + -- Rene Engelhard Mon, 22 Dec 2003 20:27:16 +0100 + +qmc (0.94-2) unstable; urgency=low + + * Suggest: www-browser | x-www-browser till that issue gets + ironed out; see debian-devel + + -- Rene Engelhard Sat, 13 Dec 2003 18:35:27 +0100 + +qmc (0.94-1) unstable; urgency=low + + * Initial Release. + + -- Rene Engelhard Thu, 13 Nov 2003 03:37:40 +0100 + --- qmc-0.94.orig/debian/compat +++ qmc-0.94/debian/compat @@ -0,0 +1 @@ +10 --- qmc-0.94.orig/debian/control +++ qmc-0.94/debian/control @@ -0,0 +1,15 @@ +Source: qmc +Section: science +Priority: optional +Maintainer: Rene Engelhard +Build-Depends: debhelper (>= 10), dpatch +Standards-Version: 3.9.8 + +Package: qmc +Architecture: any +Depends: ${shlibs:Depends}, ${misc:Depends} +Recommends: wish +Suggests: www-browser +Description: Quine McClusky Simplification Tool + This tool optimizes boolean expressions using the Quine McClusky + process. --- qmc-0.94.orig/debian/copyright +++ qmc-0.94/debian/copyright @@ -0,0 +1,11 @@ +This package was debianized by Rene Engelhard on +Sun, 2 Nov 2003 01:24:58 +0100. + +It was downloaded from http://qmc.pollaknet.at/ + +Upstream Author: Thomas Pollak + +Copyright: + +GNU GPL, on Debian systems you can find the full text of the GPL +under /usr/share/common-licenses/GPL --- qmc-0.94.orig/debian/dirs +++ qmc-0.94/debian/dirs @@ -0,0 +1 @@ +usr/bin --- qmc-0.94.orig/debian/docs +++ qmc-0.94/debian/docs @@ -0,0 +1 @@ +TODO --- qmc-0.94.orig/debian/links +++ qmc-0.94/debian/links @@ -0,0 +1 @@ +usr/share/man/man1/qmc.1.gz /usr/share/man/man1/qmc-gui.1.gz --- qmc-0.94.orig/debian/patches/00list +++ qmc-0.94/debian/patches/00list @@ -0,0 +1,2 @@ +01_wish_in_shebang +02_run_sensible-browser --- qmc-0.94.orig/debian/patches/01_wish_in_shebang.dpatch +++ qmc-0.94/debian/patches/01_wish_in_shebang.dpatch @@ -0,0 +1,36 @@ +#!/bin/sh -e +## 01_wish_in_shebang.dpatch by Rene Engelhard +## +## All lines beginning with `## DP:' are a description of the patch. +## DP: No description. + +if [ $# -ne 1 ]; then + echo >&2 "`basename $0`: script expects -patch|-unpatch as argument" + exit 1 +fi + +[ -f debian/patches/00patch-opts ] && . debian/patches/00patch-opts +patch_opts="${patch_opts:--f --no-backup-if-mismatch}" + +case "$1" in + -patch) patch $patch_opts -p1 < $0;; + -unpatch) patch $patch_opts -p1 -R < $0;; + *) + echo >&2 "`basename $0`: script expects -patch|-unpatch as argument" + exit 1;; +esac + +exit 0 + +@DPATCH@ +diff -urNad /home/rene/Debian/Pakete/ITP/qmc/qmc-0.94/qmc-gui.tcl qmc-0.94/qmc-gui.tcl +--- /home/rene/Debian/Pakete/ITP/qmc/qmc-0.94/qmc-gui.tcl 2003-10-30 16:30:21.000000000 +0100 ++++ qmc-0.94/qmc-gui.tcl 2003-12-03 04:45:56.000000000 +0100 +@@ -1,6 +1,4 @@ +-#!/bin/sh +-#\ +-exec wish "$0" ++#!/usr/bin/wish + + set qmc(status) "Status: waiting for input" + set qmc(output) "" --- qmc-0.94.orig/debian/patches/02_run_sensible-browser.dpatch +++ qmc-0.94/debian/patches/02_run_sensible-browser.dpatch @@ -0,0 +1,37 @@ +#!/bin/sh -e +## 02_run_sensible-browser.dpatch by Rene Engelhard +## +## All lines beginning with `## DP:' are a description of the patch. +## DP: No description. + +if [ $# -ne 1 ]; then + echo >&2 "`basename $0`: script expects -patch|-unpatch as argument" + exit 1 +fi + +[ -f debian/patches/00patch-opts ] && . debian/patches/00patch-opts +patch_opts="${patch_opts:--f --no-backup-if-mismatch}" + +case "$1" in + -patch) patch $patch_opts -p1 < $0;; + -unpatch) patch $patch_opts -p1 -R < $0;; + *) + echo >&2 "`basename $0`: script expects -patch|-unpatch as argument" + exit 1;; +esac + +exit 0 + +@DPATCH@ +diff -urNad /home/rene/Debian/Pakete/ITP/qmc/qmc-0.94/qmc-gui.tcl qmc-0.94/qmc-gui.tcl +--- /home/rene/Debian/Pakete/ITP/qmc/qmc-0.94/qmc-gui.tcl 2003-10-30 16:30:21.000000000 +0100 ++++ qmc-0.94/qmc-gui.tcl 2003-12-03 04:45:12.000000000 +0100 +@@ -13,7 +13,7 @@ + + if {$qmc(opt_browser) > 0} { + exec "qmc" -G $qmc(opt_time) $qmc(opt_av_ast) -s $qmc(equation) > ~/.qmc_gui_tmp +- exec "konqueror" "~/.qmc_gui_tmp" & ++ exec "sensible-browser" "~/.qmc_gui_tmp" & + } else { + exec "qmc" $qmc(opt_table) $qmc(opt_time) $qmc(opt_av_ast) -s $qmc(equation) > ~/.qmc_gui_tmp + set fp [open "~/.qmc_gui_tmp" r] --- qmc-0.94.orig/debian/qmc.1 +++ qmc-0.94/debian/qmc.1 @@ -0,0 +1,69 @@ +.TH QMC: "1" "November 2003" "QMC: simplification tool (by using the Quine - McClusky process)" "User Commands" +.SH NAME +QMC: \- simplification tool (by using the Quine - McClusky process) +.SH SYNOPSIS +.B qmc +[\fIOPTION\fR] +.SH DESCRIPTION +Simplification tool by using the Quine - McClusky process. +.SH OPTIONS +.TP +\fB\-a\fR, \fB\-\-avoidast\fR +avoid astericks at the output +.HP +\fB\-d\fR, \fB\-\-describesyntax\fR descibe the syntax for the EQU +.TP +\fB\-g\fR, \fB\-\-gettable\fR +get boolean table +.TP +\fB\-G\fR \fB\-\-gethtmltable\fR +get boolean table as HTML output +.TP +\fB\-h\fR, \fB\-\-help\fR +display this help and exit +.TP +\fB\-p\fR, \fB\-\-prompt\fR +prompt for equation +.TP +\fB\-s\fR, \fB\-\-source\fR EQU +set one side of the equation +.TP +\fB\-t\fR, \fB\-\-table\fR +set boolean table +.TP +\fB\-T\fR, \fB\-\-time\fR +display used time +.TP +\fB\-v\fR, \fB\-\-verbose\fR +print progress +.TP +\fB\-\-version\fR +output version information and exit +.SS "A few samples:" +.IP +qmc \fB\-s\fR "/[a+b]*[/b*c]" +qmc \fB\-g\fR \fB\-s\fR "x + //y * [ z + /z * y ] * 1" +qmc \fB\-T\fR \fB\-s\fR "a*/b+c+d+e*/c+f*e" +qmc \fB\-p\fR +.IP +(symbols are recognized as single char's) +.PP +Project Home: http://qmc.pollaknet.at +.br +Please report bugs to . +.SH COPYRIGHT +Copyright \(co 2000 Thomas Pollak +.PP +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 any later version. +.PP +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. +.PP +You should have received a copy of the GNU General Public License +along with this program; if not, write to the Free Software +Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. --- qmc-0.94.orig/debian/rules +++ qmc-0.94/debian/rules @@ -0,0 +1,72 @@ +#!/usr/bin/make -f + +#export DH_VERBOSE=1 + +include /usr/share/dpatch/dpatch.make + +CFLAGS = -Wall -g + +ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS))) + CFLAGS += -O0 +else + CFLAGS += -O2 +endif +ifeq (,$(findstring nostrip,$(DEB_BUILD_OPTIONS))) + INSTALL_PROGRAM += -s +endif +CXX=g++ +CFLAGS+= -I. + +configure: configure-stamp +configure-stamp: patch-stamp + dh_testdir + touch configure-stamp + + +build: build-stamp + +build-stamp: configure-stamp + dh_testdir + + for i in *.cc; do $(CXX) $(CFLAGS) -c $$i; done && $(CXX) -o qmc *.o + touch build-stamp + +clean: unpatch + dh_testdir + dh_testroot + rm -f build-stamp configure-stamp + + rm -rf qmc *.o + dh_clean + +install: build + dh_testdir + dh_testroot + dh_clean -k + dh_installdirs + + install -m755 qmc debian/qmc/usr/bin + install -m755 qmc-gui.tcl debian/qmc/usr/bin/qmc-gui + +binary-indep: build install + +binary-arch: build install + dh_testdir + dh_testroot + dh_installchangelogs ChangeLog + dh_installdocs + dh_installexamples + dh_installmenu + dh_installman debian/qmc.1 + 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