Skip to contentSkip to conversation

vte: new package

PATCH Superseded Stefan Fröberg 2 participants 6 messages Jan 16, 2018

v1 of 2 Superseded Latest is v2 →

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 vte: new package

The VTE package contains a termcap file implementation for terminal emulators.

---
 DEVELOPERS            |  1 +
 package/Config.in     |  1 +
 package/vte/Config.in | 15 +++++++++++++++
 package/vte/vte.mk    | 15 +++++++++++++++
 4 files changed, 32 insertions(+)
 create mode 100644 package/vte/Config.in
 create mode 100644 package/vte/vte.mk
DEVELOPERS +1 -0
index 2f7d051e8a..0f81b7093b 100644
@@ -1642,6 +1642,7 @@ N:	Stefan Fr?berg <[email protected]>
 F:	package/elfutils/
 F:	package/libtasn1/
 F:	package/proxychains-ng/
+F:	package/vte/
 F:	package/yasm/
 F:	package/zlib-ng/
 
package/Config.in +1 -0
index 01f4095be5..be0304442a 100644
@@ -333,6 +333,7 @@ comment "X applications"
 	source "package/qt-webkit-kiosk/Config.in"
 	source "package/rdesktop/Config.in"
 	source "package/synergy/Config.in"
+	source "package/vte/Config.in"
 	source "package/wmctrl/Config.in"
 	source "package/x11vnc/Config.in"
 	source "package/xdotool/Config.in"
package/vte/Config.in new file +15 -0
new file mode 100644
index 0000000000..e448477d69
@@ -0,0 +1,15 @@
+config BR2_PACKAGE_VTE
+	bool "vte"
+	select BR2_PACKAGE_LIBGTK3
+	select BR2_PACKAGE_LIBXML2
+	select BR2_PACKAGE_PCRE2
+	depends on BR2_PACKAGE_XORG7
+	help
+	  VTE is a library (libvte) implementing a terminal emulator
+	  widget for GTK+, and a minimal sample application (vte)
+	  using that. Vte is mainly used in gnome-terminal, but
+	  can also be used to embed a console/terminal in games,
+	  editors, IDEs, etc.
+
+	  http://github.com/GNOME/vte
+
package/vte/vte.mk new file +15 -0
new file mode 100644
index 0000000000..e62f807efc
@@ -0,0 +1,15 @@
+################################################################################
+#
+# vte
+#
+################################################################################
+
+VTE_VERSION = 0.48.3
+VTE_SOURCE = vte-$(VTE_VERSION).tar.xz
+VTE_SITE = http://ftp.gnome.org/pub/gnome/sources/vte/0.48
+VTE_DEPENDENCIES = host-pkgconf libgtk3 libxml2 pcre2
+VTE_LICENSE = LGPL-2.0+
+VTE_LICENSE_FILES = COPYING
+VTE_CONF_OPTS += --disable-introspection --without-gnutls --disable-vala
+
+$(eval $(autotools-package))
Signature · 1 line
2.13.6
#1 lore raw

PATCH 1/1 vte: new package

Hello,

package/vte/Config.in line 3

Quoted 9 lines · Stefan Fr?berg
package/vte/Config.in new file +3 -0
new file mode 100644
index 0000000000..e448477d69
@@ -0,0 +1,15 @@
+config BR2_PACKAGE_VTE
+	bool "vte"
+	select BR2_PACKAGE_LIBGTK3

You can't just select libgtk3 so easily. It has lots of dependencies:

depends on BR2_USE_WCHAR # glib2
depends on BR2_TOOLCHAIN_HAS_THREADS # glib2 depends on BR2_USE_MMU # glib2
depends on BR2_INSTALL_LIBSTDCPP # pango depends on BR2_TOOLCHAIN_HAS_SYNC_4 # pango -> harfbuzz depends on BR2_PACKAGE_HAS_LIBEGL_WAYLAND || \
BR2_PACKAGE_HAS_LIBGL

package/vte/Config.in line 6

Quoted 3 lines
package/vte/Config.in new file +3 -0
+	select BR2_PACKAGE_LIBXML2
+	select BR2_PACKAGE_PCRE2
+	depends on BR2_PACKAGE_XORG7

The depends on should go before the select. This is checked by ./utils/check-package.

package/vte/Config.in line 15

