Bug#865525: [mount] Make escaping of space in fstab correspond common escaping rules

2017-06-22 Thread vladislav naumov
Package: mount 
Version: 2.29.2-1 
Severity: wishlist 

--- Please enter the report below this line. --- 
Hello dear friends.
I suggest to make escaping of space symbols in /etc/fstab be corresponding 
common rules, just like in Bash:
-or to take all line with path, where space symbols are present, into quotes 
("/home/user/some folder"),
-or to allow specifying spaces after backslash symbol (home/user/some\ folder).
Possibility to escape spaces with current way (\040) is good, but it can 
confuse people and make them spending more time on learning documentation 
and\or searching in internet.
Also, if different programs will use different rules for specifying common 
things, this would lead to misunderstandings and to need spend much time 
finding and learning information.
I like the "standardized" approach of Linux: different files of programs are 
laying in different predetermined places, one program answers for installing 
packages, one - to work with dependencies, all help pages can be received by 
launching different programs with "--help" key, so nobody will confuse finding 
what he needs. All answers common rules, which were derived by years of 
practice.
So I suggest to correct behavior of working with /etc/fstab file to more easy 
and standard way.
Best regards, Vladislav.

--- System information. --- 
Architecture: 
Kernel: Linux 4.9.0-3-amd64 

Debian Release: 9.0 
500 unstable ftp.ua.debian.org 
150 stable dl.google.com 
150 betsy linux-mint.froonix.org 
150 betsy extra.linuxmint.com 
149 zesty ppa.launchpad.net 
149 yakkety ppa.launchpad.net 
149 xenial ppa.launchpad.net 
149 trusty ppa.launchpad.net 
149 stable kxstudio.linuxaudio.org 
149 lucid ppa.launchpad.net 

--- Package information. --- 
Package's Depends field is empty. 

Package's Recommends field is empty. 

Suggests (Version) | Installed 
==-+- 
nfs-common (>= 1:1.1.0-13) |

Bug#792886: dosbox: MOUNT uses stat to check if directory exists, fails with inodes greater then 2^32

2015-07-19 Thread Vladislav Naumov
Package: dosbox
Version: 0.74-4
Severity: normal
Tags: patch

Dear Maintainer,
Dosbox MOUNT command uses `stat` call to check if directory exists.
It fails with inodes greater then 2^32 (returns -1, sets errno=EOVERFLOW),
so it is impossible to mount certain directories on large filesystems.

Recompiling with CPPFLAGS=-D_FILE_OFFSET_BITS=64 fixes the issue for
me. Patch included.

-- System Information:
Debian Release: 8.1
  APT prefers stable
  APT policy: (500, 'stable')
Architecture: i386 (i686)

Kernel: Linux 3.16.0-4-686-pae (SMP w/4 CPU cores)
Locale: LANG=ru_RU.UTF-8, LC_CTYPE=ru_RU.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: sysvinit (via /sbin/init)

Versions of packages dosbox depends on:
ii  libasound21.0.28-1
ii  libc6 2.19-18
ii  libgcc1   1:4.9.2-10
ii  libgl1-mesa-glx [libgl1]  10.3.2-1
ii  libpng12-01.2.50-2+b2
ii  libsdl-net1.2 1.2.8-4
ii  libsdl-sound1.2   1.0.3-7+b1
ii  libsdl1.2debian   1.2.15-10+b1
ii  libstdc++64.9.2-10
ii  libx11-6  2:1.6.2-3
ii  zlib1g1:1.2.8.dfsg-2+b1

dosbox recommends no packages.

dosbox suggests no packages.

-- no debconf information
--- debian/rules.bak	2014-10-10 03:42:21.0 +0700
+++ debian/rules	2015-07-19 23:44:36.405223245 +0600
@@ -2,3 +2,6 @@
 
 %:
 	dh $@ --with autotools_dev
+
+override_dh_auto_configure:
+	dh_auto_configure -- CPPFLAGS=-D_FILE_OFFSET_BITS=64


Bug#771036:

2015-05-17 Thread Vladislav Naumov
Also experiencing this with icewm window manager.
Copy dialog is also invisible.
This bug is probably a duplicate of
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=765437


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



Bug#747291: postgresql-9.1-orafce: uninstall script lacks pg_catalog.next_day(value date, weekday integer)

2014-05-07 Thread Vladislav Naumov
Package: postgresql-9.1-orafce
Version: 3.0.4-1
Severity: normal
Tags: patch upstream

Dear Maintainer,
uninstall script lacks pg_catalog.next_day(value date, weekday integer)

this leads to incomplete uninstall, and re-installation needs manual steps.

Problem is present in upstream version.

Patch to solve issue is trivial:

--- bak/uninstall_orafunc.sql   2014-05-07 07:59:01.273217578 +
+++ uninstall_orafunc.sql   2014-05-07 07:59:58.557217442 +
@@ -1,6 +1,7 @@
 DROP FUNCTION pg_catalog.trunc(value date, fmt text);
 DROP FUNCTION pg_catalog.round(value date, fmt text);
 DROP FUNCTION pg_catalog.next_day(value date, weekday text);
+DROP FUNCTION pg_catalog.next_day(value date, weekday integer);
 DROP FUNCTION pg_catalog.last_day(value date);
 DROP FUNCTION pg_catalog.months_between(date1 date, date2 date);
 DROP FUNCTION pg_catalog.add_months(day date, value int);


-- System Information:
Debian Release: 7.5
  APT prefers stable
  APT policy: (990, 'stable')
Architecture: i386 (i686)

Kernel: Linux 3.2.0-4-686-pae (SMP w/4 CPU cores)
Locale: LANG=ru_RU.UTF-8, LC_CTYPE=ru_RU.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash


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



Bug#642025:

2012-08-27 Thread Vladislav Naumov
Looks like I'm having this issue, too. Kernel fails almost daily.
with 3.2.0-2 kernel pcie_aspm=off helped, 3.2.0-3 it doesn't help anymore.
My temporary workaround is to roll back to 3.2.0-2.

stack trace from logfile:
Aug 22 19:43:25 home1 kernel: [35114.418251] [ cut here
]
Aug 22 19:43:25 home1 kernel: [35114.418259] WARNING: at
/build/buildd-linux_3.2.23-1-i386-qhsd1M/linux-3.2.23/net/sched/sch_generic.c:255
dev_watchdog+0xb1/0x104()
Aug 22 19:43:25 home1 kernel: [35114.418261] Hardware name: H67MA-USB3-B3
Aug 22 19:43:25 home1 kernel: [35114.418262] NETDEV WATCHDOG: eth0
(r8169): transmit queue 0 timed out
Aug 22 19:43:25 home1 kernel: [35114.418264] Modules linked in: veth
pci_stub vboxpci(O) vboxnetadp(O) vboxnetflt(O) xt_TCPMSS xt_tcpmss
xt_tcpudp iptable_mangle parport_pc ppdev lp parport pppoe pppox fuse
dummy bridge stp ppp_generic slhc ipt_MASQUERADE iptable_nat nf_nat
nf_conntrack_ipv4 nf_defrag_ipv4 nf_conntrack ip_tables x_tables xfs
sbs sbshc power_supply vboxdrv(O) dm_crypt snd_hda_codec_hdmi
snd_hda_codec_realtek i915 snd_hda_intel snd_usb_audio uvcvideo
snd_hda_codec snd_usbmidi_lib snd_hwdep snd_pcm_oss snd_mixer_oss
snd_seq_midi snd_seq_midi_event video videodev snd_rawmidi media
snd_seq snd_pcm snd_page_alloc drm_kms_helper drm snd_seq_device
snd_timer i2c_algo_bit i2c_i801 i2c_core acpi_cpufreq mperf snd evdev
iTCO_wdt iTCO_vendor_support coretemp soundcore processor button
pcspkr thermal_sys reiserfs dm_mod usbhid hid sd_mod sr_mod cdrom
crc_t10dif ata_generic crc32c_intel floppy xhci_hcd aesni_intel
aes_i586 ata_piix ehci_hcd r8169 mii aes_generic cryptd libata
scsi_mod usbcore usb_common [las
Aug 22 19:43:25 home1 kernel: t unloaded: scsi_wait_scan]
Aug 22 19:43:25 home1 kernel: [35114.418313] Pid: 0, comm: swapper/0
Tainted: GW  O 3.2.0-3-686-pae #1
Aug 22 19:43:25 home1 kernel: [35114.418314] Call Trace:
Aug 22 19:43:25 home1 kernel: [35114.418319]  [c1037fcc] ?
warn_slowpath_common+0x68/0x79
Aug 22 19:43:25 home1 kernel: [35114.418322]  [c1230064] ?
dev_watchdog+0xb1/0x104
Aug 22 19:43:25 home1 kernel: [35114.418325]  [c1038045] ?
warn_slowpath_fmt+0x29/0x2d
Aug 22 19:43:25 home1 kernel: [35114.418327]  [c1230064] ?
dev_watchdog+0xb1/0x104
Aug 22 19:43:25 home1 kernel: [35114.418332]  [c103c9cd] ?
local_bh_enable+0x2/0x2
Aug 22 19:43:25 home1 kernel: [35114.418334]  [c1041b80] ?
run_timer_softirq+0x150/0x1f3
Aug 22 19:43:25 home1 kernel: [35114.418337]  [c122ffb3] ?
netif_tx_unlock+0x3a/0x3a
Aug 22 19:43:25 home1 kernel: [35114.418339]  [c103c9cd] ?
local_bh_enable+0x2/0x2
Aug 22 19:43:25 home1 kernel: [35114.418341]  [c103ca61] ?
__do_softirq+0x94/0x12f
Aug 22 19:43:25 home1 kernel: [35114.418343]  [c103c9cd] ?
local_bh_enable+0x2/0x2
Aug 22 19:43:25 home1 kernel: [35114.418345]  IRQ  [c103cc52] ?
irq_exit+0x32/0x80
Aug 22 19:43:25 home1 kernel: [35114.418350]  [c101e2b9] ?
smp_apic_timer_interrupt+0x5b/0x65
Aug 22 19:43:25 home1 kernel: [35114.418353]  [c12c0509] ?
apic_timer_interrupt+0x31/0x38
Aug 22 19:43:25 home1 kernel: [35114.418355]  [c103007b] ?
print_cfs_rq+0x10f/0x651
Aug 22 19:43:25 home1 kernel: [35114.418358]  [c1198667] ?
intel_idle+0xcc/0xf8
Aug 22 19:43:25 home1 kernel: [35114.418362]  [c1209e68] ?
cpuidle_idle_call+0xcc/0x142
Aug 22 19:43:25 home1 kernel: [35114.418365]  [c100aa3d] ? cpu_idle+0x8b/0xaf
Aug 22 19:43:25 home1 kernel: [35114.418369]  [c14156fe] ?
start_kernel+0x320/0x325
Aug 22 19:43:25 home1 kernel: [35114.418370] ---[ end trace
a7919e7f17c0a727 ]---


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



Bug#672129: 672129

