Bug#128669: psptools fixes for psplpr blocking and usage problem

2002-01-10 Thread Don
Package: psptools
Version: 1.2.2-6
Severity: normal

This diff corrects the upstream psplpr source. The --lpr option is still needed
even when -Pprinter is used contrary to the man page. The --lpr is also
needed when using psplpr as a filter with the -o or --output option. They should
be mutually exclusive. Setting the default $used_lpr_prog = $lpr_prog at the
beginning of psplpr is one solution or just continue to use the --lpr option 
even if 
used as a filter. This diff makes psplpr work without exporting a PRINTER 
environment 
variable before starting the driver.

Ref: this fixes #26831 item 3 

Diff dated 10 Jan 02 to psptools.pl.in dated 3 July 1996:

818c818
< } elsif ($args[0] eq "-${lopt_prefix}lpr") {
---
> } elsif ($args[0] eq "--${lopt_prefix}lpr") {
820c820
< } elsif ($args[0] eq "-${lopt_prefix}lp") {
---
> } elsif ($args[0] eq "--${lopt_prefix}lp") {



Here is a small enhancement to fix outstanding report #27273

Diff dated 10 Jan 02 to psptools.pl.in dated 3 July 1996:

821a822,825
> } elsif ($args[0] eq "-${opt_prefix}P") {
> $printer = $args[1];
> usage(1) if (($printer = $args[1]) eq '');
> $used_prog_lpr = $prog_lpr;


Maybe some maintainer can plug these into the debian diff to
the source package instead of waiting for the source to change?

[EMAIL PROTECTED]
10 January 2002



Bug#129287: psptools: try this patch -P0 on psplpr.pl.in, supercedes #128669

2002-01-14 Thread Don
Package: psptools
Version: 1.2.2-6
Severity: normal

This diff supercedes my #128669. There are some corrections
to the original source with a few extras, for example: 

1. The psplpr looks for %!PS-Adobe-3.0 instead of %!PS on the first line.
The PPD allfeatures are more likely to be prepended to the beginning
of the file unless the file is really DSC compliant. The parser also must have
the %%BeginSetup and %%BeginProlog, for example, in a DSC document for those
types of PPD features. So, prepending allfeatures should be more reliable.

2. The psplprdict can cause errors and is probably not used much.
The psplprprolog should not now be included routinely. Anybody who
used the /pagesetup def could see a change.

3. The -P printer form is now included. That was an outstanding item.
The old -Pprinter is still there. The rest should be easy to see. 
My perl is still not good enough.


Don
[EMAIL PROTECTED]



--- psptools-1.2.2.orig/src/psplpr.pl.inWed Jul  3 04:49:28 1996
+++ psptools-1.2.2/src/psplpr.pl.in Mon Jan 14 16:24:08 2002
@@ -33,6 +33,8 @@
 require 'ppd.pl';
 require 'printer.pl';
 
+$used_prog_lpr = $prog_lpr; # default value (overridden by --output)
+
 #
 # tell_user(what)
 #
@@ -157,7 +159,7 @@
++$dictsz if $pagesetup;
 }
 
