сб, 12 апр. 2025 г., 12:35 Andrew Randrianasulu <[email protected]>:

>
>
> сб, 12 апр. 2025 г., 12:23 Andrea paz <[email protected]>:
>
>> In .../thirdparty/src there is also a tarball “tiff-4.6.0t.tar.xz”
>> i.e. with an extra “t” after the 0. There are also 2 patches
>> concerning this version with the extra “t”. I cannot find on git any
>> tarball 4.7.0 with the extra “t” (there is a version with “orca”). I
>> tried to delete tarball and its 2 patches, but I have a crash of which
>> I attach the “cin_t.log”.
>>
>
> patch -d tiff* -p1 < src/tiff-4.7.0.patch1
> accuracy.c:286:3: warning: incompatible implicit declaration of built-in
> function ‘exit’ [-Wbuiltin-declaration-mismatch]
>   286 |   exit(0);
>       |   ^~~~
> accuracy.c:286:3: note: include ‘<stdlib.h>’ or provide a declaration of
> ‘exit’
> make[4]: ingresso nella directory
> «/home/paz/cinelerra5/cinelerra-5.1/thirdparty/dav1d-0.5.1»
> ./compile hier.c
> patching file Makefile.am
> Hunk #1 FAILED at 60.
> 1 out of 1 hunk FAILED -- saving rejects to file Makefile.am.rej
> checking for a BSD-compatible install... make[2]: *** [Makefile:386:
> /home/paz/cinelerra5/cinelerra-5.1/thirdparty/../thirdparty/build/tiff.source]
> Error 1
>
>
> so ... I need to work more on this ;)
>
> sorry
>

strange. I removed 4.6.0 patches and tarball, 4.6.0t tarball, renamed
4.6.0t patches to 4.7.0 patches and build on termux finished unattended?

see attached git am patch that add just same 4.6.0t patches as 4.7.0





>
> I redid the compilation leaving tarball and the 2 patches (4.6.0) and
>> I still have a crash of which I attach the “cin_6.log”.
>> Finally, out of curiosity, I tried a build without thirdparty, that
>> is, with system ffmpeg and no patches. The build is successful and I
>> can load and work on tiff images.
>>
>
>
> well, if you link to system ffmpeg and libtiff there is no miracle ;)
>
>>
From d0e2ddad5853cdad2bb37f649806a93696db96e2 Mon Sep 17 00:00:00 2001
From: Andrew Randrianasulu <[email protected]>
Date: Sat, 12 Apr 2025 17:37:53 +0300
Subject: [PATCH 12/12] tiff 4.7.0 patches renamed from 4.6.0t patches

---
 cinelerra-5.1/thirdparty/src/tiff-4.7.0.patch1 | 11 +++++++++++
 cinelerra-5.1/thirdparty/src/tiff-4.7.0.patch2 | 10 ++++++++++
 2 files changed, 21 insertions(+)
 create mode 100644 cinelerra-5.1/thirdparty/src/tiff-4.7.0.patch1
 create mode 100644 cinelerra-5.1/thirdparty/src/tiff-4.7.0.patch2

diff --git a/cinelerra-5.1/thirdparty/src/tiff-4.7.0.patch1 b/cinelerra-5.1/thirdparty/src/tiff-4.7.0.patch1
new file mode 100644
index 00000000..29246abd
--- /dev/null
+++ b/cinelerra-5.1/thirdparty/src/tiff-4.7.0.patch1
@@ -0,0 +1,11 @@
+--- ./Makefile.am
++++ ./Makefile.am
+@@ -60,7 +60,7 @@
+ 	rm -rf $(distdir)/_build/cmake
+ 	rm -rf $(distdir)/_inst/cmake
+ 
+-SUBDIRS = port libtiff tools build contrib test doc
++SUBDIRS = port libtiff build
+ 
+ 
+ NEW_LIBTIFF_RELEASE_DATE=$(shell date +"%Y%m%d")
diff --git a/cinelerra-5.1/thirdparty/src/tiff-4.7.0.patch2 b/cinelerra-5.1/thirdparty/src/tiff-4.7.0.patch2
new file mode 100644
index 00000000..5067d8db
--- /dev/null
+++ b/cinelerra-5.1/thirdparty/src/tiff-4.7.0.patch2
@@ -0,0 +1,10 @@
+--- ./configure.ac
++++ ./configure.ac
+@@ -873,6 +873,7 @@
+ if test "x$enable_webp" != "xno" ; then
+ 
+   if test "x$with_webp_lib_dir" != "x" ; then
++    LIBS="-lpthread $LIBS"
+     LDFLAGS="-L$with_webp_lib_dir $LDFLAGS"
+   fi
+   
-- 
2.49.0

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

Reply via email to