Skip to contentSkip to conversation

gst-ffmpeg configure-fix patch and yasm

DISCUSSION dv 3 participants 6 messages Mar 30, 2013 – Apr 11, 2013

lore
Share & tools
lore

dv

author
#0 lore raw

Hello,

I noticed this part of the configure-fix.patch file for gst-ffmpeg 0.10.13:

+ if test "x$disable_yasm" != "xyes"; then
+ embffmpeg_configure_args="$embffmpeg_configure_args --disable-yasm"
+ fi

Shouldn't the test be: if test "x$disable_yasm" = "xyes" ?
To me, it seems as if this code adds --disable-yasm if disable_yasm is not set to "yes", which is the complete opposite of the intended behavior.

Or am I missing some detail about shell script code here?

#1 lore raw
Quoted 8 lines · dv

Hello,

I noticed this part of the configure-fix.patch file for gst-ffmpeg 0.10.13:

(quoted diff) +3 -0
+  if test "x$disable_yasm" != "xyes"; then
+    embffmpeg_configure_args="$embffmpeg_configure_args --disable-yasm"
+  fi
Quoted 5 lines

Shouldn't the test be: if test "x$disable_yasm" = "xyes" ? To me, it seems as if this code adds --disable-yasm if disable_yasm is not set to "yes", which is the complete opposite of the intended behavior.

Or am I missing some detail about shell script code here?

I think you are right here. Maybe you could provide a fix for it? --
Otavio Salvador O.S. Systems
E-mail: [email protected] http://www.ossystems.com.br
Mobile: +55 53 9981-7854 http://projetos.ossystems.com.br

author
#2 lore raw
Quoted 20 lines · Otavio Salvador
Quoted 8 lines · dv

Hello,

I noticed this part of the configure-fix.patch file for gst-ffmpeg 0.10.13:

(quoted diff) +3 -0
+  if test "x$disable_yasm" != "xyes"; then
+    embffmpeg_configure_args="$embffmpeg_configure_args --disable-yasm"
+  fi
Quoted 5 lines

Shouldn't the test be: if test "x$disable_yasm" = "xyes" ? To me, it seems as if this code adds --disable-yasm if disable_yasm is not set to "yes", which is the complete opposite of the intended behavior.

Or am I missing some detail about shell script code here?

I think you are right here. Maybe you could provide a fix for it? --
Otavio Salvador O.S. Systems
E-mail: [email protected] http://www.ossystems.com.br
Mobile: +55 53 9981-7854 http://projetos.ossystems.com.br

Quoted 4 lines

_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel

No problem. Patch for the patch attached :)

From 4624e30adb13ad361f886eeda4272a7235bedd61 Mon Sep 17 00:00:00 2001
From: Carlos Rafael Giani <[email protected]>
Date: Sat, 30 Mar 2013 21:29:22 +0100
Subject: [PATCH] gst-ffmpeg: configure-fix patch used wrong test

---
 .../recipes-multimedia/gstreamer/gst-ffmpeg-0.10.13/configure-fix.patch | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
meta/recipes-multimedia/gstreamer/gst-ffmpeg-0.10.13/configure-fix.patch +1 -1
index 81029ca..2bb124b 100644
@@ -11,7 +11,7 @@ diff -r f2f8f74c6e30 configure.ac
          --enable-gpl"
    fi
  
-+  if test "x$disable_yasm" != "xyes"; then
++  if test "x$disable_yasm" = "xyes"; then
 +    embffmpeg_configure_args="$embffmpeg_configure_args --disable-yasm"
 +  fi
 +
Signature · 1 line
1.8.2
#3 lore raw

Hello,

Quoted 21 lines · dv
Quoted 20 lines · Otavio Salvador
Quoted 10 lines · dv

Hello,

I noticed this part of the configure-fix.patch file for gst-ffmpeg 0.10.13:

(quoted diff) +3 -0
+  if test "x$disable_yasm" != "xyes"; then
+    embffmpeg_configure_args="$embffmpeg_configure_args --disable-yasm"
+  fi
Quoted 6 lines

Shouldn't the test be: if test "x$disable_yasm" = "xyes" ? To me, it seems as if this code adds --disable-yasm if disable_yasm is not
set to "yes", which is the complete opposite of the intended behavior.

Or am I missing some detail about shell script code here?

I think you are right here. Maybe you could provide a fix for it?

...

Quoted 1 line

No problem. Patch for the patch attached :)

Please Martin,

Can you review the patch in this thread?

Regards,

--
Otavio Salvador O.S. Systems
E-mail: [email protected] http://www.ossystems.com.br
Mobile: +55 53 9981-7854 http://projetos.ossystems.com.br

