summaryrefslogtreecommitdiffstats
path: root/redhat/dependencies
diff options
context:
space:
mode:
authorFrançois Andriot <albator78@libertysurf.fr>2019-11-03 11:03:22 +0100
committerFrançois Andriot <albator78@libertysurf.fr>2019-11-03 11:16:56 +0100
commitcd8eb9fd74fafb2435bc1f878cbb2bc91f52d859 (patch)
tree51c7e8b06b5c920736585ff8dbead62834875859 /redhat/dependencies
parent411aad4790a5b19fe3f927c4dffd18116fe4db16 (diff)
downloadtde-packaging-cd8eb9fd74fafb2435bc1f878cbb2bc91f52d859.tar.gz
tde-packaging-cd8eb9fd74fafb2435bc1f878cbb2bc91f52d859.zip
RPM: update spec files for TDE 14.0.7
Diffstat (limited to 'redhat/dependencies')
-rw-r--r--redhat/dependencies/akode/akode.spec (renamed from redhat/dependencies/akode/akode-14.0.0.spec)2
-rw-r--r--redhat/dependencies/arts/arts.spec (renamed from redhat/dependencies/arts/arts-14.0.0.spec)2
-rw-r--r--redhat/dependencies/avahi-tqt/avahi-tqt.spec (renamed from redhat/dependencies/avahi-tqt/avahi-tqt-14.0.0.spec)2
-rw-r--r--redhat/dependencies/dbus-1-tqt/dbus-1-tqt.spec (renamed from redhat/dependencies/dbus-1-tqt/dbus-1-tqt-14.0.0.spec)2
-rw-r--r--redhat/dependencies/dbus-tqt/dbus-tqt.spec (renamed from redhat/dependencies/dbus-tqt/dbus-tqt-14.0.0.spec)2
-rw-r--r--redhat/dependencies/libart-lgpl/libart-lgpl.spec (renamed from redhat/dependencies/libart-lgpl/libart-lgpl-14.0.0.spec)48
-rw-r--r--redhat/dependencies/libcaldav/libcaldav-14.0.1-rhel5.patch193
-rw-r--r--redhat/dependencies/libcaldav/libcaldav.spec (renamed from redhat/dependencies/libcaldav/libcaldav-14.0.0.spec)61
-rw-r--r--redhat/dependencies/libcarddav/libcarddav-14.0.1-rhel5.patch164
-rw-r--r--redhat/dependencies/libcarddav/libcarddav.spec (renamed from redhat/dependencies/libcarddav/libcarddav-14.0.0.spec)58
-rw-r--r--redhat/dependencies/python-tqt/python-tqt.spec (renamed from redhat/dependencies/python-tqt/python-tqt-14.0.0.spec)17
-rw-r--r--redhat/dependencies/sip4-tqt/sip4-tqt.spec (renamed from redhat/dependencies/sip4-tqt/sip4-tqt-14.0.0.spec)23
-rw-r--r--redhat/dependencies/tqca-tls/tqca-tls.spec (renamed from redhat/dependencies/tqca-tls/tqca-tls-14.0.0.spec)4
-rw-r--r--redhat/dependencies/tqca/tqca.spec (renamed from redhat/dependencies/tqca/tqca-14.0.0.spec)4
-rw-r--r--redhat/dependencies/tqscintilla/tqscintilla.spec (renamed from redhat/dependencies/tqscintilla/tqscintilla-14.0.0.spec)2
-rw-r--r--redhat/dependencies/tqt3/tqassistant.desktop13
-rw-r--r--redhat/dependencies/tqt3/tqdesigner.desktop78
-rw-r--r--redhat/dependencies/tqt3/tqlinguist.desktop26
-rw-r--r--redhat/dependencies/tqt3/tqt3.spec (renamed from redhat/dependencies/tqt3/tqt3-14.0.0.spec)50
-rw-r--r--redhat/dependencies/tqt3/tqtconfig.desktop13
-rw-r--r--redhat/dependencies/tqtinterface/tqtinterface.spec (renamed from redhat/dependencies/tqtinterface/tqtinterface-14.0.0.spec)7
21 files changed, 152 insertions, 619 deletions
diff --git a/redhat/dependencies/akode/akode-14.0.0.spec b/redhat/dependencies/akode/akode.spec
index f4b24e33a..9bf70642b 100644
--- a/redhat/dependencies/akode/akode-14.0.0.spec
+++ b/redhat/dependencies/akode/akode.spec
@@ -22,7 +22,7 @@
# TDE variables
%define tde_epoch 2
%if "%{?tde_version}" == ""
-%define tde_version 14.0.0
+%define tde_version 14.0.7
%endif
%define tde_prefix /opt/trinity
%define tde_bindir %{tde_prefix}/bin
diff --git a/redhat/dependencies/arts/arts-14.0.0.spec b/redhat/dependencies/arts/arts.spec
index 765d14efa..15cfc1623 100644
--- a/redhat/dependencies/arts/arts-14.0.0.spec
+++ b/redhat/dependencies/arts/arts.spec
@@ -22,7 +22,7 @@
# TDE variables
%define tde_epoch 2
%if "%{?tde_version}" == ""
-%define tde_version 14.0.0
+%define tde_version 14.0.7
%endif
%define tde_pkg arts
%define tde_prefix /opt/trinity
diff --git a/redhat/dependencies/avahi-tqt/avahi-tqt-14.0.0.spec b/redhat/dependencies/avahi-tqt/avahi-tqt.spec
index 1989ceb7b..9c42233ee 100644
--- a/redhat/dependencies/avahi-tqt/avahi-tqt-14.0.0.spec
+++ b/redhat/dependencies/avahi-tqt/avahi-tqt.spec
@@ -18,7 +18,7 @@
# TDE variables
%define tde_epoch 2
%if "%{?tde_version}" == ""
-%define tde_version 14.0.0
+%define tde_version 14.0.7
%endif
%if 0%{?mdkversion} || 0%{?mgaversion} || 0%{?pclinuxos}
diff --git a/redhat/dependencies/dbus-1-tqt/dbus-1-tqt-14.0.0.spec b/redhat/dependencies/dbus-1-tqt/dbus-1-tqt.spec
index 7f8d9f3cb..55364763f 100644
--- a/redhat/dependencies/dbus-1-tqt/dbus-1-tqt-14.0.0.spec
+++ b/redhat/dependencies/dbus-1-tqt/dbus-1-tqt.spec
@@ -18,7 +18,7 @@
# TDE variables
%define tde_epoch 2
%if "%{?tde_version}" == ""
-%define tde_version 14.0.0
+%define tde_version 14.0.7
%endif
%if 0%{?mdkversion} || 0%{?mgaversion} || 0%{?pclinuxos}
diff --git a/redhat/dependencies/dbus-tqt/dbus-tqt-14.0.0.spec b/redhat/dependencies/dbus-tqt/dbus-tqt.spec
index 75ec11785..9d6268842 100644
--- a/redhat/dependencies/dbus-tqt/dbus-tqt-14.0.0.spec
+++ b/redhat/dependencies/dbus-tqt/dbus-tqt.spec
@@ -18,7 +18,7 @@
# TDE variables
%define tde_epoch 2
%if "%{?tde_version}" == ""
-%define tde_version 14.0.0
+%define tde_version 14.0.7
%endif
%if 0%{?mdkversion} || 0%{?mgaversion} || 0%{?pclinuxos}
diff --git a/redhat/dependencies/libart-lgpl/libart-lgpl-14.0.0.spec b/redhat/dependencies/libart-lgpl/libart-lgpl.spec
index cd8a9ebc2..64d352a5a 100644
--- a/redhat/dependencies/libart-lgpl/libart-lgpl-14.0.0.spec
+++ b/redhat/dependencies/libart-lgpl/libart-lgpl.spec
@@ -19,7 +19,7 @@
# TDE variables
%define tde_epoch 2
%if "%{?tde_version}" == ""
-%define tde_version 14.0.0
+%define tde_version 14.0.7
%endif
%if 0%{?mdkversion} || 0%{?mgaversion} || 0%{?pclinuxos}
@@ -51,6 +51,7 @@ BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
Source0: %{name}-%{tde_version}%{?preversion:~%{preversion}}.tar.gz
+BuildRequires: cmake >= 2.8
BuildRequires: gcc-c++
BuildRequires: pkgconfig
BuildRequires: libtool
@@ -165,6 +166,7 @@ especially suitable for embedded applications.
%{_includedir}/libart-2.0/libart_lgpl/libart-features.h
%{_includedir}/libart-2.0/libart_lgpl/libart.h
%{_libdir}/pkgconfig/libart-2.0.pc
+%{_mandir}/man1/libart2-config.*
##########
@@ -177,30 +179,42 @@ especially suitable for embedded applications.
%prep
%setup -q -n %{name}-%{tde_version}%{?preversion:~%{preversion}}
-%__cp -f "/usr/share/aclocal/libtool.m4" "libtool.m4.in"
-%__cp -f "/usr/share/libtool/"*"/ltmain.sh" "ltmain.sh" || %__cp -f "/usr/share/libtool/ltmain.sh" "ltmain.sh"
-autoreconf -fiv
-
%build
unset QTDIR QTINC QTLIB
-
-%configure \
- --prefix=%{_prefix} \
- --exec-prefix=%{_prefix} \
- --bindir=%{_bindir} \
- --libdir=%{_libdir} \
- --datadir=%{_datadir} \
- --includedir=%{_includedir} \
+export PATH="%{tde_bindir}:${PATH}"
+
+if ! rpm -E %%cmake|grep -q "cd build"; then
+ %__mkdir_p build
+ cd build
+fi
+
+%cmake \
+ -DCMAKE_BUILD_TYPE="RelWithDebInfo" \
+ -DCMAKE_C_FLAGS="${RPM_OPT_FLAGS} -DNDEBUG" \
+ -DCMAKE_CXX_FLAGS="${RPM_OPT_FLAGS} -DNDEBUG" \
+ -DCMAKE_SKIP_RPATH=OFF \
+ -DCMAKE_VERBOSE_MAKEFILE=ON \
+ -DWITH_GCC_VISIBILITY=OFF \
+ \
+ -DCMAKE_INSTALL_PREFIX="%{_prefix}" \
+ -DSHARE_INSTALL_PREFIX="%{_datadir}" \
\
- --disable-dependency-tracking
-
-%__make %{?_smp_mflags}
+ -DWITH_ALL_OPTIONS=ON \
+ -DWITH_GCC_VISIBILITY=ON \
+ \
+ -DBUILD_ALL=ON \
+ -DBUILD_DOC=ON \
+ -DBUILD_TRANSLATIONS=ON \
+ \
+ ..
+
+%__make %{?_smp_mflags} || %__make
%install
%__rm -rf $RPM_BUILD_ROOT
-%__make install DESTDIR=$RPM_BUILD_ROOT
+%__make install DESTDIR=$RPM_BUILD_ROOT -C build
%clean
diff --git a/redhat/dependencies/libcaldav/libcaldav-14.0.1-rhel5.patch b/redhat/dependencies/libcaldav/libcaldav-14.0.1-rhel5.patch
deleted file mode 100644
index 0cf9f056b..000000000
--- a/redhat/dependencies/libcaldav/libcaldav-14.0.1-rhel5.patch
+++ /dev/null
@@ -1,193 +0,0 @@
-diff --git a/src/add-caldav-object.c b/src/add-caldav-object.c
-index 68a4377..35aef48 100644
---- a/src/add-caldav-object.c
-+++ b/src/add-caldav-object.c
-@@ -103,7 +103,6 @@ gboolean caldav_add(caldav_settings* settings, caldav_error* error) {
- curl_easy_setopt(curl, CURLOPT_CUSTOMREQUEST, "PUT");
- curl_easy_setopt(curl, CURLOPT_FOLLOWLOCATION, 1);
- curl_easy_setopt(curl, CURLOPT_UNRESTRICTED_AUTH, 1);
-- curl_easy_setopt(curl, CURLOPT_POSTREDIR, CURL_REDIR_POST_ALL);
- res = curl_easy_perform(curl);
- if (res != 0) {
- error->code = -1;
-diff --git a/src/delete-caldav-object.c b/src/delete-caldav-object.c
-index 9a85168..ea5733f 100644
---- a/src/delete-caldav-object.c
-+++ b/src/delete-caldav-object.c
-@@ -150,7 +150,6 @@ gboolean caldav_delete(caldav_settings* settings, caldav_error* error) {
- curl_easy_setopt(curl, CURLOPT_CUSTOMREQUEST, "REPORT");
- curl_easy_setopt(curl, CURLOPT_FOLLOWLOCATION, 1);
- curl_easy_setopt(curl, CURLOPT_UNRESTRICTED_AUTH, 1);
-- curl_easy_setopt(curl, CURLOPT_POSTREDIR, CURL_REDIR_POST_ALL);
- res = curl_easy_perform(curl);
- g_free(search);
- curl_slist_free_all(http_header);
-@@ -249,7 +248,6 @@ gboolean caldav_delete(caldav_settings* settings, caldav_error* error) {
- curl_easy_setopt(curl, CURLOPT_CUSTOMREQUEST, "DELETE");
- curl_easy_setopt(curl, CURLOPT_FOLLOWLOCATION, 1);
- curl_easy_setopt(curl, CURLOPT_UNRESTRICTED_AUTH, 1);
-- curl_easy_setopt(curl, CURLOPT_POSTREDIR, CURL_REDIR_POST_ALL);
- res = curl_easy_perform(curl);
- if (LOCKSUPPORT && lock_token) {
- caldav_unlock_object(
-@@ -380,7 +378,6 @@ gboolean caldav_tasks_delete(caldav_settings* settings, caldav_error* error) {
- curl_easy_setopt(curl, CURLOPT_CUSTOMREQUEST, "REPORT");
- curl_easy_setopt(curl, CURLOPT_FOLLOWLOCATION, 1);
- curl_easy_setopt(curl, CURLOPT_UNRESTRICTED_AUTH, 1);
-- curl_easy_setopt(curl, CURLOPT_POSTREDIR, CURL_REDIR_POST_ALL);
- res = curl_easy_perform(curl);
- g_free(search);
- curl_slist_free_all(http_header);
-@@ -479,7 +476,6 @@ gboolean caldav_tasks_delete(caldav_settings* settings, caldav_error* error) {
- curl_easy_setopt(curl, CURLOPT_CUSTOMREQUEST, "DELETE");
- curl_easy_setopt(curl, CURLOPT_FOLLOWLOCATION, 1);
- curl_easy_setopt(curl, CURLOPT_UNRESTRICTED_AUTH, 1);
-- curl_easy_setopt(curl, CURLOPT_POSTREDIR, CURL_REDIR_POST_ALL);
- res = curl_easy_perform(curl);
- if (LOCKSUPPORT && lock_token) {
- caldav_unlock_object(
-diff --git a/src/get-caldav-report.c b/src/get-caldav-report.c
-index d916259..0021cb8 100644
---- a/src/get-caldav-report.c
-+++ b/src/get-caldav-report.c
-@@ -169,7 +169,6 @@ gboolean caldav_getall(caldav_settings* settings, caldav_error* error) {
- curl_easy_setopt(curl, CURLOPT_CUSTOMREQUEST, "REPORT");
- curl_easy_setopt(curl, CURLOPT_FOLLOWLOCATION, 1);
- curl_easy_setopt(curl, CURLOPT_UNRESTRICTED_AUTH, 1);
-- curl_easy_setopt(curl, CURLOPT_POSTREDIR, CURL_REDIR_POST_ALL);
- res = curl_easy_perform(curl);
- if (res != 0) {
- error->code = -1;
-@@ -266,7 +265,6 @@ gboolean caldav_getrange(caldav_settings* settings, caldav_error* error) {
- curl_easy_setopt(curl, CURLOPT_CUSTOMREQUEST, "REPORT");
- curl_easy_setopt(curl, CURLOPT_FOLLOWLOCATION, 1);
- curl_easy_setopt(curl, CURLOPT_UNRESTRICTED_AUTH, 1);
-- curl_easy_setopt(curl, CURLOPT_POSTREDIR, CURL_REDIR_POST_ALL);
- res = curl_easy_perform(curl);
- if (res != 0) {
- error->code = -1;
-@@ -349,7 +347,6 @@ gboolean caldav_tasks_getall(caldav_settings* settings, caldav_error* error) {
- curl_easy_setopt(curl, CURLOPT_CUSTOMREQUEST, "REPORT");
- curl_easy_setopt(curl, CURLOPT_FOLLOWLOCATION, 1);
- curl_easy_setopt(curl, CURLOPT_UNRESTRICTED_AUTH, 1);
-- curl_easy_setopt(curl, CURLOPT_POSTREDIR, CURL_REDIR_POST_ALL);
- res = curl_easy_perform(curl);
- if (res != 0) {
- error->code = -1;
-@@ -446,7 +443,6 @@ gboolean caldav_tasks_getrange(caldav_settings* settings, caldav_error* error) {
- curl_easy_setopt(curl, CURLOPT_CUSTOMREQUEST, "REPORT");
- curl_easy_setopt(curl, CURLOPT_FOLLOWLOCATION, 1);
- curl_easy_setopt(curl, CURLOPT_UNRESTRICTED_AUTH, 1);
-- curl_easy_setopt(curl, CURLOPT_POSTREDIR, CURL_REDIR_POST_ALL);
- res = curl_easy_perform(curl);
- if (res != 0) {
- error->code = -1;
-diff --git a/src/get-display-name.c b/src/get-display-name.c
-index 8fc0ff8..c205efd 100644
---- a/src/get-display-name.c
-+++ b/src/get-display-name.c
-@@ -99,7 +99,6 @@ gboolean caldav_getname(caldav_settings* settings, caldav_error* error) {
- curl_easy_setopt(curl, CURLOPT_CUSTOMREQUEST, "PROPFIND");
- curl_easy_setopt(curl, CURLOPT_FOLLOWLOCATION, 1);
- curl_easy_setopt(curl, CURLOPT_UNRESTRICTED_AUTH, 1);
-- curl_easy_setopt(curl, CURLOPT_POSTREDIR, CURL_REDIR_POST_ALL);
- res = curl_easy_perform(curl);
- if (res != 0) {
- error->code = -1;
-diff --git a/src/get-freebusy-report.c b/src/get-freebusy-report.c
-index f75ab92..40a5a3c 100644
---- a/src/get-freebusy-report.c
-+++ b/src/get-freebusy-report.c
-@@ -104,7 +104,6 @@ gboolean caldav_freebusy(caldav_settings* settings, caldav_error* error) {
- curl_easy_setopt(curl, CURLOPT_CUSTOMREQUEST, "REPORT");
- curl_easy_setopt(curl, CURLOPT_FOLLOWLOCATION, 1);
- curl_easy_setopt(curl, CURLOPT_UNRESTRICTED_AUTH, 1);
-- curl_easy_setopt(curl, CURLOPT_POSTREDIR, CURL_REDIR_POST_ALL);
- res = curl_easy_perform(curl);
- if (res != 0) {
- error->code = -1;
-diff --git a/src/lock-caldav-object.c b/src/lock-caldav-object.c
-index 30f2d20..6845551 100644
---- a/src/lock-caldav-object.c
-+++ b/src/lock-caldav-object.c
-@@ -107,7 +107,6 @@ gchar* caldav_lock_object(
- curl_easy_setopt(curl, CURLOPT_CUSTOMREQUEST, "LOCK");
- curl_easy_setopt(curl, CURLOPT_FOLLOWLOCATION, 1);
- curl_easy_setopt(curl, CURLOPT_UNRESTRICTED_AUTH, 1);
-- curl_easy_setopt(curl, CURLOPT_POSTREDIR, CURL_REDIR_POST_ALL);
- res = curl_easy_perform(curl);
- curl_slist_free_all(http_header);
- if (res != 0) {
-@@ -211,7 +210,6 @@ gboolean caldav_unlock_object(gchar* lock_token, gchar* URI,
- curl_easy_setopt(curl, CURLOPT_CUSTOMREQUEST, "UNLOCK");
- curl_easy_setopt(curl, CURLOPT_FOLLOWLOCATION, 1);
- curl_easy_setopt(curl, CURLOPT_UNRESTRICTED_AUTH, 1);
-- curl_easy_setopt(curl, CURLOPT_POSTREDIR, CURL_REDIR_POST_ALL);
- res = curl_easy_perform(curl);
- curl_slist_free_all(http_header);
- if (res != 0) {
-diff --git a/src/modify-caldav-object.c b/src/modify-caldav-object.c
-index fb3a4d0..f3563d8 100644
---- a/src/modify-caldav-object.c
-+++ b/src/modify-caldav-object.c
-@@ -151,7 +151,6 @@ gboolean caldav_modify(caldav_settings* settings, caldav_error* error) {
- curl_easy_setopt(curl, CURLOPT_CUSTOMREQUEST, "REPORT");
- curl_easy_setopt(curl, CURLOPT_FOLLOWLOCATION, 1);
- curl_easy_setopt(curl, CURLOPT_UNRESTRICTED_AUTH, 1);
-- curl_easy_setopt(curl, CURLOPT_POSTREDIR, CURL_REDIR_POST_ALL);
- res = curl_easy_perform(curl);
- curl_slist_free_all(http_header);
- http_header = NULL;
-@@ -249,7 +248,6 @@ gboolean caldav_modify(caldav_settings* settings, caldav_error* error) {
- strlen(settings->file));
- curl_easy_setopt(curl, CURLOPT_FOLLOWLOCATION, 1);
- curl_easy_setopt(curl, CURLOPT_UNRESTRICTED_AUTH, 1);
-- curl_easy_setopt(curl, CURLOPT_POSTREDIR, CURL_REDIR_POST_ALL);
- curl_easy_setopt(curl, CURLOPT_CUSTOMREQUEST, "PUT");
- res = curl_easy_perform(curl);
- if (LOCKSUPPORT && lock_token) {
-@@ -391,7 +389,6 @@ gboolean caldav_tasks_modify(caldav_settings* settings, caldav_error* error) {
- curl_easy_setopt(curl, CURLOPT_CUSTOMREQUEST, "REPORT");
- curl_easy_setopt(curl, CURLOPT_FOLLOWLOCATION, 1);
- curl_easy_setopt(curl, CURLOPT_UNRESTRICTED_AUTH, 1);
-- curl_easy_setopt(curl, CURLOPT_POSTREDIR, CURL_REDIR_POST_ALL);
- res = curl_easy_perform(curl);
- curl_slist_free_all(http_header);
- http_header = NULL;
-@@ -489,7 +486,6 @@ gboolean caldav_tasks_modify(caldav_settings* settings, caldav_error* error) {
- strlen(settings->file));
- curl_easy_setopt(curl, CURLOPT_FOLLOWLOCATION, 1);
- curl_easy_setopt(curl, CURLOPT_UNRESTRICTED_AUTH, 1);
-- curl_easy_setopt(curl, CURLOPT_POSTREDIR, CURL_REDIR_POST_ALL);
- curl_easy_setopt(curl, CURLOPT_CUSTOMREQUEST, "PUT");
- res = curl_easy_perform(curl);
- if (LOCKSUPPORT && lock_token) {
-diff --git a/src/options-caldav-server.c b/src/options-caldav-server.c
-index 1d97d04..0045afe 100644
---- a/src/options-caldav-server.c
-+++ b/src/options-caldav-server.c
-@@ -74,7 +74,6 @@ gboolean caldav_getoptions(CURL* curl, caldav_settings* settings, response* resu
- curl_easy_setopt(curl, CURLOPT_CUSTOMREQUEST, "OPTIONS");
- curl_easy_setopt(curl, CURLOPT_FOLLOWLOCATION, 1);
- curl_easy_setopt(curl, CURLOPT_UNRESTRICTED_AUTH, 1);
-- curl_easy_setopt(curl, CURLOPT_POSTREDIR, CURL_REDIR_POST_ALL);
- res = curl_easy_perform(curl);
- if (res == 0) {
- gchar* head;
-@@ -102,15 +101,12 @@ gboolean caldav_getoptions(CURL* curl, caldav_settings* settings, response* resu
- }
- else if (
- (res == CURLE_SSL_CONNECT_ERROR ||
-- CURLE_PEER_FAILED_VERIFICATION ||
- CURLE_SSL_ENGINE_NOTFOUND ||
- CURLE_SSL_ENGINE_SETFAILED ||
- CURLE_SSL_CERTPROBLEM ||
- CURLE_SSL_CIPHER ||
- CURLE_SSL_CACERT ||
-- CURLE_SSL_CACERT_BADFILE ||
-- CURLE_SSL_CRL_BADFILE ||
-- CURLE_SSL_ISSUER_ERROR) && settings->usehttps) {
-+ CURLE_SSL_CRL_BADFILE ) && settings->usehttps) {
- error->code = -2;
- error->str = g_strdup(error_buf);
- }
diff --git a/redhat/dependencies/libcaldav/libcaldav-14.0.0.spec b/redhat/dependencies/libcaldav/libcaldav.spec
index a4bf7ebb2..312221adf 100644
--- a/redhat/dependencies/libcaldav/libcaldav-14.0.0.spec
+++ b/redhat/dependencies/libcaldav/libcaldav.spec
@@ -18,7 +18,7 @@
# TDE variables
%define tde_epoch 2
%if "%{?tde_version}" == ""
-%define tde_version 14.0.0
+%define tde_version 14.0.7
%endif
%define tde_pkg libcaldav
%define tde_prefix /opt/trinity
@@ -54,8 +54,7 @@ BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
Source0: %{name}-%{tde_version}%{?preversion:~%{preversion}}.tar.gz
-Patch1: libcaldav-14.0.1-rhel5.patch
-
+BuildRequires: cmake >= 2.8
BuildRequires: make
BuildRequires: libtool
BuildRequires: fdupes
@@ -100,7 +99,7 @@ easy to integrate CalDAV support into any PIM application.
%defattr(-,root,root,-)
%{_libdir}/libcaldav.so.0
%{_libdir}/libcaldav.so.0.0.6
-%{_docdir}/libcaldav-%{version}/
+%{_docdir}/libcaldav/
%post -n %{libcaldav}0
/sbin/ldconfig
@@ -151,45 +150,53 @@ This package includes the development files.
%prep
%setup -q -n %{name}-%{tde_version}%{?preversion:~%{preversion}}
-%if 0%{?rhel} == 5
-%patch1 -p1 -b .ftbfs
-%endif
-autoreconf -fiv
%build
-# CFLAGS required if CURL is installed on /opt/trinity, e.g. RHEL 5
-export CFLAGS="-I%{tde_includedir} -L%{tde_libdir} ${RPM_OPT_FLAGS}"
-export PKG_CONFIG_PATH="%{tde_libdir}/pkgconfig"
+unset QTDIR QTINC QTLIB
+export PATH="%{tde_bindir}:${PATH}"
-# RHEL4 stuff
-if [ -d /usr/evolution28 ]; then
- export PKG_CONFIG_PATH="/usr/evolution28/%{_lib}/pkgconfig:${PKG_CONFIG_PATH}"
+if ! rpm -E %%cmake|grep -q "cd build"; then
+ %__mkdir_p build
+ cd build
fi
-%configure \
- --docdir=%{_docdir}/libcaldav \
- --includedir=%{_includedir} \
- --libdir=%{_libdir} \
+%cmake \
+ -DCMAKE_BUILD_TYPE="RelWithDebInfo" \
+ -DCMAKE_C_FLAGS="${RPM_OPT_FLAGS} -DNDEBUG" \
+ -DCMAKE_CXX_FLAGS="${RPM_OPT_FLAGS} -DNDEBUG" \
+ -DCMAKE_SKIP_RPATH=OFF \
+ -DCMAKE_VERBOSE_MAKEFILE=ON \
+ -DWITH_GCC_VISIBILITY=OFF \
+ \
+ -DCMAKE_INSTALL_PREFIX="%{_prefix}" \
+ -DSHARE_INSTALL_PREFIX="%{_datadir}" \
+ \
+ -DWITH_ALL_OPTIONS=ON \
+ -DWITH_GCC_VISIBILITY=ON \
+ \
+ -DBUILD_ALL=ON \
+ -DBUILD_DOC=ON \
+ -DBUILD_TRANSLATIONS=ON \
\
- --disable-dependency-tracking
+ ..
-%__make %{?_smp_mflags}
+%__make %{?_smp_mflags} || %__make
%install
%__rm -rf %{buildroot}
-%__make install DESTDIR=%{buildroot}
-
-# Unwanted files
-%__rm -f %{buildroot}%{_libdir}/*.a
-
-# Fix doc dir
-mv -f %{?buildroot}%{_docdir}/libcaldav/ %{?buildroot}%{_docdir}/libcaldav-%{version}/
+%__make install DESTDIR=%{buildroot} -C build
# Fix duplicate files
%fdupes %{?buildroot}
+# Fix doc directory
+%if "%{_docdir}" != "%{_datadir}/doc"
+%__mkdir_p "%{?buildroot}/%{_docdir}"
+%__mv -f "%{?buildroot}/%{_datadir}/doc/libcaldav" "%{?buildroot}/%{_docdir}/libcaldav"
+%endif
+
%clean
%__rm -rf %{buildroot}
diff --git a/redhat/dependencies/libcarddav/libcarddav-14.0.1-rhel5.patch b/redhat/dependencies/libcarddav/libcarddav-14.0.1-rhel5.patch
deleted file mode 100644
index a6bf4e6e0..000000000
--- a/redhat/dependencies/libcarddav/libcarddav-14.0.1-rhel5.patch
+++ /dev/null
@@ -1,164 +0,0 @@
-diff --git a/src/add-carddav-object.c b/src/add-carddav-object.c
-index 5574991..a1586d8 100644
---- a/src/add-carddav-object.c
-+++ b/src/add-carddav-object.c
-@@ -104,7 +104,6 @@ gboolean carddav_add(carddav_settings* settings, carddav_error* error) {
- curl_easy_setopt(curl, CURLOPT_CUSTOMREQUEST, "PUT");
- curl_easy_setopt(curl, CURLOPT_FOLLOWLOCATION, 1);
- curl_easy_setopt(curl, CURLOPT_UNRESTRICTED_AUTH, 1);
-- curl_easy_setopt(curl, CURLOPT_POSTREDIR, CURL_REDIR_POST_ALL);
- res = curl_easy_perform(curl);
- if (res != 0) {
- error->code = -1;
-diff --git a/src/delete-carddav-object.c b/src/delete-carddav-object.c
-index 96b9033..6984a82 100644
---- a/src/delete-carddav-object.c
-+++ b/src/delete-carddav-object.c
-@@ -132,7 +132,6 @@ gboolean carddav_delete(carddav_settings* settings, carddav_error* error) {
- curl_easy_setopt(curl, CURLOPT_CUSTOMREQUEST, "REPORT");
- curl_easy_setopt(curl, CURLOPT_FOLLOWLOCATION, 1);
- curl_easy_setopt(curl, CURLOPT_UNRESTRICTED_AUTH, 1);
-- curl_easy_setopt(curl, CURLOPT_POSTREDIR, CURL_REDIR_POST_ALL);
- res = curl_easy_perform(curl);
- g_free(search);
- curl_slist_free_all(http_header);
-@@ -231,7 +230,6 @@ gboolean carddav_delete(carddav_settings* settings, carddav_error* error) {
- curl_easy_setopt(curl, CURLOPT_CUSTOMREQUEST, "DELETE");
- curl_easy_setopt(curl, CURLOPT_FOLLOWLOCATION, 1);
- curl_easy_setopt(curl, CURLOPT_UNRESTRICTED_AUTH, 1);
-- curl_easy_setopt(curl, CURLOPT_POSTREDIR, CURL_REDIR_POST_ALL);
- res = curl_easy_perform(curl);
- if (LOCKSUPPORT && lock_token) {
- carddav_unlock_object(
-@@ -417,7 +415,6 @@ gboolean carddav_delete_by_uri(carddav_settings* settings, carddav_error* error)
- curl_easy_setopt(curl, CURLOPT_CUSTOMREQUEST, "DELETE");
- curl_easy_setopt(curl, CURLOPT_FOLLOWLOCATION, 1);
- curl_easy_setopt(curl, CURLOPT_UNRESTRICTED_AUTH, 1);
-- curl_easy_setopt(curl, CURLOPT_POSTREDIR, CURL_REDIR_POST_ALL);
- res = curl_easy_perform(curl);
- if (LOCKSUPPORT && lock_token) {
- carddav_unlock_object(
-diff --git a/src/get-carddav-report.c b/src/get-carddav-report.c
-index b44fd2c..7655b29 100644
---- a/src/get-carddav-report.c
-+++ b/src/get-carddav-report.c
-@@ -117,7 +117,6 @@ static gchar* carddav_dirlist(carddav_settings* settings, carddav_error* error)
- curl_easy_setopt(curl, CURLOPT_CUSTOMREQUEST, "PROPFIND");
- curl_easy_setopt(curl, CURLOPT_FOLLOWLOCATION, 1);
- curl_easy_setopt(curl, CURLOPT_UNRESTRICTED_AUTH, 1);
-- curl_easy_setopt(curl, CURLOPT_POSTREDIR, CURL_REDIR_POST_ALL);
- res = curl_easy_perform(curl);
- if (res != 0) {
- error->code = -1;
-@@ -243,7 +242,6 @@ gboolean carddav_getall(carddav_settings* settings, carddav_error* error) {
- curl_easy_setopt(curl, CURLOPT_CUSTOMREQUEST, "REPORT");
- curl_easy_setopt(curl, CURLOPT_FOLLOWLOCATION, 1);
- curl_easy_setopt(curl, CURLOPT_UNRESTRICTED_AUTH, 1);
-- curl_easy_setopt(curl, CURLOPT_POSTREDIR, CURL_REDIR_POST_ALL);
- res = curl_easy_perform(curl);
- if (res != 0) {
- error->code = -1;
-@@ -345,7 +343,6 @@ gboolean carddav_getall_by_uri(carddav_settings* settings, carddav_error* error)
- curl_easy_setopt(curl, CURLOPT_CUSTOMREQUEST, "REPORT");
- curl_easy_setopt(curl, CURLOPT_FOLLOWLOCATION, 1);
- curl_easy_setopt(curl, CURLOPT_UNRESTRICTED_AUTH, 1);
-- curl_easy_setopt(curl, CURLOPT_POSTREDIR, CURL_REDIR_POST_ALL);
- res = curl_easy_perform(curl);
- if (res != 0) {
- error->code = -1;
-@@ -378,4 +375,4 @@ gboolean carddav_getall_by_uri(carddav_settings* settings, carddav_error* error)
- curl_easy_cleanup(curl);
- g_free(dav_file_listing);
- return result;
--}
-\ No newline at end of file
-+}
-diff --git a/src/get-display-name.c b/src/get-display-name.c
-index 9e782e0..16c3e4b 100644
---- a/src/get-display-name.c
-+++ b/src/get-display-name.c
-@@ -100,7 +100,6 @@ gboolean carddav_getname(carddav_settings* settings, carddav_error* error) {
- curl_easy_setopt(curl, CURLOPT_CUSTOMREQUEST, "PROPFIND");
- curl_easy_setopt(curl, CURLOPT_FOLLOWLOCATION, 1);
- curl_easy_setopt(curl, CURLOPT_UNRESTRICTED_AUTH, 1);
-- curl_easy_setopt(curl, CURLOPT_POSTREDIR, CURL_REDIR_POST_ALL);
- res = curl_easy_perform(curl);
- if (res != 0) {
- error->code = -1;
-diff --git a/src/lock-carddav-object.c b/src/lock-carddav-object.c
-index 163264c..2292cad 100644
---- a/src/lock-carddav-object.c
-+++ b/src/lock-carddav-object.c
-@@ -109,7 +109,6 @@ gchar* carddav_lock_object(
- curl_easy_setopt(curl, CURLOPT_CUSTOMREQUEST, "LOCK");
- curl_easy_setopt(curl, CURLOPT_FOLLOWLOCATION, 1);
- curl_easy_setopt(curl, CURLOPT_UNRESTRICTED_AUTH, 1);
-- curl_easy_setopt(curl, CURLOPT_POSTREDIR, CURL_REDIR_POST_ALL);
- res = curl_easy_perform(curl);
- curl_slist_free_all(http_header);
- if (res != 0) {
-@@ -214,7 +213,6 @@ gboolean carddav_unlock_object(gchar* lock_token, gchar* URI,
- curl_easy_setopt(curl, CURLOPT_CUSTOMREQUEST, "UNLOCK");
- curl_easy_setopt(curl, CURLOPT_FOLLOWLOCATION, 1);
- curl_easy_setopt(curl, CURLOPT_UNRESTRICTED_AUTH, 1);
-- curl_easy_setopt(curl, CURLOPT_POSTREDIR, CURL_REDIR_POST_ALL);
- res = curl_easy_perform(curl);
- curl_slist_free_all(http_header);
- if (res != 0) {
-diff --git a/src/modify-carddav-object.c b/src/modify-carddav-object.c
-index 1822068..a8b6de2 100644
---- a/src/modify-carddav-object.c
-+++ b/src/modify-carddav-object.c
-@@ -133,7 +133,6 @@ gboolean carddav_modify(carddav_settings* settings, carddav_error* error) {
- curl_easy_setopt(curl, CURLOPT_CUSTOMREQUEST, "REPORT");
- curl_easy_setopt(curl, CURLOPT_FOLLOWLOCATION, 1);
- curl_easy_setopt(curl, CURLOPT_UNRESTRICTED_AUTH, 1);
-- curl_easy_setopt(curl, CURLOPT_POSTREDIR, CURL_REDIR_POST_ALL);
- res = curl_easy_perform(curl);
- curl_slist_free_all(http_header);
- http_header = NULL;
-@@ -231,7 +230,6 @@ gboolean carddav_modify(carddav_settings* settings, carddav_error* error) {
- strlen(settings->file));
- curl_easy_setopt(curl, CURLOPT_FOLLOWLOCATION, 1);
- curl_easy_setopt(curl, CURLOPT_UNRESTRICTED_AUTH, 1);
-- curl_easy_setopt(curl, CURLOPT_POSTREDIR, CURL_REDIR_POST_ALL);
- curl_easy_setopt(curl, CURLOPT_CUSTOMREQUEST, "PUT");
- res = curl_easy_perform(curl);
- if (LOCKSUPPORT && lock_token) {
-@@ -430,7 +428,6 @@ gboolean carddav_modify_by_uri(carddav_settings* settings, carddav_error* error)
- strlen(settings->file));
- curl_easy_setopt(curl, CURLOPT_FOLLOWLOCATION, 1);
- curl_easy_setopt(curl, CURLOPT_UNRESTRICTED_AUTH, 1);
-- curl_easy_setopt(curl, CURLOPT_POSTREDIR, CURL_REDIR_POST_ALL);
- curl_easy_setopt(curl, CURLOPT_CUSTOMREQUEST, "PUT");
- res = curl_easy_perform(curl);
- if (LOCKSUPPORT && lock_token) {
-diff --git a/src/options-carddav-server.c b/src/options-carddav-server.c
-index b774401..b44aae2 100644
---- a/src/options-carddav-server.c
-+++ b/src/options-carddav-server.c
-@@ -75,7 +75,6 @@ gboolean carddav_getoptions(CURL* curl, carddav_settings* settings, response* re
- curl_easy_setopt(curl, CURLOPT_CUSTOMREQUEST, "OPTIONS");
- curl_easy_setopt(curl, CURLOPT_FOLLOWLOCATION, 1);
- curl_easy_setopt(curl, CURLOPT_UNRESTRICTED_AUTH, 1);
-- curl_easy_setopt(curl, CURLOPT_POSTREDIR, CURL_REDIR_POST_ALL);
- if (settings->debug) {
- curl_easy_setopt(curl, CURLOPT_VERBOSE, 1);
- }
-@@ -106,15 +105,12 @@ gboolean carddav_getoptions(CURL* curl, carddav_settings* settings, response* re
- }
- else if (
- (res == CURLE_SSL_CONNECT_ERROR ||
-- CURLE_PEER_FAILED_VERIFICATION ||
- CURLE_SSL_ENGINE_NOTFOUND ||
- CURLE_SSL_ENGINE_SETFAILED ||
- CURLE_SSL_CERTPROBLEM ||
- CURLE_SSL_CIPHER ||
- CURLE_SSL_CACERT ||
-- CURLE_SSL_CACERT_BADFILE ||
-- CURLE_SSL_CRL_BADFILE ||
-- CURLE_SSL_ISSUER_ERROR) && settings->usehttps) {
-+ CURLE_SSL_CRL_BADFILE ) && settings->usehttps) {
- error->code = -2;
- error->str = g_strdup(error_buf);
- }
diff --git a/redhat/dependencies/libcarddav/libcarddav-14.0.0.spec b/redhat/dependencies/libcarddav/libcarddav.spec
index 27e23795e..de5d69bed 100644
--- a/redhat/dependencies/libcarddav/libcarddav-14.0.0.spec
+++ b/redhat/dependencies/libcarddav/libcarddav.spec
@@ -18,7 +18,7 @@
# TDE variables
%define tde_epoch 2
%if "%{?tde_version}" == ""
-%define tde_version 14.0.0
+%define tde_version 14.0.7
%endif
%define tde_pkg libcarddav
%define tde_prefix /opt/trinity
@@ -54,8 +54,7 @@ BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
Source0: %{name}-%{tde_version}%{?preversion:~%{preversion}}.tar.gz
-Patch1: libcarddav-14.0.1-rhel5.patch
-
+BuildRequires: cmake >= 2.8
BuildRequires: make
BuildRequires: libtool
@@ -100,6 +99,7 @@ Build dependencies are minimal, requiring only libcurl.
%defattr(-,root,root,-)
%{_libdir}/libcarddav.so.0
%{_libdir}/libcarddav.so.0.0.6
+%{_docdir}/libcarddav/
%post -n %{libcarddav}0
/sbin/ldconfig
@@ -151,43 +151,49 @@ This package contains the development files.
%prep
%setup -q -n %{name}-%{tde_version}%{?preversion:~%{preversion}}
-%if 0%{?rhel} == 5
-%patch1 -p1 -b .ftbfs
-%endif
-
-# Fix empty ChangeLog cause invalid macro in 'configure.ac'
-echo "%{name} (%{version})" >ChangeLog
-
-autoreconf -fiv
%build
unset QTDIR QTINC QTLIB
+export PATH="%{tde_bindir}:${PATH}"
-# CFLAGS required if CURL is installed on /opt/trinity, e.g. RHEL 5
-export CFLAGS="-I%{tde_includedir} -L%{tde_libdir} ${RPM_OPT_FLAGS}"
-export PKG_CONFIG_PATH="%{tde_libdir}/pkgconfig"
-
-# RHEL4 stuff
-if [ -d /usr/evolution28 ]; then
- export PKG_CONFIG_PATH="/usr/evolution28/%{_lib}/pkgconfig:${PKG_CONFIG_PATH}"
+if ! rpm -E %%cmake|grep -q "cd build"; then
+ %__mkdir_p build
+ cd build
fi
-%configure \
- --includedir=%{_includedir} \
- --libdir=%{_libdir} \
+%cmake \
+ -DCMAKE_BUILD_TYPE="RelWithDebInfo" \
+ -DCMAKE_C_FLAGS="${RPM_OPT_FLAGS} -DNDEBUG" \
+ -DCMAKE_CXX_FLAGS="${RPM_OPT_FLAGS} -DNDEBUG" \
+ -DCMAKE_SKIP_RPATH=OFF \
+ -DCMAKE_VERBOSE_MAKEFILE=ON \
+ -DWITH_GCC_VISIBILITY=OFF \
\
- --disable-dependency-tracking
+ -DCMAKE_INSTALL_PREFIX="%{_prefix}" \
+ -DSHARE_INSTALL_PREFIX="%{_datadir}" \
+ \
+ -DWITH_ALL_OPTIONS=ON \
+ -DWITH_GCC_VISIBILITY=ON \
+ \
+ -DBUILD_ALL=ON \
+ -DBUILD_DOC=ON \
+ -DBUILD_TRANSLATIONS=ON \
+ \
+ ..
-%__make %{?_smp_mflags}
+%__make %{?_smp_mflags} || %__make
%install
%__rm -rf %{buildroot}
-%__make install DESTDIR=%{buildroot}
+%__make install DESTDIR=%{buildroot} -C build
-# Unwanted files
-%__rm -f %{buildroot}%{_libdir}/libcarddav.a
+# Fix doc directory
+%if "%{_docdir}" != "%{_datadir}/doc"
+%__mkdir_p "%{?buildroot}/%{_docdir}"
+%__mv -f "%{?buildroot}/%{_datadir}/doc/libcarddav" "%{?buildroot}/%{_docdir}/libcarddav"
+%endif
%clean
diff --git a/redhat/dependencies/python-tqt/python-tqt-14.0.0.spec b/redhat/dependencies/python-tqt/python-tqt.spec
index 3b8b54d68..0a3731cc1 100644
--- a/redhat/dependencies/python-tqt/python-tqt-14.0.0.spec
+++ b/redhat/dependencies/python-tqt/python-tqt.spec
@@ -19,12 +19,10 @@
# Remove qt-devel and qt3-devel and any kde*-devel on your system !
# Having KDE libraries may cause FTBFS here !
-%{!?python_sitearch:%global python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")}
-
# TDE variables
%define tde_epoch 2
%if "%{?tde_version}" == ""
-%define tde_version 14.0.0
+%define tde_version 14.0.7
%endif
%define tde_pkg python-tqt
%define tde_prefix /opt/trinity
@@ -71,8 +69,17 @@ BuildRequires: sip4-tqt-devel >= %{?epoch:%{epoch}:}4.10.5
BuildRequires: libtqscintilla-devel >= %{?epoch:%{epoch}:}1.7.1
BuildRequires: gcc-c++
-BuildRequires: python
-BuildRequires: python-devel
+
+# PYTHON
+%if 0%{?rhel} >= 8 || 0%{?fedora} >= 31
+%define python python2
+%define __python %__python2
+%{!?python_sitearch:%global python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")}
+%else
+%define python python
+%endif
+BuildRequires: %{python}
+BuildRequires: %{python}-devel
# MESA support
%if 0%{?rhel} || 0%{?fedora}
diff --git a/redhat/dependencies/sip4-tqt/sip4-tqt-14.0.0.spec b/redhat/dependencies/sip4-tqt/sip4-tqt.spec
index 6432e8099..601659a5e 100644
--- a/redhat/dependencies/sip4-tqt/sip4-tqt-14.0.0.spec
+++ b/redhat/dependencies/sip4-tqt/sip4-tqt.spec
@@ -28,7 +28,7 @@
# TDE variables
%define tde_epoch 2
%if "%{?tde_version}" == ""
-%define tde_version 14.0.0
+%define tde_version 14.0.7
%endif
%define tde_pkg sip4-tqt
%define tde_prefix /opt/trinity
@@ -71,8 +71,15 @@ BuildRequires: libtqt4-devel >= %{?epoch:%{epoch}:}4.2.0
BuildRequires: trinity-filesystem >= %{tde_version}
BuildRequires: gcc-c++
-BuildRequires: python
-BuildRequires: python-devel
+
+%if 0%{?rhel} >= 8 || 0%{?fedora} >= 31
+%define python python2
+%define __python %__python2
+%else
+%define python python
+%endif
+BuildRequires: %{python}
+BuildRequires: %{python}-devel
%description
SIP is a tool for generating bindings for C++ classes with some ideas
@@ -85,7 +92,7 @@ specificity towards C++ and Python.
Summary: Python/C++ bindings generator (Runtime Library)
Group: Development/Tools/Building
Requires: trinity-filesystem >= %{tde_version}
-Requires: python
+Requires: %{python}
%description -n sip4-tqt
SIP is a tool for generating bindings for C++ classes with some ideas
@@ -94,11 +101,7 @@ specificity towards C++ and Python.
%files -n sip4-tqt
%defattr(-,root,root,-)
-%dir %{python_sitearch}/sip4_tqt
-%{python_sitearch}/sip4_tqt/sip.so
-%{python_sitearch}/sip4_tqt/sipconfig.py*
-%{python_sitearch}/sip4_tqt/sipdistutils.py*
-%{python_sitearch}/sip4_tqt/__init__.py*
+%{python_sitearch}/sip4_tqt/
##########
@@ -106,7 +109,7 @@ specificity towards C++ and Python.
Summary: Python/C++ bindings generator (Development Files)
Group: Development/Libraries/Python
Requires: sip4-tqt = %{?epoch:%{epoch}:}%{version}-%{release}
-Requires: python-devel
+Requires: %{python}-devel
%description -n sip4-tqt-devel
SIP is a tool for generating bindings for C++ classes with some ideas
diff --git a/redhat/dependencies/tqca-tls/tqca-tls-14.0.0.spec b/redhat/dependencies/tqca-tls/tqca-tls.spec
index 0323731dc..a3a029de7 100644
--- a/redhat/dependencies/tqca-tls/tqca-tls-14.0.0.spec
+++ b/redhat/dependencies/tqca-tls/tqca-tls.spec
@@ -18,7 +18,7 @@
# TDE variables
%define tde_epoch 2
%if "%{?tde_version}" == ""
-%define tde_version 14.0.0
+%define tde_version 14.0.7
%endif
%define tde_pkg tqca-tls
%define tde_prefix /opt/trinity
@@ -101,7 +101,7 @@ contains the TLS plugin.
unset QTDIR QTINC QTLIB
./configure \
- --qtdir=%{_prefix}
+ --tqtdir=%{_prefix}
%__make %{?_smp_mflags}
diff --git a/redhat/dependencies/tqca/tqca-14.0.0.spec b/redhat/dependencies/tqca/tqca.spec
index a6e59e772..0ea095f6a 100644
--- a/redhat/dependencies/tqca/tqca-14.0.0.spec
+++ b/redhat/dependencies/tqca/tqca.spec
@@ -18,7 +18,7 @@
# TDE variables
%define tde_epoch 2
%if "%{?tde_version}" == ""
-%define tde_version 14.0.0
+%define tde_version 14.0.7
%endif
%define tde_pkg tqca
%define tde_prefix /opt/trinity
@@ -147,7 +147,7 @@ unset QTDIR QTINC QTLIB
./configure \
--prefix=%{_prefix} \
- --qtdir=/usr \
+ --tqtdir=/usr \
--debug
diff --git a/redhat/dependencies/tqscintilla/tqscintilla-14.0.0.spec b/redhat/dependencies/tqscintilla/tqscintilla.spec
index 2d5616cd9..4b200aa96 100644
--- a/redhat/dependencies/tqscintilla/tqscintilla-14.0.0.spec
+++ b/redhat/dependencies/tqscintilla/tqscintilla.spec
@@ -18,7 +18,7 @@
# TDE variables
%define tde_epoch 2
%if "%{?tde_version}" == ""
-%define tde_version 14.0.0
+%define tde_version 14.0.7
%endif
%define tde_pkg tqscintilla
%define tde_prefix /opt/trinity
diff --git a/redhat/dependencies/tqt3/tqassistant.desktop b/redhat/dependencies/tqt3/tqassistant.desktop
deleted file mode 100644
index c178007d8..000000000
--- a/redhat/dependencies/tqt3/tqassistant.desktop
+++ /dev/null
@@ -1,13 +0,0 @@
-[Desktop Entry]
-Encoding=UTF-8
-Exec=tqassistant
-Name=TQt3 Assistant
-Name[de]=TQt3 Assistent
-GenericName=Document Browser
-Comment=TQt3 Helpcenter
-Comment[de]= TQt3 Hilfezentrum
-MimeType=application/x-assistant;
-Icon=tqassistant
-Terminal=false
-Type=Application
-Categories=Qt;Development;
diff --git a/redhat/dependencies/tqt3/tqdesigner.desktop b/redhat/dependencies/tqt3/tqdesigner.desktop
deleted file mode 100644
index 2152b777b..000000000
--- a/redhat/dependencies/tqt3/tqdesigner.desktop
+++ /dev/null
@@ -1,78 +0,0 @@
-[Desktop Entry]
-Encoding=UTF-8
-Exec=tqdesigner
-Name=TQt3 Designer
-Name[bg]=TQt3 Дизайнер
-Name[br]=Ergrafer TQt3
-Name[ca]=Dissenyador TQt3
-Name[cs]=TQt3 designer
-Name[de]=TQt3-Designer
-Name[eo]=TQt3-Desegnilo
-Name[es]=Diseñador TQt3
-Name[et]=TQt3 disainer
-Name[eu]=TQt3 Diseinatzailea
-Name[gl]=Deseñador de TQt3
-Name[he]=TQt3 בצעמ
-Name[it]=Designer TQt3
-Name[ja]=TQt3デザイナー
-Name[ko]=TQt3 디자이너
-Name[lv]=TQt3 Dizainers
-Name[mk]=TQt3 дизајнер
-Name[no]=TQt3-designer
-Name[oc]=Dessinador TQt3
-Name[pl]=Projektant TQt3
-Name[sk]=TQt3 Dizajnér
-Name[sl]=Snovalnik TQt3
-Name[ta]=TQt3 À¨¼ôÀ¡Ç÷
-Name[uk]=Дизайнер TQt3
-Name[zh_CN.GB2312]=TQt3 设计者
-Name[zh_TW.Big5]=TQt3 設計器
-GenericName=Interface Designer
-Comment=TQt3 interface designer
-Comment[az]=TQt3 axtar üz dizayn proqramı
-Comment[bg]=TQt3 interface дизайнер
-Comment[br]=Ergrafer etrefas TQt3
-Comment[ca]=Dissenyador d'interfícies TQt3
-Comment[cs]=Editor UI pro TQt3
-Comment[da]=TQt3 grænseflade designer
-Comment[de]=Schnittstellen-Designer für TQt3
-Comment[el]=Σχεδιασμός περιβάλλοντων TQt3
-Comment[eo]=TQt3-Interfacdesegnilo
-Comment[es]=Diseñador de interfaces de TQt3
-Comment[et]=TQt3 dialoogide redaktor
-Comment[eu]=TQt3 interfaze diseinatzailea
-Comment[fi]=TQt3:n käyttöliittymäsuunnittelija
-Comment[fr]=Conception d'interfaces avec TQt3
-Comment[gl]=Editor de interfaces de TQt3
-Comment[he]=TQt3-ל םיקשממ בצעמ
-Comment[hu]=TQt3 felülettervező
-Comment[is]=Viðmótshönnunartól fyrir TQt3
-Comment[it]=Editor per le interfaccie TQt3
-Comment[ja]=TQt3インターフェースデザイナー
-Comment[ko]=TQt3 인터페이스 디자이너
-Comment[lt]=TQt3 sąsajos redaktorius
-Comment[lv]=TQt3 starsejas dizainers
-Comment[mk]=Дизајнер на TQt3 дијалози
-Comment[nl]=TQt3 interface-ontwerper
-Comment[no]=TQt3-grensesnittdesigner
-Comment[no_NY]=Redigering av TQt3-miljø
-Comment[oc]=Dessinador d'interfacies TQt3
-Comment[pl]=Projektant interfejsu TQt3
-Comment[pt]=Editor de interfaces do TQt3
-Comment[pt_BR]=Designer de interface TQt3
-Comment[ro]=Dezvoltator de interfeţe TQt3
-Comment[ru]=редактор интерфейсов приложений TQt3
-Comment[sk]=TQt3 dizajnér rozhrania
-Comment[sl]=Snovalnik vmesnikov za TQt3
-Comment[sr]=Dizajner TQt3 interfejsa
-Comment[sv]=Editor för gränssnitt till TQt3
-Comment[ta]=TQt3 À¨¼ôÀ¡Ç÷
-Comment[tr]=TQt3 arayüz tasarım programı
-Comment[uk]=Редактор інтерфейсу для TQt3
-Comment[zh_CN.GB2312]=TQt3 界面设计程序
-Comment[zh_TW.Big5]=TQt3 介面編輯器
-MimeType=application/x-designer;
-Icon=tqdesigner
-Terminal=false
-Type=Application
-Categories=Qt;Development;
diff --git a/redhat/dependencies/tqt3/tqlinguist.desktop b/redhat/dependencies/tqt3/tqlinguist.desktop
deleted file mode 100644
index 6cbbe713d..000000000
--- a/redhat/dependencies/tqt3/tqlinguist.desktop
+++ /dev/null
@@ -1,26 +0,0 @@
-[Desktop Entry]
-Exec=tqlinguist
-Name=TQt3 Linguist
-Name[de]=TQt3-Linguist
-Name[eo]=TQt3-Lingvisto
-Name[es]=Lingüista TQt3
-Name[ko]=TQt3 언어학자
-Name[lv]=TQt3 Lingvists
-GenericName=Translation Tool
-Comment=Tool for translating message catalogues of TQt3 based programs
-Comment[da]=Redskab til at oversætte TQt3 baserede programmer
-Comment[de]=Dienstprogramm zur Übersetzung von Programmen, die auf TQt3 basieren
-Comment[eo]=Ilo por tradukado de mesaĝaroj de TQt3-bazitaj programoj
-Comment[es]=Herramienta para la traducción de catálogos de mensajes de programas basados en TQt3
-Comment[he]=TQt3 תוססובמ תוינכות לש תועדוה יגולטק םוגרתל ילכ
-Comment[hu]=Segédprogram a TQt3-alapú programok üzenetfájljainak lefordításához
-Comment[ko]=TQt3를 바탕으로 하는 프로그램에서 쓸 번역된 메세지 목록을 관리하는 도구
-Comment[lv]=Rīks ziņojumu katalogu tulkošanai uz TQt3 bāzētās programmās
-Comment[pt]=Ferramenta para traduzir os catálogos de mensagens de programas do TQt3
-Comment[pt_BR]=Ferramenta para traduzir os catálogos de mensagens de programas do TQt3
-Comment[sv]=Verktyg för att översätta meddelandekataloger från TQt3-baserade program
-MimeType=application/x-linguist;
-Terminal=false
-Icon=tqlinguist
-Type=Application
-Categories=Qt;Development
diff --git a/redhat/dependencies/tqt3/tqt3-14.0.0.spec b/redhat/dependencies/tqt3/tqt3.spec
index b7fc869e6..c1daea7b4 100644
--- a/redhat/dependencies/tqt3/tqt3-14.0.0.spec
+++ b/redhat/dependencies/tqt3/tqt3.spec
@@ -17,7 +17,7 @@
# TDE variables
%if "%{?tde_version}" == ""
-%define tde_version 14.0.0
+%define tde_version 14.0.7
%endif
%if 0%{?mdkversion} || 0%{?mgaversion} || 0%{?pclinuxos}
@@ -49,12 +49,6 @@ BuildRoot: %{_tmppath}/%{name}-%{tde_version}-%{release}-root-%(%{__id_u} -n)
Source0: %{name}-%{tde_version}%{?preversion:~%{preversion}}.tar.gz
Source1: build-examples.sh
-Source11: tqassistant.desktop
-Source12: tqdesigner.desktop
-Source13: tqlinguist.desktop
-Source14: tqtconfig.desktop
-
-
BuildRequires: glibc-devel
BuildRequires: gcc-c++
BuildRequires: make
@@ -274,7 +268,7 @@ BuildRequires: sqlite3-devel
# POSTGRESQL support
BuildRequires: postgresql
-%if 0%{?fedora} >= 30
+%if 0%{?fedora} >= 30 || 0%{?rhel} >= 8
BuildRequires: postgresql-server-devel
%else
BuildRequires: postgresql-devel
@@ -295,12 +289,12 @@ BuildRequires: %{_lib}fbclient-devel
%define with_nis 1
# RPC support
-%if 0%{?fedora} >= 28 || 0%{?suse_version} >= 1500
-%if 0%{?fedora}
+%if 0%{?rhel} >= 8 || 0%{?fedora} >= 28
BuildRequires: libnsl2-devel
-%else
-BuildRequires: libnsl-devel
+BuildRequires: libtirpc-devel
%endif
+%if 0%{?suse_version} >= 1500
+BuildRequires: libnsl-devel
BuildRequires: libtirpc-devel
%endif
@@ -346,9 +340,6 @@ applications.
%files -n %{libtqt3}-mt
%defattr(-,root,root,-)
%doc FAQ LICENSE* README* changes*
-%dir %{_datadir}/icons/hicolor
-%dir %{_datadir}/icons/hicolor/32x32
-%dir %{_datadir}/icons/hicolor/32x32/apps
%dir %{_datadir}/tqt3/
%dir %{_datadir}/tqt3/doc/
%dir %{_datadir}/tqt3/doc/html/
@@ -1015,7 +1006,7 @@ or automake.
%{_datadir}/tqt3/tools/tqtcreatecw/main.cpp
%{_datadir}/tqt3/tools/tqtcreatecw/tqtcreatecw.pro
%{_datadir}/applications/tqdesigner.desktop
-%{_datadir}/icons/hicolor/32x32/apps/tqdesigner.png
+%{_datadir}/pixmaps/tqdesigner.png
###########
@@ -1082,7 +1073,7 @@ development files by the translator.
%dir %{_docdir}/tqt3-linguist
%{_docdir}/tqt3-linguist/qt_untranslated.ts
%{_datadir}/applications/tqlinguist.desktop
-%{_datadir}/icons/hicolor/32x32/apps/tqlinguist.png
+%{_datadir}/pixmaps/tqlinguist.png
##########
@@ -1107,11 +1098,10 @@ the package tqt3-apps-devel.
%files -n tqt3-assistant
%defattr(-,root,root,-)
%{_bindir}/tqassistant
-%{_datadir}/icons/hicolor/32x32/apps/tqassistant.png
%{_datadir}/tqt3/doc/html/assistant*html
%{_datadir}/tqt3/doc/html/assistant*dcf
%{_datadir}/applications/tqassistant.desktop
-%{_datadir}/icons/hicolor/32x32/apps/tqassistant.png
+%{_datadir}/pixmaps/tqassistant.png
##########
@@ -1134,7 +1124,7 @@ install this package.
%defattr(-,root,root,-)
%{_bindir}/tqtconfig
%{_datadir}/applications/tqtconfig.desktop
-%{_datadir}/icons/hicolor/32x32/apps/tqtconfig.png
+%{_datadir}/pixmaps/tqtconfig.png
###########
@@ -1275,11 +1265,6 @@ things that are possible with TQt3.
%prep
%setup -q -n %{name}-%{tde_version}%{?preversion:~%{preversion}}
-# Fix strange FTBFS on RHEL5
-%if 0%{?rhel} == 5
-%__sed -i "src/kernel/ntqstyle.h" -e "s|#ifdef ENABLE_T*QSTYLECONTROLELEMENTDATA_SLOW_COPY|#if 1|"
-%endif
-
%if 0%{?suse_version}
echo "suse_version = %{?suse_version}"
echo "sle_version = %{?sle_version}"
@@ -1355,6 +1340,7 @@ echo yes | ./configure \
-docdir "%{_datadir}/tqt3/doc" \
-plugindir "%{_libdir}/tqt3/plugins" \
-translationdir "%{_datadir}/tqt3/translations" \
+ -sysshare "%{_datadir}" \
\
-thread \
-shared \
@@ -1471,12 +1457,6 @@ for i in designer/designer assistant linguist/linguist; do
popd
done
-# desktop lnk files
-%__install -m644 -D "%{SOURCE11}" "%{?buildroot}%{_datadir}/applications/tqassistant.desktop"
-%__install -m644 -D "%{SOURCE12}" "%{?buildroot}%{_datadir}/applications/tqdesigner.desktop"
-%__install -m644 -D "%{SOURCE13}" "%{?buildroot}%{_datadir}/applications/tqlinguist.desktop"
-%__install -m644 -D "%{SOURCE14}" "%{?buildroot}%{_datadir}/applications/tqtconfig.desktop"
-
%if 0%{?suse_version}
%suse_update_desktop_file tqassistant Documentation
%suse_update_desktop_file tqdesigner GUIDesigner
@@ -1485,10 +1465,10 @@ done
%endif
# Install applications icons
-%__install -m644 -D "tools/assistant/images/appicon.png" "%{?buildroot}%{_datadir}/icons/hicolor/32x32/apps/tqassistant.png"
-%__install -m644 -D "tools/designer/designer/images/designer_appicon.png" "%{?buildroot}%{_datadir}/icons/hicolor/32x32/apps/tqdesigner.png"
-%__install -m644 -D "tools/linguist/linguist/images/appicon.png" "%{?buildroot}%{_datadir}/icons/hicolor/32x32/apps/tqlinguist.png"
-%__install -m644 -D "tools/qtconfig/images/appicon.png" "%{?buildroot}%{_datadir}/icons/hicolor/32x32/apps/tqtconfig.png"
+#__install -m644 -D "tools/assistant/images/appicon.png" "%{?buildroot}%{_datadir}/icons/hicolor/32x32/apps/tqassistant.png"
+#__install -m644 -D "tools/designer/designer/images/designer_appicon.png" "%{?buildroot}%{_datadir}/icons/hicolor/32x32/apps/tqdesigner.png"
+#__install -m644 -D "tools/linguist/linguist/images/appicon.png" "%{?buildroot}%{_datadir}/icons/hicolor/32x32/apps/tqlinguist.png"
+#__install -m644 -D "tools/qtconfig/images/appicon.png" "%{?buildroot}%{_datadir}/icons/hicolor/32x32/apps/tqtconfig.png"
# build attic package and copy it to tqt3-compat-headers
pushd src
diff --git a/redhat/dependencies/tqt3/tqtconfig.desktop b/redhat/dependencies/tqt3/tqtconfig.desktop
deleted file mode 100644
index d20d2191d..000000000
--- a/redhat/dependencies/tqt3/tqtconfig.desktop
+++ /dev/null
@@ -1,13 +0,0 @@
-[Desktop Entry]
-Encoding=UTF-8
-Exec=tqtconfig
-Name=TQt3 Configuration
-Name[de]=TQt3 Konfiguration
-GenericName=Configuration Utility
-Comment=A graphical configuration tool for programs using TQt 3
-Comment[de]=Ein grafisches Konfigurationstool für TQt3-Programme
-MimeType=application/x-qtconfig;
-Terminal=false
-Icon=tqtconfig
-Type=Application
-Categories=Qt;Settings;
diff --git a/redhat/dependencies/tqtinterface/tqtinterface-14.0.0.spec b/redhat/dependencies/tqtinterface/tqtinterface.spec
index de6ad4622..392ca0bb6 100644
--- a/redhat/dependencies/tqtinterface/tqtinterface-14.0.0.spec
+++ b/redhat/dependencies/tqtinterface/tqtinterface.spec
@@ -22,7 +22,7 @@
# TDE variables
%define tde_epoch 2
%if "%{?tde_version}" == ""
-%define tde_version 14.0.0
+%define tde_version 14.0.7
%endif
%define tde_pkg tqtinterface
%define cmake_modules_dir %{_datadir}/cmake/Modules
@@ -77,7 +77,7 @@ BuildRequires: pkgconfig
# PTHREAD support
-%if 0%{?rhel} >= 5 || 0%{?mdkversion} || 0%{?mgaversion}
+%if 0%{?mdkversion} || 0%{?mgaversion}
%if 0%{?mgaversion} >= 7
BuildRequires: %{_lib}npth-devel
%else
@@ -87,6 +87,9 @@ BuildRequires: pth-devel
%if 0%{?fedora} && 0%{?fedora} <= 26
BuildRequires: pth-devel
%endif
+%if 0%{?rhel} >= 5 && 0%{?rhel} <= 7
+BuildRequires: pth-devel
+%endif
%if 0%{?suse_version} && 0%{?suse_version} < 1500
BuildRequires: libpth-devel
%endif