2012-05-09 Thread Vladislav Naumov
Reproduced with upstream hplip-3.12.4.
Submitted this bug to upstram tracker as https://bugs.launchpad.net/bugs/997225



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



Bug#672129: printer-driver-hpcups: hpcups gets SIGSEGV on every input

2012-05-08 Thread Vladislav Naumov
Package: printer-driver-hpcups
Version: 3.12.2-1
Severity: important

Dear Maintainer,
hpcups gets SIGSEGV on every input
after libtiff4 is upgraded from 3.9.6-2 to 3.9.6-5
(I see no intermediate version on snapshot.debian.org).
Print jobs are stopped, cups error log says
(/usr/lib/cups/filter/hpcups) crashed on signal 11.
Tried with images, text and CUPS test page.

Happens with HP_LaserJet_Professional_M1217nfw_MFP,
can't tell if other printer models are affected.

Adding/removing printer with hp-setup does not help,
downloading fresh binary plugin with hp-plugin does not help too.

This is the backtrace from core file:
#0  ModeJbig::compress (this=0x8818b80, plane_number=0) at 
prnt/hpcups/ModeJbig.cpp:343
#1  0x08050968 in ModeJbig::processZJStream (this=0x8818b80, input=0x8818b94) 
at prnt/hpcups/ModeJbig.cpp:244
#2  0x08050a0e in ModeJbig::Process (this=0x8818b80, input=0x8818b94) at 
prnt/hpcups/ModeJbig.cpp:208
#3  0x0805d7b2 in Process (raster=0x8818b94, this=0x8817548) at 
prnt/hpcups/Pipeline.cpp:72
#4  Pipeline::Execute (this=0x8817548, InputRaster=0x8818b94) at 
prnt/hpcups/Pipeline.cpp:79
#5  0x0805d809 in Pipeline::Execute (this=0x881ffa8, InputRaster=0x88188dc) at 
prnt/hpcups/Pipeline.cpp:83
#6  0x0805d809 in Pipeline::Execute (this=0x8817ac8, InputRaster=0x8818884) at 
prnt/hpcups/Pipeline.cpp:83
#7  0x0804c370 in HPCupsFilter::processRasterData (this=0x80a2f20, 
cups_raster=0x8816bd8) at prnt/hpcups/HPCupsFilter.cpp:696
#8  0x0804cbdd in HPCupsFilter::StartPrintJob (this=0x80a2f20, argc=7, 
argv=0xbfb4fb04) at prnt/hpcups/HPCupsFilter.cpp:536
#9  0x08049c6a in main (argc=7, argv=0xbfb4fb04) at 
prnt/hpcups/HPCupsFilter.cpp:52

libtiff4 changelog also mentions JBIG - probably thats the root of the
problem.

Temporary workaround is installing older libtiff4.
add this to sources.list:
  deb http://snapshot.debian.org/archive/debian/20120503T00Z/ wheezy 
main)
then
# apt-get  install libtiff4=3.9.6-2


-- Package-specific info:

-- System Information:
Debian Release: wheezy/sid
  APT prefers testing
  APT policy: (990, 'testing')
Architecture: i386 (i686)

Kernel: Linux 3.0.0-1-686-pae (SMP w/4 CPU cores)
Locale: LANG=ru_RU.UTF-8, LC_CTYPE=ru_RU.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages printer-driver-hpcups depends on:
ii  cups 1.5.2-5
ii  cups-ppdc [cupsddk]  1.5.2-5
ii  ghostscript-cups 9.05~dfsg-5
ii  libc62.13-32
ii  libcups2 1.5.2-5
ii  libcupsimage21.5.2-5
ii  libdbus-1-3  1.5.12-1
ii  libgcc1  1:4.7.0-7
ii  libhpmud03.12.2-1
ii  libjpeg8 8d-1
ii  libssl1.0.0  1.0.1b-1
ii  libstdc++6   4.7.0-7

printer-driver-hpcups recommends no packages.

Versions of packages printer-driver-hpcups suggests:
pn  hplip  3.12.2-1
pn  hplip-doc  none

-- no debconf information



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



Bug#669870: geeqie: lossless rotation leaves out-of-date, unrotated thumbnail

2012-04-21 Thread Vladislav Naumov
Package: geeqie
Version: 1:1.0-10
Severity: normal
Tags: patch

Dear Maintainer,
For some reason lossless rotation commands in geeqie
(/usr/share/geeqie/applications/rotate* and
/usr/lib/geeqie/geeqie-rotate)
call exiftran with -p option (Preserve timestamps (atime + mtime) when
doing inplace editing).

Keeping timestamps is probably a good idea, but it prevents geeqie from
regenerating thumbnail for an image (looks like the geeqie only checks
image mtime when deciding if thumbnail is up-to-date).

So, rotating image with geeqie leaves you with properly fotated image
and out-of-date, unrotated thumbnail.

Solution is straightforward: remove -p option from exiftran calls.

-- System Information:
Debian Release: wheezy/sid
  APT prefers testing
  APT policy: (990, 'testing')
Architecture: i386 (i686)

Kernel: Linux 3.0.0-1-686-pae (SMP w/4 CPU cores)
Locale: LANG=ru_RU.UTF-8, LC_CTYPE=ru_RU.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages geeqie depends on:
ii  geeqie-common   1:1.0-10
ii  libc6   2.13-27
ii  libexiv2-9  0.20-2.1
ii  libgcc1 1:4.7.0-1
ii  libgdk-pixbuf2.0-0  2.24.1-1
ii  libglib2.0-02.32.0-4
ii  libgtk2.0-0 2.24.10-1
ii  liblcms11.19.dfsg-1+b1
ii  liblircclient0  0.9.0~pre1-1
ii  libpango1.0-0   1.29.4-3+b1
ii  libstdc++6  4.7.0-1

Versions of packages geeqie recommends:
pn  exiftran 2.07-10
pn  exiv2none
pn  imagemagick  8:6.7.4.0-4
pn  librsvg2-common  2.36.0-5
pn  ufraw-batch  none
pn  zenity   none

Versions of packages geeqie suggests:
pn  geeqie-dbg none
pn  gimp   2.6.12-1+b2
pn  libjpeg-progs  8d-1
pn  ufraw  none
pn  xpaint none

-- debconf-show failed
diff --git a/debian/plugins/rotate-270.desktop b/debian/plugins/rotate-270.desktop
index 8484344..9309271 100644
--- a/debian/plugins/rotate-270.desktop
+++ b/debian/plugins/rotate-270.desktop
@@ -5,7 +5,7 @@ Name=Losslessly rotate JPEG image counterclockwise
 
 # call the helper script
 TryExec=exiftran
-Exec=exiftran -p -2 -i -g %f
+Exec=exiftran -2 -i -g %f
 
 # Desktop files that are usable only in Geeqie should be marked like this:
 Categories=X-Geeqie;
diff --git a/debian/plugins/rotate-90.desktop b/debian/plugins/rotate-90.desktop
index ec61fbc..085c665 100644
--- a/debian/plugins/rotate-90.desktop
+++ b/debian/plugins/rotate-90.desktop
@@ -5,7 +5,7 @@ Name=Losslessly rotate JPEG image clockwise
 
 # call the helper script
 TryExec=exiftran
-Exec=exiftran -p -9 -i -g %f
+Exec=exiftran -9 -i -g %f
 
 # Desktop files that are usable only in Geeqie should be marked like this:
 Categories=X-Geeqie;
diff --git a/plugins/rotate/geeqie-rotate b/plugins/rotate/geeqie-rotate
index 1c1184e..9fbd31f 100755
--- a/plugins/rotate/geeqie-rotate
+++ b/plugins/rotate/geeqie-rotate
@@ -20,7 +20,7 @@ rotate()
 case $ext in
 	jpg|jpeg) 
 		[ -n $gq_orientation ]  exiv2 -M set Exif.Image.Orientation $gq_orientation $1
-		if exiftran -aip $1 ; then
+		if exiftran -ai $1 ; then
 		# exiftran ignores xmp, set it manually
 		exiv2 -M set Xmp.tiff.Orientation 1 $1
 		#http://dev.exiv2.org/issues/show/639


Bug#661257: loop-aes-utils: umount ignores user option in fstab

2012-02-25 Thread Vladislav Naumov
Package: loop-aes-utils
Version: 2.16.2-2
Severity: normal

when using user option in fstab, mount from this package works fine for 
regular user,
but umount fails with umount: only root can unmount /dev/sdc1 from 
/media/usb1.
Related fstab entries:
/dev/sdc1   /media/usb1 vfat
noauto,showexec,codepage=866,user,umask=000,quiet
/dev/sdc1  /media/usb1_auto autonoauto,user
/dev/sdc1  /media/usb1_ntfs ntfsnoauto,user,fmask=133,dmask=022,

Regular mount from mount package works fine with exactly this fstab, so it is 
not broken fstab
entry.

I resolved the situaltion by uninstalling loop-aes-utils.

-- System Information:
Debian Release: wheezy/sid
  APT prefers testing
  APT policy: (990, 'testing')
Architecture: i386 (i686)

Kernel: Linux 3.0.0-1-686-pae (SMP w/4 CPU cores)
Locale: LANG=ru_RU.UTF-8, LC_CTYPE=ru_RU.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages loop-aes-utils depends on:
ii  gnupg1.4.11-3
ii  libblkid12.20.1-1.2
ii  libc62.13-26
ii  libselinux1  2.1.0-4.1
ii  libsepol12.1.0-1.2
ii  mount2.20.1-1.2

Versions of packages loop-aes-utils recommends:
pn  sharutils  none

loop-aes-utils suggests no packages.

-- debconf-show failed



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



Bug#592088: one more workaround

2011-04-11 Thread Vladislav Naumov
The patch from Lionel Elie Mamane does not work for current version of
openvpn from squeeze (2.1.3-2). Applies cleanly, but the resulting
route is broken.

Workaround suggested by someone at
http://openvpn.net/archive/openvpn-users/2007-12/msg00036.html
that works for me is to add gateway with script in
/etc/ppp/ip-up.d/default-gateway:
---8--
#!/bin/bash

if [ $(ip route list exact default |\
  awk '/^default/ {print $2}') = dev ];
then
 IF=$(ip route | awk '/^default/ {print $3}')
 GW=$(ip address show $IF |\
 awk '/peer/ {print $4}' | cut -d/ -f1)
 ip route replace default via $GW dev $IF
fi
---8--



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



Bug#616445: zsnes: error in package description, netplay is actually disabled

2011-03-04 Thread Vladislav Naumov
Package: zsnes
Version: 1.510-2.2+b1
Severity: minor

Package description says:
It supports advanced features such as multiplayer gameplay over a
TCP/IP network.

Actually, in this version of Zsnes netplay is removed

Details here:
http://board.zsnes.com/phpBB3/viewtopic.php?f=18t=9269


-- System Information:
Debian Release: 6.0
  APT prefers stable
  APT policy: (990, 'stable')
Architecture: i386 (i686)

