diff --git a/system/devel/xcb-proto/actions.py b/system/devel/xcb-proto/actions.py index 730482be..28f7e453 100644 --- a/system/devel/xcb-proto/actions.py +++ b/system/devel/xcb-proto/actions.py @@ -10,8 +10,13 @@ from pisi.actionsapi import get def setup(): shelltools.export("PYTHON","/usr/bin/python3") + + pisitools.dosed("Makefile.in", "$(datarootdir)/pkgconfig", "$(libdir)/pkgconfig") + pisitools.dosed("Makefile.am", "$(datarootdir)/pkgconfig", "$(libdir)/pkgconfig") autotools.autoreconf("-vif") + + #pisitools.dosed("Makefile", "pkgconfigdir = $(datarootdir)/pkgconfig", "pkgconfigdir = $(libdir)/pkgconfig") autotools.configure() def build(): diff --git a/system/devel/xcb-proto/files/pkgconfig.patch b/system/devel/xcb-proto/files/pkgconfig.patch new file mode 100644 index 00000000..2f5c456b --- /dev/null +++ b/system/devel/xcb-proto/files/pkgconfig.patch @@ -0,0 +1,23 @@ +diff -Nuar a/Makefile.am b/Makefile.am +--- a/Makefile.am 2022-06-18 17:23:00.054397141 +0300 ++++ b/Makefile.am 2022-06-18 17:24:02.238392654 +0300 +@@ -1,6 +1,6 @@ + SUBDIRS = src xcbgen + +-pkgconfigdir = $(datarootdir)/pkgconfig ++pkgconfigdir = $(libdir)/pkgconfig + pkgconfig_DATA = xcb-proto.pc + + EXTRA_DIST=doc xcb-proto.pc.in autogen.sh README.md +diff -Nuar a/Makefile.in b/Makefile.in +--- a/Makefile.in 2022-06-18 17:23:14.143396124 +0300 ++++ b/Makefile.in 2022-06-18 17:24:27.928390800 +0300 +@@ -313,7 +313,7 @@ + top_srcdir = @top_srcdir@ + xcbincludedir = @xcbincludedir@ + SUBDIRS = src xcbgen +-pkgconfigdir = $(datarootdir)/pkgconfig ++pkgconfigdir = $(libdir)/pkgconfig + pkgconfig_DATA = xcb-proto.pc + EXTRA_DIST = doc xcb-proto.pc.in autogen.sh README.md + all: all-recursive diff --git a/system/devel/xcb-proto/pspec.xml b/system/devel/xcb-proto/pspec.xml index 0e827d4b..01813fc5 100644 --- a/system/devel/xcb-proto/pspec.xml +++ b/system/devel/xcb-proto/pspec.xml @@ -12,11 +12,14 @@ data XCB protocol descriptions XCB is a project to enable efficient language bindings to the X11 protocol. This package contains the protocol descriptions themselves. Language bindings use these protocol descriptions to generate code for marshalling the protocol. - https://xorg.freedesktop.org/archive/individual/proto/xcb-proto-1.15.tar.xz + https://xorg.freedesktop.org/archive/individual/proto/xcb-proto-1.15.2.tar.xz libxml2-devel python3-devel + + pkgconfig.patch + @@ -30,6 +33,13 @@ + + 2022-06-18 + 1.15.2 + Version bump. + Mustafa Cinasal + muscnsl@gmail.com + 2022-05-04 1.15