Bug#663336: shnsplit: can't be forced to split with no split points given

2012-03-10 Thread Aleksey Sergushichev
Package: shntool
Version: 3.0.7-1
Severity: normal
Tags: patch


I want to be able to use shntool split even if there is no split points
(i.e. there is only one track in cue sheet) but I can't. It's not so
pointless as it may seem to be - this may be useful when running
cue2tracks script for multiple albums and some of them may contain only
one track.

The patch introduces flag -F to force splitting:
--- src/mode_split.c2008-02-19 02:25:14.0 +0300
+++ src/mode_split.c2012-03-10 16:58:44.0 +0400
@@ -57,6 +57,7 @@
 static char *leadout = NULL;
 static char *extract_tracks = NULL;
 static char *manipulate_chars = NULL;
+static int force_split = 0;
 
 typedef struct _cue_info {
   /* global */
@@ -101,6 +102,7 @@
   st_info(  (%%p = performer, %%a = album, %%t = track title, %%n = 
track number)\n);
   st_info(  -u len  postfix each track with len amount of lead-out from next 
track (*)\n);
   st_info(  -x list only extract tracks in list (comma-separated, may contain 
ranges)\n);
+  st_info(  -F force split even if no split points are given (outputs one 
file)\n);
   st_info(\n);
   st_info(  (*) len must be in bytes, m:ss, m:ss.ff or m:ss.nnn 
format\n);
   st_info(\n);
@@ -116,7 +118,7 @@
   st_ops.output_prefix = SPLIT_PREFIX;
   cueinfo.format = NULL;
 
-  while ((c = st_getopt(argc,argv,c:e:f:l:n:m:t:u:x:)) != -1) {
+  while ((c = st_getopt(argc,argv,c:e:f:l:n:m:t:u:x:F)) != -1) {
 switch (c) {
   case 'c':
 if (NULL == optarg)
@@ -168,6 +170,9 @@
   st_error(missing track numbers to extract);
 extract_tracks = optarg;
 break;
+  case 'F':
+force_split = 1;
+break;
 }
   }
 
@@ -736,8 +741,14 @@
   if (split_point_file)
 fclose(fd);
 
-  if (1 == numfiles)
-st_error(no split points given -- nothing to do);
+  if (1 == numfiles) {
+if (force_split) {
+  st_warning(no split points given);
+} 
+else {
+  st_error(no split points given -- nothing to do);
+}
+  }
 
   if (SPLIT_INPUT_CUE == input_type  cueinfo.format) {
 if (cueinfo.trackno  numfiles)
@@ -860,16 +871,16 @@
   else
 read_split_points_file(info);
 
-  if (files[numfiles-2]-beginning_byte  info-data_size)
+  if (numfiles  1  files[numfiles-2]-beginning_byte  info-data_size)
 st_error(split points go beyond input file's data size);
 
-  if (files[numfiles-2]-beginning_byte == info-data_size) {
+  if (numfiles  1  files[numfiles-2]-beginning_byte == info-data_size) {
 st_free(files[numfiles-1]);
 numfiles--;
   }
   else {
 files[numfiles-1]-beginning_byte = info-data_size;
-files[numfiles-1]-data_size = info-data_size - 
files[numfiles-2]-beginning_byte;
+files[numfiles-1]-data_size = info-data_size - (numfiles  1 ? 
files[numfiles-2]-beginning_byte : 0);
 
 adjust_splitfile(numfiles-1);
   }


-- System Information:
Debian Release: 6.0.3
  APT prefers stable
  APT policy: (700, 'stable'), (400, 'testing'), (100, 'unstable'), (1, 
'experimental')
Architecture: i386 (i686)

Kernel: Linux 3.1.0-1-686-pae (SMP w/2 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 shntool depends on:
ii  libc6 2.13-21Embedded GNU C Library: Shared lib

shntool recommends no packages.

Versions of packages shntool suggests:
ii  cuetools 1.3.1-9 tools for manipulating CUE/TOC fil
ii  flac 1.2.1-2+b1  Free Lossless Audio Codec - comman
ii  sox  14.3.2-2+b1 Swiss army knife of sound processi

-- 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#606991: icedove ignores mail encoding after changing layout

2010-12-13 Thread Aleksey Sergushichev
Package: icedove
Version: 3.0.11-1
Severity: normal

When non-latin utf-8 encoded message is opened in the main tab changing of
layout (e.g. wide - vertical) leads to displaying of message in an incorrect
8bit encoding.

Sample mail is attached.

-- System Information:
Debian Release: 5.0.7
  APT prefers stable
  APT policy: (700, 'stable'), (400, 'testing'), (100, 'unstable')
Architecture: i386 (i686)

Kernel: Linux 2.6.32-5-686 (SMP w/2 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 icedove depends on:
ii  debianutils2.30  Miscellaneous utilities specific t
ii  fontconfig 2.6.0-3   generic font configuration library
ii  libasound2 1.0.23-2.1shared library for ALSA applicatio
ii  libatk1.0-01.30.0-1  The ATK accessibility toolkit
ii  libc6  2.11.2-7  Embedded GNU C Library: Shared lib
ii  libcairo2  1.8.10-6  The Cairo 2D vector graphics libra
ii  libdbus-1-31.2.24-3  simple interprocess messaging syst
ii  libfontconfig1 2.8.0-2.1 generic font configuration library
ii  libfreetype6   2.3.7-2+lenny4FreeType 2 font engine, shared lib
ii  libgcc11:4.3.2-1.1   GCC support library
ii  libglib2.0-0   2.24.2-1  The GLib library of C routines
ii  libgtk2.0-02.20.1-2  The GTK+ graphical user interface 
ii  libjpeg62  6b1-1 The Independent JPEG Group's JPEG 
ii  libnspr4-0d4.8.6-1   NetScape Portable Runtime Library
ii  libnss3-1d 3.12.8-1  Network Security Service libraries
ii  libpango1.0-0  1.28.3-1  Layout and rendering of internatio
ii  libpng12-0 1.2.27-2+lenny4   PNG library - runtime
ii  libsqlite3-0   3.7.4-1   SQLite 3 shared library
ii  libstartup-notificatio 0.10-1library for program launch feedbac
ii  libstdc++6 4.4.5-8   The GNU Standard C++ Library v3
ii  libx11-6   2:1.3.3-4 X11 client-side library
ii  libxrender11:0.9.4-2 X Rendering Extension client libra
ii  libxt6 1:1.0.5-3 X11 toolkit intrinsics library
ii  psmisc 22.6-1Utilities that use the proc filesy
ii  zlib1g 1:1.2.3.3.dfsg-12 compression library - runtime

Versions of packages icedove recommends:
ii  myspell-ru [myspell-dictionar 0.99g5-8.1 Russian dictionary for MySpell

Versions of packages icedove suggests:
ii  libdbus-glib-1-20.88-2   simple interprocess messaging syst
ii  libgconf2-4 2.28.1-6 GNOME configuration database syste
ii  libgnome2-0 2.20.1.1-1   The GNOME 2 library - runtime file
ii  libgnomevfs2-0  1:2.22.0-5   GNOME Virtual File System (runtime
ii  libgssapi-krb5-21.8.3+dfsg-2 MIT Kerberos runtime libraries - k
pn  ttf-lyx none   (no description available)

-- no debconf information
---BeginMessage---
Тест
---End Message---


Bug#604153: keyboard-configuration: Template parse error near description...@latin.utf-8

2010-11-20 Thread Aleksey Sergushichev
Package: keyboard-configuration
Version: 1.59
Severity: important


After installing keyboard-configuration from testing (1.59) post-install
script fails with message:
Setting up keyboard-configuration (1.59) ...
Template parse error near `description...@latin.utf-8: Konfiguriši tastaturu', 
in stanza #1 of /var/lib/dpkg/info/keyboard-configuration.templates

-- System Information:
Debian Release: 5.0.6
  APT prefers stable
  APT policy: (700, 'stable'), (400, 'testing'), (100, 'unstable')
Architecture: i386 (i686)

Kernel: Linux 2.6.32-5-686 (SMP w/2 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 keyboard-configuration depends on:
ii  debconf [debconf-2.0] 1.5.24 Debian configuration management sy

keyboard-configuration recommends no packages.

keyboard-configuration suggests no packages.

-- debconf information:
  keyboard-configuration/layout:
  keyboard-configuration/variant:
  keyboard-configuration/unsupported_options: true
  keyboard-configuration/optionscode: grp:caps_toggle,compose:ralt
  keyboard-configuration/modelcode: pc104
  keyboard-configuration/unsupported_config_options: true
  keyboard-configuration/toggle: Caps Lock
  keyboard-configuration/altgr: The default for the keyboard layout
  keyboard-configuration/unsupported_layout: true
  keyboard-configuration/layoutcode: us,ru
  keyboard-configuration/store_defaults_in_debconf_db: true
  debian-installer/console-setup-udeb/title:
  keyboard-configuration/ctrl_alt_bksp: false
  keyboard-configuration/variantcode: winkeys
  keyboard-configuration/other:
  keyboard-configuration/unsupported_config_layout: true
  keyboard-configuration/compose: Right Alt (AltGr)
  keyboard-configuration/switch: No temporary switch
  keyboard-configuration/model: Обычный 104-клавишный ПК



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



Bug#591089: graphviz: Bad arrow direction between same rank nodes

2010-07-31 Thread Aleksey Sergushichev
Package: graphviz
Version: 2.26.3-5
Severity: normal


dot draws wrong direction arrow when to nodes have the same rank

Example of file:

digraph G
{
center=true;
rankdir=LR;
Node0x8d164f8 [label=9];
Node0x8d164f8 - Node0x8d162a8 [label=Z];
Node0x8d162a8 [label=17];
{ rank=same; Node0x8d164f8; Node0x8d162a8; }
}

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

Kernel: Linux 2.6.30-2-686 (SMP w/2 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 graphviz depends on:
ii  libc6  2.11.2-2  Embedded GNU C Library: Shared lib
ii  libcdt42.26.3-5  rich set of graph drawing tools - 
ii  libcgraph5 2.26.3-5  rich set of graph drawing tools - 
ii  libexpat1  2.0.1-4+lenny1XML parsing C library - runtime li
ii  libgd2-xpm 2.0.36~rc1~dfsg-3 GD Graphics Library version 2
ii  libgraph4  2.26.3-5  rich set of graph drawing tools - 
ii  libgvc52.26.3-5  rich set of graph drawing tools - 
ii  libgvpr1   2.26.3-5  rich set of graph drawing tools - 
ii  libx11-6   2:1.2.1-1 X11 client-side library
ii  libxaw72:1.0.5-2 X11 Athena Widget library
ii  libxmu62:1.0.4-1 X11 miscellaneous utility library
ii  libxt6 1:1.0.5-3 X11 toolkit intrinsics library

Versions of packages graphviz recommends:
ii  ttf-liberation1.04.93-1  Free fonts with the same metrics a

Versions of packages graphviz suggests:
pn  graphviz-doc  none (no description available)
ii  gsfonts   1:8.11+urwcyr1.0.7~pre44-4 Fonts for the Ghostscript interpre

-- 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#550532: picard works badly with non-ascii tags

2009-10-10 Thread Aleksey Sergushichev
Package: picard
Version: 0.11-2
Severity: normal
Tags: patch

Picard forms bad request if there is non-ascii symbols in tags.
So it doesn't search what user wants.
Reques should be in UTF-8 encoding.
That patch fix my problem, but may be such fixes should be
implemented in other places too.
$ diff webservice.py~ webservice.py
287c287
 value = str(QtCore.QUrl.toPercentEncoding(str(value)))
---
 value = 
 str(QtCore.QUrl.toPercentEncoding(str(value).decode('utf-8')))




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

Kernel: Linux 2.6.30-1-686 (SMP w/2 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 picard depends on:
ii  libavcodec52   5:0.5+svn20090629-0.0 library to encode decode multimedi
ii  libavformat52  5:0.5+svn20090629-0.0 ffmpeg file format library
ii  libc6  2.9-18GNU C Library: Shared libraries
ii  libdiscid0 0.1.0-1   Library for creating MusicBrainz D
ii  libfftw3-3 3.2.1-2.1 library for computing Fast Fourier
ii  libgcc11:4.4.0-10GCC support library
ii  libofa00.9.3-3   Library for acoustic fingerprintin
ii  libstdc++6 4.4.0-10  The GNU Standard C++ Library v3
ii  python [python-cty 2.5.4-2   An interactive high-level object-o
ii  python-mutagen 1.15-2audio metadata editing library
ii  python-qt4 4.5.1-1   Python bindings for Qt4
ii  python-support 1.0.3 automated rebuilding support for P

picard recommends no packages.

picard 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#548575: subtitleeditor: doesn't open ASS files with empty line in events section

2009-09-27 Thread Aleksey Sergushichev
Package: subtitleeditor
Version: 0.30.0-1
Severity: normal

If there is empty line in [Events] section after Format: ... line
then subtitleeditor opens file as if there no doalogues.


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

Kernel: Linux 2.6.30-1-686 (SMP w/2 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 subtitleeditor depends on:
ii  gstreamer0.10-plugins- 0.10.23-3 GStreamer plugins from the base 
ii  gstreamer0.10-plugins- 0.10.16-1 GStreamer plugins from the good 
ii  gstreamer0.10-x0.10.23-3 GStreamer plugins for X11 and Pang
ii  libatk1.0-01.26.0-1  The ATK accessibility toolkit
ii  libc6  2.9-18GNU C Library: Shared libraries
ii  libcairo2  1.8.8-2   The Cairo 2D vector graphics libra
ii  libcairomm-1.0-1   1.8.0-1   C++ wrappers for Cairo (shared lib
ii  libfontconfig1 2.6.0-4   generic font configuration library
ii  libfreetype6   2.3.9-5   FreeType 2 font engine, shared lib
ii  libgcc11:4.4.0-10GCC support library
ii  libglade2-01:2.6.4-1 library to load .glade files at ru
ii  libglademm-2.4-1c2a2.6.7-2   C++ wrappers for libglade2 (shared
ii  libglib2.0-0   2.20.5-1  The GLib library of C routines
ii  libglibmm-2.4-1c2a 2.20.1-1  C++ wrapper for the GLib toolkit (
ii  libgstreamer-plugins-b 0.10.24-1 GStreamer libraries from the base
ii  libgstreamer0.10-0 0.10.24-1 Core GStreamer libraries and eleme
ii  libgtk2.0-02.16.3-1  The GTK+ graphical user interface 
ii  libgtkmm-2.4-1c2a  1:2.16.0-2C++ wrappers for GTK+ 2.4 (shared 
ii  libpango1.0-0  1.24.3-1  Layout and rendering of internatio
ii  libpangomm-1.4-1   2.24.0-3  C++ Wrapper for pango (shared libr
ii  libpng12-0 1.2.37-1  PNG library - runtime
ii  libsigc++-2.0-0c2a 2.0.18-2  type-safe Signal Framework for C++
ii  libstdc++6 4.4.0-10  The GNU Standard C++ Library v3
ii  libsubtitleeditor0 0.30.0-1  subtitleeditor lib - runtime files
ii  libx11-6   2:1.2.1-1 X11 client-side library
ii  libxml++2.6-2  2.26.0-2  A C++ interface to the GNOME XML l
ii  libxml22.7.3.dfsg-1  GNOME XML library
ii  libxrender11:0.9.4-2 X Rendering Extension client libra
ii  zlib1g 1:1.2.3.3.dfsg-14 compression library - runtime

subtitleeditor recommends no packages.

Versions of packages subtitleeditor suggests:
pn  gstreamer0.10-ffmpeg  none (no description available)
pn  gstreamer0.10-ffmpeg-full none (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#545225: robocode: JRE dependency

2009-09-05 Thread Aleksey Sergushichev
Package: robocode
Severity: normal

Package doesn't have alternative JREs like Sun JRE in dependencies.


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

Kernel: Linux 2.6.30-1-686 (SMP w/2 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