Ticket #12846 (closed update: fixed)
Updated Portfile for qt4-mac to 4.3.1
| Reported by: | themiwi@… | Owned by: | macports-tickets@… |
|---|---|---|---|
| Priority: | Normal | Milestone: | |
| Component: | ports | Version: | 1.5.0 |
| Keywords: | Cc: | themiwi@…, yves@…, dinosaur@… | |
| Port: |
Description
I updated the Portfile for qt4-mac to use version 4.3.1 of Qt.
Portfile: attachment:Portfile
files: attachment:file.tgz
A short list of the changes I made:
- Upgraded the upstream sources from 4.2.2 to 4.3.1.
- The translations install in ${prefix}/share/qt4/translations.
- Enabled tiff support.
- Now building qmake optimized.
- Specifically using system g++ (because of -fconstant-cfstrings).
- Changed the +framework variant to install the frameworks in /Library/Frameworks as specified by porthier(7).
- Added the variant +demos.
- Install package documentation (INSTALL, README, LICENSE.GPL, OPENSOURCE-NOTICE.TXT in ${prefix}/share/doc/qt4-mac.
- Removed qtconfig (no longer exists for Mac) from the installed apps and added pixeltool and qtdbusviewer.
- Added a ChangeLog.MacPorts file to the port.
Is it a good idea to have a ChangeLog.MacPorts anyways? I figured it could be useful to have it in the ${prefix}/share/doc/qt4-mac directory.
Attachments
Change History
comment:1 Changed 6 years ago by yves@…
Very interresting. I was also working on an upgrade. Here is a proposed merge of mine with yours
1- I remove the revison 0 as it is default 2- make platforms macosx since it won't run on darwin 3- make configure.args less messy to look at 4- changed the many xinstall / move to foreach functions 5- move the variant isset framework code to the variant itself 6- removed darwin variant as it is clearly designed for macosx. 7- remove the cd command since it wil be obsolete in a future MacPorts release. 8- Added depends_lib for libmng, libpng and tifff, remove for zlib as it is now implicit.
I wonder if there should be something about gif too ?
comment:2 Changed 6 years ago by yves@…
BTW, I don't see the point in including a portfile changelog, since trac and svn are already doing just that ?
comment:4 Changed 6 years ago by yves@…
- Status changed from new to closed
- Resolution set to fixed
committed changeset:29992
thanks

