From abce008a1e8c0b626599d82dc52c2c52abe3a7f6 Mon Sep 17 00:00:00 2001 From: Thomas Lin Pedersen Date: Wed, 8 Jan 2025 14:23:49 +0100 Subject: [PATCH] I'm lost for words --- {src => inst/src}/.gitignore | 0 inst/src/Makevars | 7 +++++++ {src => inst/src}/Makevars.in | 0 {src => inst/src}/Makevars.win | 0 {src => inst/src}/cache_lru.h | 0 {src => inst/src}/cpp11.cpp | 0 {src => inst/src}/face_feature.cpp | 0 {src => inst/src}/face_feature.h | 0 {src => inst/src}/hb_shaper.cpp | 0 {src => inst/src}/hb_shaper.h | 0 {src => inst/src}/init.cpp | 0 {src => inst/src}/string_bidi.cpp | 0 {src => inst/src}/string_bidi.h | 0 {src => inst/src}/string_metrics.cpp | 0 {src => inst/src}/string_metrics.h | 0 {src => inst/src}/string_shape.cpp | 0 {src => inst/src}/string_shape.h | 0 {src => inst/src}/utils.h | 0 18 files changed, 7 insertions(+) rename {src => inst/src}/.gitignore (100%) create mode 100644 inst/src/Makevars rename {src => inst/src}/Makevars.in (100%) rename {src => inst/src}/Makevars.win (100%) rename {src => inst/src}/cache_lru.h (100%) rename {src => inst/src}/cpp11.cpp (100%) rename {src => inst/src}/face_feature.cpp (100%) rename {src => inst/src}/face_feature.h (100%) rename {src => inst/src}/hb_shaper.cpp (100%) rename {src => inst/src}/hb_shaper.h (100%) rename {src => inst/src}/init.cpp (100%) rename {src => inst/src}/string_bidi.cpp (100%) rename {src => inst/src}/string_bidi.h (100%) rename {src => inst/src}/string_metrics.cpp (100%) rename {src => inst/src}/string_metrics.h (100%) rename {src => inst/src}/string_shape.cpp (100%) rename {src => inst/src}/string_shape.h (100%) rename {src => inst/src}/utils.h (100%) diff --git a/src/.gitignore b/inst/src/.gitignore similarity index 100% rename from src/.gitignore rename to inst/src/.gitignore diff --git a/inst/src/Makevars b/inst/src/Makevars new file mode 100644 index 0000000..0c668c3 --- /dev/null +++ b/inst/src/Makevars @@ -0,0 +1,7 @@ +PKG_CPPFLAGS = -DNDEBUG -I/opt/homebrew/Cellar/harfbuzz/10.1.0/include/harfbuzz -I/opt/homebrew/Cellar/glib/2.82.4/include/glib-2.0 -I/opt/homebrew/Cellar/glib/2.82.4/lib/glib-2.0/include -I/opt/homebrew/opt/gettext/include -I/opt/homebrew/Cellar/pcre2/10.44/include -I/opt/homebrew/Cellar/graphite2/1.3.14/include -I/opt/homebrew/opt/freetype/include/freetype2 -I/opt/homebrew/opt/libpng/include/libpng16 -I/opt/homebrew/Cellar/fribidi/1.0.16/include/fribidi -DFRIBIDI_LIB_STATIC +PKG_LIBS = -L/opt/homebrew/Cellar/harfbuzz/10.1.0/lib -lharfbuzz -lm -framework ApplicationServices -L/opt/homebrew/Cellar/glib/2.82.4/lib -lglib-2.0 -L/opt/homebrew/opt/gettext/lib -lintl -liconv -lm -framework Foundation -framework CoreFoundation -framework AppKit -framework Carbon -L/opt/homebrew/Cellar/pcre2/10.44/lib -lpcre2-8 -D_THREAD_SAFE -pthread -L/opt/homebrew/Cellar/graphite2/1.3.14/lib -lgraphite2 -L/opt/homebrew/opt/freetype/lib -lfreetype -lbz2 -L/opt/homebrew/opt/libpng/lib -lpng16 -lz -L/opt/homebrew/Cellar/fribidi/1.0.16/lib -lfribidi + +all: clean + +clean: + rm -f $(SHLIB) $(OBJECTS) diff --git a/src/Makevars.in b/inst/src/Makevars.in similarity index 100% rename from src/Makevars.in rename to inst/src/Makevars.in diff --git a/src/Makevars.win b/inst/src/Makevars.win similarity index 100% rename from src/Makevars.win rename to inst/src/Makevars.win diff --git a/src/cache_lru.h b/inst/src/cache_lru.h similarity index 100% rename from src/cache_lru.h rename to inst/src/cache_lru.h diff --git a/src/cpp11.cpp b/inst/src/cpp11.cpp similarity index 100% rename from src/cpp11.cpp rename to inst/src/cpp11.cpp diff --git a/src/face_feature.cpp b/inst/src/face_feature.cpp similarity index 100% rename from src/face_feature.cpp rename to inst/src/face_feature.cpp diff --git a/src/face_feature.h b/inst/src/face_feature.h similarity index 100% rename from src/face_feature.h rename to inst/src/face_feature.h diff --git a/src/hb_shaper.cpp b/inst/src/hb_shaper.cpp similarity index 100% rename from src/hb_shaper.cpp rename to inst/src/hb_shaper.cpp diff --git a/src/hb_shaper.h b/inst/src/hb_shaper.h similarity index 100% rename from src/hb_shaper.h rename to inst/src/hb_shaper.h diff --git a/src/init.cpp b/inst/src/init.cpp similarity index 100% rename from src/init.cpp rename to inst/src/init.cpp diff --git a/src/string_bidi.cpp b/inst/src/string_bidi.cpp similarity index 100% rename from src/string_bidi.cpp rename to inst/src/string_bidi.cpp diff --git a/src/string_bidi.h b/inst/src/string_bidi.h similarity index 100% rename from src/string_bidi.h rename to inst/src/string_bidi.h diff --git a/src/string_metrics.cpp b/inst/src/string_metrics.cpp similarity index 100% rename from src/string_metrics.cpp rename to inst/src/string_metrics.cpp diff --git a/src/string_metrics.h b/inst/src/string_metrics.h similarity index 100% rename from src/string_metrics.h rename to inst/src/string_metrics.h diff --git a/src/string_shape.cpp b/inst/src/string_shape.cpp similarity index 100% rename from src/string_shape.cpp rename to inst/src/string_shape.cpp diff --git a/src/string_shape.h b/inst/src/string_shape.h similarity index 100% rename from src/string_shape.h rename to inst/src/string_shape.h diff --git a/src/utils.h b/inst/src/utils.h similarity index 100% rename from src/utils.h rename to inst/src/utils.h