The Birdfont Source Code


All Repositories / birdfont.git / commit – RSS feed

Drop Android build script

These changes was commited to the Birdfont repository Wed, 07 Nov 2018 19:01:31 +0000.

Contributing

Send patches or pull requests to johan.mattsson.m@gmail.com.
Clone this repository: git clone https://github.com/johanmattssonm/birdfont.git
author Johan Mattsson <johan.mattsson.m@gmail.com>
Wed, 07 Nov 2018 19:01:31 +0000 (20:01 +0100)
committer Johan Mattsson <johan.mattsson.m@gmail.com>
Wed, 07 Nov 2018 19:01:31 +0000 (20:01 +0100)
commit df8bb9af10b1f1e8fd0594104f69be1d0e2e69b1
tree 116629043cb8768c3534366a437ebcbb35e78c35
parent 1558751cd37d8615415ed824cfae93451fc108b0
Drop Android build script

scripts/AndroidBirdFont.mk [deleted ]
scripts/AndroidBirdGems.mk [deleted ]
scripts/AndroidBirdXml.mk [deleted ]
scripts/Application.mk [deleted ]
scripts/android_build.py [deleted ]
diff --git scripts/AndroidBirdFont.mk(deleted)
--- a/scripts/AndroidBirdFont.mk +++ /dev/null @@ -1,47 +1,1 @@ - LOCAL_PATH := $(call my-dir) - - include $(CLEAR_VARS) - - LOCAL_MODULE := birdfont - - LOCAL_CFLAGS := -D 'GETTEXT_PACKAGE="birdfont"' - LOCAL_CFLAGS += -Wno-missing-field-initializers - LOCAL_CFLAGS += -I $(LOCAL_PATH) - LOCAL_CFLAGS += -I ../../libbirdxml - LOCAL_CFLAGS += -I ../../libbirdgems - LOCAL_CFLAGS += -I /opt/android/include - LOCAL_CFLAGS += -I /opt/android/include/glib-2.0 - LOCAL_CFLAGS += -I /opt/android/lib/glib-2.0/include - LOCAL_CFLAGS += -I /opt/android/include/gee-1.0 - LOCAL_CFLAGS += -I /opt/android/include/freetype - LOCAL_CFLAGS += -I /opt/android/include/cairo - - - #FIXME: $(TARGET_ARCH_ABI) - - LOCAL_LDLIBS += /opt/android/lib/libsqlite.a - LOCAL_LDLIBS += -L/opt/android/lib - LOCAL_LDLIBS += -ljava-bitmap - LOCAL_LDLIBS += -lgee - LOCAL_LDLIBS += -lft2 - LOCAL_LDLIBS += -lglib-2.0 - LOCAL_LDLIBS += -lgio-2.0 - LOCAL_LDLIBS += -lintl - LOCAL_LDLIBS += -liconv - LOCAL_LDLIBS += -lgobject-2.0 - - LOCAL_LDLIBS += -lm - LOCAL_LDLIBS += -lc - LOCAL_LDLIBS += -lz - LOCAL_LDLIBS += -llog - - LOCAL_LDLIBS += -L $(LOCAL_PATH)/../../ - LOCAL_LDLIBS += -lbirdxml - LOCAL_LDLIBS += -lbirdgems - - LOCAL_SRC_FILES := $(wildcard *.c) - - include $(BUILD_SHARED_LIBRARY) - - $(call import-module,android/cpufeatures)
diff --git scripts/AndroidBirdGems.mk(deleted)
--- a/scripts/AndroidBirdGems.mk +++ /dev/null @@ -1,30 +1,1 @@ - LOCAL_PATH := $(call my-dir) - - include $(CLEAR_VARS) - - LOCAL_MODULE := birdgems - - LOCAL_CFLAGS += -Wno-missing-field-initializers - LOCAL_CFLAGS += -I ../ - LOCAL_CFLAGS += -I /opt/android/include - LOCAL_CFLAGS += -I /opt/android/include/glib-2.0 - LOCAL_CFLAGS += -I /opt/android/lib/glib-2.0/include - - #FIXME: $(TARGET_ARCH_ABI) - - LOCAL_LDLIBS += -L/opt/android/lib - LOCAL_LDLIBS += -lglib-2.0 - LOCAL_LDLIBS += -lintl - LOCAL_LDLIBS += -liconv - LOCAL_LDLIBS += -lgobject-2.0 - - LOCAL_LDLIBS += -lm - LOCAL_LDLIBS += -lc - LOCAL_LDLIBS += -llog - - LOCAL_SRC_FILES := $(wildcard *.c) - - include $(BUILD_SHARED_LIBRARY) - - $(call import-module,android/cpufeatures)
diff --git scripts/AndroidBirdXml.mk(deleted)
--- a/scripts/AndroidBirdXml.mk +++ /dev/null @@ -1,33 +1,1 @@ - LOCAL_PATH := $(call my-dir) - - include $(CLEAR_VARS) - - LOCAL_MODULE := birdxml - - LOCAL_CFLAGS += -Wno-missing-field-initializers - LOCAL_CFLAGS += -I ../ - LOCAL_CFLAGS += -I /opt/android/include - LOCAL_CFLAGS += -I /opt/android/include/glib-2.0 - LOCAL_CFLAGS += -I /opt/android/lib/glib-2.0/include - LOCAL_CFLAGS += -I /opt/android/include/gee-1.0 - - - #FIXME: $(TARGET_ARCH_ABI) - - LOCAL_LDLIBS += -L/opt/android/lib - LOCAL_LDLIBS += -lglib-2.0 - LOCAL_LDLIBS += -lintl - LOCAL_LDLIBS += -liconv - LOCAL_LDLIBS += -lgobject-2.0 - LOCAL_LDLIBS += -lgee - - LOCAL_LDLIBS += -lm - LOCAL_LDLIBS += -lc - LOCAL_LDLIBS += -llog - - LOCAL_SRC_FILES := $(wildcard *.c) - - include $(BUILD_SHARED_LIBRARY) - - $(call import-module,android/cpufeatures)
diff --git scripts/Application.mk(deleted)
--- a/scripts/Application.mk +++ /dev/null @@ -1,3 +1,1 @@ - APP_ABI := armeabi - # armeabi-v7a
diff --git scripts/android_build.py(deleted)
--- a/scripts/android_build.py +++ /dev/null @@ -1,57 +1,1 @@ - #!/usr/bin/python - """ - Copyright (C) 2013 Johan Mattsson - - This library is free software; you can redistribute it and/or modify - it under the terms of the GNU Lesser General Public License as - published by the Free Software Foundation; either version 3 of the - License, or (at your option) any later version. - - This library is distributed in the hope that it will be useful, but - WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - Lesser General Public License for more details. - """ - - import build - from translations import compile_translations - import configfile - from run import run - import version - - prefix = "" - valac = "valac" - valaflags = "--define ANDROID --vapidir=/opt/birdfont/include --vapidir=./ --pkg android" - cc = "" - cflags = "" - ldflags = "" - library_cflags = "" - library_ldflags = "" - library = "libbirdfont.so" - - configfile.write_config (prefix) - compile_translations() - - build.libbirdgems(prefix, cc, cflags, library_ldflags, valac, valaflags, library) - run ("mkdir -p build/libbirdgems/jni"); - run ("cp scripts/AndroidBirdGems.mk build/libbirdgems/jni/Android.mk"); - run ("cp build/libbirdgems/*.c build/libbirdgems/jni/"); - run ("cd build/libbirdgems/jni && ndk-build"); - run ("cp -ra build/libbirdgems/libs/armeabi/libbirdgems.so build/"); - - build.libbirdxml(prefix, cc, cflags, library_ldflags, valac, valaflags, library) - run ("mkdir -p build/libbirdxml/jni"); - run ("cp scripts/AndroidBirdXml.mk build/libbirdxml/jni/Android.mk"); - run ("cp build/libbirdxml/*.c build/libbirdxml/jni/"); - run ("cd build/libbirdxml/jni && ndk-build"); - run ("cp -ra build/libbirdxml/libs/armeabi/libbirdxml.so build/"); - - build.libbirdfont(prefix, cc, cflags, library_ldflags, valac, valaflags, library) - run ("mkdir -p build/libbirdfont/jni"); - run ("cp scripts/AndroidBirdFont.mk build/libbirdfont/jni/Android.mk"); - run ("cp build/libbirdfont/*.c build/libbirdfont/jni/"); - run ("cd build/libbirdfont/jni && ndk-build"); - run ("cp -ra build/libbirdfont/libs/armeabi/libbirdfont.so build/"); - - print ("Done")