Quoted 9 lines
package/vte/Config.in new file +9 -0
+	help
+	  VTE is a library (libvte) implementing a terminal emulator
+	  widget for GTK+, and a minimal sample application (vte)
+	  using that. Vte is mainly used in gnome-terminal, but
+	  can also be used to embed a console/terminal in games,
+	  editors, IDEs, etc.
+
+	  http://github.com/GNOME/vte
+

Spurious empty line.

You will need a bunch of Config.in comments here about this package dependencies.

Thanks!

Thomas

Signature · 3 lines
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux and Kernel engineering
http://free-electrons.com
#2 lore raw

PATCH 1/1 vte: new package

Hi Thomas

Thomas Petazzoni kirjoitti 16.01.2018 klo 18:07:

Quoted 40 lines

Hello,

package/vte/Config.in line 3

Quoted 9 lines · Stefan Fr?berg
package/vte/Config.in new file +3 -0
new file mode 100644
index 0000000000..e448477d69
@@ -0,0 +1,15 @@
+config BR2_PACKAGE_VTE
+	bool "vte"
+	select BR2_PACKAGE_LIBGTK3

You can't just select libgtk3 so easily. It has lots of dependencies:

depends on BR2_USE_WCHAR # glib2
depends on BR2_TOOLCHAIN_HAS_THREADS # glib2 depends on BR2_USE_MMU # glib2
depends on BR2_INSTALL_LIBSTDCPP # pango depends on BR2_TOOLCHAIN_HAS_SYNC_4 # pango -> harfbuzz depends on BR2_PACKAGE_HAS_LIBEGL_WAYLAND || \
BR2_PACKAGE_HAS_LIBGL

package/vte/Config.in line 6

Quoted 3 lines
package/vte/Config.in new file +3 -0
+	select BR2_PACKAGE_LIBXML2
+	select BR2_PACKAGE_PCRE2
+	depends on BR2_PACKAGE_XORG7

The depends on should go before the select. This is checked by ./utils/check-package.

package/vte/Config.in line 15

Quoted 9 lines
package/vte/Config.in new file +9 -0
+	help
+	  VTE is a library (libvte) implementing a terminal emulator
+	  widget for GTK+, and a minimal sample application (vte)
+	  using that. Vte is mainly used in gnome-terminal, but
+	  can also be used to embed a console/terminal in games,
+	  editors, IDEs, etc.
+
+	  http://github.com/GNOME/vte
+

Spurious empty line.

Quoted 6 lines

You will need a bunch of Config.in comments here about this package dependencies.

Thanks!

Thomas

Gosh, and it looked soooo simple package do when I saw that anonymous package request.
Oh, well...Time for patch round 2 then... ;-)

Thanks T!
-S-

#3 lore raw

PATCH 1/1 vte: new package

Oh, one thing ...

Stefan Fr?berg kirjoitti 16.01.2018 klo 19:58:

Quoted 25 lines

Hi Thomas

Thomas Petazzoni kirjoitti 16.01.2018 klo 18:07:

Quoted 21 lines

Hello,

package/vte/Config.in line 3

Quoted 9 lines · Stefan Fr?berg
package/vte/Config.in new file +3 -0
new file mode 100644
index 0000000000..e448477d69
@@ -0,0 +1,15 @@
+config BR2_PACKAGE_VTE
+	bool "vte"
+	select BR2_PACKAGE_LIBGTK3

You can't just select libgtk3 so easily. It has lots of dependencies:

depends on BR2_USE_WCHAR # glib2
depends on BR2_TOOLCHAIN_HAS_THREADS # glib2
depends on BR2_USE_MMU # glib2
depends on BR2_INSTALL_LIBSTDCPP # pango
depends on BR2_TOOLCHAIN_HAS_SYNC_4 # pango -> harfbuzz
*depends on BR2_PACKAGE_HAS_LIBEGL_WAYLAND || \ BR2_PACKAGE_HAS_LIBGL *

Is OpenGL *really* needed for libgtk3 ?

Im asking because I have a chrooted musl environment where I intentionally tried to avoid any package that tries to pull OpenGL stuff (like mesa, wayland etc...) and I managed to build
gtk3 just fine (version 3.22.26)

Here's it's built conf (uses static libs, introspection disabled and uses X11 backend):

