Package Details: lives 2.8.1-2

Git Clone URL: https://aur.archlinux.org/lives.git (read-only)
Package Base: lives
Description: A Video Editing System
Upstream URL: http://lives-video.com
Licenses: GPL
Submitter: encelo
Maintainer: encelo
Last Packager: encelo
Votes: 197
Popularity: 0.532975
First Submitted: 2005-07-31 22:25
Last Updated: 2016-11-20 16:14

Latest Comments

encelo commented on 2016-11-20 16:14

Added again the patch to disable toonz

rtfreedman commented on 2016-11-06 23:40

--disable-toonz doesn't work - patch still needed

--- old/lives-plugins/weed-plugins/Makefile.am.org 2016-10-23 01:03:56.000000000 +0200
+++ new/lives-plugins/weed-plugins/Makefile.am 2016-11-07 00:25:36.907891417 +0100
@@ -89,14 +89,7 @@
farneback_analyser_la_CPPFLAGS = $(AM_CPPFLAGS)
farneback_analyser_la_SOURCES = farneback_analyser.cpp

-if ENABLE_TOONZ
-toonz_libs = toonz.la
-toonz_la_LDFLAGS = $(AM_LDFLAGS) $(OPENCV_LIBS_ONLY_L) -lopencv_core -lopencv_imgproc
-toonz_la_CPPFLAGS = $(AM_CPPFLAGS) -std=c++11
-toonz_la_SOURCES = toonz.cpp
-else
toonz_libs =
-endif

opencvlibdir = "$(libdir)/$(PACKAGE)/plugins/effects/realtime/weed"
opencvlib_LTLIBRARIES = $(farneback_analyser_libs) $(toonz_libs)

ArnaudNux commented on 2016-11-06 14:48

VIDEODEV_H=1 -DHAVE_LINUX_VIDEODEV2_H=1 -DHAVE_FREI0R_H=1 -DHAVE_LIBRAW1394_RAW1394_H=1 -DHAVE_LIBAVC1394_AVC1394_H=1 -DHAVE_LIBAVC1394_ROM1394_H=1 -I. -fPIC -DPIC -Wno-unused-function -DHAVE_SYSTEM_WEED -DHAVE_SYSTEM_WEED_PLUGIN_H -DHAVE_SYSTEM_WEED_COMPAT -ffast-math -Wall -std=c++11 -D_FORTIFY_SOURCE=2 -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong -MT toonz_la-toonz.lo -MD -MP -MF .deps/toonz_la-toonz.Tpo -c toonz.cpp -fPIC -DPIC -o .libs/toonz_la-toonz.o
In file included from /usr/include/opencv2/core.hpp:54:0,
from /usr/include/opencv2/core/core.hpp:48,
from toonz.cpp:142:
/usr/include/opencv2/core/matx.hpp: In instantiation of 'cv::Matx<_Tp, m, n>::Matx(_Tp, _Tp, _Tp, _Tp) [with _Tp = unsigned char; int m = 3; int n = 1]':
/usr/include/opencv2/core/matx.hpp:925:38: required from 'cv::Vec<_Tp, cn>::Vec(_Tp, _Tp, _Tp, _Tp) [with _Tp = unsigned char; int cn = 3]'
toonz.cpp:415:11: required from 'int phatch_kernel(cv::Mat&, cv::Mat&, int, weed_plant_t**) [with VecT = cv::Vec<unsigned char, 3>; weed_plant_t = weed_leaf]'
toonz.cpp:786:60: required from here
/usr/include/opencv2/core/matx.hpp:519:5: error: static assertion failed: Matx should have at least 4 elements. channels >= 4
CV_StaticAssert(channels >= 4, "Matx should have at least 4 elements.");
^
make[3]: *** [Makefile:1607: toonz_la-toonz.lo] Error 1
make[3]: Leaving directory '/tmp/mozilla_arnaud0/lives/src/lives-2.8.1/lives-plugins/weed-plugins'
make[2]: *** [Makefile:1626: all-recursive] Error 1
make[2]: Leaving directory '/tmp/mozilla_arnaud0/lives/src/lives-2.8.1/lives-plugins/weed-plugins'
make[1]: *** [Makefile:513: all-recursive] Error 1
make[1]: Leaving directory '/tmp/mozilla_arnaud0/lives/src/lives-2.8.1/lives-plugins'
make: *** [Makefile:642: all-recursive] Error 1
==> ERROR: A failure occurred in build().
Aborting...

encelo commented on 2016-11-05 13:36

Updated to 2.8.1
- Removed toonz patch, it shouldn't be needed now that there is a configure script option

