GNU bug report logs - #77675
[PATCH 0/2] Remove libvideogfx and ffmpeg-2.8

Previous Next

Package: guix-patches;

Reported by: Andreas Enge <andreas <at> enge.fr>

Date: Wed, 9 Apr 2025 09:31:02 UTC

Severity: normal

Tags: patch

To reply to this bug, email your comments to 77675 AT debbugs.gnu.org.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to guix-patches <at> gnu.org:
bug#77675; Package guix-patches. (Wed, 09 Apr 2025 09:31:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Andreas Enge <andreas <at> enge.fr>:
New bug report received and forwarded. Copy sent to guix-patches <at> gnu.org. (Wed, 09 Apr 2025 09:31:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Andreas Enge <andreas <at> enge.fr>
To: guix-patches <at> gnu.org
Cc: Andreas Enge <andreas <at> enge.fr>
Subject: [PATCH 0/2] Remove libvideogfx and ffmpeg-2.8
Date: Wed,  9 Apr 2025 11:28:52 +0200
I suggest to remove libvideogfx and ffmpeg-2.8 on or after May 9.


Andreas Enge (2):
  gnu: Remove libvideogfx.
  gnu: Remove ffmpeg-2.8.

 gnu/packages/video.scm | 84 ------------------------------------------
 1 file changed, 84 deletions(-)


base-commit: 90357c6090de8c6befec232996dbc7415112a081
-- 
2.49.0





Information forwarded to guix-patches <at> gnu.org:
bug#77675; Package guix-patches. (Wed, 09 Apr 2025 09:39:02 GMT) Full text and rfc822 format available.

Message #8 received at 77675 <at> debbugs.gnu.org (full text, mbox):

From: Andreas Enge <andreas <at> enge.fr>
To: 77675 <at> debbugs.gnu.org
Cc: rg <at> raghavgururajan.name, Andreas Enge <andreas <at> enge.fr>, ngraves <at> ngraves.fr
Subject: [PATCH 1/2] gnu: Remove libvideogfx.
Date: Wed,  9 Apr 2025 11:38:19 +0200
This is a library without dependent packages, which has seen its latest
release in 2014. It has a very outdated ffmpeg version as input.

* gnu/packages/video.scm (libvideogfx): Delete variable.

Change-Id: I3303310558e6959047d17f93cf2a9c3272b663ed
---
 gnu/packages/video.scm | 41 -----------------------------------------
 1 file changed, 41 deletions(-)

diff --git a/gnu/packages/video.scm b/gnu/packages/video.scm
index 9f18f4dcc2..b0e10576b7 100644
--- a/gnu/packages/video.scm
+++ b/gnu/packages/video.scm
@@ -657,47 +657,6 @@ (define-public libmms
     (home-page "https://sourceforge.net/projects/libmms/")
     (license license:lgpl2.1+)))
 
