[gtkmm] Gtkmm-forge digest, Vol 1 #646 - 8 msgs



Send Gtkmm-forge mailing list submissions to
	gtkmm-forge lists sourceforge net

To subscribe or unsubscribe via the World Wide Web, visit
	https://lists.sourceforge.net/lists/listinfo/gtkmm-forge
or, via email, send a message with subject or body 'help' to
	gtkmm-forge-request lists sourceforge net

You can reach the person managing the list at
	gtkmm-forge-admin lists sourceforge net

When replying, please edit your Subject line so it is more specific
than "Re: Contents of Gtkmm-forge digest..."


gtkmm-forge is the mailing list that receives gtkmm bug reports from bugzilla.  A daily digest is sent to gtkmm-main, to encourage people to help fixing the bugs. Do not try to unsubscribe gtkmm-forge from gtkmm-list.


Today's Topics:

   1. [Bug 137548] Changed - libglademm-2.3.2 won't build without doxygen (bugzilla-daemon widget gnome org)
   2. [Bug 137530] Changed - Possible generation of incorrect includes in wrap_init.cc (bugzilla-daemon widget gnome org)
   3. [Bug 137591] New - Build failure when building in a Cygwin/win32 environment (bugzilla-daemon widget gnome org)
   4. [Bug 137591] Changed - Build failure when building in a Cygwin/win32 environment (bugzilla-daemon widget gnome org)
   5. [Bug 137591] Changed - Build failure when building in a Cygwin/win32 environment (bugzilla-daemon widget gnome org)
   6. [Bug 132195] Changed - EventBox not passing KEY events (bugzilla-daemon widget gnome org)
   7. [Bug 132716] Changed - OptionMenu::set_history() invalidates MenuList::Item::get_child() with NULL pointer (bugzilla-daemon widget gnome org)
   8. [Bug 137634] New - Build fails with latest glibmm (bugzilla-daemon widget gnome org)

--__--__--

Message: 1
From: bugzilla-daemon widget gnome org
To: gtkmm-forge lists sourceforge net, dalgoda ix netcom com
Cc: 
Date: Thu, 18 Mar 2004 07:29:21 -0500 (EST)
Subject: [gtkmm bugzilla] [Bug 137548] Changed - libglademm-2.3.2 won't build without doxygen

Please do not reply to this email- if you want to comment on the bug, go to the
URL shown below and enter your comments there.

http://bugzilla.gnome.org/show_bug.cgi?id=137548

Changed by murrayc murrayc com 

--- shadow/137548	Wed Mar 17 20:03:46 2004
+++ shadow/137548.tmp.9800	Thu Mar 18 07:29:21 2004
@@ -1,13 +1,13 @@
 Bug#: 137548
 Product: gtkmm
 Version: unspecified
 OS: Linux
 OS Details: 
-Status: NEW   
-Resolution: 
+Status: RESOLVED   
+Resolution: FIXED
 Severity: normal
 Priority: Normal
 Component: build
 AssignedTo: gtkmm-forge lists sourceforge net                            
 ReportedBy: dalgoda ix netcom com               
 TargetMilestone: ---
@@ -24,6 +24,9 @@
 make[2]: doxygen: Command not found
 make[2]: *** [html/index.html] Error 127
 make[2]: Leaving directory
 `/usr/src/libglademm/libglademm-2.3.2-build/docs/reference'
 make[1]: *** [all-recursive] Error 1
 make[1]: Leaving directory `/usr/src/libglademm/libglademm-2.3.2-build/docs'
+
+------- Additional Comments From murrayc murrayc com  2004-03-18 07:29 -------
+Yes, thanks. Fixed.


--__--__--

Message: 2
From: bugzilla-daemon widget gnome org
To: gtkmm-forge lists sourceforge net, viz pisem net
Cc: 
Date: Thu, 18 Mar 2004 08:38:27 -0500 (EST)
Subject: [gtkmm bugzilla] [Bug 137530] Changed - Possible generation of incorrect includes in wrap_init.cc

Please do not reply to this email- if you want to comment on the bug, go to the
URL shown below and enter your comments there.

http://bugzilla.gnome.org/show_bug.cgi?id=137530

Changed by murrayc murrayc com 

--- shadow/137530	Wed Mar 17 15:21:40 2004
+++ shadow/137530.tmp.9662	Thu Mar 18 08:38:27 2004
@@ -1,13 +1,13 @@
 Bug#: 137530
 Product: gtkmm
 Version: 2.2
 OS: All
 OS Details: 
