Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
23 changes: 14 additions & 9 deletions bstring/README
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ This is a fork of Paul Hsiehs Better String Library.

Runtime requirements:
cygwin-3.3.2-1
libbstring-devel-1.0.2-1bl1
libbstring0-1.0.2-1bl1
libbstring-devel-1.1.0-1bl1
libbstring0-1.1.0-1bl1
pkg-config-1.6.3-1

Build requirements:
Expand All @@ -20,22 +20,22 @@ Canonical website:
https://github.com/msteinert/bstring

Canonical download:
https://github.com/msteinert/bstring/archive/refs/tags/v1.0.3.tar.gz
https://github.com/msteinert/bstring/archive/refs/tags/v1.1.0.tar.gz

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

Build instructions:
1. unpack bstring-1.0.3-X-src.tar.xz
1. unpack bstring-1.1.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 ./bstring-1.0.3-X.cygport all
% cygport ./bstring-1.1.0-X.cygport all

This will create:
/usr/src/bstring-1.0.3-X-src.tar.xz
/usr/src/bstring-1.0.3-X.tar.xz
/usr/src/libbstring0-1.0.3-X.tar.xz
/usr/src/libbstring-devel-1.0.3-X.tar.xz
/usr/src/bstring-1.1.0-X-src.tar.xz
/usr/src/bstring-1.1.0-X.tar.xz
/usr/src/libbstring0-1.1.0-X.tar.xz
/usr/src/libbstring-devel-1.1.0-X.tar.xz

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

Expand All @@ -56,13 +56,18 @@ Files included in the binary package:
(libbstring-devel)
/usr/include/bstring/bstraux.h
/usr/include/bstring/bstrlib.h
/usr/include/bstring/buniutil.h
/usr/include/bstring/utf8util.h
/usr/lib/libbstring.dll.a
/usr/lib/pkgconfig/bstring.pc

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

Port Notes:

----- version 1.1.0-1bl1 -----
Bump to 1.1.0 by rdmark

----- version 1.0.3-1bl1 -----
Bump to 1.0.3 by rdmark

Expand Down
41 changes: 0 additions & 41 deletions bstring/bstring-1.0.3-1bl1.cygport

This file was deleted.

53 changes: 53 additions & 0 deletions bstring/bstring-1.1.0-1bl1.cygport
Original file line number Diff line number Diff line change
@@ -0,0 +1,53 @@
HOMEPAGE="https://github.com/msteinert/${PN}"
SRC_URI="https://github.com/msteinert/${PN}/archive/refs/tags/v${PV}.tar.gz"

CATEGORY="Libs"
SUMMARY="fork of Paul Hsieh's Better String Library"
DESCRIPTION="The Better String Library is an abstraction of a string data type which is
superior to the C library char buffer string type. Among the features achieved are:
* Substantial mitigation of buffer overflow/overrun problems and other
failures that result from erroneous usage of the common C string library
functions
* Significantly simplified string manipulation
* High performance interoperability with other source/libraries which expect
'\0' terminated char buffers
* Improved overall performance of common string operations
* Functional equivalency with other more modern languages"

LICENSE="BSD-3-Clause"
LICENSE_SPDX="SPDX-License-Identifier: BSD-3-Clause"
LICENSE_URI="COPYING"

inherit meson

CYGMESON_ARGS="
-Denable-bgets-workaround=false
-Denable-docs=false
-Denable-fuzzing=false
-Denable-old-api=true
-Denable-tests=false
-Denable-utf8=true
"

DOCS="
doc/*.md
"

PKG_NAMES="
${PN}
lib${PN}1
lib${PN}-devel
"
bstring_CONTENTS="
usr/share
"
libbstring1_CONTENTS="
usr/bin
"
libbstring_devel_CONTENTS="
usr/include
usr/lib
"
bstring_SUMMARY="${SUMMARY} (licensing & readmes)"
libbstring1_SUMMARY="${SUMMARY} (runtime)"
libbstring_devel_SUMMARY="${SUMMARY} (development)"