Gtkmm-forge Digest, Vol 36, Issue 7



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 582439] [PATCH] Fix build on maemo platform
      (gnomemm (bugzilla.gnome.org))
   2. [Bug 582439] [PATCH] Fix build on maemo platform
      (gnomemm (bugzilla.gnome.org))
   3. [Bug 582439] [PATCH] Fix build on maemo platform
      (gnomemm (bugzilla.gnome.org))
   4. [Bug 582439] [PATCH] Fix build on maemo platform
      (gnomemm (bugzilla.gnome.org))
   5. [Bug 582439] [PATCH] Fix build on maemo platform
      (gnomemm (bugzilla.gnome.org))
   6. [Bug 582439] [PATCH] Fix build on maemo platform
      (gnomemm (bugzilla.gnome.org))
   7. [Bug 582439] [PATCH] Fix build on maemo platform
      (gnomemm (bugzilla.gnome.org))
   8. [Bug 582439] [PATCH] Fix build on maemo platform
      (gnomemm (bugzilla.gnome.org))


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

Message: 1
Date: Thu, 14 May 2009 06:03:20 +0000 (UTC)
From: "gnomemm (bugzilla.gnome.org)"
	<bugzilla-daemon bugzilla gnome org>
Subject: [gtkmm bugzilla] [Bug 582439] [PATCH] Fix build on maemo
	platform
To: gtkmm-forge lists sourceforge net
Message-ID: <20090514060320 6634723F597 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=582439

  gnomemm | gstreamermm | Ver: unspecified




------- Comment #7 from Johannes Schmid  2009-05-14 06:03 UTC -------
> Are you using -fnoexceptions?

Not yet, I think. I just made sure it builds when the other libraries are build
without exceptions but I will look into building gstreamermm without
exceptions. I think gmmproc already does generate correct code that can work
without exceptions but there may be some hand-coded methods that need work.


-- 
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=582439.



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

Message: 2
Date: Thu, 14 May 2009 10:53:44 +0000 (UTC)
From: "gnomemm (bugzilla.gnome.org)"
	<bugzilla-daemon bugzilla gnome org>
Subject: [gtkmm bugzilla] [Bug 582439] [PATCH] Fix build on maemo
	platform
To: gtkmm-forge lists sourceforge net
Message-ID: <20090514105344 8BE0023F596 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=582439

  gnomemm | gstreamermm | Ver: unspecified




------- Comment #8 from Murray Cumming  2009-05-14 10:53 UTC -------

> > Are you using -fnoexceptions?
> 
> I don't know so I'm probably wrong.

Sorry, I thought I was talking to Johannes. Johannes, this was a rather obvious
requirement.


-- 
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=582439.



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

Message: 3
Date: Thu, 14 May 2009 10:56:57 +0000 (UTC)
From: "gnomemm (bugzilla.gnome.org)"
	<bugzilla-daemon bugzilla gnome org>
Subject: [gtkmm bugzilla] [Bug 582439] [PATCH] Fix build on maemo
	platform
To: gtkmm-forge lists sourceforge net
Message-ID: <20090514105657 060E123F597 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=582439

  gnomemm | gstreamermm | Ver: unspecified




------- Comment #9 from Murray Cumming  2009-05-14 10:56 UTC -------