-(define-public libvideogfx
-  (package
-    (name "libvideogfx")
-    (version "1.0.9")
-    (source
-     (origin
-       (method git-fetch)
-       (uri
-        (git-reference
-         (url "https://github.com/farindk/libvideogfx")
-         (commit (string-append "v" version))))
-       (file-name (git-file-name name version))
-       (sha256
-        (base32 "154b0j8cfg879pg08xcbwvbz8z9nrfnyj31i48vxir1psas70ynq"))))
-    (build-system gnu-build-system)
-    (arguments
-     `(#:phases
-       (modify-phases %standard-phases
-         (add-after 'unpack 'fix-build-errors
-           (lambda _
-             (substitute* "libvideogfx/graphics/fileio/ffmpeg.cc"
-               (("av_close_input_file\\(")
-                "avformat_close_input(&"))
-             (substitute* "libvideogfx/graphics/fileio/png.cc"
-               (("is != NULL") "is.good()"))
-             #t)))))
-    (native-inputs
-     (list autoconf automake libtool pkg-config))
-    (inputs
-     `(("ffmpeg" ,ffmpeg-2.8)
-       ("jpeg" ,libjpeg-turbo)
-       ("png" ,libpng)
-       ("x11" ,libx11)
-       ("xext" ,libxext)))
-    (synopsis "Video processing library")
-    (description "LibVideoGfx is a C++ library for low-level video processing.
-It aims at speeding up the development process for image and video processing
-applications by providing high-level classes for commonly required tasks.")
-    (home-page "https://dirk-farin.net/software/libvideogfx/index.html")
-    (license license:lgpl2.1+)))
-
 (define-public libde265
   (package
     (name "libde265")

base-commit: 90357c6090de8c6befec232996dbc7415112a081
-- 
2.49.0





Information forwarded to guix-patches <at> gnu.org:
bug#77675; Package guix-patches. (Wed, 09 Apr 2025 09:39:02 GMT) Full text and rfc822 format available.

Message #11 received at 77675 <at> debbugs.gnu.org (full text, mbox):

From: Andreas Enge <andreas <at> enge.fr>
To: 77675 <at> debbugs.gnu.org
Cc: rg <at> raghavgururajan.name, Andreas Enge <andreas <at> enge.fr>, ngraves <at> ngraves.fr
Subject: [PATCH 2/2] gnu: Remove ffmpeg-2.8.
Date: Wed,  9 Apr 2025 11:38:20 +0200
Version 3.0 of ffmpeg was released in 2016. After the removal of
libvideogfx, this ffmpeg version is a leaf package.

* gnu/packages/video.scm (ffmpeg-2.8): Delete variable.

Change-Id: I00b245cb908c83e3ff45dcbbc9273eb0b0faf9fd
---
 gnu/packages/video.scm | 51 ------------------------------------------
 1 file changed, 51 deletions(-)

diff --git a/gnu/packages/video.scm b/gnu/packages/video.scm
index b0e10576b7..428a7d62fa 100644
--- a/gnu/packages/video.scm
+++ b/gnu/packages/video.scm
@@ -1922,57 +1922,6 @@ (define-public ffmpeg-3.4
     (inputs (modify-inputs (package-inputs ffmpeg-4)
               (delete "dav1d" "libaom" "rav1e" "srt")))))
 
-(define-public ffmpeg-2.8
-  (package
-    (inherit ffmpeg-3.4)
-    (version "2.8.22")
-    (source (origin
-              (method url-fetch)
-              (uri (string-append "https://ffmpeg.org/releases/ffmpeg-"
-                                  version ".tar.xz"))
-              (sha256
-               (base32
-                "0c8m4hhv2k5fybha908wzrpnf3wqkq52hayl658jq4bah0igdfqz"))
-              (patches (search-patches "ffmpeg-4-binutils-2.41.patch"))))
-    (arguments
-     `(#:tests? #f               ; XXX: Enable them later, if required
-       #:configure-flags
-       (list
-        "--disable-static"
-        "--enable-shared"
-        "--extra-cflags=-DFF_API_OLD_ENCODE_VIDEO -DFF_API_OLD_ENCODE_AUDIO")
-       #:phases
-       (modify-phases %standard-phases
-         (replace 'configure
-           (lambda* (#:key outputs configure-flags #:allow-other-keys)
-             (let ((out (assoc-ref outputs "out")))
-               (substitute* "configure"
-                 (("#! /bin/sh") (string-append "#!" (which "sh"))))
-                ;; configure does not work followed by "SHELL=..." and
-                ;; "CONFIG_SHELL=..."; set environment variables instead.
-               (setenv "SHELL" (which "bash"))
-               (setenv "CONFIG_SHELL" (which "bash"))
-               (apply invoke
-                      "./configure"
-                      (string-append "--prefix=" out)
-                      ;; Add $libdir to the RUNPATH of all the binaries.
-                      (string-append "--extra-ldflags=-Wl,-rpath="
-                                     out "/lib")
-                      configure-flags))))
-         (add-before
-             'check 'set-ld-library-path
-           (lambda _
-             ;; Allow $(top_builddir)/ffmpeg to find its dependencies when
-             ;; running tests.
-             (let* ((dso  (find-files "." "\\.so$"))
-                    (path (string-join (map dirname dso) ":")))
-               (format #t "setting LD_LIBRARY_PATH to ~s~%" path)
-               (setenv "LD_LIBRARY_PATH" path)))))))
-    ;; FFmpeg 2.8 does support libwebp, but we don't enable it while configuring
-    ;; the build, and we'd rather not add features to this old package anymore.
-    (inputs (modify-inputs (package-inputs ffmpeg-3.4)
-              (delete "libwebp")))))
-
 (define-public ffmpeg-for-stepmania
   (hidden-package
    (package
-- 
2.49.0





This bug report was last modified 3 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.