some pkgconfig hacks to make things somewhat work
authorEric Andersen <andersen@codepoet.org>
Sun, 14 Jan 2007 23:25:05 +0000 (23:25 -0000)
committerEric Andersen <andersen@codepoet.org>
Sun, 14 Jan 2007 23:25:05 +0000 (23:25 -0000)
package/cairo/cairo.mk
package/xorg/kbproto.pc [new file with mode: 0644]
package/xorg/x11.pc [new file with mode: 0644]
package/xorg/xau.pc [new file with mode: 0644]
package/xorg/xdmcp.pc [new file with mode: 0644]
package/xorg/xext.pc [new file with mode: 0644]
package/xorg/xextproto.pc [new file with mode: 0644]
package/xorg/xinerama.pc [new file with mode: 0644]
package/xorg/xorg.mk
package/xorg/xproto.pc [new file with mode: 0644]
package/xorg/xrandr.pc [new file with mode: 0644]

index 7259c296a438fb86e4c47cd220398c83dcd718d6..523c51acbef7e8949ad43a1d63c86b0e898da602 100644 (file)
@@ -126,8 +126,6 @@ $(CAIRO_DIR)/src/.libs/$(CAIRO_BINARY): $(CAIRO_DIR)/.configured
 $(STAGING_DIR)/lib/$(CAIRO_BINARY): $(CAIRO_DIR)/src/.libs/$(CAIRO_BINARY)
        $(MAKE) DESTDIR=$(STAGING_DIR) -C $(CAIRO_DIR) install;
        $(SED) "s,^libdir=.*,libdir=\'$(STAGING_DIR)/lib\',g" $(STAGING_DIR)/lib/libcairo.la
-       $(SED) "s, x11 ,,g" $(STAGING_DIR)/lib/pkgconfig/cairo.pc
-       $(SED) "s, x11 ,,g" $(STAGING_DIR)/lib/pkgconfig/cairo-xlib.pc
        touch -c $(STAGING_DIR)/lib/$(CAIRO_BINARY)
 
 $(TARGET_DIR)/lib/libcairo.so.2.9.3: $(STAGING_DIR)/lib/$(CAIRO_BINARY)
