summaryrefslogtreecommitdiffstats
path: root/redhat/applications/tde-style-qtcurve
diff options
context:
space:
mode:
authorFrançois Andriot <albator78@libertysurf.fr>2015-05-03 12:28:45 +0200
committerFrançois Andriot <albator78@libertysurf.fr>2015-05-03 12:28:45 +0200
commitcc95c54618cf2d83930f6364bfbc19b1cfcd7b95 (patch)
treee542784255e083c7324f1fb1e130bc414a40edd4 /redhat/applications/tde-style-qtcurve
parent997c042e21f63d4be61e38937554fcdc8306efa4 (diff)
downloadtde-packaging-cc95c54618cf2d83930f6364bfbc19b1cfcd7b95.tar.gz
tde-packaging-cc95c54618cf2d83930f6364bfbc19b1cfcd7b95.zip
RPM packaging: update tde-guidance, style-lipstik, style-qtcurve, tdepowersave, tderadio, tdesudo
Diffstat (limited to 'redhat/applications/tde-style-qtcurve')
-rw-r--r--redhat/applications/tde-style-qtcurve/kde-style-qtcurve-1.6.2-libsuffix.patch11
-rw-r--r--redhat/applications/tde-style-qtcurve/kde-style-qtcurve-3.5.13-fix_config_ftbfs.patch101
-rw-r--r--redhat/applications/tde-style-qtcurve/kde-style-qtcurve-3.5.13-fix_kde_style_compilation.patch243
-rw-r--r--redhat/applications/tde-style-qtcurve/kde-style-qtcurve-3.5.13-fix_tqt_renaming.patch237
-rw-r--r--redhat/applications/tde-style-qtcurve/kde-style-qtcurve-3.5.13.1.spec141
-rw-r--r--redhat/applications/tde-style-qtcurve/kde-style-qtcurve-3.5.13.spec140
-rw-r--r--redhat/applications/tde-style-qtcurve/tde-style-qtcurve-14.0.0.spec102
7 files changed, 71 insertions, 904 deletions
diff --git a/redhat/applications/tde-style-qtcurve/kde-style-qtcurve-1.6.2-libsuffix.patch b/redhat/applications/tde-style-qtcurve/kde-style-qtcurve-1.6.2-libsuffix.patch
deleted file mode 100644
index d7e8df30c..000000000
--- a/redhat/applications/tde-style-qtcurve/kde-style-qtcurve-1.6.2-libsuffix.patch
+++ /dev/null
@@ -1,11 +0,0 @@
---- kde-style-qtcurve/CMakeLists.txt.ORI 2011-11-20 22:37:40.050443616 +0100
-+++ kde-style-qtcurve/CMakeLists.txt 2011-11-20 22:40:04.355439569 +0100
-@@ -46,7 +46,7 @@
- if (QT_PLUGINS_DIR MATCHES NOTFOUND)
- MESSAGE(STATUS_ERROR "Qt3 package not found--assuming TQt4")
- SET(QT_INCLUDE_DIR "/usr/include/qt4")
-- SET(QT_PLUGINS_DIR "${KDE3PREFIX}/lib/trinity/plugins")
-+ SET(QT_PLUGINS_DIR "${KDE3PREFIX}/lib${LIB_SUFFIX}/trinity/plugins")
- endif (QT_PLUGINS_DIR MATCHES NOTFOUND)
- endif (NOT QTC_QT_ONLY)
-
diff --git a/redhat/applications/tde-style-qtcurve/kde-style-qtcurve-3.5.13-fix_config_ftbfs.patch b/redhat/applications/tde-style-qtcurve/kde-style-qtcurve-3.5.13-fix_config_ftbfs.patch
deleted file mode 100644
index 18c9e9ee7..000000000
--- a/redhat/applications/tde-style-qtcurve/kde-style-qtcurve-3.5.13-fix_config_ftbfs.patch
+++ /dev/null
@@ -1,101 +0,0 @@
---- a/config/qtcurveconfig.cpp.ORI 2012-08-29 22:09:16.845292598 +0200
-+++ a/config/qtcurveconfig.cpp 2012-08-29 22:13:35.992935999 +0200
-@@ -671,7 +671,7 @@
- connect(activeTabAppearance, SIGNAL(activated(int)), SLOT(activeTabAppearanceChanged()));
- connect(toolbarSeparators, SIGNAL(activated(int)), SLOT(updateChanged()));
- connect(splitters, SIGNAL(activated(int)), SLOT(updateChanged()));
-- connect(fixParentlessDialogs, SIGNAL(toggled(bool)), SLOT(updateChanged()));
-+// connect(fixParentlessDialogs, SIGNAL(toggled(bool)), SLOT(updateChanged()));
- connect(fillSlider, SIGNAL(toggled(bool)), SLOT(updateChanged()));
- connect(sliderStyle, SIGNAL(activated(int)), SLOT(updateChanged()));
- connect(roundMbTopOnly, SIGNAL(toggled(bool)), SLOT(updateChanged()));
-@@ -749,10 +749,10 @@
- connect(gtkButtonOrder, SIGNAL(toggled(bool)), SLOT(updateChanged()));
- connect(mapKdeIcons, SIGNAL(toggled(bool)), SLOT(updateChanged()));
- connect(passwordChar, SIGNAL(clicked()), SLOT(passwordCharClicked()));
-- connect(framelessGroupBoxes, SIGNAL(toggled(bool)), SLOT(updateChanged()));
-+// connect(framelessGroupBoxes, SIGNAL(toggled(bool)), SLOT(updateChanged()));
- connect(colorMenubarMouseOver, SIGNAL(toggled(bool)), SLOT(updateChanged()));
- connect(useHighlightForMenu, SIGNAL(toggled(bool)), SLOT(updateChanged()));
-- connect(groupBoxLine, SIGNAL(toggled(bool)), SLOT(updateChanged()));
-+// connect(groupBoxLine, SIGNAL(toggled(bool)), SLOT(updateChanged()));
- connect(fadeLines, SIGNAL(toggled(bool)), SLOT(updateChanged()));
- connect(menuIcons, SIGNAL(toggled(bool)), SLOT(updateChanged()));
- connect(stdBtnSizes, SIGNAL(toggled(bool)), SLOT(updateChanged()));
-@@ -1436,7 +1436,7 @@
- opts.shadeMenubarOnlyWhenActive=shadeMenubarOnlyWhenActive->isChecked();
- opts.thinnerMenuItems=thinnerMenuItems->isChecked();
- opts.thinnerBtns=thinnerBtns->isChecked();
-- opts.fixParentlessDialogs=fixParentlessDialogs->isChecked();
-+// opts.fixParentlessDialogs=fixParentlessDialogs->isChecked();
- opts.animatedProgress=animatedProgress->isChecked();
- opts.stripedProgress=(EStripe)stripedProgress->currentItem();
- opts.lighterPopupMenuBgnd=lighterPopupMenuBgnd->value();
-@@ -1526,11 +1526,11 @@
- opts.gtkButtonOrder=gtkButtonOrder->isChecked();
- opts.mapKdeIcons=mapKdeIcons->isChecked();
- opts.passwordChar=toInt(passwordChar->text());
-- opts.framelessGroupBoxes=framelessGroupBoxes->isChecked();
-+// opts.framelessGroupBoxes=framelessGroupBoxes->isChecked();
- opts.customGradient=customGradient;
- opts.colorMenubarMouseOver=colorMenubarMouseOver->isChecked();
- opts.useHighlightForMenu=useHighlightForMenu->isChecked();
-- opts.groupBoxLine=groupBoxLine->isChecked();
-+// opts.groupBoxLine=groupBoxLine->isChecked();
- opts.fadeLines=fadeLines->isChecked();
- opts.menuIcons=menuIcons->isChecked();
- opts.stdBtnSizes=stdBtnSizes->isChecked();
-@@ -1575,7 +1575,7 @@
- shadeMenubarOnlyWhenActive->setChecked(opts.shadeMenubarOnlyWhenActive);
- thinnerMenuItems->setChecked(opts.thinnerMenuItems);
- thinnerBtns->setChecked(opts.thinnerBtns);
-- fixParentlessDialogs->setChecked(opts.fixParentlessDialogs);
-+// fixParentlessDialogs->setChecked(opts.fixParentlessDialogs);
- animatedProgress->setChecked(opts.animatedProgress);
- stripedProgress->setCurrentItem(opts.stripedProgress);
- embolden->setChecked(opts.embolden);
-@@ -1651,7 +1651,7 @@
- customCheckRadioColor->setColor(opts.customCheckRadioColor);
- colorMenubarMouseOver->setChecked(opts.colorMenubarMouseOver);
- useHighlightForMenu->setChecked(opts.useHighlightForMenu);
-- groupBoxLine->setChecked(opts.groupBoxLine);
-+// groupBoxLine->setChecked(opts.groupBoxLine);
- fadeLines->setChecked(opts.fadeLines);
- menuIcons->setChecked(opts.menuIcons);
- stdBtnSizes->setChecked(opts.stdBtnSizes);
-@@ -1678,7 +1678,7 @@
- gtkButtonOrder->setChecked(opts.gtkButtonOrder);
- mapKdeIcons->setChecked(opts.mapKdeIcons);
- setPasswordChar(opts.passwordChar);
-- framelessGroupBoxes->setChecked(opts.framelessGroupBoxes);
-+// framelessGroupBoxes->setChecked(opts.framelessGroupBoxes);
- customGradient=opts.customGradient;
- gradCombo->setCurrentItem(APPEARANCE_CUSTOM1);
-
-@@ -1731,7 +1731,7 @@
- shadeMenubarOnlyWhenActive->isChecked()!=currentStyle.shadeMenubarOnlyWhenActive ||
- thinnerMenuItems->isChecked()!=currentStyle.thinnerMenuItems ||
- thinnerBtns->isChecked()!=currentStyle.thinnerBtns ||
-- fixParentlessDialogs->isChecked()!=currentStyle.fixParentlessDialogs ||
-+// fixParentlessDialogs->isChecked()!=currentStyle.fixParentlessDialogs ||
- animatedProgress->isChecked()!=currentStyle.animatedProgress ||
- stripedProgress->currentItem()!=currentStyle.stripedProgress ||
- lighterPopupMenuBgnd->value()!=currentStyle.lighterPopupMenuBgnd ||
-@@ -1796,7 +1796,7 @@
- splitters->currentItem()!=currentStyle.splitters ||
- colorMenubarMouseOver->isChecked()!=currentStyle.colorMenubarMouseOver ||
- useHighlightForMenu->isChecked()!=currentStyle.useHighlightForMenu ||
-- groupBoxLine->isChecked()!=currentStyle.groupBoxLine ||
-+// groupBoxLine->isChecked()!=currentStyle.groupBoxLine ||
- fadeLines->isChecked()!=currentStyle.fadeLines ||
- menuIcons->isChecked()!=currentStyle.menuIcons ||
- stdBtnSizes->isChecked()!=currentStyle.stdBtnSizes ||
-@@ -1819,7 +1819,7 @@
- gtkComboMenus->isChecked()!=currentStyle.gtkComboMenus ||
- gtkButtonOrder->isChecked()!=currentStyle.gtkButtonOrder ||
- mapKdeIcons->isChecked()!=currentStyle.mapKdeIcons ||
-- framelessGroupBoxes->isChecked()!=currentStyle.framelessGroupBoxes ||
-+// framelessGroupBoxes->isChecked()!=currentStyle.framelessGroupBoxes ||
-
- getSquareFlags()!=currentStyle.square ||
- getWindowBorderFlags()!=currentStyle.windowBorder||
diff --git a/redhat/applications/tde-style-qtcurve/kde-style-qtcurve-3.5.13-fix_kde_style_compilation.patch b/redhat/applications/tde-style-qtcurve/kde-style-qtcurve-3.5.13-fix_kde_style_compilation.patch
deleted file mode 100644
index f328720a7..000000000
--- a/redhat/applications/tde-style-qtcurve/kde-style-qtcurve-3.5.13-fix_kde_style_compilation.patch
+++ /dev/null
@@ -1,243 +0,0 @@
---- kde-style-qtcurve/cmake/QtCurveQt3.cmake.ORI 2012-08-29 19:47:59.470536207 +0200
-+++ kde-style-qtcurve/cmake/QtCurveQt3.cmake 2012-08-29 19:48:50.268522398 +0200
-@@ -1,5 +1,5 @@
- FILE(GLOB GLOB_PATHS_BIN /usr/lib/qt-3*/bin/)
--FIND_PATH(QT_PLUGINS_DIR imageformats
-+FIND_PATH(QT_PLUGINS_DIR designer
- $ENV{QTDIR}/plugins
- ${GLOB_PATHS_BIN}
- /usr/local/qt/plugins
---- a/config/CMakeLists.txt.module 2011-08-22 00:39:00.000000000 +0200
-+++ a/config/CMakeLists.txt 2012-08-29 22:21:41.673500945 +0200
-@@ -4,9 +4,23 @@
- set(kstyle_qtcurve_config_PART_SRCS qtcurveconfig.cpp)
- endif (QTC_STYLE_SUPPORT)
-
--include_directories(${CMAKE_SOURCE_DIR} ${CMAKE_SOURCE_DIR}/common ${CMAKE_CURRENT_BINARY_DIR} ${CMAKE_BINARY_DIR} ${KDE3_INCLUDE_DIR} ${QT_INCLUDE_DIR})
--trinity_add_ui_files(kstyle_qtcurve_config_PART_SRCS qtcurveconfigbase.ui)
--trinity_add_kpart(kstyle_qtcurve_config ${kstyle_qtcurve_config_PART_SRCS})
--trinity_automoc(${kstyle_qtcurve_config_PART_SRCS})
--target_link_libraries(kstyle_qtcurve_config ${QT_AND_KDECORE_LIBS} kio kdeui)
--install(TARGETS kstyle_qtcurve_config DESTINATION ${KDE3_LIB_DIR}/trinity)
-+include_directories(
-+ ${CMAKE_SOURCE_DIR}
-+ ${CMAKE_SOURCE_DIR}/common
-+ ${CMAKE_CURRENT_BINARY_DIR}
-+ ${CMAKE_BINARY_DIR}
-+ ${TDE_INCLUDE_DIR}
-+ ${QT_INCLUDE_DIR}
-+)
-+
-+link_directories(
-+ ${TQT_LIBRARY_DIRS}
-+)
-+
-+tde_add_ui_files(kstyle_qtcurve_config_PART_SRCS qtcurveconfigbase.ui)
-+tde_add_kpart(kstyle_qtcurve_config
-+ MODULE
-+ SOURCES ${kstyle_qtcurve_config_PART_SRCS}
-+ LINK ${QT_AND_KDECORE_LIBS} kio kdeui
-+ DESTINATION ${TDE_LIB_DIR}/trinity)
-+tde_automoc(${kstyle_qtcurve_config_PART_SRCS})
---- a/CMakeLists.txt.module 2012-08-29 20:30:59.679915086 +0200
-+++ b/CMakeLists.txt 2012-08-29 22:09:03.118576286 +0200
-@@ -3,7 +3,7 @@
-
- set(CPACK_PACKAGE_DESCRIPTION_FILE "${CMAKE_CURRENT_SOURCE_DIR}/README")
- set(CPACK_GENERATOR "DEB;RPM;TGZ")
--set(DEBIAN_PACKAGE_DESCRIPTION "QtCurve for Qt3/KDE3")
-+set(DEBIAN_PACKAGE_DESCRIPTION "QtCurve for Qt3/TDE")
- set(DEBIAN_PACKAGE_SECTION "kde")
- set(CPACK_SOURCE_GENERATOR "TBZ2")
- set(CPACK_PACKAGE_VERSION_MAJOR "1")
-@@ -16,39 +16,64 @@
- set(CPACK_PACKAGE_FILE_NAME "${CMAKE_PROJECT_NAME}-${QTCURVE_VERSION_FULL}")
- include(CPack)
-
-+##### include essential cmake modules ###########
-+
-+include( FindPkgConfig )
-+include( CheckIncludeFile )
-+include( CheckSymbolExists )
-+include( CheckFunctionExists )
-+include( CheckCSourceCompiles )
-+include( CheckCXXSourceCompiles )
-+include( CheckTypeSize )
-+include( CheckCSourceRuns )
-+include( CheckLibraryExists )
-+
-+##### include our cmake modules #################
-+
-+set( CMAKE_MODULE_PATH "${CMAKE_SOURCE_DIR}/cmake/modules" )
-+include( TDEMacros )
-+include( TDESetupPaths )
-+
-+##### setup and find essential stuff ############
-+
-+tde_setup_paths( )
-+find_package( TQt )
-+
-+
- if(COMMAND cmake_policy)
- cmake_policy(SET CMP0003 NEW)
- endif(COMMAND cmake_policy)
-
- if (QTC_BUILD_CONFIG_MODULE)
- if (NOT QTC_QT_ONLY)
-- find_package(KDE3)
-- if (NOT KDE3_FOUND)
-+ find_package(TDE)
-+ if (NOT TDE_VERSION)
- set(QTC_QT_ONLY true)
-- message("INFO: KDE3 not found! Compiling for Qt only! (Not building the config module)")
-- endif (NOT KDE3_FOUND)
-+ message("INFO: Trinity not found! Compiling for Qt only! (Not building the config module)")
-+ endif (NOT TDE_VERSION)
- endif (NOT QTC_QT_ONLY)
- else (QTC_BUILD_CONFIG_MODULE)
- set(QTC_QT_ONLY true)
- endif (QTC_BUILD_CONFIG_MODULE)
-
- if (NOT QTC_QT_ONLY)
-- include(KDE3Macros)
-+ include(TDEMacros)
- else (NOT QTC_QT_ONLY)
-- if (NOT KDE3PREFIX)
-- SET(KDE3PREFIX "/opt/trinity")
-- endif (NOT KDE3PREFIX)
-+ if (NOT TDEPREFIX)
-+ SET(TDEPREFIX "/opt/trinity")
-+ endif (NOT TDEPREFIX)
-+endif (NOT QTC_QT_ONLY)
-
- set(QT_MT_REQUIRED TRUE)
- find_package(Qt3 REQUIRED)
- set(CMAKE_MODULE_PATH ${CMAKE_SOURCE_DIR}/cmake )
- include(QtCurveQt3)
-+ set( CMAKE_MODULE_PATH "${CMAKE_SOURCE_DIR}/cmake/modules" )
- if (QT_PLUGINS_DIR MATCHES NOTFOUND)
- MESSAGE(STATUS_ERROR "Qt3 package not found--assuming TQt4")
- SET(QT_INCLUDE_DIR "/usr/include/qt4")
-- SET(QT_PLUGINS_DIR "${KDE3PREFIX}/lib${LIB_SUFFIX}/trinity/plugins")
-+ SET(QT_PLUGINS_DIR "${TDEPREFIX}/lib${LIB_SUFFIX}/trinity/plugins")
- endif (QT_PLUGINS_DIR MATCHES NOTFOUND)
--endif (NOT QTC_QT_ONLY)
-
- #if (NOT QTC_QT_ONLY)
- exec_program(kde-config
-@@ -56,18 +81,15 @@
- OUTPUT_VARIABLE CMAKE_INSTALL_PREFIX)
- #endif (NOT QTC_QT_ONLY)
-
--SET(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -I/usr/include/tqt -include tqt.h -DTQT_THREAD_SUPPORT")
-+SET(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -I/opt/trinity/include/tqt -include tqt.h -DTQT_THREAD_SUPPORT")
-
- # NASTY HACK TO FORCE COMPILATION
- # REMOVE WHEN FIXED
- SET(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -I/opt/trinity/include")
-
--SET(QT_UIC_EXECUTABLE "/usr/bin/uic-tqt" CACHE FILEPATH "")
--SET(QT_MOC_EXECUTABLE "/usr/bin/tmoc" CACHE FILEPATH "")
--
- exec_program(kde-config
- ARGS --install locale --expandvars
-- OUTPUT_VARIABLE KDE3_LOCALE_PREFIX)
-+ OUTPUT_VARIABLE TDE_LOCALE_PREFIX)
-
- file(TO_CMAKE_PATH "$ENV{KDEDIRS}" _KDEDIRS)
-
-@@ -87,31 +109,31 @@
- endif(KDE4_KDECONFIG_EXECUTABLE)
-
- if(NOT KDE4PREFIX)
-- set(KDE4PREFIX ${KDE3PREFIX})
-+ set(KDE4PREFIX ${TDEPREFIX})
- endif(NOT KDE4PREFIX)
-
- configure_file (config.h.cmake ${CMAKE_BINARY_DIR}/config.h)
- #if (NOT QTC_QT_ONLY)
-- add_definitions(${QT_DEFINITIONS} ${KDE3_DEFINITIONS})
-- include_directories (${CMAKE_SOURCE_DIR} ${CMAKE_BINARY_DIR} ${KDE3_INCLUDES})
-+ add_definitions(${QT_DEFINITIONS} ${TDE_DEFINITIONS})
-+ include_directories (${CMAKE_SOURCE_DIR} ${CMAKE_BINARY_DIR} ${TDE_INCLUDES})
- #else (NOT QTC_QT_ONLY)
- # add_definitions(${QT_DEFINITIONS})
- # include_directories (${CMAKE_SOURCE_DIR} ${CMAKE_BINARY_DIR})
- #endif (NOT QTC_QT_ONLY)
-
--set(DATA_INSTALL_DIR ${KDE3PREFIX}/share/apps)
-+set(DATA_INSTALL_DIR ${TDEPREFIX}/share/apps)
-
--if(QTC_DEFAULT_TO_KDE3)
-- message("INFO: Defaulting to reading KDE3 settings if KDE_SESSION_VERSION is not set")
--else(QTC_DEFAULT_TO_KDE3)
-+if(QTC_DEFAULT_TO_TDE)
-+ message("INFO: Defaulting to reading TDE settings if KDE_SESSION_VERSION is not set")
-+else(QTC_DEFAULT_TO_TDE)
- message("INFO: Defaulting to reading KDE4 settings if KDE_SESSION_VERSION is not set")
--endif(QTC_DEFAULT_TO_KDE3)
-+endif(QTC_DEFAULT_TO_TDE)
-
- add_subdirectory(style)
- #if (NOT QTC_QT_ONLY)
- if (QTC_BUILD_CONFIG_MODULE)
- message("**************************************************************\n"
-- "Warning: The KDE3 config module is deprecated, and is no longer\n"
-+ "Warning: The TDE config module is deprecated, and is no longer\n"
- " actively maintained. This module NO LONGER COMPILES!\n"
- " It is recommended to use the KDE4 version instead.\n"
- "**************************************************************\n")
---- kde-style-qtcurve/po/CMakeLists.txt.ORI 2012-08-30 20:03:49.306967361 +0200
-+++ kde-style-qtcurve/po/CMakeLists.txt 2012-08-30 20:03:55.714827822 +0200
-@@ -18,7 +18,7 @@
- add_custom_command(TARGET translations
- COMMAND ${GETTEXT_MSGFMT_EXECUTABLE} --check -o ${_gmoFile} ${_poFile}
- DEPENDS ${_poFile})
-- install(FILES ${_gmoFile} DESTINATION ${KDE3_LOCALE_PREFIX}/${_langCode}/LC_MESSAGES/ RENAME ${catalogname}.mo)
-+ install(FILES ${_gmoFile} DESTINATION ${TDE_LOCALE_PREFIX}/${_langCode}/LC_MESSAGES/ RENAME ${catalogname}.mo)
- endif( _langCode )
- endforeach(_poFile ${PO_FILES})
- endif(NOT GETTEXT_MSGFMT_EXECUTABLE)
---- kde-style-qtcurve/style/CMakeLists.txt.cmake 2011-08-22 00:39:00.000000000 +0200
-+++ kde-style-qtcurve/style/CMakeLists.txt 2012-08-30 20:20:04.645840572 +0200
-@@ -1,14 +1,25 @@
- if (NOT QTC_QT_ONLY)
- set(qtcurve_SRCS qtcurve.cpp pixmaps.h)
- add_definitions(-DQT_PLUGIN)
-- include_directories(${CMAKE_SOURCE_DIR} ${CMAKE_CURRENT_BINARY_DIR} ${CMAKE_BINARY_DIR} ${KDE3_INCLUDE_DIR} ${QT_INCLUDE_DIR} ${CMAKE_SOURCE_DIR}/common)
-- link_directories(${KDE3_LIB_DIR})
-- trinity_automoc(${qtcurve_SRCS})
-- add_library(qtcurve MODULE ${qtcurve_SRCS})
-- set_target_properties(qtcurve PROPERTIES PREFIX "")
-- target_link_libraries(qtcurve ${QT_LIBRARIES} kdefx)
-- install(TARGETS qtcurve LIBRARY DESTINATION ${KDE3_LIB_DIR}/trinity/plugins/styles)
-- install(FILES qtcurve.themerc DESTINATION ${KDE3PREFIX}/share/apps/kstyle/themes)
-+ include_directories(
-+ ${CMAKE_SOURCE_DIR}
-+ ${CMAKE_CURRENT_BINARY_DIR}
-+ ${CMAKE_BINARY_DIR}
-+ ${TDE_INCLUDE_DIR}
-+ ${QT_INCLUDE_DIR}
-+ ${CMAKE_SOURCE_DIR}/common
-+ )
-+ link_directories(
-+ ${TDE_LIB_DIR}
-+ )
-+ tde_add_library(qtcurve
-+ MODULE
-+ PROPERTIES PREFIX ""
-+ SOURCES ${qtcurve_SRCS}
-+ LINK ${QT_LIBRARIES} kdefx
-+ DESTINATION ${TDE_LIB_DIR}/trinity/plugins/styles
-+ )
-+ install(FILES qtcurve.themerc DESTINATION ${TDEPREFIX}/share/apps/kstyle/themes)
- else (NOT QTC_QT_ONLY)
- set(qtcurve_MOC_CLASSES qtcurve.h qtc_kstyle.h)
- QTCURVE_QT_WRAP_CPP(qtcurve_MOC_SRCS ${qtcurve_MOC_CLASSES})
---- a/style/qtcurve.cpp.ORI 2012-08-30 20:57:36.256639146 +0200
-+++ a/style/qtcurve.cpp 2012-08-30 20:57:40.338552798 +0200
-@@ -8684,4 +8684,3 @@
- resetHover();
- }
-
--#include "qtcurve.moc"
diff --git a/redhat/applications/tde-style-qtcurve/kde-style-qtcurve-3.5.13-fix_tqt_renaming.patch b/redhat/applications/tde-style-qtcurve/kde-style-qtcurve-3.5.13-fix_tqt_renaming.patch
deleted file mode 100644
index c12fa1ebb..000000000
--- a/redhat/applications/tde-style-qtcurve/kde-style-qtcurve-3.5.13-fix_tqt_renaming.patch
+++ /dev/null
@@ -1,237 +0,0 @@
---- a/style/qtcurve.h.ORI 2012-08-30 20:50:02.179242022 +0200
-+++ a/style/qtcurve.h 2012-08-30 20:51:22.372546460 +0200
-@@ -1,5 +1,5 @@
--#ifndef __TQTCURVE_H__
--#define __TQTCURVE_H__
-+#ifndef __QTCURVE_H__
-+#define __QTCURVE_H__
-
- /*
- TQtCurve (C) Craig Drummond, 2003 - 2010 craig.p.drummond@gmail.com
-@@ -51,7 +51,7 @@
- */
-
- #include "config.h"
--#ifdef TQTC_TQT_ONLY
-+#ifdef QTC_QT_ONLY
- #include "tqtc_kstyle.h"
- #else
- #include <kdeversion.h>
-@@ -68,7 +68,7 @@
- class TQTimer;
- class TQSlider;
-
--#ifdef TQTC_TQT_ONLY
-+#ifdef QTC_QT_ONLY
- #define BASE_STYLE TQtCKStyle
- #else
- #define BASE_STYLE KStyle
-@@ -126,7 +126,7 @@
- ENTRY_NONE
- };
-
--#ifdef TQTC_STYLE_SUPPORT
-+#ifdef QTC_STYLE_SUPPORT
- TQtCurveStyle(const TQString &name=TQString());
- #else
- TQtCurveStyle();
-@@ -278,7 +278,7 @@
- mutable TQColor itsColoredBackgroundCols[TOTAL_SHADES+1];
- EApp itsThemedApp;
- mutable TQCache<TQPixmap> itsPixmapCache;
--#if defined TQTC_TQT_ONLY || !defined KDE_VERSION || KDE_VERSION >= 0x30200
-+#if defined QTC_QT_ONLY || !defined KDE_VERSION || KDE_VERSION >= 0x30200
- bool itsIsTransKicker;
- #endif
- EHover itsHover;
---- a/style/qtcurve.cpp.tqt 2012-08-30 21:28:00.664141509 +0200
-+++ a/style/qtcurve.cpp 2012-08-30 21:28:18.078781087 +0200
-@@ -62,7 +62,7 @@
- #include <tqtable.h>
-
- #include "config.h"
--#ifndef TQTC_TQT_ONLY
-+#ifndef QTC_QT_ONLY
- #include <kdeversion.h>
- #endif
- #include <tqsettings.h>
-@@ -196,7 +196,7 @@
- ? atoi(sessionVersion)<4
- ? 3
- : 4
--#ifdef TQTC_DEFAULT_TO_KDE3
-+#ifdef QTC_DEFAULT_TO_KDE3
- : 3;
- #else
- : getenv("TDE_FULL_SESSION")
-@@ -292,7 +292,7 @@
- return kdeHome[trinity ? 0 : 1];
- }
-
--#ifdef TQTC_STYLE_SUPPORT
-+#ifdef QTC_STYLE_SUPPORT
- static void getStyles(const TQString &dir, const char *sub, TQStringList &styles)
- {
- TQDir d(dir+sub);
-@@ -349,7 +349,7 @@
- TQStringList list;
- list << "TQtCurve";
-
--#ifdef TQTC_STYLE_SUPPORT
-+#ifdef QTC_STYLE_SUPPORT
- getStyles(kdeHome(useTQt3Settings()), list);
- getStyles(kdeHome(!useTQt3Settings()), list);
- getStyles(KDE_PREFIX(useTQt3Settings() ? 3 : 4), list);
-@@ -363,7 +363,7 @@
- {
- return "qtcurve"==s.lower()
- ? new TQtCurveStyle
--#ifdef TQTC_STYLE_SUPPORT
-+#ifdef QTC_STYLE_SUPPORT
- : 0==s.find(THEME_PREFIX)
- ? new TQtCurveStyle(s)
- #endif
-@@ -375,7 +375,7 @@
-
- #define SKIP_TASKBAR (APP_SKIP_TASKBAR==itsThemedApp || APP_KPRINTER==itsThemedApp || APP_KDIALOG==itsThemedApp)
-
--#if defined TQTC_TQT_ONLY || !defined KDE_VERSION || KDE_VERSION >= 0x30200
-+#if defined QTC_QT_ONLY || !defined KDE_VERSION || KDE_VERSION >= 0x30200
- #include <tqfile.h>
- #endif
-
-@@ -393,7 +393,7 @@
-
- #define DW_BGND 105
-
--#if defined TQTC_TQT_ONLY || !defined KDE_VERSION || KDE_VERSION >= 0x30200
-+#if defined QTC_QT_ONLY || !defined KDE_VERSION || KDE_VERSION >= 0x30200
- // Try to read $KDEHOME/share/config/kickerrc to find out if kicker is transparent...
-
- static bool kickerIsTrans()
-@@ -802,7 +802,7 @@
- p->restore();
- }
-
--#ifdef TQTC_STYLE_SUPPORT
-+#ifdef QTC_STYLE_SUPPORT
- TQtCurveStyle::TQtCurveStyle(const TQString &name)
- #else
- TQtCurveStyle::TQtCurveStyle()
-@@ -820,7 +820,7 @@
- itsMdiColors(0L),
- itsThemedApp(APP_OTHER),
- itsPixmapCache(150000, 499),
--#if defined TQTC_TQT_ONLY || !defined KDE_VERSION || KDE_VERSION >= 0x30200
-+#if defined QTC_QT_ONLY || !defined KDE_VERSION || KDE_VERSION >= 0x30200
- itsIsTransKicker(false),
- #endif
- itsHover(HOVER_NONE),
-@@ -835,7 +835,7 @@
- itsDragWidget(0L),
- itsDragWidgetHadMouseTracking(false)
- {
--#ifdef TQTC_STYLE_SUPPORT
-+#ifdef QTC_STYLE_SUPPORT
- TQString rcFile;
- if(!name.isEmpty())
- {
-@@ -1161,7 +1161,7 @@
- if ("kicker"==appName || "appletproxy"==appName)
- {
- itsThemedApp=APP_KICKER;
--#if defined TQTC_TQT_ONLY || !defined KDE_VERSION || KDE_VERSION >= 0x30200
-+#if defined QTC_QT_ONLY || !defined KDE_VERSION || KDE_VERSION >= 0x30200
- itsIsTransKicker=kickerIsTrans();
- #endif
- }
-@@ -1196,7 +1196,7 @@
- else if ("korn"==appName)
- {
- itsThemedApp=APP_KORN;
--#if defined TQTC_TQT_ONLY || !defined KDE_VERSION || KDE_VERSION >= 0x30200
-+#if defined QTC_QT_ONLY || !defined KDE_VERSION || KDE_VERSION >= 0x30200
- itsIsTransKicker=kickerIsTrans();
- #endif
- }
-@@ -1236,7 +1236,7 @@
-
- if(SHADE_NONE!=opts.menuStripe && opts.noMenuStripeApps.contains(appName))
- opts.menuStripe=SHADE_NONE;
--#ifdef TQTC_ENABLE_PARENTLESS_DIALOG_FIX_SUPPORT
-+#ifdef QTC_ENABLE_PARENTLESS_DIALOG_FIX_SUPPORT
- if(opts.fixParentlessDialogs && (opts.noDlgFixApps.contains(appName) || opts.noDlgFixApps.contains("kde")))
- opts.fixParentlessDialogs=false;
- #endif
-@@ -1762,7 +1762,7 @@
- ((TQGroupBox *)widget)->setFlat(false);
- ((TQGroupBox *)widget)->setFrameShape(TQFrame::NoFrame);
- }
--#ifdef TQTC_ENABLE_PARENTLESS_DIALOG_FIX_SUPPORT
-+#ifdef QTC_ENABLE_PARENTLESS_DIALOG_FIX_SUPPORT
- else if(opts.fixParentlessDialogs && ::tqqt_cast<TQDialog *>(widget))
- {
- TQDialog *dlg=(TQDialog *)widget;
-@@ -1931,7 +1931,7 @@
- }
- else if(widget->inherits("KTabCtl"))
- widget->removeEventFilter(this);
--#ifdef TQTC_ENABLE_PARENTLESS_DIALOG_FIX_SUPPORT
-+#ifdef QTC_ENABLE_PARENTLESS_DIALOG_FIX_SUPPORT
- else if(opts.fixParentlessDialogs && ::tqqt_cast<TQDialog *>(widget))
- widget->removeEventFilter(this);
- #endif
-@@ -2277,7 +2277,7 @@
- break;
- }
-
--#ifdef TQTC_ENABLE_PARENTLESS_DIALOG_FIX_SUPPORT
-+#ifdef QTC_ENABLE_PARENTLESS_DIALOG_FIX_SUPPORT
- if(opts.fixParentlessDialogs && ::tqqt_cast<TQDialog *>(object))
- {
- TQDialog *dlg=(TQDialog *)object;
-@@ -3152,7 +3152,7 @@
- if(flags&Style_Down)
- flags=((flags|Style_Down)^Style_Down)| Style_Sunken;
- flags|=Style_Enabled;
--#if defined TQTC_TQT_ONLY || !defined KDE_VERSION || KDE_VERSION >= 0x30200
-+#if defined QTC_QT_ONLY || !defined KDE_VERSION || KDE_VERSION >= 0x30200
- #if defined KDE_VERSION && KDE_VERSION >= 0x30400 && KDE_VERSION < 0x30500
- if(HOVER_KICKER==itsHover && itsHoverWidget) // && itsHoverWidget==p->device())
- flags|=Style_MouseOver;
-@@ -3161,7 +3161,7 @@
- #endif
- drawLightBevel(p, r, cg, flags|Style_Horizontal, ROUNDED_ALL,
- getFill(flags, use), use, true, false);
--#if defined TQTC_TQT_ONLY || !defined KDE_VERSION || KDE_VERSION >= 0x30200
-+#if defined QTC_QT_ONLY || !defined KDE_VERSION || KDE_VERSION >= 0x30200
- itsFormMode=false;
- #endif
- }
-@@ -3313,7 +3313,7 @@
- ? cg.background().dark(DW_BGND)
- : */cg.background(),
- p, r, cg, glassMod ? flags : flags|Style_Horizontal,
--#if defined TQTC_TQT_ONLY || !defined KDE_VERSION || KDE_VERSION >= 0x30200
-+#if defined QTC_QT_ONLY || !defined KDE_VERSION || KDE_VERSION >= 0x30200
- (APP_KORN==itsThemedApp && itsIsTransKicker && PE_ButtonTool==pe) ||
- #endif
- operaMdi || mdi
-@@ -3345,7 +3345,7 @@
-
- drawLightBevel(p, r, cg, glassMod ? flags : flags|Style_Horizontal,
- flags&CHECK_BUTTON
--#if defined TQTC_TQT_ONLY || !defined KDE_VERSION || KDE_VERSION >= 0x30200
-+#if defined QTC_QT_ONLY || !defined KDE_VERSION || KDE_VERSION >= 0x30200
- || (APP_KORN==itsThemedApp && itsIsTransKicker && PE_ButtonTool==pe)
- #endif
- ? ROUNDED_NONE : ROUNDED_ALL,
-@@ -5540,7 +5540,7 @@
- bflags|=NO_ETCH_BUTTON;
-
- // If we're pressed, on, or raised...
--#if defined TQTC_TQT_ONLY || !defined KDE_VERSION || KDE_VERSION >= 0x30200
-+#if defined QTC_QT_ONLY || !defined KDE_VERSION || KDE_VERSION >= 0x30200
- if(bflags &(Style_Down | Style_On | Style_Raised) || onControlButtons)
- #else
- if(bflags &(Style_Down | Style_On | Style_Raised | Style_MouseOver) ||
diff --git a/redhat/applications/tde-style-qtcurve/kde-style-qtcurve-3.5.13.1.spec b/redhat/applications/tde-style-qtcurve/kde-style-qtcurve-3.5.13.1.spec
deleted file mode 100644
index d039d84d3..000000000
--- a/redhat/applications/tde-style-qtcurve/kde-style-qtcurve-3.5.13.1.spec
+++ /dev/null
@@ -1,141 +0,0 @@
-# Default version for this component
-%define kdecomp kde-style-qtcurve
-
-# 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 3.5.13 specific building variables
-%define tde_bindir %{tde_prefix}/bin
-%define tde_datadir %{tde_prefix}/share
-%define tde_docdir %{tde_datadir}/doc
-%define tde_includedir %{tde_prefix}/include
-%define tde_libdir %{tde_prefix}/%{_lib}
-%define tde_mandir %{tde_datadir}/man
-%define tde_appdir %{tde_datadir}/applications
-
-%define tde_tdeappdir %{tde_appdir}/kde
-%define tde_tdedocdir %{tde_docdir}/tde
-%define tde_tdeincludedir %{tde_includedir}/tde
-%define tde_tdelibdir %{tde_libdir}/trinity
-
-%define _docdir %{tde_docdir}
-
-
-Name: trinity-style-qtcurve
-Summary: This is a set of widget styles for Trinity based apps
-Version: 0.55.2
-Release: 4%{?dist}%{?_variant}
-
-License: GPLv2+
-Group: Applications/Utilities
-
-Vendor: Trinity Project
-Packager: Francois Andriot <francois.andriot@free.fr>
-URL: http://www.trinitydesktop.org/
-
-Prefix: %{tde_prefix}
-BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
-
-Source0: %{kdecomp}-3.5.13.1.tar.gz
-
-BuildRequires: trinity-tqtinterface-devel >= 3.5.13.1
-BuildRequires: trinity-tdelibs-devel >= 3.5.13.1
-BuildRequires: trinity-tdebase-devel >= 3.5.13.1
-BuildRequires: desktop-file-utils
-BuildRequires: gettext
-
-Obsoletes: trinity-kde-style-qtcurve
-Provides: trinity-kde-style-qtcurve
-
-%description
-This package together with gtk2-engines-qtcurve aim to provide a unified look
-and feel on the desktop when using TDE and Gnome applications.
-
-This package is most useful when installed together with
-gtk2-engines-qtcurve.
-
-
-%if 0%{?suse_version} || 0%{?pclinuxos}
-%debug_package
-%endif
-
-
-%prep
-%setup -q -n %{kdecomp}-3.5.13.1
-
-
-# Ugly hack to modify TQT include directory inside autoconf files.
-# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 !
-%__sed -i "CMakeLists.txt" \
- -e "s|/usr/include/tqt|%{tde_includedir}/tqt|g" \
- -e "s|/usr/bin/uic-tqt|%{tde_bindir}/uic-tqt|g" \
- -e "s|/usr/bin/tmoc|%{tde_bindir}/tmoc|g"
-
-
-%build
-unset QTDIR || : ; . /etc/profile.d/qt3.sh
-export PATH="%{tde_bindir}:${PATH}"
-export PKG_CONFIG_PATH="%{tde_libdir}/pkgconfig:${PKG_CONFIG_PATH}"
-
-export CXXFLAGS="-I${QTINC} -I%{tde_tdeincludedir} ${CXXFLAGS}"
-
-%if 0%{?rhel} || 0%{?fedora} || 0%{?suse_version}
-%__mkdir_p build
-cd build
-%endif
-
-%cmake \
- -DBIN_INSTALL_DIR=%{tde_bindir} \
- -DINCLUDE_INSTALL_DIR=%{tde_tdeincludedir} \
- -DLIB_INSTALL_DIR=%{tde_libdir} \
- -DSHARE_INSTALL_PREFIX=%{tde_datadir} \
- -DCMAKE_SKIP_RPATH="OFF" \
- -DTDE_INCLUDE_DIR=%{tde_tdeincludedir} \
- -DQTC_QT_ONLY=false \
- -DQTC_STYLE_SUPPORT=true \
- -DBUILD_ALL=on \
- ..
-
-%__make %{?_smp_mflags}
-
-
-%install
-export PATH="%{tde_bindir}:${PATH}"
-%__rm -rf %{buildroot}
-%__make install DESTDIR=%{buildroot} -C build
-
-%find_lang qtcurve
-
-
-%clean
-%__rm -rf %{buildroot}
-
-
-
-%files -f qtcurve.lang
-%defattr(-,root,root,-)
-%doc AUTHORS COPYING
-%{tde_tdelibdir}/kstyle_qtcurve_config.la
-%{tde_tdelibdir}/kstyle_qtcurve_config.so
-%{tde_tdelibdir}/plugins/styles/qtcurve.so
-%{tde_tdelibdir}/plugins/styles/qtcurve.la
-%{tde_datadir}/apps/kdisplay/color-schemes/QtCurve.kcsrc
-%{tde_datadir}/apps/kstyle/themes/qtcurve.themerc
-%{tde_datadir}/apps/QtCurve/*.qtcurve
-
-
-%changelog
-* Wed Oct 03 2012 Francois Andriot <francois.andriot@free.fr> - 0.55.2-4
-- Initial release for TDE 3.5.13.1
-
-* Sun Sep 09 2012 Francois Andriot <francois.andriot@free.fr> - 0.55.2-3
-- Switch to v3.5.13-sru branch
-
-* Tue May 01 2012 Francois Andriot <francois.andriot@free.fr> - 0.55.2-2
-- Rebuilt for Fedora 17
-- Removes post and postun
-
-* Sat Nov 19 2011 Francois Andriot <francois.andriot@free.fr> - 0.55.2-1
-- Initial release for RHEL 5, RHEL 6, Fedora 15, Fedora 16
diff --git a/redhat/applications/tde-style-qtcurve/kde-style-qtcurve-3.5.13.spec b/redhat/applications/tde-style-qtcurve/kde-style-qtcurve-3.5.13.spec
deleted file mode 100644
index 178acd051..000000000
--- a/redhat/applications/tde-style-qtcurve/kde-style-qtcurve-3.5.13.spec
+++ /dev/null
@@ -1,140 +0,0 @@
-# Default version for this component
-%define kdecomp kde-style-qtcurve
-
-# 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 3.5.13 specific building variables
-%define tde_bindir %{tde_prefix}/bin
-%define tde_datadir %{tde_prefix}/share
-%define tde_docdir %{tde_datadir}/doc
-%define tde_includedir %{tde_prefix}/include
-%define tde_libdir %{tde_prefix}/%{_lib}
-%define tde_mandir %{tde_datadir}/man
-%define tde_appdir %{tde_datadir}/applications
-
-%define tde_tdeappdir %{tde_appdir}/kde
-%define tde_tdedocdir %{tde_docdir}/kde
-%define tde_tdeincludedir %{tde_includedir}/kde
-%define tde_tdelibdir %{tde_libdir}/trinity
-
-%define _docdir %{tde_docdir}
-
-
-Name: trinity-style-qtcurve
-Summary: This is a set of widget styles for Trinity based apps
-Version: 0.55.2
-Release: 3%{?dist}%{?_variant}
-
-License: GPLv2+
-Group: Applications/Utilities
-
-Vendor: Trinity Project
-Packager: Francois Andriot <francois.andriot@free.fr>
-URL: http://www.trinitydesktop.org/
-
-Prefix: %{tde_prefix}
-BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
-
-Source0: %{kdecomp}-3.5.13.tar.gz
-Source1: cmake-3.5.13.tar.gz
-
-# [qtcurve] Version 3.5.13-sru
-Patch0: kde-style-qtcurve-3.5.13-sru-20120909.patch
-
-BuildRequires: tqtinterface-devel
-BuildRequires: trinity-tdelibs-devel
-BuildRequires: trinity-tdebase-devel
-BuildRequires: desktop-file-utils
-BuildRequires: gettext
-
-Obsoletes: trinity-kde-style-qtcurve
-Provides: trinity-kde-style-qtcurve
-
-%description
-This package together with gtk2-engines-qtcurve aim to provide a unified look
-and feel on the desktop when using TDE and Gnome applications.
-
-This package is most useful when installed together with
-gtk2-engines-qtcurve.
-
-
-%prep
-%setup -q -n applications/%{kdecomp}
-%setup -q -n applications/%{kdecomp} -a 1
-%__mv -f cmake-3.5.13/* cmake/
-
-%patch0 -p1
-
-# Ugly hack to modify TQT include directory inside autoconf files.
-# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 !
-%__sed -i "CMakeLists.txt" \
- -e "s|/usr/include/tqt|%{tde_includedir}/tqt|g" \
- -e "s|/usr/bin/uic-tqt|%{tde_bindir}/uic-tqt|g" \
- -e "s|/usr/bin/tmoc|%{tde_bindir}/tmoc|g"
-
-
-%build
-unset QTDIR || : ; . /etc/profile.d/qt.sh
-export PATH="%{tde_bindir}:${PATH}"
-export PKG_CONFIG_PATH="%{tde_libdir}/pkgconfig:${PKG_CONFIG_PATH}"
-
-export CXXFLAGS="-I${QTINC} -I%{tde_tdeincludedir} ${CXXFLAGS}"
-
-%if 0%{?rhel} || 0%{?fedora}
-%__mkdir_p build
-cd build
-%endif
-
-%cmake \
- -DBIN_INSTALL_DIR=%{tde_bindir} \
- -DINCLUDE_INSTALL_DIR=%{tde_tdeincludedir} \
- -DLIB_INSTALL_DIR=%{tde_libdir} \
- -DSHARE_INSTALL_PREFIX=%{tde_datadir} \
- -DCMAKE_SKIP_RPATH="OFF" \
- -DTDE_INCLUDE_DIR=%{tde_tdeincludedir} \
- -DQTC_QT_ONLY=false \
- -DQTC_STYLE_SUPPORT=true \
- -DBUILD_ALL=on \
- ..
-
-%__make %{?_smp_mflags}
-
-
-%install
-export PATH="%{tde_bindir}:${PATH}"
-%__rm -rf %{buildroot}
-%__make install DESTDIR=%{buildroot} -C build
-
-%find_lang qtcurve
-
-
-%clean
-%__rm -rf %{buildroot}
-
-
-
-%files -f qtcurve.lang
-%defattr(-,root,root,-)
-%doc AUTHORS COPYING
-%{tde_tdelibdir}/kstyle_qtcurve_config.la
-%{tde_tdelibdir}/kstyle_qtcurve_config.so
-%{tde_tdelibdir}/plugins/styles/qtcurve.so
-%{tde_tdelibdir}/plugins/styles/qtcurve.la
-%{tde_datadir}/apps/kdisplay/color-schemes/QtCurve.kcsrc
-%{tde_datadir}/apps/kstyle/themes/qtcurve.themerc
-%{tde_datadir}/apps/QtCurve/*.qtcurve
-
-
-%Changelog
-* Sun Sep 09 2012 Francois Andriot <francois.andriot@free.fr> - 0.55.2-3
-- Switch to v3.5.13-sru branch
-
-* Tue May 01 2012 Francois Andriot <francois.andriot@free.fr> - 0.55.2-2
-- Rebuilt for Fedora 17
-- Removes post and postun
-
-* Sat Nov 19 2011 Francois Andriot <francois.andriot@free.fr> - 0.55.2-1
-- Initial release for RHEL 5, RHEL 6, Fedora 15, Fedora 16
diff --git a/redhat/applications/tde-style-qtcurve/tde-style-qtcurve-14.0.0.spec b/redhat/applications/tde-style-qtcurve/tde-style-qtcurve-14.0.0.spec
index b2ba06252..69489e27b 100644
--- a/redhat/applications/tde-style-qtcurve/tde-style-qtcurve-14.0.0.spec
+++ b/redhat/applications/tde-style-qtcurve/tde-style-qtcurve-14.0.0.spec
@@ -1,59 +1,95 @@
-# Default version for this component
-%define tde_pkg tde-style-qtcurve
+#
+# spec file for package tde-style-qtcurve (version R14.0.0)
+#
+# Copyright (c) 2014 Trinity Desktop Environment
+#
+# All modifications and additions to the file contributed by third parties
+# remain the property of their copyright owners, unless otherwise agreed
+# upon. The license for this file, and modifications and additions to the
+# file, is the same license as for the pristine package itself (unless the
+# license for the pristine package is not an Open Source License, in which
+# case the license is the MIT License). An "Open Source License" is a
+# license that conforms to the Open Source Definition (Version 1.9)
+# published by the Open Source Initiative.
+#
+# Please submit bugfixes or comments via http://www.trinitydesktop.org/
+#
+
+# TDE variables
+%define tde_epoch 2
%define tde_version 14.0.0
-
-# 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 specific building variables
+%define tde_pkg tde-style-qtcurve
+%define tde_prefix /opt/trinity
%define tde_bindir %{tde_prefix}/bin
%define tde_datadir %{tde_prefix}/share
%define tde_docdir %{tde_datadir}/doc
%define tde_includedir %{tde_prefix}/include
%define tde_libdir %{tde_prefix}/%{_lib}
%define tde_mandir %{tde_datadir}/man
-%define tde_appdir %{tde_datadir}/applications
-
-%define tde_tdeappdir %{tde_appdir}/tde
+%define tde_tdeappdir %{tde_datadir}/applications/tde
%define tde_tdedocdir %{tde_docdir}/tde
%define tde_tdeincludedir %{tde_includedir}/tde
%define tde_tdelibdir %{tde_libdir}/trinity
-%define _docdir %{tde_docdir}
-
-Name: trinity-tde-style-qtcurve
-Summary: This is a set of widget styles for Trinity based apps
-Version: 0.55.2
-Release: %{?!preversion:7}%{?preversion:6_%{preversion}}%{?dist}%{?_variant}
+Name: trinity-%{tde_pkg}
+Epoch: %{tde_epoch}
+Version: 0.55.2
+Release: %{?!preversion:1}%{?preversion:0_%{preversion}}%{?dist}%{?_variant}
+Summary: This is a set of widget styles for Trinity based apps
+Group: Applications/Utilities
+URL: http://www.trinitydesktop.org/
-License: GPLv2+
-Group: Applications/Utilities
+%if 0%{?suse_version}
+License: GPL-2.0+
+%else
+License: GPLv2+
+%endif
-Vendor: Trinity Project
-Packager: Francois Andriot <francois.andriot@free.fr>
-URL: http://www.trinitydesktop.org/
+#Vendor: Trinity Desktop
+#Packager: Francois Andriot <francois.andriot@free.fr>
-Prefix: %{tde_prefix}
-BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
+Prefix: %{tde_prefix}
+BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
Source0: %{name}-%{tde_version}%{?preversion:~%{preversion}}.tar.gz
-BuildRequires: trinity-tqtinterface-devel >= %{tde_version}
-BuildRequires: trinity-arts-devel >= 1:1.5.10
BuildRequires: trinity-tdelibs-devel >= %{tde_version}
BuildRequires: trinity-tdebase-devel >= %{tde_version}
BuildRequires: desktop-file-utils
-
BuildRequires: gettext
+BuildRequires: cmake libtool
+BuildRequires: gcc-c++
+BuildRequires: pkgconfig
+BuildRequires: fdupes
+
+# SUSE desktop files utility
+%if 0%{?suse_version}
+BuildRequires: update-desktop-files
+%endif
+
+%if 0%{?opensuse_bs} && 0%{?suse_version}
+# for xdg-menu script
+BuildRequires: brp-check-trinity
+%endif
+
+# IDN support
+BuildRequires: libidn-devel
+
+# GAMIN support
+# Not on openSUSE.
+%if 0%{?rhel} || 0%{?fedora} || 0%{?mgaversion} || 0%{?mdkversion}
+%define with_gamin 1
+BuildRequires: gamin-devel
+%endif
+
Obsoletes: trinity-kde-style-qtcurve < %{version}-%{release}
Provides: trinity-kde-style-qtcurve = %{version}-%{release}
Obsoletes: trinity-style-qtcurve < %{version}-%{release}
Provides: trinity-style-qtcurve = %{version}-%{release}
+
%description
This package together with gtk2-engines-qtcurve aim to provide a unified look
and feel on the desktop when using TDE and Gnome applications.
@@ -62,10 +98,14 @@ This package is most useful when installed together with
gtk2-engines-qtcurve.
-%if 0%{?suse_version} || 0%{?pclinuxos}
+##########
+
+%if 0%{?pclinuxos} || 0%{?suse_version} && 0%{?opensuse_bs} == 0
%debug_package
%endif
+##########
+
%prep
%setup -q -n %{name}-%{tde_version}%{?preversion:~%{preversion}}
@@ -137,9 +177,9 @@ export PATH="%{tde_bindir}:${PATH}"
%{tde_tdelibdir}/plugins/styles/qtcurve.la
%{tde_datadir}/apps/tdedisplay/color-schemes/QtCurve.kcsrc
%{tde_datadir}/apps/tdestyle/themes/qtcurve.themerc
-%{tde_datadir}/apps/QtCurve/*.qtcurve
+%{tde_datadir}/apps/QtCurve/
%changelog
-* Fri Jul 05 2013 Francois Andriot <francois.andriot@free.fr> - 0.55.2-7
+* Fri Jul 05 2013 Francois Andriot <francois.andriot@free.fr> - 2:0.55.2-1
- Initial release for TDE 14.0.0