Annotation of ports/textproc/goldendict/patches/patch-goldendict_pro, Revision 1.2
1.1 yason 1: $OpenBSD$
1.2 ! yason 2: --- goldendict.pro.orig Sat Dec 4 00:12:46 2010
! 3: +++ goldendict.pro Mon Apr 4 00:13:38 2011
! 4: @@ -58,12 +58,12 @@ unix {
! 5: ogg \
! 6: hunspell
! 7: LIBS += -lX11 \
! 8: - -lXtst
! 9: + -lXtst -lexecinfo
1.1 yason 10: PREFIX = $$(PREFIX)
11: isEmpty( PREFIX ):PREFIX = /usr/local
12: - DEFINES += PROGRAM_DATA_DIR=\\\"$$PREFIX/share/apps/goldendict/\\\"
13: + DEFINES += PROGRAM_DATA_DIR=\\\"$$PREFIX/share/goldendict/\\\"
14: target.path = $$PREFIX/bin/
15: - locale.path = $$PREFIX/share/apps/goldendict/locale/
1.2 ! yason 16: + locale.path = $$PREFIX/share/goldendict/locale/
1.1 yason 17: locale.files = locale/*.qm
18: INSTALLS += target \
19: locale
1.2 ! yason 20: @@ -72,13 +72,13 @@ unix {
1.1 yason 21: INSTALLS += icons
1.2 ! yason 22: icons2.path = $$PREFIX/share/app-install/icons
! 23: icons2.files = redist/icons/*.*
1.1 yason 24: - INSTALLS += icons2
1.2 ! yason 25: + #INSTALLS += icons2
! 26: desktops.path = $$PREFIX/share/applications
! 27: desktops.files = redist/*.desktop
1.1 yason 28: INSTALLS += desktops
1.2 ! yason 29: desktops2.path = $$PREFIX/share/app-install/desktop
! 30: desktops2.files = redist/*.desktop
1.1 yason 31: - INSTALLS += desktops2
1.2 ! yason 32: + #INSTALLS += desktops2
1.1 yason 33: }
34: DEFINES += PROGRAM_VERSION=\\\"$$VERSION\\\"
35:
1.2 ! yason 36: @@ -267,9 +267,9 @@ TRANSLATIONS += locale/ru_RU.ts \
! 37: }
! 38:
! 39: # This makes qmake generate translations
! 40: -win32:# Windows doesn't seem to have *-qt4 symlinks
! 41: -isEmpty(QMAKE_LRELEASE):QMAKE_LRELEASE = $$[QT_INSTALL_BINS]/lrelease
! 42: -isEmpty(QMAKE_LRELEASE):QMAKE_LRELEASE = $$[QT_INSTALL_BINS]/lrelease-qt4
! 43: +# XXX
! 44: +isEmpty(QMAKE_LRELEASE):QMAKE_LRELEASE = /usr/local/bin/lrelease4
! 45: +# XXX
! 46: updateqm.input = TRANSLATIONS
! 47: updateqm.output = ${QMAKE_FILE_PATH}/${QMAKE_FILE_BASE}.qm
! 48: updateqm.commands = $$QMAKE_LRELEASE \
CVSweb