Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] new package: orc
@ 2011-07-14  7:32 Sven Neumann
  2011-07-14  7:32 ` [Buildroot] [PATCH 1/2] orc: new package Sven Neumann
  2011-07-14  7:32 ` [Buildroot] [PATCH 2/2] gst-plugins-base: depend on orc if it is enabled Sven Neumann
  0 siblings, 2 replies; 8+ messages in thread
From: Sven Neumann @ 2011-07-14  7:32 UTC (permalink / raw)
  To: buildroot

Here's an updated patch-set that adds orc, the liboil runtime compiler.
This package replaces liboil functionality-wise, it's not a drop-in
replacement. Newer versions of gstreamer plug-ins require orc for
accelerated codepaths.

I've dropped some patches that added orc dependencies all over the
place. It should be sufficient to make gst-plugins-base depend on
orc (if it is selected). All other gst-plugins packages do already
depend on gst-plugins-base.

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

* [Buildroot] [PATCH 1/2] orc: new package
  2011-07-14  7:32 [Buildroot] new package: orc Sven Neumann
@ 2011-07-14  7:32 ` Sven Neumann
  2011-07-24 21:44   ` Peter Korsgaard
  2011-07-14  7:32 ` [Buildroot] [PATCH 2/2] gst-plugins-base: depend on orc if it is enabled Sven Neumann
  1 sibling, 1 reply; 8+ messages in thread
From: Sven Neumann @ 2011-07-14  7:32 UTC (permalink / raw)
  To: buildroot

Orc - the Oil Runtime Compiler - is the successor of liboil.
There's a runtime library that is installed in staging and target
and there's a host version that can be built if orcc, the ORC
compiler is needed at build time.

Signed-off-by: Sven Neumann <s.neumann@raumfeld.com>
---
 package/Config.in     |    1 +
 package/orc/Config.in |    7 +++++++
 package/orc/orc.mk    |   13 +++++++++++++
 3 files changed, 21 insertions(+), 0 deletions(-)
 create mode 100644 package/orc/Config.in
 create mode 100644 package/orc/orc.mk

diff --git a/package/Config.in b/package/Config.in
index fb5a570..1219a04 100644
--- a/package/Config.in
+++ b/package/Config.in
@@ -345,6 +345,7 @@ source "package/libglib2/Config.in"
 source "package/libnspr/Config.in"
 source "package/liboil/Config.in"
 source "package/libsigc/Config.in"
+source "package/orc/Config.in"
 source "package/startup-notification/Config.in"
 endmenu
 
diff --git a/package/orc/Config.in b/package/orc/Config.in
new file mode 100644
index 0000000..3b3e059
--- /dev/null
+++ b/package/orc/Config.in
@@ -0,0 +1,7 @@
+config BR2_PACKAGE_ORC
+	bool "orc"
+	help
+	  Orc is a library and set of tools for compiling and executing
+          very simple programs that operate on arrays of data.
+
+          http://code.entropywave.com/projects/orc/
diff --git a/package/orc/orc.mk b/package/orc/orc.mk
new file mode 100644
index 0000000..6844bc9
--- /dev/null
+++ b/package/orc/orc.mk
@@ -0,0 +1,13 @@
+#############################################################
+#
+# orc
+#
+#############################################################
+ORC_VERSION = 0.4.14
+ORC_SOURCE = orc-$(ORC_VERSION).tar.gz
+ORC_SITE = http://code.entropywave.com/download/orc/
+ORC_AUTORECONF = YES
+ORC_INSTALL_STAGING = YES
+
+$(eval $(call AUTOTARGETS,package,orc))
+$(eval $(call AUTOTARGETS,package,orc,host))
-- 
1.7.1

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

* [Buildroot] [PATCH 2/2] gst-plugins-base: depend on orc if it is enabled
  2011-07-14  7:32 [Buildroot] new package: orc Sven Neumann
  2011-07-14  7:32 ` [Buildroot] [PATCH 1/2] orc: new package Sven Neumann
