From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:46789) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1e8nSb-0000LT-Nf for guix-patches@gnu.org; Sun, 29 Oct 2017 09:17:07 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1e8nSY-0006pR-Hb for guix-patches@gnu.org; Sun, 29 Oct 2017 09:17:05 -0400 Received: from debbugs.gnu.org ([208.118.235.43]:59472) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1e8nSY-0006pL-CW for guix-patches@gnu.org; Sun, 29 Oct 2017 09:17:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1e8nSY-0001ve-0m for guix-patches@gnu.org; Sun, 29 Oct 2017 09:17:02 -0400 Subject: [bug#29054] frei0r-plugins + build ffmpeg with frei0r Resent-Message-ID: Date: Sun, 29 Oct 2017 13:15:43 +0000 From: ng0 Message-ID: <20171029131543.jkxnfpntnbplo2j5@abyayala> References: <20171029123837.lxwmgbtku2mdjeao@abyayala> <20171029124316.myjvbxi2pdyirl7t@abyayala> <20171029130045.tj7s5pozjz3hciim@abyayala> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="xa6vcpq4bfisu6ix" Content-Disposition: inline In-Reply-To: <20171029130045.tj7s5pozjz3hciim@abyayala> List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+kyle=kyleam.com@gnu.org Sender: "Guix-patches" To: 29054@debbugs.gnu.org --xa6vcpq4bfisu6ix Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable ng0 transcribed 6.1K bytes: > ng0 transcribed 5.9K bytes: > > ng0 transcribed 5.8K bytes: > > > This adds frei0r-plugins on my path to pitivi. > > > frei0r is also an optional dependency for ffmepg > > > so I added it to ffmepg and removed the "TODO" style > > > comment about it in ffmepg. > =E2=80=A6 > > Ohno=E2=80=A6 I'll send a correction soon. Obviously this is not the ho= me page. > > I have to build another software right now to be able to switch back > > to the branch where frei0r is. >=20 > Corrected version appended. >=20 > --=20 > ng0 > GnuPG: A88C8ADD129828D7EAC02E52E22F9BBFEE348588 > GnuPG: https://dist.ng0.infotropique.org/dist/keys/ > https://www.infotropique.org https://ng0.infotropique.org > From b65092f2dddfd0f9b930f534fab218279ad17929 Mon Sep 17 00:00:00 2001 > From: ng0 > Date: Sun, 29 Oct 2017 12:16:05 +0000 > Subject: [PATCH 1/2] gnu: Add frei0r-plugins. >=20 > * gnu/packages/video.scm (frei0r-plugins): New variable. > --- > gnu/packages/video.scm | 40 ++++++++++++++++++++++++++++++++++++++++ > 1 file changed, 40 insertions(+) >=20 > diff --git a/gnu/packages/video.scm b/gnu/packages/video.scm > index cea662b04..c978e8a6e 100644 > --- a/gnu/packages/video.scm > +++ b/gnu/packages/video.scm > @@ -2548,3 +2548,43 @@ In addition, it handles the sometimes ugly task of= converting between all > these formats and provides some elementary operations (copying, scaling, > alpha blending etc).") > (license license:gpl3))) > + > +(define-public frei0r-plugins > + (package > + (name "frei0r-plugins") > + (version "1.6.1") > + (source > + (origin > + (method url-fetch) > + (uri (string-append "https://files.dyne.org/frei0r/" > + "frei0r-plugins-" version ".tar.gz")) > + (sha256 > + (base32 > + "0pji26fpd0dqrx1akyhqi6729s394irl73dacnyxk58ijqq4dhp0")))) > + (build-system gnu-build-system) > + (arguments > + `(#:phases > + (modify-phases %standard-phases > + (add-after 'unpack 'autotools > + (lambda _ > + (zero? (system* "sh" "autogen.sh"))))))) > + ;; TODO: opencv for additional face detection filters > + (inputs > + `(("gavl" ,gavl) > + ("cairo" ,cairo))) > + (native-inputs > + `(("pkg-config" ,pkg-config) > + ("libtool" ,libtool) > + ("automake" ,automake) > + ("autoconf" ,autoconf))) > + (home-page "https://www.dyne.org/software/frei0r/") > + (synopsis "Minimalistic plugin API for video effects") > + (description > + "Frei0r is a minimalistic plugin API for video effects. > +The main emphasis is on simplicity for an API that will round up > +the most common video effects into simple filters, sources and > +mixers that can be controlled by parameters. Frei0r wants to > +provide a way to share these simple effects between many > +applications, avoiding their reimplementation by different projects. > +It counts more than 100 plugins.") > + (license license:gpl2))) ^ | ---------------- actually the files.dyne.org file said GPL2, the source itself has: - GPL2 or later for all files, but - LGPL 2.1 or later applying to: user@abyayala ~/Downloads/frei0r-plugins-1.6.1$ egrep -nr "2\.1" =E2=80=A6 src/generator/ising0r/ising0r.c:9:version 2.1 of the License, or (at your o= ption) any later version. src/generator/onecol0r/onecol0r.cpp:9:version 2.1 of the License, or (at yo= ur option) any later version. src/generator/nois0r/nois0r.cpp:9:version 2.1 of the License, or (at your o= ption) any later version. src/generator/lissajous0r/lissajous0r.cpp:10:version 2.1 of the License, or= (at your option) any later version. src/filter/ndvi/gradientlut.hpp:7: * version 2.1 of the License, or (at you= r option) any later version. src/filter/ndvi/ndvi.cpp:7: * version 2.1 of the License, or (at your optio= n) any later version. src/filter/facedetect/facedetect.cpp:8: * version 2.1 of the License, or (a= t your option) any later version. so=E2=80=A6 next version correction coming soon. > --=20 > 2.14.3 >=20 > From 872ec75abcca3b674a6b3c6731642b3b71d5bff1 Mon Sep 17 00:00:00 2001 > From: ng0 > Date: Sun, 29 Oct 2017 12:33:57 +0000 > Subject: [PATCH 2/2] gnu: ffmpeg: Configure with frei0r. >=20 > * gnu/packages/video.scm (ffmepg)[inputs]: Add 'frei0r-plugins'. > (arguments)[configure-flags]: Add '--enable-frei0r' and remove > 'TODO' comment about frei0r. > --- > gnu/packages/video.scm | 3 ++- > 1 file changed, 2 insertions(+), 1 deletion(-) >=20 > diff --git a/gnu/packages/video.scm b/gnu/packages/video.scm > index c978e8a6e..afd2b1d4e 100644 > --- a/gnu/packages/video.scm > +++ b/gnu/packages/video.scm > @@ -599,6 +599,7 @@ standards (MPEG-2, MPEG-4 ASP/H.263, MPEG-4 AVC/H.264= , and VC-1/VMW3).") > (inputs > `(("fontconfig" ,fontconfig) > ("freetype" ,freetype) > + ("frei0r-plugins" ,frei0r-plugins) > ("gnutls" ,gnutls) > ("opus" ,opus) > ("ladspa" ,ladspa) > @@ -638,7 +639,6 @@ standards (MPEG-2, MPEG-4 ASP/H.263, MPEG-4 AVC/H.264= , and VC-1/VMW3).") > ;; possible additional inputs: > ;; --enable-avisynth enable reading of AviSynth script > ;; files [no] > - ;; --enable-frei0r enable frei0r video filtering > ;; --enable-libaacplus enable AAC+ encoding via libaacplus= [no] > ;; --enable-libcelt enable CELT decoding via libcelt [n= o] > ;; --enable-libdc1394 enable IIDC-1394 grabbing using lib= dc1394 > @@ -686,6 +686,7 @@ standards (MPEG-2, MPEG-4 ASP/H.263, MPEG-4 AVC/H.264= , and VC-1/VMW3).") > '("--enable-avresample" > "--enable-gpl" ; enable optional gpl licensed parts > "--enable-shared" > + "--enable-frei0r" > "--enable-fontconfig" > "--enable-gnutls" > "--enable-ladspa" > --=20 > 2.14.3 >=20 --=20 ng0 GnuPG: A88C8ADD129828D7EAC02E52E22F9BBFEE348588 GnuPG: https://dist.ng0.infotropique.org/dist/keys/ https://www.infotropique.org https://ng0.infotropique.org --xa6vcpq4bfisu6ix Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCgAdFiEEqIyK3RKYKNfqwC5S4i+bv+40hYgFAln11H8ACgkQ4i+bv+40 hYgl6g/+Ldpq27JHDgwZoamR5Ekq0eo2vwvLMGcT1K5yqOzVjEenGwU77WAB1GVe 3z18RnwTOovq2ORbZCDxEwJMNIPySmICi98AOoa91/liMXYFowR9oEhJXKESkWku 9B8OKhIvGO4KqsKBpU5WqrSdmavbiT5G0qIilaP/UViF4hUPjykMFBu3HglKAndS sQQGOLJwxJLthHTiL9a8CaHtPLsvVpFHDwH71c3y+HfAG4G3baeIDtOzK0Y77kA5 pf3rkqUaXTlsX0HbrMqDqO7NUHrbOo5ubd6k2mm1VGpKdBFaD3IPGEHKijh77UNO pcwsm2Ra6YJktNSnpoe2VLnja0jevCwaEGAemj7KtXhVV9C5jNZzzXtLV+2ASqSa R07Rg8wVldv/ZDZX5ahhZIyij1IqZzYybdHxn1pPmoW/ODd65jDy1cVVYWKqDnyl H3TwJ2UD3afcYoEc27nQu4gnHOP6l/4jNZfNdB0o5m3D73RsnW7TNLJVy2sKdH+M iVbmBaSS2URT9CMVtofFM6OMwXkKvJruLvI0CLspO0AyxCjsunjjd1bz3337ORip 6uu1BN7UVhthPZif6NRyflFVyxKFETT1VmjWANr7JieKnqvx5eCFO9/1sj/FWGTi EkJx/a7EXG7kOsU5fOIIzDwz4Amcadx7Y2nj51dRqtxMln+FUuM= =wLKi -----END PGP SIGNATURE----- --xa6vcpq4bfisu6ix--