-return unless $dictsz;
+return unless ($dictsz > 1);
 
 if (!$nodsc) {
print "%%BeginResource: procset psplpr\n";
@@ -290,8 +292,8 @@
print "$who\n";
print "%%BoundingBox: 0 0 0 0\n%%Pages: 0\n";
print "%%EndComments\n";
-} else {
-print "%!\n";
+#} else {
+#print "%!\n";
 }
 
 if (!$doc) {
@@ -346,7 +348,7 @@
 }
 
 if (!$doc) {
-   print "psplprdict begin psplprsetup end\n";
+   print "psplprdict begin psplprsetup end\n" if 
countfeatures('PageSetup');
 }
 
 if ($doc && $dsc) {
@@ -507,22 +509,32 @@
 ignoredeps('ExitServer');
 ignoredeps('JCLSetup');
 
+local ($allout) = 0;
+
 $_ = readpsline($conformant);
 
 if (!$_) {
-   %all_options = outputallfeatures($nodsc, !$dirty, $safer,
-   $nonstd, $special);
+print "%!\n%%Creator: psplpr " . localtime() . "\n";
+print "%%EndComments\n";
+print "%\n% " . $myname . ": outputing all features... \n";
+   %all_options = outputallfeatures($nodsc, 666, $safer,
+   $nonstd, $special) unless $allout;
+$allout = 1;
 } else {
$_ =~ s/^\004//;
 
local($bad);
 
-   if ($dirty || ($bad = !/^%!PS/)) {
+   if ($dirty || ($bad = !/^%!PS-Adobe-3/)) {
+print;
+print "% " . $myname .": Looking for PS-Adobe-3.0 DSC conforming 
document...\n"; 
+print "% " . $myname .": with %%BeginProlog, %%BeginSetup, 
%%EndComments, etc. ... or\n";
+print "% " . $myname .": prepending! (not DSC compliant) at " . 
localtime() . "\n%\n";
local($first) = $_;
-
+
%all_options = outputallfeatures($nodsc, 0, $safer, $nonstd,
-   $special);
-
+   $special) unless $allout;
+$allout = 1;
if ($bad && !$dontglob) {
$glob = 1;
}
@@ -538,13 +550,19 @@
 
++$lineno;
 
+   
if (/^%%Begin/) {
$in_comment = 1;
} elsif (/^%%End/) {
$in_comment = 0;
}
 
-   if (/^%%BeginProlog/) {
+if (/^%%EndComments/) {
+print "%%Modified: by psplpr ".localtime()."\n" if $nodsc >= 0;
+print if $nodsc >= 0;
+outputallfeatures ($nodsc, 0 ,$safer, $nonstd, $special) 
unless $allout;
+$allout = 1;
+   } elsif (/^%%BeginProlog/) {
print if $nodsc >= 0;
($_, $ps) = readfeatures($glob, $conformant, !$inc, !$chg,
$del, $nodsc);
@@ -598,7 +616,7 @@
}
 
if (/^%%Page:/) {
-   local($addsc) = 0;
+   local($adddsc) = 0;
 
if (!$prolog_output) {
outputfeatures('Prolog', $nodsc, $safer, $nonstd,
@@ -815,10 +833,15 @@
$opt_output = $args[1];
usage(1) if (!$opt_output);
shift @args;
-} elsif ($args[0] eq "-${lopt_prefix}lpr") {
+} elsif ($args[0] eq "--${lopt_prefix}lpr") {
$used_prog_lpr = $prog_lpr;
-} elsif ($args[0] eq "-${lopt_prefix}lp") {
+} elsif ($args[0] eq "--${lopt_prefix}lp") {
$used_prog_lpr = $prog_lp;
+} elsif ($args[0] eq "-${opt_prefix}P") {
+$printer = $args[1];
+usage(1) if (($printer = $args[1]) eq '');
+$used_prog_lpr = $prog_lpr;
+shift @args;
 } elsif ($args[0] eq "--${lopt_prefix}verbose") {
 $opt_verbose = 1;
 } elsif ($args[0] eq "-${opt_prefix}q"



Bug#129414: psptools: try this patch -p0 on psplpr.pl.in instead of #129287

2002-01-15 Thread Don
Package: psptools
Version: 1.2.2-6
Severity: normal

This diff supercedes my previous #129287 and #128669.

1. My custom output of allfeatures after the EndComments is removed.
I found the outstanding problem with some lines being dropped or duplicated 
in the final postscript output and want those to be fixed first.

2. There are some changes added that my solve that show stopper.
This works on some postscript. The input file is a big variable so a variety
of tests would be needed. Files from dvips could be a problem because
the psplpr tries to replace the dvips %%Feature: . The program maybe should
be used as a filter first and the output examined before printing and
before any regular use.

3. My perl is too poor to really figure this out.

4. If this is good enough then the following diff can be added to the
existing debian package building diff for pstools.


Don
[EMAIL PROTECTED]







--- psptools-1.2.2.orig/src/psplpr.pl.inWed Jul  3 04:49:28 1996
+++ psptools-1.2.2/src/psplpr.pl.in Tue Jan 15 15:34:56 2002
@@ -33,6 +33,8 @@
 require 'ppd.pl';
 require 'printer.pl';
 
+$used_prog_lpr = $prog_lpr; # default value (overridden by --output)
+
 #
 # tell_user(what)
 #
@@ -157,7 +159,7 @@
++$dictsz if $pagesetup;
 }
 
-return unless $dictsz;
+return unless ($dictsz > 1);
 
 if (!$nodsc) {
print "%%BeginResource: procset psplpr\n";
@@ -290,8 +292,8 @@
print "$who\n";
print "%%BoundingBox: 0 0 0 0\n%%Pages: 0\n";
print "%%EndComments\n";
-} else {
-print "%!\n";
+#} else {
+#print "%!\n";
 }
 
 if (!$doc) {
@@ -346,7 +348,7 @@
 }
 
 if (!$doc) {
-   print "psplprdict begin psplprsetup end\n";
+   print "psplprdict begin psplprsetup end\n" if 
countfeatures('PageSetup');
 }
 
 if ($doc && $dsc) {
@@ -507,22 +509,32 @@
 ignoredeps('ExitServer');
 ignoredeps('JCLSetup');
 
+local ($allout) = 0;
+
 $_ = readpsline($conformant);
 
 if (!$_) {
-   %all_options = outputallfeatures($nodsc, !$dirty, $safer,
-   $nonstd, $special);
+print "%!\n%%Creator: psplpr " . localtime() . "\n";
+print "%%EndComments\n";
+print "%\n% " . $myname . ": outputing all features... \n";
+   %all_options = outputallfeatures($nodsc, 666, $safer,
+   $nonstd, $special) unless $allout;
+$allout = 1;
 } else {
$_ =~ s/^\004//;
 
local($bad);
 
-   if ($dirty || ($bad = !/^%!PS/)) {
+   if ($dirty || ($bad = !/^%!PS-Adobe-3/)) {
+print;
+print "% " . $myname .": Looking for PS-Adobe-3.0 DSC conforming 
document...\n"; 
+print "% " . $myname .": with %%BeginProlog, %%BeginSetup, 
%%EndComments, etc. ... or\n";
+print "% " . $myname .": prepending! (not DSC compliant) at " . 
localtime() . "\n%\n";
local($first) = $_;
-
+
%all_options = outputallfeatures($nodsc, 0, $safer, $nonstd,
-   $special);
-
+   $special) unless $allout;
+$allout = 1;
if ($bad && !$dontglob) {
$glob = 1;
}
@@ -538,12 +550,23 @@
 
++$lineno;
 
+   
if (/^%%Begin/) {
$in_comment = 1;
} elsif (/^%%End/) {
$in_comment = 0;
}
 
+# begin 15jan02 change
+#if (/^%%EndComments/) {
+#print "%%Modified: by psplpr ".localtime()."\n" if $nodsc >= 
0;
+#print if $nodsc >= 0;
+#   $printed = 1;
+#outputallfeatures ($nodsc, 0 ,$safer, $nonstd, $special) 
unless $allout;
+#$allout = 1;
+# end 15jan02 change
+#  } els
+
if (/^%%BeginProlog/) {
print if $nodsc >= 0;
($_, $ps) = readfeatures($glob, $conformant, !$inc, !$chg,
@@ -579,12 +602,16 @@
print "%%BeginSetup\n" unless $nodsc;
}
 
-   if (!/^%%Page/) {
+   if (!/^%%Page/) {
+# next two lines added 15jan02
+#  print if $nodsc >= 0;
+#  $printed = 1;
+
($_, $ps) = readfeatures($glob, $conformant,
!$inc, !$chg, $del, $nodsc, $conforms);
$dontread = 1;
}
-
+   
outputfeatures('DocumentSetup', $nodsc, $safer,
$nonstd, !$conformant, $special);
outputfeatures('AnySetup', $nodsc, $safer, $nonstd,
@@ -598,7 +625,7 @@
}
 
if (/^%%Page:/) {
-

Bug#129437: psptools: try this patch first, cancels previous submits

2002-01-15 Thread Don

Package: psptools
Version: 2.2.1-6
Severity: normal


These are just the bug fixes. The previous additions are not
performing as expected. At least this works and does not affect
the upstream author's approach as my previous patches did.

This would be the best choice for a first attempt in my opinion.
This patch supercedes all of my previous patches.

Don
[EMAIL PROTECTED]


--- psptools-1.2.2.orig/src/psplpr.pl.inWed Jul  3 04:49:28 1996
+++ psptools-1.2.2/src/psplpr.pl.in Tue Jan 15 15:34:56 2002
@@ -33,6 +33,8 @@
 require 'ppd.pl';
 require 'printer.pl';
 
+$used_prog_lpr = $prog_lpr; # default value (overridden by --output)
+
 #
 # tell_user(what)
 #
@@ -157,7 +159,7 @@
++$dictsz if $pagesetup;
 }
 
-return unless $dictsz;
+return unless ($dictsz > 1);
 
 if (!$nodsc) {
print "%%BeginResource: procset psplpr\n";
@@ -346,7 +348,7 @@
 }
 
 if (!$doc) {
-   print "psplprdict begin psplprsetup end\n";
+   print "psplprdict begin psplprsetup end\n" if 
countfeatures('PageSetup');
 }
 
 if ($doc && $dsc) {
@@ -598,7 +625,7 @@
}
 
if (/^%%Page:/) {
-   local($addsc) = 0;
+   local($adddsc) = 0;
 
if (!$prolog_output) {
outputfeatures('Prolog', $nodsc, $safer, $nonstd,
@@ -815,10 +845,15 @@
$opt_output = $args[1];
usage(1) if (!$opt_output);
shift @args;
-} elsif ($args[0] eq "-${lopt_prefix}lpr") {
+} elsif ($args[0] eq "--${lopt_prefix}lpr") {
$used_prog_lpr = $prog_lpr;
-} elsif ($args[0] eq "-${lopt_prefix}lp") {
+} elsif ($args[0] eq "--${lopt_prefix}lp") {
$used_prog_lpr = $prog_lp;
+} elsif ($args[0] eq "-${opt_prefix}P") {
+$printer = $args[1];
+usage(1) if (($printer = $args[1]) eq '');
+$used_prog_lpr = $prog_lpr;
+shift @args;
 } elsif ($args[0] eq "--${lopt_prefix}verbose") {
 $opt_verbose = 1;
 } elsif ($args[0] eq "-${opt_prefix}q"



Bug#129461: psptools: lines still dropped and duplicated

2002-01-16 Thread Don
Package: psptools
Version: 1.2.2-6
Severity: normal

Here is the current problem after my patch #129437.

The psplpr is dropping lines and duplicating lines.
I have tried several solutions and have solved the
problem is some cases yet there could be consequences
because of the large variety of possible postscript.
This program should have an experienced perl programmer
who can follow the code to really fix this.

This could be my last report on this subject unless
eventually I learn enough perl before anybody fixes this.

Don
[EMAIL PROTECTED]


##

this shows a DSC (first line = %!PS) psplpr error
notice the %%BoundingBox is dropped and the %%%Creator is duplicated 

##

267c267,288
< %%%BoundingBox: 54 72 558 720
---
> %%BeginSetup
> %%BeginFeature: *OKColorRenderStyle Saturation
>   globaldict /[EMAIL PROTECTED] known not
> {globaldict begin /[EMAIL PROTECTED] 1 def end}if
>   globaldict /[EMAIL PROTECTED] get 5 ne{
> /DefaultColorRendering
> [null /Saturation null null null]
> globaldict /[EMAIL PROTECTED] get get
> dup null ne{
>   findcolorrendering pop /ColorRendering findresource /ColorRendering
>   defineresource setcolorrendering
> }{pop pop}ifelse
>   }if
>   globaldict /[EMAIL PROTECTED] get 1 eq{
> globaldict begin
>   /[EMAIL PROTECTED] {currentcolorrendering /CRDName get}stopped
> {pop pop null}if def
> end
>   }if
> %%EndFeature
> %%EndSetup
> %%%Creator: Mozilla (NetScape) HTML->PS



##

this shows a non DSC (first line = %!) psplpr error
notice the %%BoundingBox is dropped and the showsheet 
from mpage 2up is duplicated.

##

1a2,21
> %%BeginFeature: *OKColorRenderStyle Saturation
>   globaldict /[EMAIL PROTECTED] known not
> {globaldict begin /[EMAIL PROTECTED] 1 def end}if
>   globaldict /[EMAIL PROTECTED] get 5 ne{
> /DefaultColorRendering
> [null /Saturation null null null]
> globaldict /[EMAIL PROTECTED] get get
> dup null ne{
>   findcolorrendering pop /ColorRendering findresource /ColorRendering
>   defineresource setcolorrendering
> }{pop pop}ifelse
>   }if
>   globaldict /[EMAIL PROTECTED] get 1 eq{
> globaldict begin
>   /[EMAIL PROTECTED] {currentcolorrendering /CRDName get}stopped
> {pop pop null}if def
> end
>   }if
> %%EndFeature
> %!
267c287,306
< %%%BoundingBox: 54 72 558 720
---
> %%BeginSetup
> %%BeginFeature: *OKColorRenderStyle Saturation
>   globaldict /[EMAIL PROTECTED] known not
> {globaldict begin /[EMAIL PROTECTED] 1 def end}if
>   globaldict /[EMAIL PROTECTED] get 5 ne{
> /DefaultColorRendering
> [null /Saturation null null null]
> globaldict /[EMAIL PROTECTED] get get
> dup null ne{
>   findcolorrendering pop /ColorRendering findresource /ColorRendering
>   defineresource setcolorrendering
> }{pop pop}ifelse
>   }if
>   globaldict /[EMAIL PROTECTED] get 1 eq{
> globaldict begin
>   /[EMAIL PROTECTED] {currentcolorrendering /CRDName get}stopped
> {pop pop null}if def
> end
>   }if
> %%EndFeature
274a314,315
> %%EndSetup
> /showsheet { showpage } bind def



Bug#606065: libdb*-tcl should Depend on the appropriate version of tcl

2010-12-05 Thread Don Armstrong
Package: libdb4.6-tcl
Severity: important
Version: 4.6.21-11

The various libdb*-tcl packages should Depend on the version of tcl
that they were compiled against. [This is to avoid issues where the
wrong version of tcl loads the module and fails miserably.]


Don Armstrong

-- 
Science is a way of trying not to fool yourself. The first principle
is that you must not fool yourself, and you are the easiest person to
fool.
 -- Richard Feynman "What is and What Should be the Role of Scientific
Culture in Modern Society"; 1964

http://www.donarmstrong.com  http://rzlab.ucr.edu



-- 
To UNSUBSCRIBE, email to debian-qa-packages-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20101206060119.go16...@teltox.donarmstrong.com



reassign 515238 to gdeb, forcibly merging 515241 515238

2009-02-15 Thread Don Armstrong
reassign 515238 gdeb 
forcemerge 515241 515238


-- 
To UNSUBSCRIBE, email to debian-qa-packages-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Bug#528941: Different voice options with say-epos cause eposd to crash

2009-05-16 Thread Don Davis
Package: epos
Version: 1:2.5.37-7
Severity: normal

The use of different voices with say-epos cause eposd to crash.
The program ends with "Segment number 1261 occurred, but the maximum is 442."


execve("/usr/bin/say-epos", ["say-epos", "--voice", "kubec-int", "hello"], [/* 
35 vars */]) = 0
brk(0)  = 0x605000
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 
0x7f62700fa000
access("/etc/ld.so.nohwcap", F_OK)  = -1 ENOENT (No such file or directory)
mmap(NULL, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 
0x7f62700f8000
access("/etc/ld.so.preload", R_OK)  = -1 ENOENT (No such file or directory)
open("/etc/ld.so.cache", O_RDONLY)  = 3
fstat(3, {st_mode=S_IFREG|0644, st_size=193489, ...}) = 0
mmap(NULL, 193489, PROT_READ, MAP_PRIVATE, 3, 0) = 0x7f62700c8000
close(3)= 0
access("/etc/ld.so.nohwcap", F_OK)  = -1 ENOENT (No such file or directory)
open("/usr/lib/libstdc++.so.6", O_RDONLY) = 3
read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\300g\5\0"..., 832) = 832
fstat(3, {st_mode=S_IFREG|0644, st_size=1019216, ...}) = 0
mmap(NULL, 3191480, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 
0x7f626fbd4000
mprotect(0x7f626fcc4000, 2097152, PROT_NONE) = 0
mmap(0x7f626fec4000, 36864, PROT_READ|PROT_WRITE, 
MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0xf) = 0x7f626fec4000
mmap(0x7f626fecd000, 74424, PROT_READ|PROT_WRITE, 
MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x7f626fecd000
close(3)= 0
access("/etc/ld.so.nohwcap", F_OK)  = -1 ENOENT (No such file or directory)
open("/lib/libm.so.6", O_RDONLY)= 3
read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0P>\0\0\0"..., 832) = 832
fstat(3, {st_mode=S_IFREG|0644, st_size=534736, ...}) = 0
mmap(NULL, 2629848, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 
0x7f626f951000
mprotect(0x7f626f9d3000, 2093056, PROT_NONE) = 0
mmap(0x7f626fbd2000, 8192, PROT_READ|PROT_WRITE, 
MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x81000) = 0x7f626fbd2000
close(3)= 0
access("/etc/ld.so.nohwcap", F_OK)  = -1 ENOENT (No such file or directory)
open("/lib/libgcc_s.so.1", O_RDONLY)= 3
read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0 ,\0\0\0"..., 832) = 832
fstat(3, {st_mode=S_IFREG|0644, st_size=93016, ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 
0x7f62700c7000
mmap(NULL, 2188856, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 
0x7f626f73a000
mprotect(0x7f626f75, 2097152, PROT_NONE) = 0
mmap(0x7f626f95, 4096, PROT_READ|PROT_WRITE, 
MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x16000) = 0x7f626f95
close(3)= 0
access("/etc/ld.so.nohwcap", F_OK)  = -1 ENOENT (No such file or directory)
open("/lib/libc.so.6", O_RDONLY)= 3
read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\300\342"..., 832) = 832
fstat(3, {st_mode=S_IFREG|0755, st_size=1375536, ...}) = 0
mmap(NULL, 3482232, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 
0x7f626f3e7000
mprotect(0x7f626f531000, 2093056, PROT_NONE) = 0
mmap(0x7f626f73, 20480, PROT_READ|PROT_WRITE, 
MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x149000) = 0x7f626f73
mmap(0x7f626f735000, 17016, PROT_READ|PROT_WRITE, 
MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x7f626f735000
close(3)= 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 
0x7f62700c6000
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 
0x7f62700c5000
arch_prctl(ARCH_SET_FS, 0x7f62700c56f0) = 0
mprotect(0x7f626f73, 12288, PROT_READ) = 0
mprotect(0x7f626fec4000, 24576, PROT_READ) = 0
munmap(0x7f62700c8000, 193489)  = 0
brk(0)  = 0x605000
brk(0x62a000)   = 0x62a000
socket(PF_INET, SOCK_STREAM, IPPROTO_TCP) = 3
getpid()= 9965
open("/etc/resolv.conf", O_RDONLY)  = 4
fstat(4, {st_mode=S_IFREG|0644, st_size=42, ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 
0x7f62700f7000
read(4, "domain lan\nsearch lan\nnameserver"..., 4096) = 42
read(4, "", 4096)   = 0
close(4)= 0
munmap(0x7f62700f7000, 4096)= 0
stat("/etc/resolv.conf", {st_mode=S_IFREG|0644, st_size=42, ...}) = 0
open("/etc/resolv.conf", O_RDONLY)  = 4
fstat(4, {st_mode=S_IFREG|0644, st_size=42, ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 
0x7f62700f7000
read(4, "domain lan\nsearch lan\nnameserver"..., 4096) = 42
read(4, "", 4096)   = 0
close(4)= 0
munmap(0x7f62700f7000, 4096)= 0
socket(PF_FILE, SOCK_STREAM, 0) = 4
fcntl(4, F_SETFL, O_RDWR|O_NONBLOCK)= 0
connect(4, {sa_family=AF_FILE, path="/var/run/ns

Bug#514635: #514635 defoma: Use Font::FreeType instead of Freetype.pm

2009-09-16 Thread Don Armstrong
On Wed, 16 Sep 2009, Thomas Dickey wrote:
> The fix is incomplete, since the package dependencies do not include
> libfont-freetype-perl

The package Recommends: libfont-freetype-perl, which is sufficient.


Don Armstrong

-- 
Debian's not really about the users or the software at all. It's a
large flame-generating engine that the cabal uses to heat their coffee
 -- Andrew Suffield (#debian-devel Fri, 14 Feb 2003 14:34 -0500)

http://www.donarmstrong.com  http://rzlab.ucr.edu



-- 
To UNSUBSCRIBE, email to debian-qa-packages-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Bug#514635: #514635 defoma: Use Font::FreeType instead of Freetype.pm

2009-09-16 Thread Don Armstrong
On Wed, 16 Sep 2009, Thomas Dickey wrote:
> On Wed, 16 Sep 2009, Don Armstrong wrote:
> >On Wed, 16 Sep 2009, Thomas Dickey wrote:
> >>The fix is incomplete, since the package dependencies do not include
> >>libfont-freetype-perl
> >
> >The package Recommends: libfont-freetype-perl, which is sufficient.
> 
> dselect didn't note this when I added it.

I don't use dselect, but FWICR, it has options to prompt you about
uninstalled recommends. (aptitude would have installed
libfont-freetype-perl by default, FWIW.)

> The package doesn't run without it.

It runs fine; the only thing that needs libfont-freetype-perl is
defoma-hints, which certainly isn't required to provide a significant
amount of the functionality that defoma provides. See Debian Policy
§7.2 if you're unfamiliar with the distinction between Recommends: and
Depends:.


Don Armstrong

-- 
Taxes are not levied for the benefit of the taxed.
 -- Robert Heinlein _Time Enough For Love_ p250

http://www.donarmstrong.com  http://rzlab.ucr.edu



--
To UNSUBSCRIBE, email to debian-qa-packages-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Bug#514635: #514635 defoma: Use Font::FreeType instead of Freetype.pm

2009-09-16 Thread Don Armstrong
On Wed, 16 Sep 2009, Thomas Dickey wrote:
> I'll keep your opinion in mind.
> 
> It's equivalent to stating that you'll "recommend" tic in ncurses
> and not provide user configurability.

ITYM ncurses-bin.

Making a package Recommends: instead of Depends: hardly deprives users
of functionatliy, especially when the output of the command makes it
clear what needs to be done. If tic pulled in a half a megabyte of
dependencies too, we'd probably also split it out of ncurses-bin, and
make it Recommends: as well.[1]

I should also note too that defoma is going to go away in the
not-to-distant future.


Don Armstrong

1: I certainly can't remember the last time I needed to use tic to
compile a terminfo file, so it's not like its a significant portion of
the functionality that ncurses-bin provides.
-- 
Every gun that is made, every warship launched, every rocket fired
signifies in the final sense, a theft from those who hunger and are
not fed, those who are cold and are not clothed. This world in arms is
not spending money alone. It is spending the sweat of its laborers,
the genius of its scientists, the hopes of its children. This is not a
way of life at all in any true sense. Under the clouds of war, it is
humanity hanging on a cross of iron.
 -- Dwight Eisenhower, April 16, 1953

http://www.donarmstrong.com  http://rzlab.ucr.edu



-- 
To UNSUBSCRIBE, email to debian-qa-packages-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Bug#553280: defoma: read-in-maintainer-script postinst:20

2009-10-31 Thread Don Armstrong
severity 553280 important
thanks

On Thu, 29 Oct 2009, Manoj Srivastava wrote:
>  This maintainer script appears to use read to get information from
>  the user. Prompting in maintainer scripts must be done by
>  communicating through a program such as debconf which conforms to
>  the Debian Configuration management specification, version 2 or
>  higher.

Yeah, this prompting is in a codepath that won't be triggered anymore.
[It's for upgrading from a version of defoma which we don't distribute
anymore, and I didn't notice it when I was making a minimal QA release
previously.]

Since defoma should go away, I'm not going to bother to make a QA
release where I just delete this codepath, but the next time someone
makes an upload (if that actually happens) it should get deleted.
Downgrading to important so people don't needlessly waste time looking
at this bug.


Don Armstrong

-- 
CNN/Reuters: News reports have filtered out early this morning that US
forces have swooped on an Iraqi Primary School and detained 6th Grade 
teacher Mohammed Al-Hazar. Sources indicate that, when arrested,
Al-Hazar was in possession of a ruler, a protractor, a set square and
a calculator. US President George W Bush argued that this was clear
and overwhelming evidence that Iraq indeed possessed weapons of math 
instruction.

http://www.donarmstrong.com  http://rzlab.ucr.edu



-- 
To UNSUBSCRIBE, email to debian-qa-packages-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Bug#231616: defoma: Apply patch, please

2009-11-19 Thread Don Armstrong
tag 231616 - lenny
thanks

On Thu, 19 Nov 2009, martin.st...@jpberlin.de wrote:
> As this patch fixed the problem, and no better solution has appeared
> for 5 years, apply it, please.

Defoma is going to go away relatively rapidly, and it's not being
actively maintained any more. It's unlikely that any additional fixes
will be added outside of sporadic QA uploads to fix particularly
glaring issues.


Don Armstrong

-- 
Quite the contrary; they *love* collateral damage. If they can make
you miserable enough, maybe you'll stop using email entirely. Once
enough people do that, then there'll be no legitimate reason left for
anyone to run an SMTP server, and the spam problem will be solved.
 -- Craig Dickson in <20020909231134.ga18...@linux700.localnet>

http://www.donarmstrong.com  http://rzlab.ucr.edu



-- 
To UNSUBSCRIBE, email to debian-qa-packages-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Bug#255955: Clarification of

2004-08-17 Thread Don Armstrong
Jan-Henrik: I'm e-mailing you to see if you would be willing to clean
up the following problem with the licensing of mmail and mmake (and
any other packages) that you've intended to license under the GPL, but
didn't make it perfectly clear. If you would be willing to okay the
second copyright statement for use in mmake and mmail, that would be
ideal. Alternatively, if you could extract the same language from the
GPL section: licensing your work under the GPL, and respond to this
bug, that would work as well.

To clarify, since Thomas's first message sounded like he was talking
about mmail only (not just mmake), the second issue is that the
copyright statement doesn't actually license the work under the GPL,
even though this is pretty clearly what the author intended.

My original bug was that debian/copyright didn't actually include the
following (I was auditing packages for something wolse when I ran
across this.)

   COPYRIGHT GNUGPL (c) 1998-2001 Jan-Henrik Haukeland <[EMAIL PROTECTED]>

   Redistribution and use with or without modification, are permitted
   provided that the above copyright notice can be reproduced. Please see
   the enclosed GNU GENERAL PUBLIC LICENSE file for complete details.

The above should read something like the following:

   Copyright 1998-2001 Jan-Henrik Haukeland <[EMAIL PROTECTED]>

   This file is part of mmake, and is released under the terms of the
   GPL version 2, or any later version, at your option. See the file
   README and COPYING for more information.

if this is actually licensed under the GPL.

As always, if there are any questions, or anything I can do to help,
don't hesitate to ask.


Don Armstrong

-- 
The sheer ponderousness of the panel's opinion ... refutes its thesis
far more convincingly than anything I might say. The panel's labored
effort to smother the Second Amendment by sheer body weight has all
the grace of a sumo wrestler trying to kill a rattlesnake by sitting
on it--and is just as likely to succeed.
 -- Alex Kozinski in Silveira V Lockyer

http://www.donarmstrong.com
http://rzlab.ucr.edu



Here is a bugfix for xbatt

2008-07-28 Thread Don Wooton
My BIOS reports that the battery is greater than 100% charged.
This causes an array-out-of-bounds core dump.  The attached patch
simply tests for >= 100 rather than == 100 percent charge.


If there is a better way to report this bug, please let me know.

Thank you.

    - Don
*** xbatt-1.2.1.orig/xbatt.c	Mon Jul 28 10:15:47 2008
--- xbatt-1.2.1/xbatt.c	Mon Jul 28 10:16:07 2008
***
*** 523,529 
DefaultScreen(XtDisplay(toplevel;
  	XFillRectangle(XtDisplay(toplevel), xpmData, gc, 18, 18, 13, 7);
  
! 	if (s.remain == 100) {
  	bm = XCreatePixmapFromBitmapData(XtDisplay(toplevel),
  	 XtWindow(toplevel),
  	 full_bits, full_width,
--- 523,529 
DefaultScreen(XtDisplay(toplevel;
  	XFillRectangle(XtDisplay(toplevel), xpmData, gc, 18, 18, 13, 7);
  
! 	if (s.remain >= 100) {
  	bm = XCreatePixmapFromBitmapData(XtDisplay(toplevel),
  	 XtWindow(toplevel),
  	 full_bits, full_width,


signature.asc
Description: Digital signature


BestPharmacyStephen

2008-01-06 Thread Don Joseph
BestStoreErik
http://otibd.othertrain.cn/?532421195051


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Bug#392402: Patch for NMU to fix this bug

2006-10-12 Thread Don Armstrong
tag 392402 patch
thanks

Attached is the patch for the NMU to fix this bug.


Don Armstrong

-- 
"There are two major products that come out of Berkeley: LSD and UNIX.
We don't believe this to be a coincidence."
 -- Jeremy S. Anderson

http://www.donarmstrong.com  http://rzlab.ucr.edu
diff -u sufary-2.1.1/debian/changelog sufary-2.1.1/debian/changelog
--- sufary-2.1.1/debian/changelog
+++ sufary-2.1.1/debian/changelog
@@ -1,3 +1,10 @@
+sufary (2.1.1-7.1) unstable; urgency=low
+
+  * NMU Upload
+  * Stop shipping architecture dependent files in /usr/share (Closes: #392402)
+
+ -- Don Armstrong <[EMAIL PROTECTED]>  Wed, 11 Oct 2006 12:39:05 -0700
+
 sufary (2.1.1-7) unstable; urgency=medium
 
   * QA upload.
diff -u sufary-2.1.1/debian/rules sufary-2.1.1/debian/rules
--- sufary-2.1.1/debian/rules
+++ sufary-2.1.1/debian/rules
@@ -11,13 +11,17 @@
 PERL = /usr/bin/perl
 endif
 TMPDIR =$(CURDIR)/debian/sufary
-archlib =`$(PERL) -MConfig -e 'print $$Config{installarchlib}'`
-config  =INSTALLMAN1DIR=$(TMPDIR)/usr/share/man/man1 
INSTALLMAN3DIR=$(TMPDIR)/usr/share/man/man3 
INSTALLPRIVLIB=$(TMPDIR)/usr/lib/perl5 INSTALLARCHLIB=$(TMPDIR)$(archlib)
+#archlib =`$(PERL) -MConfig -e 'print $$Config{installarchlib}'`
+#config  =INSTALLMAN1DIR=$(TMPDIR)/usr/share/man/man1 
INSTALLMAN3DIR=$(TMPDIR)/usr/share/man/man3 
INSTALLPRIVLIB=$(TMPDIR)/usr/lib/perl5 INSTALLARCHLIB=$(TMPDIR)$(archlib)
 
 build: build-stamp
 build-stamp:
dh_testdir
 
+
+   # First we have to delete some perl detrius that is in the orig.tar.gz
+   rm -f perl/{SUFARY,DID}/Makefile.static.PL perl/DID/Makefile{,old} \
+   perl/SUFARY/Makefile.old
# Add here commands to compile the package.
sed -e 's/$$(OUTPUT_OPTION)//' lib/Makefile >lib/Makefile.new
mv -f lib/Makefile.new lib/Makefile
@@ -45,10 +49,10 @@
$(CC) -O -lm -o af af.o libsufary.so.2)
 
(cd perl/SUFARY &&\
-   $(PERL) ./Makefile.PL $(config) &&\
+   $(PERL) ./Makefile.PL INSTALLDIRS=vendor &&\
$(MAKE) OBJECT=SUFARY.o LD_RUN_PATH="")
(cd perl/DID &&\
-   $(PERL) ./Makefile.PL $(config) &&\
+   $(PERL) ./Makefile.PL INSTALLDIRS=vendor &&\
$(MAKE) LD_RUN_PATH="")
 
touch build-stamp
@@ -111,14 +115,11 @@
>debian/sufary-dev/usr/share/doc/sufary-dev/ReferenceC.txt
 
# libsufary-perl
-   $(MAKE) -C perl/SUFARY PREFIX=$(CURDIR)/debian/libsufary-perl/usr 
pure_perl_install
-   $(MAKE) -C perl/DIDPREFIX=$(CURDIR)/debian/libsufary-perl/usr 
pure_perl_install
+   $(MAKE) -C perl/SUFARY install 
PREFIX=$(CURDIR)/debian/libsufary-perl/usr
+   $(MAKE) -C perl/DIDinstall 
PREFIX=$(CURDIR)/debian/libsufary-perl/usr
perl doc/txt2txt.perl doc/ReferenceP.txt\
>debian/libsufary-perl/usr/share/doc/libsufary-perl/ReferenceP.txt
find debian/libsufary-perl -type f -name .packlist | xargs rm -f
-   mv debian/libsufary-perl/usr/lib/perl/5.* 
debian/libsufary-perl/usr/share/perl5
-   rm -r debian/libsufary-perl/usr/lib/perl 
debian/libsufary-perl/usr/share/perl
-
 
# sufary-tcltk
cp kwicview/fileselecter.tcl kwicview/tclIndex \
only in patch2:
unchanged:
--- sufary-2.1.1.orig/lib/Makefile
+++ sufary-2.1.1/lib/Makefile
@@ -38,6 +38,6 @@
 cls: clean
 
 .c.so:
-   $(CC) -fPIC $(CFLAGS) $(CPPFLAGS) $(TARGET_ARCH) -o $@ -c $< 
$(OUTPUT_OPTION)
+   $(CC) -fPIC $(CFLAGS) $(CPPFLAGS) $(TARGET_ARCH) -o $@ -c $< 
 
 


Re: Bug#789256: cmus: Pulls in unwanted and potentially dangerous DECnet packages through libroar2

2015-06-20 Thread Don Armstrong
On Sat, 20 Jun 2015, Patrick Matthäi wrote:
> Am 20.06.2015 um 19:51 schrieb John Paul Adrian Glaubitz:
> ld the release back because of such ancient
> >>> software?
> > 
> >> OK, so lets drop iceweasel? This is definitly offtopic here
> > 
> > No, we dropped sparc as a release architecture as a result
> > in case you missed that.
> 
> Because of roaraudio? Oh no? Ok this is a realy related issue here... X
> affected Y and Z was the result, so roaraudio is affected. Please
> discuss this with the iceweasel team if you have got enough free time.

Can we please stick with discussing the technical details of this issue
instead of attacking eachother?

There's clearly a bug here, but even after reading this bug log, I've
had to do research on my own to determine what that issue is.

If the libroar2 maintainers which to keep decnet support, then someone
should probably figure out how to circumvent waiting for the DECnet to
settle when it isn't actually configured, and propose a patch to do
that.

Even just checking for the existence of dnet-common or similar would
probably be enough.

-- 
Don Armstrong  http://www.donarmstrong.com



-- 
To UNSUBSCRIBE, email to debian-qa-packages-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: https://lists.debian.org/20150620193825.gh5...@qor.donarmstring.com



psplpr bug with fix

2002-01-09 Thread Jesse Don Hickson III


psptools debian package
psplpr bug about line 820

important, simple

The /usr/bin/psplpr perl script does not work
and completely stops unless these 
changes are made to the psplpr command line
parser section. Notice the single dash and the
long option specification are a contradiction.



#} elsif ($args[0] eq "-${lopt_prefix}lpr") {
} elsif ($args[0] eq "--${lopt_prefix}lpr") {

$used_prog_lpr = $prog_lpr;

#} elsif ($args[0] eq "-${lopt_prefix}lp") {
} elsif ($args[0] eq "--${lopt_prefix}lp") {

$used_prog_lpr = $prog_lp;

The bad code is commented out and the subsequent line is the new good code.


[EMAIL PROTECTED]



psptools perl script fixes enclosed

2002-01-09 Thread Jesse Don Hickson III

Debian package: psptools
File: /usr/bin/psplpr

Debian-

This is really an upstream issue except the 
maintainer is probably the best to know this.

The psplpr program works after the fix in the
command line parser section about line 820.
After the fix, the option is required to be in
a form -Pprinter and stops if -P printer is
used. The script cannot identify the correct
printer if the wrong option is used. The
additional code below can be added to allow
the -P printer type option to work also. 

The addition is not critical and mainly
expands functionality so ... while the bug
is being fixed anyway, please try the
addition. Previously, the environment
variable PRINTER had to exist or else 
the lp printer was used, if any at all.
The -P option comes from lpr when used as a
filter and is not listed in the man page. 

Now the -P option finally works and the
script can identify the printer and 
find the PPD file. The final postscript output 
is fine after the program finally works. :-)

Thanks,
[EMAIL PROTECTED]



# after these lines in /usr/bin/psplpr ... ###

} elsif ($args[0] eq "-${opt_prefix}o"
|| $args[0] eq "--${lopt_prefix}output") {
$opt_output = $args[1];
usage(1) if (!$opt_output);
shift @args;

## add this about here for the -P printer form ###

}elsif ($args[0] eq "-${opt_prefix}P") {
$printer = $args[1];
shift @args;
print STDERR "$myname: found command option -P $printer\n";
$used_prog_lpr = $prog_lpr;

 while fixing these bugs as in my previous email ##

#} elsif ($args[0] eq "-${lopt_prefix}lpr") {  # <-- this line is bad
} elsif ($args[0] eq "--${lopt_prefix}lpr") {  # <-- this finally works
$used_prog_lpr = $prog_lpr;
#} elsif ($args[0] eq "-${lopt_prefix}lp") {   # <-- same problem
} elsif ($args[0] eq "--${lopt_prefix}lp") {   # <-- this works
$used_prog_lpr = $prog_lp;

## that's all of the change ; the -Pprinter form is already in the script ###

:-)

 



about the psplpr man page - my third email

2002-01-09 Thread Jesse Don Hickson III
Debian-
I have used the psplpr program and found a quirk
not mentioned in the man page. The -u options
must be repeated for each feature:
psplpr --lpr -Pprinter -u *PageSize=Letter -u *Resolution=1200dpi -u 
*ScreenProc=Line myfile.ps

To test the technique use -o - to list on stdout.
Be sure the :ty="The Way the PPD identifies the Printer": is in the printcap.
The PPD should be in /usr/share/ppd/en/ for example.

This is my third winter trying to get psplpr to work.
Finally,
The End.

[EMAIL PROTECTED]
:-)



psptools - extra bug - 4th message

2002-01-09 Thread Jesse Don Hickson III
Debian-

Bug report-
Package: psptools
File: /usr/bin/psplpr - perl script for ppd parser
Location: psplpr line 925

I have found the -Pprinter option from upstream is also broken.
My fix for -P printer option works not the stock -Pprinter option.
I mentioned my fix in the previous three messages. I thought
the stock -Pprinter option worked except now find that is broken too.
The psplpr was probably using an extraneous environment variable
for PRINTER= instead of the command line option specified.

Be sure to use psplpr -P printer myfile.ps and 
not the broken psplpr -Pprinter myfile.ps form.

Also, be sure to run mkppddir in the ppd dir and use the printer
name found in the ppd.dir file as the :ty="Printer Name": within the
printcap. The psplpr should work then. Unfortunately, I don't know
enough perl to fix psplpr line 925. Sorry.


Really the end this time, I hope,
[EMAIL PROTECTED]