libidn2: update to 2.0.2

This commit is contained in:
Tom G. Christensen 2017-06-22 17:43:56 +02:00
parent 0e17ec33cc
commit bb83863010
5 changed files with 50 additions and 14032 deletions

View File

@ -6,12 +6,14 @@
###########################################################
# Check the following 4 variables before running the script
topdir=libidn2
version=0.11
version=2.0.2
pkgver=1
source[0]=http://www.mirrorservice.org/sites/alpha.gnu.org/gnu/libidn/$topdir-$version.tar.gz
#source[0]=libidn2-with-getopt-gnu-0.11.tar.gz
#source[0]=http://www.mirrorservice.org/sites/alpha.gnu.org/gnu/libidn/$topdir-$version.tar.gz
# Source bootstrapped on F24 with gnulib modules gettext-gnu
# and printf-posix added
source[0]=libidn2-2.0.2-tgcware.tar.gz
# If there are no patches, simply comment this
patch[0]=libidn2-0.11-add-getopt-gnu.patch
#patch[0]=
# Source function library
. ${BUILDPKG_SCRIPTS}/buildpkg.functions
@ -29,7 +31,7 @@ prep()
# Do not build examples
${__gsed} -i 's/examples//' Makefile.in
# No stdint.h on Solaris < 10
${__gsed} -i 's/stdint.h/inttypes.h/' idn2.h.in
${__gsed} -i 's/stdint.h/inttypes.h/' lib/idn2.h.in
}
reg build
@ -41,8 +43,6 @@ build()
reg check
check()
{
setdir source
${__gsed} -i '/^DEFAULT_INCLUDES/ s#.*#& -I../gl#' tests/Makefile.in
generic_check
}
@ -50,7 +50,8 @@ reg install
install()
{
generic_install DESTDIR
doc AUTHORS COPYING* NEWS README
doc AUTHORS COPYING* NEWS README.md
compat libidn2 0.11 1 1
}
reg pack

View File

@ -1,4 +1,7 @@
CHANGELOG
---------
* Wed Jun 21 2017 Tom G. Christensen <swpkg@jupiterrise.com> - 2.0.2-1
- Update to 2.0.2
* Sat Nov 26 2016 Tom G. Christensen <swpkg@jupiterrise.com> - 0.11-1
- Initial build

View File

@ -22,6 +22,7 @@ pkgver="$pkgver"
files(-,root,bin)
$_includedir
$_libdir/libidn2.so
$_libdir/pkgconfig/libidn2.pc
$_mandir/man3
$_sharedir/gtk-doc/html/libidn2

37
libidn2/meta/relnotes Normal file
View File

@ -0,0 +1,37 @@
PACKAGE DETAILS
---------------
Name: %%PKGNAME%%
Version: %%SOURCE_AND_VER%%
Vendor: %%VENDOR%%
Packager: %%PKGEDBY%%
Source (sha1sum):
%%SOURCE_SHA1SUM%%
BUILD DETAILS
-------------
Compiler:
%%COMPILER%%
Environment:
%%ENVIRONMENT%%
Configure:
%%CONFIGURE%%
KNOWN DEPENDENCIES
------------------
%%DEPENDENCIES%%
ERRORS/MISCELLANEOUS
--------------------
The upstream release will not build on Solaris < 10 out of the box as it
requires a GNU compatible getopt function and a printf function that
understands %zu.
To work around this the source was re-bootstrapped from the 2.0.2 release tag
with the getopt-gnu and printf-posix modules added to bootstrap.conf.
The bootstrap was done on a Fedora Core 24/x86_64 system and the resulting
source archive was used to build this package.
Note that to make libidn2 and programs using it actually do IDNA mapping
correctly you must be using a locale with support for UTF-8.

File diff suppressed because it is too large Load Diff