sylware / charfbuzz (public) (License: LGPLv3) (since 2019-09-09) (hash sha1)
partial C implementation of harfbuzz C API for roman scripts
List of commits:
Subject Hash Author Date (UTC)
option for glib code dd5d00201572cc6e957d523dc535ccab95d74dbd Sylvain BERTRAND 2016-10-26 10:31:54
0.9.30 API 21d9751191f219964c1259f595ae1fe597798ecf Sylvain BERTRAND 2015-12-22 03:56:17
make cleanup and some bash-ism removal c3c7c886bca4c42f3c55169dbba1234f4889431d Sylvain BERTRAND 2015-03-27 01:23:07
compatible with busybox ab23689d96ea773aef950ac6876deb23c98edf54 MihailZenkov 2014-02-05 22:05:22
build system fixes 3ab23b119cbf12638ba80c5c1fb74dfdcc0db4b5 Sylvain BERTRAND 2013-12-01 23:31:59
Initial commit 6b51dc44275fcd132e0cbeec5a9eb79ca532b201 Sylvain BERTRAND 2013-10-16 01:42:30
Commit dd5d00201572cc6e957d523dc535ccab95d74dbd - option for glib code
Author: Sylvain BERTRAND
Author date (UTC): 2016-10-26 10:31
Committer name: Sylvain BERTRAND
Committer date (UTC): 2016-10-26 10:31
Parent(s): 21d9751191f219964c1259f595ae1fe597798ecf
Signing key:
Tree: 81571a0fcb7f9f51180fed12b3ed0f8c881a4c8e
File Lines added Lines deleted
hb-glib.c 2 0
hb-glib.h 2 0
make 17 4
File hb-glib.c changed (mode: 100644) (index 96582d1..1468f24)
1 #ifdef HAVE_GLIB
1 2 /* /*
2 3 Port from c++ is protected by a GNU Lesser GPLv3 Port from c++ is protected by a GNU Lesser GPLv3
3 4 Copyright © 2013 Sylvain BERTRAND <sylvain.bertrand@gmail.com> Copyright © 2013 Sylvain BERTRAND <sylvain.bertrand@gmail.com>
 
... ... hb_unicode_funcs_t *hb_glib_get_unicode_funcs(void)
130 131 { {
131 132 return &hb_glib_unicode_funcs; return &hb_glib_unicode_funcs;
132 133 } }
134 #endif
File hb-glib.h changed (mode: 100644) (index 12c3e3b..a6b6ff8)
1 #ifdef HAVE_GLIB
1 2 /* /*
2 3 * Copyright © 2009 Red Hat, Inc. * Copyright © 2009 Red Hat, Inc.
3 4 * Copyright © 2011 Google, Inc. * Copyright © 2011 Google, Inc.
 
... ... hb_glib_blob_create (GBytes *gbytes);
53 54 HB_END_DECLS HB_END_DECLS
54 55
55 56 #endif /* HB_GLIB_H */ #endif /* HB_GLIB_H */
57 #endif /* HAVE_GLIB */
File make changed (mode: 100755) (index 93ec1ea..462c241)
... ... CMDLINE_SET="
127 127 $PATHS_LIST $PATHS_LIST
128 128 slib_cc slib_cc
129 129 slib_ccld slib_ccld
130 disable-glib
130 131 " "
131 132
132 133 #path defaults #path defaults
 
... ... pkg_config_sysroot=''
140 141 slib_cc_default='gcc -Wall -Wextra -Wno-missing-field-initializers -c -fpic -O0 -std=c90' slib_cc_default='gcc -Wall -Wextra -Wno-missing-field-initializers -c -fpic -O0 -std=c90'
141 142 slib_ccld_default="gcc -shared -Wl,-soname=$slib_soname" slib_ccld_default="gcc -shared -Wl,-soname=$slib_soname"
142 143 ln_s_default='ln -sf' ln_s_default='ln -sf'
144 disable_glib_default=no
143 145
144 146 set_default $PATHS_LIST set_default $PATHS_LIST
145 set_default slib_cc slib_ccld
147 set_default slib_cc slib_ccld disable_glib
146 148
147 149 show_help(){ show_help(){
148 150 cat <<EOF cat <<EOF
 
... ... Options: [defaults in brackets after descriptions]
157 159 Help options: Help options:
158 160 --help print this message --help print this message
159 161
162 Features:
163 --disable-glib disable glib support [glib support is enabled]
160 164
161 165 Path options for pkg-config file: Path options for pkg-config file:
162 166 --prefix=PREFIX install in PREFIX [$prefix_default] --prefix=PREFIX install in PREFIX [$prefix_default]
 
... ... for opt do
178 182 ;; ;;
179 183 --help|-h) show_help --help|-h) show_help
180 184 ;; ;;
185 --disable-glib) disable_glib=yes
186 ;;
181 187 *) *)
182 188 optname="${opt%%=*}" optname="${opt%%=*}"
183 189 optname="${optname#--}" optname="${optname#--}"
 
... ... if test -n "$pkg_config_sysroot"; then
198 204 export PKG_CONFIG_SYSROOT_DIR=$pkg_config_sysroot export PKG_CONFIG_SYSROOT_DIR=$pkg_config_sysroot
199 205 fi fi
200 206
201 CPPFLAGS="-I./ -I$src_path -DHAVE_GLIB \
202 $(pkg-config --cflags freetype2) \
203 $(pkg-config --cflags glib-2.0)
207 #-------------------------------------------------------------------------------
208 CPPFLAGS="-I./ -I$src_path \
209 $(pkg-config --cflags freetype2) \
204 210 " "
205 211
212 if test x$disable_glib = xno; then
213 CPPFLAGS="$CPPFLAGS -DHAVE_GLIB \
214 $(pkg-config --cflags glib-2.0) \
215 "
216 fi
217 #-------------------------------------------------------------------------------
218
206 219 #generate the version header file #generate the version header file
207 220 sed -e " sed -e "
208 221 s/@HB_VERSION_MAJOR@/$major/ s/@HB_VERSION_MAJOR@/$major/
Hints:
Before first commit, do not forget to setup your git environment:
git config --global user.name "your_name_here"
git config --global user.email "your@email_here"

Clone this repository using HTTP(S):
git clone https://rocketgit.com/user/sylware/charfbuzz

Clone this repository using ssh (do not forget to upload a key first):
git clone ssh://rocketgit@ssh.rocketgit.com/user/sylware/charfbuzz

Clone this repository using git:
git clone git://git.rocketgit.com/user/sylware/charfbuzz

You are allowed to anonymously push to this repository.
This means that your pushed commits will automatically be transformed into a merge request:
... clone the repository ...
... make some changes and some commits ...
git push origin main