Kernel: Linux 2.6.32-5-openvz-686 (SMP w/1 CPU core)
Locale: LANG=ru_RU.UTF-8, LC_CTYPE=ru_RU.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages zsnes depends on:
ii  libao4  1.0.0-5  Cross Platform Audio Output Librar
ii  libc6   2.11.2-10Embedded GNU C Library: Shared lib
ii  libgcc1 1:4.4.5-8GCC support library
ii  libgl1-mesa-glx [libgl1 7.7.1-4  A free implementation of the OpenG
ii  libpng12-0  1.2.44-1 PNG library - runtime
ii  libsdl1.2debian 1.2.14-6.2vnaum  Simple DirectMedia Layer
ii  libstdc++6  4.4.5-8  The GNU Standard C++ Library v3
ii  zlib1g  1:1.2.3.4.dfsg-3 compression library - runtime

zsnes recommends no packages.

zsnes suggests no packages.

-- no debconf information



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



Bug#611818: vzctl: typo / bad english in postinst script

2011-02-02 Thread Vladislav Naumov
Package: vzctl
Version: 3.0.24-12
Severity: minor

Proposed changes:
-The kernel do not support vzevent, do not start vzeventd.
+Kernel does not support vzevent, not starting vzeventd.

-The kernel do not support openvz, do not start vz.
+Kernel does not support openvz, not starting vz.

-- System Information:
Debian Release: 6.0
  APT prefers testing
  APT policy: (990, 'testing')
Architecture: i386 (i686)

Kernel: Linux 2.6.32-5-openvz-686 (SMP w/1 CPU core)
Locale: LANG=ru_RU.UTF-8, LC_CTYPE=ru_RU.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages vzctl depends on:
ii  iproute   20100519-3 networking and traffic control too
ii  libc6 2.11.2-10  Embedded GNU C Library: Shared lib
ii  vzquota   3.0.12-3   server virtualization solution - q

Versions of packages vzctl recommends:
ii  rsync 3.0.7-2fast remote file copy program (lik

vzctl suggests no packages.

-- debconf-show failed



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



Bug#607908: libsdl1.2debian: does not reopen joystick device

2010-12-23 Thread Vladislav Naumov
Package: libsdl1.2debian
Version: 1.2.14-6.1
Severity: normal
Tags: patch upstream


Problem description:
SDL opens joystick device only once at startup. If usb connection is
lost
for some reason (bad USB cable, cheap gamepad, little brother tripping
on the wire)
- your game is ruined. Input device file is gone for a short time,
opened file handle is no longer valid. Kernel re-creates device file
after connection is back, but libsdl does not re-open it.

Steps to reproduce: plug USB joystick, run SDL-based application that
uses joystick, unplug your joystick for a brief time and plug it back
in.

The patch tries to re-open the device if read operation reports bad file
/ no such device.  I know about possible caveats (like, the new device
can have different name, multiple joysticks can re-appear in different
order or maybe the device plugged is totally different one), but still I
believe anything is better then forcing user to start the game from the
very beginning. Especially annoying if user is 3 years old and can't
start the game on his own.

I (OK, not I but my son) tested it for a week, and it work just fine
with mame, mess, mednafen and supertux.

It also works for lenny version of libsdl, but you have to
#define SDL_INPUT_LINUXEV 1
#define NO_LOGICAL_JOYSTICKS
, because patch only fixes this flag combination (the one that is used in
squeeze build).


-- System Information:
Debian Release: squeeze/sid
  APT prefers testing
  APT policy: (990, 'testing')
Architecture: i386 (i686)

Kernel: Linux 2.6.32-5-openvz-686 (SMP w/1 CPU core)
Locale: LANG=ru_RU.UTF-8, LC_CTYPE=ru_RU.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages libsdl1.2debian depends on:
ii  libsdl1.2debian-oss   1.2.14-6.1 Simple DirectMedia Layer (with X11

libsdl1.2debian recommends no packages.

libsdl1.2debian suggests no packages.

-- no debconf information
diff --git a/joystick/linux/SDL_sysjoystick.c b/joystick/linux/SDL_sysjoystick.c
index 5960c84..8ed70d0 100644
--- a/joystick/linux/SDL_sysjoystick.c
+++ b/joystick/linux/SDL_sysjoystick.c
@@ -25,6 +25,7 @@
 
 /* This is the system specific header for the SDL joystick API */
 
+#include errno.h
 #include sys/stat.h
 #include unistd.h
 #include fcntl.h
@@ -1133,6 +1134,12 @@ static __inline__ void EV_HandleEvents(SDL_Joystick *joystick)
 			}
 		}
 	}
+	if (ENODEV == errno || EBADF == errno)
+	{
+		// try reopening:
+		joystick-hwdata-fd = open(SDL_joylist[joystick-index].fname, O_RDONLY, 0);
+		fcntl(joystick-hwdata-fd, F_SETFL, O_NONBLOCK);
+	}
 }
 #endif /* SDL_INPUT_LINUXEV */
 


Bug#574853: tries to chown files after copying, fails [PATCH]

2010-12-06 Thread Vladislav Naumov
Package: geeqie
Version: 1:1.0-7
Severity: normal

This patch ignores chown errors, while still doing chown
(so root still can copy files preserving ownership).

