From: newbluemoon <newbluemoon@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: Re: [PR PATCH] [Updated] [WIP] ccextractor: update to 0.94
Date: Tue, 05 Jul 2022 06:30:05 +0200 [thread overview]
Message-ID: <20220705043005.OCjybi47S5p3VXrV-1-qY9a8uSsRmTqQ78gfCLuYmZ0@z> (raw)
In-Reply-To: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-36123@inbox.vuxu.org>
[-- Attachment #1: Type: text/plain, Size: 1434 bytes --]
There is an updated pull request by newbluemoon against master on the void-packages repository
https://github.com/newbluemoon/void-packages ccextractor
https://github.com/void-linux/void-packages/pull/36123
[WIP] ccextractor: update to 0.94
<!-- Uncomment relevant sections and delete options which are not applicable -->
#### Testing the changes
- I tested the changes in this PR: **YES**
WIP, because there is a segmentation fault when using the `-hardsubx` option which doesn’t occur in the current version 0.93. I haven’t had the time for a deeper look, any idea is welcome. :)
<!--
#### New package
- This new package conforms to the [quality requirements](https://github.com/void-linux/void-packages/blob/master/Manual.md#quality-requirements): **YES**|**NO**
-->
<!-- Note: If the build is likely to take more than 2 hours, please [skip CI](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, (ARCH-LIBC)
- I built this PR locally for these architectures (if supported. mark crossbuilds):
- aarch64-musl
- armv7l
- armv6l-musl
-->
A patch file from https://github.com/void-linux/void-packages/pull/36123.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-ccextractor-36123.patch --]
[-- Type: text/x-diff, Size: 2443 bytes --]
From 7dd225100ec2a902d218e176cb73998c606f4f21 Mon Sep 17 00:00:00 2001
From: newbluemoon <blaumolch@mailbox.org>
Date: Sun, 13 Mar 2022 20:42:17 +0100
Subject: [PATCH] ccextractor: update to 0.94
---
| 11 +++++++++++
| 10 +++++-----
2 files changed, 16 insertions(+), 5 deletions(-)
create mode 100644 srcpkgs/ccextractor/patches/dont-strip-symbols.patch
--git a/srcpkgs/ccextractor/patches/dont-strip-symbols.patch b/srcpkgs/ccextractor/patches/dont-strip-symbols.patch
new file mode 100644
index 000000000000..e4fb385c866b
--- /dev/null
+++ b/srcpkgs/ccextractor/patches/dont-strip-symbols.patch
@@ -0,0 +1,11 @@
+--- a/linux/Makefile.am 2021-12-15 18:03:45.000000000 +0100
++++ b/linux/Makefile.am 2021-12-16 11:52:15.188381379 +0100
+@@ -349,7 +349,7 @@
+ CARGO_TARGET_DIR=../../linux/rust $(CARGO) build $(CARGO_RELEASE_ARGS);
+
+ if SYS_IS_LINUX
+-ccextractor_CFLAGS += -O3 -s -DGPAC_CONFIG_LINUX
++ccextractor_CFLAGS += -O2 -DGPAC_CONFIG_LINUX
+ endif
+
+ if SYS_IS_MAC
--git a/srcpkgs/ccextractor/template b/srcpkgs/ccextractor/template
index 9abcd82852b2..0d355c745d9c 100644
--- a/srcpkgs/ccextractor/template
+++ b/srcpkgs/ccextractor/template
@@ -1,19 +1,19 @@
# Template file for 'ccextractor'
pkgname=ccextractor
-version=0.93
+version=0.94
revision=1
build_wrksrc="linux"
build_style=gnu-configure
-configure_args="--enable-ocr --enable-hardsubx"
+configure_args="--enable-ocr --enable-hardsubx --without-rust"
hostmakedepends="automake pkg-config"
-makedepends="leptonica-devel tesseract-ocr-devel ffmpeg-devel"
+makedepends="ffmpeg-devel freetype-devel leptonica-devel libutf8proc-devel tesseract-ocr-devel"
short_desc="Extract subtitles from video streams"
maintainer="newbluemoon <blaumolch@mailbox.org>"
license="GPL-2.0-or-later"
homepage="https://www.ccextractor.org/"
changelog="https://raw.githubusercontent.com/CCExtractor/ccextractor/master/docs/CHANGES.TXT"
-distfiles="https://github.com/CCExtractor/${pkgname}/archive/v${version}.tar.gz"
-checksum=0e66d3e360db1b02a88271af11313ca4c9bbda1b03728e264a44c4c9f77192e3
+distfiles="https://github.com/CCExtractor/ccextractor/archive/v${version}.tar.gz"
+checksum=9c7be386257c69b5d8cd9d7466dbf20e3a45cea950cc8ca7486a956c3be54a42
CFLAGS="-I${XBPS_CROSS_BASE}/usr/include/tesseract -DPNG_POWERPC_VSX_OPT=0 -fcommon"
pre_configure() {
next prev parent reply other threads:[~2022-07-05 4:30 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-03-13 19:51 [PR PATCH] " newbluemoon
2022-03-13 20:31 ` [PR PATCH] [Updated] " newbluemoon
2022-03-13 20:33 ` newbluemoon
2022-06-28 2:16 ` github-actions
2022-07-05 4:30 ` newbluemoon [this message]
2022-07-20 2:13 ` [PR PATCH] [Closed]: " github-actions
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20220705043005.OCjybi47S5p3VXrV-1-qY9a8uSsRmTqQ78gfCLuYmZ0@z \
--to=newbluemoon@users.noreply.github.com \
--cc=ml@inbox.vuxu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).