public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] repo/gentoo:master commit in: x11-misc/xsettingsd/files/, x11-misc/xsettingsd/
@ 2020-07-26 15:30 Andreas Sturmlechner
  0 siblings, 0 replies; 2+ messages in thread
From: Andreas Sturmlechner @ 2020-07-26 15:30 UTC (permalink / raw
  To: gentoo-commits

commit:     79827cc70b8d9fffb3c12d79282140113436f805
Author:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
AuthorDate: Sun Jul 26 15:24:02 2020 +0000
Commit:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
CommitDate: Sun Jul 26 15:29:45 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=79827cc7

x11-misc/xsettingsd: New package, runtime req of kde-gtk-config

Bug: https://bugs.gentoo.org/332695
Package-Manager: Portage-3.0.0, Repoman-2.3.23
Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org>

 x11-misc/xsettingsd/Manifest                       |  1 +
 .../xsettingsd-1.0.0-add-cmake-buildsystem.patch   | 51 ++++++++++++++++++++++
 .../files/xsettingsd-1.0.0-return-1.patch          | 26 +++++++++++
 x11-misc/xsettingsd/metadata.xml                   | 11 +++++
 x11-misc/xsettingsd/xsettingsd-1.0.0.ebuild        | 22 ++++++++++
 5 files changed, 111 insertions(+)

diff --git a/x11-misc/xsettingsd/Manifest b/x11-misc/xsettingsd/Manifest
new file mode 100644
index 00000000000..1e69a6779b6
--- /dev/null
+++ b/x11-misc/xsettingsd/Manifest
@@ -0,0 +1 @@
+DIST xsettingsd-1.0.0.tar.gz 23627 BLAKE2B e9f7dcb9fd017f34ed88f29e1954e0824764db66eac5fbcfa55e7edef51c4bdec1cb9383efe0b6cb18b88c04818b106b9c4f95fb25daaf09a76b4b4ef4e0b75f SHA512 39077050a2fc3206c308ba399328719303884dd668b61f7756f0a3a4388ed25a3cda0849a713126c22c6b80466ab74c1317fdd9cb3e652169c80c54ba0a45790

diff --git a/x11-misc/xsettingsd/files/xsettingsd-1.0.0-add-cmake-buildsystem.patch b/x11-misc/xsettingsd/files/xsettingsd-1.0.0-add-cmake-buildsystem.patch
new file mode 100644
index 00000000000..bb46f5e37b9
--- /dev/null
+++ b/x11-misc/xsettingsd/files/xsettingsd-1.0.0-add-cmake-buildsystem.patch
@@ -0,0 +1,51 @@
+From 7ddb3b8dec442fd1bd502dc7b97841bb07526cae Mon Sep 17 00:00:00 2001
+From: Andreas Sturmlechner <asturm@gentoo.org>
+Date: Sun, 26 Jul 2020 16:47:22 +0200
+Subject: [PATCH] Add cmake buildsystem
+
+---
+ CMakeLists.txt | 32 ++++++++++++++++++++++++++++++++
+ 1 file changed, 32 insertions(+)
+ create mode 100644 CMakeLists.txt
+
+diff --git a/CMakeLists.txt b/CMakeLists.txt
+new file mode 100644
+index 0000000..42dca7d
+--- /dev/null
++++ b/CMakeLists.txt
+@@ -0,0 +1,32 @@
++cmake_minimum_required(VERSION 3.15)
++
++project(xsettingsd VERSION 1.0.0)
++
++include(GNUInstallDirs)
++
++find_package(X11 REQUIRED)
++
++set(libxsettingsd_SRCS
++    common.cc
++    config_parser.cc
++    data_reader.cc
++    data_writer.cc
++    setting.cc
++    settings_manager.cc
++)
++
++add_library(libxsettingsd STATIC ${libxsettingsd_SRCS})
++
++add_executable(xsettingsd xsettingsd.cc)
++add_executable(dump_xsettings dump_xsettings.cc)
++
++target_include_directories(xsettingsd PUBLIC "${PROJECT_BINARY_DIR}")
++target_include_directories(dump_xsettings PUBLIC "${PROJECT_BINARY_DIR}")
++
++target_link_libraries(xsettingsd PUBLIC libxsettingsd X11::X11)
++target_link_libraries(dump_xsettings PUBLIC libxsettingsd X11::X11)
++
++install(TARGETS xsettingsd DESTINATION ${CMAKE_INSTALL_BINDIR})
++install(TARGETS dump_xsettings DESTINATION ${CMAKE_INSTALL_BINDIR})
++
++install(FILES xsettingsd.1 dump_xsettings.1 DESTINATION ${CMAKE_INSTALL_MANDIR}/man1)
+-- 
+2.27.0
+

diff --git a/x11-misc/xsettingsd/files/xsettingsd-1.0.0-return-1.patch b/x11-misc/xsettingsd/files/xsettingsd-1.0.0-return-1.patch
new file mode 100644
index 00000000000..795e82ce002
--- /dev/null
+++ b/x11-misc/xsettingsd/files/xsettingsd-1.0.0-return-1.patch
@@ -0,0 +1,26 @@
+From 3ec9deebd8e3496feacab83e41846dc4fffc3404 Mon Sep 17 00:00:00 2001
+From: Phil Miller <unmobile+gh@gmail.com>
+Date: Mon, 25 Jun 2018 10:58:59 -0500
+Subject: [PATCH] Return 1 to indicate error from main()
+
+The statement 'return false;' was most likely to end up indicating successful exit
+by returning a 0 value, when failure seems to be intended.
+
+This was flagged as a warning in the Debian Clang Archive Rebuild.
+---
+ dump_xsettings.cc | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/dump_xsettings.cc b/dump_xsettings.cc
+index f94a0c0..e9330b4 100644
+--- a/dump_xsettings.cc
++++ b/dump_xsettings.cc
+@@ -270,7 +270,7 @@ int main(int argc, char** argv) {
+ 
+   xsettingsd::DataReader reader(buffer, data_size);
+   if (!xsettingsd::DumpSettings(&reader))
+-    return false;
++    return 1;
+ 
+   return 0;
+ }

diff --git a/x11-misc/xsettingsd/metadata.xml b/x11-misc/xsettingsd/metadata.xml
new file mode 100644
index 00000000000..c782cfbaf57
--- /dev/null
+++ b/x11-misc/xsettingsd/metadata.xml
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+	<maintainer type="project">
+		<email>kde@gentoo.org</email>
+		<name>Gentoo KDE Project</name>
+	</maintainer>
+	<upstream>
+		<remote-id type="github">derat/xsettingsd</remote-id>
+	</upstream>
+</pkgmetadata>

diff --git a/x11-misc/xsettingsd/xsettingsd-1.0.0.ebuild b/x11-misc/xsettingsd/xsettingsd-1.0.0.ebuild
new file mode 100644
index 00000000000..2fb957de209
--- /dev/null
+++ b/x11-misc/xsettingsd/xsettingsd-1.0.0.ebuild
@@ -0,0 +1,22 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit cmake
+
+DESCRIPTION="Provides settings to X11 applications via the XSETTINGS specification"
+HOMEPAGE="https://github.com/derat/xsettingsd"
+SRC_URI="https://github.com/derat/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~amd64"
+
+RDEPEND="x11-libs/libX11"
+DEPEND="${RDEPEND}"
+
+PATCHES=(
+	"${FILESDIR}"/${P}-return-1.patch
+	"${FILESDIR}"/${P}-add-cmake-buildsystem.patch
+)


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: x11-misc/xsettingsd/files/, x11-misc/xsettingsd/
@ 2021-02-17 22:13 Andreas Sturmlechner
  0 siblings, 0 replies; 2+ messages in thread
From: Andreas Sturmlechner @ 2021-02-17 22:13 UTC (permalink / raw
  To: gentoo-commits

commit:     ccd46a92fda4770c06f533db0053c0726b83d012
Author:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
AuthorDate: Wed Feb 17 21:18:23 2021 +0000
Commit:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
CommitDate: Wed Feb 17 22:13:33 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ccd46a92

x11-misc/xsettingsd: Drop 1.0.0

Package-Manager: Portage-3.0.14, Repoman-3.0.2
Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org>

 x11-misc/xsettingsd/Manifest                       |  1 -
 .../xsettingsd-1.0.0-add-cmake-buildsystem.patch   | 51 ----------------------
 .../files/xsettingsd-1.0.0-return-1.patch          | 26 -----------
 x11-misc/xsettingsd/xsettingsd-1.0.0.ebuild        | 22 ----------
 4 files changed, 100 deletions(-)

diff --git a/x11-misc/xsettingsd/Manifest b/x11-misc/xsettingsd/Manifest
index 78a93f23a59..8ec01e0af78 100644
--- a/x11-misc/xsettingsd/Manifest
+++ b/x11-misc/xsettingsd/Manifest
@@ -1,2 +1 @@
-DIST xsettingsd-1.0.0.tar.gz 23627 BLAKE2B e9f7dcb9fd017f34ed88f29e1954e0824764db66eac5fbcfa55e7edef51c4bdec1cb9383efe0b6cb18b88c04818b106b9c4f95fb25daaf09a76b4b4ef4e0b75f SHA512 39077050a2fc3206c308ba399328719303884dd668b61f7756f0a3a4388ed25a3cda0849a713126c22c6b80466ab74c1317fdd9cb3e652169c80c54ba0a45790
 DIST xsettingsd-1.0.2.tar.gz 22481 BLAKE2B 1f7e8112b8910ea20492109ebc2df90d7113804653d5758bbac2b52116e737505026ddd0e17b5444951ad83606ba41495ce8e165bbe04573c740cc3faee75c1b SHA512 da2a82d0b3f5061a1fad7632d800539f4e81bd3f8631dd724705d0601556c044c62da7469a974cbe8f6d8e070247493ac5776bac966cf36f1fae825562457baa

diff --git a/x11-misc/xsettingsd/files/xsettingsd-1.0.0-add-cmake-buildsystem.patch b/x11-misc/xsettingsd/files/xsettingsd-1.0.0-add-cmake-buildsystem.patch
deleted file mode 100644
index bb46f5e37b9..00000000000
--- a/x11-misc/xsettingsd/files/xsettingsd-1.0.0-add-cmake-buildsystem.patch
+++ /dev/null
@@ -1,51 +0,0 @@
-From 7ddb3b8dec442fd1bd502dc7b97841bb07526cae Mon Sep 17 00:00:00 2001
-From: Andreas Sturmlechner <asturm@gentoo.org>
-Date: Sun, 26 Jul 2020 16:47:22 +0200
-Subject: [PATCH] Add cmake buildsystem
-
----
- CMakeLists.txt | 32 ++++++++++++++++++++++++++++++++
- 1 file changed, 32 insertions(+)
- create mode 100644 CMakeLists.txt
-
-diff --git a/CMakeLists.txt b/CMakeLists.txt
-new file mode 100644
-index 0000000..42dca7d
---- /dev/null
-+++ b/CMakeLists.txt
-@@ -0,0 +1,32 @@
-+cmake_minimum_required(VERSION 3.15)
-+
-+project(xsettingsd VERSION 1.0.0)
-+
-+include(GNUInstallDirs)
-+
-+find_package(X11 REQUIRED)
-+
-+set(libxsettingsd_SRCS
-+    common.cc
-+    config_parser.cc
-+    data_reader.cc
-+    data_writer.cc
-+    setting.cc
-+    settings_manager.cc
-+)
-+
-+add_library(libxsettingsd STATIC ${libxsettingsd_SRCS})
-+
-+add_executable(xsettingsd xsettingsd.cc)
-+add_executable(dump_xsettings dump_xsettings.cc)
-+
-+target_include_directories(xsettingsd PUBLIC "${PROJECT_BINARY_DIR}")
-+target_include_directories(dump_xsettings PUBLIC "${PROJECT_BINARY_DIR}")
-+
-+target_link_libraries(xsettingsd PUBLIC libxsettingsd X11::X11)
-+target_link_libraries(dump_xsettings PUBLIC libxsettingsd X11::X11)
-+
-+install(TARGETS xsettingsd DESTINATION ${CMAKE_INSTALL_BINDIR})
-+install(TARGETS dump_xsettings DESTINATION ${CMAKE_INSTALL_BINDIR})
-+
-+install(FILES xsettingsd.1 dump_xsettings.1 DESTINATION ${CMAKE_INSTALL_MANDIR}/man1)
--- 
-2.27.0
-

diff --git a/x11-misc/xsettingsd/files/xsettingsd-1.0.0-return-1.patch b/x11-misc/xsettingsd/files/xsettingsd-1.0.0-return-1.patch
deleted file mode 100644
index 795e82ce002..00000000000
--- a/x11-misc/xsettingsd/files/xsettingsd-1.0.0-return-1.patch
+++ /dev/null
@@ -1,26 +0,0 @@
-From 3ec9deebd8e3496feacab83e41846dc4fffc3404 Mon Sep 17 00:00:00 2001
-From: Phil Miller <unmobile+gh@gmail.com>
-Date: Mon, 25 Jun 2018 10:58:59 -0500
-Subject: [PATCH] Return 1 to indicate error from main()
-
-The statement 'return false;' was most likely to end up indicating successful exit
-by returning a 0 value, when failure seems to be intended.
-
-This was flagged as a warning in the Debian Clang Archive Rebuild.
----
- dump_xsettings.cc | 2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
-
-diff --git a/dump_xsettings.cc b/dump_xsettings.cc
-index f94a0c0..e9330b4 100644
---- a/dump_xsettings.cc
-+++ b/dump_xsettings.cc
-@@ -270,7 +270,7 @@ int main(int argc, char** argv) {
- 
-   xsettingsd::DataReader reader(buffer, data_size);
-   if (!xsettingsd::DumpSettings(&reader))
--    return false;
-+    return 1;
- 
-   return 0;
- }

diff --git a/x11-misc/xsettingsd/xsettingsd-1.0.0.ebuild b/x11-misc/xsettingsd/xsettingsd-1.0.0.ebuild
deleted file mode 100644
index 494313069e7..00000000000
--- a/x11-misc/xsettingsd/xsettingsd-1.0.0.ebuild
+++ /dev/null
@@ -1,22 +0,0 @@
-# Copyright 1999-2020 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-inherit cmake
-
-DESCRIPTION="Provides settings to X11 applications via the XSETTINGS specification"
-HOMEPAGE="https://github.com/derat/xsettingsd"
-SRC_URI="https://github.com/derat/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
-
-LICENSE="BSD"
-SLOT="0"
-KEYWORDS="amd64 ~arm arm64 ~ppc64 x86"
-
-RDEPEND="x11-libs/libX11"
-DEPEND="${RDEPEND}"
-
-PATCHES=(
-	"${FILESDIR}"/${P}-return-1.patch
-	"${FILESDIR}"/${P}-add-cmake-buildsystem.patch
-)


^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2021-02-17 22:13 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-02-17 22:13 [gentoo-commits] repo/gentoo:master commit in: x11-misc/xsettingsd/files/, x11-misc/xsettingsd/ Andreas Sturmlechner
  -- strict thread matches above, loose matches on Subject: below --
2020-07-26 15:30 Andreas Sturmlechner

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