diff options
author | Peter Volkov <pva@gentoo.org> | 2008-05-12 22:40:28 +0000 |
---|---|---|
committer | Peter Volkov <pva@gentoo.org> | 2008-05-12 22:40:28 +0000 |
commit | d10645c51c55789b8a6a9934bbe94ffc84b6e2c6 (patch) | |
tree | 38b6d52672ca8d4497c7c338a5c41ece667b26e9 /app-text | |
parent | Version bump. Removed runtime-depend on sys-devel/bison, bug 221597, thank Di... (diff) | |
download | historical-d10645c51c55789b8a6a9934bbe94ffc84b6e2c6.tar.gz historical-d10645c51c55789b8a6a9934bbe94ffc84b6e2c6.tar.bz2 historical-d10645c51c55789b8a6a9934bbe94ffc84b6e2c6.zip |
Version bump, bug #219811, thank András for report. Fixed libtool-2.x breakage, bug #220114, reported by Alessandro Guido. Removed very old ebuild.
Package-Manager: portage-2.1.4.4
Diffstat (limited to 'app-text')
-rw-r--r-- | app-text/hunspell/ChangeLog | 12 | ||||
-rw-r--r-- | app-text/hunspell/Manifest | 18 | ||||
-rw-r--r-- | app-text/hunspell/files/hunspell-1.2.2-libtool-2.22.patch | 16 | ||||
-rw-r--r-- | app-text/hunspell/files/hunspell-1.2.2-renameexes.patch | 115 | ||||
-rw-r--r-- | app-text/hunspell/hunspell-1.1.3.ebuild | 55 | ||||
-rw-r--r-- | app-text/hunspell/hunspell-1.2.2.ebuild | 80 |
6 files changed, 227 insertions, 69 deletions
diff --git a/app-text/hunspell/ChangeLog b/app-text/hunspell/ChangeLog index 0231e14ecfb3..90712770fa36 100644 --- a/app-text/hunspell/ChangeLog +++ b/app-text/hunspell/ChangeLog @@ -1,6 +1,16 @@ # ChangeLog for app-text/hunspell # Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/app-text/hunspell/ChangeLog,v 1.36 2008/03/12 12:51:52 phreak Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-text/hunspell/ChangeLog,v 1.37 2008/05/12 22:40:28 pva Exp $ + +*hunspell-1.2.2 (12 May 2008) + + 12 May 2008; Peter Volkov <pva@gentoo.org> + +files/hunspell-1.2.2-libtool-2.22.patch, + +files/hunspell-1.2.2-renameexes.patch, -hunspell-1.1.3.ebuild, + +hunspell-1.2.2.ebuild: + Version bump, bug #219811, thank András for report. Fixed libtool-2.x + breakage, bug #220114, reported by Alessandro Guido. Removed very old + ebuild. 12 Mar 2008; Christian Heim <phreak@gentoo.org> metadata.xml: Removing Kevin Quinn (kevquinn, #93689) from metadata.xml. diff --git a/app-text/hunspell/Manifest b/app-text/hunspell/Manifest index 303246539e8c..2290ef7f2ddf 100644 --- a/app-text/hunspell/Manifest +++ b/app-text/hunspell/Manifest @@ -1,30 +1,22 @@ ------BEGIN PGP SIGNED MESSAGE----- -Hash: SHA1 - AUX hunspell-1.1.3-renameexes.patch 4612 RMD160 e4dc3ab77daf10f63852aca121d07d777ed96cf6 SHA1 7ff89b2282f45434eb895be091dc46701a94460b SHA256 0386079314e941d443d57e650bd2aa84a63605ec2fadead474e576e7bb923939 AUX hunspell-1.1.4-gettext.patch 493 RMD160 b36cc4eb95431b9c9cf5faf3cd4d8a8a2fb4bdff SHA1 c09716fa32be6762c6431a4903f8e92485fc0afb SHA256 969693d95153bc4983cf7afe812d4d4f9b03068e2cb4e76df827bf37033860e6 AUX hunspell-1.1.4-libtool.patch 3865 RMD160 b87ea7a9a8d692313235678bd8239314c6b7e65f SHA1 cf4cb83f9a5e047c6b147155c8c765d31ee34393 SHA256 78fec5450650428c78785c405e289252473602e71848f88fa04c51e81f597b63 AUX hunspell-1.1.4-renameexes.patch 4615 RMD160 d987d3b2b83324f5da9fc0666aa97dc75fcd2005 SHA1 c04f8ed956d6910a8c821315832cefe20d8fec8e SHA256 91bdcb9bcbffeb11ff20fd09ac780b44af79d8be42be3163469d3c1c29649583 AUX hunspell-1.1.5-renameexes.patch 4706 RMD160 f3297e1b15b8ac53de646bac5625ca749e3b2614 SHA1 1e88a634b018ddd3a8e3dc84862b60c33e9ee05f SHA256 2878b37507245faaa486a12531fca2b6020359776e6013a9b3480e2ff69a9c0b +AUX hunspell-1.2.2-libtool-2.22.patch 334 RMD160 4c6ef9e82fa9b95372aace0ff63dc50e9a777a01 SHA1 ecac80a8cf229a80321d85d907bed8d7aa83416e SHA256 0d6f3107ecf11ecb18c4ddf9a539c41f8b89937df301a83628a6862f742d410c +AUX hunspell-1.2.2-renameexes.patch 3751 RMD160 2429424ecd90246c97e9414f2be7435f67705704 SHA1 a1e76bd5e6a4e21b3bf9c40bbd4ea2d51866fe43 SHA256 ff190919f954dd5314c2f5035d7a33796924316c775745df67c39d3bdfe2c5cc AUX hunspell-1.2.2b-renameexes.patch 4178 RMD160 8d99aef3daa09074dd367625bf72aa579f9886ad SHA1 51df548154964f90a289029f1283dde82a56fe1d SHA256 480e9066aae365abff497a9c81f92e564d193b13659ebba8506ed92299bab5cc -DIST hunspell-1.1.3.tar.gz 437469 RMD160 b04ed38e54b7773e805760906c5d242df1888d7c SHA1 5a006021180a9a8a61759cb02e43188ea5be50f2 SHA256 f49f648c3f1d22d54f11206734e88632a66547e6c20dfb08a2aa747e3f70d86e DIST hunspell-1.1.4.tar.gz 438667 RMD160 a90ded6b996d8b2d575268e8a4b025e92b85f378 SHA1 04251adfb351fe809756fc24ea56cd09ef2861a1 SHA256 8d39c03beb71ec1482d2fdbfc2d5b7690c8a70fb6da4885369752ee0d2e3a635 DIST hunspell-1.1.5-3.tar.gz 651729 RMD160 f41f69569239faa031d16f26f7684f703243eed6 SHA1 2c75f83cf0fd543b4b70f828cdb55cfc614773f5 SHA256 9d153295722e64fbf4da650c679f4e0884d11d66b7809382193118c0a6ef021e DIST hunspell-1.1.9.tar.gz 684426 RMD160 e49782df2ada58762036acc3c904a8ace6b19a0a SHA1 a881d9bc8bc6257c956c70c863e872514f8c44d4 SHA256 c36ed98189da373f3f24e7be97425454e6706cc3e0d07ff39f8c1bcd6689d543 +DIST hunspell-1.2.2.tar.gz 752046 RMD160 110c428f2b6734afefb8865dc3d63a4492594552 SHA1 521063ff64b2182e92e92f5355ae2cf396f39420 SHA256 8263a77b7cde9d853847ad040cf6c6857b0cf9bf4a0afebf3081935e0f58b49c DIST hunspell-1.2.2b.tar.gz 745643 RMD160 ec18944e259362d8b05e81c15cbfb8e1077cc293 SHA1 1ed31e328e57346d69a108e78e637780387443b3 SHA256 91a67974af4ee5cdfdcd0c0840009356aa3ce1b8d25820dc56c9a594684dad0e -EBUILD hunspell-1.1.3.ebuild 1705 RMD160 c9a9565193938800382613cc1cba12aefce19713 SHA1 e4a65269b9f7461e333ed1f5314459c444e84224 SHA256 1bc8ffe29137481ee3218dd3da38c4b71bbfe3637fa75cecbc6bcec63f13a3ee EBUILD hunspell-1.1.4-r1.ebuild 2324 RMD160 17eb80069ecc0223c468169827ecd05abe35ca4b SHA1 e96bffd308e90a9df1dce5c15a011be8ff100a8b SHA256 f0cdbbe0dab21aa64d6ff42438f358154538ea33417c9b6a6508e8991c1c9f1e EBUILD hunspell-1.1.4-r2.ebuild 2588 RMD160 99337418586f403b01415caf9e75478f0e575532 SHA1 b1c0dbe8d544add81f0d6394ff51c07e97f6ec36 SHA256 7947330adb215feeda1db03b0caf8fbd59acc250a424599a997d5eb428fedef6 EBUILD hunspell-1.1.4.ebuild 1887 RMD160 335609149954c6b73d95bddb0b2c20156011b3c6 SHA1 2a3591506c15a5407ddd935a1cdae951c286322b SHA256 78dad84fdece24da538d36c8df3076ea952e6f9e2ec81719e5bd0d8f7c7dc990 EBUILD hunspell-1.1.5.ebuild 2597 RMD160 ddcf13615863ea2af9b256cfd478287677ba37f0 SHA1 25558f3d82fbb36e4670d05986ed79e94b17af15 SHA256 653dc679342e9453f0553b2345c93b2b2debc6400a0b68be2599c806ef95c0f1 EBUILD hunspell-1.1.9.ebuild 2724 RMD160 ab5e368026bd87703fdf7c7a9b935dc7189894c3 SHA1 17538d6268bd3111cab1e351ef4522aef3adc252 SHA256 1e9316cb01a12aa439afd1805d70982a4cc30d127e68cb27f4d2c713f7c19c61 +EBUILD hunspell-1.2.2.ebuild 2660 RMD160 7c5adaee72297a0bfa45f1c4289ffab8ad8b3d20 SHA1 dc7753f6c1213c766985cfdb30ea598732ca7222 SHA256 bf1e189f8dfc094bc4e4efdb97e72c2f92aa5d089990a4c3e8a222619bee7762 EBUILD hunspell-1.2.2_beta.ebuild 2693 RMD160 4f33488d75b05e24a3b1b413d5b39ea6ee9e5173 SHA1 cbdcbd4c4fd3d0611c19000c84b318e7f7484921 SHA256 f2a01492278c3c923b5fc2d4e5ddd332c13251f3d495ab738fb27a657504ee1a -MISC ChangeLog 5037 RMD160 1dc123d030bc5ab00b16052f12e0605338dc14ca SHA1 8c54cc54498b83d34335dd684858925903600a55 SHA256 ece3831e3e94c5d1b8782f90f29eb020b7b4c6ed18d9ec525ec51a929a15e267 +MISC ChangeLog 5402 RMD160 328bfe5efabe35b1515c3dd470a1a91add3eaf7e SHA1 4b44e1fcee705c542d388bfaab27f9a3e110f2de SHA256 a6372988958334855019f30292a179e7e92766cf383b734228d3c42fd2dc933b MISC metadata.xml 163 RMD160 444608d5dce1eb9307c253140c5f6b011fcbece8 SHA1 87029f6d4a8e381a59cad5f8553f0e5163b11a7e SHA256 2a83bf864655c5acb5d551aeb9b060d57545fb7cf1dd9d7fcdc16fbca221cabb ------BEGIN PGP SIGNATURE----- -Version: GnuPG v2.0.7 (GNU/Linux) - -iD8DBQFH19HtyuNVb5qfaOYRAoRjAJ9P6mdXxQvGOWMq9+xf8BNRIMHAHQCglGak -tf0gvoYjCRNTq7bOG2x1uBI= -=1zk4 ------END PGP SIGNATURE----- diff --git a/app-text/hunspell/files/hunspell-1.2.2-libtool-2.22.patch b/app-text/hunspell/files/hunspell-1.2.2-libtool-2.22.patch new file mode 100644 index 000000000000..f5c44b5728ae --- /dev/null +++ b/app-text/hunspell/files/hunspell-1.2.2-libtool-2.22.patch @@ -0,0 +1,16 @@ +=== modified file 'configure.ac' +--- configure.ac 2008-05-04 18:40:59 +0000 ++++ configure.ac 2008-05-04 18:41:05 +0000 +@@ -15,11 +15,6 @@ + AC_SUBST(HUNSPELL_VERSION_MAJOR) + AC_SUBST(HUNSPELL_VERSION_MINOR) + +-# library version +-LT_CURRENT=1 +-LT_REVISION=0 +-LT_AGE=0 +- + AC_CONFIG_SRCDIR([config.h.in]) + AC_CONFIG_HEADER([config.h]) + + diff --git a/app-text/hunspell/files/hunspell-1.2.2-renameexes.patch b/app-text/hunspell/files/hunspell-1.2.2-renameexes.patch new file mode 100644 index 000000000000..17d65dc14232 --- /dev/null +++ b/app-text/hunspell/files/hunspell-1.2.2-renameexes.patch @@ -0,0 +1,115 @@ +=== modified file 'src/tools/Makefile.am' +--- src/tools/Makefile.am 2008-05-04 15:53:24 +0000 ++++ src/tools/Makefile.am 2008-05-04 15:55:45 +0000 +@@ -1,4 +1,4 @@ +-bin_PROGRAMS=analyze chmorph example hunspell munch unmunch hzip hunzip ++bin_PROGRAMS=hunspell-analyze hunspell-chmorph hunspell-example hunspell hunspell-munch hunspell-unmunch hzip hunzip + + INCLUDES=-I${top_srcdir}/src/hunspell -I${top_srcdir}/src/parsers + +@@ -6,23 +6,23 @@ + hunzip_SOURCES=hunzip.cxx + hunzip_LDADD = ../hunspell/libhunspell-1.2.la + +-munch_SOURCES=munch.c +-unmunch_SOURCES=unmunch.c ++hunspell_munch_SOURCES=munch.c ++hunspell_unmunch_SOURCES=unmunch.c + include_HEADERS=munch.h unmunch.h + +-example_SOURCES=example.cxx +-example_LDADD = ../hunspell/libhunspell-1.2.la ++hunspell_example_SOURCES=example.cxx ++hunspell_example_LDADD = ../hunspell/libhunspell-1.2.la + + hunspell_SOURCES=hunspell.cxx + hunspell_LDADD = @LIBINTL@ ../hunspell/libhunspell-1.2.la \ + ../parsers/libparsers.a @CURSESLIB@ @READLINELIB@ + +-analyze_SOURCES=analyze.cxx +-analyze_LDADD = ../hunspell/libhunspell-1.2.la +- +-chmorph_SOURCES=chmorph.cxx +-chmorph_LDADD = ../hunspell/libhunspell-1.2.la ../parsers/libparsers.a +- +-noinst_PROGRAMS=example ++hunspell_analyze_SOURCES=analyze.cxx ++hunspell_analyze_LDADD = ../hunspell/libhunspell-1.2.la ++ ++hunspell_chmorph_SOURCES=chmorph.cxx ++hunspell_chmorph_LDADD = ../hunspell/libhunspell-1.2.la ../parsers/libparsers.a ++ ++noinst_PROGRAMS=hunspell-example + + EXTRA_DIST=makealias affixcompress + +=== modified file 'src/tools/example.cxx' +--- src/tools/example.cxx 2008-05-04 15:53:24 +0000 ++++ src/tools/example.cxx 2008-05-04 15:54:12 +0000 +@@ -17,8 +17,8 @@ + /* first parse the command line options */ + + if (argc < 4) { +- fprintf(stderr,"example (now it works with more dictionary files):\n"); +- fprintf(stderr,"example affix_file dictionary_file(s) file_of_words_to_check\n"); ++ fprintf(stderr,"hunspell-example (now it works with more dictionary files):\n"); ++ fprintf(stderr,"hunspell-example affix_file dictionary_file(s) file_of_words_to_check\n"); + exit(1); + } + + +=== modified file 'src/tools/munch.c' +--- src/tools/munch.c 2008-05-04 15:53:24 +0000 ++++ src/tools/munch.c 2008-05-04 15:56:18 +0000 +@@ -42,14 +42,14 @@ + wf = mystrdup(argv[1]); + } else { + fprintf(stderr,"correct syntax is:\n"); +- fprintf(stderr,"munch word_list_file affix_file\n"); ++ fprintf(stderr,"hunspell-munch word_list_file affix_file\n"); + exit(1); + } + if (argv[2]) { + af = mystrdup(argv[2]); + } else { + fprintf(stderr,"correct syntax is:\n"); +- fprintf(stderr,"munch word_list_file affix_file\n"); ++ fprintf(stderr,"hunspell-munch word_list_file affix_file\n"); + exit(1); + } + + +=== modified file 'src/tools/unmunch.c' +--- src/tools/unmunch.c 2008-05-04 15:53:24 +0000 ++++ src/tools/unmunch.c 2008-05-04 15:56:39 +0000 +@@ -39,14 +39,14 @@ + wf = mystrdup(argv[1]); + } else { + fprintf(stderr,"correct syntax is:\n"); +- fprintf(stderr,"unmunch dic_file affix_file\n"); ++ fprintf(stderr,"hunspell-unmunch dic_file affix_file\n"); + exit(1); + } + if (argv[2]) { + af = mystrdup(argv[2]); + } else { + fprintf(stderr,"correct syntax is:\n"); +- fprintf(stderr,"unmunch dic_file affix_file\n"); ++ fprintf(stderr,"hunspell-unmunch dic_file affix_file\n"); + exit(1); + } + + +=== modified file 'tests/test.sh' +--- tests/test.sh 2008-05-04 15:53:24 +0000 ++++ tests/test.sh 2008-05-04 15:57:07 +0000 +@@ -34,7 +34,7 @@ + shopt -s expand_aliases + + alias hunspell='../src/tools/hunspell' +-alias analyze='../src/tools/analyze' ++alias analyze='../src/tools/hunspell-analyze' + + if [ "$VALGRIND" != "" ]; then + rm -f $TEMPDIR/test.pid* + diff --git a/app-text/hunspell/hunspell-1.1.3.ebuild b/app-text/hunspell/hunspell-1.1.3.ebuild deleted file mode 100644 index aa6ac73c2ac6..000000000000 --- a/app-text/hunspell/hunspell-1.1.3.ebuild +++ /dev/null @@ -1,55 +0,0 @@ -# Copyright 1999-2007 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/app-text/hunspell/hunspell-1.1.3.ebuild,v 1.2 2007/03/04 07:37:50 genone Exp $ - -inherit eutils multilib - -DESCRIPTION="Hunspell spell checker - an improved replacement for myspell in OOo." -SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz" -HOMEPAGE="http://hunspell.sourceforge.net/" - -SLOT="0" -LICENSE="MPL-1.1 GPL-2 LGPL-2.1" -IUSE="ncurses readline" -KEYWORDS="~x86" - -DEPEND="readline? ( sys-libs/readline ) - ncurses? ( sys-libs/ncurses ) - sys-devel/gettext" - -src_unpack() { - unpack ${A} - cd ${S} - sed -i -e 's:tail +:tail -n +:' ${S}/tests/test.sh ||\ - die "Failed to fix-up tail for POSIX compliance" - # Upstream package creates executables 'example', 'munch' - # and 'unmunch' which are too generic to be placed in - # /usr/bin - this patch prefixes them with 'hunspell-'. - # It modifies a Makefile.am file, hence autoreconf. - epatch ${FILESDIR}/hunspell-1.1.3-renameexes.patch - autoreconf -} - -src_compile() { - # I wanted to put the include files in /usr/include/hunspell - # but this means the openoffice build won't find them. - econf \ - $(use_with readline readline) \ - $(use_with ncurses ui) \ - || die "econf failed" - - emake || die "emake failed" -} - -src_install() { - emake DESTDIR=${D} install || die "emake install failed" - dodoc AUTHORS ChangeLog NEWS README THANKS TODO - # hunspell is derived from myspell - dodoc AUTHORS.myspell README.myspell license.myspell -} - -pkg_postinst() { - elog "To use this package you will also need a dictionary." - elog "Hunspell uses myspell format dictionaries; find them" - elog "in the app-dicts category as myspell-<LANG>." -} diff --git a/app-text/hunspell/hunspell-1.2.2.ebuild b/app-text/hunspell/hunspell-1.2.2.ebuild new file mode 100644 index 000000000000..6d5b9b614ad5 --- /dev/null +++ b/app-text/hunspell/hunspell-1.2.2.ebuild @@ -0,0 +1,80 @@ +# Copyright 1999-2008 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/app-text/hunspell/hunspell-1.2.2.ebuild,v 1.1 2008/05/12 22:40:28 pva Exp $ + +inherit eutils multilib autotools + +MY_P=${PN}-${PV/_beta/b} + +DESCRIPTION="Hunspell spell checker - an improved replacement for myspell in OOo." +SRC_URI="mirror://sourceforge/${PN}/${MY_P}.tar.gz" +HOMEPAGE="http://hunspell.sourceforge.net/" + +SLOT="0" +LICENSE="MPL-1.1 GPL-2 LGPL-2.1" +IUSE="ncurses readline" +KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86" + +DEPEND="readline? ( sys-libs/readline ) + ncurses? ( sys-libs/ncurses ) + sys-devel/gettext" +RDEPEND="${DEPEND}" + +S="${WORKDIR}/${MY_P}" + +src_unpack() { + unpack ${A} + cd "${S}" + sed -i -e 's:tail +:tail -n +:' "${S}"/tests/test.sh ||\ + die "Failed to fix-up tail for POSIX compliance" + + # Upstream package creates some executables which names are too generic + # to be placed in /usr/bin - this patch prefixes them with 'hunspell-'. + # It modifies a Makefile.am file, hence eautoreconf. + epatch "${FILESDIR}"/${P}-renameexes.patch + epatch "${FILESDIR}"/${P}-libtool-2.22.patch + + eautoreconf +} + +src_compile() { + # I wanted to put the include files in /usr/include/hunspell + # but this means the openoffice build won't find them. + econf \ + $(use_with readline readline) \ + $(use_with ncurses ui) \ + || die "econf failed" + + emake || die "emake failed" +} + +src_install() { + emake DESTDIR="${D}" install || die "emake install failed" + dodoc AUTHORS ChangeLog NEWS README THANKS TODO license.hunspell || die "installing docs failed" + # hunspell is derived from myspell + dodoc AUTHORS.myspell README.myspell license.myspell || die "installing myspell docs failed" + + # Upstream install has a few problems - rather than try to figure out + # what's broken in the build system, just fix things up manually. + + # These are included by hunspell.hxx, but aren't installed by the install + # script. + insinto /usr/include/hunspell/ + doins license.myspell license.hunspell config.h + + # These are in the wrong place. + mv "${D}"/usr/include/munch.h "${D}"/usr/include/hunspell/munch.h + mv "${D}"/usr/include/unmunch.h "${D}"/usr/include/hunspell/unmunch.h + + # Libraries include the version in their name, so make a sensible + # default symlink. They should probably be libhunspell.so.1.1 etc. + dodir /usr/$(get_libdir) + cd "${D}"/usr/$(get_libdir) + ln -s libhunspell-1.2.so.0.0.0 libhunspell.so +} + +pkg_postinst() { + elog "To use this package you will also need a dictionary." + elog "Hunspell uses myspell format dictionaries; find them" + elog "in the app-dicts category as myspell-<LANG>." +} |