> On May 12, 2021, at 2:31 PM, Jason Martin <agrel...@gmail.com> wrote:
> 
> This is my way of giving back. I do not do be's, zones, cross-bows, virtual 
> boxes and etc..

But I think you’re about to… In fact, you’re already running a BE, and at least 
one zone (!) You’re already in the deep end, swimming...

> Why this project? "This is what Unix is all about and Robert has done a 
> really great job.”

No doubt. (But who is he? Of which ‘Robert’ do you speak?)

> I could do a "Makefile" but Icon programming languages work better in $HOME.
> 
> Check out the no frames and no java-script browser in examples/bin
> I test the browser with top 500 sites an 100 odd sites regularly on OpenBSD 
> 6.7, 6.8, 6.9 and Raspberry Pi OS. [This in not your "Big Time Browser" but 
> lightly gets some jobs done.]
> 
> Lots of other pure X11 goodies.

Bonus Points/Graduate Work? Do all of below in a Non-Global zone - I’ll suggest 
the name ‘build’. Once it’s built, you’re already into CrossBow. Then, after 
cloning oi-userland from GitHub, base your recipe on userland components you 
see there, commit the recipe...

Now we’re cookin’! The beauty of offering back an IPS package is that anyone 
else can make use of objecticon. Never heard of it.

You’re also pointing to another great feature of OI. So damned powerful that 
new packages are often (usually?) this easy to build on-the-fly.

This vignette would offer a great example of ‘giving back’. Don’t make me come 
over there to help!!

> # You need
> pkg install build-essential
> pkg install pkg://openindiana.org/developer/versioning/subversion
> 
> # IF YOU WANT DATABASE STUFF
> pkg install mariadb-101/client
> 
> svn checkout https://svn.code.sf.net/p/objecticon/code/trunk objecticon-code
> 
> cd objecticon-code
> 
> # IF YOU WANT DATABASE STUFF - I PATCH FOR MARIADB
> 
> diff -ru a/aclocal.m4 b/aclocal.m4
> --- a/aclocal.m4    Wed Sep  9 13:05:21 2020
> +++ b/aclocal.m4    Wed Sep  9 13:12:10 2020
> @@ -517,12 +517,12 @@
>      AX_OPT_HEADER(mysql, MySQL)
>      unset MYSQL_CPPFLAGS MYSQL_LDFLAGS MYSQL_VERSION MYSQL_LIBS
>      if test "$with_mysql" != "no"; then
> -           MYSQL_CONFIG="mysqlclient >= 1.0"
> +           MYSQL_CONFIG="mariadb"
>             AC_MSG_CHECKING([for $MYSQL_CONFIG])
>             if pkg-config $MYSQL_CONFIG; then
>                 MYSQL_CPPFLAGS="`pkg-config --cflags $MYSQL_CONFIG`"
>                 MYSQL_LDFLAGS="`pkg-config --libs-only-L $MYSQL_CONFIG`"
> -               MYSQL_LIBS=`pkg-config --libs-only-l $MYSQL_CONFIG`
> +               MYSQL_LIBS="`pkg-config --libs-only-l $MYSQL_CONFIG | sed 
> 's/-liconv/''/'`"
>                 MYSQL_VERSION=`pkg-config --modversion $MYSQL_CONFIG`
>                 AC_DEFINE(HAVE_MYSQL)
>                 AC_MSG_RESULT(yes)
> diff -ru a/lib/native/gmysql.h b/lib/native/gmysql.h
> --- a/lib/native/gmysql.h    Wed Sep  9 13:05:21 2020
> +++ b/lib/native/gmysql.h    Wed Sep  9 13:13:53 2020
> @@ -1,2 +1,2 @@
>  typedef int MYSQL, MYSQL_FIELD, MYSQL_RES,
> -    MYSQL_FIELD_OFFSET, MYSQL_ROW, MYSQL_ROW_OFFSET, my_ulonglong, bool;
> +    MYSQL_FIELD_OFFSET, MYSQL_ROW, MYSQL_ROW_OFFSET, my_ulonglong, my_bool;
> diff -ru a/lib/native/mysql.r b/lib/native/mysql.r
> --- a/lib/native/mysql.r    Wed Sep  9 13:05:24 2020
> +++ b/lib/native/mysql.r    Wed Sep  9 13:14:32 2020
> @@ -160,7 +160,7 @@
>         */
>        const char *str_arg = NULL;
>        unsigned int int_arg = 0;
> -      bool bool_arg = false;
> +      my_bool bool_arg = 0;
>        tended struct descrip result;
>        GetSelfMySql();
> 
> 
> patch -p1 < above.patch
> 
> autoconf
> 
> ./configure CC="/usr/gcc/7/bin/gcc" \
>     CFLAGS="-m64 -O3 -I/usr/include/libjpeg8-turbo 
> -Wl,-L/usr/lib/libjpeg8-turbo/lib/amd64 \
>     -Wl,-R/usr/lib/libjpeg8-turbo/lib/amd64" \
>     LDFLAGS="-m64 -L/usr/lib/libjpeg8-turbo/lib/amd64 
> -R/usr/lib/libjpeg8-turbo/lib/amd64" \
> PKG_CONFIG_PATH="/usr/openssl/1.0/lib/64/pkgconfig:/usr/lib/amd64/pkgconfig:/usr/mariadb/10.1/share/pkgconfig"
> 
> 
> gmake
> 
> Finally, you can add what is in objecticon-code/paths.sh to ~/.profile if you 
> want.
> To test:
> gmake test
> To benchmark:
> gmake bmark
> To build api documents:
> gmake libref
> 
> 
> _______________________________________________
> openindiana-discuss mailing list
> openindiana-discuss@openindiana.org
> https://openindiana.org/mailman/listinfo/openindiana-discuss


_______________________________________________
openindiana-discuss mailing list
openindiana-discuss@openindiana.org
https://openindiana.org/mailman/listinfo/openindiana-discuss

Reply via email to