Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH] GStreamer: xorg support
@ 2010-08-21 12:53 Massimiliano Marretta
  2010-08-21 14:45 ` Thomas Petazzoni
  0 siblings, 1 reply; 2+ messages in thread
From: Massimiliano Marretta @ 2010-08-21 12:53 UTC (permalink / raw)
  To: buildroot

  I add support for xorg and upgrade version for mp3 issue.





diff -crBN 
buildroot-2010.08-rc1-old/package/multimedia/gst-plugins-bad/gst-plugins-bad.mk 
buildroot-2010.08-rc1/package/multimedia/gst-plugins-bad/gst-plugins-bad.mk
*** 
buildroot-2010.08-rc1-old/package/multimedia/gst-plugins-bad/gst-plugins-bad.mk    
Fri Jul 30 12:35:45 2010
--- 
buildroot-2010.08-rc1/package/multimedia/gst-plugins-bad/gst-plugins-bad.mk    
Thu Aug 19 13:43:35 2010
***************
*** 3,9 ****
   # gst-plugins-bad
   #
   #############################################################
! GST_PLUGINS_BAD_VERSION = 0.10.14
   GST_PLUGINS_BAD_SOURCE = 
gst-plugins-bad-$(GST_PLUGINS_BAD_VERSION).tar.bz2
   GST_PLUGINS_BAD_SITE = 
http://gstreamer.freedesktop.org/src/gst-plugins-bad
   GST_PLUGINS_BAD_LIBTOOL_PATCH = NO
--- 3,9 ----
   # gst-plugins-bad
   #
   #############################################################
! GST_PLUGINS_BAD_VERSION = 0.10.19
   GST_PLUGINS_BAD_SOURCE = 
gst-plugins-bad-$(GST_PLUGINS_BAD_VERSION).tar.bz2
   GST_PLUGINS_BAD_SITE = 
http://gstreamer.freedesktop.org/src/gst-plugins-bad
   GST_PLUGINS_BAD_LIBTOOL_PATCH = NO
diff -crBN 
buildroot-2010.08-rc1-old/package/multimedia/gst-plugins-base/gst-plugins-base.mk 
buildroot-2010.08-rc1/package/multimedia/gst-plugins-base/gst-plugins-base.mk
*** 
buildroot-2010.08-rc1-old/package/multimedia/gst-plugins-base/gst-plugins-base.mk    
Fri Jul 30 12:35:45 2010
--- 
buildroot-2010.08-rc1/package/multimedia/gst-plugins-base/gst-plugins-base.mk    
Thu Aug 19 09:59:20 2010
***************
*** 3,9 ****
   # gst-plugins-base
   #
   #############################################################
! GST_PLUGINS_BASE_VERSION = 0.10.25
   GST_PLUGINS_BASE_SOURCE = 
gst-plugins-base-$(GST_PLUGINS_BASE_VERSION).tar.bz2
   GST_PLUGINS_BASE_SITE = 
http://gstreamer.freedesktop.org/src/gst-plugins-base
   GST_PLUGINS_BASE_INSTALL_STAGING = YES
--- 3,9 ----
   # gst-plugins-base
   #
   #############################################################
! GST_PLUGINS_BASE_VERSION = 0.10.30
   GST_PLUGINS_BASE_SOURCE = 
gst-plugins-base-$(GST_PLUGINS_BASE_VERSION).tar.bz2
   GST_PLUGINS_BASE_SITE = 
http://gstreamer.freedesktop.org/src/gst-plugins-base
   GST_PLUGINS_BASE_INSTALL_STAGING = YES
***************
*** 18,26 ****

   GST_PLUGINS_BASE_CONF_OPT = \
           --disable-examples \
-         --disable-x \
-         --disable-xvideo \
-         --disable-xshm \
           --disable-oggtest \
           --disable-vorbistest \
           --disable-freetypetest
--- 18,23 ----
***************
*** 28,33 ****
--- 28,44 ----
   GST_PLUGINS_BASE_DEPENDENCIES = gstreamer liboil \
           $(if $(BR2_PACKAGE_ALSA_LIB),alsa-lib)

+ ifeq ($(BR2_PACKAGE_XORG7),y)
+ GST_PLUGINS_BASE_DEPENDENCIES += xserver_xorg-server
+ GST_PLUGINS_BASE_CONF_OPT += --enable-x \
+         --enable-xvideo \
+         --enable-xshm
+ else
+ GST_PLUGINS_BASE_CONF_OPT += --disable-x \
+         --disable-xvideo \
+         --disable-xshm
+ endif
+
   ifeq ($(BR2_PACKAGE_GST_PLUGINS_BASE_PLUGIN_ADDER),y)
   GST_PLUGINS_BASE_CONF_OPT += --enable-adder
   else
diff -crBN 
buildroot-2010.08-rc1-old/package/multimedia/gst-plugins-good/gst-plugins-good.mk 
buildroot-2010.08-rc1/package/multimedia/gst-plugins-good/gst-plugins-good.mk
*** 
buildroot-2010.08-rc1-old/package/multimedia/gst-plugins-good/gst-plugins-good.mk    
Fri Jul 30 12:35:45 2010
--- 
buildroot-2010.08-rc1/package/multimedia/gst-plugins-good/gst-plugins-good.mk    
Thu Aug 19 10:13:01 2010
***************
*** 3,9 ****
   # gst-plugins-good
   #
   #############################################################
! GST_PLUGINS_GOOD_VERSION = 0.10.16
   GST_PLUGINS_GOOD_SOURCE = 
gst-plugins-good-$(GST_PLUGINS_GOOD_VERSION).tar.bz2
   GST_PLUGINS_GOOD_SITE = 
http://gstreamer.freedesktop.org/src/gst-plugins-good
   GST_PLUGINS_GOOD_LIBTOOL_PATCH = NO
--- 3,9 ----
   # gst-plugins-good
   #
   #############################################################
! GST_PLUGINS_GOOD_VERSION = 0.10.24
   GST_PLUGINS_GOOD_SOURCE = 
gst-plugins-good-$(GST_PLUGINS_GOOD_VERSION).tar.bz2
   GST_PLUGINS_GOOD_SITE = 
http://gstreamer.freedesktop.org/src/gst-plugins-good
   GST_PLUGINS_GOOD_LIBTOOL_PATCH = NO
***************
*** 16,24 ****
           --disable-osx_audio \
           --disable-osx_video \
           --disable-gst_v4l2 \
-         --disable-x \
-         --disable-xshm \
-         --disable-xvideo \
           --disable-aalib \
           --disable-aalibtest \
           --disable-esd \
--- 16,21 ----
***************
*** 28,33 ****
--- 25,43 ----

   GST_PLUGINS_GOOD_DEPENDENCIES = gstreamer gst-plugins-base

+ ifeq ($(BR2_PACKAGE_XORG7),y)
+ GST_PLUGINS_BASE_DEPENDENCIES += xserver_xorg-server
+ GST_PLUGINS_BASE_CONF_OPT += --enable-x \
+         --enable-x \
+         --enable-xvideo \
+         --enable-xshm
+ else
+ GST_PLUGINS_BASE_CONF_OPT += --disable-x \
+         --disable-x \
+         --disable-xvideo \
+         --disable-xshm
+ endif
+
   ifeq ($(BR2_PACKAGE_GST_PLUGINS_GOOD_JPEG),y)
   GST_PLUGINS_GOOD_CONF_OPT += --enable-jpeg
   GST_PLUGINS_GOOD_DEPENDENCIES += jpeg
diff -crBN 
buildroot-2010.08-rc1-old/package/multimedia/gst-plugins-ugly/gst-plugins-ugly.mk 
buildroot-2010.08-rc1/package/multimedia/gst-plugins-ugly/gst-plugins-ugly.mk
*** 
buildroot-2010.08-rc1-old/package/multimedia/gst-plugins-ugly/gst-plugins-ugly.mk    
Fri Jul 30 12:35:45 2010
--- 
buildroot-2010.08-rc1/package/multimedia/gst-plugins-ugly/gst-plugins-ugly.mk    
Thu Aug 19 13:41:21 2010
***************
*** 3,9 ****
   # gst-plugins-ugly
   #
   #############################################################
! GST_PLUGINS_UGLY_VERSION = 0.10.10
   GST_PLUGINS_UGLY_SOURCE = 
gst-plugins-ugly-$(GST_PLUGINS_UGLY_VERSION).tar.bz2
   GST_PLUGINS_UGLY_SITE = 
http://gstreamer.freedesktop.org/src/gst-plugins-ugly
   GST_PLUGINS_UGLY_LIBTOOL_PATCH = NO
--- 3,9 ----
   # gst-plugins-ugly
   #
   #############################################################
! GST_PLUGINS_UGLY_VERSION = 0.10.15
   GST_PLUGINS_UGLY_SOURCE = 
gst-plugins-ugly-$(GST_PLUGINS_UGLY_VERSION).tar.bz2
   GST_PLUGINS_UGLY_SITE = 
http://gstreamer.freedesktop.org/src/gst-plugins-ugly
   GST_PLUGINS_UGLY_LIBTOOL_PATCH = NO
diff -crBN 
buildroot-2010.08-rc1-old/package/multimedia/gstreamer/gstreamer-0.10.25-fix-unaligned-detectiob-for-x86-64.patch 
buildroot-2010.08-rc1/package/multimedia/gstreamer/gstreamer-0.10.25-fix-unaligned-detectiob-for-x86-64.patch
*** 
buildroot-2010.08-rc1-old/package/multimedia/gstreamer/gstreamer-0.10.25-fix-unaligned-detectiob-for-x86-64.patch    
Fri Jul 30 12:35:45 2010
--- 
buildroot-2010.08-rc1/package/multimedia/gstreamer/gstreamer-0.10.25-fix-unaligned-detectiob-for-x86-64.patch    
Thu Jan  1 01:00:00 1970
***************
*** 1,36 ****
- [PATCH] gst-arch.m4: fix unaligned detection for x86-64 when cross 
compiling
-
- Submitted upstream at https://bugzilla.gnome.org/show_bug.cgi?id=607317
-
- Commit 4221e9dc (amd64/x86_64 allows unaligned memory access too) added
- x86-64 to the unaligned access whitelist, but missed the trailing
- wildcards, so the test never succeeds (host is something like
- x86_64-unknown-linux-gnu).
-
- When building natively, this isn't a big deal as the AC_TRY_RUN test
- correctly detects it, but that doesn't work when cross compiling so
- the build dies with:
-
- configure: error: cannot run test program while cross compiling
- See `config.log' for more details.
-
- Fix it by adding the trailing wildcards.
-
- Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
- ---
-  configure |    2 +-
-  1 file changed, 1 insertion(+), 1 deletion(-)
-
- Index: gstreamer-0.10.25/configure
- ===================================================================
- --- gstreamer-0.10.25.orig/configure
- +++ gstreamer-0.10.25/configure
- @@ -15655,7 +15655,7 @@ $as_echo_n "checking if unaligned memory
-          $as_echo_n "(blacklisted) " >&6
-          as_cv_unaligned_access=no
-      ;;
- -      i?86*|x86_64|amd64|powerpc*|m68k*|cris*)
- +      i?86*|x86_64*|amd64*|powerpc*|m68k*|cris*)
-          $as_echo_n "(whitelisted) " >&6
-          as_cv_unaligned_access=yes
-      ;;
--- 0 ----
diff -crBN 
buildroot-2010.08-rc1-old/package/multimedia/gstreamer/gstreamer.mk 
buildroot-2010.08-rc1/package/multimedia/gstreamer/gstreamer.mk
*** 
buildroot-2010.08-rc1-old/package/multimedia/gstreamer/gstreamer.mk    
Fri Jul 30 12:35:45 2010
--- buildroot-2010.08-rc1/package/multimedia/gstreamer/gstreamer.mk    
Thu Aug 19 09:40:29 2010
***************
*** 3,9 ****
   # gstreamer
   #
   #############################################################
! GSTREAMER_VERSION = 0.10.25
   GSTREAMER_SOURCE = gstreamer-$(GSTREAMER_VERSION).tar.bz2
   GSTREAMER_SITE = http://gstreamer.freedesktop.org/src/gstreamer
   GSTREAMER_INSTALL_STAGING = YES
--- 3,9 ----
   # gstreamer
   #
   #############################################################
! GSTREAMER_VERSION = 0.10.30
   GSTREAMER_SOURCE = gstreamer-$(GSTREAMER_VERSION).tar.bz2
   GSTREAMER_SITE = http://gstreamer.freedesktop.org/src/gstreamer
   GSTREAMER_INSTALL_STAGING = YES

^ permalink raw reply	[flat|nested] 2+ messages in thread

* [Buildroot] [PATCH] GStreamer: xorg support
  2010-08-21 12:53 [Buildroot] [PATCH] GStreamer: xorg support Massimiliano Marretta
@ 2010-08-21 14:45 ` Thomas Petazzoni
  0 siblings, 0 replies; 2+ messages in thread
From: Thomas Petazzoni @ 2010-08-21 14:45 UTC (permalink / raw)
  To: buildroot

Hello Massimiliano,

On Sat, 21 Aug 2010 14:53:07 +0200
Massimiliano Marretta <max@marretta.com> wrote:

>   I add support for xorg and upgrade version for mp3 issue.

Thanks!

However, your patch cannot be applied because it has several issues :

 * It is word-wrapped, probably because of your e-mail client
   (Thunderbird)

 * It does not have the proper Git format (it is not an unified diff,
   it lacks a description, etc.)

Could you prepare a Git patch for this ?

In just a nutshell, here is how you can generate your first Git
patches :

 1. Install git

    Under Debian/Ubuntu: sudo aptitude install git

 2. Clone the Buildroot git repository

    git clone git://git.busybox.net/buildroot

 3. Configure git by writing the following ~/.gitconfig file

===START OF FILE================================
[user]
        name = Massimiliano Marretta
        email = max at marretta.com

[sendemail]
	smtpserver = your-smtp-server.com
===END   OF FILE================================

 4. Create your local branch for your work

    cd buildroot
    git branch gstreamer-xorg-and-mp3

 5. Switch to your branch

    git checkout gstreamer-xorg-and-mp3

 6. Make a change

    vi/emacs yourfile

 7. Commit it

    git commit -a -s

    and enter a meaningful commit log

 8. Go back at step 6 and 7 for all other changes. Each logical change
    should be split in a separated commit.

 9. Send your changes to the mailing list

    git send-email --to buildroot at uclibc.org master

Of course, this a just a quick recipe on how to use Git. You'll find
more details in the dozens of documentation and tutorials available on
the Web.

Regards,

Thomas
-- 
Thomas Petazzoni, Free Electrons
Kernel, drivers, real-time and embedded Linux
development, consulting, training and support.
http://free-electrons.com

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2010-08-21 14:45 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-08-21 12:53 [Buildroot] [PATCH] GStreamer: xorg support Massimiliano Marretta
2010-08-21 14:45 ` Thomas Petazzoni

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox