[MacPorts] #60511: move to quartz as default backend

MacPorts noreply at macports.org
Tue Apr 23 11:03:03 UTC 2024


#60511: move to quartz as default backend
-------------------------------------------------+-------------------------
  Reporter:  ra1nb0w                             |      Owner:  mascguy
      Type:  enhancement                         |     Status:  assigned
  Priority:  Normal                              |  Milestone:
 Component:  ports                               |    Version:
Resolution:                                      |   Keywords:
      Port:  R Togl VLC VLC2 avahi cairo         |
  cairomm cherrytree clutter cogl gWakeOnLAN     |
  gconf gegl geoclue2 glade glib2 glibmm gnome-  |
  themes-extra gnubg gnucash-docs gtk-sharp2     |
  gtk2 gtk3 gtkextra3 gtkimageview gtkmm gtkmm3  |
  gtkspell2 inkscape lablgtk2 libVLC libVLC2     |
  librsvg meld netgen opencolorio pan2 pango     |
  pangomm pdfpc pidgin pspp py-cairo py-gobject  |
  py-pygtk reinteract tix tk tkdnd tkimg         |
  tktable ufraw webkit2-gtk wxgtk-3.0            |
-------------------------------------------------+-------------------------

Comment (by christophecvr):

 Replying to [comment:45 mascguy]:
 > Replying to [comment:42 christophecvr]:
 > > Before that also glib2, gobject-introspection, and gtk3 needs to be
 rebuild. Min required version is 2.80 with the current downgraded version
 it does not work.
 >
 > Just to confirm, are you saying that `glib2` and `gobject-introspection`
 must be at 2.80/1.80, for your updates to work?
 >
 > That's very surprising, as `glib2` 2.80 was released six weeks ago,
 while `gobject-introspection` 1.80 was released three weeks ago.
 >
 > Can you elaborate in terms of which component(s) need the latest
 releases of these two ports?

 Yes that was pretty strange issue. Before the initial upgrade to 2.80/1.80
 all worked fine. Then we had the upgrade with a couple of missing gir
 gobjects and a couple off packages did not build anymore. I actually then
 proceed to install it like you proposed before the downgrade. By first
 building glib2 without introspection,build introspection and then rebuild
 glib2 with introspection enabled. It worked perfect after that. After the
 downgrade back to previous version I tried that also but then i went in to
 error on error on building. So I changed the ports back to 2.80/1.80
 building on the way glib2 no intr. introspection then glib2 with
 introspection and all runs fine. I really can't explain why it well works
 perfect so now. (maybe if a completely install all macports build and
 restart from scratch it probably works again with the previous glib2/and
 introspection).

 About the gstreamer it is just adapted to my needs (concerning codecs due
 to the gst-libav also ffmpeg needs to be installed with the nonfree
 codecs). But on High Sierra the build with xcode and gl does work perfect
 I must well also build the quartz components cause once gl is used there
 is a macos framework check about installed gl functions and they always
 include checks for the cocoa functions). But for gstreamer it is not a
 problem at all since gstreamer does build separate extra packages for
 quartz and x11. You can check this into /opt/local/lib/pkgconfig.  package
 gstreamer-gl-1.0.pc is for the cocoa and quartz gl. package gstreamer-
 gl-x11-1.0.pc for the build of x11 gl support. See also extended api
 manual of gstreamer self.
 To use the right gl libs is then a task for the application self. To be
 honest I till now only build one application who uses gstreamer that is
 totem and totem must have x11 and gstreamer with gl support . I knew the
 old days that totem was working with xine backend instead of gstreamer but
 that's long ago and was on the gnome2 and gstreamer was still 0.xx in
 those days. But now totem does play dvd iso files fine (just at the dvd
 start menu a little stuttering but once launched it plays perfect now).
 But totem is not really needed since vlc can be used to also play all
 video files and dvd's and vlc works even better. mpv-legacy does not work
 on macos-10.13.6 no sound on videos and dvd menus are showed but you can't
 select a item.

 But as a general remark is x11 really needed. That depends on the packages
 you want to install. If you need packages that needs the installation of
 gnome-desktop (such as nautilus for example) yes x11 is required and glib2
 gtk3 can only be used with x11 support. If You do not need any of these
 packages you can build with quartz only in a certain way it is even nicer
 since you have the use of apple menu's on top of you're desktop. With
 gedit for example the apple menus is really nice . On the other hand when
 using x11 the graphics are much sharper then with quartz.

-- 
Ticket URL: <https://trac.macports.org/ticket/60511#comment:46>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list