* [PR PATCH] gsmartcontrol: update to 2.0.2
@ 2025-04-17 18:54 gc-user
0 siblings, 0 replies; 7+ 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] 7+ messages in thread
* [PR PATCH] gsmartcontrol: update to 2.0.2
@ 2025-04-17 19:07 gc-user
2025-05-22 9:30 ` [PR PATCH] [Updated] " gc-user
` (3 more replies)
0 siblings, 4 replies; 7+ messages in thread
From: gc-user @ 2025-04-17 19:07 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 1910 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/55098
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/55098.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-master-55098.patch --]
[-- Type: text/x-diff, Size: 1405 bytes --]
From 53fe18d21de93c2dc3308a6e9388306197f086da Mon Sep 17 00:00:00 2001
From: gc-user <gcuser@disroot.org>
Date: Thu, 17 Apr 2025 21:03:47 +0200
Subject: [PATCH] gsmartcontrol: update to 2.0.2 Long overdue update which
brings nvme support.
---
srcpkgs/gsmartcontrol/template | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/srcpkgs/gsmartcontrol/template b/srcpkgs/gsmartcontrol/template
index 7f20e697a9213e..71f666d75e9420 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,8 @@ 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"
+checksum=7cebd83fd34883d51e143389aa88f8173ea7b67c760b12b7de847f3c3c8cee34
post_install() {
# license files uneeded
^ permalink raw reply related [flat|nested] 7+ messages in thread
* Re: [PR PATCH] [Updated] gsmartcontrol: update to 2.0.2
2025-04-17 19:07 [PR PATCH] gsmartcontrol: update to 2.0.2 gc-user
@ 2025-05-22 9:30 ` gc-user
2025-05-22 9:43 ` gc-user
` (2 subsequent siblings)
3 siblings, 0 replies; 7+ messages in thread
From: gc-user @ 2025-05-22 9:30 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 1923 bytes --]
There is an updated 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/55098
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 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!
A patch file from https://github.com/void-linux/void-packages/pull/55098.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-master-55098.patch --]
[-- Type: text/x-diff, Size: 1405 bytes --]
From 53fe18d21de93c2dc3308a6e9388306197f086da Mon Sep 17 00:00:00 2001
From: gc-user <gcuser@disroot.org>
Date: Thu, 17 Apr 2025 21:03:47 +0200
Subject: [PATCH] gsmartcontrol: update to 2.0.2 Long overdue update which
brings nvme support.
---
srcpkgs/gsmartcontrol/template | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/srcpkgs/gsmartcontrol/template b/srcpkgs/gsmartcontrol/template
index 7f20e697a9213e..71f666d75e9420 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,8 @@ 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"
+checksum=7cebd83fd34883d51e143389aa88f8173ea7b67c760b12b7de847f3c3c8cee34
post_install() {
# license files uneeded
^ permalink raw reply related [flat|nested] 7+ messages in thread
* Re: [PR PATCH] [Updated] gsmartcontrol: update to 2.0.2
2025-04-17 19:07 [PR PATCH] gsmartcontrol: update to 2.0.2 gc-user
2025-05-22 9:30 ` [PR PATCH] [Updated] " gc-user
@ 2025-05-22 9:43 ` gc-user
2025-05-22 10:13 ` [PR PATCH] [Closed]: " gc-user
2025-05-22 10:13 ` [PR PATCH] [Updated] " gc-user
3 siblings, 0 replies; 7+ messages in thread
From: gc-user @ 2025-05-22 9:43 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 1923 bytes --]
There is an updated 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/55098
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 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!
A patch file from https://github.com/void-linux/void-packages/pull/55098.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-master-55098.patch --]
[-- Type: text/x-diff, Size: 9991 bytes --]
From 53fe18d21de93c2dc3308a6e9388306197f086da Mon Sep 17 00:00:00 2001
From: gc-user <gcuser@disroot.org>
Date: Thu, 17 Apr 2025 21:03:47 +0200
Subject: [PATCH 1/2] gsmartcontrol: update to 2.0.2 Long overdue update which
brings nvme support.
---
srcpkgs/gsmartcontrol/template | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/srcpkgs/gsmartcontrol/template b/srcpkgs/gsmartcontrol/template
index 7f20e697a9213e..71f666d75e9420 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,8 @@ 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"
+checksum=7cebd83fd34883d51e143389aa88f8173ea7b67c760b12b7de847f3c3c8cee34
post_install() {
# license files uneeded
From 0777d87950c3172b12d9bcf61e3ad57646098a81 Mon Sep 17 00:00:00 2001
From: gc-user <gcuser@disroot.org>
Date: Thu, 22 May 2025 11:41:18 +0200
Subject: [PATCH 2/2] ffmpegthumbnailer: update to 2.2.3
---
.../ffmpegthumbnailer/patches/ffmpeg6.patch | 202 ------------------
srcpkgs/ffmpegthumbnailer/template | 8 +-
2 files changed, 4 insertions(+), 206 deletions(-)
delete mode 100644 srcpkgs/ffmpegthumbnailer/patches/ffmpeg6.patch
diff --git a/srcpkgs/ffmpegthumbnailer/patches/ffmpeg6.patch b/srcpkgs/ffmpegthumbnailer/patches/ffmpeg6.patch
deleted file mode 100644
index 363ff35a28419d..00000000000000
--- a/srcpkgs/ffmpegthumbnailer/patches/ffmpeg6.patch
+++ /dev/null
@@ -1,202 +0,0 @@
---- a/libffmpegthumbnailer/moviedecoder.cpp 2017-11-21 14:06:57.000000000 -0500
-+++ b/libffmpegthumbnailer/moviedecoder.cpp 2023-05-05 13:14:47.946560668 -0400
-@@ -41,11 +41,6 @@
- namespace ffmpegthumbnailer
- {
-
--struct SilenceLogLevel
--{
-- SilenceLogLevel() { av_log_set_level(AV_LOG_QUIET); }
--};
--
- MovieDecoder::MovieDecoder(AVFormatContext* pavContext)
- : m_VideoStream(-1)
- , m_pFormatContext(pavContext)
-@@ -70,8 +65,6 @@
-
- void MovieDecoder::initialize(const string& filename, bool preferEmbeddedMetadata)
- {
-- av_register_all();
-- avcodec_register_all();
- avformat_network_init();
-
- string inputFile = filename == "-" ? "pipe:" : filename;
-@@ -97,8 +90,7 @@
- {
- if (m_pVideoCodecContext)
- {
-- avcodec_close(m_pVideoCodecContext);
-- m_pVideoCodecContext = nullptr;
-+ avcodec_free_context(&m_pVideoCodecContext);
- }
-
- if ((!m_FormatContextWasGiven) && m_pFormatContext)
-@@ -152,10 +144,10 @@
- for (unsigned int i = 0; i < m_pFormatContext->nb_streams; ++i)
- {
- AVStream *stream = m_pFormatContext->streams[i];
-- auto ctx = m_pFormatContext->streams[i]->codec;
-- if (ctx->codec_type == AVMEDIA_TYPE_VIDEO)
-+ auto par = m_pFormatContext->streams[i]->codecpar;
-+ if (par->codec_type == AVMEDIA_TYPE_VIDEO)
- {
-- if (!preferEmbeddedMetadata || !isStillImageCodec(ctx->codec_id))
-+ if (!preferEmbeddedMetadata || !isStillImageCodec(par->codec_id))
- {
- videoStreams.push_back(i);
- continue;
-@@ -203,8 +195,7 @@
- }
-
- m_pVideoStream = m_pFormatContext->streams[m_VideoStream];
-- m_pVideoCodecContext = m_pVideoStream->codec;
-- m_pVideoCodec = avcodec_find_decoder(m_pVideoCodecContext->codec_id);
-+ m_pVideoCodec = avcodec_find_decoder(m_pVideoStream->codecpar->codec_id);
-
- if (m_pVideoCodec == nullptr)
- {
-@@ -214,6 +205,20 @@
- throw logic_error("Video Codec not found");
- }
-
-+ m_pVideoCodecContext = avcodec_alloc_context3(m_pVideoCodec);
-+
-+ if (m_pVideoCodecContext == nullptr)
-+ {
-+ destroy();
-+ throw logic_error("Could not allocate video codec context");
-+ }
-+
-+ if (avcodec_parameters_to_context(m_pVideoCodecContext, m_pVideoStream->codecpar) < 0)
-+ {
-+ destroy();
-+ throw logic_error("Could not configure video codec context");
-+ }
-+
- m_pVideoCodecContext->workaround_bugs = 1;
-
- if (avcodec_open2(m_pVideoCodecContext, m_pVideoCodec, nullptr) < 0)
-@@ -386,13 +391,6 @@
-
- void MovieDecoder::initializeFilterGraph(const AVRational& timeBase, const std::string& size, bool maintainAspectRatio)
- {
-- static const AVPixelFormat pixelFormats[] = { AV_PIX_FMT_RGB24, AV_PIX_FMT_NONE };
--
-- auto del = [] (AVBufferSinkParams* p) { av_freep(p); };
-- std::unique_ptr<AVBufferSinkParams, decltype(del)> buffersinkParams(av_buffersink_params_alloc(), del);
--
-- avfilter_register_all();
--
- m_pFilterGraph = avfilter_graph_alloc();
- assert(m_pFilterGraph);
-
-@@ -404,10 +402,8 @@
-
- checkRc(avfilter_graph_create_filter(&m_pFilterSource, avfilter_get_by_name("buffer"), "thumb_buffer", ss.str().c_str(), nullptr, m_pFilterGraph),
- "Failed to create filter source");
-- buffersinkParams->pixel_fmts = pixelFormats;
-- checkRc(avfilter_graph_create_filter(&m_pFilterSink, avfilter_get_by_name("buffersink"), "thumb_buffersink", nullptr, buffersinkParams.get(), m_pFilterGraph),
-+ checkRc(avfilter_graph_create_filter(&m_pFilterSink, avfilter_get_by_name("buffersink"), "thumb_buffersink", nullptr, nullptr, m_pFilterGraph),
- "Failed to create filter sink");
-- buffersinkParams.release();
-
- AVFilterContext* yadifFilter = nullptr;
- if (m_pFrame->interlaced_frame != 0)
-@@ -500,15 +496,15 @@
- }
-
- checkRc(av_seek_frame(m_pFormatContext, -1, timestamp, 0), "Seeking in video failed");
-- avcodec_flush_buffers(m_pFormatContext->streams[m_VideoStream]->codec);
-+ avcodec_flush_buffers(m_pVideoCodecContext);
-
- int keyFrameAttempts = 0;
-- bool gotFrame = 0;
-+ bool gotFrame;
-
- do
- {
- int count = 0;
-- gotFrame = 0;
-+ gotFrame = false;
-
- while (!gotFrame && count < 20)
- {
-@@ -552,17 +548,33 @@
- return false;
- }
-
-- av_frame_unref(m_pFrame);
--
-- int frameFinished;
-+ int rc = avcodec_send_packet(m_pVideoCodecContext, m_pPacket);
-+ if(rc == AVERROR(EAGAIN))
-+ {
-+ rc = 0;
-+ }
-
-- int bytesDecoded = avcodec_decode_video2(m_pVideoCodecContext, m_pFrame, &frameFinished, m_pPacket);
-- if (bytesDecoded < 0)
-+ if(rc == AVERROR_EOF)
-+ {
-+ return false;
-+ }
-+ else if(rc < 0)
- {
-- throw logic_error("Failed to decode video frame: bytesDecoded < 0");
-+ throw logic_error("Failed to decode video frame: avcodec_send_packet() < 0");
- }
-
-- return frameFinished > 0;
-+ rc = avcodec_receive_frame(m_pVideoCodecContext, m_pFrame);
-+ switch(rc)
-+ {
-+ case 0:
-+ return true;
-+
-+ case AVERROR(EAGAIN):
-+ return false;
-+
-+ default:
-+ throw logic_error("Failed to decode video frame: avcodec_receive_frame() < 0");
-+ }
- }
-
- bool MovieDecoder::getVideoPacket()
-@@ -570,8 +582,6 @@
- bool framesAvailable = true;
- bool frameDecoded = false;
-
-- int attempts = 0;
--
- if (m_pPacket)
- {
- av_packet_unref(m_pPacket);
-@@ -580,6 +590,7 @@
-
- m_pPacket = new AVPacket();
-
-+
- while (framesAvailable && !frameDecoded)
- {
- framesAvailable = av_read_frame(m_pFormatContext, m_pPacket) >= 0;
-@@ -644,7 +655,7 @@
-
- int32_t MovieDecoder::getStreamRotation()
- {
-- int32_t* matrix = reinterpret_cast<int32_t*>(av_stream_get_side_data(m_pVideoStream, AV_PKT_DATA_DISPLAYMATRIX, nullptr));
-+ auto matrix = reinterpret_cast<int32_t*>(av_stream_get_side_data(m_pVideoStream, AV_PKT_DATA_DISPLAYMATRIX, nullptr));
- if (matrix)
- {
- auto angle = lround(av_display_rotation_get(matrix));
-
---- a/libffmpegthumbnailer/moviedecoder.h 2017-11-12 04:23:38.000000000 -0500
-+++ b/libffmpegthumbnailer/moviedecoder.h 2023-05-05 13:26:07.095529911 -0400
-@@ -78,7 +78,7 @@
- int m_VideoStream;
- AVFormatContext* m_pFormatContext;
- AVCodecContext* m_pVideoCodecContext;
-- AVCodec* m_pVideoCodec;
-+ const AVCodec* m_pVideoCodec;
- AVFilterGraph* m_pFilterGraph;
- AVFilterContext* m_pFilterSource;
- AVFilterContext* m_pFilterSink;
diff --git a/srcpkgs/ffmpegthumbnailer/template b/srcpkgs/ffmpegthumbnailer/template
index add38199986eb5..05698290ff3e6e 100644
--- a/srcpkgs/ffmpegthumbnailer/template
+++ b/srcpkgs/ffmpegthumbnailer/template
@@ -1,7 +1,7 @@
# Template file for 'ffmpegthumbnailer'
pkgname=ffmpegthumbnailer
-version=2.2.2
-revision=2
+version=2.2.3
+revision=1
build_style=cmake
hostmakedepends="pkg-config"
makedepends="libpng-devel libjpeg-turbo-devel ffmpeg6-devel"
@@ -10,8 +10,8 @@ short_desc="Lightweight video thumbnailer"
maintainer="Orphaned <orphan@voidlinux.org>"
license="GPL-2.0-or-later"
homepage="https://github.com/dirkvdb"
-distfiles="${homepage}/${pkgname}/releases/download/${version}/${pkgname}-${version}.tar.bz2"
-checksum=1cb24059c38223f657b300c84dd80491b7040d4b69471c4fea69be862bc99b5b
+distfiles="${homepage}/${pkgname}/archive/refs/tags/${version}.tar.gz"
+checksum=8c9b9057c6cc8bce9d11701af224c8139c940f734c439a595525e073b09d19b8
post_install() {
vinstall dist/ffmpegthumbnailer.thumbnailer 644 usr/share/thumbnailers
^ permalink raw reply related [flat|nested] 7+ messages in thread
* Re: [PR PATCH] [Closed]: gsmartcontrol: update to 2.0.2
2025-04-17 19:07 [PR PATCH] gsmartcontrol: update to 2.0.2 gc-user
2025-05-22 9:30 ` [PR PATCH] [Updated] " gc-user
2025-05-22 9:43 ` gc-user
@ 2025-05-22 10:13 ` gc-user
2025-05-22 10:13 ` [PR PATCH] [Updated] " gc-user
3 siblings, 0 replies; 7+ 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] 7+ messages in thread
* Re: [PR PATCH] [Updated] gsmartcontrol: update to 2.0.2
2025-04-17 19:07 [PR PATCH] gsmartcontrol: update to 2.0.2 gc-user
` (2 preceding siblings ...)
2025-05-22 10:13 ` [PR PATCH] [Closed]: " gc-user
@ 2025-05-22 10:13 ` gc-user
3 siblings, 0 replies; 7+ messages in thread
From: gc-user @ 2025-05-22 10:13 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 1923 bytes --]
There is an updated 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/55098
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 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!
A patch file from https://github.com/void-linux/void-packages/pull/55098.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-master-55098.patch --]
[-- Type: text/x-diff, Size: 0 bytes --]
^ permalink raw reply [flat|nested] 7+ messages in thread
* [PR PATCH] gsmartcontrol: update to 2.0.2
@ 2025-05-22 10:34 gc-user
0 siblings, 0 replies; 7+ messages in thread
From: gc-user @ 2025-05-22 10:34 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 1272 bytes --]
There is a new pull request by gc-user against master on the void-packages repository
https://github.com/gc-user/void-packages patch-1
https://github.com/void-linux/void-packages/pull/55414
gsmartcontrol: update to 2.0.2
Long overdue update which brings nvme support.
Testing the changes
I tested the changes in this PR: YES
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!
A patch file from https://github.com/void-linux/void-packages/pull/55414.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-patch-1-55414.patch --]
[-- Type: text/x-diff, Size: 1404 bytes --]
From 33ccfe60dfa977441f2424f8eee569ff786e1c8d Mon Sep 17 00:00:00 2001
From: gc-user <gcuser@disroot.org>
Date: Thu, 22 May 2025 12:28:44 +0200
Subject: [PATCH] gsmartcontrol: update to 2.0.2
Long overdue update which brings nvme support.
---
srcpkgs/gsmartcontrol/template | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/srcpkgs/gsmartcontrol/template b/srcpkgs/gsmartcontrol/template
index 7f20e697a9213e..71f666d75e9420 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,8 @@ 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"
+checksum=7cebd83fd34883d51e143389aa88f8173ea7b67c760b12b7de847f3c3c8cee34
post_install() {
# license files uneeded
^ permalink raw reply related [flat|nested] 7+ messages in thread
end of thread, other threads:[~2025-05-22 10:34 UTC | newest]
Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-04-17 19:07 [PR PATCH] gsmartcontrol: update to 2.0.2 gc-user
2025-05-22 9:30 ` [PR PATCH] [Updated] " gc-user
2025-05-22 9:43 ` gc-user
2025-05-22 10:13 ` [PR PATCH] [Closed]: " gc-user
2025-05-22 10:13 ` [PR PATCH] [Updated] " gc-user
-- strict thread matches above, loose matches on Subject: below --
2025-05-22 10:34 [PR PATCH] " gc-user
2025-04-17 18:54 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).