All of lore.kernel.org
 help / color / mirror / Atom feed
From: Peter Korsgaard <jacmet@uclibc.org>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH] Add Swfdec Free flash library
Date: Fri, 25 Sep 2009 20:51:10 +0200	[thread overview]
Message-ID: <87vdj6uach.fsf@macbook.be.48ers.dk> (raw)
In-Reply-To: <1253892756-13583-1-git-send-email-riou.emmanuel@googlemail.com> (Emmanuel Riou's message of "Fri\, 25 Sep 2009 16\:32\:35 +0100")

>>>>> "Emmanuel" == Emmanuel Riou <riou.emmanuel@googlemail.com> writes:

 Emmanuel> Signed-off-by: Emmanuel Riou <riou.emmanuel@googlemail.com>
 Emmanuel> ---

Thanks, a few remarks:

 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.

 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.

You furthermore have trailing spaces in the help text. Maybe the config
option and help text should say something like gtk support?

 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?

 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?

Otherwise it looks good. Care to fix those issues and resubmit?

-- 
Bye, Peter Korsgaard

  reply	other threads:[~2009-09-25 18:51 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 [this message]
2009-09-28 10:55   ` Emmanuel Riou
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=87vdj6uach.fsf@macbook.be.48ers.dk \
    --to=jacmet@uclibc.org \
    --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 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.