Gtkmm-forge Digest, Vol 25, Issue 8



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-owner 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 538803] [PATCH] Address Glib::Tree<> TODOs
      (glibmm (bugzilla.gnome.org))
   2. [Bug 538882] New: Unable to compile gtkmm-2.8.12	on Slackware
      12.1 (gtkmm (bugzilla.gnome.org))
   3. [Bug 512348] Glib::Thread::create() does not	appear to be
      thread safe (glibmm (bugzilla.gnome.org))
   4. [Bug 512348] Glib::Thread::create() does not	appear to be
      thread safe (glibmm (bugzilla.gnome.org))
   5. [Bug 512348] Glib::Thread::create() does not	appear to be
      thread safe (glibmm (bugzilla.gnome.org))
   6. [Bug 539059] New: Gst::get_option_group does not	cause
      Gst::wrap_init to be called (gnomemm (bugzilla.gnome.org))
   7. [Bug 539059] Gst::get_option_group does not cause
      Gst::wrap_init to be called (gnomemm (bugzilla.gnome.org))


----------------------------------------------------------------------

Message: 1
Date: Tue, 17 Jun 2008 17:25:36 +0000 (UTC)
From: "glibmm (bugzilla.gnome.org)"
	<bugzilla-daemon bugzilla gnome org>
Subject: [gtkmm bugzilla] [Bug 538803] [PATCH] Address Glib::Tree<>
	TODOs
To: gtkmm-forge lists sourceforge net
Message-ID: <20080617172536 6671123F59D label gnome org>
Content-Type: text/plain; charset=utf-8

If you have any questions why you received this email, please see the text at
the end of this email. Replies to this email are NOT read, please see the text
at the end of this email. You can add comments to this bug at:
  http://bugzilla.gnome.org/show_bug.cgi?id=538803

  glibmm | general | Ver: 2.17.x

Szilard Pfeiffer changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |szilard pfeiffer gmail com




-- 
See http://bugzilla.gnome.org/page.cgi?id=email.html for more info about why you received
this email, why you can't respond via email, how to stop receiving
emails (or reduce the number you receive), and how to contact someone
if you are having problems with the system.

You can add comments to this bug at http://bugzilla.gnome.org/show_bug.cgi?id=538803.



------------------------------

Message: 2
Date: Wed, 18 Jun 2008 01:36:02 +0000 (UTC)
From: "gtkmm (bugzilla.gnome.org)"
	<bugzilla-daemon bugzilla gnome org>
Subject: [gtkmm bugzilla] [Bug 538882] New: Unable to compile
	gtkmm-2.8.12	on Slackware 12.1
To: gtkmm-forge lists sourceforge net
Message-ID: <bug-538882-5595 http bugzilla gnome org/>
Content-Type: text/plain; charset=utf-8

If you have any questions why you received this email, please see the text at
the end of this email. Replies to this email are NOT read, please see the text
at the end of this email. You can add comments to this bug at:
  http://bugzilla.gnome.org/show_bug.cgi?id=538882

  gtkmm | build | Ver: 2.8.x
           Summary: Unable to compile gtkmm-2.8.12 on Slackware 12.1
           Product: gtkmm
           Version: 2.8.x
          Platform: Other
        OS/Version: All
            Status: UNCONFIRMED
          Severity: critical
          Priority: Normal
         Component: build
        AssignedTo: gtkmm-forge lists sourceforge net
        ReportedBy: eduardo noticiaslinux com br
         QAContact: gtkmm-forge lists sourceforge net
     GNOME version: Unspecified
   GNOME milestone: Unspecified


Steps to reproduce:
1. ./configure ; make