./configure --prefix=/usr --sysconfdir=/etc --disable-nls --disable-rpath --disable-shared --disable-modules --enable-static --enable-x11-backend --enable-broadway-backend --disable-glibtest --disable-cloudprint --disable-introspection --disable-gtk-doc --disable-man --disable-gtk-doc-html --disable-gtk-doc-pdf --with-pic

Regards
-S

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20180117/efcca301/attachment.html>

#4 lore raw

PATCH 1/1 vte: new package

Hello,

Quoted 8 lines · Stefan Fr?berg
Quoted 6 lines
Quoted 6 lines

depends on BR2_USE_WCHAR # glib2
depends on BR2_TOOLCHAIN_HAS_THREADS # glib2
depends on BR2_USE_MMU # glib2
depends on BR2_INSTALL_LIBSTDCPP # pango
depends on BR2_TOOLCHAIN_HAS_SYNC_4 # pango -> harfbuzz
*depends on BR2_PACKAGE_HAS_LIBEGL_WAYLAND || \ BR2_PACKAGE_HAS_LIBGL *

Is OpenGL *really* needed for libgtk3 ?

I remember having a lengthy discussion back then with Gustavo, who said OpenGL was really needed. However, things might have evolved since then.

Quoted 5 lines

Im asking because I have a chrooted musl environment where I intentionally tried to avoid any package that tries to pull OpenGL stuff (like mesa, wayland etc...) and I managed to build
gtk3 just fine (version 3.22.26)

Quoted 8 lines

Here's it's built conf (uses static libs, introspection disabled and uses X11 backend):

./configure --prefix=/usr --sysconfdir=/etc --disable-nls --disable-rpath --disable-shared --disable-modules --enable-static --enable-x11-backend --enable-broadway-backend --disable-glibtest --disable-cloudprint --disable-introspection --disable-gtk-doc --disable-man --disable-gtk-doc-html --disable-gtk-doc-pdf --with-pic

Does the result actually runs on some target platform ?

If so, it would definitely be nice to support gtk3 without OpenGL.

Best regards,

Thomas

Signature · 3 lines
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux and Kernel engineering
http://free-electrons.com
#5 lore raw

PATCH 1/1 vte: new package

Hi

Thomas Petazzoni kirjoitti 17.01.2018 klo 00:47:

Quoted 22 lines

Hello,

Quoted 7 lines · Stefan Fr?berg
Quoted 6 lines
Quoted 6 lines

depends on BR2_USE_WCHAR # glib2
depends on BR2_TOOLCHAIN_HAS_THREADS # glib2
depends on BR2_USE_MMU # glib2
depends on BR2_INSTALL_LIBSTDCPP # pango
depends on BR2_TOOLCHAIN_HAS_SYNC_4 # pango -> harfbuzz
*depends on BR2_PACKAGE_HAS_LIBEGL_WAYLAND || \ BR2_PACKAGE_HAS_LIBGL *

Is OpenGL *really* needed for libgtk3 ?

I remember having a lengthy discussion back then with Gustavo, who said OpenGL was really needed. However, things might have evolved since then.

Quoted 8 lines

Im asking because I have a chrooted musl environment where I intentionally tried to avoid any package that tries to pull OpenGL stuff (like mesa, wayland etc...) and I managed to build
gtk3 just fine (version 3.22.26)

Here's it's built conf (uses static libs, introspection disabled and uses X11 backend):

Quoted 6 lines
Quoted 5 lines

./configure --prefix=/usr --sysconfdir=/etc --disable-nls --disable-rpath --disable-shared --disable-modules --enable-static --enable-x11-backend --enable-broadway-backend --disable-glibtest --disable-cloudprint --disable-introspection --disable-gtk-doc --disable-man --disable-gtk-doc-html --disable-gtk-doc-pdf --with-pic

Does the result actually runs on some target platform ?

I really hope so.
I am currently, at this very moment, building my app against webkitgtk in that chrooted environment
and if all goes well, I get a nice big static binary blob that I could try with any Linux, no matter
what C-libc is being used. And should not need OpenGL.
As long as the CPU is x86_64 it should run.

Quoted 4 lines

If so, it would definitely be nice to support gtk3 without OpenGL.

Great! I keep fingers crossed :-)

Regards
-S-