summaryrefslogtreecommitdiff
path: root/recipes/xorg-util
diff options
context:
space:
mode:
Diffstat (limited to 'recipes/xorg-util')
-rw-r--r--recipes/xorg-util/files/unbreak_cross_compile.patch26
-rw-r--r--recipes/xorg-util/gccmakedep_1.0.2.bb7
-rw-r--r--recipes/xorg-util/imake_1.0.2.bb7
-rw-r--r--recipes/xorg-util/lndir_1.0.1.bb5
-rw-r--r--recipes/xorg-util/makedepend-native_1.0.1.bb9
-rw-r--r--recipes/xorg-util/makedepend_1.0.1.bb6
-rw-r--r--recipes/xorg-util/util-macros-1.1.6/unbreak_cross_compile.patch19
-rw-r--r--recipes/xorg-util/util-macros-native_1.1.5.bb9
-rw-r--r--recipes/xorg-util/util-macros-native_1.1.6.bb7
-rw-r--r--recipes/xorg-util/util-macros_1.1.5.bb9
-rw-r--r--recipes/xorg-util/util-macros_1.1.6.bb6
-rw-r--r--recipes/xorg-util/xorg-cf-files_1.0.2.bb8
-rw-r--r--recipes/xorg-util/xorg-util-common.inc15
13 files changed, 133 insertions, 0 deletions
diff --git a/recipes/xorg-util/files/unbreak_cross_compile.patch b/recipes/xorg-util/files/unbreak_cross_compile.patch
new file mode 100644
index 0000000000..fd84aade1e
--- /dev/null
+++ b/recipes/xorg-util/files/unbreak_cross_compile.patch
@@ -0,0 +1,26 @@
+---
+ xorg-macros.m4.in | 4 ----
+ 1 file changed, 4 deletions(-)
+
+Index: util-macros-1.1.5/xorg-macros.m4.in
+===================================================================
+--- util-macros-1.1.5.orig/xorg-macros.m4.in 2006-11-08 14:23:10.000000000 +0000
++++ util-macros-1.1.5/xorg-macros.m4.in 2007-01-31 15:28:55.000000000 +0000
+@@ -194,8 +194,6 @@ AC_DEFUN([XORG_CHECK_LINUXDOC],[
+ XORG_SGML_PATH=$prefix/share/sgml
+ HAVE_DEFS_ENT=
+
+-AC_CHECK_FILE([$XORG_SGML_PATH/X11/defs.ent], [HAVE_DEFS_ENT=yes])
+-
+ AC_PATH_PROG(LINUXDOC, linuxdoc)
+ AC_PATH_PROG(PS2PDF, ps2pdf)
+
+@@ -250,8 +248,6 @@ BUILDPDFDOC=no
+ BUILDPSDOC=no
+ BUILDHTMLDOC=no
+
+-AC_CHECK_FILE([$XORG_SGML_PATH/X11/defs.ent], [HAVE_DEFS_ENT=yes])
+-
+ AC_PATH_PROG(DOCBOOKPS, docbook2ps)
+ AC_PATH_PROG(DOCBOOKPDF, docbook2pdf)
+ AC_PATH_PROG(DOCBOOKHTML, docbook2html)
diff --git a/recipes/xorg-util/gccmakedep_1.0.2.bb b/recipes/xorg-util/gccmakedep_1.0.2.bb
new file mode 100644
index 0000000000..3abfa037a2
--- /dev/null
+++ b/recipes/xorg-util/gccmakedep_1.0.2.bb
@@ -0,0 +1,7 @@
+require xorg-util-common.inc
+
+DESCRIPTION = "create dependencies in makefiles using 'gcc -M'"
+RDEPENDS = "gcc"
+
+PR = "r2"
+PE = "1"
diff --git a/recipes/xorg-util/imake_1.0.2.bb b/recipes/xorg-util/imake_1.0.2.bb
new file mode 100644
index 0000000000..deeb4477a1
--- /dev/null
+++ b/recipes/xorg-util/imake_1.0.2.bb
@@ -0,0 +1,7 @@
+require xorg-util-common.inc
+
+DESCRIPTION = "C preprocessor interface to the make utility"
+RDEPENDS = "perl xproto"
+
+PR = "r1"
+PE = "1"
diff --git a/recipes/xorg-util/lndir_1.0.1.bb b/recipes/xorg-util/lndir_1.0.1.bb
new file mode 100644
index 0000000000..34309a6487
--- /dev/null
+++ b/recipes/xorg-util/lndir_1.0.1.bb
@@ -0,0 +1,5 @@
+require xorg-util-common.inc
+
+DESCRIPTION = "create a shadow directory of symbolic links to another directory tree"
+PR = "r1"
+PE = "1"
diff --git a/recipes/xorg-util/makedepend-native_1.0.1.bb b/recipes/xorg-util/makedepend-native_1.0.1.bb
new file mode 100644
index 0000000000..9facfc69fa
--- /dev/null
+++ b/recipes/xorg-util/makedepend-native_1.0.1.bb
@@ -0,0 +1,9 @@
+require xorg-util-common.inc
+inherit native
+
+DESCRIPTION = "create dependencies in makefiles"
+DEPENDS = "xproto-native util-macros-native"
+PR = "r2"
+PE = "1"
+
+XORG_PN = "makedepend"
diff --git a/recipes/xorg-util/makedepend_1.0.1.bb b/recipes/xorg-util/makedepend_1.0.1.bb
new file mode 100644
index 0000000000..e998bba1b0
--- /dev/null
+++ b/recipes/xorg-util/makedepend_1.0.1.bb
@@ -0,0 +1,6 @@
+require xorg-util-common.inc
+
+DESCRIPTION = "create dependencies in makefiles"
+DEPENDS = "xproto util-macros"
+PR = "r2"
+PE = "1"
diff --git a/recipes/xorg-util/util-macros-1.1.6/unbreak_cross_compile.patch b/recipes/xorg-util/util-macros-1.1.6/unbreak_cross_compile.patch
new file mode 100644
index 0000000000..1f784944d3
--- /dev/null
+++ b/recipes/xorg-util/util-macros-1.1.6/unbreak_cross_compile.patch
@@ -0,0 +1,19 @@
+---
+ xorg-macros.m4.in | 2 --
+ 1 file changed, 2 deletions(-)
+
+--- util-macros-1.1.6.orig/xorg-macros.m4.in
++++ util-macros-1.1.6/xorg-macros.m4.in
+@@ -252,12 +252,10 @@ HAVE_DEFS_ENT=
+ BUILDTXTDOC=no
+ BUILDPDFDOC=no
+ BUILDPSDOC=no
+ BUILDHTMLDOC=no
+
+-AC_CHECK_FILE([$XORG_SGML_PATH/X11/defs.ent], [HAVE_DEFS_ENT=yes])
+-
+ AC_PATH_PROG(DOCBOOKPS, docbook2ps)
+ AC_PATH_PROG(DOCBOOKPDF, docbook2pdf)
+ AC_PATH_PROG(DOCBOOKHTML, docbook2html)
+ AC_PATH_PROG(DOCBOOKTXT, docbook2txt)
+
diff --git a/recipes/xorg-util/util-macros-native_1.1.5.bb b/recipes/xorg-util/util-macros-native_1.1.5.bb
new file mode 100644
index 0000000000..c327f3f54e
--- /dev/null
+++ b/recipes/xorg-util/util-macros-native_1.1.5.bb
@@ -0,0 +1,9 @@
+require util-macros_${PV}.bb
+
+inherit native
+
+PR = "r1"
+
+XORG_PN = "util-macros"
+
+S = "${WORKDIR}/util-macros-1.1.5"
diff --git a/recipes/xorg-util/util-macros-native_1.1.6.bb b/recipes/xorg-util/util-macros-native_1.1.6.bb
new file mode 100644
index 0000000000..618e78f116
--- /dev/null
+++ b/recipes/xorg-util/util-macros-native_1.1.6.bb
@@ -0,0 +1,7 @@
+require util-macros_${PV}.bb
+
+inherit native
+
+XORG_PN = "util-macros"
+
+S = "${WORKDIR}/util-macros-${PV}"
diff --git a/recipes/xorg-util/util-macros_1.1.5.bb b/recipes/xorg-util/util-macros_1.1.5.bb
new file mode 100644
index 0000000000..46fc0a8d19
--- /dev/null
+++ b/recipes/xorg-util/util-macros_1.1.5.bb
@@ -0,0 +1,9 @@
+require xorg-util-common.inc
+
+DESCRIPTION = "X autotools macros"
+PR = "r1"
+PE = "1"
+
+ALLOW_EMPTY = "1"
+
+SRC_URI += "file://unbreak_cross_compile.patch;patch=1"
diff --git a/recipes/xorg-util/util-macros_1.1.6.bb b/recipes/xorg-util/util-macros_1.1.6.bb
new file mode 100644
index 0000000000..4775fc6901
--- /dev/null
+++ b/recipes/xorg-util/util-macros_1.1.6.bb
@@ -0,0 +1,6 @@
+require xorg-util-common.inc
+
+DESCRIPTION = "X autotools macros"
+PE = "1"
+
+ALLOW_EMPTY = "1"
diff --git a/recipes/xorg-util/xorg-cf-files_1.0.2.bb b/recipes/xorg-util/xorg-cf-files_1.0.2.bb
new file mode 100644
index 0000000000..7c3fb8d7e9
--- /dev/null
+++ b/recipes/xorg-util/xorg-cf-files_1.0.2.bb
@@ -0,0 +1,8 @@
+require xorg-util-common.inc
+
+DESCRIPTION = "X Window System CF files"
+
+PR = "r1"
+PE = "1"
+
+FILES_${PN} += " /usr/lib/X11/config"
diff --git a/recipes/xorg-util/xorg-util-common.inc b/recipes/xorg-util/xorg-util-common.inc
new file mode 100644
index 0000000000..56aae30725
--- /dev/null
+++ b/recipes/xorg-util/xorg-util-common.inc
@@ -0,0 +1,15 @@
+HOMEPAGE = "http://www.x.org"
+SECTION = "x11/utils"
+LICENSE = "MIT-X"
+
+XORG_PN = "${PN}"
+
+SRC_URI = "${XORG_MIRROR}/individual/util/${XORG_PN}-${PV}.tar.gz"
+
+S = "${WORKDIR}/${XORG_PN}-${PV}"
+
+inherit autotools pkgconfig
+
+do_stage() {
+ autotools_stage_all
+}