-Status: NEW   
-Resolution: 
+Status: RESOLVED   
+Resolution: FIXED
 Severity: trivial
 Priority: Normal
 Component: build
 AssignedTo: gtkmm-forge lists sourceforge net                            
 ReportedBy: viz pisem net               
 TargetMilestone: ---
@@ -41,6 +41,12 @@
    my $filename_header = $filename;
 -  $filename_header =~ s/\.hg/\.h/;
 +  $filename_header =~ s/.*\/([^\/]+)\.hg/$1.h/;
    push(@filenames_headers, $filename_header);
   
    shift @ARGV;
+
+------- Additional Comments From murrayc murrayc com  2004-03-18 08:38 -------
+OK, let's try that. Committed. Thanks. 
+
+Please submit an actual patch in future - see gtkmm.org/bugs.shtml
+


--__--__--

Message: 3
From: bugzilla-daemon widget gnome org
To: gtkmm-forge lists sourceforge net
Cc: 
Date: Thu, 18 Mar 2004 09:07:06 -0500 (EST)
Subject: [gtkmm bugzilla] [Bug 137591] New - Build failure when building in a Cygwin/win32 environment

Please do not reply to this email- if you want to comment on the bug, go to the
URL shown below and enter your comments there.

http://bugzilla.gnome.org/show_bug.cgi?id=137591

Changed by roger whinlatter uklinux net 

