Giter Site home page Giter Site logo

hanzengbo / exiv2forandroid Goto Github PK

View Code? Open in Web Editor NEW
5.0 3.0 2.0 6.43 MB

exiv2 for android and support xmp function.

CMake 0.81% Shell 9.26% Makefile 0.73% M4 0.59% QMake 0.01% C++ 75.92% Batchfile 0.59% Python 0.34% C 9.42% CSS 0.05% JavaScript 0.16% HTML 1.32% XSLT 0.01% Objective-C 0.01% Perl 0.01% Roff 0.73% Inno Setup 0.06%
exiv2 xmp android expat ndk

exiv2forandroid's Introduction

exiv2ForAndroid

exiv2 for android and support xmp function.

#How to build 1.create standalone toolchain, which contains all the tools and system lib, header file.The platfrom should not lower than 21 ./make-standalone-toolchain.sh --platform=android-21 --install-dir=~/my-android-toolchain --ndk-dir='/home/hzb/Android/Sdk/ndk-bundle/' --toolchain=arm-linux-androideabi-4.9

  1. copy buildExiv2.sh and configure from "../modify file" to "../exiv2-trunk".

  2. copy configure.ac from "../modify file" to "../exiv2-trunk/config" configure from "../modify file" to "../exiv2-trunk/" modify all the "lpthread" to "pthread", because android does not support lpthread.

  3. copy actions.cpp from "../modify file" to "../exiv2-trunk/src" PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP is not defined in android, should use normal mutex.

  4. copy buildExpat.sh from "../modify file" to "../expat-2.2.2

  5. cd expat-2.2.2 start build expat.

  6. ./buildExpat.sh if success, you should find the result file under the jni/expat/, contains:include,libs,share.

  7. go back the root path and mkdir expatlib(you can defined custom) copy include and lib dictionary from expat-2.2.2/jni/expat to expatlib

  8. modify the --with-expat=../expatlib in the buildExiv2.sh

  9. ./buildExiv2.sh if success, you can find the result file under the jni/exive2/, contains bin, include, lib, share

  10. copy the include and lib of both expat and exiv2 to exivJni

12 goto the exivJni

  1. ndk-build NDK_APPLICATION_PATH=. NDK_APPLICATION_MK=./Application.mk the result so file is in the ./libs

exiv2forandroid's People

Contributors

hanzengbo avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

exiv2forandroid's Issues

Update & armeabi v8a

I couldn't use this repository becouse it's old and doesn't contain armeabi v8a. Can you update it please?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.