summaryrefslogtreecommitdiffstats
path: root/redhat
diff options
context:
space:
mode:
authorFrancois Andriot <francois.andriot@free.fr>2011-12-04 12:07:32 +0100
committerFrancois Andriot <francois.andriot@free.fr>2011-12-04 12:07:32 +0100
commitfa306c8efcd2aaf30f799bca1fd2c0a23328215c (patch)
treeb01842b9ebe53acdadd92d78d0fadf721826cf5c /redhat
parentdb47b216d9a3c48d46548860bdd6c6fd41b9109f (diff)
downloadtde-packaging-fa306c8efcd2aaf30f799bca1fd2c0a23328215c.tar.gz
tde-packaging-fa306c8efcd2aaf30f799bca1fd2c0a23328215c.zip
RHEL/Fedora: fix ktuberling failure
Diffstat (limited to 'redhat')
-rw-r--r--redhat/kdegames/kdegames-3.5.13-ktuberling_fail_load_picture.patch11
-rw-r--r--redhat/kdegames/trinity-kdegames-3.5.13.spec15
2 files changed, 20 insertions, 6 deletions
diff --git a/redhat/kdegames/kdegames-3.5.13-ktuberling_fail_load_picture.patch b/redhat/kdegames/kdegames-3.5.13-ktuberling_fail_load_picture.patch
new file mode 100644
index 000000000..52fecb052
--- /dev/null
+++ b/redhat/kdegames/kdegames-3.5.13-ktuberling_fail_load_picture.patch
@@ -0,0 +1,11 @@
+--- kdegames/ktuberling/toplevel.cpp.ORI 2011-12-04 05:49:35.462097224 -0500
++++ kdegames/ktuberling/toplevel.cpp 2011-12-04 05:49:38.089040247 -0500
+@@ -189,7 +189,7 @@
+ // Load the layouts file
+ bool TopLevel::loadLayout(TQDomDocument &layoutDocument)
+ {
+- TQFile layoutFile(TQFile::encodeName(locate("data", "ktuberling/pics/tqlayout.xml")));
++ TQFile layoutFile(TQFile::encodeName(locate("data", "ktuberling/pics/layout.xml")));
+ if (!layoutFile.open(IO_ReadOnly))
+ return false;
+
diff --git a/redhat/kdegames/trinity-kdegames-3.5.13.spec b/redhat/kdegames/trinity-kdegames-3.5.13.spec
index 1595a17f5..a3d0206a3 100644
--- a/redhat/kdegames/trinity-kdegames-3.5.13.spec
+++ b/redhat/kdegames/trinity-kdegames-3.5.13.spec
@@ -2,7 +2,7 @@
%if "%{?version}" == ""
%define version 3.5.13
%endif
-%define release 2
+%define release 3
# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt".
%if "%{?_prefix}" != "/usr"
@@ -32,7 +32,10 @@ URL: http://www.trinitydesktop.org/
Prefix: %{_prefix}
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
-Source: kdegames-%{version}.tar.gz
+Source: kdegames-%{version}.tar.gz
+
+# [kdegames/ktuberling] Fix ktuberling pictures loading
+Patch0: kdegames-3.5.13-ktuberling_fail_load_picture.patch
Provides: kdegames3 = %{version}-%{release}
@@ -72,6 +75,7 @@ License: LGPLv2
%prep
%setup -q -n kdegames
+%patch0 -p1
# Ugly hack to modify TQT include directory inside autoconf files.
# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 !
@@ -89,10 +93,6 @@ unset QTDIR || : ; . /etc/profile.d/qt.sh
export PATH="%{_bindir}:${PATH}"
export LDFLAGS="-L%{_libdir} -I%{_includedir}"
-%if 0%{?fedora} > 0
-export CXXFLAGS="${CXXFLAGS} -lkio"
-%endif
-
%configure \
--enable-new-ldflags \
--disable-dependency-tracking \
@@ -192,6 +192,9 @@ update-desktop-database %{_datadir}/applications > /dev/null 2>&1 || :
%changelog
+* Sun Dec 04 2011 Francois Andriot <francois.andriot@free.fr> - 3.5.13-3
+- Fix ktuberling picture loading [TDE Bug #638]
+
* Fri Nov 25 2011 Francois Andriot <francois.andriot@free.fr> - 3.5.13-2
- Fix HTML directory location