Branch: master

c64029af 2014-10-03 15:03:08 François Andriot
RPM Packaging: update kopete-otr
M redhat/applications/kopete-otr/kopete-otr-14.0.0.spec
diff --git a/redhat/applications/kopete-otr/kopete-otr-14.0.0.spec b/redhat/applications/kopete-otr/kopete-otr-14.0.0.spec
index 835c6b6..854bd79 100644
--- a/redhat/applications/kopete-otr/kopete-otr-14.0.0.spec
+++ b/redhat/applications/kopete-otr/kopete-otr-14.0.0.spec
@@ -54,13 +54,11 @@
 
 BuildRequires:	trinity-tdenetwork-devel >= %{tde_version}
 
-# Kopete is provided by kdenetwork
+# Kopete is provided by tdenetwork
 Requires:		trinity-kopete >= %{tde_version}
-%if 0%{?suse_version} >= 1230
-BuildRequires:	libotr2-devel
-%else
+
+# OTR support
 BuildRequires:	libotr-devel
-%endif
 
 %description
 This plugin enables Off-The-Record encryption for the TDE instant
@@ -102,7 +100,7 @@
   --enable-rpath \
   --disable-gcc-hidden-visibility
 
-%__make %{_smp_mflags}
+%__make %{_smp_mflags} || %__make
 
 
 %install
e6514292 2014-10-03 15:08:25 François Andriot
RPM Packaging: update some packages
M redhat/applications/krusader/krusader-3.5.13.2.spec
M redhat/applications/tork/tork-14.0.0.spec
M redhat/dependencies/arts/arts-14.0.0.spec
M redhat/tde-i18n/tde-i18n-14.0.0.spec
M redhat/tdebase/tdebase-14.0.0-default_menu_icon.patch
M redhat/tdebindings/tdebindings-14.0.0.spec
M redhat/tdeedu/tdeedu-14.0.0.spec
M redhat/tdenetwork/tdenetwork-14.0.0.spec
M redhat/tdeutils/tdeutils-14.0.0.spec
M redhat/tdewebdev/tdewebdev-14.0.0.spec
diff --git a/redhat/applications/krusader/krusader-3.5.13.2.spec b/redhat/applications/krusader/krusader-3.5.13.2.spec
index a5e2f76..2272802 100644
--- a/redhat/applications/krusader/krusader-3.5.13.2.spec
+++ b/redhat/applications/krusader/krusader-3.5.13.2.spec
@@ -87,7 +87,8 @@
 
 
 %build
-unset QTDIR; . /etc/profile.d/qt3.sh
+unset QTDIR QTINC QTLIB
+. /etc/profile.d/qt3.sh
 export PATH="%{tde_bindir}:${PATH}"
 
 # Warning: --enable-final causes FTBFS
diff --git a/redhat/applications/tork/tork-14.0.0.spec b/redhat/applications/tork/tork-14.0.0.spec
index 35595c0..a750ee4 100644
--- a/redhat/applications/tork/tork-14.0.0.spec
+++ b/redhat/applications/tork/tork-14.0.0.spec
@@ -114,6 +114,7 @@
 %doc AUTHORS COPYING README TODO ChangeLog USINGTORK
 %{tde_bindir}/tork
 %{tde_bindir}/torkarkollon
+%{tde_bindir}/usewithtor
 %{tde_tdeappdir}/tork.desktop
 %{tde_datadir}/apps/konqueror/servicemenus/tork_downloadwithfirefox.desktop
 %{tde_datadir}/apps/konqueror/servicemenus/tork_downloadwithkonqueror.desktop
diff --git a/redhat/dependencies/arts/arts-14.0.0.spec b/redhat/dependencies/arts/arts-14.0.0.spec
index 0afd17e..1f7408f 100644
--- a/redhat/dependencies/arts/arts-14.0.0.spec
+++ b/redhat/dependencies/arts/arts-14.0.0.spec
@@ -15,11 +15,6 @@
 # Please submit bugfixes or comments via http:/www.trinitydesktop.org/
 #
 
-# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt".
-%if "%{?tde_prefix}" != "/usr"
-%define _variant .opt
-%endif
-
 # TDE variables
 %define tde_version 14.0.0
 %define tde_prefix /opt/trinity
@@ -27,13 +22,17 @@
 %define tde_includedir %{tde_prefix}/include
 %define tde_libdir %{tde_prefix}/%{_lib}
 %define tde_datadir %{tde_prefix}/share
-
 %define tde_tdeincludedir %{tde_includedir}/tde
-
 %define _docdir %{tde_datadir}/doc
 
+# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt".
+%if "%{?tde_prefix}" != "/usr"
+%define _variant .opt
+%endif
+
+
 Name:		trinity-arts
-Epoch:		1
+Epoch:		2
 Version:	1.5.10
 Release:	%{?!preversion:2}%{?preversion:1_%{preversion}}%{?dist}%{?_variant}
 Summary:	ARTS (analog realtime synthesizer) - the TDE sound system
diff --git a/redhat/tde-i18n/tde-i18n-14.0.0.spec b/redhat/tde-i18n/tde-i18n-14.0.0.spec
index ed153b6..47129a3 100644
--- a/redhat/tde-i18n/tde-i18n-14.0.0.spec
+++ b/redhat/tde-i18n/tde-i18n-14.0.0.spec
@@ -47,14 +47,11 @@
 
 Source0:		%{name}-%{tde_version}%{?preversion:~%{preversion}}.tar.gz
 
-# Main patch: lots of updates for TDE R14.0.0
-Patch1:		tde-i18n-14.0.0-extra_translations.patch
-Patch2:		tde-i18n-14.0.0-updates.patch
+BuildRequires:	trinity-arts-devel >= 1:1.5.10
+BuildRequires:	trinity-tdelibs-devel >= %{tde_version}
 
 BuildRequires:	findutils
 BuildRequires:	gettext
-BuildRequires:	trinity-arts-devel >= 1:1.5.10
-BuildRequires:	trinity-tdelibs-devel >= %{tde_version}
 
 %description
 %{summary}.
@@ -683,10 +680,6 @@
 
 %prep
 %setup -q -n %{name}-%{tde_version}%{?preversion:~%{preversion}}
-
-# Patches for French translations
-%patch1 -p1
-%patch2 -p1
 
 
 %build
diff --git a/redhat/tdebase/tdebase-14.0.0-default_menu_icon.patch b/redhat/tdebase/tdebase-14.0.0-default_menu_icon.patch
index 4aa8bd3..db80523 100644
--- a/redhat/tdebase/tdebase-14.0.0-default_menu_icon.patch
+++ b/redhat/tdebase/tdebase-14.0.0-default_menu_icon.patch
@@ -5,10 +5,10 @@
  fi
  
 +# Default Start Button icon for TDE
-+if [ ! -e  $tdehome/share/config/kickerrc ]; then
++if [ ! -e "$tdehome/share/config/kickerrc" ]; then
 +  if [ -r "%{tde_starticon}" ]; then
 +    [ -d "$tdehome/share/config" ] || mkdir -p "$tdehome/share/config"
-+    cat <<EOF >$tdehome/share/config/kickerrc
++    cat <<EOF >"$tdehome/share/config/kickerrc"
 +[KMenu]
 +CustomIcon=%{tde_starticon}
 +EOF
diff --git a/redhat/tdebindings/tdebindings-14.0.0.spec b/redhat/tdebindings/tdebindings-14.0.0.spec
index ecc1090..a32f8d1 100644
--- a/redhat/tdebindings/tdebindings-14.0.0.spec
+++ b/redhat/tdebindings/tdebindings-14.0.0.spec
@@ -1010,7 +1010,6 @@
 %build
 unset QTDIR QTINC QTLIB
 export PATH="%{tde_bindir}:${PATH}"
-export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}"
 
 unset JAVA_HOME ||:
 %{?java_home:JAVA_HOME=%{java_home}; export JAVA_HOME}
diff --git a/redhat/tdeedu/tdeedu-14.0.0.spec b/redhat/tdeedu/tdeedu-14.0.0.spec
index 4368608..bcb387e 100644
--- a/redhat/tdeedu/tdeedu-14.0.0.spec
+++ b/redhat/tdeedu/tdeedu-14.0.0.spec
@@ -1321,7 +1321,6 @@
 %build
 unset QTDIR QTINC QTLIB
 export PATH="%{tde_bindir}:${PATH}"
-export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}"
 
 # Specific path for RHEL4
 if [ -d "/usr/X11R6" ]; then
diff --git a/redhat/tdenetwork/tdenetwork-14.0.0.spec b/redhat/tdenetwork/tdenetwork-14.0.0.spec
index c996646..4f3efc1 100644
--- a/redhat/tdenetwork/tdenetwork-14.0.0.spec
+++ b/redhat/tdenetwork/tdenetwork-14.0.0.spec
@@ -1107,7 +1107,7 @@
 
 ##########
 
-%if 0%{?suse_version} || 0%{?pclinuxos}
+%if 0%{?pclinuxos}
 %debug_package
 %endif
 
diff --git a/redhat/tdeutils/tdeutils-14.0.0.spec b/redhat/tdeutils/tdeutils-14.0.0.spec
index b68866c..e729831 100644
--- a/redhat/tdeutils/tdeutils-14.0.0.spec
+++ b/redhat/tdeutils/tdeutils-14.0.0.spec
@@ -968,7 +968,7 @@
 
 ##########
 
-%if 0%{?suse_version} || 0%{?pclinuxos}
+%if 0%{?pclinuxos}
 %debug_package
 %endif
 
@@ -1025,7 +1025,7 @@
   -DWITH_SNMP=ON \
   -DWITH_SENSORS=ON \
   -DWITH_XMMS=ON \
-  -DWITH_KNEWSTUFF=ON \
+  -DWITH_TDENEWSTUFF=ON \
   -DBUILD_ALL=ON \
   %{?!build_klaptopdaemon:-DBUILD_KLAPTOPDAEMON=OFF} \
   ..
diff --git a/redhat/tdewebdev/tdewebdev-14.0.0.spec b/redhat/tdewebdev/tdewebdev-14.0.0.spec
index cc00be4..6da94df 100644
--- a/redhat/tdewebdev/tdewebdev-14.0.0.spec
+++ b/redhat/tdewebdev/tdewebdev-14.0.0.spec
@@ -41,9 +41,6 @@
 Source4:	http://download.sourceforge.net/quanta/javascript.tar.bz2
 Source5:	hi48-app-kxsldbg.png
 
-Patch0:		tdewebdev-14.0.0-ftbfs.patch
-Patch1:		kdewebdev-3.5.4-kxsldbg-icons.patch
-
 BuildRequires:	autoconf automake libtool m4
 BuildRequires:	desktop-file-utils
 BuildRequires:	trinity-tdelibs-devel >= %{tde_version}
@@ -491,9 +488,6 @@
 
 %prep
 %setup -q -n %{name}-%{version}%{?preversion:~%{preversion}} -a 1 -a 2 -a 3 -a 4
-%patch0 -p1 -b .ftbfs
-%patch1 -p1 -b .kxsldbg-icons
-rm -rf lib/compatibility
 
 %__install -m644 -p %{SOURCE5} kxsldbg/
 %if 0%{?build_kxsldbg} == 0
@@ -508,11 +502,10 @@
 %build
 unset QTDIR QTINC QTLIB
 export PATH="%{tde_bindir}:${PATH}"
-export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}"
 
 # Specific path for RHEL4
 if [ -d "/usr/X11R6" ]; then
-  export CXXFLAGS="${RPM_OPT_FLAGS} -I/usr/X11R6/include -L/usr/X11R6/%{_lib}"
+  export RPM_OPT_FLAGS="${RPM_OPT_FLAGS} -I/usr/X11R6/include -L/usr/X11R6/%{_lib}"
 fi
 
 #��Warning: GCC visibility causes FTBFS [Bug #1285]
7b798228 2014-10-03 15:17:49 François Andriot
RPM Packaging: update tde-i18n
M redhat/Makefile.r14
M redhat/applications/bibletime/bibletime-14.0.0.spec
M redhat/build/build_rpm_package.sh
M redhat/build/get_rpm_package_name.sh
M redhat/tde-i18n/tde-i18n-3.5.13.2.spec
M redhat/tdegames/tdegames-14.0.0.spec
R redhat/tde-i18n/kde-i18n-3.5.13-add_french_translations.patch
R redhat/tde-i18n/kde-i18n-kdesu.patch
R redhat/tde-i18n/kde-i18n-zh_TW-3.5.10.patch.gz
R redhat/tde-i18n/trinity-kde-i18n-fr-openterminalhere.patch
R redhat/tde-i18n/trinity-tde-i18n-fr-3.5.13.2-updates.patch
diff --git a/redhat/Makefile.r14 b/redhat/Makefile.r14
index f7ea783..705f986 100644
--- a/redhat/Makefile.r14
+++ b/redhat/Makefile.r14
@@ -199,7 +199,7 @@
 endif
 
 m4:
-# Build on CentOS 5 only (vendor-provided Poppler is too old)
+# Build on CentOS 5 only (vendor-provided m4 is too old)
 ifneq ($(wildcard /boot/vmlinuz*.el5*),)
 	$(call buildpkg,3rdparty/m4)
 ** Diff limit reached (max: 250 lines) **
80c57753 2014-10-03 15:21:34 François Andriot
RPM Packaging: update TQT3
M redhat/dependencies/tqt3/tqt3-14.0.0.spec
 ** Diff limit reached (max: 250 lines) **