--- shadow/137591	Thu Mar 18 09:07:05 2004
+++ shadow/137591.tmp.16935	Thu Mar 18 09:07:05 2004
@@ -0,0 +1,136 @@
+Bug#: 137591
+Product: gtkmm
+Version: 2.2
+OS: Windows
+OS Details: 
+Status: NEW   
+Resolution: 
+Severity: normal
+Priority: Normal
+Component: build
+AssignedTo: gtkmm-forge lists sourceforge net                            
+ReportedBy: roger whinlatter uklinux net               
+TargetMilestone: ---
+URL: 
+Summary: Build failure when building in a Cygwin/win32 environment
+
+Attached is a patch to allow Gtkmm to built in a Cygwin environment.
+The patch isn't intended to be applied "as-is", since some things are
+broken.
+                                                                          
+                          
+On the whole, the source assumes that:
+- A UNIX environment is using the X11 backend
+- Win32 means MinGW
+- but Cygwin behaves like a UNIX environment, while requiring
+  -no-undefined as a linker option, and may optionally use the win32 GDK
+  backend rather than X11.
+This patch (hopefully) corrects a few of these assumptions.
+
+gtkmm-2.2.9.old/build_shared/Makefile_build.am_fragment:
+  Essential to build DLLs with Cygwin.  Will not break MinGW.
+                                                                          
+                          
+gtkmm-2.2.9.old/gtk/gtkmm/plug.cc    }  None of these should be
+gtkmm-2.2.9.old/gtk/gtkmm/plug.h     }  applied.  The build is
+gtkmm-2.2.9.old/gtk/gtkmm/socket.cc  }  buggy when using a
+gtkmm-2.2.9.old/gtk/gtkmm/socket.h   }  win32 GDK backend, since
+gtkmm-2.2.9.old/gtk/src/plug.ccg     }  Gtk::Plug and Gtk::Socket
+gtkmm-2.2.9.old/gtk/src/plug.hg      }  don't exist, but they are
+gtkmm-2.2.9.old/gtk/src/socket.ccg   }  built and linked anyway
+gtkmm-2.2.9.old/gtk/src/socket.hg    }  (linking fails, naturally).
+                                                                          
+                          
+I don't have a fix for this, but Gtk::Plug and Gtk::Socket should only
+be built if GDK_WINDOWING_X11 is defined, and not if
+GDK_WINDOWING_WIN32 is defined.  The assumption that a UNIX
+environment == X11 needs to be removed.  I'm not familiar enough with
+the intricacies of your build system to do this, unfortunately.
+
+I've thought of two solutions here:
+1) Write a configure check to check whether libgdk defined
+   GDK_WINDOWING_WIN32 or GDK_WINDOWING_X11, and then conditionally
+   compile plug.cc and socket.cc
+2) Build plug.cc and socket.cc, but surround all the methods etc. with
+      #if defined(GDK_WINDOWING_X11)
+   or
+      #if !defined(GDK_WINDOWING_WIN32)
+   (I'm not sure what's most appropriate, or how this will fit in with
+    gmmproc).
+
+gtkmm-2.2.9.old/gtk/gtkmm/wrap_init.cc                     }
+gtkmm-2.2.9.old/tools/extra_defs_gen/generate_defs_gtk.cc  }
+gtkmm-2.2.9.old/tools/generate_wrap_init.pl.in             }
+                                                                          
+                          
+Essential to build with a GDK win32 backend on Cygwin.  Will not break
+MinGW.
+                                                                          
+                          
+                                                                          
+                          
+After applying this patch, the build proceeds properly, and I get a
+working set of Cygwin DLLS (cygatkmm, cygpangomm, cygglibmm and
+cyggtkmm etc.).  The tests and demos all work just fine, with a single
+exception: in gtk-demo, the "Images" demo fails with
+                                                                          
+                          
+  Failed to load image: Unrecognized image file format
+                                                                          
+                          
+and the images are replaced with the "no image" icon.  In addition,
+the "Pixbufs" and "Text Widget" demo also fail:
+
+  $ ./demo
+  Aborted (core dumped)
+                                                                          
+                          
+I've tried running in a debugger
+                                                                          
+                          
+  (gdb) run
+  Starting program:
+  /cygdrive/c/tmp/build/gtkmm-2.2.9/demos/gtk-demo/.libs/demo.exe
+        5 [sig] demo 2424 open_stackdumpfile: Dumping stack trace to
+        demo.exe.stackdump
+                                                                          
+                          
+  Program exited with code 0303000.
+                                                                          
+                          
+but there's no stack to examine.  I'm sure the problem is with
+gdk-pixbuf, but I'm unsure where (gtk-demo works flawlessly).  I've
+built against GTK+ 2.2.4.  The "demo.exe.stackdump" looks like this:
+
+  Stack trace:
+  Frame     Function  Args
+  0022DF08  77E7AC21  (00000000, 00000008, 0022DF38, 610A0108)
+  0022DF68  61087E49  (00000978, 00000006, 0022DF98, 610883B3)
+  0022DF78  61087EFC  (00000006, 00000000, 77E75A65, 610A008D)
+  0022DF98  610883B3  (0022DFB0, DF0DF047, 00000000, 6109E8BE)
+  0022DFE8  61086211  (00A99930, 0022E144, 0022E018, 0076174E)
+  0022DFF8  00763425  (10231C60, 0022E040, 77E75A65, 10294068)
+  0022E018  0076174E  (0022E040, DF0DF047, 00000000, 6109E8BE)
+  0022E078  0074CEA4  (00796030, DF0DF046, 0022E098, 6109B72B)
+  0022E118  0074D2FF  (102A6338, 0022E140, 1028A3A8, 01A7CFA0)
+  0022E198  01A50D64  (1025E8F0, 102943B8, 102856F8, 1028A1F0)
+  0022E1C8  0131E2D3  (1028A3D8, 00000000, 00000003, 0022E3C0)
+  0022E218  00DB39DD  (1028A3D8, 00000000, 00000003, 0022E3C0)
+  0022E2F8  00DC7BB8  (102587A8, 00000000, 1025E8F0, 00000000)
+  0022E558  00DC6E18  (1025E8F0, 00000052, 00000000, 0022E594)
+  0022E578  00DC7026  (1025E8F0, 00000052, 00000000, 102946A0)
+  0022E5A8  013F7446  (1025E8F0, 102946A0, 102856F8, 0022E604)
+  End of stack trace (more stack frames may be present)
+                                                                          
+                          
+but this doesn't look too informative...
+                                                                          
+                          
+Any suggestions about how to debug this further would be greatly
+appreciated!
+                                                                          
+                          
+                                                                          
+                          
+Many thanks,
+Roger


--__--__--

Message: 4
From: bugzilla-daemon widget gnome org
To: gtkmm-forge lists sourceforge net
Cc: 
Date: Thu, 18 Mar 2004 09:08:03 -0500 (EST)
Subject: [gtkmm bugzilla] [Bug 137591] Changed - Build failure when building in a Cygwin/win32 environment

Please do not reply to this email- if you want to comment on the bug, go to the
URL shown below and enter your comments there.

http://bugzilla.gnome.org/show_bug.cgi?id=137591

Changed by roger whinlatter uklinux net 

