Attachment 'libgxps-libarchive-workaround.patch'
Download 1 diff --git a/configure.ac b/configure.ac
2 index bb3f24d..31e4d26 100644
3 --- a/configure.ac
4 +++ b/configure.ac
5 @@ -73,9 +73,10 @@ PKG_CHECK_MODULES(GXPS,
6 gobject-2.0 >= $GLIB_REQUIRED
7 gio-2.0 >= $GLIB_REQUIRED
8 cairo >= $CAIRO_REQUIRED
9 - libarchive >= $LIBARCHIVE_REQUIRED
10 freetype2)
11
12 +GXPS_LIBS="$GXPS_LIBS -larchive"
13 +
14 AC_SUBST(GXPS_CFLAGS)
15 AC_SUBST(GXPS_LIBS)
16 AC_SUBST(GLIB_REQUIRED)
17 diff --git a/libgxps.pc.in b/libgxps.pc.in
18 index b0f0bca..22c2100 100644
19 --- a/libgxps.pc.in
20 +++ b/libgxps.pc.in
21 @@ -6,6 +6,6 @@ includedir=@includedir@
22 Name: libgxps
23 Description: XPS Documents library
24 Version: @VERSION@
25 -Requires: gio-2.0 >= @GLIB_REQUIRED@ libarchive >= @LIBARCHIVE_REQUIRED@ cairo >= @CAIRO_REQUIRED@ gobject-2.0 >= @GLIB_REQUIRED@
26 -Libs: -L${libdir} -lgxps
27 +Requires: gio-2.0 >= @GLIB_REQUIRED@ cairo >= @CAIRO_REQUIRED@ gobject-2.0 >= @GLIB_REQUIRED@
28 +Libs: -L${libdir} -lgxps -larchive
29 Cflags: -I${includedir}
Attached Files
To refer to attachments on a page, use attachment:filename, as shown below in the list of files. Do NOT use the URL of the [get] link, since this is subject to change and can break easily.You are not allowed to attach a file to this page.