diff options
| author | root <root@alpha.trunkmasters.com> | 2026-08-09 03:04:49 -0500 |
|---|---|---|
| committer | root <root@alpha.trunkmasters.com> | 2026-08-09 03:04:49 -0500 |
| commit | 92f6d12bf21434879bac739a9c4c7d9924ce3bad (patch) | |
| tree | 9a92a97abce6dfa06d4b8bbf4be3083e1bc36207 /sys-process | |
| parent | 09db256d16c907238beb9d50761d320ac661c08e (diff) | |
| download | baldeagleos-repo-92f6d12bf21434879bac739a9c4c7d9924ce3bad.tar.gz baldeagleos-repo-92f6d12bf21434879bac739a9c4c7d9924ce3bad.tar.xz baldeagleos-repo-92f6d12bf21434879bac739a9c4c7d9924ce3bad.zip | |
Adding metadata
Diffstat (limited to 'sys-process')
| -rw-r--r-- | sys-process/task-spooler/Manifest | 1 | ||||
| -rw-r--r-- | sys-process/task-spooler/files/cmake-bump-minver-2.0.0.patch | 12 | ||||
| -rw-r--r-- | sys-process/task-spooler/files/cmake-fixes-2.0.0.patch | 39 | ||||
| -rw-r--r-- | sys-process/task-spooler/task-spooler-2.0.0.ebuild | 32 | ||||
| -rw-r--r-- | sys-process/task-spooler/task-spooler-9999.ebuild | 6 |
5 files changed, 89 insertions, 1 deletions
diff --git a/sys-process/task-spooler/Manifest b/sys-process/task-spooler/Manifest new file mode 100644 index 000000000000..8fa44a78eef0 --- /dev/null +++ b/sys-process/task-spooler/Manifest @@ -0,0 +1 @@ +DIST task-spooler-2.0.0.tar.gz 216281 BLAKE2B fedd81e856f5aadd7b7802c03f2053725b9e97d58ee1bbadfcb79315cd13d3371baa3e73225227da028d177fdf13997748067dc2da0cf7f05898d2640cc65566 SHA512 43f042c2138c280647ebd923d2e438e5bd5145e89a1c77bf02aa1df9a792cc20d95770efc55b19224644464c02da719ed2a4b802f42736a89c4256845c121b96 diff --git a/sys-process/task-spooler/files/cmake-bump-minver-2.0.0.patch b/sys-process/task-spooler/files/cmake-bump-minver-2.0.0.patch new file mode 100644 index 000000000000..7301e5756dd9 --- /dev/null +++ b/sys-process/task-spooler/files/cmake-bump-minver-2.0.0.patch @@ -0,0 +1,12 @@ +# so QA doesn't complain + +diff --git a/CMakeLists.txt b/CMakeLists.txt +index 5d3e0a5..5072f0d 100755 +--- a/CMakeLists.txt ++++ b/CMakeLists.txt +@@ -1,4 +1,4 @@ +-cmake_minimum_required(VERSION 3.5) ++cmake_minimum_required(VERSION 3.11) + project(Task-Spooler C) + + set(CMAKE_C_STANDARD 11) diff --git a/sys-process/task-spooler/files/cmake-fixes-2.0.0.patch b/sys-process/task-spooler/files/cmake-fixes-2.0.0.patch new file mode 100644 index 000000000000..5807d66d0a04 --- /dev/null +++ b/sys-process/task-spooler/files/cmake-fixes-2.0.0.patch @@ -0,0 +1,39 @@ +diff --git a/CMakeLists.txt b/CMakeLists.txt +index c8474b9..91c967a 100755 +--- a/CMakeLists.txt ++++ b/CMakeLists.txt +@@ -83,9 +83,16 @@ else(TASK_SPOOLER_COMPILE_CUDA) + add_definitions(-DCPU) + endif(TASK_SPOOLER_COMPILE_CUDA) + ++# Man pages ++add_custom_command(OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/man1/ts.1 ++ COMMAND ${CMAKE_CURRENT_BINARY_DIR}/makeman ++ DEPENDS makeman ++ WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/man1) ++add_custom_target(man ALL ++ DEPENDS ${CMAKE_CURRENT_BINARY_DIR}/man1/ts.1) ++ + # install +-install(CODE "execute_process(COMMAND install -c -d /usr/local/bin)") +-install(CODE "execute_process(COMMAND install -c ts /usr/local/bin)") +-install(CODE "execute_process(COMMAND ./makeman)") +-install(CODE "execute_process(COMMAND install -c -d /usr/local/share/man/man1)") +-install(CODE "execute_process(COMMAND install -c -m 644 ts.1 /usr/local/share/man/man1)") ++install(TARGETS ${target} ++ RUNTIME) ++install(DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/man1 ++ TYPE MAN) + +diff --git a/CMakeLists.txt b/CMakeLists.txt +index 91c967a..5d3e0a5 100755 +--- a/CMakeLists.txt ++++ b/CMakeLists.txt +@@ -84,6 +84,7 @@ else(TASK_SPOOLER_COMPILE_CUDA) + endif(TASK_SPOOLER_COMPILE_CUDA) + + # Man pages ++file(MAKE_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/man1) + add_custom_command(OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/man1/ts.1 + COMMAND ${CMAKE_CURRENT_BINARY_DIR}/makeman + DEPENDS makeman diff --git a/sys-process/task-spooler/task-spooler-2.0.0.ebuild b/sys-process/task-spooler/task-spooler-2.0.0.ebuild new file mode 100644 index 000000000000..62cbafb2b385 --- /dev/null +++ b/sys-process/task-spooler/task-spooler-2.0.0.ebuild @@ -0,0 +1,32 @@ +# Copyright 1999-2026 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit cmake + +DESCRIPTION="A scheduler for CPU tasks" +HOMEPAGE="https://github.com/justanhduc/task-spooler" +if [[ ${PV} == 9999 ]] ; then + inherit git-r3 + EGIT_REPO_URI="https://github.com/justanhduc/task-spooler.git" +else + SRC_URI="https://github.com/justanhduc/${PN}/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz" + KEYWORDS="~amd64" + S="${WORKDIR}/task-spooler-${PV}" +fi + +LICENSE="GPL-2" +SLOT="0" + +PATCHES=( + "${FILESDIR}"/cmake-fixes-2.0.0.patch + "${FILESDIR}"/cmake-bump-minver-2.0.0.patch +) + +src_configure() { + local mycmakeargs=( + -DTASK_SPOOLER_COMPILE_CUDA=OFF + ) + cmake_src_configure +} diff --git a/sys-process/task-spooler/task-spooler-9999.ebuild b/sys-process/task-spooler/task-spooler-9999.ebuild index 4e09d1d359f3..8263011b7d76 100644 --- a/sys-process/task-spooler/task-spooler-9999.ebuild +++ b/sys-process/task-spooler/task-spooler-9999.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2022 Gentoo Authors +# Copyright 1999-2026 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -19,6 +19,10 @@ fi LICENSE="GPL-2" SLOT="0" +PATCHES=( + "${FILESDIR}"/cmake-bump-minver-2.0.0.patch +) + src_configure() { local mycmakeargs=( -DTASK_SPOOLER_COMPILE_CUDA=OFF |
