From 81b970434fe1dd7423e507a528f15f10366549bd Mon Sep 17 00:00:00 2001 From: David Pirotte Date: Fri, 15 Jul 2016 19:43:29 -0300 Subject: [PATCH 11/11] Adding meta/guile-lib-1.0.pc * meta/guile-lib-1.0.pc.in: New file. * .gitignore: * Makefile.am: * configure.ac: Updated for the above. --- .gitignore | 1 + Makefile.am | 3 +++ configure.ac | 13 ++++++++----- meta/guile-lib-1.0.pc.in | 11 +++++++++++ 4 files changed, 23 insertions(+), 5 deletions(-) create mode 100644 meta/guile-lib-1.0.pc.in diff --git a/.gitignore b/.gitignore index 76a4aba..997b789 100644 --- a/.gitignore +++ b/.gitignore @@ -12,6 +12,7 @@ build-aux /configure /install-sh /missing +/meta/guile-lib-1.0.pc /doc/guile-library.info /doc/stamp-vti /doc/version.texi diff --git a/Makefile.am b/Makefile.am index 5c7ea91..286db5c 100644 --- a/Makefile.am +++ b/Makefile.am @@ -26,6 +26,7 @@ pkgconfigdir=$(libdir)/pkgconfig +pkgconfig_DATA=meta/guile-lib-1.0.pc SUBDIRS = \ src \ @@ -45,8 +46,10 @@ EXTRA_DIST = \ NEWS \ README \ dev-environ.in \ + meta/guile-lib-1.0.pc.in \ $(wildcard m4/*) + distclean-local: rm -f Makefile.in rm -f aclocal.m4 diff --git a/configure.ac b/configure.ac index 710ce5a..8adf02a 100644 --- a/configure.ac +++ b/configure.ac @@ -33,6 +33,9 @@ along with Guile-Lib. If not, see AC_PREREQ(2.69) +dnl let's bump the version to x.x.x-dev while working on the devel +dnl branch, so who ever uses it and/or run 'make dist' or 'make +dnl distcheck' are aware it is a wip version. AC_INIT( [guile-lib], [0.2.3-dev], @@ -55,11 +58,10 @@ AC_CONFIG_SRCDIR(src/md5.scm) AC_SUBST(ACLOCAL_FLAGS,$ACLOCAL_FLAGS) GUILE_PKG([2.2 2.0]) -dnl must be changed to 2.0.12 before to release it needs recent -dnl stable-2.0 texinfo patches so 'make check' pass. I'm using git so -dnl I have all these patches locally, however 2.0.11 distro would -dnl fail. -GUILE_PROGS([2.0.11]) +dnl although no change has been made to any module, we bumped the +dnl dependency version to 2.0.12 [or higher], because it has texinfo +dnl patches so 'make check' pass. +GUILE_PROGS([2.0.12]) GUILE_SITE_DIR GUILE_GLOBAL_SITE_DIR GUILE_SITE_CCACHE_DIR @@ -77,6 +79,7 @@ AC_CONFIG_FILES( [chmod +x dev-environ]) AC_CONFIG_FILES([ + meta/guile-lib-1.0.pc Makefile src/Makefile doc/Makefile diff --git a/meta/guile-lib-1.0.pc.in b/meta/guile-lib-1.0.pc.in new file mode 100644 index 0000000..7bf16b4 --- /dev/null +++ b/meta/guile-lib-1.0.pc.in @@ -0,0 +1,11 @@ +# Package Information for pkg-config + address@hidden@ address@hidden@ + +Name: Guile-Lib + +Description: Guile-lib, also known as Guile-Library, is a down-scaled, +limited-scope CPAN for Guile + +Version: @VERSION@ -- 2.8.1