From 907a0319bd537f842b10093ebd95a0976535d496 Mon Sep 17 00:00:00 2001 From: John Date: Wed, 11 Nov 2020 15:43:34 +0100 Subject: [PATCH] Remove package: deepin-turbo --- srcpkgs/deepin-turbo-devel | 1 - srcpkgs/deepin-turbo/patches/elogind.patch | 11 ------- srcpkgs/deepin-turbo/patches/musl.patch | 34 ---------------------- srcpkgs/deepin-turbo/template | 25 ---------------- 4 files changed, 71 deletions(-) delete mode 120000 srcpkgs/deepin-turbo-devel delete mode 100644 srcpkgs/deepin-turbo/patches/elogind.patch delete mode 100644 srcpkgs/deepin-turbo/patches/musl.patch delete mode 100644 srcpkgs/deepin-turbo/template diff --git a/srcpkgs/deepin-turbo-devel b/srcpkgs/deepin-turbo-devel deleted file mode 120000 index 2812f472a8a..00000000000 --- a/srcpkgs/deepin-turbo-devel +++ /dev/null @@ -1 +0,0 @@ -deepin-turbo \ No newline at end of file diff --git a/srcpkgs/deepin-turbo/patches/elogind.patch b/srcpkgs/deepin-turbo/patches/elogind.patch deleted file mode 100644 index 59a034b5e18..00000000000 --- a/srcpkgs/deepin-turbo/patches/elogind.patch +++ /dev/null @@ -1,11 +0,0 @@ ---- src/launcherlib/CMakeLists.txt 2018-08-31 07:19:31.000000000 +0200 -+++ - 2018-08-31 10:48:25.243608023 +0200 -@@ -14,7 +14,7 @@ - - # Set libraries to be linked. Shared libraries to be preloaded are not linked in anymore, - # but dlopen():ed and listed in src/launcher/preload.h instead. --link_libraries(${LIBDL} "-L/lib -lsystemd") -+link_libraries(${LIBDL} "-L/lib -lelogind") - - # Set executable - add_library(deepin-turbo MODULE ${SRC} ${MOC_SRC}) diff --git a/srcpkgs/deepin-turbo/patches/musl.patch b/srcpkgs/deepin-turbo/patches/musl.patch deleted file mode 100644 index ec953f5b63d..00000000000 --- a/srcpkgs/deepin-turbo/patches/musl.patch +++ /dev/null @@ -1,34 +0,0 @@ ---- src/invoker/invoker.c 2018-08-31 07:19:31.000000000 +0200 -+++ - 2018-08-31 12:26:25.514301761 +0200 -@@ -26,7 +26,6 @@ - #include - #include - #include --#include - #include - #include - #include ---- src/launcherlib/booster.cpp 2018-08-31 12:08:21.962843593 +0200 -+++ - 2018-08-31 12:30:57.972278758 +0200 -@@ -586,7 +586,7 @@ - else - dlopenFlags |= RTLD_LOCAL; - --#if (PLATFORM_ID == Linux) -+#if defined(__GLIBC__) - if (m_appData->dlopenDeep()) - dlopenFlags |= RTLD_DEEPBIND; - #endif ---- src/launcherlib/booster.cpp 2018-08-31 12:49:54.813076172 +0200 -+++ - 2018-08-31 12:50:06.767009507 +0200 -@@ -49,6 +49,10 @@ - - #include "coverage.h" - -+#if !defined(__GLIBC__) -+#define basename(src) (strrchr(src,'/') ? strrchr(src,'/')+1 : src) -+#endif -+ - Booster::Booster() : - m_appData(new AppData), - m_connection(NULL), diff --git a/srcpkgs/deepin-turbo/template b/srcpkgs/deepin-turbo/template deleted file mode 100644 index c9d0eb96cb0..00000000000 --- a/srcpkgs/deepin-turbo/template +++ /dev/null @@ -1,25 +0,0 @@ -# Template file for 'deepin-turbo' -pkgname=deepin-turbo -version=0.0.3 -revision=1 -build_style=cmake -hostmakedepends="pkg-config qt5-qmake qt5-host-tools" -makedepends="qt5-devel elogind-devel" -short_desc="Daemon that helps to launch applications faster" -maintainer="John " -license="GPL-3.0-or-later" -homepage="https://github.com/linuxdeepin/deepin-turbo" -distfiles="https://github.com/linuxdeepin/deepin-turbo/archive/${version}.tar.gz" -checksum=bb2a461e69f1738ec02d10c069772cc03a5a6b3570ca64f7e3ab3c0ade06f620 - -post_install() { - rm -rf usr/lib/systemd -} - -deepin-turbo-devel_package() { - short_desc+=" - Development files" - depends="${sourcepkg}>=${version}_${revision}" - pkg_install() { - vmove usr/include - } -}