#4 lore raw
In reply to dv
Quoted 21 lines · dv
Quoted 20 lines · Otavio Salvador
Quoted 8 lines · dv

Hello,

I noticed this part of the configure-fix.patch file for gst-ffmpeg 0.10.13:

(quoted diff) +3 -0
+  if test "x$disable_yasm" != "xyes"; then
+    embffmpeg_configure_args="$embffmpeg_configure_args --disable-yasm"
+  fi
Quoted 5 lines

Shouldn't the test be: if test "x$disable_yasm" = "xyes" ? To me, it seems as if this code adds --disable-yasm if disable_yasm is not set to "yes", which is the complete opposite of the intended behavior.

Or am I missing some detail about shell script code here?

I think you are right here. Maybe you could provide a fix for it? --
Otavio Salvador O.S. Systems
E-mail: [email protected] http://www.ossystems.com.br
Mobile: +55 53 9981-7854 http://projetos.ossystems.com.br

Quoted 6 lines
Quoted 4 lines

_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel

No problem. Patch for the patch attached :)

This patch is for oe-core, it needs to be resend to [email protected]

Quoted 31 lines

From 4624e30adb13ad361f886eeda4272a7235bedd61 Mon Sep 17 00:00:00 2001
From: Carlos Rafael Giani <[email protected]>
Date: Sat, 30 Mar 2013 21:29:22 +0100
Subject: [PATCH] gst-ffmpeg: configure-fix patch used wrong test

---
 .../recipes-multimedia/gstreamer/gst-ffmpeg-0.10.13/configure-fix.patch | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
meta/recipes-multimedia/gstreamer/gst-ffmpeg-0.10.13/configure-fix.patch +1 -1
index 81029ca..2bb124b 100644
@@ -11,7 +11,7 @@ diff -r f2f8f74c6e30 configure.ac
          --enable-gpl"
    fi
 
-+  if test "x$disable_yasm" != "xyes"; then
++  if test "x$disable_yasm" = "xyes"; then
 +    embffmpeg_configure_args="$embffmpeg_configure_args --disable-yasm"
 +  fi
 +
Signature · 7 lines
1.8.2


_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel
Signature · 1 line
Martin 'JaMa' Jansa     jabber: [email protected]
#5 lore raw
Quoted 27 lines · Martin Jansa
Quoted 26 lines · dv
Quoted 24 lines · Otavio Salvador
Quoted 8 lines · dv

Hello,

I noticed this part of the configure-fix.patch file for gst-ffmpeg 0.10.13:

(quoted diff) +3 -0
+  if test "x$disable_yasm" != "xyes"; then
+    embffmpeg_configure_args="$embffmpeg_configure_args --disable-yasm"
+  fi
Quoted 5 lines

Shouldn't the test be: if test "x$disable_yasm" = "xyes" ? To me, it seems as if this code adds --disable-yasm if disable_yasm is not set to "yes", which is the complete opposite of the intended behavior.

Or am I missing some detail about shell script code here?

I think you are right here. Maybe you could provide a fix for it? --
Otavio Salvador O.S. Systems
E-mail: [email protected] http://www.ossystems.com.br
Mobile: +55 53 9981-7854 http://projetos.ossystems.com.br

_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel

Quoted 4 lines
Quoted 1 line

No problem. Patch for the patch attached :)

This patch is for oe-core, it needs to be resend to [email protected]

Tom's patch was applied in oe-core
http://git.openembedded.org/openembedded-core/commit/?id=da9515621134c26e54f43b96cdad0c6e6c5876bf

Quoted 36 lines
Quoted 32 lines

From 4624e30adb13ad361f886eeda4272a7235bedd61 Mon Sep 17 00:00:00 2001
From: Carlos Rafael Giani <[email protected]>
Date: Sat, 30 Mar 2013 21:29:22 +0100
Subject: [PATCH] gst-ffmpeg: configure-fix patch used wrong test

---
 .../recipes-multimedia/gstreamer/gst-ffmpeg-0.10.13/configure-fix.patch | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
meta/recipes-multimedia/gstreamer/gst-ffmpeg-0.10.13/configure-fix.patch +1 -1
index 81029ca..2bb124b 100644
@@ -11,7 +11,7 @@ diff -r f2f8f74c6e30 configure.ac
          --enable-gpl"
    fi
 
-+  if test "x$disable_yasm" != "xyes"; then
++  if test "x$disable_yasm" = "xyes"; then
 +    embffmpeg_configure_args="$embffmpeg_configure_args --disable-yasm"
 +  fi
 +
Signature · 7 lines
1.8.2


_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel
Signature · 1 line
Martin 'JaMa' Jansa     jabber: [email protected]
Signature · 1 line
Martin 'JaMa' Jansa     jabber: [email protected]