package/x11r7/xlib_libXfont2: new package
authorBernd Kuhls <bernd.kuhls@t-online.de>
Sat, 3 Dec 2016 11:58:06 +0000 (12:58 +0100)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Sun, 4 Dec 2016 15:10:10 +0000 (16:10 +0100)
Needed for xserver_xorg-server 1.19+
https://cgit.freedesktop.org/xorg/xserver/commit/?id=05a793f5b3c40747d5a92a076def7f4fb673c7e7

We need to keep the xlib_libXfont package because xapp_bdftopcf and
xapp_xfs were not ported yet to xlib_libXfont2:
https://lists.x.org/archives/xorg-announce/2016-August/002702.html

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
package/x11r7/Config.in
package/x11r7/xlib_libXfont2/Config.in [new file with mode: 0644]
package/x11r7/xlib_libXfont2/xlib_libXfont2.hash [new file with mode: 0644]
package/x11r7/xlib_libXfont2/xlib_libXfont2.mk [new file with mode: 0644]

index 40aa80c9348ab3ba1a66b6dd41cc00a171fdc5c2..c40a6438c5db62ed8a7d31043170635390fbb976 100644 (file)
@@ -35,6 +35,7 @@ if BR2_PACKAGE_XORG7
                source package/x11r7/xlib_libXext/Config.in
                source package/x11r7/xlib_libXfixes/Config.in
                source package/x11r7/xlib_libXfont/Config.in
+               source package/x11r7/xlib_libXfont2/Config.in
                source package/x11r7/xlib_libXft/Config.in
                source package/x11r7/xlib_libXi/Config.in
                source package/x11r7/xlib_libXinerama/Config.in
diff --git a/package/x11r7/xlib_libXfont2/Config.in b/package/x11r7/xlib_libXfont2/Config.in
new file mode 100644 (file)
index 0000000..6cba465
--- /dev/null
@@ -0,0 +1,10 @@
+config BR2_PACKAGE_XLIB_LIBXFONT2
+       bool "libXfont2"
+       select BR2_PACKAGE_FREETYPE
+       select BR2_PACKAGE_XLIB_LIBFONTENC
+       select BR2_PACKAGE_XLIB_XTRANS
+       select BR2_PACKAGE_XPROTO_FONTSPROTO
+       select BR2_PACKAGE_XPROTO_XPROTO
+       select BR2_PACKAGE_XFONT_ENCODINGS
+       help
+         X.Org Xfont library
diff --git a/package/x11r7/xlib_libXfont2/xlib_libXfont2.hash b/package/x11r7/xlib_libXfont2/xlib_libXfont2.hash
new file mode 100644 (file)
index 0000000..81a3c9f
--- /dev/null
@@ -0,0 +1,2 @@
+# From https://lists.x.org/archives/xorg-announce/2015-December/002663.html
+sha256 e9fbbb475ddd171b3a6a54b989cbade1f6f874fc35d505ebc5be426bc6e4db7e  libXfont2-2.0.1.tar.bz2
diff --git a/package/x11r7/xlib_libXfont2/xlib_libXfont2.mk b/package/x11r7/xlib_libXfont2/xlib_libXfont2.mk
new file mode 100644 (file)
index 0000000..fef1e68
--- /dev/null
@@ -0,0 +1,33 @@
+################################################################################
+#
+# xlib_libXfont2
+#
+################################################################################
+
+XLIB_LIBXFONT2_VERSION = 2.0.1
+XLIB_LIBXFONT2_SOURCE = libXfont2-$(XLIB_LIBXFONT2_VERSION).tar.bz2
+XLIB_LIBXFONT2_SITE = http://xorg.freedesktop.org/releases/individual/lib
+XLIB_LIBXFONT2_LICENSE = MIT
+XLIB_LIBXFONT2_LICENSE_FILES = COPYING
+XLIB_LIBXFONT2_INSTALL_STAGING = YES
+XLIB_LIBXFONT2_DEPENDENCIES = \
+       freetype \
+       xlib_libfontenc \
+       xlib_xtrans \
+       xproto_fontsproto \
+       xproto_xproto \
+       xfont_encodings
+
+HOST_XLIB_LIBXFONT2_DEPENDENCIES = \
+       host-freetype \
+       host-xlib_libfontenc \
+       host-xlib_xtrans \
+       host-xproto_fontsproto \
+       host-xproto_xproto \
+       host-xfont_encodings
+
+XLIB_LIBXFONT2_CONF_OPTS = --disable-devel-docs
+HOST_XLIB_LIBXFONT2_CONF_OPTS = --disable-devel-docs
+
+$(eval $(autotools-package))
+$(eval $(host-autotools-package))