Skip to contentSkip to conversation

apitrace: new package

PATCH Superseded Jérôme Pouiller 2 participants 2 messages Jan 2, 2014

v1 of 2 Superseded Latest is v2 →

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 apitrace: new package

Trace and replay OpenGL and OpenGL ES APIs calls to/from a file.

http://apitrace.github.io/

---
 package/Config.in            |  1 +
 package/apitrace/Config.in   | 13 +++++++++++++
 package/apitrace/apitrace.mk | 17 +++++++++++++++++
 3 files changed, 31 insertions(+)
 create mode 100644 package/apitrace/Config.in
 create mode 100644 package/apitrace/apitrace.mk
package/Config.in +1 -0
index 857aa84..d164f3f 100644
@@ -216,6 +216,7 @@ source "package/weston/Config.in"
 
 comment "X applications"
 source "package/alsamixergui/Config.in"
+source "package/apitrace/Config.in"
 source "package/docker/Config.in"
 source "package/feh/Config.in"
 source "package/freerdp/Config.in"
package/apitrace/Config.in new file +13 -0
new file mode 100644
index 0000000..6f23062
@@ -0,0 +1,13 @@
+comment "apitrace needs a toolchain w/ C++"
+        depends on !BR2_INSTALL_LIBSTDCPP
+
+config BR2_PACKAGE_APITRACE
+	bool "apitrace"
+        select BR2_INSTALL_LIBSTDCPP
+        select BR2_PACKAGE_XLIB_LIBX11
+	help
+	  Trace and replay OpenGL and OpenGL ES APIs calls to/from a file. You 
+          may install apitrace GUI from your distribution to inspect generated 
+          traces.
+
+	  http://apitrace.github.io/
package/apitrace/apitrace.mk new file +17 -0
new file mode 100644
index 0000000..c31a5b3
@@ -0,0 +1,17 @@
+################################################################################
+#
+# apitrace
+#
+################################################################################
+
+APITRACE_VERSION = c181b7fbf4b1c3912424761fec8ac7124640543a
+APITRACE_SITE = http://github.com/apitrace/apitrace/tarball/$(APITRACE_VERSION)
+APITRACE_LICENSE = MIT
+APITRACE_LICENSE_FILES = LICENSE
+
+APITRACE_DEPENDENCIES = xlib_libX11 host-python 
+
+# Gui was never tested, so we prefer to explicitly disable it
+APITRACE_CONF_OPT += -DENABLE_GUI=false
+
+$(eval $(cmake-package))
Signature · 1 line
1.8.3.2
#1 lore raw

PATCH 1/1 apitrace: new package

Hi Jerome,

2014/1/2 J?r?me Pouiller <[email protected]>

Quoted 31 lines

Trace and replay OpenGL and OpenGL ES APIs calls to/from a file.

http://apitrace.github.io/

---
 package/Config.in            |  1 +
 package/apitrace/Config.in   | 13 +++++++++++++
 package/apitrace/apitrace.mk | 17 +++++++++++++++++
 3 files changed, 31 insertions(+)
 create mode 100644 package/apitrace/Config.in
 create mode 100644 package/apitrace/apitrace.mk
package/Config.in +1 -0
index 857aa84..d164f3f 100644
@@ -216,6 +216,7 @@ source "package/weston/Config.in"
 
 comment "X applications"
 source "package/alsamixergui/Config.in"
+source "package/apitrace/Config.in"
 source "package/docker/Config.in"
 source "package/feh/Config.in"
 source "package/freerdp/Config.in"
package/apitrace/Config.in new file +0 -0
new file mode 100644
index 0000000..6f23062

package/apitrace/Config.in line 6

Quoted 6 lines
package/apitrace/Config.in new file +6 -0
@@ -0,0 +1,13 @@
+comment "apitrace needs a toolchain w/ C++"
+        depends on !BR2_INSTALL_LIBSTDCPP
+
+config BR2_PACKAGE_APITRACE
+       bool "apitrace"
+        select BR2_INSTALL_LIBSTDCPP

You mean 'depends on' here?

package/apitrace/Config.in line 7

Quoted 2 lines
package/apitrace/Config.in new file +1 -0
+        select BR2_PACKAGE_XLIB_LIBX11

It should depend on xorg.

Quoted 37 lines
package/apitrace/Config.in new file +2 -0
+       help
+         Trace and replay OpenGL and OpenGL ES APIs calls to/from a file.

You
+ may install apitrace GUI from your distribution to inspect
generated

package/apitrace/Config.in new file +3 -0
+          traces.
+
+         http://apitrace.github.io/
package/apitrace/apitrace.mk new file +8 -0
new file mode 100644
index 0000000..c31a5b3
@@ -0,0 +1,17 @@
 
+################################################################################
+#
+# apitrace
+#
 
+################################################################################
+
+APITRACE_VERSION = c181b7fbf4b1c3912424761fec8ac7124640543a
+APITRACE_SITE =

http://github.com/apitrace/apitrace/tarball/$(APITRACE_VERSION)

package/apitrace/apitrace.mk new file +9 -1
+APITRACE_LICENSE = MIT
+APITRACE_LICENSE_FILES = LICENSE
+
+APITRACE_DEPENDENCIES = xlib_libX11 host-python
+
+# Gui was never tested, so we prefer to explicitly disable it
+APITRACE_CONF_OPT += -DENABLE_GUI=false
+
+$(eval $(cmake-package))
--

1.8.3.2

Quoted 4 lines

_______________________________________________
buildroot mailing list
buildroot at busybox.net
http://lists.busybox.net/mailman/listinfo/buildroot

Regards,

Signature · 4 lines
Samuel
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20140102/6051ca21/attachment.html>