From 5e633546ab14194c42b3d7b2b6ecdff9ef797f8e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fran=C3=A7ois=20Andriot?= Date: Fri, 2 Aug 2013 10:54:12 +0200 Subject: RPM Packaging: update tdebase --- redhat/tdebase/tdebase-14.0.0-ftbfs.patch | 60 ------------------------------- redhat/tdebase/tdebase-14.0.0.spec | 28 ++++++++------- 2 files changed, 16 insertions(+), 72 deletions(-) delete mode 100644 redhat/tdebase/tdebase-14.0.0-ftbfs.patch diff --git a/redhat/tdebase/tdebase-14.0.0-ftbfs.patch b/redhat/tdebase/tdebase-14.0.0-ftbfs.patch deleted file mode 100644 index df63746b4..000000000 --- a/redhat/tdebase/tdebase-14.0.0-ftbfs.patch +++ /dev/null @@ -1,60 +0,0 @@ ---- trinity-tdebase-14.0.0~pre738+d41051b3/kcontrol/background/CMakeLists.txt.ORI 2013-07-17 15:07:53.620475336 +0200 -+++ trinity-tdebase-14.0.0~pre738+d41051b3/kcontrol/background/CMakeLists.txt 2013-07-17 15:08:37.773235444 +0200 -@@ -23,6 +23,7 @@ - - link_directories( - ${TQT_LIBRARY_DIRS} -+ ${LIBART_LIBRARY_DIRS} - ) - - ##### bgnd (static) ############################# ---- trinity-tdebase-14.0.0~pre738+d41051b3/kcontrol/kicker/CMakeLists.txt.ftbfs 2013-07-17 15:10:49.001523716 +0200 -+++ trinity-tdebase-14.0.0~pre738+d41051b3/kcontrol/kicker/CMakeLists.txt 2013-07-17 15:11:58.278148735 +0200 -@@ -22,6 +22,7 @@ - - link_directories( - ${TQT_LIBRARY_DIRS} -+ ${LIBART_LIBRARY_DIRS} - ) - - ##### other data ################################ ---- trinity-tdebase-14.0.0~pre738+d41051b3/kcontrol/tdm/CMakeLists.txt.ftbfs 2013-07-17 15:14:35.389300184 +0200 -+++ trinity-tdebase-14.0.0~pre738+d41051b3/kcontrol/tdm/CMakeLists.txt 2013-07-17 15:14:41.479267342 +0200 -@@ -19,6 +19,7 @@ - - link_directories( - ${TQT_LIBRARY_DIRS} -+ ${LIBART_LIBRARY_DIRS} - ) - - ##### other data ################################ ---- trinity-tdebase-14.0.0~pre738+d41051b3/kcontrol/icons/CMakeLists.txt.ftbfs 2013-07-17 15:16:26.158703430 +0200 -+++ trinity-tdebase-14.0.0~pre738+d41051b3/kcontrol/icons/CMakeLists.txt 2013-07-17 15:16:31.722673486 +0200 -@@ -19,6 +19,7 @@ - - link_directories( - ${TQT_LIBRARY_DIRS} -+ ${LIBART_LIBRARY_DIRS} - ) - - ##### other data ################################ ---- trinity-tdebase-14.0.0~pre738+d41051b3/tdm/kfrontend/CMakeLists.txt.ftbfs 2013-07-17 15:22:20.506802399 +0200 -+++ trinity-tdebase-14.0.0~pre738+d41051b3/tdm/kfrontend/CMakeLists.txt 2013-07-17 15:22:27.893762894 +0200 -@@ -26,6 +26,7 @@ - - link_directories( - ${TQT_LIBRARY_DIRS} -+ ${LIBART_LIBRARY_DIRS} - ) - - ---- trinity-tdebase-14.0.0~pre738+d41051b3/kdesktop/CMakeLists.txt.ftbfs 2013-07-17 15:26:02.711616155 +0200 -+++ trinity-tdebase-14.0.0~pre738+d41051b3/kdesktop/CMakeLists.txt 2013-07-17 15:26:08.085587520 +0200 -@@ -36,6 +36,7 @@ - - link_directories( - ${TQT_LIBRARY_DIRS} -+ ${LIBART_LIBRARY_DIRS} - ) - - diff --git a/redhat/tdebase/tdebase-14.0.0.spec b/redhat/tdebase/tdebase-14.0.0.spec index 31d1c786f..f661ce78f 100644 --- a/redhat/tdebase/tdebase-14.0.0.spec +++ b/redhat/tdebase/tdebase-14.0.0.spec @@ -43,7 +43,6 @@ Prefix: %{tde_prefix} BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) Source0: %{name}-%{version}%{?preversion:~%{preversion}}.tar.gz -Patch0: tdebase-14.0.0-ftbfs.patch # Pam configuration files for RHEL / Fedora %if 0%{?suse_version} == 0 @@ -72,18 +71,21 @@ Source9: mgabutton.svg %endif # Patch party ! + +# Permanent patches, all TDE versions ## [tdebase/kdesktop] Modifies 'open terminal here' on desktop [RHEL/Fedora] Patch1: tdebase-14.0.0-open_terminal_here.patch -## [tdebase/starttde] Sets default Start Icon in 'kickerrc' [RHEL/Fedora] +## [tdebase] Sets default Start Icon in 'kickerrc' [RHEL/Fedora] Patch2: tdebase-14.0.0-default_menu_icon.patch ## [tdebase/kcontrol] Adds FR translation for KCM ICC Patch3: tdebase-14.0.0-displayconfig_translation.patch -## [tdebase/kcontrol] Adds default entries for Kickoff menu +## [tdebase/kicker] Adds default entries for Kickoff menu Patch4: tdebase-14.0.0-kickoff_default_favs.patch ## [tdebase] Changes konsole default word separator Patch5: tdebase-14.0.0-konsole_wordseps.patch -## [tdebase] Fix i18n description loading in 'twin_update_default_rules' -Patch6: tdebase-14.0.0-fix_twin_rules_translation.patch + +# Permanent patches, this TDE version only +# None ! # Patches from Mandriva Patch101: tdebase-14.0.0-vibrate_dialog.patch @@ -95,7 +97,8 @@ Patch106: tdebase-14.0.0-bookmark_global_copy.patch # Experimental patches Patch201: tdebase-14.0.0-kcm_xcursor_applytheme.patch - +## [tdebase] Fix i18n description loading in 'twin_update_default_rules' +Patch202: tdebase-14.0.0-fix_twin_rules_translation.patch ### Distribution-specific settings ### @@ -1169,7 +1172,7 @@ TDE applications, particularly those in the TDE base module. %{tde_bindir}/kcminit %{tde_bindir}/kcminit_startup %{tde_bindir}/kdcop -%{tde_bindir}/tdekbdledsync +%attr(4755,root,root) %{tde_bindir}/tdekbdledsync %{tde_bindir}/tdesu %attr(0755,root,root) %{tde_bindir}/tdesud %{tde_bindir}/kdialog @@ -1536,6 +1539,7 @@ needed for a basic TDE desktop installation. %exclude %{tde_datadir}/sounds/pop.wav %{tde_datadir}/sounds/ %{tde_datadir}/wallpapers/* + # XDG directories information %{_sysconfdir}/xdg/menus/applications-merged/tde-essential.menu %{_sysconfdir}/xdg/menus/tde-information.menu @@ -3211,13 +3215,11 @@ Windows and Samba shares. %prep %setup -q -n %{name}-%{version}%{?preversion:~%{preversion}} -%patch0 -p1 -b .ftbfs %patch1 -p1 -b .openterminalhere %patch2 -p1 -b .startmenuicon %patch3 -p1 -b .displayconfigtranslation %patch4 -p1 -b .kickoffdefaultsfav %patch5 -p1 -b .konsolewordseps -%patch6 -p1 -b .twintranslation %patch101 -p1 -b .vibrate_dialog %patch102 -p1 -b .kcontrol_menu_entry @@ -3227,6 +3229,7 @@ Windows and Samba shares. %patch106 -p1 -b .bookmark_global_copy %patch201 -p1 -b .kcmxcursor +%patch202 -p1 -b .twintranslation # Applies an optional distro-specific graphical theme %if "%{?tde_bg}" != "" @@ -3254,7 +3257,7 @@ Windows and Samba shares. %__sed -i "tdm/config.def" \ -e "s|Welcome to Trinity |Welcome to %{tde_aboutlabel} |" -# TDE default directory in 'starttde' script (KDEDIR) +# TDE default directory and icon in startup script %__sed -i "starttde" \ -e "s|/opt/trinity|%{tde_prefix}|g" \ -e "s|%%{tde_starticon}|%{tde_starticon}|g" @@ -3269,7 +3272,7 @@ Windows and Samba shares. %build -unset QTDIR +unset QTDIR QTINC QTLIB export PATH="%{tde_bindir}:${PATH}" export PKG_CONFIG_PATH="%{tde_libdir}/pkgconfig" export CMAKE_INCLUDE_PATH="%{tde_includedir}:%{tde_includedir}/tqt" @@ -3298,6 +3301,7 @@ cd build -DCMAKE_CXX_FLAGS="-DNDEBUG" \ -DCMAKE_SKIP_RPATH=OFF \ -DCMAKE_VERBOSE_MAKEFILE=ON \ + -DWITH_GCC_VISIBILITY=ON \ \ -DBIN_INSTALL_DIR="%{tde_bindir}" \ -DINCLUDE_INSTALL_DIR="%{tde_tdeincludedir}" \ @@ -3330,7 +3334,7 @@ cd build -DWITH_XINERAMA=ON \ -DWITH_ARTS=ON \ -DWITH_I8K=ON \ - %{?with_hal:-DWITH_HAL=ON} %{?!with_hal:-DWITH_HAL=OFF} \ + %{?with_hal:-DWITH_HAL=ON} \ -DWITH_TDEHWLIB=ON \ -DWITH_UPOWER=ON \ -DWITH_GCC_VISIBILITY=ON \ -- cgit v1.2.1