#81 dont compiles with gtk-2.4.9

closed-fixed
None
5
2007-08-28
2007-07-20
No

I tried to make a set of new sources from glade-2, but the file names are not obvious. Can glade-2 be used to update or downgrade at all?

Discussion

  • Karl H. Beckers

    Karl H. Beckers - 2007-07-20
    • assigned_to: nobody --> charly4711
     
  • Karl H. Beckers

    Karl H. Beckers - 2007-07-20

    Logged In: YES
    user_id=782084
    Originator: NO

    1. Xvidcap does not use glade generated C code, so no use trying to regenerated smth. (it uses glade xml and libglade directly)
    2. There used to be a dependency on gtk 2.5 which was caused BY glade-2 (though it did not cause compile time problems just runtime problems)
    3. I included provisions to make xvidcap be able to run with gtk 2.4, so if it does not, that's a bug. However, those provisions were almost not tested at all, because I have no system running gtk 2.4, so ....
    4. Please elaborate the problems you're having. Attach a full log of configure on a fresh tarball extract and one of make.

     
  • Kai-Uwe Behrmann

    Logged In: YES
    user_id=634841
    Originator: YES

    File Added: config_log.txt

     
  • Kai-Uwe Behrmann

    Logged In: YES
    user_id=634841
    Originator: YES

    File Added: make_log.txt

     
  • Karl H. Beckers

    Karl H. Beckers - 2007-08-06

    Logged In: YES
    user_id=782084
    Originator: NO

    for one thing, the following does not look good:
    bvenc.o pcm.o adpcm.o adx.o g726.o pthread.o i386/idct_mmx.o i386/cavsdsp_mmx.o i386/snowdsp_mmx.o
    ranlib libavcodec.a
    ranlib: libavcodec.a: No space left on device

    Please free more space on your disk and try again!

     
  • Karl H. Beckers

    Karl H. Beckers - 2007-08-06

    patch for gtk_button_set_image dependency

     
  • Karl H. Beckers

    Karl H. Beckers - 2007-08-06

    Logged In: YES
    user_id=782084
    Originator: NO

    Marf ... fixed one dependency by introducing another. gtk_button_set_image is only available from gtk 2.6 onwards.
    Please try the attached patch.
    File Added: patch.txt

     
  • Karl H. Beckers

    Karl H. Beckers - 2007-08-06

    added proposed fix for about dialog dependency

     
  • Karl H. Beckers

    Karl H. Beckers - 2007-08-06

    Logged In: YES
    user_id=782084
    Originator: NO

    And another one around the about dialog. Please try the new patch2, which is a cumulative patch (i.e. includes the previous one and applies against the SVN version of src/gnome_ui.c)

    Please test and provide feedback here.
    File Added: patch2.txt

     
  • Karl H. Beckers

    Karl H. Beckers - 2007-08-06
    • status: open --> pending
     
  • Kai-Uwe Behrmann

    • status: pending --> open
     
  • Kai-Uwe Behrmann

    Logged In: YES
    user_id=634841
    Originator: YES

    gnome_ui.c:3056: error: parse error before '*' token
    gnome_ui.c: In function `on_xvc_about_main_window_close':
    gnome_ui.c:3060: error: `window' undeclared (first use in this function)
    gnome_ui.c:3060: error: (Each undeclared identifier is reported only once
    gnome_ui.c:3060: error: for each function it appears in.)

    It seems GtkAbout is not declared in Gtk-2.4:
    http://mail.gnome.org/archives/gtk-devel-list/2003-December/msg00033.html

     
  • Karl H. Beckers

    Karl H. Beckers - 2007-08-09

    Logged In: YES
    user_id=782084
    Originator: NO

    Oh, it should have read GnomeAbout, but that won't work without libgnomeui ... and I'd prefer not to go that way.
    Could you please try changing GtkAbout to GtkWidget and see what happens during compile and running the program?

     
  • Kai-Uwe Behrmann

    Logged In: YES
    user_id=634841
    Originator: YES

    GtkAbout -> GtkWidget fixed for compilation. Thanks.
    The About button does not work. But this is not a issue.

     
  • Karl H. Beckers

    Karl H. Beckers - 2007-08-10

    Logged In: YES
    user_id=782084
    Originator: NO

    Are you saying the about dialog doesn't even pop up, or it doesn't close?
    If it doesn't even pop up then that's unrelated to changing GtkAboutDialog to GtkWidget but prolly due to an incompatibility between the libglade versions in question here (which kinda is to be expected if the about dialog with gtk 2.4 and related tools needs libgnomeui and I haven't created a gnome project in glade but just a plain gtk project). In that case I can either (a) reimplement GnomeAbout or (b) remove the menu item altogether ... or (c) require libgnomeui just for gtk < 2.6. My preference is with b and I detest c most ;) (not because I dislike gnome, but because I want to keep the dependencies bearable for kde or similar folks). Any preferences on your side?

     
  • Kai-Uwe Behrmann

    Logged In: YES
    user_id=634841
    Originator: YES

    b) seems ok, as long as it saves time to other improovements ;-)
    Especially the left button does nothing, when left mouse pressed.
    It hides a important menue appearing with right mouse press.
    Show it on every mouse press? ... ok an other tracker item.

     
  • Karl H. Beckers

    Karl H. Beckers - 2007-08-13
    • status: open --> pending-fixed
     
  • Karl H. Beckers

    Karl H. Beckers - 2007-08-13

    Logged In: YES
    user_id=782084
    Originator: NO

    the left mouse button resets the frame count to zero in single-frame capture mode.

    back to this issue, though. I've committed a fix to svn. Please test either that or the attached cumulative patch (apply on 1.1.6 vanilla version, again). Note that this eliminates the about dialog altogether for gtk+ < 2.6 ... though it wouldn't have worked with those versions anyway.
    Thanks, Karl.
    File Added: patch3.txt

     
  • Karl H. Beckers

    Karl H. Beckers - 2007-08-13

    cumulative suggested fix

     
  • SourceForge Robot

    • status: pending-fixed --> closed-fixed
     
  • SourceForge Robot

    Logged In: YES
    user_id=1312539
    Originator: NO

    This Tracker item was closed automatically by the system. It was
    previously set to a Pending status, and the original submitter
    did not respond within 14 days (the time period specified by
    the administrator of this Tracker).

     

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks