all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: "Tomáš Čech" <sleep_walker@gnu.org>
To: guix-devel@gnu.org
Subject: Re: [PATCH] gnu: Add gnash.
Date: Thu, 19 Mar 2015 22:22:16 +0100	[thread overview]
Message-ID: <20150319212216.GF525@venom.suse.cz> (raw)
In-Reply-To: <877fud2cd0.fsf@gnu.org>

[-- Attachment #1: Type: text/plain, Size: 3797 bytes --]

On Thu, Mar 19, 2015 at 05:17:10PM +0100, Ludovic Courtès wrote:
>Tomáš Čech <sleep_walker@gnu.org> skribis:
>
>> * gnu/packages/gnash.scm: New file.
>> * gnu-system.am (GNU_SYSTEM_MODULES): Add the file.
>
>[...]
>
>> +(define-module (gnu packages gnash)
>
>Maybe we could call it ‘flash’ since there may be other tools going
>there (players or things like libswf)?

Yes, that was my working name - when I got circular deps in web
module, I moved it to separate file. `flash' is good name - I'm
already working on lightspark which will go there as well...

>> +  #:use-module (guix build-system gnu)
>> +  )
>
>Move the paren to the previous line.

OK
>
>> +       ;; release is too old to be built correctly against ffmpeg, libjpeg and
>> +       ;; more, lets go with head containing all required fixes already
>> +       (method git-fetch)
>
>We have ffmpeg-2.2 and libjpeg-8 already available.  Would that allow us
>to build from the release tarball?

The problem is incompatibility between the release (2 years old) and
the versions we have in Guix (ffmpeg, libjpeg, boost, automake, gcc
and mabe more). I originally started with the release tarball and took
bunch of patches which fixed ffmpeg changes and libjpeg changes but it
was just too many so I gave up.


>If yes, we should probably do that, plus the CVE-2012-1175 patch at
><http://git.savannah.gnu.org/cgit/gnash.git/patch/?id=bb4dc77eecb6ed1b967e3ecbce3dac6c5e6f1527>
>(don’t know if there are others.)
>
>> +     ;; gstreamer 0.10 is required, but not available, gstreamer-1.0 not
>
>gstreamer-0.10 is available from (gnu packages gstreamer).

In that case `guix package -s gstreamer' didn't show that to me.

Btw. I run this command several times and it's showing versions
randomly (in following case gst-plugins-base has different version):

guix package -s gstreamer | recsel -p name,version

---------%<----------------------------%<--------------------
$ guix package -s gstreamer | recsel -p name,version
name: gst-plugins-base
version: 0.10.36

name: gst-plugins-good
version: 1.4.5

name: gstreamer
version: 1.4.5

name: libcanberra
version: 0.30

$ guix package -s gstreamer | recsel -p name,version
name: gst-plugins-base
version: 1.4.5

name: gst-plugins-good
version: 1.4.5

name: gstreamer
version: 1.4.5

name: libcanberra
version: 0.30
--------->%---------------------------->%--------------------

Grep found it reliably.

>> +    (synopsis "GNU Flash movie player")
>> +    (description "GNU Gnash is the GNU Flash movie player — Flash is an
>> +animation file format pioneered by Macromedia which continues to be supported by
>> +their successor company, Adobe.  Flash has been extended to include audio and
>> +video content, and programs written in ActionScript, an ECMAScript-compatible
>> +language.  Gnash is based on GameSWF, and supports most SWF v7 features and
>> +some SWF v8 and v9.  SWF v10 is not supported by GNU Gnash.")
>
>Please use those suggested by ‘guix lint’.

Where did that text come from!? Will do.

>
>> +    (license l:gpl3)))
>
>l:gpl3+

Thanks.

>
>Could you send an updated patch?
>
>
>In the Nixpkgs recipe I had added this hack:
>
>+    # Provide a default font.
>+    sed -i "configure" \
>+        -e 's|/usr/share/fonts/truetype/freefont/|${freefont_ttf}/share/fonts/truetype/|g'
>
>Any idea if this is still needed?  IOW, does gtk-gnash manage to display
>text at all without it?

It's hard to find flash old enough, showing text and with sources to
confirm it's text. I think that this can be used for verification:

http://technoargia.free.fr/swftools/examples/button3/button3.html

And yes, works for me.

Thanks for review.

S_W

[-- Attachment #2: Type: application/pgp-signature, Size: 181 bytes --]

  reply	other threads:[~2015-03-19 21:22 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-03-18 10:57 [PATCH] gnu: Add gnash Tomáš Čech
2015-03-19 16:17 ` Ludovic Courtès
2015-03-19 21:22   ` Tomáš Čech [this message]
2015-03-20 21:10     ` Ludovic Courtès

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20150319212216.GF525@venom.suse.cz \
    --to=sleep_walker@gnu.org \
    --cc=guix-devel@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.