[OpenIndiana-discuss] firefox-43.0b7

2015-11-28 Thread John D Groenveld
Trying to build 43.0b7 with Martin and Alexander's
patches, but stumbling over these redefinitions which
I think are a missing or incorrect define.
Anyone made it further along?
Thanks
John
groenv...@acm.org

gmake[3]: Entering directory '/home/oi.1/john/ff43/media/libstagefright'
Unified_cpp_media_libstagefright0.o
g++ -o Unified_cpp_media_libstagefright0.o -c -I../../dist/stl_wrappers 
-I../../dist/system_wrappers -include 
/home/oi.1/john/firefox-43.0b7/config/gcc_hidden.h -DANDROID_SMP=0 
-DLOG_NDEBUG=1 -D_GLIBCXX_OS_DEFINES -DHAVE_SYS_UIO_H -DFAKE_LOG_DEVICE 
-DSTATIC_EXPORTABLE_JS_API -DMOZILLA_INTERNAL_API -DIMPL_LIBXUL -DAB_CD=en-US 
-DNO_NSPR_10_SUPPORT -I/home/oi.1/john/firefox-43.0b7/media/libstagefright -I. 
-I/home/oi.1/john/firefox-43.0b7/media/libstagefright/binding/include 
-I/home/oi.1/john/firefox-43.0b7/media/libstagefright/frameworks/av/include 
-I/home/oi.1/john/firefox-43.0b7/media/libstagefright/frameworks/av/include/media/stagefright/foundation
 
-I/home/oi.1/john/firefox-43.0b7/media/libstagefright/frameworks/av/media/libstagefright/
 -I/home/oi.1/john/firefox-43.0b7/media/libstagefright/stubs/empty 
-I/home/oi.1/john/firefox-43.0b7/media/libstagefright/stubs/include 
-I/home/oi.1/john/firefox-43.0b7/media/libstagefright/stubs/include/media/stagefright/foundation
 -I/home/oi.!
 1/john/firefox-43.0b7/media/libstagefright/system/core/include 
-I../../dist/include   -I/home/oi.1/john/ff43/dist/include/nspr 
-I/home/oi.1/john/ff43/dist/include/nss   -fPIC   -DMOZILLA_CLIENT -include 
../../mozilla-config.h -MD -MP -MF .deps/Unified_cpp_media_libstagefright0.o.pp 
 -static-libstdc++ -static-libgcc -fno-exceptions -fno-strict-aliasing -D_XPG6 
-D__EXTENSIONS__ -mstackrealign -static-libstdc++ -static-libgcc -fno-rtti 
-fno-exceptions -fno-math-errno -std=gnu++0x -pthread -pipe -DNDEBUG -DTRIMMED 
-O -fomit-frame-pointer -fpermissive -fno-exceptions -fno-strict-aliasing 
-fno-rtti -ffunction-sections -fdata-sections -fno-exceptions -fno-math-errno 
-std=gnu++0x -pthread -pipe  -DNDEBUG -DTRIMMED -O -fomit-frame-pointer 
-Wno-format -Wno-format-security -Wno-multichar -Wno-sign-compare -Wno-unused   
/home/oi.1/john/ff43/media/libstagefright/Unified_cpp_media_libstagefright0.cpp
In file included from ../../dist/stl_wrappers/cmath:50:0,
 from ../../dist/include/nsMathUtils.h:13,
 from ../../dist/include/nsCoord.h:11,
 from ../../dist/include/nsSize.h:9,
 from ../../dist/include/MediaData.h:9,
 from 
/home/oi.1/john/firefox-43.0b7/media/libstagefright/binding/Adts.cpp:6,
 from 
/home/oi.1/john/ff43/media/libstagefright/Unified_cpp_media_libstagefright0.cpp:2:
/usr/gcc/4.9/include/c++/4.9.3/cmath: In function ‘constexpr double 
std::abs(double)’:
/usr/gcc/4.9/include/c++/4.9.3/cmath:81:3: error: redefinition of ‘constexpr 
double std::abs(double)’
   abs(double __x)
   ^

___
openindiana-discuss mailing list
openindiana-discuss@openindiana.org
http://openindiana.org/mailman/listinfo/openindiana-discuss


Re: [OpenIndiana-discuss] firefox-43.0b7

2015-11-28 Thread Apostolos Syropoulos via openindiana-discuss
In https://hg.mozilla.org/mozilla-central/file/3cb2f2b870f4/config/stl-headers


one can read that 


# At build time, each header listed here is converted into a "wrapper
# header" that is installed into dist/stl_includes.


so could you please send the generated file to try to see what might be
the problem?

A.S.
--
Apostolos Syropoulos
Xanthi, Greece

___
openindiana-discuss mailing list
openindiana-discuss@openindiana.org
http://openindiana.org/mailman/listinfo/openindiana-discuss


Re: [OpenIndiana-discuss] Hipster upgrade problem

2015-11-28 Thread Aurélien Larcher
Hello,
bringing up the topic again, I think there are two things that should be
documented on the website:

1) writing about the status regarding possibility to migrate from 151a9 to
hipster and known workaround.

2) linking to steps describing how to build in zone and contribute to
oi-userland.

another important track is IMHO listing the milestones to bring hipster up
to cruising speed: finishing migrating packages to oi-userland comes to my
mind (http://wiki.openindiana.org/oi/GNOME+2.32.1+Packages +
http://wiki.openindiana.org/oi/JDS+migration).
Completing that seems a priority.

I'll resume cherry picking when my workload permits...
If someone likes it, playing with GTK3 (http://wiki.openindiana.org/oi/GTK3)
would also be nice.

If anyone is willing to help documenting 1) and/or 2), I'll be happy to
assist.

Regards,

Aurélien

On Wed, Nov 18, 2015 at 2:16 PM, Nikola M  wrote:

> On 11/17/15 08:58 PM, Stefan Müller-Wilken wrote:
>
>> What's wrong with putting all content on wiki.openindiana.org?
>>
>> Sure that would be the best.
>
>
>
> ___
> openindiana-discuss mailing list
> openindiana-discuss@openindiana.org
> http://openindiana.org/mailman/listinfo/openindiana-discuss
>



-- 
---
Praise the Caffeine embeddings
___
openindiana-discuss mailing list
openindiana-discuss@openindiana.org
http://openindiana.org/mailman/listinfo/openindiana-discuss


Re: [OpenIndiana-discuss] firefox-43.0b7

2015-11-28 Thread John D Groenveld
In message <1578217218.8815253.1448741362144.javamail.ya...@mail.yahoo.com>, Ap
ostolos Syropoulos via openindiana-discuss writes:
>In https://hg.mozilla.org/mozilla-central/file/3cb2f2b870f4/config/stl-headers
>
>
>one can read that 
>
>
># At build time, each header listed here is converted into a "wrapper
># header" that is installed into dist/stl_includes.
>
>
>so could you please send the generated file to try to see what might be
>the problem?

Below.

John
groenv...@acm.org

/* -*- Mode: C++; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 2 -*-
 * vim: sw=2 ts=8 et :
 */
/* This Source Code Form is subject to the terms of the Mozilla Public
 * License, v. 2.0. If a copy of the MPL was not distributed with this
 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */

#ifndef mozilla_cmath_h
#define mozilla_cmath_h

// For some reason, Apple's GCC refuses to honor -fno-exceptions when
// compiling ObjC.
#if defined(__EXCEPTIONS) && __EXCEPTIONS && !(__OBJC__ && __GNUC__ && XP_IOS)
#  error "STL code can only be used with -fno-exceptions"
#endif

// Silence "warning: #include_next is a GCC extension"
#pragma GCC system_header

// mozalloc.h wants ; break the cycle by always explicitly
// including  here.  NB: this is a tad sneaky.  Sez the gcc docs:
//
//`#include_next' does not distinguish between  and "file"
//inclusion, nor does it check that the file you specify has the
//same name as the current file. It simply looks for the file
//named, starting with the directory in the search path after the
//one where the current file was found.
#include_next 

// See if we're in code that can use mozalloc.  NB: this duplicates
// code in nscore.h because nscore.h pulls in prtypes.h, and chromium
// can't build with that being included before base/basictypes.h.
#if !defined(XPCOM_GLUE) && !defined(NS_NO_XPCOM) && !defined(MOZ_NO_MOZALLOC)
#  include "mozilla/mozalloc.h"
#else
#  error "STL code can only be used with infallible ::operator new()"
#endif

#if defined(DEBUG) && !defined(_GLIBCXX_DEBUG)
// Enable checked iterators and other goodies
//
// FIXME/bug 551254: gcc's debug STL implementation requires -frtti.
// Figure out how to resolve this with -fno-rtti.  Maybe build with
// -frtti in DEBUG builds?
//
//  # define _GLIBCXX_DEBUG 1
#endif

#pragma GCC visibility push(default)
#include_next 
#pragma GCC visibility pop

// gcc calls a __throw_*() function from bits/functexcept.h when it
// wants to "throw an exception".  functexcept exists nominally to
// support -fno-exceptions, but since we'll always use the system
// libstdc++, and it's compiled with exceptions, then in practice
// these __throw_*() functions will always throw exceptions (shades of
// -fshort-wchar).  We don't want that and so define our own inlined
// __throw_*().
#ifndef mozilla_throw_gcc_h
#  include "mozilla/throw_gcc.h"
#endif

#endif  // if mozilla_cmath_h


___
openindiana-discuss mailing list
openindiana-discuss@openindiana.org
http://openindiana.org/mailman/listinfo/openindiana-discuss


Re: [OpenIndiana-discuss] firefox-43.0b7

2015-11-28 Thread Alexander Pyhalov

Hello.

John D Groenveld писал 28.11.2015 20:48:

Trying to build 43.0b7 with Martin and Alexander's
patches, but stumbling over these redefinitions which
I think are a missing or incorrect define.
Anyone made it further along?
Thanks
John
groenv...@acm.org


Do you have 
https://github.com/OpenIndiana/oi-userland/blob/oi/hipster/components/firefox/patches/05-libstagefright.patch 
applied?


---
System Administrator of Southern Federal University Computer Center



___
openindiana-discuss mailing list
openindiana-discuss@openindiana.org
http://openindiana.org/mailman/listinfo/openindiana-discuss


Re: [OpenIndiana-discuss] Hipster upgrade problem

2015-11-28 Thread Alexander Pyhalov

Hi.

Aurélien Larcher писал 29.11.2015 02:39:

Hello,
bringing up the topic again, I think there are two things that should 
be

documented on the website:

1) writing about the status regarding possibility to migrate from 151a9 
to

hipster and known workaround.


In general, it should be possible to update now (see 
http://wiki.openindiana.org/oi/Hipster),
but there can be some perculiarities (like packages uppeared in /dev 
after split).



2) linking to steps describing how to build in zone and contribute to
oi-userland.


There are several instructions:
- http://wiki.openindiana.org/oi/Building+with+oi-userland
- http://wiki.openindiana.org/oi/Contributing+to+hipster .
- http://wiki.openindiana.org/oi/Building+in+zones

Updating them and combining all in one short will be an amusing task.


I'll resume cherry picking when my workload permits...
If someone likes it, playing with GTK3 
(http://wiki.openindiana.org/oi/GTK3)

would also be nice.



Yes, GTK3 and Mate would be a huge step forward.
From other issues I'd mention XNV migration. It's in progress, we have 
several major components in oi-userland, but it's far from being 
finished.


---
System Administrator of Southern Federal University Computer Center



___
openindiana-discuss mailing list
openindiana-discuss@openindiana.org
http://openindiana.org/mailman/listinfo/openindiana-discuss