Opened 12 years ago

Closed 11 years ago

Last modified 11 years ago

#32249 closed update (fixed)

clutter: update to 1.8.2

Reported by: ryandesign (Ryan Carsten Schmidt) Owned by: dbevans (David B. Evans)
Priority: Normal Milestone:
Component: ports Version:
Keywords: haspatch Cc: nodamage@…, rmstonecipher@…, lpsinger (Leo Singer)
Port: clutter

Description

clutter should probably be updated to 1.8.2.

Maybe this would fix #32217.

Attachments (4)

clutter-Portfile.diff (2.4 KB) - added by rmstonecipher@… 11 years ago.
cogl-Portfile (1.0 KB) - added by rmstonecipher@… 11 years ago.
clutter-gtk-Portfile.diff (1.6 KB) - added by rmstonecipher@… 11 years ago.
clutter-gst-Portfile.diff (1.9 KB) - added by rmstonecipher@… 11 years ago.

Download all attachments as: .zip

Change History (14)

comment:1 Changed 11 years ago by rmstonecipher@…

Keywords: haspatch added

Dave,
Please refer to tickets #37082 which will replace gst-ffmpeg with gst-libav and #37483 which will bring totem up to date to allow that library replacement.
The new version of totem will require updates to clutter (as described in this ticket) as well as clutter-gtk and clutter-gst.
Attached is a .diff to bring the clutter Portfile up to version 1.12.2 including the following changes:

  • Fix homepage
  • Depend upon cogl instead of mesa
  • Enable gobject-introspection
  • Fix livecheck

Also attached is a Portfile for new port graphics/cogl, a portion of clutter that was separated in a recent release.
I do not have a good grasp on how to write -x11/no_x11 variants, and I would imagine one is required in cogl.

Attached is a .diff to bring the dependent clutter-gtk Portfile up to version 1.4.2 including the following changes:

  • Fix homepage
  • Depend upon gtk3 instead of gtk2
  • Enable gobject-introspection
  • Fix livecheck

Attached is a .diff to bring the dependent clutter-gst Portfile up to version 1.9.92.
Compiling clutter-gst using the Portfile changes described in that .diff fails with the following error:

:info:build ./clutter-gst-video-sink.c:656:18: error: use of undeclared identifier 'GL_MAX_COMBINED_TEXTURE_IMAGE_UNITS'

I would appreciate your assistance troubleshooting the clutter-gst error and revising these Portfiles as required to include -x11/no_x11 variants.

Thanks,
Ryan Stonecipher

Changed 11 years ago by rmstonecipher@…

Attachment: clutter-Portfile.diff added

Changed 11 years ago by rmstonecipher@…

Attachment: cogl-Portfile added

Changed 11 years ago by rmstonecipher@…

Attachment: clutter-gtk-Portfile.diff added

Changed 11 years ago by rmstonecipher@…

Attachment: clutter-gst-Portfile.diff added

comment:2 Changed 11 years ago by dbevans (David B. Evans)

Status: newassigned

comment:3 Changed 11 years ago by dbevans (David B. Evans)

Cc: nodamage@… rmstonecipher@… added

Progress: have added cogl and clutter (1.12.2) and rebuilt effected dependencies in r101612, r101613, r101614.

All dependencies (except gst-clutter) rebuild correctly against these new ports on SL, ML and Lion without further updates to clutter-gtk.

gst-clutter remains broken and I am looking at that now as well as upgrading clutter-gtk and am copying their maintainer. He may want to step in at this point.

Last edited 11 years ago by dbevans (David B. Evans) (previous) (diff)

comment:4 Changed 11 years ago by lpsinger (Leo Singer)

I hadn't seen this ticket go by. I am sitting on a patch that updates clutter and cogl to 1.12.2 and enables gobject-introspection and gtk-doc for both of them. Is there a particular reason to stop at clutter 1.8.2?

If not, I'll bring my patches up to date and open another ticket.

comment:5 in reply to:  4 ; Changed 11 years ago by dbevans (David B. Evans)

Replying to aronnax@…:

I hadn't seen this ticket go by. I am sitting on a patch that updates clutter and cogl to 1.12.2 and enables gobject-introspection and gtk-doc for both of them. Is there a particular reason to stop at clutter 1.8.2?

If not, I'll bring my patches up to date and open another ticket.

These updates are already committed (version 1.12.2) as discussed in comment:3. I should have mentioned the version in that comment.

Last edited 11 years ago by dbevans (David B. Evans) (previous) (diff)

comment:6 Changed 11 years ago by dbevans (David B. Evans)

clutter-gst updated to version 1.6.0 in r101631 using upstream patches.

comment:7 in reply to:  5 ; Changed 11 years ago by lpsinger (Leo Singer)

Replying to devans@…:

Replying to aronnax@…:

I hadn't seen this ticket go by. I am sitting on a patch that updates clutter and cogl to 1.12.2 and enables gobject-introspection and gtk-doc for both of them. Is there a particular reason to stop at clutter 1.8.2?

If not, I'll bring my patches up to date and open another ticket.

These updates are already committed (version 1.12.2) as discussed in comment:3. I should have mentioned the version in that comment.

Great!

What about turning on the +quartz variant by default? It appears that in clutter 1.12.2, the quartz and x11 backends can both be enabled simultaneously.

comment:8 Changed 11 years ago by lpsinger (Leo Singer)

Cc: aronnax@… added

Cc Me!

comment:9 in reply to:  7 Changed 11 years ago by dbevans (David B. Evans)

Replying to aronnax@…:

Replying to devans@…:

Replying to aronnax@…:

I hadn't seen this ticket go by. I am sitting on a patch that updates clutter and cogl to 1.12.2 and enables gobject-introspection and gtk-doc for both of them. Is there a particular reason to stop at clutter 1.8.2?

If not, I'll bring my patches up to date and open another ticket.

These updates are already committed (version 1.12.2) as discussed in comment:3. I should have mentioned the version in that comment.

Great!

What about turning on the +quartz variant by default? It appears that in clutter 1.12.2, the quartz and x11 backends can both be enabled simultaneously.

I tried that but it causes the build to fail on SL due to the familiar conflict in definition of the symbol Cursor between X11 and QuickDraw which is introduced by AppKit.

It will build that way on Lion and up (since QD is gone) but I'm not sure how useful it would be, that is, to try and use X11 and Quartz at the same time.

So rather than enable +quartz by default, I suggest removing the conflict between +x11 and +quartz on Lion and later and let the user select what he/she wants. Default would still be +x11 only.

Open a new ticket with your request for enhancement and I'll take a look. Thanks for the input.

Last edited 11 years ago by dbevans (David B. Evans) (previous) (diff)

comment:10 Changed 11 years ago by dbevans (David B. Evans)

Resolution: fixed
Status: assignedclosed

Closing this ticket since the original issue has been fixed (plus some).

I am not comfortable at this point switching clutter-gtk from gtk2 to gtk3 since doing so will break existing gtk2 dependents. We need a higher level plan for switching from gtk2/gnome2 to gtk3/gnome3 so that gtk2 and gtk3 versions can co-exist during the change over. Or, perhaps, opening a separate port tree branch for gtk3/gnome3 development would be a way to allow interested parties to work on this issue without breaking the world for everyone else until everything comes together. Probably a discussion for the developers list.

Last edited 11 years ago by dbevans (David B. Evans) (previous) (diff)
Note: See TracTickets for help on using tickets.