TeXworks-pro-install.patch 1.1 KB

1234567891011121314151617181920212223242526272829303132
  1. --- texworks-0.2.3/TeXworks.pro 2009-10-09 02:03:52.000000000 +0800
  2. +++ texworks-0.2.3.new/TeXworks.pro 2010-04-24 10:36:17.876647486 +0800
  3. @@ -75,6 +75,8 @@
  4. # Qt/dbus config on Debian is broken, hence the lines below
  5. LIBS += -lQtDBus
  6. INCLUDEPATH += /usr/include/qt4/QtDBus
  7. + # need for change of DSO linking on Fedora
  8. + LIBS += -lz
  9. }
  10. openbsd-g++ {
  11. @@ -172,3 +174,20 @@
  12. trans/TeXworks_tr.ts \
  13. trans/TeXworks_zh_CN.ts
  14. +unix:!macx { # installation on Unix-ish platforms
  15. + isEmpty(INSTALL_PREFIX):INSTALL_PREFIX = /usr/local
  16. + isEmpty(BIN_DIR):BIN_DIR = $$INSTALL_PREFIX/bin
  17. + isEmpty(DATA_DIR):DATA_DIR = $$INSTALL_PREFIX/share
  18. + isEmpty(TRANSLATIONS_DIR):TRANSLATIONS_DIR = $$DATA_DIR/texworks/translations
  19. + isEmpty(DOCS_DIR):DOCS_DIR = $$DATA_DIR/doc/texworks
  20. + isEmpty(ICON_DIR):ICON_DIR = $$DATA_DIR/pixmaps
  21. +
  22. + target.path = $$BIN_DIR
  23. + documentation.files = COPYING README
  24. + documentation.path = $$DOCS_DIR
  25. + translation.files = trans/TeXworks_*.qm
  26. + translation.path = $$TRANSLATIONS_DIR
  27. + icon.files = res/images/TeXworks.png
  28. + icon.path = $$ICON_DIR
  29. + INSTALLS = target documentation translation icon
  30. +}