some existing COMPILER lines with arch restrictions etc. In the usual
case this is now using "COMPILER = base-clang ports-gcc base-gcc" on
ports with c++ libraries in WANTLIB.
This is basically intended to be a noop on architectures using clang
as the system compiler, but help with other architectures where we
currently have many ports knocked out due to building with an unsuitable
compiler -
- some ports require c++11/newer so the GCC version in base that is used
on these archirtectures is too old.
- some ports have conflicts where an executable is built with one compiler
(e.g. gcc from base) but a library dependency is built with a different
one (e.g. gcc from ports), resulted in mixing incompatible libraries in the
same address space.
devel/gmp is intentionally skipped as it's on the path to building gcc -
the c++ library there is unused in ports (and not built by default upstream)
so intending to disable building gmpcxx in a future commit.
No bump needed since either the package doesn't change or it didn't
build before. Note that aarch64 is still broken (undefined references
to pthread_foo at link time). ok pirofti@ (maintainer)
K2pdfopt optimizes PDF/DJVU files for mobile e-readers (e.g. the Kindle)
and smartphones. It works well on multi-column PDF/DJVU files and can
re-flow text even on scanned PDF files. It can also be used as a general
PDF copying/cropping/re-sizing/OCR-ing manipulation tool. It can generate
native or bitmapped PDF output, with an optional OCR layer.
Typical use
k2pdfopt -dev kv -mode 2col input.pdf
Supported devices (define your own by measuring your screen size)
1. Kindle 1-5 (k2)
2. Kindle DX (dx)
3. Kindle Paperwhite (kpw)
4. Kindle Paperwhite 2 (kp2)
5. Kindle Paperwhite 3 (kp3)
6. Pocketbook Basic 2 (pb2)
7. Kindle Voyage (kv)
8. Nook Simple Touch (nookst)
9. Kobo Touch (kbt)
10. Kobo Glo (kbg)
11. Kobo Glo HD (kghd)
12. Kobo Glo HD Full Screen (kghdfs)
13. Kobo Mini (kbm)
14. Kobo Aura (kba)
15. Kobo Aura HD (kbhd)
16. Kobo H2O (kbh2o)
17. Kobo H2O Full Screen (kbh2ofs)
18. Kobo Aura One (kao)
19. Nexus 7 (nex7)
20. Other (specify width, height, etc.)
With feedback from sthen@, OK edd@