public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] repo/proj/guru:master commit in: dev-libs/properties-cpp/files/, dev-libs/properties-cpp/, profiles/
@ 2024-12-18  0:14 Julien Roy
  0 siblings, 0 replies; only message in thread
From: Julien Roy @ 2024-12-18  0:14 UTC (permalink / raw
  To: gentoo-commits

commit:     6c32bc1af22e7a603f542a4efc8f5f71d4d34771
Author:     Takuya Wakazono <pastalian46 <AT> gmail <DOT> com>
AuthorDate: Tue Dec 17 15:30:45 2024 +0000
Commit:     Julien Roy <julien <AT> jroy <DOT> ca>
CommitDate: Tue Dec 17 15:30:45 2024 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=6c32bc1a

dev-libs/properties-cpp: treeclean

Signed-off-by: Takuya Wakazono <pastalian46 <AT> gmail.com>

 dev-libs/properties-cpp/Manifest                   |   1 -
 .../files/properties-cpp-0.0.2-cmake-patch.patch   | 166 ---------------------
 dev-libs/properties-cpp/metadata.xml               |  16 --
 .../properties-cpp/properties-cpp-0.0.2-r1.ebuild  |  36 -----
 profiles/package.mask                              |   5 -
 5 files changed, 224 deletions(-)

diff --git a/dev-libs/properties-cpp/Manifest b/dev-libs/properties-cpp/Manifest
deleted file mode 100644
index e7da12531..000000000
--- a/dev-libs/properties-cpp/Manifest
+++ /dev/null
@@ -1 +0,0 @@
-DIST properties-cpp_0.0.2.orig.tar.gz 41108 BLAKE2B d5239c27578d524079d1475b851939c0daac8fd71f46da34427cc9888739a52682aaa55e678f07c9ea01aa635a5a62886f5a104162e3220d0a6917f4178c11ca SHA512 7ec94ce495c9630d5acc0b98051b31e7eb3e50fef9dff3a476cd91ca912937f48826fbdab57907b042b13e29786dcb3483151690374b0e09d6e1c12c6329df5a

diff --git a/dev-libs/properties-cpp/files/properties-cpp-0.0.2-cmake-patch.patch b/dev-libs/properties-cpp/files/properties-cpp-0.0.2-cmake-patch.patch
deleted file mode 100644
index 1d908e233..000000000
--- a/dev-libs/properties-cpp/files/properties-cpp-0.0.2-cmake-patch.patch
+++ /dev/null
@@ -1,166 +0,0 @@
-A lot of changes to cmake:
- - bump cmake_minimum_required to 3.5 to avoid cmake's warnings about obsolete version
- - avoid adding -Werror to C/XXFLAGS (it didn't actually get anywhere beside the tests)
- - remove bundeled FindGtest in favour of use of a config file provided by GTest itself
- - bumb CMAKE_CXX_STANDARD to 14 to apace modern GTest
- - bump version number to 0.0.2 to match tarball
- - change include instalation directrory to [/usr]/inclyde/properties-cpp/ to not clutter
-   the root include dir
-
-diff --git a/CMakeLists.txt b/CMakeLists.txt
-index 0c7394e..6d08f34 100644
---- a/CMakeLists.txt
-+++ b/CMakeLists.txt
-@@ -1,4 +1,4 @@
--cmake_minimum_required(VERSION 2.8)
-+cmake_minimum_required(VERSION 3.5)
- 
- project(properties-cpp)
- 
-@@ -8,9 +8,10 @@ include(cmake/EnableCoverageReport.cmake)
- include(cmake/PrePush.cmake)
- include(GNUInstallDirs)
- 
--set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Werror -Wall -pedantic -Wextra -fPIC -fvisibility=hidden -pthread")
--set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++11 -Werror -Wall -fno-strict-aliasing -fvisibility=hidden -fvisibility-inlines-hidden -pedantic -Wextra -fPIC -pthread")
-+set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Wall -pedantic -Wextra -fPIC -fvisibility=hidden -pthread")
-+set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wall -fno-strict-aliasing -fvisibility=hidden -fvisibility-inlines-hidden -pedantic -Wextra -fPIC -pthread")
- set(CMAKE_SHARED_LINKER_FLAGS "${CMAKE_SHARED_LINKER_FLAGS} -Wl,--no-undefined")
-+set(CMAKE_CXX_STANDARD 14)
- 
- #####################################################################
- # Enable code coverage calculation with gcov/gcovr/lcov
-@@ -29,7 +30,7 @@ ENDIF(CMAKE_BUILD_TYPE MATCHES [cC][oO][vV][eE][rR][aA][gG][eE])
- 
- set(PROPERTIES_CPP_VERSION_MAJOR 0)
- set(PROPERTIES_CPP_VERSION_MINOR 0)
--set(PROPERTIES_CPP_VERSION_PATCH 1)
-+set(PROPERTIES_CPP_VERSION_PATCH 2)
- 
- include(CTest)
- 
-diff --git a/cmake/FindGtest.cmake b/cmake/FindGtest.cmake
-deleted file mode 100644
-index 1283174..0000000
---- a/cmake/FindGtest.cmake
-+++ /dev/null
-@@ -1,53 +0,0 @@
--include(ExternalProject)
--include(FindPackageHandleStandardArgs)
--
--#gtest
--set(GTEST_INSTALL_DIR /usr/src/gmock/gtest/include)
--find_path(GTEST_INCLUDE_DIR gtest/gtest.h
--            HINTS ${GTEST_INSTALL_DIR})
--
--#gmock
--find_path(GMOCK_INSTALL_DIR gmock/CMakeLists.txt
--          HINTS /usr/src)
--if(${GMOCK_INSTALL_DIR} STREQUAL "GMOCK_INSTALL_DIR-NOTFOUND")
--    message(FATAL_ERROR "google-mock package not found")
--endif()
--
--set(GMOCK_INSTALL_DIR ${GMOCK_INSTALL_DIR}/gmock)
--find_path(GMOCK_INCLUDE_DIR gmock/gmock.h)
--
--set(GMOCK_PREFIX gmock)
--set(GMOCK_BINARY_DIR ${CMAKE_BINARY_DIR}/${GMOCK_PREFIX}/libs)
--set(GTEST_BINARY_DIR ${GMOCK_BINARY_DIR}/gtest)
--
--set(GTEST_CMAKE_ARGS "")
--if (${MIR_IS_CROSS_COMPILING})
--    set(GTEST_CMAKE_ARGS
--        -DCMAKE_TOOLCHAIN_FILE=${CMAKE_MODULE_PATH}/LinuxCrossCompile.cmake)
--endif()
--
--ExternalProject_Add(
--    GMock
--    #where to build in source tree
--    PREFIX ${GMOCK_PREFIX}
--    #where the source is external to the project
--    SOURCE_DIR ${GMOCK_INSTALL_DIR}
--    #forward the compilers to the subproject so cross-arch builds work
--    CMAKE_ARGS ${GTEST_CMAKE_ARGS}
--    BINARY_DIR ${GMOCK_BINARY_DIR}
--
--    #we don't need to install, so skip
--    INSTALL_COMMAND ""
--)
--
--set(GMOCK_LIBRARY ${GMOCK_BINARY_DIR}/libgmock.a)
--set(GMOCK_MAIN_LIBRARY ${GMOCK_BINARY_DIR}/libgmock_main.a)
--set(GMOCK_BOTH_LIBRARIES ${GMOCK_LIBRARY} ${GMOCK_MAIN_LIBRARY})
--set(GTEST_LIBRARY ${GTEST_BINARY_DIR}/libgtest.a)
--set(GTEST_MAIN_LIBRARY ${GTEST_BINARY_DIR}/libgtest_main.a)
--set(GTEST_BOTH_LIBRARIES ${GTEST_LIBRARY} ${GTEST_MAIN_LIBRARY})
--set(GTEST_ALL_LIBRARIES ${GTEST_BOTH_LIBRARIES} ${GMOCK_BOTH_LIBRARIES})
--
--find_package_handle_standard_args(GTest  DEFAULT_MSG
--                                    GMOCK_INCLUDE_DIR
--                                    GTEST_INCLUDE_DIR)
-diff --git a/cmake/PrePush.cmake b/cmake/PrePush.cmake
-index aba8823..5f7949b 100644
---- a/cmake/PrePush.cmake
-+++ b/cmake/PrePush.cmake
-@@ -79,4 +79,4 @@ add_custom_target(
- add_dependencies(extract-pre-push-tarball pre-push-source-tarball)
- add_dependencies(pdebuild extract-pre-push-tarball)
- 
--add_dependencies(pre-push pdebuild android-build)
-+#add_dependencies(pre-push pdebuild android-build)
-diff --git a/data/properties-cpp.pc.in b/data/properties-cpp.pc.in
-index da8c36d..db730c9 100644
---- a/data/properties-cpp.pc.in
-+++ b/data/properties-cpp.pc.in
-@@ -1,7 +1,7 @@
- prefix=@CMAKE_INSTALL_PREFIX@
- exec_prefix=${prefix}
- libdir=${exec_prefix}/lib
--includedir=${exec_prefix}/include
-+includedir=${exec_prefix}/include/@CMAKE_PROJECT_NAME@
-  
- Name: @CMAKE_PROJECT_NAME@
- Description: A very simple convenience library for handling properties and signals in C++11.
-diff --git a/include/CMakeLists.txt b/include/CMakeLists.txt
-index 3a45575..bf9663c 100644
---- a/include/CMakeLists.txt
-+++ b/include/CMakeLists.txt
-@@ -1,4 +1,4 @@
- install(
-   DIRECTORY core
--  DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/
-+  DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/${CMAKE_PROJECT_NAME}
- )
-diff --git a/tests/CMakeLists.txt b/tests/CMakeLists.txt
-index 180498f..9303983 100644
---- a/tests/CMakeLists.txt
-+++ b/tests/CMakeLists.txt
-@@ -1,11 +1,4 @@
--set (OLD_CMAKE_CXX_FLAGS ${CMAKE_CXX_FLAGS})
--# Don't treat warnings as errors in 3rd_party/{gmock,cucumber-cpp}
--string (REPLACE " -Werror " " " CMAKE_CXX_FLAGS ${CMAKE_CXX_FLAGS})
--find_package(Gtest REQUIRED)
--include_directories(${GMOCK_INCLUDE_DIR} ${GTEST_INCLUDE_DIR})
--set (CMAKE_CXX_FLAGS ${OLD_CMAKE_CXX_FLAGS})
--
--include_directories(${GTEST_INCLUDE_DIRS})
-+find_package(GTest REQUIRED)
- 
- add_executable(
-   properties_test
-@@ -20,13 +13,13 @@ add_executable(
- target_link_libraries(
-   properties_test
- 
--  ${GTEST_BOTH_LIBRARIES}
-+  GTest::gtest GTest::gmock GTest::gtest_main
- )
- 
- target_link_libraries(
-   signals_test
- 
--  ${GTEST_BOTH_LIBRARIES}
-+  GTest::gtest GTest::gmock GTest::gtest_main
- )
- 
- add_test(properties_test ${CMAKE_CURRENT_BINARY_DIR}/properties_test)

diff --git a/dev-libs/properties-cpp/metadata.xml b/dev-libs/properties-cpp/metadata.xml
deleted file mode 100644
index d504077c0..000000000
--- a/dev-libs/properties-cpp/metadata.xml
+++ /dev/null
@@ -1,16 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
-<pkgmetadata>
-	<maintainer type="person">
-		<email>gjdijkman@gjdwebserver.nl</email>
-		<name>Gerben Jan Dijkman</name>
-	</maintainer>
-	<longdescription lang="en">
-	process-cpp is a simple header-only implementation of properties and signals. It is meant to be used for developing low-level system services.
-	</longdescription>
-	<upstream>
-		<doc>https://github.com/lib-cpp/properties-cpp</doc>
-		<bugs-to>https://github.com/lib-cpp/properties-cpp/issues</bugs-to>
-		<remote-id type="launchpad">properties-cpp</remote-id>
-	</upstream>
-</pkgmetadata>

diff --git a/dev-libs/properties-cpp/properties-cpp-0.0.2-r1.ebuild b/dev-libs/properties-cpp/properties-cpp-0.0.2-r1.ebuild
deleted file mode 100644
index e73367668..000000000
--- a/dev-libs/properties-cpp/properties-cpp-0.0.2-r1.ebuild
+++ /dev/null
@@ -1,36 +0,0 @@
-# Copyright 1999-2024 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-inherit cmake
-
-DESCRIPTION="Simple convenience library for handling properties and signals in C++11"
-HOMEPAGE="https://launchpad.net/properties-cpp"
-SRC_URI="https://launchpad.net/ubuntu/+archive/primary/+files/${PN}_${PV}.orig.tar.gz"
-
-LICENSE="LGPL-3"
-SLOT="0"
-KEYWORDS="~amd64 ~arm ~arm64 ~x86"
-IUSE="doc test"
-RESTRICT="!test? ( test )"
-
-DEPEND="
-	dev-libs/boost
-	doc? (
-		app-text/doxygen
-		media-gfx/graphviz
-	)
-	test? ( dev-cpp/gtest )
-"
-
-PATCHES=(
-	"${FILESDIR}/properties-cpp-0.0.2-cmake-patch.patch"
-)
-
-src_prepare() {
-	use doc || truncate -s0 doc/CMakeLists.txt || die
-	use test || truncate -s0 tests/CMakeLists.txt || die
-
-	cmake_src_prepare
-}

diff --git a/profiles/package.mask b/profiles/package.mask
index e7e481581..67d7fc45e 100644
--- a/profiles/package.mask
+++ b/profiles/package.mask
@@ -91,11 +91,6 @@ phosh-base/squeekboard
 # Removal on 2024-12-17.
 media-gfx/grafx2
 
-# Takuya Wakazono <pastalian46@gmail.com> (2024-11-17)
-# Unmaintained in guru, no reverse dependencies.
-# Removal on 2024-12-17.
-dev-libs/properties-cpp
-
 # Julien Roy <julien@jroy.ca> (2024-11-15)
 # >=x11-themes/adw-gtk3-5.4 requires >=gui-libs/gtk-4.16
 # which is not packaged in ::gentoo


^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2024-12-18  0:14 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-12-18  0:14 [gentoo-commits] repo/proj/guru:master commit in: dev-libs/properties-cpp/files/, dev-libs/properties-cpp/, profiles/ Julien Roy

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox