[MacPorts] #47155: djview @4.10 Update to new version
#47155: djview @4.10 Update to new version ----------------------+-------------------------------- Reporter: s@… | Owner: macports-tickets@… Type: update | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.3 Keywords: haspatch | Port: djview ----------------------+-------------------------------- I'm attaching a diff to the Portfile and two new patch files to update djview to version 4.10. The current version contains a workaround for a bug in qmake (see r73290 for the same workaround in another port) where an extra -arch flag gets passed to the linker which breaks the link. The workaround removes the flag post-configure. In 4.10, the file that needs the workaround is Makefile.qmake which isn't built until make is invoked. One of the patch files patches Makefile.am (and Makefile.in) to modify the rule that creates Makefile.qmake to delete the extra -arch. The other patch file fixes the invocation of $(MAKE) -f Makefile.qmake djview which fails on OS X because Makefile.qmake does not have a djview target. The default target in Makefile.qmake works just as well, so we use that. The second patch should be upstreamed (which I'll do shortly). The qmake bug should really be fixed and the first patch deleted, but I don't have time to investigate qmake. -- Ticket URL: <https://trac.macports.org/ticket/47155> MacPorts <https://www.macports.org/> Ports system for OS X
#47155: djview @4.10 Update to new version ---------------------+-------------------------------- Reporter: s@… | Owner: macports-tickets@… Type: update | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.3 Resolution: | Keywords: haspatch Port: djview | ---------------------+-------------------------------- Comment (by s@…): I forgot to mention that the existing patch file is no longer needed, as far as I can tell. -- Ticket URL: <https://trac.macports.org/ticket/47155#comment:1> MacPorts <https://www.macports.org/> Ports system for OS X
#47155: djview @4.10 Update to new version ---------------------+---------------------- Reporter: s@… | Owner: nicos@… Type: update | Status: new Priority: Normal | Milestone: Component: ports | Version: Resolution: | Keywords: haspatch Port: djview | ---------------------+---------------------- Changes (by mf2k@…): * cc: nicos@… (removed) * owner: macports-tickets@… => nicos@… * version: 2.3.3 => -- Ticket URL: <https://trac.macports.org/ticket/47155#comment:2> MacPorts <https://www.macports.org/> Ports system for OS X
#47155: djview @4.10 Update to new version ---------------------+---------------------- Reporter: s@… | Owner: nicos@… Type: update | Status: closed Priority: Normal | Milestone: Component: ports | Version: Resolution: fixed | Keywords: haspatch Port: djview | ---------------------+---------------------- Changes (by nicos@…): * status: new => closed * resolution: => fixed Comment: Update done in r 133897. Thanks for the submission. -- Ticket URL: <https://trac.macports.org/ticket/47155#comment:3> MacPorts <https://www.macports.org/> Ports system for OS X
#47155: djview @4.10 Update to new version ---------------------+---------------------- Reporter: s@… | Owner: nicos@… Type: update | Status: closed Priority: Normal | Milestone: Component: ports | Version: Resolution: fixed | Keywords: haspatch Port: djview | ---------------------+---------------------- Comment (by xfacter@…): I just noticed the macports version is using qt4 still, but the new version should compile with qt5. Any way to update that? -- Ticket URL: <https://trac.macports.org/ticket/47155#comment:4> MacPorts <https://www.macports.org/> Ports system for OS X
#47155: djview @4.10 Update to new version ---------------------+---------------------- Reporter: s@… | Owner: nicos@… Type: update | Status: closed Priority: Normal | Milestone: Component: ports | Version: Resolution: fixed | Keywords: haspatch Port: djview | ---------------------+---------------------- Comment (by s@…): Replying to [comment:4 xfacter@…]:
I just noticed the macports version is using qt4 still, but the new version should compile with qt5. Any way to update that? The webpage says it's written in qt4 so I didn't try anything else. Changing it should be a matter of changing the PortGroup line. I haven't tried though.
-- Ticket URL: <https://trac.macports.org/ticket/47155#comment:6> MacPorts <https://www.macports.org/> Ports system for OS X
#47155: djview @4.10 Update to new version ---------------------+---------------------- Reporter: s@… | Owner: nicos@… Type: update | Status: closed Priority: Normal | Milestone: Component: ports | Version: Resolution: fixed | Keywords: haspatch Port: djview | ---------------------+---------------------- Comment (by nicos@…): Both are possible apparently. For now, I just updated the port. However, as qt4 and qt5 are mutually exclusive in Macports, this should be done by variants to avoid cutting the port for a whole bunch of users. -- Ticket URL: <https://trac.macports.org/ticket/47155#comment:7> MacPorts <https://www.macports.org/> Ports system for OS X
participants (1)
-
MacPorts