--- shadow/137591	Thu Mar 18 09:07:05 2004
+++ shadow/137591.tmp.17161	Thu Mar 18 09:08:03 2004
@@ -131,6 +131,11 @@
                                                                           
                           
                                                                           
                           
 Many thanks,
 Roger
+
+------- Additional Comments From roger whinlatter uklinux net  2004-03-18 09:08 -------
+Created an attachment (id=25765)
+Cygwin build patch 1
+


--__--__--

Message: 5
From: bugzilla-daemon widget gnome org
To: gtkmm-forge lists sourceforge net
Cc: 
Date: Thu, 18 Mar 2004 11:14:30 -0500 (EST)
Subject: [gtkmm bugzilla] [Bug 137591] Changed - Build failure when building in a Cygwin/win32 environment

Please do not reply to this email- if you want to comment on the bug, go to the
URL shown below and enter your comments there.

http://bugzilla.gnome.org/show_bug.cgi?id=137591

Changed by roger whinlatter uklinux net 

--- shadow/137591	Thu Mar 18 09:08:03 2004
+++ shadow/137591.tmp.7429	Thu Mar 18 11:14:30 2004
@@ -136,6 +136,16 @@
 Roger
 
 ------- Additional Comments From roger whinlatter uklinux net  2004-03-18 09:08 -------
 Created an attachment (id=25765)
 Cygwin build patch 1
 
+
+------- Additional Comments From roger whinlatter uklinux net  2004-03-18 11:14 -------
+WRT the crashes when trying to load images: this was because
+/etc/gtk-2.0/gdk-pixbuf.loaders was empty.  Generating this with
+gdk-pixbuf-query-loaders did the trick.  I can now load images in
+plain C GTK+ programs.
+
+The Gtkmm gtk-demo/demo "Image" demo now works, but the "Pixbufs" demo
+still causes a crash.  There's a slight pause before the crash, so it
+might be a memory leak.


--__--__--

Message: 6
From: bugzilla-daemon widget gnome org
To: gtkmm-forge lists sourceforge net, bevis anvil com
Cc: 
Date: Thu, 18 Mar 2004 13:24:17 -0500 (EST)
Subject: [gtkmm bugzilla] [Bug 132195] Changed - EventBox not passing KEY events

Please do not reply to this email- if you want to comment on the bug, go to the
URL shown below and enter your comments there.

http://bugzilla.gnome.org/show_bug.cgi?id=132195

Changed by murrayc murrayc com 

--- shadow/132195	Tue Mar  9 17:18:48 2004
+++ shadow/132195.tmp.7837	Thu Mar 18 13:24:17 2004
@@ -1,13 +1,13 @@
 Bug#: 132195
 Product: gtkmm
 Version: 2.2
 OS: Linux
 OS Details: Whitebox Linux 3.0a (RHEL 3.0 clone)
-Status: NEW   
-Resolution: 
+Status: RESOLVED   
+Resolution: NOTABUG
 Severity: normal
 Priority: Normal
 Component: general
 AssignedTo: gtkmm-forge lists sourceforge net                            
 ReportedBy: bevis anvil com               
 TargetMilestone: ---
@@ -83,6 +83,9 @@
 
 m_EventBox.signal_key_press_event().connect(SigC::slot(*this,
 &ExampleWindow::on_eventbox_key_press));
 
 just remove the m_EventBox in front of it and the window will catch
 the events (which is always true if nobody cares for a certain event).
+
+------- Additional Comments From murrayc murrayc com  2004-03-18 13:24 -------
+Please reopen if that does not solve the problem.


--__--__--

Message: 7
From: bugzilla-daemon widget gnome org
To: gtkmm-forge lists sourceforge net, desch-mosher lanl gov
Cc: 
Date: Thu, 18 Mar 2004 13:25:14 -0500 (EST)
Subject: [gtkmm bugzilla] [Bug 132716] Changed - OptionMenu::set_history() invalidates MenuList::Item::get_child() with NULL pointer

Please do not reply to this email- if you want to comment on the bug, go to the
URL shown below and enter your comments there.

http://bugzilla.gnome.org/show_bug.cgi?id=132716

Changed by murrayc murrayc com 

--- shadow/132716	Wed Jan 28 07:31:48 2004
+++ shadow/132716.tmp.8189	Thu Mar 18 13:25:14 2004
@@ -78,6 +78,9 @@
 pygtk-0.6.9-7.ximian.2
 pygtk2-devel-1.99.16-8
 gtk+-devel-1.2.10-27.1
 gtk-doc-1.1-3.0
 pygtk2-1.99.16-8
 pygtk2-libglade-1.99.16-8
