On Thursday, March 31, 2022, Andrew Randrianasulu <[email protected]>
wrote:

> I currently (slowly!) building dynamic cingg on void-ppc (half-installed
> on qemu-system-ppc -M mac99. half-installed because i failed pmac-fdisk
> quest ;) so no grub, but i can boot from iso/emulated cdrom anyway)
>
> for some reason if SHELL set to /bin/sh (not bash, posix shell) configure
> fails, because it really assumes bash. may be CONFIG_SHELL=/path/to/bash
> before ./autogen.sh will fix this? i just edited configure with nano
>
> now it really demanded libxinerama and libxfixes {and probably
> xft/freetype too - at least my netbsd install refused to build with
> --without-xft - may be some ifdefines missed?} - may be configure should
> fail earlier if we can not find them?
>

tried to implement some early configure aborting in case requred xlibs not
found or v4l2/dvb enabled without libzmpeg support





> also doc/cinelerra.html is build-time generated, so may we exclude it from
> git (it messes git diff after successfull build)?
>
> also, can we add those tree cases in guicast/Makefile (after i386 case for
> BSDs) :
>
> ifeq ($(OBJDIR), ppc64le)
> BOOTSTRAPFLAGS := -DBOOTSTRAP="\"objcopy -B powerpc -I binary -O
> elf64-powerpcle\""
> endif
>
>
>  ifeq ($(OBJDIR), ppc)
> BOOTSTRAPFLAGS := -DBOOTSTRAP="\"objcopy -B powerpc -I binary -O
> elf32-powerpc\""
> endif
>
>  ifeq ($(OBJDIR), ppc64) +BOOTSTRAPFLAGS := -DBOOTSTRAP="\"objcopy -B
> powerpc -I binary -O elf64-powerpc\""
>  endif
>
> ?
>
> thanks!
>
>
From 14719eb18856a96e4abd824023b0c7e84e693a6d Mon Sep 17 00:00:00 2001
From: Andrew Randrianasulu <[email protected]>
Date: Sun, 3 Apr 2022 19:34:26 +0300
Subject: [PATCH 1/2] video4linux2 and DVB support currently depend on libzmpeg

---
 cinelerra-5.1/configure.ac | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/cinelerra-5.1/configure.ac b/cinelerra-5.1/configure.ac
index c6d78b0f..7c53cb4c 100644
--- a/cinelerra-5.1/configure.ac
+++ b/cinelerra-5.1/configure.ac
@@ -83,6 +83,12 @@ fi
 if test "x$WANT_COMMERCIAL" = "xyes" -a "x$WANT_LIBZMPEG" != "xyes" ; then
   AC_MSG_ERROR([commercial requires libzmpeg support.])
 fi
+if test "x$WANT_VIDEO4LINUX2" = "xyes" -a "x$WANT_LIBZMPEG" != "xyes" ; then
+  AC_MSG_ERROR([video4linux2 currently requires libzmpeg support.])
+fi
+if test "x$WANT_DVB" = "xyes" -a "x$WANT_LIBZMPEG" != "xyes" ; then
+  AC_MSG_ERROR([dvb currently requires libzmpeg support.])
+fi
 
 if test "x$WANT_CINBIN_BUILD" = "xyes"; then
   WANT_LOCALE_DIR='$$CIN_LIB/locale'
-- 
2.35.1

From 7e19e8debde917bc1aedcf47e693ff91e5eeda6a Mon Sep 17 00:00:00 2001
From: Andrew Randrianasulu <[email protected]>
Date: Sun, 3 Apr 2022 19:45:51 +0300
Subject: [PATCH 2/2] Try to abort earlier if xinerama/xfixes support not here

---
 cinelerra-5.1/configure.ac | 9 +++++++++
 1 file changed, 9 insertions(+)

diff --git a/cinelerra-5.1/configure.ac b/cinelerra-5.1/configure.ac
index 7c53cb4c..88bd80a2 100644
--- a/cinelerra-5.1/configure.ac
+++ b/cinelerra-5.1/configure.ac
@@ -587,7 +587,16 @@ CHECK_LIB([XEXT], [Xext], [XShmQueryExtension])
 CHECK_HEADERS([XEXT], [Xlib XShm extention], [X11/Xlib.h X11/extensions/XShm.h X11/extensions/shape.h])
 CHECK_LIB([XINERAMA], [Xinerama], [XineramaQueryExtension])
 CHECK_HEADERS([XINERAMA], [Xinerama headers], [X11/extensions/Xinerama.h])
+
+if test "x$HAVE_XINERAMA" != "xyes"; then
+  AC_MSG_ERROR([requires Xinerama support.])
+fi
+
 CHECK_LIB([XFIXES], [Xfixes], [XFixesQueryVersion])
+if test "x$HAVE_XFIXES" != "xyes"; then
+  AC_MSG_ERROR([requires XFixes support.])
+fi
+
 CHECK_LIB([BZ2], [bz2], [BZ2_bzDecompress])
 CHECK_LIB([FONTCONFIG], [fontconfig], [FcInit])
 CHECK_LIB([FREETYPE], [freetype], [FT_Init_FreeType])
-- 
2.35.1

-- 
Cin mailing list
[email protected]
https://lists.cinelerra-gg.org/mailman/listinfo/cin

Reply via email to