File fix-path-of-headers.patch of Package qt5-ukui-platformtheme

diff -Nur qt5-ukui-platformtheme-1.0.5/libqt5-ukui-style/black-list.h qt5-ukui-platformtheme-1.0.5-new/libqt5-ukui-style/black-list.h
--- qt5-ukui-platformtheme-1.0.5/libqt5-ukui-style/black-list.h	2020-09-28 11:28:25.000000000 +0800
+++ qt5-ukui-platformtheme-1.0.5-new/libqt5-ukui-style/black-list.h	1970-01-01 08:00:00.000000000 +0800
@@ -1,53 +0,0 @@
-/*
- * Qt5-UKUI's Library
- *
- * Copyright (C) 2020, Tianjin KYLIN Information Technology Co., Ltd.
- *
- * This library is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Lesser General Public
- * License as published by the Free Software Foundation; either
- * version 3 of the License, or (at your option) any later version.
- *
- * This library is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
- * Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this library.  If not, see <https://www.gnu.org/licenses/>.
- *
- * Authors: Yue Lan <lanyue@kylinos.cn>
- *
- */
-
-#ifndef BLACKLIST_H
-#define BLACKLIST_H
-
-#include <QStringList>
-
-static const QStringList blackAppList() {
-    QStringList l;
-    //l<<"ukui-control-center";
-    l<<"ubuntu-kylin-software-center.py";
-    l<<"kylin-burner";
-    l<<"assistant";
-    l<<"sogouIme-configtool";
-    l<<"Ime Setting";
-    l<<"kylin-user-guide";
-    l<<"biometric-authentication";
-    return l;
-}
-
-static const QStringList blackAppListWithBlurHelper(){
-    QStringList l;
-    l<<"youker-assistant";
-    l<<"kylin-assistant";
-    l<<"kylin-video";
-    l<<"ukui-control-center";
-    l<<"ubuntu-kylin-software-center.py";
-    l<<"kylin-burner";
-    l<<"ukui-clipboard";
-    return l;
-}
-
-#endif // BLACKLIST_H
diff -Nur qt5-ukui-platformtheme-1.0.5/libqt5-ukui-style/libqt5-ukui-style_global.h qt5-ukui-platformtheme-1.0.5-new/libqt5-ukui-style/libqt5-ukui-style_global.h
--- qt5-ukui-platformtheme-1.0.5/libqt5-ukui-style/libqt5-ukui-style_global.h	2020-09-28 11:28:25.000000000 +0800
+++ qt5-ukui-platformtheme-1.0.5-new/libqt5-ukui-style/libqt5-ukui-style_global.h	1970-01-01 08:00:00.000000000 +0800
@@ -1,34 +0,0 @@
-/*
- * Qt5-UKUI's Library
- *
- * Copyright (C) 2020, Tianjin KYLIN Information Technology Co., Ltd.
- *
- * This library is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Lesser General Public
- * License as published by the Free Software Foundation; either
- * version 3 of the License, or (at your option) any later version.
- *
- * This library is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
- * Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this library.  If not, see <https://www.gnu.org/licenses/>.
- *
- * Authors: Yue Lan <lanyue@kylinos.cn>
- *
- */
-
-#ifndef LIBQT5UKUISTYLE_GLOBAL_H
-#define LIBQT5UKUISTYLE_GLOBAL_H
-
-#include <QtCore/qglobal.h>
-
-#if defined(LIBQT5UKUISTYLE_LIBRARY)
-#  define LIBQT5UKUISTYLESHARED_EXPORT Q_DECL_EXPORT
-#else
-#  define LIBQT5UKUISTYLESHARED_EXPORT Q_DECL_IMPORT
-#endif
-
-#endif // LIBQT5UKUISTYLE_GLOBAL_H
diff -Nur qt5-ukui-platformtheme-1.0.5/libqt5-ukui-style/libqt5-ukui-style.pri qt5-ukui-platformtheme-1.0.5-new/libqt5-ukui-style/libqt5-ukui-style.pri
--- qt5-ukui-platformtheme-1.0.5/libqt5-ukui-style/libqt5-ukui-style.pri	2020-09-28 11:28:25.000000000 +0800
+++ qt5-ukui-platformtheme-1.0.5-new/libqt5-ukui-style/libqt5-ukui-style.pri	2020-12-01 10:46:41.819251711 +0800
@@ -1,8 +1,5 @@
 INCLUDEPATH += $$PWD
 
-HEADERS += $$PWD/libqt5-ukui-style_global.h \
-    $$PWD/black-list.h
-
 include(animations/animations.pri)
 include(settings/settings.pri)
 include(internal-styles/internal-styles.pri)
diff -Nur qt5-ukui-platformtheme-1.0.5/libqt5-ukui-style/settings/black-list.h qt5-ukui-platformtheme-1.0.5-new/libqt5-ukui-style/settings/black-list.h
--- qt5-ukui-platformtheme-1.0.5/libqt5-ukui-style/settings/black-list.h	1970-01-01 08:00:00.000000000 +0800
+++ qt5-ukui-platformtheme-1.0.5-new/libqt5-ukui-style/settings/black-list.h	2020-09-28 11:28:25.000000000 +0800
@@ -0,0 +1,53 @@
+/*
+ * Qt5-UKUI's Library
+ *
+ * Copyright (C) 2020, Tianjin KYLIN Information Technology Co., Ltd.
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License as published by the Free Software Foundation; either
+ * version 3 of the License, or (at your option) any later version.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this library.  If not, see <https://www.gnu.org/licenses/>.
+ *
+ * Authors: Yue Lan <lanyue@kylinos.cn>
+ *
+ */
+
+#ifndef BLACKLIST_H
+#define BLACKLIST_H
+
+#include <QStringList>
+
+static const QStringList blackAppList() {
+    QStringList l;
+    //l<<"ukui-control-center";
+    l<<"ubuntu-kylin-software-center.py";
+    l<<"kylin-burner";
+    l<<"assistant";
+    l<<"sogouIme-configtool";
+    l<<"Ime Setting";
+    l<<"kylin-user-guide";
+    l<<"biometric-authentication";
+    return l;
+}
+
+static const QStringList blackAppListWithBlurHelper(){
+    QStringList l;
+    l<<"youker-assistant";
+    l<<"kylin-assistant";
+    l<<"kylin-video";
+    l<<"ukui-control-center";
+    l<<"ubuntu-kylin-software-center.py";
+    l<<"kylin-burner";
+    l<<"ukui-clipboard";
+    return l;
+}
+
+#endif // BLACKLIST_H
diff -Nur qt5-ukui-platformtheme-1.0.5/libqt5-ukui-style/settings/libqt5-ukui-style_global.h qt5-ukui-platformtheme-1.0.5-new/libqt5-ukui-style/settings/libqt5-ukui-style_global.h
--- qt5-ukui-platformtheme-1.0.5/libqt5-ukui-style/settings/libqt5-ukui-style_global.h	1970-01-01 08:00:00.000000000 +0800
+++ qt5-ukui-platformtheme-1.0.5-new/libqt5-ukui-style/settings/libqt5-ukui-style_global.h	2020-09-28 11:28:25.000000000 +0800
@@ -0,0 +1,34 @@
+/*
+ * Qt5-UKUI's Library
+ *
+ * Copyright (C) 2020, Tianjin KYLIN Information Technology Co., Ltd.
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License as published by the Free Software Foundation; either
+ * version 3 of the License, or (at your option) any later version.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this library.  If not, see <https://www.gnu.org/licenses/>.
+ *
+ * Authors: Yue Lan <lanyue@kylinos.cn>
+ *
+ */
+
+#ifndef LIBQT5UKUISTYLE_GLOBAL_H
+#define LIBQT5UKUISTYLE_GLOBAL_H
+
+#include <QtCore/qglobal.h>
+
+#if defined(LIBQT5UKUISTYLE_LIBRARY)
+#  define LIBQT5UKUISTYLESHARED_EXPORT Q_DECL_EXPORT
+#else
+#  define LIBQT5UKUISTYLESHARED_EXPORT Q_DECL_IMPORT
+#endif
+
+#endif // LIBQT5UKUISTYLE_GLOBAL_H
openSUSE Build Service is sponsored by