+
+------- Additional Comments From murrayc murrayc com  2004-03-18 13:25 -------
+Can we have a simple-as-possible, compilable, test case please?


--__--__--

Message: 8
From: bugzilla-daemon widget gnome org
To: gtkmm-forge lists sourceforge net
Cc: 
Date: Thu, 18 Mar 2004 17:33:41 -0500 (EST)
Subject: [gtkmm bugzilla] [Bug 137634] New - Build fails with latest glibmm

Please do not reply to this email- if you want to comment on the bug, go to the
URL shown below and enter your comments there.

http://bugzilla.gnome.org/show_bug.cgi?id=137634

Changed by bryan reigndropsfall net 

--- shadow/137634	Thu Mar 18 17:33:41 2004
+++ shadow/137634.tmp.19476	Thu Mar 18 17:33:41 2004
@@ -0,0 +1,51 @@
+Bug#: 137634
+Product: gnomemm
+Version: 2.5
+OS: Linux
+OS Details: 
+Status: NEW   
+Resolution: 
+Severity: blocker
+Priority: Normal
+Component: gnome-vfsmm
+AssignedTo: gtkmm-forge lists sourceforge net                            
+ReportedBy: bryan reigndropsfall net               
+TargetMilestone: ---
+URL: 
+Summary: Build fails with latest glibmm
+
+The build dies here:
+
+eps/transfer.TPlo  -fPIC -DPIC -o .libs/transfer.o
+/usr/include/glibmm-2.3/glibmm/containerhandle_shared.h: In static member
+   function `static T::BaseObjectType*
+   Glib::Container_Helpers::TypeTraits<Glib::RefPtr<T_CppObject>
+   >::to_c_type(const Glib::RefPtr<T_CppObject>&) [with T = const
+   Gnome::Vfs::Uri]':
+/usr/include/glibmm-2.3/glibmm/listhandle.h:47:   instantiated from `GList*
+Glib::Container_Helpers::create_list(Bi, Bi, Tr) [with Bi =
+std::_List_iterator<Glib::RefPtr<Gnome::Vfs::Uri>, const
+Glib::RefPtr<Gnome::Vfs::Uri>&, const Glib::RefPtr<Gnome::Vfs::Uri>*>, Tr =
+Glib::Container_Helpers::TypeTraits<Glib::RefPtr<const Gnome::Vfs::Uri> >]'
+/usr/include/glibmm-2.3/glibmm/listhandle.h:81:   instantiated from `static
+GList* Glib::Container_Helpers::ListSourceTraits<Tr, Cont>::get_data(const
+Cont&) [with Tr = Glib::Container_Helpers::TypeTraits<Glib::RefPtr<const
+Gnome::Vfs::Uri> >, Cont = Gnome::Vfs::Transfer::transfer_list(const
+Glib::StringArrayHandle&, const Glib::StringArrayHandle&,
+Gnome::Vfs::TransferOptions, Gnome::Vfs::ErrorMode,
+Gnome::Vfs::OverwriteMode, const
+Gnome::Vfs::Transfer::SlotProgress&)::uri_list]'
+transfer.cc:272:   instantiated from `Glib::ListHandle<T,
+Tr>::ListHandle(const Cont&) [with Cont =
+Gnome::Vfs::Transfer::transfer_list(const Glib::StringArrayHandle&, const
+Glib::StringArrayHandle&, Gnome::Vfs::TransferOptions,
+Gnome::Vfs::ErrorMode, Gnome::Vfs::OverwriteMode, const
+Gnome::Vfs::Transfer::SlotProgress&)::uri_list, T = Glib::RefPtr<const
+Gnome::Vfs::Uri>, Tr =
+Glib::Container_Helpers::TypeTraits<Glib::RefPtr<const Gnome::Vfs::Uri> >]'
+transfer.cc:101:   instantiated from here
+/usr/include/glibmm-2.3/glibmm/containerhandle_shared.h:203: invalid conversion
+   from `const GnomeVFSURI*' to `GnomeVFSURI*'
+make[3]: *** [transfer.lo] Error 1
+
+I looked it over and couldn't figure out how to fix it.



--__--__--

_______________________________________________
Gtkmm-forge mailing list
Gtkmm-forge lists sourceforge net
https://lists.sourceforge.net/lists/listinfo/gtkmm-forge


End of Gtkmm-forge Digest



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]