Opened 4 years ago

Closed 2 years ago

#46496 closed enhancement (fixed)

co-installable qt4-mac and qt5-mac step2 : qt5-mac

Reported by: RJVB (René Bertin) Owned by: mkae (Marko Käning)
Priority: Normal Milestone:
Component: ports Version:
Keywords: haspatch Cc: MarcusCalhoun-Lopez (Marcus Calhoun-Lopez), springermac (Jonathan Springer), petrrr
Port: qt5-mac

Description

Step 2 in making qt4-mac and qt5-mac co-installable: modifications of the qt5 PortGroup and port files along the same general principles as those described in https://trac.macports.org/ticket/46238 .

The qt5-mac portfile didn't include the same code to provide traditional shared libraries in ${qt_libs_dir} nor the header files in ${qt_include_dir}; I have copied the relevant sections from the qt4-mac portfile.

The old, exclusive way of installing is still available as the +exclusive variant, which I'd propose not to preserve. There's also a +KDE variant, with the same additional patches as available in qt4-mac+KDE; in addition this variant generates a release build that contains enough debug information to generate useful backtraces.

There is no qt5-mac-transitional for the moment.

Attachments (29)

qprocess-nozombies.patch (833 bytes) - added by RJVB (René Bertin) 4 years ago.
prevent zombie processes
deactivate-menurole-heuristics.patch (2.5 KB) - added by RJVB (René Bertin) 4 years ago.
don't try to guess which QActions should be put under the About and Preferences menu items
correct-systraymenu-iconhandling.patch (1.0 KB) - added by RJVB (René Bertin) 4 years ago.
respect the user's preference in having icons in the systray menu or not
debug-negative-qtimerint.patch (539 bytes) - added by RJVB (René Bertin) 4 years ago.
give some more information when warning about starting a QTimer with a negative interval
Portfile (509 bytes) - added by RJVB (René Bertin) 4 years ago.
minimum Portfile that includes the payload from Portfile.qt5
Portfile.qt5 (25.5 KB) - added by RJVB (René Bertin) 4 years ago.
Portfile payload doing the heavy lifting
fix-qstandardpaths.patch (3.4 KB) - added by RJVB (René Bertin) 4 years ago.
move ${prefix}/share to the start of the list of system-wide search paths
Add-workaround-for-GL-on-Android-emulator.patch (1.5 KB) - added by RJVB (René Bertin) 4 years ago.
from Ubuntu
Always-lock-the-DBus-dispatcher-before-dbus_connecti.patch (3.3 KB) - added by RJVB (René Bertin) 4 years ago.
from Ubuntu
Break-after-handling-the-read-write.patch (1.2 KB) - added by RJVB (René Bertin) 4 years ago.
from Ubuntu
Don-t-always-chmod-the-XDG_RUNTIME_DIR.patch (1.5 KB) - added by RJVB (René Bertin) 4 years ago.
from Ubuntu
Fix-crash-in-QNetworkAccessCacheBackend-closeDownstr.patch (2.3 KB) - added by RJVB (René Bertin) 4 years ago.
from Ubuntu
Partially-revert-Fix-a-deadlock-introduced-by-the-ra.patch (3.3 KB) - added by RJVB (René Bertin) 4 years ago.
from Ubuntu
QDBusConnection-Merge-the-dispatch-and-the-watch-and.patch (7.2 KB) - added by RJVB (René Bertin) 4 years ago.
from Ubuntu
QtBearer-networkmanager-make-sure-to-set-flag-Active.patch (22.6 KB) - added by RJVB (René Bertin) 4 years ago.
from Ubuntu
Report-the-system-error-on-why-chmod-2-failed-in-XDG.patch (1.3 KB) - added by RJVB (René Bertin) 4 years ago.
from Ubuntu
Reset-QNAM-s-NetworkConfiguration-when-state-changes.patch (1.8 KB) - added by RJVB (René Bertin) 4 years ago.
from Ubuntu
Use-a-property-cache-to-cut-down-on-blocking-calls.patch (165.7 KB) - added by RJVB (René Bertin) 4 years ago.
from Ubuntu
dbus_correct_signal_name_disconnect.patch (1.1 KB) - added by RJVB (René Bertin) 4 years ago.
from Ubuntu
disable-generic-plugin-when-others-available.patch (316 bytes) - added by RJVB (René Bertin) 4 years ago.
from Ubuntu
fix_bug_in_internal_comparison_operator.patch (2.3 KB) - added by RJVB (René Bertin) 4 years ago.
from Ubuntu
fix_sparc_atomics.patch (691 bytes) - added by RJVB (René Bertin) 4 years ago.
from Ubuntu
gnukfreebsd.diff (5.8 KB) - added by RJVB (René Bertin) 4 years ago.
from Ubuntu
load_testability_from_env_var.patch (593 bytes) - added by RJVB (René Bertin) 4 years ago.
from Ubuntu
remove_google_adsense.patch (2.0 KB) - added by RJVB (René Bertin) 4 years ago.
from Ubuntu
remove_icon_from_example.patch (888 bytes) - added by RJVB (René Bertin) 4 years ago.
from Ubuntu
update-QtBearer-NetworkManager-backend-API.patch (3.0 KB) - added by RJVB (René Bertin) 4 years ago.
from Ubuntu
qt5-concurrent-patches.diff (306.8 KB) - added by RJVB (René Bertin) 4 years ago.
patch vs. the qt5-mac files currently in MacPorts
qt5-1.0.tcl (12.3 KB) - added by RJVB (René Bertin) 4 years ago.
restored the "accept port:qt5-mac-devel instead of port:qt5-mac" feature