> One thing I forgot, though, is that plug-ins that don't exist on the build
> machine are not included in the build, so errors might come up in examples that
> use a plug-in that does not exist on the build machine.
> 
> This was done in part because if a plug-in does not exist and it is included in
> the build, no program would execute because when wrap_init() runs, it would
> fail when it tries to initialize the missing plug-in (see the long-winded bug
> #565454 : http://bugzilla.gnome.org/show_bug.cgi?id=565454).

That's unfortunate. That means that the standard distributed package of
gstreamermm on, for instance, Ubuntu, will fail at runtime even if I'm not
using one of these extra plug-ins, if the C plugins are not available. That
will hit most people.

Obviously we need a way to make wrap_init() fail more gracefully.



-- 
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=582439.



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

Message: 4
Date: Thu, 14 May 2009 12:19:57 +0000 (UTC)
From: "gnomemm (bugzilla.gnome.org)"
	<bugzilla-daemon bugzilla gnome org>
Subject: [gtkmm bugzilla] [Bug 582439] [PATCH] Fix build on maemo
	platform
To: gtkmm-forge lists sourceforge net
Message-ID: <20090514121957 B04E223F597 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=582439

  gnomemm | gstreamermm | Ver: unspecified




------- Comment #10 from Johannes Schmid  2009-05-14 12:19 UTC -------
(In reply to comment #8)
> Sorry, I thought I was talking to Johannes. Johannes, this was a rather obvious
> requirement.

Sure, but I cannot do the second step before the first. As I said, I am working
on 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=582439.



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

Message: 5
Date: Thu, 14 May 2009 20:18:30 +0000 (UTC)
From: "gnomemm (bugzilla.gnome.org)"
	<bugzilla-daemon bugzilla gnome org>
Subject: [gtkmm bugzilla] [Bug 582439] [PATCH] Fix build on maemo
	platform
To: gtkmm-forge lists sourceforge net
Message-ID: <20090514201830 DD9B023F597 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=582439

  gnomemm | gstreamermm | Ver: unspecified




------- Comment #11 from Murray Cumming  2009-05-14 20:18 UTC -------
(In reply to comment #9)
> Obviously we need a way to make wrap_init() fail more gracefully.

This is the crash that I guess you experienced:

#0  IA__g_log (log_domain=0xb6c9ecf7 "GLib-GObject",
log_level=G_LOG_LEVEL_CRITICAL, 
    format=0xb6c1d019 "%s: assertion `%s' failed") at gmessages.c:525
#1  0xb6bbaa69 in IA__g_return_if_fail_warning (log_domain=0xb6c9ecf7
"GLib-GObject", 
    pretty_function=0xb6ca09d6 "g_type_set_qdata", expression=0xb6ca09c5 "node
!= NULL") at gmessages.c:541
#2  0xb6c915df in IA__g_type_set_qdata (type=0, quark=49, data=0x14) at
gtype.c:3477
#3  0xb7256a99 in Glib::wrap_register (type=0, func=0xb7f114c0
<Gst::CdParanoiaSrc_Class::wrap_new(_GObject*)>)
    at wrap.cc:89
#4  0xb7efaf78 in Gst::wrap_init () at wrap_init.cc:353
#5  0xb7efc1f0 in initialize_wrap_system () at init.cc:36
#6  0xb7efc397 in Gst::init (argc= 0xbfeab7f0, argv= 0xbfeab604) at init.cc:53
#7  0x0804b73f in main (argc=1, argv=0xbfeab874) at main.cc:124


I think we just need a null check in Glib::wrap_register(). I'll try that
tomorrow. I have already removed the ifdefs from my checkout of gstreamermm.


-- 
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=582439.



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

Message: 6
Date: Thu, 14 May 2009 20:28:38 +0000 (UTC)
From: "gnomemm (bugzilla.gnome.org)"
	<bugzilla-daemon bugzilla gnome org>
Subject: [gtkmm bugzilla] [Bug 582439] [PATCH] Fix build on maemo
	platform
To: gtkmm-forge lists sourceforge net
Message-ID: <20090514202838 939F223F597 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=582439

  gnomemm | gstreamermm | Ver: unspecified




------- Comment #12 from Jos? Alburquerque  2009-05-14 20:28 UTC -------
> I think we just need a null check in Glib::wrap_register(). I'll try that
> tomorrow. I have already removed the ifdefs from my checkout of gstreamermm.

Wait.  The #ifdefs in wrap_init() should allow for the build to include
plug-ins even if they don't exist.  I was just testing and I have a preliminary
patch that includes all plug-ins in the build (whether they exist on the build
system or not) and the build is successful even if the plug-ins don't exist on
the build system.

Also, as you said, there will only be a _runtime_ error if the user attempts
using a plug-in that is not on the running system but not a compilation
problem.  A patch follows.  If it fixes things, it can be committed.  I'd be
glad to make a release soon after.


-- 
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=582439.



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

Message: 7
Date: Thu, 14 May 2009 20:53:00 +0000 (UTC)
From: "gnomemm (bugzilla.gnome.org)"
	<bugzilla-daemon bugzilla gnome org>
Subject: [gtkmm bugzilla] [Bug 582439] [PATCH] Fix build on maemo
	platform
To: gtkmm-forge lists sourceforge net
Message-ID: <20090514205300 5A23F23F598 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=582439

  gnomemm | gstreamermm | Ver: unspecified




------- Comment #13 from Jos? Alburquerque  2009-05-14 20:52 UTC -------
Created an attachment (id=134667)
 --> (http://bugzilla.gnome.org/attachment.cgi?id=134667&action=view)
Patch to include all plug-ins in build


-- 
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=582439.



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

Message: 8
Date: Thu, 14 May 2009 21:27:26 +0000 (UTC)
From: "gnomemm (bugzilla.gnome.org)"
	<bugzilla-daemon bugzilla gnome org>
Subject: [gtkmm bugzilla] [Bug 582439] [PATCH] Fix build on maemo
	platform
To: gtkmm-forge lists sourceforge net
Message-ID: <20090514212726 41BEC23F597 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=582439

  gnomemm | gstreamermm | Ver: unspecified




------- Comment #14 from Murray Cumming  2009-05-14 21:27 UTC -------
(In reply to comment #12)
> > I think we just need a null check in Glib::wrap_register(). I'll try that
> > tomorrow. I have already removed the ifdefs from my checkout of gstreamermm.
> 
> Wait.  The #ifdefs in wrap_init() should allow for the build to include
> plug-ins even if they don't exist.

But what possible help are those ifdefs in the API? Why not just fix the crash
and carry on? Well, I have just fixed this in glibmm. We'll need to commit that
to the relevant glibmm-2.something branch for Maemo. 

The defines don't do anything extra - for instance they don't seem to prevent
the use of any API that would stop gstreamermm from building. I have removed
these ifdefs in gstreamermm - feel free to revert that if I have misunderstood.

Now a gstreamermm-using C++ application can start using a plugin via C++ as
soon as the C plugin has been installed (via the missing-plugin installer UI,
for instance), without requiring a rebuild of gstreamermm.

>  I was just testing and I have a preliminary
> patch that includes all plug-ins in the build (whether they exist on the build
> system or not) and the build is successful even if the plug-ins don't exist on
> the build system.

That was necessary too. Thanks. I committed that for you.

It might also now be possible to remove the forked generate_wrap_init.pl.in but
maybe it does something else too.


-- 
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=582439.



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

------------------------------------------------------------------------------
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensing option that enables 
unlimited royalty-free distribution of the report engine 
for externally facing server and web deployment. 
http://p.sf.net/sfu/businessobjects

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

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


End of Gtkmm-forge Digest, Vol 36, Issue 7
******************************************


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