Giter VIP home page Giter VIP logo

monoberry's Introduction

MONOBERRY

Mono for the BlackBerry 10 platform.

Update from December 2018

This project is dead for many years now and will not be updated anymore.
Love,
—rob. ❤️

Summary
About

MonoBerry is Mono for the BlackBerry PlayBook OS and the future BlackBerry 10 platform. The project consists of three parts:

  • Runtime: The actual port of the Mono .NET runtime to the QNX based platform for the ARM & x86 architectures (devices/simulators).
  • Libraries:
    • libblackberry—a C# library to access native functions (screen, camera, sensors, …) of BlackBerry devices.
    • Ports of existing libraries (OpenTK, MonoGame, …) to make them work with MonoBerry and the BlackBerry devices—based on libblackberry.
    • Future: Cascades#, a BlackBerry Cascades (Qt-based GUI toolkit) wrapper for .NET. (BB10 platform only!)
  • Tooling: Functionality to package a .NET assembly to a BlackBerry Archive (.bar file) and integration with tools of the BlackBerry NDK.
Building from source
Mac OS X
  • Install Xcode and the command-line tools
  • Install the BlackBerry 10 Native SDK
  • Install Mono
  • Install some more build requirements using homebrew: brew install autoconf automake libtool git
  • Run make && sudo make install
Linux

These notes are specific to Ubuntu 12.04 but should easily be adaptable to other distributions.

  • Install the BlackBerry 10 Native SDK
  • Install some build requirements, including Mono: sudo apt-get install build-essential mono-complete libmono-cecil-cil-dev git autoconf libtool gettext openjdk-7-jre
  • Run make && sudo make install
References

MonoBerry is standing on the shoulders of the following giants:

  • Mono: Open Source CLR implementation and SDK
  • OpenTK: C# OpenGL, OpenCL, and OpenAL wrapper
  • Nini: .NET Configuration Library
  • to be continued …
License

Copyright © 2012–2013 Robert Lillack.

Licensed under the terms of the MIT X11 license. Please see LICENSE for more information.

monoberry's People

Contributors

roblillack avatar vom7hc avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

monoberry's Issues

fails to build on mac osx and missing dependencies

need to add gettext as a dependency

also libtoolize is not found

clocal.m4:1046: _LT_SYS_MODULE_PATH_AIX is expanded from...
aclocal.m4:6308: _LT_LANG_CXX_CONFIG is expanded from...
aclocal.m4:803: _LT_LANG is expanded from...
aclocal.m4:792: LT_LANG is expanded from...
aclocal.m4:839: _LT_LANG_DEFAULT_CONFIG is expanded from...
aclocal.m4:268: _LT_SETUP is expanded from...
aclocal.m4:117: LT_INIT is expanded from...
configure.ac:536: the top level
autoreconf: running: libtoolize --copy --force
Can't exec "libtoolize": No such file or directory at /usr/share/autoconf/Autom4te/FileUtils.pm line 345, line 4.
autoreconf: failed to run libtoolize: No such file or directory
autoreconf: libtoolize is needed because this package uses Libtool
make: *** [tmp/glib-arm] Error 1

Building mono berry on a Mac Mini

Hello, I recently have tried to follow the instructions give to build on a Mac Mini with OS X 10.10.4, and with Xcode 7.0 beta.

The builld no longer seems to work. The first error I ran into was gettext was not installed (specifically the msgfmt command) on OS X, there is a home-brew issue noted:
Homebrew/legacy-homebrew#7621

Then after trying the suggestion in that home-brew issue to set LDFLAGS and CPPFLAGS, I got so far as build threw an error that "-stack_size,0x80000" was an invalid option. I think I read that an update of Xcode broke that option.

I was wondering; are there any changes that already fix this somewhere, or where should one start to make changes to get the build functioning again for OS X?

I am willing to do some coding and such to fix it but could use some hints.

Fails to build under automake 1.13

This isn't a problem in monoberry itself, but in the mono submodule. This bug has been fixed in the mono project (https://bugzilla.xamarin.com/show_bug.cgi?id=9324), but the roblillack/mono repo doesn't have the fix. I rebased off of mono/mono and was able to build mono successfully. There were no conflicts other than minor .gitignore differences.

Here's the output of the problem:

