From: Emmanuel Riou <riou.emmanuel@googlemail.com>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH] Add Swfdec Free flash library
Date: Mon, 28 Sep 2009 11:55:26 +0100 [thread overview]
Message-ID: <4AC0961E.100@gmail.com> (raw)
In-Reply-To: <87vdj6uach.fsf@macbook.be.48ers.dk>
Peter Korsgaard wrote:
>>>>>> "Emmanuel" == Emmanuel Riou <riou.emmanuel@googlemail.com> writes:
>
> Emmanuel> Signed-off-by: Emmanuel Riou <riou.emmanuel@googlemail.com>
> Emmanuel> ---
>
> Thanks, a few remarks:
Hi! Thanks for your remarks and sorry for the slow reply...
>
> Emmanuel> +++ b/package/multimedia/swfdec/Config.in
> Emmanuel> @@ -0,0 +1,27 @@
> Emmanuel> +config BR2_PACKAGE_SWFDEC
> Emmanuel> + bool "swfdec"
> Emmanuel> + select BR2_PACKAGE_LIBSOUP
> Emmanuel> + select BR2_PACKAGE_LIBOIL
> Emmanuel> + select BR2_PACKAGE_ALSA_LIB
> Emmanuel> + help
> Emmanuel> + Library to play Flash Files
> Emmanuel> + http://swfdec.freedesktop.org/
>
> We normally have an empty line before the URL.
Alright I fixed it.
>
> Emmanuel> +
> Emmanuel> +config BR2_PACKAGE_SWFDEC_GTK
> Emmanuel> + bool "swfdec gtk"
> Emmanuel> + depends on BR2_PACKAGE_SWFDEC
> Emmanuel> + depends on BR2_PACKAGE_DIRECTFB || BR2_PACKAGE_XORG7
> Emmanuel> + select BR2_PACKAGE_LIBGTK2
> Emmanuel> + select BR2_PACKAGE_CAIRO_PNG
> Emmanuel> + help
> Emmanuel> + Enables swfdec-gtk
>
> Indentation is wrong for the depends/select lines (should be <tab>). We
> normally don't use select for stuff with complicated dependencies like
> gtk, so I think it would be nicer to simply depen on libgtk2 - Then you
> can also get rid of the directfb || xorg7 stuff.
OK fixed.
>
> You furthermore have trailing spaces in the help text. Maybe the config
> option and help text should say something like gtk support?
You're right, it's a bit more verbose now.
>
> Emmanuel> +
> Emmanuel> +config BR2_PACKAGE_SWFDEC_GSTREAMER
> Emmanuel> + bool "swfdec gstreamer"
> Emmanuel> + default y
> Emmanuel> + depends on BR2_PACKAGE_SWFDEC
> Emmanuel> + select BR2_PACKAGE_GSTREAMER
> Emmanuel> + select BR2_PACKAGE_GST_PLUGINS_BASE
> Emmanuel> + help
> Emmanuel> + Enables GStreamer support
>
> Same here (identation/trailing spaces). Why should this default to y? (I
> don't know much about flash) Is swfdec not very useful without gstreamer
> support?
I removed the default line. I put it as "default y" because it was
needed in my case (not a good reason, I know ;-)). Swfdec relies on
Gstreamer for all the audio and video stuff, but it is not mandatory to
have it since you can have Flash files without audio nor video.
>
> Emmanuel> +#############################################################
> Emmanuel> +#
> Emmanuel> +# Swfdec
> Emmanuel> +#
> Emmanuel> +#############################################################
> Emmanuel> +SWFDEC_VERSION_MAJOR:=0.8
> Emmanuel> +SWFDEC_VERSION_MINOR:=4
> Emmanuel> +SWFDEC_VERSION = $(SWFDEC_VERSION_MAJOR).$(SWFDEC_VERSION_MINOR)
> Emmanuel> +
> Emmanuel> +SWFDEC_SOURCE:=swfdec-$(SWFDEC_VERSION).tar.gz
> Emmanuel> +SWFDEC_SITE:=http://swfdec.freedesktop.org/download/swfdec/$(SWFDEC_VERSION_MAJOR)
> Emmanuel> +SWFDEC_LIBTOOL_PATCH = NO
> Emmanuel> +SWFDEC_INSTALL_STAGING = YES
> Emmanuel> +SWFDEC_INSTALL_TARGET = YES
>
> You have a mix of styles here (:= vs =, spaces around =) - Is there any
> reason for that?
Sorry for this inconsistency, it's fixed as well!
>
> Otherwise it looks good. Care to fix those issues and resubmit?
Thanks, I am resubmitting the patch.
Emmanuel.
>
next prev parent reply other threads:[~2009-09-28 10:55 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-09-25 15:32 [Buildroot] [PATCH] Add Swfdec Free flash library Emmanuel Riou
2009-09-25 18:51 ` Peter Korsgaard
2009-09-28 10:55 ` Emmanuel Riou [this message]
2009-09-29 9:12 ` Emmanuel Riou
2009-09-29 10:04 ` Peter Korsgaard
2009-09-29 10:12 ` Emmanuel Riou
-- strict thread matches above, loose matches on Subject: below --
2009-09-28 11:03 Emmanuel Riou
2009-09-29 9:48 ` Peter Korsgaard
2009-09-29 9:08 Emmanuel Riou
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=4AC0961E.100@gmail.com \
--to=riou.emmanuel@googlemail.com \
--cc=buildroot@busybox.net \
/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.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox