Page MenuHomeFreeBSD

editors/texworks: Update to version 0.6.2

Authored by rigoletto on Sep 14 2018, 10:46 PM.



PR: 200302 ( re-using )

  • update to v0.6.2
  • switch to Qt5


Test Plan


Both FLAVORs ( Qt4 and Qt5 ) build fine using make, but the Qt5
version won't build on poudriere:

CMake Error at /usr/local/share/cmake/Modules/FindQt4.cmake:1313 (message):
  Found unsuitable Qt version "5.11.1" from /usr/local/bin/qmake, this code
  requires Qt 4.x
Call Stack (most recent call first):
  CMakeLists.txt:274 (FIND_PACKAGE)

For some reason on poudriere it is ignoring something, and trying to build the
Qt4 version instead.

Please, note:

  • the Qt5 version is default upstream
  • building the Qt5 version using make doesn't ever need:


Diff Detail

rP FreeBSD ports repository
Automatic diff as part of commit; lint not applicable.
Automatic diff as part of commit; unit tests not applicable.

Event Timeline

rigoletto edited the test plan for this revision. (Show Details)
rigoletto edited the test plan for this revision. (Show Details)
linimon retitled this revision from Update to version 0.6.2 to editors/texworks: Update to version 0.6.2.Sep 15 2018, 12:33 AM
8 ↗(On Diff #48066)

It is better to use the flavor helpers and use static strings.

It looks like you are missing a flag to make it build the Qt5 version then :)

36 ↗(On Diff #48066)

^qmake should probably be _build only.

42 ↗(On Diff #48066)

^ same here is not yet removed, I think

I think you're missing dependencies in USE_QT for Qt5. The CMakeFiles.txt (line 257) falls to Qt4 if the desired version is Qt=4 or Qt5 has not been found.

You can find the components it looks for on lines 200-208 -- in paritcular, it is probably uitools.

rigoletto marked 3 inline comments as done.

Fixing. Build fine now. :-)


flavors looks ok. If there are ports depending on this make sure they depend on the correct pkgname.

rigoletto edited the test plan for this revision. (Show Details)

There is nothing depending on editors/texworks. Thanks.

Some necessary improvements. Thanks!

Get rid of the pkg-plist file.

mat requested changes to this revision.Sep 18 2018, 7:06 AM
mat added inline comments.
18 ↗(On Diff #48150)

Flavors are local to a port and is not transitive. FLAVOR cannot be used in dependencies lines.

This revision now requires changes to proceed.Sep 18 2018, 7:06 AM

Fix FLAVOR specific dependencies.


ok, now, it's ok :-)

Oki then, let's give @hrs some time to look at it :)

Please get rid of the flavors again. poppler-qt4 will be dropped from the tree soon, so it makes sense to switch this to Qt5 only already.

This revision now requires changes to proceed.Oct 7 2018, 11:46 AM
30 ↗(On Diff #48874)

^ no need for +=

Can you prepare a commit message? [also remember there is a PR for this]

editors/texworks: Update to version 0.6.2

Texworks is available now as Qt5 only because the upcoming poppler update will not include a Qt4 version.

PR: 200302
Submitted by: (original version)
Reviewed by: mat (mentor)
Approved by: tcberner (mentor), hrs (maintainer, timeout)
Differential Revision:

Macro makeitso:

[with the += -> = change ^^]

Removing '+' from CMAKE_ARG.


This revision was not accepted when it landed; it landed in state Needs Review.Oct 14 2018, 6:28 PM
This revision was automatically updated to reflect the committed changes.

Wrong place in the Makefile. They should go before options. See Chapter 15. Order of Variables in Port Makefiles.