diff --git a/package/xorg/kbproto.pc b/package/xorg/kbproto.pc
new file mode 100644 (file)
index 0000000..7ce28ed
--- /dev/null
@@ -0,0 +1,9 @@
+prefix=/usr
+exec_prefix=${prefix}
+libdir=${exec_prefix}/lib
+includedir=${prefix}/include
+Name: KBProto
+Description: KB extension headers
+Version: 1.0.3
+Cflags: -I${includedir}
diff --git a/package/xorg/x11.pc b/package/xorg/x11.pc
new file mode 100644 (file)
index 0000000..c086ecc
--- /dev/null
@@ -0,0 +1,15 @@
+prefix=/usr
+exec_prefix=${prefix}
+libdir=${exec_prefix}/lib
+includedir=${prefix}/include
+
+xthreadlib=-lpthread
+
+Name: X11
+Description: X Library
+Version: 1.0.3
+Requires: xproto kbproto
+Requires.private: xau xdmcp
+Cflags: -I${includedir} 
+Libs: -L${libdir} -lX11
+Libs.private: -lpthread
diff --git a/package/xorg/xau.pc b/package/xorg/xau.pc
new file mode 100644 (file)
index 0000000..618581d
--- /dev/null
@@ -0,0 +1,11 @@
+prefix=/usr
+exec_prefix=${prefix}
+libdir=${exec_prefix}/lib
+includedir=${prefix}/include
+
+Name: Xau
+Description: X authorization file management libary
+Version: 1.0.1
+Requires: xproto
+Cflags: -I${includedir}
+Libs: -L${libdir} -lXau
diff --git a/package/xorg/xdmcp.pc b/package/xorg/xdmcp.pc
new file mode 100644 (file)
index 0000000..dbdf2ae
--- /dev/null
@@ -0,0 +1,11 @@
+prefix=/usr
+exec_prefix=${prefix}
+libdir=${exec_prefix}/lib
+includedir=${prefix}/include
+
+Name: Xdmcp
+Description: X Display Manager Control Protocol library
+Version: 1.0.1
+Requires: xproto
+Cflags: -I${includedir}
+Libs: -L${libdir} -lXdmcp
diff --git a/package/xorg/xext.pc b/package/xorg/xext.pc
new file mode 100644 (file)
index 0000000..8b1799c
--- /dev/null
@@ -0,0 +1,12 @@
+prefix=/usr
+exec_prefix=${prefix}
+libdir=${exec_prefix}/lib
+includedir=${prefix}/include
+
+Name: Xext
+Description: Misc X Extension Library
+Version: 1.0.1
+Requires: xextproto
+Requires.private: x11 xau
+Cflags: -I${includedir}
+Libs: -L${libdir} -lXext
diff --git a/package/xorg/xextproto.pc b/package/xorg/xextproto.pc
new file mode 100644 (file)
index 0000000..adc0cf4
--- /dev/null
@@ -0,0 +1,9 @@
+prefix=/usr
+exec_prefix=${prefix}
+libdir=${exec_prefix}/lib
+includedir=${prefix}/include
+Name: XExtProto
+Description: XExt extension headers
+Version: 7.0.2
+Cflags: -I${includedir}
diff --git a/package/xorg/xinerama.pc b/package/xorg/xinerama.pc
new file mode 100644 (file)
index 0000000..8c3af1a
--- /dev/null
@@ -0,0 +1,12 @@
+prefix=/usr
+exec_prefix=${prefix}
+libdir=${exec_prefix}/lib
+includedir=${prefix}/include
+
+Name: Xinerama
+Description: The Xinerama Library
+Version: 1.0.1
+Requires: xineramaproto
+Requires.private: x11 xext
+Cflags: -I${includedir}
+Libs: -L${libdir} -lXinerama
index 3f913458a75e7efdc99eec6f539c9d3f3a5bc78b..9f659c9da0a518fe4b3f18c4a9b814952958cbce 100644 (file)
@@ -105,6 +105,11 @@ $(STAGING_DIR)$(TARGET_LIBX)/libX11.so.6.2: $(XORG_XSERVER)
        ln -fs ../../lib $(STAGING_DIR)$(TARGET_LIBX)
        ( cd $(XORG_DIR); $(MAKE) \
                DESTDIR=$(STAGING_DIR) install XCURSORGEN=xcursorgen MKFONTSCALE=mkfontscale )
+       cp package/xorg/x11.pc package/xorg/xext.pc \
+               package/xorg/xproto.pc package/xorg/kbproto.pc \
+               package/xorg/xau.pc package/xorg/xdmcp.pc \
+               package/xorg/xextproto.pc package/xorg/xrandr.pc \
+               package/xorg/xinerama.pc $(STAGING_DIR)/lib/pkgconfig
        touch -c $(STAGING_DIR)$(TARGET_LIBX)/libX11.so.6.2
 
 $(TARGET_XSERVER): $(XORG_XSERVER)
diff --git a/package/xorg/xproto.pc b/package/xorg/xproto.pc
new file mode 100644 (file)
index 0000000..2545927
--- /dev/null
@@ -0,0 +1,10 @@
+prefix=/usr
+exec_prefix=${prefix}
+libdir=${exec_prefix}/lib
+includedir=${prefix}/include
+includex11dir=${prefix}/include/X11
+Name: Xproto
+Description: Xproto headers
+Version: 7.0.7
+Cflags: -I${includedir}
diff --git a/package/xorg/xrandr.pc b/package/xorg/xrandr.pc
new file mode 100644 (file)
index 0000000..db98098
--- /dev/null
@@ -0,0 +1,12 @@
+prefix=/usr
+exec_prefix=${prefix}
+libdir=${exec_prefix}/lib
+includedir=${prefix}/include
+
+Name: Xrandr
+Description: X RandR Library
+Version: 1.1.1
+Requires: xproto randrproto >= 1.1
+Requires.private: x11 xext xrender
+Cflags: -I${includedir}
+Libs: -L${libdir} -lXrandr