@ 2011-07-14  7:32 ` Sven Neumann
  2011-07-24 21:45   ` Peter Korsgaard
  1 sibling, 1 reply; 8+ messages in thread
From: Sven Neumann @ 2011-07-14  7:32 UTC (permalink / raw)
  To: buildroot

Signed-off-by: Sven Neumann <s.neumann@raumfeld.com>
---
 .../gst-plugins-base/gst-plugins-base.mk           |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)

diff --git a/package/multimedia/gst-plugins-base/gst-plugins-base.mk b/package/multimedia/gst-plugins-base/gst-plugins-base.mk
index 79ced30..09e0729 100644
--- a/package/multimedia/gst-plugins-base/gst-plugins-base.mk
+++ b/package/multimedia/gst-plugins-base/gst-plugins-base.mk
@@ -26,6 +26,10 @@ GST_PLUGINS_BASE_CONF_OPT = \
 
 GST_PLUGINS_BASE_DEPENDENCIES = gstreamer
 
+ifeq ($(BR2_PACKAGE_ORC),y)
+GST_PLUGINS_BASE_DEPENDENCIES += orc
+endif
+
 # alsa support needs pcm+mixer support, but configure fails to check for it
 ifeq ($(BR2_PACKAGE_ALSA_LIB)$(BR2_PACKAGE_ALSA_LIB_MIXER)$(BR2_PACKAGE_ALSA_LIB_PCM),yyy)
 GST_PLUGINS_BASE_DEPENDENCIES += alsa-lib
-- 
1.7.1

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

* [Buildroot] [PATCH 1/2] orc: new package
  2011-07-14  7:32 ` [Buildroot] [PATCH 1/2] orc: new package Sven Neumann
@ 2011-07-24 21:44   ` Peter Korsgaard
  2011-07-31  8:19     ` Sven Neumann
  0 siblings, 1 reply; 8+ messages in thread
From: Peter Korsgaard @ 2011-07-24 21:44 UTC (permalink / raw)
  To: buildroot

>>>>> "Sven" == Sven Neumann <s.neumann@raumfeld.com> writes:

 Sven> Orc - the Oil Runtime Compiler - is the successor of liboil.
 Sven> There's a runtime library that is installed in staging and target
 Sven> and there's a host version that can be built if orcc, the ORC
 Sven> compiler is needed at build time.

So presumably we should remove liboil? The only thing using it is
swfdec, which afaik is long dead upstream.

 Sven> Signed-off-by: Sven Neumann <s.neumann@raumfeld.com>
 Sven> ---
 Sven>  package/Config.in     |    1 +
 Sven>  package/orc/Config.in |    7 +++++++
 Sven>  package/orc/orc.mk    |   13 +++++++++++++
 Sven>  3 files changed, 21 insertions(+), 0 deletions(-)
 Sven>  create mode 100644 package/orc/Config.in
 Sven>  create mode 100644 package/orc/orc.mk

 Sven> diff --git a/package/Config.in b/package/Config.in
 Sven> index fb5a570..1219a04 100644
 Sven> --- a/package/Config.in
 Sven> +++ b/package/Config.in
 Sven> @@ -345,6 +345,7 @@ source "package/libglib2/Config.in"
 Sven>  source "package/libnspr/Config.in"
 Sven>  source "package/liboil/Config.in"
 Sven>  source "package/libsigc/Config.in"
 Sven> +source "package/orc/Config.in"
 Sven>  source "package/startup-notification/Config.in"
 Sven>  endmenu
 
 Sven> diff --git a/package/orc/Config.in b/package/orc/Config.in
 Sven> new file mode 100644
 Sven> index 0000000..3b3e059
 Sven> --- /dev/null
 Sven> +++ b/package/orc/Config.in
 Sven> @@ -0,0 +1,7 @@
 Sven> +config BR2_PACKAGE_ORC
 Sven> +	bool "orc"
 Sven> +	help
 Sven> +	  Orc is a library and set of tools for compiling and executing
 Sven> +          very simple programs that operate on arrays of data.
 Sven> +
 Sven> +          http://code.entropywave.com/projects/orc/

Help text indentation is <tab><space><space>

 Sven> diff --git a/package/orc/orc.mk b/package/orc/orc.mk
 Sven> new file mode 100644
 Sven> index 0000000..6844bc9
 Sven> --- /dev/null
 Sven> +++ b/package/orc/orc.mk
 Sven> @@ -0,0 +1,13 @@
 Sven> +#############################################################
 Sven> +#
 Sven> +# orc
 Sven> +#
 Sven> +#############################################################
 Sven> +ORC_VERSION = 0.4.14
 Sven> +ORC_SOURCE = orc-$(ORC_VERSION).tar.gz

You could drop this line as that's default.

 Sven> +ORC_SITE = http://code.entropywave.com/download/orc/
 Sven> +ORC_AUTORECONF = YES

Why? You don't patch any files.

 Sven> +ORC_INSTALL_STAGING = YES
 Sven> +
 Sven> +$(eval $(call AUTOTARGETS,package,orc))
 Sven> +$(eval $(call AUTOTARGETS,package,orc,host))

I prefer to only add host support when needed.

Should usr/bin/orcc get removed if !BR2_HAVE_DEVFILES or is it needed
for anything?

I've committed with those changes (except for orcc, please advice) -
Thanks.

-- 
Bye, Peter Korsgaard

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

* [Buildroot] [PATCH 2/2] gst-plugins-base: depend on orc if it is enabled
  2011-07-14  7:32 ` [Buildroot] [PATCH 2/2] gst-plugins-base: depend on orc if it is enabled Sven Neumann
