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

MacPorts noreply at macports.org
Mon Apr 22 13:09:19 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):

 I did try to build macports on macbookpro mid 2010 High Sierra (10.13.6)
 with quartz only. That is only possible for a couple of gnome packages.
 When You need any gnome package requiring the gnome-desktop or any package
 coupled to the gnome-core x11 is always required. So if you're goal is to
 use a lot of gnome packages x11 is a must. It's bad luck that glib2 can
 not be build for both (native and generic) If this was the case gtk3 could
 also be build for quartz and x11. I just succeeded in now building today a
 perfect working totem which is the base core gnome video player. However I
 needed to build a lot self and reconfigure a lot of base macports
 packages. The required changes can be seen in .
 https://github.com/christophecvr/macports-ports/tree/cvrwork  . The
 patches comparing the original mac-ports are https://github.com/macports
 /macports-ports/compare/master...christophecvr:macports-ports:cvrwork
 . Yes first you need to install all avbl codecs also nonfree (so you can't
 redistribute build packages). Rebuild the full ffmpeg with all codecs this
 is required later for the package gst-libav who uses the ffmpeg build
 codecs. Then uninstall gstreamer1-gst-plugins-*** (all installed ones with
 -f option)
 rebuild gstreamer1-gst-plugins-base with x11 and !!! gl support (without
 gl support the whole gstreamer1 is useless to play a video). See the
 receipes in my git. Then build the gstreamer1-gst-libav. then good,bad and
 ugly. Build them all with -s option. I also set compiler to macports-
 clang-16 . But actually You can now use macports-clang-17.

 Before that also glib2,gobject-introspection and gtk3 needs to be rebuild.
 min required version is 2.80.0 with the current down graded version it
 does not work. So you need to use my current receipes for glib2,gobject-
 introspection and gtk3. uninstall glib2,gobject-introspection and gtk3
 with -f option. Build glib2 with x11 support (generic) it will be build
 without introspection first. Then build gobject-introspection. Then build
 glib2 again with -s and +x11 +introspection variant.

 After all this a good working totem player can be build. It does work now
 without stutters and so and does play dvd iso images.

 The mpv-legacy does not work well att all. and mpv 3.8 can't be build on
 this old macos. So for high sierra x11 is required but build well without
 universall support. I guess that for mojave 10.14 it will be same. But
 higher I don't lower the high sierra I don't ( by the way the official
 given xcode 10.1 does has sdk-10.14 ) All packages do build fine (without
 universall support) since the high sierra core is full x86_64 universall
 support is present but not required at all and the given sdk does not
 support universall.

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


More information about the macports-tickets mailing list