--- a/ui_fileops.c
+++ b/ui_fileops.c
@@ -490,7 +490,7 @@ gboolean copy_file_attributes(const gchar *s, const gchar 
*t, gint perms, gint m
 
/* set the dest file attributes to that of source (ignoring 
errors) */
 
-   if (perms  chown(tl, st.st_uid, st.st_gid)  0) ret = FALSE;
+   if (perms) chown(tl, st.st_uid, st.st_gid);
if (perms  chmod(tl, st.st_mode)  0) ret = FALSE;



-- System Information:
Debian Release: squeeze/sid
  APT prefers testing
  APT policy: (990, 'testing')
Architecture: i386 (i686)

Kernel: Linux 2.6.32-5-openvz-686 (SMP w/1 CPU core)
Locale: LANG=ru_RU.UTF-8, LC_CTYPE=ru_RU.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages geeqie depends on:
ii  geeqie-common   1:1.0-7  data files for Geeqie
ii  libc6   2.11.2-7 Embedded GNU C Library: Shared lib
ii  libexiv2-9  0.20-2   EXIF/IPTC metadata manipulation li
ii  libgcc1 1:4.4.5-8GCC support library
ii  libglib2.0-02.24.2-1 The GLib library of C routines
ii  libgtk2.0-0 2.20.1-2 The GTK+ graphical user interface 
ii  liblcms11.18.dfsg-1.2+b3 Color management library
ii  liblircclient0  0.8.3-5  infra-red remote control support -
ii  libpango1.0-0   1.28.3-1 Layout and rendering of internatio
ii  libstdc++6  4.4.5-8  The GNU Standard C++ Library v3

Versions of packages geeqie recommends:
ii  exiftran 2.07-6  transform digital camera jpeg imag
pn  exiv2none  (no description available)
ii  imagemagick  8:6.6.0.4-3 image manipulation programs
ii  librsvg2-common  2.26.3-1SAX-based renderer library for SVG
pn  ufraw-batch  none  (no description available)
pn  zenity   none  (no description available)

Versions of packages geeqie suggests:
pn  geeqie-dbgnone (no description available)
ii  gimp  2.6.10-1   The GNU Image Manipulation Program
ii  libjpeg-progs 8b-1   Programs for manipulating JPEG fil
pn  ufraw none (no description available)
pn  xpaintnone (no description available)

-- no debconf information



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



Bug#604907: mldonkey-server: Stops with Too many open files for directory open message

2010-11-25 Thread Vladislav Naumov
Package: mldonkey-server
Version: 3.0.3-4
Severity: normal
Tags: upstream

Sometimes mldonkey halts with Too many open files for directory open
message in log file. As far as I can tell, it's caused by Max open
files ulimit - default setting is 1024 files, and that limit can be
reached easily with a single torrent file.

Adding ulimit -n 16384 into to /etc/default/mldonkey-server solved
the issue for me.

It would be nice to add this into startup script / README.


-- System Information:
Debian Release: squeeze/sid
  APT prefers testing
  APT policy: (990, 'testing')
Architecture: i386 (i686)

Kernel: Linux 2.6.32-5-openvz-686 (SMP w/1 CPU core)
Locale: LANG=ru_RU.UTF-8, LC_CTYPE=ru_RU.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages mldonkey-server depends on:
ii  adduser3.112 add and remove users and groups
ii  debconf [debconf-2.0]  1.5.36Debian configuration management sy
ii  libbz2-1.0 1.0.5-6   high-quality block-sorting file co
ii  libc6  2.11.2-7  Embedded GNU C Library: Shared lib
ii  libfontconfig1 2.8.0-2.1 generic font configuration library
ii  libfreetype6   2.4.2-2.1 FreeType 2 font engine, shared lib
ii  libgcc11:4.4.5-6 GCC support library
ii  libgd2-xpm 2.0.36~rc1~dfsg-5 GD Graphics Library version 2
ii  libjpeg62  6b1-1 The Independent JPEG Group's JPEG 
ii  libpng12-0 1.2.44-1  PNG library - runtime
ii  libstdc++6 4.4.5-6   The GNU Standard C++ Library v3
ii  libx11-6   2:1.3.3-3 X11 client-side library
ii  libxpm41:3.5.8-1 X11 pixmap library
ii  mime-support   3.48-1MIME files 'mime.types'  'mailcap
ii  ucf3.0025+nmu1   Update Configuration File: preserv
ii  zlib1g 1:1.2.3.4.dfsg-3  compression library - runtime

mldonkey-server recommends no packages.

mldonkey-server suggests no packages.

-- debconf information excluded



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



Bug#593092: mldonkey-server: local users are gone after upgrade to squeeze, must re-create

2010-10-25 Thread Vladislav Naumov
On Mon, Oct 25, 2010 at 7:10 PM, Mehdi Dogguy me...@dogguy.org wrote:
 Can you tell us what was the content of users.ini? and what the log
 files contain? There must be some information there.

It's been 2 months since the issue, and I'm afraid the best I could do
about this is try to reproduce it on another lenny box. I'll try this
when I get around to it.

Log files were empty due to #593091 mldonkey-server: mlnet.log is
empty after upgrade to squeeze (not writable to mldonkey user).



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



Bug#593091: mldonkey-server: mlnet.log is empty after upgrade to squeeze (not writable to mldonkey user)

2010-10-25 Thread Vladislav Naumov
On Mon, Oct 25, 2010 at 7:12 PM, Mehdi Dogguy me...@dogguy.org wrote:
 The log file's permissions are reset on every start of the mldonkey
 server. They are also reset in the postinst of the server. So, I don't
 know how this could happen.

You mean these lines in startup script?
chown $MLDONKEY_USER:$MLDONKEY_GROUP /var/run/mldonkey
chown $MLDONKEY_USER:$MLDONKEY_GROUP /var/log/mldonkey
These commands lack -R switch, only chown directory. Not existing files in it.
Same goes to postinst script, as far as I can see.



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



Bug#592088: redirect-gateway fails when default route does not use a gateway

2010-09-21 Thread Vladislav Naumov
Package: openvpn
Version: 2.1.0-3
Severity: normal

I confirm the bug, and the patch from the message above works for me.


-- System Information:
Debian Release: squeeze/sid
  APT prefers testing
  APT policy: (990, 'testing')
Architecture: i386 (i686)

Kernel: Linux 2.6.32-5-openvz-686 (SMP w/1 CPU core)
Locale: LANG=ru_RU.UTF-8, LC_CTYPE=ru_RU.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages openvpn depends on:
ii  debconf [debconf-2.0] 1.5.35 Debian configuration management sy
ii  libc6 2.11.2-5   Embedded GNU C Library: Shared lib
ii  liblzo2-2 2.03-2 data compression library
ii  libpam0g  1.1.1-6Pluggable Authentication Modules l
ii  libpkcs11-helper1 1.07-1 library that simplifies the intera
ii  libssl0.9.8   0.9.8o-2   SSL shared libraries
ii  net-tools 1.60-23The NET-3 networking toolkit
ii  openssl-blacklist 0.5-2  list of blacklisted OpenSSL RSA ke
ii  openvpn-blacklist 0.4list of blacklisted OpenVPN RSA sh

openvpn recommends no packages.

Versions of packages openvpn suggests:
ii  openssl   0.9.8o-2   Secure Socket Layer (SSL) binary a
ii  resolvconf1.46   name server information handler

-- debconf information excluded



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



Bug#595357: python-mpd: Please package newer version

2010-09-03 Thread Vladislav Naumov
Package: python-mpd
Version: 0.2.1-5
Severity: wishlist

Upstream version has 'consume', 'single', 'idle' and 'noidle' commands
for ~1 year now. MPD in squeeze supports it, but python-mpd still does not.

It would be nice to have newer version packaged.

-- System Information:
Debian Release: squeeze/sid
  APT prefers testing
  APT policy: (990, 'testing')
Architecture: i386 (i686)

Kernel: Linux 2.6.32-5-openvz-686 (SMP w/1 CPU core)
Locale: LANG=ru_RU.UTF-8, LC_CTYPE=ru_RU.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages python-mpd depends on:
ii  python2.6.5-13   interactive high-level object-orie
ii  python-support1.0.9  automated rebuilding support for P

python-mpd recommends no packages.

python-mpd suggests no packages.

-- no debconf information



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



Bug#552162: chrony init script thinks it fails to start

2010-08-25 Thread Vladislav Naumov
Package: chrony
Version: 1.24-2
Severity: normal

I'm also experiencing this bug.
Adding sleep 1 before pidof check works just fine.

My guess the best option would be abandoning afterwards `pidof` check,
and just rely on start-stop-daemon error code, like this:

if /bin/pidof $DAEMON  /dev/null
then
  echo $DAEMON already running.
  exit 1
fi

if start-stop-daemon --start --verbose --exec $DAEMON
then
  putonline
else
  echo $DAEMON failed to start.
  exit 1
fi


-- System Information:
Debian Release: squeeze/sid
  APT prefers testing
  APT policy: (990, 'testing')
Architecture: i386 (i686)

Kernel: Linux 2.6.32-5-openvz-686 (SMP w/1 CPU core)
Locale: LANG=ru_RU.UTF-8, LC_CTYPE=ru_RU.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages chrony depends on:
ii  dpkg  1.15.7.2   Debian package management system
ii  install-info  4.13a.dfsg.1-5 Manage installed documentation in 
ii  libc6 2.11.2-2   Embedded GNU C Library: Shared lib
ii  libncurses5   5.7+20100313-2 shared libraries for terminal hand
ii  libreadline5  5.2-7  GNU readline and history libraries
ii  timelimit 1.6-1  Simple utility to limit a process'
ii  ucf   3.0025 Update Configuration File: preserv

Versions of packages chrony recommends:
ii  udev  160-1  /dev/ and hotplug management daemo

chrony suggests no packages.

-- Configuration Files:
/etc/init.d/chrony changed [not included]
(I added sleep 1 line)

-- no debconf information



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



Bug#593094: amarok: could not add files from collection to playlist while using ru_RU.koi8r locale

2010-08-16 Thread Vladislav Naumov
 Did filenames you tried to add have non-ASCII characters?
 I guess that was a
 problem with encoding in amarok collection database. Not easily fixable
 though.

Amarok2 no longer shows individual tracks in collection, just albums.
At least some files I tried were plain-ASCII.
And amarok1.4 worked just fine with whole collection.



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



Bug#593115: iceweasel: Scrolling in Google Reader is slow

2010-08-16 Thread Vladislav Naumov
On Mon, Aug 16, 2010 at 2:46 PM, Mike Hommey m...@glandium.org wrote:
 This can't be the mozillazine or bugzilla problem, as both are the same
 and both are due to a regression that appeared in 3.6. You're reporting
 the bug on 3.5...

You're probably right.

 Try disabling smooth scrolling, it is known to be too slow on many
 occasions. I think your bug can be merged with #404827.

I was disabled all the way.
I tried with both enabled and disabled setting, it didn't help.

 Anyways, can you try the latest 4.0 beta release (instructions on
 http://glandium.org/blog/?p=1032), it has what is called Retained
 layers and that should make things better.

Thanks for a tip!
I don't know what is mozilla.debian.net (main page is blank), so
I installed iceweasel 3.6.7-1 from experimental instead.
It scrolls better then 3.5.11-1 - at least, I can't see it redrawing rectangles.



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



Bug#593218: psi: can't connect to google talk (Authentication error: Not authorized)

2010-08-16 Thread Vladislav Naumov
Package: psi
Version: 0.14-2
Severity: normal

After upgrade to sqeeze psi can't connect to gtalk anymore.
In lenny it worked just fine, now it produces this error message:
  There was an error communicating with the server.
  Details: Authentication error: Not authorized
I reviewed all settings, and it's exactly what Google suggests in
http://www.google.com/support/talk/bin/answer.py?answer=24074

-- System Information:
Debian Release: squeeze/sid
  APT prefers testing
  APT policy: (990, 'testing'), (1, 'experimental')
Architecture: i386 (i686)

Kernel: Linux 2.6.32-5-openvz-686 (SMP w/1 CPU core)
Locale: LANG=ru_RU.UTF-8, LC_CTYPE=ru_RU.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages psi depends on:
ii  libaspell15 0.60.6-4 GNU Aspell spell-checker runtime l
ii  libc6   2.11.2-2 Embedded GNU C Library: Shared lib
ii  libgcc1 1:4.4.4-8GCC support library
ii  libqca2 2.0.2-1  libraries for the Qt Cryptographic
ii  libqca2-plugin-ossl 0.1~20070904-4   QCA OSSL plugin for libqca2
ii  libqt4-dbus 4:4.6.3-1Qt 4 D-Bus module
ii  libqt4-network  4:4.6.3-1Qt 4 network module
ii  libqt4-qt3support   4:4.6.3-1Qt 3 compatibility library for Qt 
ii  libqt4-xml  4:4.6.3-1Qt 4 XML module
ii  libqtcore4  4:4.6.3-1Qt 4 core module
ii  libqtgui4   4:4.6.3-1Qt 4 GUI module
ii  libstdc++6  4.4.4-8  The GNU Standard C++ Library v3
ii  libx11-62:1.3.3-3X11 client-side library
ii  libxss1 1:1.2.0-2X11 Screen Saver extension library
ii  zlib1g  1:1.2.3.4.dfsg-3 compression library - runtime

Versions of packages psi recommends:
pn  sox   none (no description available)

Versions of packages psi suggests:
pn  libqca2-plugin-gnupg none  (no description available)
pn  psi-translations none  (no description available)
ii  xdg-utils1.0.2+cvs20100307-1 desktop integration utilities from

-- no debconf information



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



Bug#593218: psi: can't connect to google talk (Authentication error: Not authorized)

2010-08-16 Thread Vladislav Naumov
On Mon, Aug 16, 2010 at 8:03 PM, Jan Niehusmann j...@gondor.com wrote:
 Hi Vladislav,

 I can't reproduce this problem. With the same package versions as you
 use, I can log into google talk without any problems.

 Could you please check again if your password is correct? A bad password
 results in exactly the error message you quoted.

The password was correct, I checked it in the first place.
However, it connects fine now — with the same settings.

I believe it was some outage on Google side.
Sorry for false alarm, and thanks for a rapid reply.



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



Bug#593091: mldonkey-server: mlnet.log is empty after upgrade to squeeze (not writable to mldonkey user)

2010-08-15 Thread Vladislav Naumov
Package: mldonkey-server
Version: 3.0.1-1
Severity: normal

After upgrade /var/log/mldonkey/mlnet.log belongs to root user, and
mldonkey can't write it.

chown mldonkey:mldonkey /var/log/mldonkey/mlnet.log
fixed the issue.

-- System Information:
Debian Release: squeeze/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: i386 (i686)

Kernel: Linux 2.6.32-5-openvz-686 (SMP w/1 CPU core)
Locale: LANG=ru_RU.UTF-8, LC_CTYPE=ru_RU.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages mldonkey-server depends on:
ii  adduser  3.112   add and remove users and groups
ii  debconf [debconf-2.0 1.5.33  Debian configuration management sy
ii  libbz2-1.0   1.0.5-4 high-quality block-sorting file co
ii  libc62.11.2-2Embedded GNU C Library: Shared lib
ii  libfontconfig1   2.8.0-2.1   generic font configuration library
ii  libfreetype6 2.4.0-2 FreeType 2 font engine, shared lib
ii  libgcc1  1:4.4.4-8   GCC support library
ii  libgd2-xpm   2.0.36~rc1~dfsg-3.2 GD Graphics Library version 2
ii  libjpeg626b1-1   The Independent JPEG Group's JPEG 
ii  libpng12-0   1.2.44-1PNG library - runtime
ii  libstdc++6   4.4.4-8 The GNU Standard C++ Library v3
ii  libx11-6 2:1.3.3-3   X11 client-side library
ii  libxpm4  1:3.5.8-1   X11 pixmap library
ii  mime-support 3.48-1  MIME files 'mime.types'  'mailcap
ii  ucf  3.0025  Update Configuration File: preserv
ii  zlib1g   1:1.2.3.4.dfsg-3compression library - runtime

mldonkey-server recommends no packages.

mldonkey-server suggests no packages.

-- debconf information:
* mldonkey-server/max_hard_download_rate: 200
* mldonkey-server/launch_at_startup: true
  mldonkey-server/mldonkey_group: mldonkey
  mldonkey-server/false_password:
* mldonkey-server/max_hard_upload_rate: 80
  mldonkey-server/run_as_user: mldonkey
  mldonkey-server/reown_file: false
  mldonkey-server/mldonkey_niceness: 0
  mldonkey-server/fasttrack_problem:
* mldonkey-server/mldonkey_dir: /var/lib/mldonkey
  mldonkey-server/mldonkey_move: false



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



Bug#593092: mldonkey-server: local users are gone after upgrade to squeeze, must re-create

2010-08-15 Thread Vladislav Naumov
Package: mldonkey-server
Version: 3.0.1-1
Severity: normal

After the upgrade users that were defined in users.ini didn't work for
some reason, and users command in telnet interface only showed admin
user with no password. I re-created users.

This probably needs just some note in changelog.

-- System Information:
Debian Release: squeeze/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: i386 (i686)

Kernel: Linux 2.6.32-5-openvz-686 (SMP w/1 CPU core)
Locale: LANG=ru_RU.UTF-8, LC_CTYPE=ru_RU.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages mldonkey-server depends on:
ii  adduser  3.112   add and remove users and groups
ii  debconf [debconf-2.0 1.5.33  Debian configuration management sy
ii  libbz2-1.0   1.0.5-4 high-quality block-sorting file co
ii  libc62.11.2-2Embedded GNU C Library: Shared lib
ii  libfontconfig1   2.8.0-2.1   generic font configuration library
ii  libfreetype6 2.4.0-2 FreeType 2 font engine, shared lib
ii  libgcc1  1:4.4.4-8   GCC support library
ii  libgd2-xpm   2.0.36~rc1~dfsg-3.2 GD Graphics Library version 2
ii  libjpeg626b1-1   The Independent JPEG Group's JPEG 
ii  libpng12-0   1.2.44-1PNG library - runtime
ii  libstdc++6   4.4.4-8 The GNU Standard C++ Library v3
ii  libx11-6 2:1.3.3-3   X11 client-side library
ii  libxpm4  1:3.5.8-1   X11 pixmap library
ii  mime-support 3.48-1  MIME files 'mime.types'  'mailcap
ii  ucf  3.0025  Update Configuration File: preserv
ii  zlib1g   1:1.2.3.4.dfsg-3compression library - runtime

mldonkey-server recommends no packages.

mldonkey-server suggests no packages.

-- debconf information:
* mldonkey-server/max_hard_download_rate: 200
* mldonkey-server/launch_at_startup: true
  mldonkey-server/mldonkey_group: mldonkey
  mldonkey-server/false_password:
* mldonkey-server/max_hard_upload_rate: 80
  mldonkey-server/run_as_user: mldonkey
  mldonkey-server/reown_file: false
  mldonkey-server/mldonkey_niceness: 0
  mldonkey-server/fasttrack_problem:
* mldonkey-server/mldonkey_dir: /var/lib/mldonkey
  mldonkey-server/mldonkey_move: false



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



Bug#593094: amarok: could not add files from collection to playlist while using ru_RU.koi8r locale

2010-08-15 Thread Vladislav Naumov
Package: amarok
Version: 2.3.1-1
Severity: important

Just upgraded to squeeze and amarok2.
Can't add files from collection to playlist now.
Right click on collection - add to playlist: nothing happens.
Right click on collection - replace playlist: nothing happens.
Drag from collection to playlist window: nothing happens.
Drag from collection to player window: nothing happens.

amarok -a appends files to playlist just fine.

I was using ru_RU.koi8r locale.

Then I converted to ru_RU.UTF-8, renamed all files on filesystem with
convmv and rescanned collection. It works now.


-- System Information:
Debian Release: squeeze/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: i386 (i686)

Kernel: Linux 2.6.32-5-openvz-686 (SMP w/1 CPU core)
Locale: LANG=ru_RU.UTF-8, LC_CTYPE=ru_RU.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages amarok depends on:
ii  amarok-common   2.3.1-1  architecture independent files for
ii  amarok-utils2.3.1-1  utilities for Amarok media player
ii  kdebase-runtime 4:4.4.5-1runtime components from the offici
ii  libc6   2.11.2-2 Embedded GNU C Library: Shared lib
ii  libcurl3-gnutls 7.21.0-1 Multi-protocol file transfer libra
ii  libgcc1 1:4.4.4-8GCC support library
ii  libgcrypt11 1.4.5-2  LGPL Crypto library - runtime libr
ii  libglib2.0-02.24.1-1 The GLib library of C routines
ii  libgpod4-nogtk  0.7.2-2+b1   library to read and write songs to
ii  libgtk2.0-0 2.20.1-1 The GTK+ graphical user interface 
ii  libkdecore5 4:4.4.5-1the KDE Platform Core Library
ii  libkdeui5   4:4.4.5-1the KDE Platform User Interface Li
ii  libkdnssd4  4:4.4.5-1the DNS-SD Protocol Library for th
ii  libkfile4   4:4.4.5-1the File Selection Dialog Library 
ii  libkio5 4:4.4.5-1the Network-enabled File Managemen
ii  libknewstuff2-4 4:4.4.5-1the Get Hot New Stuff v2 Library
ii  libknewstuff3-4 4:4.4.5-1the Get Hot New Stuff v3 Library
ii  libkutils4  4:4.4.5-1various utility classes for the KD
ii  liblastfm0  0.4.0~git20090710-1  The Last.fm web services library
ii  libloudmouth1-0 1.4.3-5  Lightweight C Jabber library
ii  libmtp8 1.0.3-1  Media Transfer Protocol (MTP) libr
ii  libmysqlclient165.1.49-1 MySQL database client library
ii  libphonon4  4:4.6.0really4.4.2-1 the core library of the Phonon mul
ii  libplasma3  4:4.4.5-1the Plasma Library for the KDE Pla
ii  libqca2 2.0.2-1  libraries for the Qt Cryptographic
ii  libqt4-dbus 4:4.6.3-1Qt 4 D-Bus module
ii  libqt4-network  4:4.6.3-1Qt 4 network module
ii  libqt4-script   4:4.6.3-1Qt 4 script module
ii  libqt4-sql  4:4.6.3-1Qt 4 SQL module
ii  libqt4-svg  4:4.6.3-1Qt 4 SVG module
ii  libqt4-webkit   4:4.6.3-1Qt 4 WebKit module
ii  libqt4-xml  4:4.6.3-1Qt 4 XML module
ii  libqtcore4  4:4.6.3-1Qt 4 core module
ii  libqtgui4   4:4.6.3-1Qt 4 GUI module
ii  libqtscript4-core   0.1.0-3  Qt Script bindings for the Qt 4 Co
ii  libqtscript4-gui0.1.0-3  Qt Script bindings for the Qt 4 Gu
ii  libqtscript4-networ 0.1.0-3  Qt Script bindings for the Qt 4 Ne
ii  libqtscript4-sql0.1.0-3  Qt Script bindings for the Qt 4 SQ
ii  libqtscript4-uitool 0.1.0-3  Qt Script bindings for the Qt 4 Ui
ii  libqtscript4-xml0.1.0-3  Qt Script bindings for the Qt 4 XM
ii  libsolid4   4:4.4.5-1Solid Library for KDE Platform
ii  libstdc++6  4.4.4-8  The GNU Standard C++ Library v3
ii  libstreamanalyzer0  0.7.2-1+b1   streamanalyzer library for Strigi 
ii  libstreams0 0.7.2-1+b1   streams library for for Strigi Des
ii  libtag-extras1  1.0.1-2  TagLib extras library - support fo
ii  libtag1c2a  1.6.3-1  TagLib Audio Meta-Data Library
ii  libthreadweaver44:4.4.5-1the ThreadWeaver Library for the K
ii  libxml2 2.7.7.dfsg-4 GNOME XML library
ii  phonon  4:4.6.0really4.4.2-1 metapackage for the Phonon multime
ii  phonon-backend-xine 4:4.6.0really4.4.2-1 Phonon Xine 1.1.x backend
ii  zlib1g  1:1.2.3.4.dfsg-3 compression library - runtime

Versions of packages amarok recommends:
ii  kdemultimedia-kio-plugins 4:4.4.5-1  transparent audio CD access for ap

Versions of packages amarok suggests:
ii  libqt4-sql-mysql  4:4.6.3-1  Qt 4 MySQL database driver
pn  libqt4-sql-psql  

Bug#593115: iceweasel: Scrolling in Google Reader is slow

2010-08-15 Thread Vladislav Naumov
Package: iceweasel
Version: 3.5.11-1
Severity: normal
Tags: patch

Turning off extensions doesn't help.
Running with clean profile doesn't help either.
Problem is seen on Radeon an Nvidia cards.

More info here:
http://forums.mozillazine.org/viewtopic.php?f=23t=1442735
https://bugs.launchpad.net/ubuntu/+source/firefox-3.5/+bug/49

I believe this is this bug:
https://bugzilla.mozilla.org/show_bug.cgi?id=510856
It's fixed in upstream firefox 3.6.8.
There's a patch in bugzilla.

-- Package-specific info:


-- Addons package information
ii  iceweasel  3.5.11-1   Web browser based on Firefox
ii  iceweasel-dom- 1:2.0.4-2  tool for inspecting the DOM of pages in Icew
ii  iceweasel-webd 1.1.8-4transitional dummy package

-- System Information:
Debian Release: squeeze/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: i386 (i686)

Kernel: Linux 2.6.32-5-openvz-686 (SMP w/1 CPU core)
Locale: LANG=ru_RU.UTF-8, LC_CTYPE=ru_RU.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages iceweasel depends on:
ii  debianutils   3.4Miscellaneous utilities specific t
ii  fontconfig2.8.0-2.1  generic font configuration library
ii  libc6 2.11.2-2   Embedded GNU C Library: Shared lib
ii  libgcc1   1:4.4.4-8  GCC support library
ii  libglib2.0-0  2.24.1-1   The GLib library of C routines
ii  libgtk2.0-0   2.20.1-1   The GTK+ graphical user interface 
ii  libnspr4-0d   4.8.4-2NetScape Portable Runtime Library
ii  libstdc++64.4.4-8The GNU Standard C++ Library v3
ii  procps1:3.2.8-9  /proc file system utilities
ii  xulrunner-1.9.1   1.9.1.11-1 XUL + XPCOM application runner

iceweasel recommends no packages.

Versions of packages iceweasel suggests:
ii  libgssapi-krb5-21.8.1+dfsg-5 MIT Kerberos runtime libraries - k
pn  mozplugger  none   (no description available)
pn  ttf-lyx | latex-xft-fonts   none   (no description available)
pn  ttf-mathematica4.1  none   (no description available)
pn  xfonts-mathml   none   (no description available)
pn  xprint  none   (no description available)

Versions of packages xulrunner-1.9.1 depends on:
ii  libasound2  1.0.23-1 shared library for ALSA applicatio
ii  libatk1.0-0 1.30.0-1 The ATK accessibility toolkit
ii  libbz2-1.0  1.0.5-4  high-quality block-sorting file co
ii  libc6   2.11.2-2 Embedded GNU C Library: Shared lib
ii  libcairo2   1.8.10-4 The Cairo 2D vector graphics libra
ii  libdbus-1-3 1.2.24-3 simple interprocess messaging syst
ii  libfontconfig1  2.8.0-2.1generic font configuration library
ii  libfreetype62.4.0-2  FreeType 2 font engine, shared lib
ii  libgcc1 1:4.4.4-8GCC support library
ii  libglib2.0-02.24.1-1 The GLib library of C routines
ii  libgtk2.0-0 2.20.1-1 The GTK+ graphical user interface 
ii  libhunspell-1.2-0   1.2.11-1 spell checker and morphological an
ii  libjpeg62   6b1-1The Independent JPEG Group's JPEG 
ii  libmozjs2d  1.9.1.11-1   The Mozilla SpiderMonkey JavaScrip
ii  libnspr4-0d 4.8.4-2  NetScape Portable Runtime Library
ii  libnss3-1d  3.12.6-3 Network Security Service libraries
ii  libpango1.0-0   1.28.1-1 Layout and rendering of internatio
ii  libpng12-0  1.2.44-1 PNG library - runtime
ii  libreadline66.1-3GNU readline and history libraries
ii  libsqlite3-03.7.0-1.1SQLite 3 shared library
ii  libstartup-notification 0.10-1   library for program launch feedbac
ii  libstdc++6  4.4.4-8  The GNU Standard C++ Library v3
ii  libx11-62:1.3.3-3X11 client-side library
ii  libxrender1 1:0.9.6-1X Rendering Extension client libra
ii  libxt6  1:1.0.7-1X11 toolkit intrinsics library
ii  zlib1g  1:1.2.3.4.dfsg-3 compression library - runtime

-- no debconf information



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



Bug#552004: Upstream accepted this

2009-10-23 Thread Vladislav Naumov
Patch (better one) applied upstream:
https://savannah.nongnu.org/patch/?6961#comment4



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



Bug#552004: mldonkey-server: 'Error Failure(hd), moved to torrents/old' for some torrent files

2009-10-22 Thread Vladislav Naumov
Package: mldonkey-server
Version: 2.9.5-2+lenny1
Severity: normal
Tags: patch

Some torrent files are discarded by mldonkey with this message in log:
[BT] Error Failure(hd) in scan_new_torrents_directory for
file.torrent, moved to torrents/old ...
3.0.0-3 from squeeze is also affected.

I tried to fix this, and it turns out that some internal list is empty
when program tries to get it's first element.
This patch checks list length before using it. Works fine for me.

Sample torrent:
http://www.mininova.org/tor/3070173

Upstream bug report:
https://savannah.nongnu.org/bugs/index.php?27781


-- System Information:
Debian Release: 5.0.3
  APT prefers stable
  APT policy: (990, 'stable')
Architecture: i386 (i686)

Kernel: Linux 2.6.26-2-openvz-686 (SMP w/1 CPU core)
Locale: LANG=ru_RU.koi8r, LC_CTYPE=ru_RU.koi8r (charmap=KOI8-R)
Shell: /bin/sh linked to /bin/bash

Versions of packages mldonkey-server depends on:
ii  adduser3.110 add and remove users and groups
ii  debconf [debconf-2.0]  1.5.24Debian configuration management sy
ii  dpkg   1.14.25   Debian package management system
ii  libbz2-1.0 1.0.5-1   high-quality block-sorting file co
ii  libc6  2.7-18GNU C Library: Shared libraries
ii  libfreetype6   2.3.7-2+lenny1FreeType 2 font engine, shared lib
ii  libgcc11:4.3.2-1.1   GCC support library
ii  libgd2-noxpm   2.0.36~rc1~dfsg-3 GD Graphics Library version 2 (wit
ii  libjpeg62  6b-14 The Independent JPEG Group's JPEG 
ii  libpng12-0 1.2.27-2+lenny2   PNG library - runtime
ii  libstdc++6 4.3.2-1.1 The GNU Standard C++ Library v3
ii  mime-support   3.44-1MIME files 'mime.types'  'mailcap
ii  ucf3.0016Update Configuration File: preserv
ii  zlib1g 1:1.2.3.3.dfsg-12 compression library - runtime

mldonkey-server recommends no packages.

Versions of packages mldonkey-server suggests:
pn  makejail  none (no description available)

-- debconf information excluded
diff -r 68746b87145b bTTorrent.ml
--- a/src/networks/bittorrent/bTTorrent.ml	Thu Oct 22 20:52:45 2009 +0700
+++ b/src/networks/bittorrent/bTTorrent.ml	Thu Oct 22 20:54:10 2009 +0700
@@ -168,7 +168,7 @@
 next_urls := List2.shuffle !next_urls;
 announce_list := !next_urls @ !announce_list
   end
-else
+else if List.length !next_urls = 1 then
   announce_list := List.hd !next_urls :: !announce_list
 | _ -
 lprintf_nl [BT] unknown field in announce list


Bug#551896: can't download torrent files with no 'announce' field

2009-10-22 Thread Vladislav Naumov
Upstream accepted patch:

  committed 2009/10/22
(http://savannah.nongnu.org/patch/?6956#comment2)



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



Bug#552004: better patch

2009-10-22 Thread Vladislav Naumov
There's better patch suggested by upstream developer:
https://savannah.nongnu.org/bugs/download.php?file_id=18929
Works fine for me.

https://savannah.nongnu.org/bugs/index.php?27781#comment1:
  Please try the attached patch instead.

  It uses Ocaml exception handling in case
  of an error and saves the handling of the
  if-then code in your patch.



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



Bug#551766: Upstream accepted this

2009-10-21 Thread Vladislav Naumov
Patch was accepted by upstream with some changes.
Updated version is in CVS now.



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



Bug#551896: mldonkey-server: can't download torrent files with no 'announce' field

2009-10-21 Thread Vladislav Naumov
Package: mldonkey-server
Version: 2.9.5-2+lenny1
Severity: normal
Tags: patch


There are many torrent files now that only contain 'announce-list', not
'announce' field (most created with new uTorrent versions).
Mldonkey handles multiple trackers nice, but 
one internal assertion fails on such files, preventing
download.

3.0.0-3 from squeeze is also affected.

Here is a working patch for this, and
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=551766
has a couple of test torrents.

Upstream bug report:
https://savannah.nongnu.org/bugs/index.php?27769

-- System Information:
Debian Release: 5.0.3
  APT prefers stable
  APT policy: (990, 'stable')
Architecture: i386 (i686)

Kernel: Linux 2.6.26-2-openvz-686 (SMP w/1 CPU core)
Locale: LANG=ru_RU.koi8r, LC_CTYPE=ru_RU.koi8r (charmap=KOI8-R)
Shell: /bin/sh linked to /bin/bash

Versions of packages mldonkey-server depends on:
ii  adduser3.110 add and remove users and groups
ii  debconf [debconf-2.0]  1.5.24Debian configuration management sy
ii  dpkg   1.14.25   Debian package management system
ii  libbz2-1.0 1.0.5-1   high-quality block-sorting file co
ii  libc6  2.7-18GNU C Library: Shared libraries
ii  libfreetype6   2.3.7-2+lenny1FreeType 2 font engine, shared lib
ii  libgcc11:4.3.2-1.1   GCC support library
ii  libgd2-noxpm   2.0.36~rc1~dfsg-3 GD Graphics Library version 2 (wit
ii  libjpeg62  6b-14 The Independent JPEG Group's JPEG 
ii  libpng12-0 1.2.27-2+lenny2   PNG library - runtime
ii  libstdc++6 4.3.2-1.1 The GNU Standard C++ Library v3
ii  mime-support   3.44-1MIME files 'mime.types'  'mailcap
ii  ucf3.0016Update Configuration File: preserv
ii  zlib1g 1:1.2.3.3.dfsg-12 compression library - runtime

mldonkey-server recommends no packages.

Versions of packages mldonkey-server suggests:
pn  makejail  none (no description available)

-- debconf-show failed
--- src/networks/bittorrent/bTTorrent.ml2009-10-21 22:16:11.0 
+0700
+++ src/networks/bittorrent/bTTorrent.ml.my 2009-10-21 22:16:20.0 
+0700
@@ -285,7 +285,6 @@
 | None - Charset.safe_convert !file_encoding !file_name
 | Some name - name
   in
-  assert (!announce  );
   assert (real_file_name  );
   assert (!file_piece_size  zero);
   assert (!file_pieces  );


Bug#368604: [PATCH] better unsafe name regexp

2009-10-20 Thread Vladislav Naumov
bittornado is too picky about filenames within a torrent.
Even harmless names, such as '...And justice for all' or '.directory'
are considered 'unsafe', and bittornado stops.

Here is a patch to fix this.
New regexp catches all tries to go upwards the directory tree I could
imagine (~user, ../../, /etc/, etc.). Anything else is OK.
Of course, one can download new .bashrc in his homedir.
He could do this with wget as well.

I sent it to upstream author a couple of years ago, but never
got any reply.
Index: BitTornado/BT1/btformats.py
===
RCS file: /cvsroot/bittornado/BitTornado/BT1/btformats.py,v
retrieving revision 1.3
diff -u -r1.3 btformats.py
--- BitTornado/BT1/btformats.py	25 May 2004 19:00:58 -	1.3
+++ BitTornado/BT1/btformats.py	20 Oct 2009 11:30:47 -
@@ -4,7 +4,7 @@
 from types import StringType, LongType, IntType, ListType, DictType
 from re import compile
 
-reg = compile(r'^[^/\\.~][^/\\]*$')
+unsafe_file = compile(r'/\.\./|^~|^/|^\.\./')
 
 ints = (LongType, IntType)
 
@@ -20,7 +20,7 @@
 name = info.get('name')
 if type(name) != StringType:
 raise ValueError, 'bad metainfo - bad name'
-if not reg.match(name):
+if unsafe_file.search(name):
 raise ValueError, 'name %s disallowed for security reasons' % name
 if info.has_key('files') == info.has_key('length'):
 raise ValueError, 'single/multiple file mix'
@@ -44,7 +44,7 @@
 for p in path:
 if type(p) != StringType:
 raise ValueError, 'bad metainfo - bad path dir'
-if not reg.match(p):
+if unsafe_file.search(p):
 raise ValueError, 'path %s disallowed for security reasons' % p
 for i in xrange(len(files)):
 for j in xrange(i):


Bug#551766: bittornado: can't download torrent files with no 'announce' field

2009-10-20 Thread Vladislav Naumov
Package: bittornado
Version: 0.3.18-9
Severity: normal
Tags: patch


There are many torrent files now that only contain 'announce-list', not
'announce' field (most created with new uTorrent versions).
Bittornado handles multiple trackers nice, but 
a couple of internal checks fail on such files, preventing
download. Also, btshowmetainfo just throws an unhandled exception.

Here is a patch for this, and also a couple of test torrents.

-- System Information:
Debian Release: 5.0.3
  APT prefers stable
  APT policy: (990, 'stable')
Architecture: i386 (i686)

Kernel: Linux 2.6.26-2-openvz-686 (SMP w/1 CPU core)
Locale: LANG=ru_RU.koi8r, LC_CTYPE=ru_RU.koi8r (charmap=KOI8-R)
Shell: /bin/sh linked to /bin/bash

Versions of packages bittornado depends on:
ii  python   2.5.2-3 An interactive high-level object-o
ii  python-support   0.8.4lenny1 automated rebuilding support for P

Versions of packages bittornado recommends:
ii  mime-support  3.44-1 MIME files 'mime.types'  'mailcap
ii  python-crypto 2.0.1+dfsg1-2.3+lenny0 cryptographic algorithms and proto

Versions of packages bittornado suggests:
pn  bittornado-guinone (no description available)
pn  python-psyco  none (no description available)

-- debconf-show failed


test1.torrent
Description: Binary data


test2.torrent
Description: Binary data


Bug#551766: Sorry, forgot to attach the patch.

2009-10-20 Thread Vladislav Naumov
Sorry, forgot to attach the patch.
Index: btshowmetainfo.py
===
RCS file: /cvsroot/bittornado/btshowmetainfo.py,v
retrieving revision 1.2
diff -u -r1.2 btshowmetainfo.py
--- btshowmetainfo.py	24 Feb 2004 17:53:47 -	1.2
+++ btshowmetainfo.py	20 Oct 2009 11:30:47 -
@@ -52,7 +52,8 @@
 piece_number, last_piece_length = divmod(file_length, piece_length)
 print '%s %i (%i * %i + %i)' \
   % (name,file_length, piece_number, piece_length, last_piece_length)
-print 'announce url..: %s' % metainfo['announce']
+if metainfo.has_key('announce'):
+print 'announce url..: %s' % metainfo['announce']
 if metainfo.has_key('announce-list'):
 list = []
 for tier in metainfo['announce-list']:
Index: BitTornado/BT1/btformats.py
===
RCS file: /cvsroot/bittornado/BitTornado/BT1/btformats.py,v
retrieving revision 1.3
diff -u -r1.3 btformats.py
--- BitTornado/BT1/btformats.py	25 May 2004 19:00:58 -	1.3
+++ BitTornado/BT1/btformats.py	20 Oct 2009 11:30:47 -
@@ -55,7 +55,7 @@
 if type(message) != DictType:
 raise ValueError
 check_info(message.get('info'))
-if type(message.get('announce')) != StringType:
+if type(message.get('announce', )) != StringType:
 raise ValueError
 
 def check_peers(message):


Bug#549896: [PATCH] save/restore size hints when going fullscreen

2009-10-09 Thread Vladislav Naumov
When those apps go fullscreen, they turn off some widgets, thus
decreasing minimum window size. And it seems like icewm can't properly
handle this change for fullscreen windows, so after switching back it
uses bad hints.

Working patch attached.
It saves size hints before going fullscreen and restores them back after
leaving fullscreen. I don't know if this is a proper way to handle
this (spotted this trick in lwm), but it seems to be working fine for me.

Apply in `src` directory.
Done for icewm 1.2.37-1, applies to icewm_1.2.37+1.3.4pre2-4 cleanly.
diff -r d584d305656c -r a1ad5efdfa3f wmclient.cc
--- a/wmclient.cc	Sun May 03 19:42:28 2009 +0700
+++ b/wmclient.cc	Fri Oct 09 20:17:07 2009 +0700
@@ -863,6 +863,15 @@
 if (fMwmHints)
 *fMwmHints = mwm;
 }
+
+void YFrameClient::saveSizeHints()
+{
+memcpy(savedSizeHints, fSizeHints, sizeof(XSizeHints));
+};
+void YFrameClient::restoreSizeHints() {
+memcpy(fSizeHints, savedSizeHints, sizeof(XSizeHints));
+};
+
 
 long YFrameClient::mwmFunctions() {
 long functions = ~0U;
diff -r d584d305656c -r a1ad5efdfa3f wmclient.h
--- a/wmclient.h	Sun May 03 19:42:28 2009 +0700
+++ b/wmclient.h	Fri Oct 09 20:17:07 2009 +0700
@@ -94,6 +94,11 @@
 
 void getSizeHints();
 XSizeHints *sizeHints() const { return fSizeHints; }
+
+// for going fullscreen and back
+XSizeHints savedSizeHints;
+void saveSizeHints();
+void restoreSizeHints();
 
 unsigned long protocols() const { return fProtocols; }
 void getProtocols(bool force);
diff -r d584d305656c -r a1ad5efdfa3f wmframe.cc
--- a/wmframe.cc	Sun May 03 19:42:28 2009 +0700
+++ b/wmframe.cc	Fri Oct 09 20:17:07 2009 +0700
@@ -3129,6 +3129,17 @@
 //if (fNewState == fOldState)
 //return ;
 
+if ((fOldState ^ fNewState)  WinStateFullscreen) {
+if ((fNewState  WinStateFullscreen)) {
+// going fullscreen
+client()-saveSizeHints();
+}
+else {
+// going back
+client()-restoreSizeHints();
+}
+}
+
 // !!! move here
 
 fWinState = fNewState;


Bug#354434: [PATCH] no more black icons for psi / skype / xclock / xcalc / keepassx

2009-05-04 Thread Vladislav Naumov
Better patch is attached.
This one also works for applications that only export large icons
(larger then 48x48) - for example, djview4.

Packages for lenny/i386:
http://vnaum.com/misc/200905/icewm/
diff -ur icewm-1.2.37/src/wmclient.cc icewm-1.2.37.my/src/wmclient.cc
--- icewm-1.2.37/src/wmclient.cc	2009-01-25 20:39:51.0 +0600
+++ icewm-1.2.37.my/src/wmclient.cc	2009-05-03 19:37:08.0 +0700
@@ -1005,6 +1005,57 @@
 }
 return false;
 }
+
+static void *GetFullWindowProperty(Display *display, Window handle, Atom propAtom, int itemCount, int itemSize)
+{
+void *data = NULL;
+itemCount = 0;
+
+{
+Atom r_type;
+int r_format;
+unsigned long nitems;
+unsigned long bytes_remain;
+unsigned char *prop;
+
+while (XGetWindowProperty(display, handle,
+   propAtom, 0, 1024*32, False, AnyPropertyType,
+   r_type, r_format, nitems, bytes_remain,
+   prop) == Success  prop)
+{
+if (r_format == itemSize  nitems  0) {
+data = realloc(data, (itemCount + nitems) * itemSize / 8);
+memcpy((char *)data + itemCount * itemSize / 8, prop, nitems * itemSize / 8);
+itemCount += nitems;
+XFree(prop);
+if (bytes_remain == 0)
+break;
+continue;
+}
+XFree(prop);
+free(data);
+itemCount = 0;
+return NULL;
+}
+}
+return data;
+}
+
+bool YFrameClient::getNetWMIcon(int *count, long **elem) {
+*count = 0;
+*elem = 0;
+
+MSG((get_net_wm_icon 1));
+
+*elem = (long *)GetFullWindowProperty(xapp-display(), handle(),
+  _XA_NET_WM_ICON, *count, 32);
+
+if (elem != NULL)
+return true;
+
+return false;
+}
+
 #endif
 
 #if defined(GNOME1_HINTS) || defined(WMSPEC_HINTS)
diff -ur icewm-1.2.37/src/wmclient.h icewm-1.2.37.my/src/wmclient.h
--- icewm-1.2.37/src/wmclient.h	2009-01-25 20:39:51.0 +0600
+++ icewm-1.2.37.my/src/wmclient.h	2009-03-09 21:52:44.0 +0600
@@ -136,6 +136,7 @@
 long winHints() const { return fWinHints; }
 
 #ifdef WMSPEC_HINTS
+bool getNetWMIcon(int *count, long **elem);
 bool getNetWMStateHint(long *mask, long *state);
 bool getNetWMDesktopHint(long *workspace);
 bool getNetWMStrut(int *left, int *right, int *top, int *bottom);
diff -ur icewm-1.2.37/src/wmframe.cc icewm-1.2.37.my/src/wmframe.cc
--- icewm-1.2.37/src/wmframe.cc	2009-05-03 20:55:44.0 +0700
+++ icewm-1.2.37.my/src/wmframe.cc	2009-05-03 19:40:16.0 +0700
@@ -2301,6 +2301,8 @@
 
 if (reclen  2)
 return 0;
+
+/* iterate through pixmap+pask pairs, construct icons */
 for (int i = 0; i  count; i++, elem += reclen) {
 Pixmap pixmap(elem[0]), mask(elem[1]);
 
@@ -2340,12 +2344,12 @@
 refYPixmap img(new YPixmap(w, h));
 Graphics g(img, 0, 0);
 
-g.setColorPixel(1);
+g.setColorPixel(0xff);
 g.fillRect(0, 0, w, h);
 g.setColorPixel(0);
 g.setClipMask(pixmap);
 g.fillRect(0, 0, w, h);
-
+
 #ifdef CONFIG_ANTIALIASING
 refYIconImage img2(new YIconImage(img-pixmap(), mask, img-width(), img-height(), w, h));
 
@@ -2403,11 +2406,42 @@
 
 YIcon *oldFrameIcon(fFrameIcon);
 
-if (client()-getWinIcons(type, count, elem)) {
+int res = client()-getNetWMIcon(count, elem);
+if (res and count  0) {
+refYIconImage icons[4];
+int sizes[] = { YIcon::smallSize(), YIcon::largeSize(), YIcon::hugeSize() };
+
+// find icons that match Small-/Large-/HugeIconSize, icons[3] is
+// fallback if none matches
+for (long *e = elem; e - count  elem; e += 2 + e[0] * e[1]) {
+int i = 0;
+for (; i  3; i++)
+if (e[0] == sizes[i]  e[0] == e[1])
+break;
+if (icons[i] == null)
+icons[i] = YIconImage::createFromIconProperty(e + 2, e[0], e[1]);
+}
+
+// use the next larger existing icon to scale those that were missing
+for (int i = 0; i  3; i++)
+if (icons[i] == null)
+for (int j = i + 1; j  4; j++)
+if (icons[j] != null) {
+icons[i] = icons[j]-scale(sizes[i], sizes[i]);
+break;
+}
+
+fFrameIcon = new YIcon(icons[0], icons[1], icons[2]);
+XFree(elem);
+} else if (client()-getWinIcons(type, count, elem)) {
 if (type == _XA_WIN_ICONS)
+{
 fFrameIcon = newClientIcon(elem[0], elem[1], elem + 2);
+}
 else // compatibility
+{
 fFrameIcon = newClientIcon(count/2, 2, elem);
+}
 XFree(elem);
 } else if 

Bug#354434: [PATCH] no more black icons for psi / skype / xclock / xcalc / keepassx

2009-03-11 Thread Vladislav Naumov
See attachment.
Applies to icewm_1.2.37 from squeeze.
Includes previous patch (xclock / xcalc icons).

A couple of functions were backported from 1.3 branch.
Psi / Skype / keepassx icons look fine now.
Sometimes psi icons are created b/w (open/close dialog box several times
to see this), but I guess it's not an icewm bug - at least, it can be
seen in LXDE, too. Probably something with psi/qt.
diff -ur icewm-1.2.37/src/wmclient.cc icewm-1.2.37.my/src/wmclient.cc
--- icewm-1.2.37/src/wmclient.cc	2009-03-10 22:38:55.0 +0600
+++ icewm-1.2.37.my/src/wmclient.cc	2009-03-10 22:38:57.0 +0600
@@ -1005,6 +1005,57 @@
 }
 return false;
 }
+
+static void *GetFullWindowProperty(Display *display, Window handle, Atom propAtom, int itemCount, int itemSize)
+{
+void *data = NULL;
+itemCount = 0;
+
+{
+Atom r_type;
+int r_format;
+unsigned long nitems;
+unsigned long bytes_remain;
+unsigned char *prop;
+
+while (XGetWindowProperty(display, handle,
+   propAtom, 0, 1024*32, False, AnyPropertyType,
+   r_type, r_format, nitems, bytes_remain,
+   prop) == Success  prop)
+{
+if (r_format == itemSize  nitems  0) {
+data = realloc(data, (itemCount + nitems) * itemSize / 8);
+memcpy((char *)data + itemCount * itemSize / 8, prop, nitems * itemSize / 8);
+itemCount += nitems;
+XFree(prop);
+if (bytes_remain == 0)
+break;
+continue;
+}
+XFree(prop);
+free(data);
+itemCount = 0;
+return NULL;
+}
+}
+return data;
+}
+
+bool YFrameClient::getNetWMIcon(int *count, long **elem) {
+*count = 0;
+*elem = 0;
+
+MSG((get_net_wm_icon 1));
+
+*elem = (long *)GetFullWindowProperty(xapp-display(), handle(),
+  _XA_NET_WM_ICON, *count, 32);
+
+if (elem != NULL)
+return true;
+
+return false;
+}
+
 #endif
 
 #if defined(GNOME1_HINTS) || defined(WMSPEC_HINTS)
diff -ur icewm-1.2.37/src/wmclient.h icewm-1.2.37.my/src/wmclient.h
--- icewm-1.2.37/src/wmclient.h	2009-03-10 22:38:55.0 +0600
+++ icewm-1.2.37.my/src/wmclient.h	2009-03-10 22:38:57.0 +0600
@@ -136,6 +136,7 @@
 long winHints() const { return fWinHints; }
 
 #ifdef WMSPEC_HINTS
+bool getNetWMIcon(int *count, long **elem);
 bool getNetWMStateHint(long *mask, long *state);
 bool getNetWMDesktopHint(long *workspace);
 bool getNetWMStrut(int *left, int *right, int *top, int *bottom);
diff -ur icewm-1.2.37/src/ypixbuf.cc icewm-1.2.37.my/src/ypixbuf.cc
--- icewm-1.2.37/src/ypixbuf.cc	2009-03-10 22:38:55.0 +0600
+++ icewm-1.2.37.my/src/ypixbuf.cc	2009-03-10 22:38:57.0 +0600
@@ -751,6 +751,47 @@
 }
 }
 
+/* Creates Imlib image from _NET_WM_ICON property */
+refYPixbuf YPixbuf::createFromIconProperty(long *prop_pixels,
+   int width, int height)
+{
+refYPixbuf pbuf;
+unsigned char *data = NULL;
+
+/*init data*/
+data = new unsigned char[width * height * 3];
+Pixel * t_alpha = new Pixel[width * height];
+
+unsigned char * dscan = data;
+unsigned char * ascan = (unsigned char * ) t_alpha;
+for (int r = 0; r  height; r++) {
+for (int c = 0; c  width; c++) {
+unsigned long pix =
+prop_pixels[c + r * width];
+
+ascan[0] = (pix  24)  0xFF;  // A;
+ascan += 1;
+
+dscan[0] = (pix  16)  0xFF;  // R
+dscan[1] = (pix   8)  0xFF;  // G
+dscan[2] = pix  0xFF;  // B
+dscan += 3;
+}
+}
+
+ImlibImage *img = Imlib_create_image_from_data(
+hImlib,
+data,
+NULL,  // The pointer to the alpha data is currently unused and is there for future use
+width, height);
+
+/* free data */
+delete[] data;
+
+pbuf.init(new YPixbuf(width, height, img, t_alpha));
+return pbuf;
+}
+
 void YPixbuf::copyAlphaToMask(Pixmap pixmap, GC gc, int sx, int sy,
   int w, int h, int dx, int dy) {
 if (sx  0) { dx-= sx; w+= sx; sx = 0; }
@@ -1051,6 +1047,12 @@
 delete[] empty;
 }
 
+YPixbuf::YPixbuf(int const width, int const height, ImlibImage * image, Pixel * alpha):
+fAlpha(NULL) {
+fImage = Imlib_clone_image(hImlib, image);
+fAlpha = alpha;
+}
+
 YPixbuf::YPixbuf(const refYPixbuf source,
  int const width, int const height):
 fImage(NULL), fAlpha(NULL)
diff -ur icewm-1.2.37/src/ypixbuf.h icewm-1.2.37.my/src/ypixbuf.h
--- icewm-1.2.37/src/ypixbuf.h	2009-03-10 22:38:55.0 +0600
+++ icewm-1.2.37.my/src/ypixbuf.h	2009-03-10 22:38:56.0 +0600
@@ -36,6 +36,7 @@
 YPixbuf(Drawable drawable, 

Bug#354434: icewm: More info on this bug

2009-03-09 Thread Vladislav Naumov
Package: icewm
Version: 1.2.35-1
Followup-For: Bug #354434


It's two bugs, actually.

1. 1-bit XWMHints icons are rendered improperly (xcalc, xclock).
instead of being black and white, they are black and amost black
(RGBA value of white is 0,0,1,255).

Here is a patch for this issue (against icewm-1.2.37):

diff -r dcf7aaedd3eb wmframe.cc
--- a/wmframe.ccMon Mar 09 19:09:16 2009 +0600
+++ b/wmframe.ccMon Mar 09 21:01:35 2009 +0600
@@ -2345,19 +2345,20 @@
 refYPixmap img(new YPixmap(w, h));
 Graphics g(img, 0, 0);
 
-g.setColorPixel(1);
+g.setColorPixel(0xff);
 g.fillRect(0, 0, w, h);
 g.setColorPixel(0);
 g.setClipMask(pixmap);

After this black-and-white icons of xcalc/xclock are shown properly,
and psi/skype icons are no longer black (still no color, but not black).

2. fullcolor icons exported in _NET_WM_ICON property (modern Qt4
applications - skype, psi) are not handled by icewm 1.2, and it never
supported this. Upstream has this feature in 1.3 branch.
I'll try to backport it into 1.2.



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



Bug#354434: icewm: Some applications show black icon silhouettes in taskbar

2009-03-07 Thread Vladislav Naumov
Package: icewm
Followup-For: Bug #354434


I've seen this bug, too.

Some applications show black icon silhouettes in taskbar, window tile
bar and task switcher (Alt-Tab). Looks like alpha channel is applied
instead of picture channel.

I experimented a bit with VirtualBox, some results:
 * In etch, lenny and squeeze bug is present. Psi uses qt3 in etch, and
 works fine.

This is not something with X driver: bug is seen on ati, nvidia-glx and
vesa driver.

Applications affected:
 * xcalc
 * xclock
 * psi (in lenny and squeeze)
 * skype (on etch only static build shows black)
 * Xnest
 * xine (package xine-ui)

-- System Information:
Debian Release: 5.0
  APT prefers stable
  APT policy: (990, 'stable')
Architecture: i386 (i686)

Kernel: Linux 2.6.26-1-openvz-686 (SMP w/1 CPU core)
Locale: LANG=ru_RU.koi8r, LC_CTYPE=ru_RU.koi8r (charmap=KOI8-R)
Shell: /bin/sh linked to /bin/bash

Versions of packages icewm depends on:
ii  icewm-common 1.2.35-1wonderful Win95-OS/2-Motif-like wi
ii  imlib11  1.9.15-7Imlib is an imaging library for X 
ii  libc62.7-18  GNU C Library: Shared libraries
ii  libesd0  0.2.36-3Enlightened Sound Daemon - Shared 
ii  libfontconfig1   2.6.0-3 generic font configuration library
ii  libgcc1  1:4.3.2-1.1 GCC support library
ii  libice6  2:1.0.4-1   X11 Inter-Client Exchange library
ii  libsm6   2:1.0.3-2   X11 Session Management library
ii  libx11-6 2:1.1.5-2   X11 client-side library
ii  libxext6 2:1.0.4-1   X11 miscellaneous extension librar
ii  libxft2  2.1.12-3FreeType-based font drawing librar
ii  libxinerama1 2:1.0.3-2   X11 Xinerama extension library
ii  libxrandr2   2:1.2.3-1   X11 RandR extension library

icewm recommends no packages.

Versions of packages icewm suggests:
pn  icewm-gnome-support   none (no description available)
ii  ttf-bitstream-vera1.10-7 The Bitstream Vera family of free 

-- no debconf information



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



Bug#459865: ceferino: Typo in intro sequence

2008-01-09 Thread Vladislav Naumov
Package: ceferino
Version: 0.97.5-1
Severity: minor


Screen 2 of the intro sequence reads:
 The cowboy Don Ceferino
 lived very happy in his
 quite and modest house

I guess it should be quiet, not quite.

-- System Information:
Debian Release: 4.0
  APT prefers stable
  APT policy: (990, 'stable')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.18-028test007
Locale: LANG=ru_RU.koi8r, LC_CTYPE=ru_RU.koi8r (charmap=KOI8-R)

Versions of packages ceferino depends on:
ii  ceferino-data  0.97.5-1  action game similar to Super Pang
ii  libc6  2.3.6.ds1-13etch4 GNU C Library: Shared libraries
ii  libgcc11:4.1.1-21GCC support library
ii  libsdl-image1.21.2.5-2+b1image loading library for Simple D
ii  libsdl-mixer1.21.2.6-1.1+b2  mixer library for Simple DirectMed
ii  libsdl1.2debian1.2.11-8  Simple DirectMedia Layer
ii  libstdc++6 4.1.1-21  The GNU Standard C++ Library v3

ceferino recommends no packages.

-- no debconf information



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



Bug#414575: Seen such bug...

2007-03-12 Thread Vladislav Naumov

I've seen such bug on nvidia cards with nvidia proprietary driver.
With vesa/nv everything was okay.


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



Bug#379184: Yes, please - upgrade to latest upstream version!

2006-08-21 Thread Vladislav Naumov

Yes, please - upgrade to latest upstream version!


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



Bug#288856: Help required with pstree bug #288856

2005-09-06 Thread Vladislav Naumov

Serge Matveev wrote:

I think that the bug should be tagged 'unreproducable' and later closed 
unless submitter provides more information.


Bug is reproducable.
Cyrillic letters actually disappear until I run 
/etc/init.d/console-cyrillic restart


--
Best regards,   icq#100485019
 Vladislav  mailto:[EMAIL PROTECTED]


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