[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

[hunspell] 25/98: Imported Debian patch 1.1.4-8



This is an automated email from the git hooks/post-receive script.

rene pushed a commit to branch master
in repository hunspell.

commit 708bfad8a8291c9349a05b02f8bfe3ebfd50959e
Author: Rene Engelhard <rene@debian.org>
Date:   Wed Feb 21 19:33:31 2007 +0100

    Imported Debian patch 1.1.4-8
---
 debian/changelog                    |  6 ++++
 debian/libhunspell-dev.install      |  1 +
 debian/patches/00list               |  1 +
 debian/patches/10_pkg-config.dpatch | 56 +++++++++++++++++++++++++++++++++++++
 4 files changed, 64 insertions(+)

diff --git a/debian/changelog b/debian/changelog
index 974becb..555244c 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,9 @@
+hunspell (1.1.4-8) experimental; urgency=low
+
+  * add pkg-config file 
+
+ -- Rene Engelhard <rene@debian.org>  Wed, 21 Feb 2007 19:33:31 +0100
+
 hunspell (1.1.4-7) experimental; urgency=low
 
   * fix 02_usr_share_myspell_dicts.dpatch to not define
diff --git a/debian/libhunspell-dev.install b/debian/libhunspell-dev.install
index 7ec8e14..e24d86b 100644
--- a/debian/libhunspell-dev.install
+++ b/debian/libhunspell-dev.install
@@ -1,3 +1,4 @@
 debian/tmp/usr/lib/*.so
 debian/tmp/usr/lib/*.a
 debian/tmp/usr/include
+debian/tmp/usr/lib/pkgconfig
diff --git a/debian/patches/00list b/debian/patches/00list
index 7bbe759..3e6175a 100644
--- a/debian/patches/00list
+++ b/debian/patches/00list
@@ -5,4 +5,5 @@
 06_remove-XFAILED
 08_tail
 09_shared_libs
+10_pkg-config
 99_build_stuff
diff --git a/debian/patches/10_pkg-config.dpatch b/debian/patches/10_pkg-config.dpatch
new file mode 100644
index 0000000..a5865e6
--- /dev/null
+++ b/debian/patches/10_pkg-config.dpatch
@@ -0,0 +1,56 @@
+#! /bin/sh /usr/share/dpatch/dpatch-run
+## 10_pkg-config.dpatch by  <rene@debian.org>
+##
+## All lines beginning with `## DP:' are a description of the patch.
+## DP: No description.
+
+@DPATCH@
+diff -urNad hunspell-1.1.4~/Makefile.am hunspell-1.1.4/Makefile.am
+--- hunspell-1.1.4~/Makefile.am	2007-01-18 14:46:45.000000000 +0100
++++ hunspell-1.1.4/Makefile.am	2007-01-18 14:46:51.000000000 +0100
+@@ -2,5 +2,8 @@
+ 
+ SUBDIRS= intl po src man m4 tests
+ 
++pkgconfdir = $(libdir)/pkgconfig
++pkgconf_DATA = hunspell.pc
++
+ EXTRA_DIST = BUGS README.myspell AUTHORS.myspell license.myspell license.hunspell \
+-        ChangeLog.O COPYING.MPL COPYING.LGPL
++        ChangeLog.O COPYING.MPL COPYING.LGPL hunspell.pc.in
+diff -urNad hunspell-1.1.4~/configure.ac hunspell-1.1.4/configure.ac
+--- hunspell-1.1.4~/configure.ac	2007-01-18 14:46:50.000000000 +0100
++++ hunspell-1.1.4/configure.ac	2007-01-18 14:49:06.000000000 +0100
+@@ -11,6 +11,10 @@
+ AC_SUBST(XFAILED)
+ 
+ AM_INIT_AUTOMAKE(hunspell, 1.1.4)
++HUNSPELL_VERSION_MAJOR=`echo $VERSION | cut -d"." -f1`
++HUNSPELL_VERSION_MINOR=`echo $VERSION | cut -d"." -f2`
++AC_SUBST(HUNSPELL_VERSION_MAJOR)
++AC_SUBST(HUNSPELL_VERSION_MINOR)
+ 
+ AC_CONFIG_SRCDIR([config.h.in])
+ AC_CONFIG_HEADER([config.h])
+@@ -79,6 +83,7 @@
+ AC_SUBST(READLINELIB)
+ 
+ AC_CONFIG_FILES([Makefile
++		 hunspell.pc
+                  man/Makefile
+                  man/hu/Makefile
+                  intl/Makefile
+diff -urNad hunspell-1.1.4~/hunspell.pc.in hunspell-1.1.4/hunspell.pc.in
+--- hunspell-1.1.4~/hunspell.pc.in	1970-01-01 01:00:00.000000000 +0100
++++ hunspell-1.1.4/hunspell.pc.in	2007-01-18 14:50:45.000000000 +0100
+@@ -0,0 +1,10 @@
++prefix=@prefix@
++exec_prefix=${prefix}
++libdir=${prefix}/lib
++includedir=${prefix}/include
++
++Name: hunspell
++Description: Hunpell spellchecking library
++Version: @VERSION@
++Libs: -L${libdir} -lhunspell-@HUNSPELL_VERSION_MAJOR@.@HUNSPELL_VERSION_MINOR@
++Cflags: -I${includedir}/hunspell

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-openoffice/hunspell.git


Reply to: