datovka/datovka-fix-pro.patch
Tomáš Chvátal 0f884322d7 Accepting request 511385 from home:jirislaby:branches:network
- Version update to 4.9.0:
  * Added API and support for sending messages into records management
    services.
  * Removed explicit clear buttons from filter fields.
  * Fixed problems with remembering location of saved attachment files.
  * Directory structure can be created when exporting correspondence overview.
  * Line height of account list and message table has been adjusted to be the
    same.
  * Fixed confusion between the terms of delivery (dodani) and acceptance
    (doruceni) in Czech localisation.
  * Process of exporting multiple selected messages can be aborted by clicking
    Cancel button.
  * Tags can be stored into HTML correspondence overview.
  * HTML correspondence overview now contains both delivery and acceptance
    times.
  * Fixed problems with sending messages from accounts that cannot search for
    data boxes.
  * Fixed tag ordering. Tag sorting is now locale-aware. 
- disable -Wdate-time -- unrecognized e.g. with gcc 4.8

OBS-URL: https://build.opensuse.org/request/show/511385
OBS-URL: https://build.opensuse.org/package/show/network/datovka?expand=0&rev=21
2017-07-19 11:45:50 +00:00

68 lines
1.3 KiB
Diff

Index: datovka.pro
===================================================================
--- datovka.pro.orig
+++ datovka.pro
@@ -61,7 +61,6 @@ isEqual(QT_MAJOR_VERSION, $${REQUIRED_MA
#LIBISDS_PREFIX = "$$HOME/third_party/built"
DEFINES += \
- DEBUG=1 \
VERSION=\\\"$${VERSION}\\\"
unix:!macx {
@@ -110,12 +109,6 @@ unix:!macx {
localisation.files += locale/datovka_cs.qm \
locale/datovka_en.qm
- additional.path = "$${TEXT_FILES_INST_DIR}"
- additional.files = \
- AUTHORS \
- COPYING \
- README
-
DEFINES += DATADIR=\\\"$$DATADIR\\\" \
PKGDATADIR=\\\"$$PKGDATADIR\\\" \
LOCALE_INST_DIR="\"\\\"$${LOCALE_INST_DIR}\\\"\"" \
@@ -133,17 +126,20 @@ unix:!macx {
icon64 \
icon128 \
icon256 \
- localisation \
- additional
+ localisation
}
}
QMAKE_CXXFLAGS = \
- -g -O0 -std=c++11 \
+ -g -std=c++11 $$(CXXFLAGS) \
-Wall -Wextra -pedantic \
- -Wdate-time -Wformat -Werror=format-security \
+ -Wformat -Werror=format-security \
-Isrc/views
+QMAKE_CFLAGS += \
+ -g $$(CFLAGS) \
+ -Wall -Wextra -pedantic
+
INCLUDEPATH += \
src
@@ -211,15 +207,8 @@ macx {
locale/datovka_en.qm
localisation.files += locale/qtbase_cs.qm
- additional.path = "Contents/Resources"
- additional.files = \
- AUTHORS \
- COPYING \
- ChangeLog
-
QMAKE_BUNDLE_DATA +=\
- localisation \
- additional
+ localisation
}
win32 {