Download all attachments as: .zip

Change History (38)

Changed 4 years ago by RJVB (René Bertin)

Attachment: qprocess-nozombies.patch added

prevent zombie processes

Changed 4 years ago by RJVB (René Bertin)

don't try to guess which QActions should be put under the About and Preferences menu items

Changed 4 years ago by RJVB (René Bertin)

respect the user's preference in having icons in the systray menu or not

Changed 4 years ago by RJVB (René Bertin)

give some more information when warning about starting a QTimer with a negative interval

Changed 4 years ago by RJVB (René Bertin)

Attachment: Portfile added

minimum Portfile that includes the payload from Portfile.qt5

Changed 4 years ago by RJVB (René Bertin)

Attachment: Portfile.qt5 added

Portfile payload doing the heavy lifting

Changed 4 years ago by RJVB (René Bertin)

Attachment: fix-qstandardpaths.patch added

move ${prefix}/share to the start of the list of system-wide search paths

Changed 4 years ago by RJVB (René Bertin)

from Ubuntu

Changed 4 years ago by RJVB (René Bertin)

from Ubuntu

Changed 4 years ago by RJVB (René Bertin)

from Ubuntu

Changed 4 years ago by RJVB (René Bertin)

from Ubuntu

Changed 4 years ago by RJVB (René Bertin)

from Ubuntu

Changed 4 years ago by RJVB (René Bertin)

from Ubuntu

Changed 4 years ago by RJVB (René Bertin)

from Ubuntu

Changed 4 years ago by RJVB (René Bertin)

from Ubuntu

Changed 4 years ago by RJVB (René Bertin)

from Ubuntu

Changed 4 years ago by RJVB (René Bertin)

from Ubuntu

Changed 4 years ago by RJVB (René Bertin)

from Ubuntu

Changed 4 years ago by RJVB (René Bertin)

from Ubuntu

Changed 4 years ago by RJVB (René Bertin)

from Ubuntu

Changed 4 years ago by RJVB (René Bertin)

from Ubuntu

Changed 4 years ago by RJVB (René Bertin)

Attachment: fix_sparc_atomics.patch added

from Ubuntu

Changed 4 years ago by RJVB (René Bertin)

Attachment: gnukfreebsd.diff added

from Ubuntu

Changed 4 years ago by RJVB (René Bertin)

from Ubuntu

Changed 4 years ago by RJVB (René Bertin)

Attachment: remove_google_adsense.patch added

from Ubuntu

Changed 4 years ago by RJVB (René Bertin)

from Ubuntu

Changed 4 years ago by RJVB (René Bertin)

from Ubuntu

Changed 4 years ago by RJVB (René Bertin)

Attachment: qt5-concurrent-patches.diff added

patch vs. the qt5-mac files currently in MacPorts

Changed 4 years ago by RJVB (René Bertin)

Attachment: qt5-1.0.tcl added

restored the "accept port:qt5-mac-devel instead of port:qt5-mac" feature

comment:1 Changed 4 years ago by RJVB (René Bertin)

NB: qt5-concurrent-patches.diff​ is now made using kdesvn's "diff against [SVN] head" feature, so the format has changed slightly.

comment:2 Changed 4 years ago by mkae (Marko Käning)

Cc: mk@… added

Cc Me!

comment:3 Changed 4 years ago by springermac (Jonathan Springer)

Cc: springermac@… added

Cc Me!

comment:4 Changed 4 years ago by RJVB (René Bertin)

NB: development has been continuing on port:qt5-mac-devel (https://trac.macports.org/ticket/46536), which now provides Qt 5.4.1

comment:5 Changed 3 years ago by petrrr

Cc: petr@… added

Cc Me!

comment:6 Changed 2 years ago by mkae (Marko Käning)

Cc: mkae removed
Owner: changed from macports-tickets@… to mkae
Status: newassigned
Version: 2.3.3

comment:7 Changed 2 years ago by mkae (Marko Käning)

@RJVB, I guess this can be considered closed, right?

Last edited 2 years ago by mkae (Marko Käning) (previous) (diff)

comment:8 Changed 2 years ago by RJVB (René Bertin)

Evidently...

comment:9 Changed 2 years ago by mkae (Marko Käning)

Resolution: fixed
Status: assignedclosed
Note: See TracTickets for help on using tickets.