Document how to build PosteRazor
I'd like to try out the Qt-based version of PosteRazor. Unfortunately, I don't have any experience with qmake and Qt libraries, so I'd be grateful for some documentation on how to build it (maybe an INSTALL file?), ideally listing depdendencies and commands to be executed (under Debian/Ubuntu, in my case).
Figured it out:
sudo apt-get install qtbase5-dev
/usr/lib/x86_64-linux-gnu/qt5/bin/qmake -r src/posterazor.pro
make
./src/PosteRazor
BTW, what about a preview release? Releasing source code is quite easy nowadays with GitHub, it just amounts to creating a git tag, say, 1.9.6, e.g. from the Releases section, and you can add notes and binaries to the release. Given how long you seem to have been working on the Qt port and how stable it looks, why not release it to the world? If there are some bugs left, people will certainly help fix them.
Hallo Bernhard,
entschuldige bitte, dass ich jetzt erste antworte. Schoen, dass das mit dem Kompilieren (und dann noch mit Qt 5) doch geklappt hat :) Ein README dazu waere in der Tat angebracht, das sollte ich noch nachliefern.
Einen Binary preview fuer Windows und OSX hatte ich schon vor einiger Zeit gemacht: http://sourceforge.net/projects/posterazor/files/PosteRazor%202%20Preview/1.9.5/ Bei Linux war ich mir damals nicht so sicher, ob das mit den Dependencies gut auf verschiedenen Distributionen klappt.
Leider hat mir die Motivation gefehlt, PosteRazor 2 ueberhaupt zu promoten, weil es im Grunde die gleiche Funktionalitaet wie PosteRazor 1 hat, aber einen extra Qt-ballast mit sich bringt. Aber Nachfragen wie Deine motivieren natuerlich :) Also, wenn ich mal wieder Zeit und Zugriff auf einen Mac habe, werde ich einen 1.9.6er release machen.
Viele Gruesse, Alessandro
On Mon, Jun 23, 2014 at 4:15 PM, Bernhard Reiter [email protected] wrote:
Figured it out:
sudo apt-get install qtbase5-dev /usr/lib/x86_64-linux-gnu/qt5/bin/qmake -r src/posterazor.pro make ./src/PosteRazor
BTW, what about a preview release? Releasing source code is quite easy nowadays with GitHub, it just amounts to creating a git tag, say, 1.9.6, e.g. from the Releases section, and you can add notes and binaries to the release. Given how long you seem to have been working on the Qt port and how stable it looks, why not release it to the world? If there are some bugs left, people will certainly help fix them.
— Reply to this email directly or view it on GitHub https://github.com/aportale/posterazor/issues/3#issuecomment-46850226.
Super, freue mich auf 1.9.6!
Das 1.9.5er-Preview auf Sourceforge hatte ich gesehen, aber nicht ausprobiert, da es schon ca. 6 Jahre alt ist. Die Dependencies -- also hauptsächlich Qt5, oder? -- sollten mittlerweile eigentlich in so gut wie allen relevanten Linux-Distributionen vorhanden sein, denke ich.
Persönlich finde ich Qt doch erheblich ansprechender als FLTK, daher würde ich es nicht als Ballast sehen; außerdem kannst du noch dazu FreeImage als Dependency loswerden, da du ja Qts QImage bzw. QImageReader zum Laden der Bild-Dateien verwendest, oder?
i just compiled v1.9.7 in macos 10.15.4 and i hope this howto is helpful to someone:
-
xcode installed
-
macports installed (needs xcode)
-
in terminal: sudo port install qt5-qtbase
-
in terminal: sudo port install poppler-qt5
-
downloaded zip, unzipped, opened terminal, changed directory to
/posterazor-master -
find installed qmake from qt5 with: find /opt/ -name qmake my result: /opt/local/libexec/qt5/bin/qmake
-
find mac sdk with: xcrun -sdk macosx --show-sdk-path my result: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk
-
editet src/posterazor.pro:
macx:CONFIG +=
x86
macx:QMAKE_MAC_SDK = \ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk
macx:QMAKE_MACOSX_DEPLOYMENT_TARGET =
10.7
-
updated version numbers to 1.9.7 in posterazor.rc and Info.plist:
-
compilation with: /opt/local/libexec/qt5/bin/qmake -r src/posterazor.pro make
-
start application from terminal open -a PosteRazor ./src/PosteRazor.app
There're dowstream packagers to check details to build on linux:
https://github.com/archlinux/svntogit-community/blob/packages/posterazor/trunk/PKGBUILD https://copr-dist-git.fedorainfracloud.org/cgit/stethewwolf/posterazor/posterazor.git/tree/
from RPMBUILD or spec file you can understand how to build the package
#9 will help to build versions easily