lxqt-globalkeys 0.11.0
authorYaakov Selkowitz <yselkowi@redhat.com>
Mon, 7 Nov 2016 19:18:40 +0000 (13:18 -0600)
committerYaakov Selkowitz <yselkowi@redhat.com>
Mon, 7 Nov 2016 19:18:40 +0000 (13:18 -0600)
0.10.0-cmake-install.patch [new file with mode: 0644]
0.10.0-std-c++11.patch [new file with mode: 0644]
0.8.0-cmake-install.patch [deleted file]
0.9.0-dllexport.patch [deleted file]
lxqt-globalkeys.cygport

diff --git a/0.10.0-cmake-install.patch b/0.10.0-cmake-install.patch
new file mode 100644 (file)
index 0000000..1aa6c65
--- /dev/null
@@ -0,0 +1,28 @@
+--- origsrc/lxqt-globalkeys-0.10.0/client/CMakeLists.txt       2015-10-30 19:10:45.000000000 -0500
++++ src/lxqt-globalkeys-0.10.0/client/CMakeLists.txt   2016-07-31 21:21:48.625991000 -0500
+@@ -204,8 +204,10 @@ configure_file(
+ install(TARGETS
+     ${PROJECT_NAME}
+-    DESTINATION "${CMAKE_INSTALL_LIBDIR}"
+     EXPORT ${PROJECT_NAME}-targets
++    LIBRARY DESTINATION "${CMAKE_INSTALL_LIBDIR}"
++    RUNTIME DESTINATION "bin"
++    ARCHIVE DESTINATION "${CMAKE_INSTALL_LIBDIR}"
+     COMPONENT Runtime
+ )
+--- origsrc/lxqt-globalkeys-0.10.0/ui/CMakeLists.txt   2015-10-30 19:10:45.000000000 -0500
++++ src/lxqt-globalkeys-0.10.0/ui/CMakeLists.txt       2016-07-31 21:23:15.952370700 -0500
+@@ -177,8 +177,10 @@ endforeach()
+ install(TARGETS
+     ${PROJECT_NAME}
+-    DESTINATION "${CMAKE_INSTALL_LIBDIR}"
+     EXPORT ${PROJECT_NAME}-targets
++    LIBRARY DESTINATION "${CMAKE_INSTALL_LIBDIR}"
++    RUNTIME DESTINATION "bin"
++    ARCHIVE DESTINATION "${CMAKE_INSTALL_LIBDIR}"
+     COMPONENT Runtime
+ )
diff --git a/0.10.0-std-c++11.patch b/0.10.0-std-c++11.patch
new file mode 100644 (file)
index 0000000..69461e1
--- /dev/null
@@ -0,0 +1,10 @@
+--- origsrc/lxqt-globalkeys-0.10.0/daemon/main.cpp     2015-10-30 19:10:45.000000000 -0500
++++ src/lxqt-globalkeys-0.10.0/daemon/main.cpp 2016-07-31 21:25:24.647041600 -0500
+@@ -25,6 +25,7 @@
+  *
+  * END_COMMON_COPYRIGHT_HEADER */
++#define _BSD_SOURCE
+ #include <LXQt/Application>
+ #include <QString>
diff --git a/0.8.0-cmake-install.patch b/0.8.0-cmake-install.patch
deleted file mode 100644 (file)
index 3eae3b7..0000000
+++ /dev/null
@@ -1,22 +0,0 @@
---- origsrc/lxqt-globalkeys-0.8.0/client/CMakeLists.txt        2014-10-10 18:41:14.000000000 -0500
-+++ src/lxqt-globalkeys-0.8.0/client/CMakeLists.txt    2014-11-25 17:25:15.408538700 -0600
-@@ -202,7 +202,7 @@ create_portable_headers(${PROJECT_NAME}_
-     NAMESPACE "${${PROJECT_NAME}_NAMESPACE}/"
-     FILENAMES ${${PROJECT_NAME}_PUBLIC_CLASSES}
- )
--install(TARGETS ${PROJECT_NAME} DESTINATION ${LIB_INSTALL_DIR} COMPONENT runtime)
-+install(TARGETS ${PROJECT_NAME} RUNTIME DESTINATION bin LIBRARY ARCHIVE DESTINATION ${LIB_INSTALL_DIR} COMPONENT runtime)
- install(FILES ${${PROJECT_NAME}_MAIN_HEADER} DESTINATION include/${PROJECT_NAME} COMPONENT development)
- install(FILES ${${PROJECT_NAME}_MAIN_HEADER} DESTINATION include/${PROJECT_NAME} COMPONENT development RENAME "lxqtglobalkeys.h")
- install(FILES ${${PROJECT_NAME}_PORTABLE_HEADERS} DESTINATION include/${PROJECT_NAME}/${${PROJECT_NAME}_HEADER_NAMESPACE} COMPONENT development)
---- origsrc/lxqt-globalkeys-0.8.0/ui/CMakeLists.txt    2014-10-10 18:41:14.000000000 -0500
-+++ src/lxqt-globalkeys-0.8.0/ui/CMakeLists.txt        2014-11-25 17:25:15.417539800 -0600
-@@ -181,7 +181,7 @@ create_portable_headers(${PROJECT_NAME}_
-     FILENAMES ${${PROJECT_NAME}_PUBLIC_CLASSES}
- )
--install(TARGETS ${PROJECT_NAME} DESTINATION ${LIB_INSTALL_DIR} COMPONENT runtime)
-+install(TARGETS ${PROJECT_NAME} RUNTIME DESTINATION bin LIBRARY ARCHIVE DESTINATION ${LIB_INSTALL_DIR} COMPONENT runtime)
- install(FILES ${${PROJECT_NAME}_PUBLIC_HEADERS} DESTINATION include/${PROJECT_NAME} COMPONENT development)
- install(FILES ${${PROJECT_NAME}_PUBLIC_HEADERS} DESTINATION include/${PROJECT_NAME} COMPONENT development RENAME "shortcutselector.h")
- install(FILES ${${PROJECT_NAME}_PORTABLE_HEADERS} DESTINATION include/${PROJECT_NAME}/${${PROJECT_NAME}_HEADER_NAMESPACE} COMPONENT development)
diff --git a/0.9.0-dllexport.patch b/0.9.0-dllexport.patch
deleted file mode 100644 (file)
index af2a99f..0000000
+++ /dev/null
@@ -1,15 +0,0 @@
---- origsrc/lxqt-globalkeys-0.9.0/ui/shortcut_selector.h       2015-01-07 07:25:33.000000000 -0600
-+++ src/lxqt-globalkeys-0.9.0/ui/shortcut_selector.h   2015-04-28 19:36:37.492912600 -0500
-@@ -40,7 +40,11 @@ namespace GlobalKeyShortcut
- class Client;
- }
--class ShortcutSelector : public QToolButton
-+#ifndef SHARED_EXPORT
-+#define SHARED_EXPORT Q_DECL_IMPORT
-+#endif
-+
-+class SHARED_EXPORT ShortcutSelector : public QToolButton
- {
-     Q_OBJECT
- public:
index 342ec93619b8545deab138e6a8795007259192e4..c50e2bd94932b0e605b9c72448678e5a79c4ddde 100644 (file)
@@ -1,7 +1,7 @@
 inherit qt5 cmake
 
 NAME="lxqt-globalkeys"
-VERSION=0.9.0
+VERSION=0.11.0
 RELEASE=1
 CATEGORY="X11"
 SUMMARY="LXQt keyboard shortcuts daemon"
@@ -11,16 +11,18 @@ lightweight, modular, blazing-fast and user-friendly desktop environment."
 HOMEPAGE="http://lxqt.org/"
 SRC_URI="http://downloads.lxqt.org/lxqt/${VERSION}/${NAME}-${VERSION}.tar.xz"
 PATCH_URI="
-       0.8.0-cmake-install.patch
-       0.9.0-dllexport.patch
+       0.10.0-cmake-install.patch
+       0.10.0-std-c++11.patch
 "
 
 PKG_NAMES="${NAME} lib${NAME}0 lib${NAME}-devel"
-lxqt_globalkeys_CONTENTS="usr/bin/*.exe usr/share/applications/ usr/share/doc/ usr/share/lxqt/"
+lxqt_globalkeys_CONTENTS="usr/bin/*.exe usr/share/applications/ usr/share/doc/"
 liblxqt_globalkeys0_CATEGORY="Libs"
 liblxqt_globalkeys0_SUMMARY="LXQt keyboard shortcut client library"
 liblxqt_globalkeys0_CONTENTS="usr/bin/cyglxqt-globalkeys*-0.dll"
 liblxqt_globalkeys_devel_CATEGORY="Libs"
 liblxqt_globalkeys_devel_SUMMARY=${liblxqt_globalkeys_0_SUMMARY}
 liblxqt_globalkeys_devel_OBSOLETES="liblxqt-globalkeys-qt5-devel"
-liblxqt_globalkeys_devel_CONTENTS="usr/include/ usr/lib/"
+liblxqt_globalkeys_devel_CONTENTS="usr/include/ usr/lib/ usr/share/cmake/${NAME}*/"
+
+CYGCMAKE_ARGS="-DPULL_TRANSLATIONS=OFF"
This page took 0.043263 seconds and 5 git commands to generate.