@ 2011-07-24 21:45   ` Peter Korsgaard
  2011-07-31  8:16     ` Sven Neumann
  0 siblings, 1 reply; 8+ messages in thread
From: Peter Korsgaard @ 2011-07-24 21:45 UTC (permalink / raw)
  To: buildroot

>>>>> "Sven" == Sven Neumann <s.neumann@raumfeld.com> writes:

 Sven> Signed-off-by: Sven Neumann <s.neumann@raumfeld.com>
 Sven> ---
 Sven>  .../gst-plugins-base/gst-plugins-base.mk           |    4 ++++
 Sven>  1 files changed, 4 insertions(+), 0 deletions(-)

 Sven> diff --git a/package/multimedia/gst-plugins-base/gst-plugins-base.mk b/package/multimedia/gst-plugins-base/gst-plugins-base.mk
 Sven> index 79ced30..09e0729 100644
 Sven> --- a/package/multimedia/gst-plugins-base/gst-plugins-base.mk
 Sven> +++ b/package/multimedia/gst-plugins-base/gst-plugins-base.mk
 Sven> @@ -26,6 +26,10 @@ GST_PLUGINS_BASE_CONF_OPT = \
 
 Sven>  GST_PLUGINS_BASE_DEPENDENCIES = gstreamer
 
 Sven> +ifeq ($(BR2_PACKAGE_ORC),y)
 Sven> +GST_PLUGINS_BASE_DEPENDENCIES += orc
 Sven> +endif

What does this buy us? Extra functionality or higher performance?

-- 
Bye, Peter Korsgaard

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

* [Buildroot] [PATCH 2/2] gst-plugins-base: depend on orc if it is enabled
  2011-07-24 21:45   ` Peter Korsgaard
@ 2011-07-31  8:16     ` Sven Neumann
  0 siblings, 0 replies; 8+ messages in thread
From: Sven Neumann @ 2011-07-31  8:16 UTC (permalink / raw)
  To: buildroot