encelo commented on 2016-09-08 19:50

Updated to 2.8.0
- Disabled Doxygen documentation generation

rtfreedman commented on 2016-07-22 20:01

For now, you can uninstall opencv and build
or patch the source (removing toonz.cpp from Makefile.am) prior building
or build in chroot without opencv

There is already a bug report
https://sourceforge.net/p/lives/bugs/217/

This patch https://ptpb.pw/VZ9f disables toonz.cpp
Check here https://ptpb.pw/NlcQ for using the patch

jumaxotl commented on 2016-07-18 08:32

Same issue apparently :


toonz.cpp:783:60: required from here
toonz.cpp:364:28: error: 'rbern' was not declared in this scope
toonz.cpp:360:20: warning: unused variable 'g' [-Wunused-variable]
uchar const* g = grayscale.ptruchar const(y);
^
toonz.cpp:354:17: warning: unused variable 'norm_const' [-Wunused-variable]
float const norm_const = 1.0f / std::numeric_limitsuchar::max();
^~~~~~~~~~
toonz.cpp:357:14: warning: unused variable 'seed' [-Wunused-variable]
unsigned seed = std::chrono::system_clock::now().time_since_epoch().count();
^~~~
toonz.cpp: In instantiation of 'int phatch_kernel(cv::Mat, cv::Mat, int, weed_plant_t**) [with VecT = cv::Vecunsigned char, 3; weed_plant_t = weed_leaf]':
toonz.cpp:785:60: required from here
toonz.cpp:364:28: error: 'rbern' was not declared in this scope
n[x] = rbern(engine) ? std::numeric_limitsuchar::max() : 0;
^
toonz.cpp:360:20: warning: unused variable 'g' [-Wunused-variable]
uchar const* g = grayscale.ptruchar const(y);
^
toonz.cpp:354:17: warning: unused variable 'norm_const' [-Wunused-variable]
float const norm_const = 1.0f / std::numeric_limitsuchar::max();
^~~~~~~~~~
toonz.cpp:357:14: warning: unused variable 'seed' [-Wunused-variable]
unsigned seed = std::chrono::system_clock::now().time_since_epoch().count();
^~~~
make[3]: *** [Makefile:1604: toonz_la-toonz.lo] Error 1
make[3]: Leaving directory '/home/arnaud/tempo/yaourt-tmp-arnaud/aur-lives/src/lives-2.6.3/lives-plugins/weed-plugins'
make[2]: *** [Makefile:1623: all-recursive] Error 1
make[2]: Leaving directory '/home/arnaud/tempo/yaourt-tmp-arnaud/aur-lives/src/lives-2.6.3/lives-plugins/weed-plugins'
make[1]: *** [Makefile:513: all-recursive] Error 1
make[1]: Leaving directory '/home/arnaud/tempo/yaourt-tmp-arnaud/aur-lives/src/lives-2.6.3/lives-plugins'
make: *** [Makefile:642: all-recursive] Error 1
== ERROR: A failure occurred in build().
Aborting...
== ERROR: Makepkg was unable to build lives.

ArnaudNux commented on 2016-07-16 14:35

