Github messages for voidlinux
 help / color / mirror / Atom feed
* [PR PATCH] gsmartcontrol: update to 2.0.2
@ 2025-04-17 18:54 gc-user
  2025-04-17 18:57 ` [PR PATCH] [Closed]: " gc-user
  0 siblings, 1 reply; 3+ messages in thread
From: gc-user @ 2025-04-17 18:54 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 1914 bytes --]

There is a new pull request by gc-user against master on the void-packages repository

https://github.com/gc-user/void-packages master
https://github.com/void-linux/void-packages/pull/55097

gsmartcontrol: update to 2.0.2
Long overdue update which brings nvme support.

<!-- Uncomment relevant sections and delete options which are not applicable -->

#### Testing the changes
- I tested the changes in this PR: **YES**

<!--
#### New package
- This new package conforms to the [package requirements](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#package-requirements): **YES**|**NO**
-->

<!-- Note: If the build is likely to take more than 2 hours, please add ci skip tag as described in
https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration
and test at least one native build and, if supported, at least one cross build.
Ignore this section if this PR is not skipping CI.
-->
#### Local build testing
- I built this PR locally for my native architecture, (x86_64-glibc)


Someone please check the template. I had to make some changes via try&error due to upstream changes: the download url is different due to no tar.bz2 file available anymore, and the build-style changed to to these changes since v 2.0.0:

- A lot of code has been refactored and modernized using C++17 and C++20 features, removing much of the custom library code.
- The build process requires a C++20-compliant compiler now (GCC 13+, Clang 17+, Apple Clang 15+).
- CMake (3.14+) is now used as a build system instead of autotools.

That's why I made the lucky guess to change the build_style to cmake.

It builds and runs on my system, but someone who actually knows how to correctly create a template file better check if what I did is ok. :-)
Thanks!

A patch file from https://github.com/void-linux/void-packages/pull/55097.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-master-55097.patch --]
[-- Type: text/x-diff, Size: 1481 bytes --]

From 2d3c3a7c31712333de028c00a95b559b0a464aab Mon Sep 17 00:00:00 2001
From: gc-user <gcuser@disroot.org>
Date: Thu, 17 Apr 2025 20:42:08 +0200
Subject: [PATCH] gsmartcontrol: update to 2.0.2 Long overdue update which
 brings nvme support.

---
 srcpkgs/gsmartcontrol/template | 9 +++++----
 1 file changed, 5 insertions(+), 4 deletions(-)

diff --git a/srcpkgs/gsmartcontrol/template b/srcpkgs/gsmartcontrol/template
index 7f20e697a9213e..f649ae8327ab4b 100644
--- a/srcpkgs/gsmartcontrol/template
+++ b/srcpkgs/gsmartcontrol/template
@@ -1,8 +1,8 @@
 # Template file for 'gsmartcontrol'
 pkgname=gsmartcontrol
-version=1.1.4
+version=2.0.2
 revision=1
-build_style=gnu-configure
+build_style=cmake
 hostmakedepends="pkg-config"
 makedepends="gtkmm-devel pcre-devel desktop-file-utils"
 depends="smartmontools hicolor-icon-theme"
@@ -10,8 +10,9 @@ short_desc="GUI to smartmontools"
 maintainer="yopito <pierre.bourgin@free.fr>"
 license="GPL-2.0-or-later"
 homepage="https://gsmartcontrol.shaduri.dev"
-distfiles="https://github.com/ashaduri/gsmartcontrol/releases/download/v${version}/${pkgname}-${version}.tar.bz2"
-checksum=fc409f2b8a84cc40bb103d6c82401b9d4c0182d5a3b223c93959c7ad66191847
+distfiles="https://github.com/ashaduri/gsmartcontrol/archive/refs/tags/v${version}.tar.gz"
+https://github.com/ashaduri/gsmartcontrol/archive/refs/tags/v2.0.2.tar.gz
+checksum=7cebd83fd34883d51e143389aa88f8173ea7b67c760b12b7de847f3c3c8cee34
 
 post_install() {
 	# license files uneeded

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

* Re: [PR PATCH] [Closed]: gsmartcontrol: update to 2.0.2
  2025-04-17 18:54 [PR PATCH] gsmartcontrol: update to 2.0.2 gc-user
@ 2025-04-17 18:57 ` gc-user
  0 siblings, 0 replies; 3+ messages in thread
