summaryrefslogtreecommitdiffstats
path: root/redhat/tdelibs
diff options
context:
space:
mode:
authorFrançois Andriot <albator78@libertysurf.fr>2013-09-08 19:18:46 +0200
committerFrançois Andriot <albator78@libertysurf.fr>2013-09-08 19:18:46 +0200
commitc56eddf6d066544f75355c5a999e1436f4aead78 (patch)
tree95f2202df7ddae113882b0cfab28701b4f15633e /redhat/tdelibs
parent712bf363997de9da621b9f2b39a3775493dc0ef3 (diff)
downloadtde-packaging-c56eddf6d066544f75355c5a999e1436f4aead78.tar.gz
tde-packaging-c56eddf6d066544f75355c5a999e1436f4aead78.zip
RPM Packaging: updates for 3.5.13.2
Diffstat (limited to 'redhat/tdelibs')
-rw-r--r--redhat/tdelibs/tdelibs-3.5.13.2-fix_arts_include.patch25
-rw-r--r--redhat/tdelibs/tdelibs-3.5.13.2.spec3
2 files changed, 28 insertions, 0 deletions
diff --git a/redhat/tdelibs/tdelibs-3.5.13.2-fix_arts_include.patch b/redhat/tdelibs/tdelibs-3.5.13.2-fix_arts_include.patch
new file mode 100644
index 000000000..34cca461b
--- /dev/null
+++ b/redhat/tdelibs/tdelibs-3.5.13.2-fix_arts_include.patch
@@ -0,0 +1,25 @@
+diff --git a/arts/kde/CMakeLists.txt b/arts/kde/CMakeLists.txt
+index 3b58525..091be35 100644
+--- a/arts/kde/CMakeLists.txt
++++ b/arts/kde/CMakeLists.txt
+@@ -27,11 +27,6 @@ link_directories(
+ ${ARTS_LIBRARY_DIRS}
+ )
+
+-# pkg-config stripping -I/usr/include
+-if( NOT ARTS_INCLUDE_DIRS )
+- set( ARTS_INCLUDE_DIRS "/usr/include" )
+-endif()
+-
+
+ ##### headers ###################################
+
+@@ -58,7 +53,7 @@ set( ${target}_SRCS
+ add_custom_command(
+ OUTPUT artskde.cc artskde.h
+ COMMAND ${ARTS_MCOPIDL_EXECUTABLE}
+- -I${ARTS_INCLUDE_DIRS} ${CMAKE_CURRENT_SOURCE_DIR}/artskde.idl
++ -I${ARTS_INCLUDEDIR} ${CMAKE_CURRENT_SOURCE_DIR}/artskde.idl
+ DEPENDS artskde.idl
+ )
+
diff --git a/redhat/tdelibs/tdelibs-3.5.13.2.spec b/redhat/tdelibs/tdelibs-3.5.13.2.spec
index d490fec26..1956c6237 100644
--- a/redhat/tdelibs/tdelibs-3.5.13.2.spec
+++ b/redhat/tdelibs/tdelibs-3.5.13.2.spec
@@ -38,6 +38,8 @@ Source0: %{name}-%{version}%{?preversion:~%{preversion}}.tar.gz
Patch1: tdelibs-3.5.13.2-fix_xdg_menu.patch
# Fix startup of KDE4 applications
Patch2: tdelibs-3.5.13.2-fix-starting-kde4-applications.patch
+# Fix ARTS includes directory
+Patch3: tdelibs-3.5.13.2-fix_arts_include.patch
# Patches from Mandriva
Patch101: tdelibs-3.5.13.2-xdg_dirs_set_path.patch
@@ -374,6 +376,7 @@ applications for TDE.
%setup -q -n %{name}-%{version}%{?preversion:~%{preversion}}
%patch1 -p1 -b .xdg
%patch2 -p1 -b .kde4
+%patch3 -p1 -b .arts
%patch101 -p1 -b .xdg_path
%patch102 -p1 -b .cups_by_default