toonz.cpp: In function 'int phatch_kernel(cv::Mat&, cv::Mat&, int, weed_plant_t**)':
toonz.cpp:358:5: error: 'mt19937_64' is not a member of 'std'
std::mt19937_64 engine(seed);
^~~
toonz.cpp:363:9: error: 'bernoulli_distribution' is not a member of 'std'
std::bernoulli_distribution rbern(g[x] * norm_const);
^~~
toonz.cpp:364:22: error: 'engine' was not declared in this scope
n[x] = rbern(engine) ? std::numeric_limits<uchar>::max() : 0;
^~~~~~
toonz.cpp:364:28: error: there are no arguments to 'rbern' that depend on a template parameter, so a declaration of 'rbern' must be available [-fpermissive]
n[x] = rbern(engine) ? std::numeric_limits<uchar>::max() : 0;
^
toonz.cpp:364:28: note: (if you use '-fpermissive', G++ will accept your code, but allowing the use of an undeclared name is deprecated)
toonz.cpp: In instantiation of 'int phatch_kernel(cv::Mat&, cv::Mat&, int, weed_plant_t**) [with VecT = cv::Vec<unsigned char, 4>; weed_plant_t = weed_leaf]':
toonz.cpp:783:60: required from here
toonz.cpp:364:28: error: 'rbern' was not declared in this scope
toonz.cpp:360:20: warning: unused variable 'g' [-Wunused-variable]
uchar const* g = grayscale.ptr<uchar const>(y);
^
toonz.cpp:354:17: warning: unused variable 'norm_const' [-Wunused-variable]
float const norm_const = 1.0f / std::numeric_limits<uchar>::max();
^~~~~~~~~~
toonz.cpp:357:14: warning: unused variable 'seed' [-Wunused-variable]
unsigned seed = std::chrono::system_clock::now().time_since_epoch().count();
^~~~
toonz.cpp: In instantiation of 'int phatch_kernel(cv::Mat&, cv::Mat&, int, weed_plant_t**) [with VecT = cv::Vec<unsigned char, 3>; weed_plant_t = weed_leaf]':
toonz.cpp:785:60: required from here
toonz.cpp:364:28: error: 'rbern' was not declared in this scope
n[x] = rbern(engine) ? std::numeric_limits<uchar>::max() : 0;
^
toonz.cpp:360:20: warning: unused variable 'g' [-Wunused-variable]
uchar const* g = grayscale.ptr<uchar const>(y);
^
toonz.cpp:354:17: warning: unused variable 'norm_const' [-Wunused-variable]
float const norm_const = 1.0f / std::numeric_limits<uchar>::max();
^~~~~~~~~~
toonz.cpp:357:14: warning: unused variable 'seed' [-Wunused-variable]
unsigned seed = std::chrono::system_clock::now().time_since_epoch().count();
^~~~
make[3]: *** [Makefile:1604: toonz_la-toonz.lo] Error 1
make[3]: Leaving directory '/home/arnaud/tempo/yaourt-tmp-arnaud/aur-lives/src/lives-2.6.3/lives-plugins/weed-plugins'
make[2]: *** [Makefile:1623: all-recursive] Error 1
make[2]: Leaving directory '/home/arnaud/tempo/yaourt-tmp-arnaud/aur-lives/src/lives-2.6.3/lives-plugins/weed-plugins'
make[1]: *** [Makefile:513: all-recursive] Error 1
make[1]: Leaving directory '/home/arnaud/tempo/yaourt-tmp-arnaud/aur-lives/src/lives-2.6.3/lives-plugins'
make: *** [Makefile:642: all-recursive] Error 1
==> ERROR: A failure occurred in build().
Aborting...
==> ERROR: Makepkg was unable to build lives.
==> Restart building lives ? [y/N]
==> ------------------------------
==>

encelo commented on 2016-07-04 12:45

Updated to 2.6.3
Many thanks to rtfreedman. :-)

cokomoko commented on 2016-06-06 00:00

return PIX_FMT_UYYVYY411;
^~~~~~~~~~~~~~~~~
/usr/include/weed/weed-compat.h:680:12: hata: 'PIX_FMT_GRAY8' undeclared (first use in this function)
return PIX_FMT_GRAY8;
^~~~~~~~~~~~~
/usr/include/weed/weed-compat.h:682:12: hata: 'PIX_FMT_MONOBLACK' undeclared (first use in this function)
return PIX_FMT_MONOBLACK;
^~~~~~~~~~~~~~~~~
/usr/include/weed/weed-compat.h:685:12: hata: 'PIX_FMT_NONE' undeclared (first use in this function)
return PIX_FMT_NONE;
^~~~~~~~~~~~
colourspace.c: 'weed_palette_is_resizable' işlevinde:
colourspace.c:10243:3: hata: void ifade kullanımı geçersiz
if (in_out&&sws_isSupportedInput(weed_palette_to_avi_pix_fmt(pal,&clamped))) return TRUE;
^~
colourspace.c:10244:3: hata: void ifade kullanımı geçersiz
else if (sws_isSupportedOutput(weed_palette_to_avi_pix_fmt(pal,&clamped))) return TRUE;
^~~~
colourspace.c: 'resize_layer' işlevinde:
colourspace.c:10568:12: hata: void değer yoksayılması gerekirken yoksayılmadı
ipixfmt=weed_palette_to_avi_pix_fmt(palette,&iclamped);
^
colourspace.c:10569:12: hata: void değer yoksayılması gerekirken yoksayılmadı
opixfmt=weed_palette_to_avi_pix_fmt(opal_hint,&oclamp_hint);
^
make[1]: *** [Makefile:1020: colourspace.o] Error 1
make[1]: Leaving directory '/tmp/yaourt-tmp-cokomoko/aur-lives/src/lives-2.6.3/src'
make: *** [Makefile:642: all-recursive] Error 1
==> HATA: build() içinde bir hata oluştu.
Çıkılıyor...

All comments