Opened 15 years ago
Closed 15 years ago
#23067 closed enhancement (fixed)
mlt 0.4.6: update to new upstream version 0.4.10 + variant no_x11
Reported by: | dominik.kriegner@… | Owned by: | macports-tickets@… |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 1.8.1 |
Keywords: | Cc: | ddennedy (Dan Dennedy) | |
Port: | mlt |
Description
Update to upstream 0.4.10 and a variant no_x11 should be added, because the build fails during compiling the gtk2 module (file consumer_gtk2.c). The header file gdk/gdkx.h is not available if gtk2 was built with the +no_x11 +quartz variants.
I do not know if it is possible remove the gtk2 dependency from mlt in this case?
Attachments (1)
Change History (6)
comment:1 follow-up: 2 Changed 15 years ago by ddennedy (Dan Dennedy)
comment:2 Changed 15 years ago by dominik.kriegner@…
Is it possible to remove the gtk2 depedence if mlt is used configured with --disable-gtk2? If this is the case I would suggest to add depends_lib-delete port:gtk2 to the new variant in the Portfile
comment:3 Changed 15 years ago by ddennedy (Dan Dennedy)
Ah, yes, I forgot about that explicit dependency in the Portfile. Yes, there are no other GTK dependencies when you --disable-gtk2. Please send an update with that option in the variant section. Thanks.
Changed 15 years ago by dominik.kriegner@…
Attachment: | mlt-0.4.10-Portfile.diff added |
---|
comment:4 Changed 15 years ago by dominik.kriegner@…
I updated the Portfile patch to include the depends_lib-delete port:gtk2 line in the no_x11 variant.
Maybe this issue with the gtk2 module can be solved different in future releases. When I saw correctly only one call to a function from the missing gdkx.h file is done in the problematic consumer_gtk2.c, maybe there is some replacement for this function when gtk2+no_x11+quartz is installed?
comment:5 Changed 15 years ago by mf2k (Frank Schima)
Resolution: | → fixed |
---|---|
Status: | new → closed |
This was basically done in r64070 except it was updated to 0.5.0.
Replying to dominik.kriegner@…:
Yes, MLT is not highly dependent upon the gtk2 module although it does provide a good, flexible, general purpose scaler. The fallbacks suffer in either quality or limited in resolution.
Anyways, as the maintainer, I agree with the changes in the patch, including the new variant.