git submodule update --init --recursive
cd mono && ./autogen.sh && make
**Warning**: I am going to run `configure' with no arguments.
If you wish to pass any to it, please specify them on the
`./autogen.sh' command line.

Running libtoolize...
glibtoolize: putting auxiliary files in `.'.
glibtoolize: copying file `./ltmain.sh'
glibtoolize: putting macros in AC_CONFIG_MACRO_DIR, `m4'.
glibtoolize: copying file `m4/libtool.m4'
glibtoolize: copying file `m4/ltoptions.m4'
glibtoolize: copying file `m4/ltsugar.m4'
glibtoolize: copying file `m4/ltversion.m4'
glibtoolize: copying file `m4/lt~obsolete.m4'
Running aclocal -I m4 -I .  ...
configure.in:17: error: 'AM_CONFIG_HEADER': this macro is obsolete.
    You should use the 'AC_CONFIG_HEADERS' macro instead.
/usr/local/Cellar/automake/1.13.1/share/aclocal-1.13/obsolete-err.m4:14: AM_CONFIG_HEADER is expanded from...
configure.in:17: the top level
autom4te: /usr/bin/m4 failed with exit status: 1
aclocal: error: echo failed with exit status: 1

**Error**: aclocal failed. This may mean that you have not
installed all of the packages you need, or you may need to
set ACLOCAL_FLAGS to include "-I $prefix/share/aclocal"
for the prefix where you installed the packages whose
macros were not found
make: *** [target/lib/mono/2.0/mscorlib.dll] Error 1

libgdiplus build fails on Mac OS X

As noted in multiple comment in #1: libgdiplus doesn't want to build cairo right now.

./autogen.sh: Error: Could not find pkg-config macros.
        (Looked in /usr/local/Cellar/automake/1.14/share/aclocal/pkg.m4)
        If pkg.m4 is available in /another/directory, please set
        ACLOCAL_FLAGS="-I /another/directory"
        Otherwise, please install pkg-config.

pkg-config is available from:
http://www.freedesktop.org/software/pkgconfig/
Done running autogen.sh in cairo...

libgdiplus fails to compile on linux

Unable to complete compilation:

Configuration summary

  • Installation prefix = /usr/local
  • Cairo = 1.12.16 (system)
  • Text = cairo
  • EXIF tags = yes
  • Codecs supported:
    • TIFF: yes
    • JPEG: yes
    • GIF: yes
    • PNG: yes

....
/bin/sh ../libtool --tag=CC --mode=compile arm-unknown-nto-qnx8.0.0eabi-gcc -DHAVE_CONFIG_H -I. -I.. -Wall -Wno-unused -Wno-format -I/home/fmunozs/bbndk/target_10_1_0_4633/qnx6/usr/include/freetype2 -I../cairo/src -I/home/fmunozs/net/monoberry/glib -I/home/fmunozs/net/monoberry/glib/glib -MT adjustablearrowcap.lo -MD -MP -MF .deps/adjustablearrowcap.Tpo -c -o adjustablearrowcap.lo adjustablearrowcap.c
libtool: compile: arm-unknown-nto-qnx8.0.0eabi-gcc -DHAVE_CONFIG_H -I. -I.. -Wall -Wno-unused -Wno-format -I/home/fmunozs/bbndk/target_10_1_0_4633/qnx6/usr/include/freetype2 -I../cairo/src -I/home/fmunozs/net/monoberry/glib -I/home/fmunozs/net/monoberry/glib/glib -MT adjustablearrowcap.lo -MD -MP -MF .deps/adjustablearrowcap.Tpo -c adjustablearrowcap.c -fPIC -shared -DPIC -o .libs/adjustablearrowcap.o
In file included from adjustablearrowcap-private.h:38:0,
from adjustablearrowcap.c:25:
gdiplus-private.h:57:26: fatal error: cairo/cairo.h: No such file or directory
compilation terminated.
make[3]: *** [adjustablearrowcap.lo] Error 1

Support for MonoDevelop on Windows

Hi guys,

Thanks for investing a lot of time in porting Mono to BlackBerry 10! From what I read, there is no support for monoberry to be used on Windows platform. See, I'm not a Mac nor Linux developper, as many devs out there!! Is it possible to use monoberry on Windows at all ?

Thanks again!
Jean

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.