On Sun, 2011-07-24 at 23:45 +0200, Peter Korsgaard wrote:
> >>>>> "Sven" == Sven Neumann <s.neumann@raumfeld.com> writes:
> 
>  Sven> Signed-off-by: Sven Neumann <s.neumann@raumfeld.com>
>  Sven> ---
>  Sven>  .../gst-plugins-base/gst-plugins-base.mk           |    4 ++++
>  Sven>  1 files changed, 4 insertions(+), 0 deletions(-)
> 
>  Sven> diff --git a/package/multimedia/gst-plugins-base/gst-plugins-base.mk b/package/multimedia/gst-plugins-base/gst-plugins-base.mk
>  Sven> index 79ced30..09e0729 100644
>  Sven> --- a/package/multimedia/gst-plugins-base/gst-plugins-base.mk
>  Sven> +++ b/package/multimedia/gst-plugins-base/gst-plugins-base.mk
>  Sven> @@ -26,6 +26,10 @@ GST_PLUGINS_BASE_CONF_OPT = \
>  
>  Sven>  GST_PLUGINS_BASE_DEPENDENCIES = gstreamer
>  
>  Sven> +ifeq ($(BR2_PACKAGE_ORC),y)
>  Sven> +GST_PLUGINS_BASE_DEPENDENCIES += orc
>  Sven> +endif
> 
> What does this buy us? Extra functionality or higher performance?

Higher performance. It is highly recommended by the GStreamer developers
to enable this for production systems.


Sven
 

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

* [Buildroot] [PATCH 1/2] orc: new package
  2011-07-24 21:44   ` Peter Korsgaard
@ 2011-07-31  8:19     ` Sven Neumann
  2011-08-04 19:16       ` Peter Korsgaard
  0 siblings, 1 reply; 8+ messages in thread
From: Sven Neumann @ 2011-07-31  8:19 UTC (permalink / raw)
  To: buildroot

On Sun, 2011-07-24 at 23:44 +0200, Peter Korsgaard wrote:
> >>>>> "Sven" == Sven Neumann <s.neumann@raumfeld.com> writes:
> 
>  Sven> Orc - the Oil Runtime Compiler - is the successor of liboil.
>  Sven> There's a runtime library that is installed in staging and target
>  Sven> and there's a host version that can be built if orcc, the ORC
>  Sven> compiler is needed at build time.
> 
> So presumably we should remove liboil? The only thing using it is
> swfdec, which afaik is long dead upstream.

Agreed.

> Should usr/bin/orcc get removed if !BR2_HAVE_DEVFILES or is it needed
> for anything?

Yes, that makes sense. There's also /usr/bin/orc-bugreport which should
probably be removed as well.

> I've committed with those changes (except for orcc, please advice) -
> Thanks.

I won't find time to do the proposed changes before next week as I am
currently on vacation.


Sven

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

* [Buildroot] [PATCH 1/2] orc: new package
  2011-07-31  8:19     ` Sven Neumann
@ 2011-08-04 19:16       ` Peter Korsgaard
  0 siblings, 0 replies; 8+ messages in thread
From: Peter Korsgaard @ 2011-08-04 19:16 UTC (permalink / raw)
  To: buildroot

>>>>> "Sven" == Sven Neumann <s.neumann@raumfeld.com> writes:

Hi,

 >> Should usr/bin/orcc get removed if !BR2_HAVE_DEVFILES or is it needed
 >> for anything?

 Sven> Yes, that makes sense. There's also /usr/bin/orc-bugreport which should
 Sven> probably be removed as well.

 >> I've committed with those changes (except for orcc, please advice) -
 >> Thanks.

 Sven> I won't find time to do the proposed changes before next week as I am
 Sven> currently on vacation.

No problem, I've fixed it now.

-- 
Bye, Peter Korsgaard

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

end of thread, other threads:[~2011-08-04 19:16 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-07-14  7:32 [Buildroot] new package: orc Sven Neumann
2011-07-14  7:32 ` [Buildroot] [PATCH 1/2] orc: new package Sven Neumann
2011-07-24 21:44   ` Peter Korsgaard
2011-07-31  8:19     ` Sven Neumann
2011-08-04 19:16       ` Peter Korsgaard
2011-07-14  7:32 ` [Buildroot] [PATCH 2/2] gst-plugins-base: depend on orc if it is enabled Sven Neumann
2011-07-24 21:45   ` Peter Korsgaard
2011-07-31  8:16     ` Sven Neumann

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