Skip to content

Commit

Permalink
sombok-2.4.0 (untested)
Browse files Browse the repository at this point in the history
  • Loading branch information
fd00 committed Dec 8, 2016
1 parent 292d7e4 commit 06e5c08
Show file tree
Hide file tree
Showing 4 changed files with 65 additions and 47 deletions.
48 changes: 24 additions & 24 deletions sombok/README
Expand Up @@ -7,43 +7,42 @@ positions. This library also implements 'default' Grapheme Cluster
segmentation described in Annex #29 (UAX #29).

Runtime requirements:
cygwin-1.7.25-1
libdatrie-devel-0.2.6-1
libsombok-devel-2.3.1beta1-1bl1
libsombok3-2.3.1beta1-1bl1
libthai-devel-0.1.19-1
libthai0-0.1.19-1
cygwin-2.6.0-1
libsombok-devel-2.4.0-1bl1
libsombok3-2.4.0-1bl1
libthai0-0.1.21-1
pkg-config-0.29.1-1

Build requirements:
(besides corresponding -devel packages)
autoconf-13-1
automake-9-1
binutils-2.23.51-1
cygport-0.14.0-1
gcc-core-4.7.3-1
libtool-2.4-1
make-3.82.90-1
binutils-2.25-4
cygport-0.23.0-1
gcc-core-5.4.0-1
libtool-2.4.6-4
make-4.2.1-1

Canonical website:
http://sf.net/projects/linefold/

Canonical download:
mirror://sourceforge/linefold/sombok-2.3.1beta1.tar.gz
https://github.com/hatukanezumi/sombok/archive/sombok-2.4.0.tar.gz

-------------------------------------------

Build instructions:
unpack sombok-2.3.1beta1-X-src.tar.xz
if you use setup to install this src package, it will be
unpacked under /usr/src automatically
cd /usr/src
cygport ./sombok-2.3.1beta1-X.cygport all
1. unpack sombok-2.4.0-X-src.tar.xz
2. if you use setup to install this src package,
it will be unpacked under /usr/src automatically
% cd /usr/src
% cygport ./sombok-2.4.0-X.cygport all

This will create:
/usr/src/sombok-2.3.1beta1-X-src.tar.xz
/usr/src/sombok-2.3.1beta1-X.tar.xz
/usr/src/libsombok3-2.3.1beta1-X.tar.xz
/usr/src/libsombok-devel-2.3.1beta1-X.tar.xz
/usr/src/sombok-2.4.0-X-src.tar.xz
/usr/src/sombok-2.4.0-X.tar.xz
/usr/src/libsombok3-2.4.0-X.tar.xz
/usr/src/libsombok-devel-2.4.0-X.tar.xz

-------------------------------------------

Expand All @@ -52,8 +51,8 @@ Files included in the binary package:
(sombok)
/usr/share/doc/Cygwin/sombok.README
/usr/share/doc/sombok/AUTHORS
/usr/share/doc/sombok/ChangeLog
/usr/share/doc/sombok/COPYING
/usr/share/doc/sombok/ChangeLog
/usr/share/doc/sombok/NEWS
/usr/share/doc/sombok/README
/usr/share/doc/sombok/TODO
Expand All @@ -65,13 +64,15 @@ Files included in the binary package:
/usr/include/sombok.h
/usr/include/sombok_constants.h
/usr/lib/libsombok.dll.a
/usr/lib/libsombok.la
/usr/lib/pkgconfig/sombok.pc

------------------

Port Notes:

----- version 2.4.0-1bl1 -----
Version bump.

----- version 2.3.1beta1-1bl1 -----
Version bump.

Expand All @@ -89,4 +90,3 @@ Version bump.

----- version 2.0.5-1bl1 -----
Initial release for Cygwin-1.7 by fd0 <http://d.hatena.ne.jp/fd0>

22 changes: 0 additions & 22 deletions sombok/sombok-2.3.1beta1-1bl1.src.patch

This file was deleted.

@@ -1,5 +1,6 @@
HOMEPAGE="http://sf.net/projects/linefold/"
SRC_URI="mirror://sourceforge/linefold/${P}.tar.gz"
SRC_URI="https://github.com/hatukanezumi/${PN}/archive/${P}.tar.gz"
SRC_DIR="${PN}-${P}"

CATEGORY="Text"
SUMMARY="Unicode Text Segmentation Package"
Expand All @@ -13,6 +14,7 @@ CYGCONF_ARGS="
--disable-doc
"

# need https://github.com/hatukanezumi/sombok-test-data/tree/master
src_test()
{
cd ${B}
Expand Down
38 changes: 38 additions & 0 deletions sombok/sombok-2.4.0-1bl1.src.patch
@@ -0,0 +1,38 @@
--- origsrc/sombok-sombok-2.4.0/Makefile.am 2015-06-21 10:57:51.000000000 +0900
+++ src/sombok-sombok-2.4.0/Makefile.am 2016-12-08 18:28:44.738132400 +0900
@@ -5,8 +5,8 @@ libsombok_la_SOURCES = lib/break.c lib/c
if MALLOC_DEBUG
libsombok_la_SOURCES += src/mymalloc.c
endif
-libsombok_la_CFLAGS = -I. -Iinclude @LIBTHAI_CFLAGS@
-libsombok_la_LDFLAGS = -version-info 4:7:1 @LIBTHAI_LIBS@
+libsombok_la_CFLAGS = -I. -Iinclude -I$(srcdir)/include @LIBTHAI_CFLAGS@
+libsombok_la_LDFLAGS = -no-undefined -version-info 4:7:1 @LIBTHAI_LIBS@

include_HEADERS = include/sombok_constants.h
nodist_include_HEADERS = include/sombok.h
@@ -37,7 +37,7 @@ $(html_DATA): stamp-html
stamp-html: doc/doxyfile $(include_HEADERS) $(nodist_include_HEADERS) \
$(libsombok_la_SOURCES)
$(DOXYGEN) doc/doxyfile
- touch stamp-html
+ touch stamp-html
endif

EXTRA_DIST = sombok.spec debian/* \
@@ -47,4 +47,3 @@ EXTRA_DIST = sombok.spec debian/* \
data/*.custom data/Rules-*.txt data/LBCLASSES \
ARTISTIC ChangeLog.REL1 INSTALL.ja_JP README.ja_JP \
UNICODE VERSION
-
--- origsrc/sombok-sombok-2.4.0/configure.ac 2015-06-21 10:57:51.000000000 +0900
+++ src/sombok-sombok-2.4.0/configure.ac 2016-12-08 18:12:39.005167100 +0900
@@ -120,7 +120,7 @@ AC_ARG_WITH(unicode-version,
AC_HELP_STRING(--with-unicode-version=VERSION,
[version of Unicode Standard @<:@default=current version@:>@]),
UNICODE_VERSION=$withval,UNICODE_VERSION=$DEFAULT_UNICODE_VERSION)
-AC_CHECK_FILE([lib/$UNICODE_VERSION.c],
+AC_CHECK_FILE([${srcdir}/lib/$UNICODE_VERSION.c],
AC_MSG_RESULT($UNICODE_VERSION),
AC_MSG_ERROR(Unknown Unicode version $UNICODE_VERSION.))
AC_SUBST(UNICODE_VERSION)

0 comments on commit 06e5c08

Please sign in to comment.