Stack trace:
g++ -DHAVE_CONFIG_H -DG_LOG_DOMAIN=\"gtkmm\" -I../../gtk -I../../gtk
-I../../pango -I../../pango -I../../atk -I../../atk -I../../gdk -I../../gdk
-I../../gtk -I../../gtk -I/usr/local/include/glibmm-2.4
-I/usr/local/lib/glibmm-2.4/include -I/usr/local/include/sigc++-2.0
-I/usr/local/lib/sigc++-2.0/include -I/usr/include/glib-2.0
-I/usr/lib/glib-2.0/include -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include
-I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0
-I/usr/include/freetype2 -I/usr/include/libpng12 -pthread
-I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -g -O2 -Wall -MT toolbar.lo
-MD -MP -MF .deps/toolbar.Tpo -c toolbar.cc  -fPIC -DPIC -o .libs/toolbar.o
toolbar.cc: In member function 'Gtk::Tooltips*
Gtk::Toolbar::get_tooltips_object() const':
toolbar.cc:560: error: 'const struct _GtkToolbar' has no member named
'tooltips'
make[1]: ** [toolbar.lo] Erro 1
make[1]: Leaving directory `/home/myuser/gtkmm-2.8.12/gtk/gtkmm'
make: ** [all-recursive] Erro 1


Other information:


-- 
See http://bugzilla.gnome.org/page.cgi?id=email.html for more info about why you received
this email, why you can't respond via email, how to stop receiving
emails (or reduce the number you receive), and how to contact someone
if you are having problems with the system.

You can add comments to this bug at http://bugzilla.gnome.org/show_bug.cgi?id=538882.



------------------------------

Message: 3
Date: Wed, 18 Jun 2008 07:36:48 +0000 (UTC)
From: "glibmm (bugzilla.gnome.org)"
	<bugzilla-daemon bugzilla gnome org>
Subject: [gtkmm bugzilla] [Bug 512348] Glib::Thread::create() does not
	appear to be thread safe
To: gtkmm-forge lists sourceforge net
Message-ID: <20080618073648 7C2FE23F5A2 label gnome org>
Content-Type: text/plain; charset=utf-8

If you have any questions why you received this email, please see the text at
the end of this email. Replies to this email are NOT read, please see the text
at the end of this email. You can add comments to this bug at:
  http://bugzilla.gnome.org/show_bug.cgi?id=512348

  glibmm | threads | Ver: 2.14.x

Murray Cumming changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |murrayc murrayc com
 Attachment #112897|0                           |1
        is obsolete|                            |
 Attachment #112898|none                        |committed
               Flag|                            |




------- Comment #9 from Murray Cumming  2008-06-18 07:36 UTC -------
Committed. Thanks.

Are there other things to do for this bug, or can it be closed?


-- 
See http://bugzilla.gnome.org/page.cgi?id=email.html for more info about why you received
this email, why you can't respond via email, how to stop receiving
emails (or reduce the number you receive), and how to contact someone
if you are having problems with the system.

You can add comments to this bug at http://bugzilla.gnome.org/show_bug.cgi?id=512348.



------------------------------

Message: 4
Date: Wed, 18 Jun 2008 19:49:25 +0000 (UTC)
From: "glibmm (bugzilla.gnome.org)"
	<bugzilla-daemon bugzilla gnome org>
Subject: [gtkmm bugzilla] [Bug 512348] Glib::Thread::create() does not
	appear to be thread safe
To: gtkmm-forge lists sourceforge net
Message-ID: <20080618194925 8A99C23F5A7 label gnome org>
Content-Type: text/plain; charset=utf-8

If you have any questions why you received this email, please see the text at
the end of this email. Replies to this email are NOT read, please see the text
at the end of this email. You can add comments to this bug at:
  http://bugzilla.gnome.org/show_bug.cgi?id=512348

  glibmm | threads | Ver: 2.14.x




------- Comment #10 from Chris Vine  2008-06-18 19:49 UTC -------
It would be nice to overload Glib::Thread::create() with a version taking a new
callback class as an argument, such as in the example posted in earlier
comments in this bug report, or to do so when c++0x comes out by using the
std::function callback wrapper, and deprecate the version taking a sigc::slot
object.  (This would also provide a route for dealing with bug #396958.)

Whether you want to keep the bug alive for that purpose I am not sure.  If not
I should close it.


-- 
See http://bugzilla.gnome.org/page.cgi?id=email.html for more info about why you received
this email, why you can't respond via email, how to stop receiving
emails (or reduce the number you receive), and how to contact someone
if you are having problems with the system.

You can add comments to this bug at http://bugzilla.gnome.org/show_bug.cgi?id=512348.



------------------------------

Message: 5
Date: Wed, 18 Jun 2008 20:10:08 +0000 (UTC)
From: "glibmm (bugzilla.gnome.org)"
	<bugzilla-daemon bugzilla gnome org>
Subject: [gtkmm bugzilla] [Bug 512348] Glib::Thread::create() does not
	appear to be thread safe
To: gtkmm-forge lists sourceforge net
Message-ID: <20080618201008 DAD6123F5A2 label gnome org>
Content-Type: text/plain; charset=utf-8

If you have any questions why you received this email, please see the text at
the end of this email. Replies to this email are NOT read, please see the text
at the end of this email. You can add comments to this bug at:
  http://bugzilla.gnome.org/show_bug.cgi?id=512348

  glibmm | threads | Ver: 2.14.x




------- Comment #11 from Jonathon Jongsma (jonner)  2008-06-18 20:10 UTC -------
I think it would probably be good to actually fix this at some point, though
I'm still not sure which way we should do it.  So i guess I'd recommend leaving
it open.


-- 
See http://bugzilla.gnome.org/page.cgi?id=email.html for more info about why you received
this email, why you can't respond via email, how to stop receiving
emails (or reduce the number you receive), and how to contact someone
if you are having problems with the system.

You can add comments to this bug at http://bugzilla.gnome.org/show_bug.cgi?id=512348.



------------------------------

Message: 6
Date: Thu, 19 Jun 2008 02:31:28 +0000 (UTC)
From: "gnomemm (bugzilla.gnome.org)"
	<bugzilla-daemon bugzilla gnome org>
Subject: [gtkmm bugzilla] [Bug 539059] New: Gst::get_option_group does
	not	cause Gst::wrap_init to be called
To: gtkmm-forge lists sourceforge net
Message-ID: <bug-539059-5595 http bugzilla gnome org/>
Content-Type: text/plain; charset=utf-8

If you have any questions why you received this email, please see the text at
the end of this email. Replies to this email are NOT read, please see the text
at the end of this email. You can add comments to this bug at:
  http://bugzilla.gnome.org/show_bug.cgi?id=539059

  gnomemm | gstreamermm | Ver: unspecified
           Summary: Gst::get_option_group does not cause Gst::wrap_init to
                    be called
           Product: gnomemm
           Version: unspecified
          Platform: Other
        OS/Version: All
            Status: UNCONFIRMED
          Severity: normal
          Priority: Normal
         Component: gstreamermm
        AssignedTo: gtkmm-forge lists sourceforge net
        ReportedBy: marcus brinkmann ruhr-uni-bochum de
         QAContact: gtkmm-forge lists sourceforge net
     GNOME version: Unspecified
   GNOME milestone: Unspecified


Please describe the problem:
It is my understanding that using the Gst option group together with
glib's option parser will automatically cause all necessary
initialization in Gst.  This is what the documentation of the
get_option_group method says and it is also necessary as there is no
init() method that does not take argc/argv arguments.

However, from looking at gstreamermm/gstreamer/gstreamermm/init.cc,
Gst::wrap_init is never called if the get_option_group approach is used.

Steps to reproduce:
Glib::OptionGroup m_GstOptiongroup = Gst::get_option_group();
m_OptionContext.add_group(m_GstOptiongroup);

Gtk::Main *kit = new Gtk::Main (argc, argv, m_OptionContext);


Actual results:
Error messages like this when utilizing gstreamermm:

(lt-mediaplayer:4327): glibmm-WARNING **: failed to wrap type of 'GstPlayBin'

(lt-mediaplayer:4327): glibmm-WARNING **: failed to wrap type of
'GstXImageSink'
One of the elements for media player could not be created.


Expected results:
gstreamermm should be initialized properly and function as if Gst::init() had
been called.

Does this happen every time?
Yes.

Other information:
Please note that Gst::init_check() does not call the same wrap_init functions
as Gst::init() does.  If that is incorrect, I suppose the correct
initialization code should be refactored.  This could be exported similar to
Gtk::init_gtkmm_internals() which can be useful sometimes.

I don't have a good idea how to fix the problem.  If the wrap_init functions
can be called at any time, the call might be added to get_option_group.  If
not, the call may have to be delayed until after option parsing, but to do this
automatically, the option group object has to be derived it seems (annoyingly).

But please note that I do not know the binding code very well and I do not know
the proper initialization sequences, so these ideas are just stabs in the dark.


-- 
See http://bugzilla.gnome.org/page.cgi?id=email.html for more info about why you received
this email, why you can't respond via email, how to stop receiving
emails (or reduce the number you receive), and how to contact someone
if you are having problems with the system.

You can add comments to this bug at http://bugzilla.gnome.org/show_bug.cgi?id=539059.



------------------------------

Message: 7
Date: Thu, 19 Jun 2008 02:32:48 +0000 (UTC)
From: "gnomemm (bugzilla.gnome.org)"
	<bugzilla-daemon bugzilla gnome org>
Subject: [gtkmm bugzilla] [Bug 539059] Gst::get_option_group does not
	cause	Gst::wrap_init to be called
To: gtkmm-forge lists sourceforge net
Message-ID: <20080619023248 A1E7A23F509 label gnome org>
Content-Type: text/plain; charset=utf-8

If you have any questions why you received this email, please see the text at
the end of this email. Replies to this email are NOT read, please see the text
at the end of this email. You can add comments to this bug at:
  http://bugzilla.gnome.org/show_bug.cgi?id=539059

  gnomemm | gstreamermm | Ver: unspecified




------- Comment #1 from Marcus Brinkmann  2008-06-19 02:32 UTC -------
Created an attachment (id=113017)
 --> (http://bugzilla.gnome.org/attachment.cgi?id=113017&action=view)
Example program exhibiting the problem.

Use this instead of main.cc in examples/media_player_gtkmm/, then build and run
to reproduce the problem.


-- 
See http://bugzilla.gnome.org/page.cgi?id=email.html for more info about why you received
this email, why you can't respond via email, how to stop receiving
emails (or reduce the number you receive), and how to contact someone
if you are having problems with the system.

You can add comments to this bug at http://bugzilla.gnome.org/show_bug.cgi?id=539059.



------------------------------

-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php

------------------------------

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


End of Gtkmm-forge Digest, Vol 25, Issue 8
******************************************


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