Package: kino
Version: 0.75-6
Severity: normal
Tags: patch

Kino currently crashes right on startup on ia64.  The crash is due to
one of the infamous "guint instead of GType" bugs and is thus likely
to affect all 64-bit platforms.  Attached patch fixes the problem.
I'm unsure if this problem still exists in the upstream sources (I
couldn't find out how to get access to the latest sources).

Also, I don't know yet if actual video editing works since I don't
have a video in the necessary format handy.  But at least Kino starts
up with the patch applied.

Thanks.

-- System Information:
Debian Release: 3.1
  APT prefers unstable
  APT policy: (990, 'unstable')
Architecture: ia64
Kernel: Linux 2.6.12-rc2
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)

Versions of packages kino depends on:
ii  libart-2.0-2             2.3.17-1        Library of functions for 2D graphi
ii  libatk1.0-0              1.8.0-4         The ATK accessibility toolkit
ii  libavc1394-0             0.4.1-2         control IEEE1394 audio/video devic
ii  libbonobo2-0             2.8.1-2         Bonobo CORBA interfaces library
ii  libbonoboui2-0           2.8.1-2         The Bonobo UI library
ii  libc6.1                  2.3.2.ds1-20    GNU C Library: Shared libraries an
ii  libdv4                   0.103-2         software library for DV format dig
ii  libgcc1                  1:3.4.3-12      GCC support library
ii  libgconf2-4              2.8.1-5         GNOME configuration database syste
ii  libglade2-0              1:2.4.2-2       library to load .glade files at ru
ii  libglib1.2               1.2.10-9        The GLib library of C routines
ii  libglib2.0-0             2.6.3-1         The GLib library of C routines
ii  libgnome2-0              2.8.1-2         The GNOME 2 library - runtime file
ii  libgnomecanvas2-0        2.8.0-1         A powerful object-oriented display
ii  libgnomeui-0             2.8.1-3         The GNOME 2 libraries (User Interf
ii  libgnomevfs2-0           2.8.4-2         The GNOME virtual file-system libr
ii  libgtk2.0-0              2.6.2-4         The GTK+ graphical user interface 
ii  libice6                  4.3.0.dfsg.1-12 Inter-Client Exchange library
ii  liborbit2                1:2.12.1-1      libraries for ORBit2 - a CORBA ORB
ii  libpango1.0-0            1.8.1-1         Layout and rendering of internatio
ii  libpopt0                 1.7-5           lib for parsing cmdline parameters
ii  libquicktime1            0.9.3-2         A library for reading and writing 
ii  libraw1394-5             0.10.1-1.1      library for direct access to IEEE 
ii  libsamplerate0           0.1.1-2         audio rate conversion library
ii  libsm6                   4.3.0.dfsg.1-12 X Window System Session Management
ii  libstdc++5               1:3.3.5-12      The GNU Standard C++ Library v3
ii  libx11-6                 4.3.0.dfsg.1-12 X Window System protocol client li
ii  libxext6                 4.3.0.dfsg.1-12 X Window System miscellaneous exte
ii  libxml2                  2.6.16-6        GNOME XML library
ii  libxv1                   4.3.0.dfsg.1-12 X Window System video extension li
ii  xlibs                    4.3.0.dfsg.1-12 X Keyboard Extension (XKB) configu
ii  zlib1g                   1:1.2.2-4       compression library - runtime

-- no debconf information
diff -urN -x .deps -x '*.o' -x '*.Po' -x Makefile -x Makefile.am -x Makefile.in kino-0.75/src/gtkenhancedscale.c kino-0.75-fixed/src/gtkenhancedscale.c
--- kino-0.75/src/gtkenhancedscale.c	2004-10-04 18:55:28.000000000 -0700
+++ kino-0.75-fixed/src/gtkenhancedscale.c	2005-04-11 14:42:55.000000000 -0700
@@ -73,9 +73,9 @@
 
 /* ================================================================= */
 
-guint gtk_enhanced_scale_get_type ()
+GType gtk_enhanced_scale_get_type ()
 {
-	static guint enhanced_scale_type = 0;
+	static GType enhanced_scale_type = 0;
 
 	if ( !enhanced_scale_type )
 	{
diff -urN -x .deps -x '*.o' -x '*.Po' -x Makefile -x Makefile.am -x Makefile.in kino-0.75/src/gtkenhancedscale.h kino-0.75-fixed/src/gtkenhancedscale.h
--- kino-0.75/src/gtkenhancedscale.h	2004-09-28 19:41:52.000000000 -0700
+++ kino-0.75-fixed/src/gtkenhancedscale.h	2005-04-11 14:46:50.000000000 -0700
@@ -76,7 +76,7 @@
 
 GtkWidget* gtk_enhanced_scale_new ( GtkObject * adjustment[],
 									gint num_adjustments );
-guint gtk_enhanced_scale_get_type ( void );
+GType gtk_enhanced_scale_get_type ( void );
 void gtk_enhanced_scale_set_breaks( GtkWidget * widget, GArray * breaks );
 
 #ifdef __cplusplus

Reply via email to