From: gc-user @ 2025-04-17 18:57 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 1764 bytes --]

There's a closed pull request on the void-packages repository

gsmartcontrol: update to 2.0.2
https://github.com/void-linux/void-packages/pull/55097

Description:
Long overdue update which brings nvme support.

<!-- Uncomment relevant sections and delete options which are not applicable -->

#### Testing the changes
- I tested the changes in this PR: **YES**

<!--
#### New package
- This new package conforms to the [package requirements](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#package-requirements): **YES**|**NO**
-->

<!-- Note: If the build is likely to take more than 2 hours, please add ci skip tag as described in
https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration
and test at least one native build and, if supported, at least one cross build.
Ignore this section if this PR is not skipping CI.
-->
#### Local build testing
- I built this PR locally for my native architecture, (x86_64-glibc)


Someone please check the template. I had to make some changes via try&error due to upstream changes: the download url is different due to no tar.bz2 file available anymore, and the build-style changed to to these changes since v 2.0.0:

- A lot of code has been refactored and modernized using C++17 and C++20 features, removing much of the custom library code.
- The build process requires a C++20-compliant compiler now (GCC 13+, Clang 17+, Apple Clang 15+).
- CMake (3.14+) is now used as a build system instead of autotools.

That's why I made the lucky guess to change the build_style to cmake.

It builds and runs on my system, but someone who actually knows how to correctly create a template file better check if what I did is ok. :-)
Thanks!

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

* Re: [PR PATCH] [Closed]: gsmartcontrol: update to 2.0.2
  2025-04-17 19:07 [PR PATCH] " gc-user
@ 2025-05-22 10:13 ` gc-user
  0 siblings, 0 replies; 3+ messages in thread
From: gc-user @ 2025-05-22 10:13 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 1768 bytes --]

There's a closed pull request on the void-packages repository

gsmartcontrol: update to 2.0.2
https://github.com/void-linux/void-packages/pull/55098

Description:
Long overdue update which brings nvme support.

<!-- Uncomment relevant sections and delete options which are not applicable -->

#### Testing the changes
- I tested the changes in this PR: **YES**

<!--
#### New package
- This new package conforms to the [package requirements](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#package-requirements): **YES**|**NO**
-->

<!-- Note: If the build is likely to take more than 2 hours, please add ci skip tag as described in
https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration
and test at least one native build and, if supported, at least one cross build.
Ignore this section if this PR is not skipping CI.
-->
#### Local build testing
I built this PR locally for my native architecture, (x86_64-glibc)


Someone please check the template. I had to make some changes via try&error due to upstream changes: the download url is different due to no tar.bz2 file available anymore, and the build-style changed according to these changes since v2.0.0:

- A lot of code has been refactored and modernized using C++17 and C++20 features, removing much of the custom library code.
- The build process requires a C++20-compliant compiler now (GCC 13+, Clang 17+, Apple Clang 15+).
- CMake (3.14+) is now used as a build system instead of autotools.

That's why I made the lucky guess to change the build_style to cmake.

It builds and runs on my system, but someone who actually knows how to correctly create a template file better check if what I did is ok. :-)
Thanks!

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

end of thread, other threads:[~2025-05-22 10:13 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-04-17 18:54 [PR PATCH] gsmartcontrol: update to 2.0.2 gc-user
2025-04-17 18:57 ` [PR PATCH] [Closed]: " gc-user
  -- strict thread matches above, loose matches on Subject: below --
2025-04-17 19:07 [PR PATCH] " gc-user
2025-05-22 10:13 ` [PR PATCH] [Closed]: " gc-user

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).