Bug#440789: gringotts: Gringotts fails to start as installed on 64bit
Package: gringotts Version: 1.2.8+1.2.9pre1-15 Severity: normal When trying to start /usr/bin/gringotts this is what is printed: % /usr/bin/gringotts (process:3427): GLib-WARNING **: getpwuid_r(): failed due to unknown user id (1000) Gringotts version 1.2.9pre1 (libGringotts 1.2.1) (c) 2002 Germano Rizzo <[EMAIL PROTECTED]> released under GNU General Public License (GPL) v.2 or later See COPYING or go to http://www.gnu.org/copyleft/gpl.html (gringotts:3427): Gtk-WARNING **: Locale not supported by C library. Using the fallback 'C' locale. GLib: Cannot convert message: Could not open converter from 'UTF-8' to 'ANSI_X3.4-1968' (gringotts:3427): Gtk-WARNING **: cannot open display: It starts just fine when the binary isn't suid root: % ~/bin/gringotts Gringotts version 1.2.9pre1 (libGringotts 1.2.1) (c) 2002 Germano Rizzo <[EMAIL PROTECTED]> released under GNU General Public License (GPL) v.2 or later See COPYING or go to http://www.gnu.org/copyleft/gpl.html -- System Information: Debian Release: lenny/sid APT prefers unstable APT policy: (990, 'unstable'), (500, 'testing'), (1, 'experimental') Architecture: amd64 (x86_64) Kernel: Linux 2.6.22-1-amd64 (SMP w/2 CPU cores) Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/bash Versions of packages gringotts depends on: ii libatk1.0-0 1.18.0-2The ATK accessibility toolkit ii libc62.6.1-2 GNU C Library: Shared libraries ii libcairo21.4.10-1+b2 The Cairo 2D vector graphics libra ii libfontconfig1 2.4.2-1.2 generic font configuration library ii libglib2.0-0 2.14.0-2The GLib library of C routines ii libgringotts21.2.1-11encapsulate data in an encrypted a ii libgtk2.0-0 2.10.13-1 The GTK+ graphical user interface ii libpango1.0-01.18.1-1Layout and rendering of internatio ii libpopt0 1.10-3 lib for parsing cmdline parameters ii libx11-6 2:1.0.3-7 X11 client-side library ii libxcursor1 1:1.1.9-1 X cursor management library ii libxext6 1:1.0.3-2 X11 miscellaneous extension librar ii libxfixes3 1:4.0.3-2 X11 miscellaneous 'fixes' extensio ii libxi6 2:1.1.2-1 X11 Input extension library ii libxinerama1 1:1.0.2-1 X11 Xinerama extension library ii libxrandr2 2:1.2.1-1 X11 RandR extension library ii libxrender1 1:0.9.3-1 X Rendering Extension client libra gringotts recommends no packages. -- no debconf information -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
mmx-emu REMOVED from testing
FYI: The status of the mmx-emu source package in Debian's testing distribution has changed. Previous version: 0.6-6 Current version: (not in testing) Hint: Package not in unstable The script that generates this mail tries to extract removal reasons from comments in the britney hint files. Those comments were not originally meant to be machine readable, so if the reason for removing your package seems to be nonsense, it is probably the reporting script that got confused. Please check the actual hints file before you complain about meaningless removals. -- This email is automatically generated; [EMAIL PROTECTED] is responsible. See http://people.debian.org/~henning/trille/ for more information. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Bug#440768: (xli -zoom auto) patch improvement
Update: the first version of the patch didn't allow the -zoom auto option to persist across multiple images. This version fixes that. diff -ruNp a/TODO b/TODO --- a/TODO 2000-02-09 04:23:32.0 -0500 +++ b/TODO 2007-09-03 23:31:28.0 -0500 @@ -22,7 +22,6 @@ add vicar reader, copyright Noel Gorelic developed by NASA/JPL.' make fast image scaling a subfeature of -zoom, eliminate -iscale -and add -zoom auto add a TIFF reader? diff -ruNp a/misc.c b/misc.c --- a/misc.c2000-02-09 04:23:33.0 -0500 +++ b/misc.c2007-09-03 22:40:36.0 -0500 @@ -104,6 +104,8 @@ char *tail(char *path) return (t); } +#define MIN(a,b) ( (a)<(b) ? (a) : (b)) + Image *processImage(DisplayInfo *dinfo, Image *iimage, ImageOptions *options) { Image *image = iimage, *tmpimage; @@ -132,6 +134,19 @@ Image *processImage(DisplayInfo *dinfo, image = tmpimage; } /* zoom image */ + if (options->zoom_auto) { + if (image->width > globals.dinfo.width * .9) + options->xzoom = globals.dinfo.width * 90 / image->width; + else + options->xzoom = 100; + if (image->height > globals.dinfo.height * .9) + options->yzoom = globals.dinfo.height * 90 / image->height; + else + options->yzoom = 100; + /* both dimensions should be shrunk by the same factor */ + options->xzoom = options->yzoom = + MIN(options->xzoom, options->yzoom); + } if (options->xzoom || options->yzoom) { /* if the image is to be blown up, compress before doing it */ if (!options->colors && RGBP(image) && diff -ruNp a/options.c b/options.c --- a/options.c 1999-10-24 21:15:00.0 -0500 +++ b/options.c 2007-09-04 16:15:42.0 -0500 @@ -731,13 +731,20 @@ int doLocalOption(OptionId opid, char ** case ZOOM: if (argv[++a]) { - if (atoi(argv[a]) < 0) { - printf("Zoom argument must be positive (ignored).\n"); - break; + if (!strcmp(argv[a], "auto")) { +image_ops->zoom_auto = TRUE; +} else { + if (atoi(argv[a]) < 0) { + printf("Zoom argument must be positive (ignored).\n"); + break; + } + image_ops->xzoom = image_ops->yzoom = atoi(argv[a]); + image_ops->zoom_auto = FALSE; } - image_ops->xzoom = image_ops->yzoom = atoi(argv[a]); - if (setpersist) + if (setpersist) { persist_ops->xzoom = persist_ops->yzoom = image_ops->xzoom; + persist_ops->zoom_auto = image_ops->zoom_auto; + } } break; diff -ruNp a/xli.c b/xli.c --- a/xli.c 2000-02-09 04:23:35.0 -0500 +++ b/xli.c 2007-09-04 16:32:12.0 -0500 @@ -90,6 +90,7 @@ int main(int argc, char *argv[]) persist_ops.xpmkeyc = 0;/* none */ persist_ops.xzoom = 0; persist_ops.yzoom = 0; + persist_ops.zoom_auto = FALSE; persist_ops.iscale = 0; persist_ops.iscale_auto = FALSE; @@ -201,6 +202,7 @@ int main(int argc, char *argv[]) images[nimages].xpmkeyc = persist_ops.xpmkeyc; images[nimages].xzoom = persist_ops.xzoom; images[nimages].yzoom = persist_ops.yzoom; + images[nimages].zoom_auto = persist_ops.zoom_auto; images[nimages].iscale_auto = persist_ops.iscale_auto; nimages++; INIT_IMAGE_OPTS(images[nimages]); @@ -541,6 +543,7 @@ int main(int argc, char *argv[]) break; } io->xzoom = io->yzoom = 0; + io->zoom_auto = 0; io->iscale_auto = 0; if (globals.verbose) { diff -ruNp a/xli.h b/xli.h --- a/xli.h 1999-10-24 21:15:07.0 -0500 +++ b/xli.h 2007-09-03 22:40:36.0 -0500 @@ -55,6 +55,7 @@ typedef struct { char *title;/* Override title on image */ unsigned int xzoom, yzoom; /* zoom percentages */ + boolean zoom_auto; /* automatically zoom to fit on screen */ char *fg, *bg; /* foreground/background colors if mono image */ boolean done_to;/* TRUE if we have already looked for trailing * op
Bug#418548: Steve's Patch
Steve's patch solved this problem for me on i386 sid. -Michael -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]