Re: [wip] Firefox 46.0beta5 & Thunderbird 45.0beta3

2016-04-09 Thread patrick keshishian
built and works nicely. two minor issues:

1. I noticed the new "button/icon" named "Hello", well, there is no
   image of it showing (see attached screen grab).

2. not really an issue, but with (I assume) gtk+3 switch, web-form
buttons seem gigantic. not too thrilled about them, but I'm sure
i'll survive.

Thanks for your hard work on this!
--patrick


On 4/4/16, Landry Breuil  wrote:
> On Wed, Mar 30, 2016 at 08:35:18AM +0200, Landry Breuil wrote:
>> On Tue, Mar 29, 2016 at 03:38:51PM +, Christian Weisgerber wrote:
>> > On 2016-03-28, Landry Breuil  wrote:
>> >
>> > > https://cgit.rhaalovely.net/mozilla-firefox/?h=beta
>> > > git clone -b beta https://rhaalovely.net/git/mozilla-firefox
>> > >
>> > > If you want to build it you probably need the attached
>> > > mozilla.port.mk
>> > > diff.
>> >
>> > Fails for me:
>> >
>> > /usr/obj/firefox-46.0beta5/firefox-46.0b5/media/ffvpx/libavutil/mem.c:36:10:
>> > fatal error: 'malloc.h' file not found
>> > #include 
>>
>> Ah, yeah, totally forgot about this. Should be handled when
>> https://bugzilla.mozilla.org/show_bug.cgi?id=1239550 is
>> commited/completed. I'll try to figure out what patch chunk needs
>> backporting when i come back.
>
> Fixed locally with
> https://cgit.rhaalovely.net/mozilla-firefox/commit/?h=beta&id=0bbd84875372e45aad60a3a2d9371a0af6e00884
> built fine on amd64 with malloc.h pruned out..
>
> Landry
>
>


Re: [wip] Firefox 46.0beta5 & Thunderbird 45.0beta3

2016-04-08 Thread patrick keshishian
incidentally this was done on amd64 snapshot from 2016-03-30.

On 4/8/16, patrick keshishian  wrote:
> built and works nicely. two minor issues:
>
> 1. I noticed the new "button/icon" named "Hello", well, there is no
>image of it showing (see attached screen grab).
>
> 2. not really an issue, but with (I assume) gtk+3 switch, web-form
> buttons seem gigantic. not too thrilled about them, but I'm sure
> i'll survive.
>
> Thanks for your hard work on this!
> --patrick
>
>
> On 4/4/16, Landry Breuil  wrote:
>> On Wed, Mar 30, 2016 at 08:35:18AM +0200, Landry Breuil wrote:
>>> On Tue, Mar 29, 2016 at 03:38:51PM +, Christian Weisgerber wrote:
>>> > On 2016-03-28, Landry Breuil  wrote:
>>> >
>>> > > https://cgit.rhaalovely.net/mozilla-firefox/?h=beta
>>> > > git clone -b beta https://rhaalovely.net/git/mozilla-firefox
>>> > >
>>> > > If you want to build it you probably need the attached
>>> > > mozilla.port.mk
>>> > > diff.
>>> >
>>> > Fails for me:
>>> >
>>> > /usr/obj/firefox-46.0beta5/firefox-46.0b5/media/ffvpx/libavutil/mem.c:36:10:
>>> > fatal error: 'malloc.h' file not found
>>> > #include 
>>>
>>> Ah, yeah, totally forgot about this. Should be handled when
>>> https://bugzilla.mozilla.org/show_bug.cgi?id=1239550 is
>>> commited/completed. I'll try to figure out what patch chunk needs
>>> backporting when i come back.
>>
>> Fixed locally with
>> https://cgit.rhaalovely.net/mozilla-firefox/commit/?h=beta&id=0bbd84875372e45aad60a3a2d9371a0af6e00884
>> built fine on amd64 with malloc.h pruned out..
>>
>> Landry
>>
>>
>



Re: [wip] Firefox 46.0beta5 & Thunderbird 45.0beta3

2016-04-04 Thread Landry Breuil
On Wed, Mar 30, 2016 at 08:35:18AM +0200, Landry Breuil wrote:
> On Tue, Mar 29, 2016 at 03:38:51PM +, Christian Weisgerber wrote:
> > On 2016-03-28, Landry Breuil  wrote:
> > 
> > > https://cgit.rhaalovely.net/mozilla-firefox/?h=beta
> > > git clone -b beta https://rhaalovely.net/git/mozilla-firefox
> > >
> > > If you want to build it you probably need the attached mozilla.port.mk
> > > diff.
> > 
> > Fails for me:
> > 
> > /usr/obj/firefox-46.0beta5/firefox-46.0b5/media/ffvpx/libavutil/mem.c:36:10:
> >  fatal error: 'malloc.h' file not found
> > #include 
> 
> Ah, yeah, totally forgot about this. Should be handled when
> https://bugzilla.mozilla.org/show_bug.cgi?id=1239550 is
> commited/completed. I'll try to figure out what patch chunk needs
> backporting when i come back.

Fixed locally with
https://cgit.rhaalovely.net/mozilla-firefox/commit/?h=beta&id=0bbd84875372e45aad60a3a2d9371a0af6e00884
built fine on amd64 with malloc.h pruned out..

Landry



Re: [wip] Firefox 46.0beta5 & Thunderbird 45.0beta3

2016-03-29 Thread Landry Breuil
On Tue, Mar 29, 2016 at 03:38:51PM +, Christian Weisgerber wrote:
> On 2016-03-28, Landry Breuil  wrote:
> 
> > https://cgit.rhaalovely.net/mozilla-firefox/?h=beta
> > git clone -b beta https://rhaalovely.net/git/mozilla-firefox
> >
> > If you want to build it you probably need the attached mozilla.port.mk
> > diff.
> 
> Fails for me:
> 
> /usr/obj/firefox-46.0beta5/firefox-46.0b5/media/ffvpx/libavutil/mem.c:36:10: 
> fatal error: 'malloc.h' file not found
> #include 

Ah, yeah, totally forgot about this. Should be handled when
https://bugzilla.mozilla.org/show_bug.cgi?id=1239550 is
commited/completed. I'll try to figure out what patch chunk needs
backporting when i come back.

Landry



Re: [wip] Firefox 46.0beta5 & Thunderbird 45.0beta3

2016-03-29 Thread Christian Weisgerber
On 2016-03-28, Landry Breuil  wrote:

> https://cgit.rhaalovely.net/mozilla-firefox/?h=beta
> git clone -b beta https://rhaalovely.net/git/mozilla-firefox
>
> If you want to build it you probably need the attached mozilla.port.mk
> diff.

Fails for me:

gmake[3]: Entering directory 
'/usr/obj/firefox-46.0beta5/build-amd64/media/ffvpx/libavutil'
mem.o
cc -o mem.o -c  -DNDEBUG=1 -DTRIMMED=1 -DHAVE_AV_CONFIG_H 
-I/usr/obj/firefox-46.0beta5/firefox-46.0b5/media/ffvpx/libavutil 
-I/usr/obj/firefox-46.0beta5/build-amd64/media/ffvpx/libavutil 
-I/usr/obj/firefox-46.0beta5/firefox-46.0b5/media/ffvpx 
-I/usr/obj/firefox-46.0beta5/build-amd64/dist/include  
-I/usr/local/include/nspr -I/usr/local/include/nss   -I/usr/include-fPIC  
-include /usr/obj/firefox-46.0beta5/build-amd64/mozilla-config.h 
-DMOZILLA_CLIENT -MD -MP -MF .deps/mem.o.pp -Qunused-arguments   
-I/usr/X11R6/include -Qunused-arguments -Wall -Wempty-body -Wignored-qualifiers 
-Wpointer-arith -Wtype-limits -Wclass-varargs -Wsometimes-uninitialized 
-Wno-unused-local-typedef -O2 -pipe -std=gnu99 -fgnu89-inline 
-fno-strict-aliasing -ffunction-sections -fdata-sections -fno-math-errno 
-pthread -pipe  -g -fno-omit-frame-pointer  -Wno-parentheses -Wno-pointer-sign 
-Wno-sign-compare -Wno-switch -Wno-type-limits -Wno-unused-function 
-Wno-deprecated-declarations -Wno-incompatible-pointer-typ
 es-discards-qualifiers -Wno-logical-op-parentheses -include cpu_perms.h   
/usr/obj/firefox-46.0beta5/firefox-46.0b5/media/ffvpx/libavutil/mem.c
In file included from 
/usr/obj/firefox-46.0beta5/firefox-46.0b5/media/ffvpx/libavutil/mem.c:29:
In file included from 
/usr/obj/firefox-46.0beta5/firefox-46.0b5/media/ffvpx/config.h:23:
/usr/obj/firefox-46.0beta5/firefox-46.0b5/media/ffvpx/config_unix64.h:272:9: 
warning: 'HAVE_ARC4RANDOM' macro redefined [-Wmacro-redefined]
#define HAVE_ARC4RANDOM 0
^
/usr/obj/firefox-46.0beta5/build-amd64/mozilla-config.h:39:9: note: previous 
definition is here
#define HAVE_ARC4RANDOM 1
^
/usr/obj/firefox-46.0beta5/firefox-46.0b5/media/ffvpx/libavutil/mem.c:36:10: 
fatal error: 'malloc.h' file not found
#include 
 ^
1 warning and 1 error generated.
/usr/obj/firefox-46.0beta5/firefox-46.0b5/config/rules.mk:927: recipe for 
target 'mem.o' failed
gmake[3]: *** [mem.o] Error 1

-- 
Christian "naddy" Weisgerber  na...@mips.inka.de



Re: [wip] Firefox 46.0beta5 & Thunderbird 45.0beta3

2016-03-28 Thread Landry Breuil
On Mon, Mar 28, 2016 at 07:49:39PM +0200, Landry Breuil wrote:
> Hi,
> 
> Firefox 46 will be live in some weeks, and hopefully this time with Gtk3
> by default. I also plan to default webrtc to build and ship, as it is
> upstream since some releases - it needs dogfooding and testing, webcam
> works, audio/sndio is flakey (some patches need backporting), data
> channels demo works.
> If you want to disable webrtc, just toggle media.peerconnection.enabled
> to false in about:config.
> 
> Upstream also plans to *maybe* enable e10s (separate rendering process)
> in some conditions (some addons are still problematic, a11y things too),
> i'm not sure how it will go, but to test it i think you need to toggle a
> browser.tabs.remote.x pref in about:config too. Last i tried it in
> nightly, it just worked.

Apparently, to force-enable it at runtime (if e10s is enabled during the
build, which should be the case by default in beta, iiuic) you need to
set browser.tabs.remove.force-enable to true. Knobs, knobs, knobs
everywhere!

Landry



[wip] Firefox 46.0beta5 & Thunderbird 45.0beta3

2016-03-28 Thread Landry Breuil
Hi,

Firefox 46 will be live in some weeks, and hopefully this time with Gtk3
by default. I also plan to default webrtc to build and ship, as it is
upstream since some releases - it needs dogfooding and testing, webcam
works, audio/sndio is flakey (some patches need backporting), data
channels demo works.
If you want to disable webrtc, just toggle media.peerconnection.enabled
to false in about:config.

Upstream also plans to *maybe* enable e10s (separate rendering process)
in some conditions (some addons are still problematic, a11y things too),
i'm not sure how it will go, but to test it i think you need to toggle a
browser.tabs.remote.x pref in about:config too. Last i tried it in
nightly, it just worked.

While here, might aswell test Thunderbird 45.0b3, which should be very
close to the final release which will replace Tb 3.8.x.x.

https://cgit.rhaalovely.net/mozilla-firefox/?h=beta
git clone -b beta https://rhaalovely.net/git/mozilla-firefox

https://cgit.rhaalovely.net/mozilla-thunderbird/?h=beta
git clone -b beta https://rhaalovely.net/git/mozilla-thunderbird

If you want to build it you probably need the attached mozilla.port.mk
diff.

Provided amd64 pkgs should be 'compatible' with latest snaps, barring more
libc/libpthread bumps..

doas env PKG_PATH=https://rhaalovely.net/stuff/amd64/ pkg_add -u firefox
doas env PKG_PATH=https://rhaalovely.net/stuff/amd64/ pkg_add -u thunderbird

my i386 builder has issues again.

Landry
? 43gtk3.diff
? bundled.diff
? mozilla.port.mk.all
Index: mozilla.port.mk
===
RCS file: /cvs/ports/www/mozilla/mozilla.port.mk,v
retrieving revision 1.88
diff -u -r1.88 mozilla.port.mk
--- mozilla.port.mk 20 Mar 2016 00:02:31 -  1.88
+++ mozilla.port.mk 28 Mar 2016 17:48:18 -
@@ -21,6 +21,8 @@
 
 MOZILLA_DIST ?=${MOZILLA_PROJECT}
 MOZILLA_DIST_VERSION ?=${MOZILLA_VERSION:C/rc.//}
+# needed for PLIST
+MOZILLA_VER =  ${MOZILLA_VERSION:C/b[0-9]*//:C/esr//:C/rc.$//}
 
 HOMEPAGE ?=http://www.mozilla.org/projects/${MOZILLA_DIST}
 
@@ -123,7 +125,8 @@
 INSTALL_STRIP =
 .endif
 
-.if ${FLAVOR:Mgtk3}
+#.if ${FLAVOR:Mgtk3}
+.if ${PKGPATH} == "www/mozilla-firefox" || (${MOZILLA_PROJECT} == 
"thunderbird" && ${MOZILLA_BRANCH} == "beta")
 # https://bugzilla.mozilla.org/show_bug.cgi?id=983843
 CONFIGURE_ARGS +=  --with-system-cairo
 CONFIGURE_ARGS +=  --enable-default-toolkit=cairo-gtk3
@@ -142,16 +145,14 @@
 CONFIGURE_ARGS +=--enable-application=${MOZILLA_CODENAME}
 
 # starting with esr45, only xulrunner will be special
-.if ${MOZILLA_PROJECT} == "thunderbird"
+.if ${MOZILLA_PROJECT} == "thunderbird" && ${MOZILLA_BRANCH} != "beta"
 WRKDIST ?= ${WRKDIR}/comm-${MOZILLA_BRANCH}
 .elif ${MOZILLA_PROJECT} == "xulrunner" || ${PKGPATH} == "www/firefox-esr"
 WRKDIST ?= ${WRKDIR}/mozilla-${MOZILLA_BRANCH}
 .else
-WRKDIST ?= ${WRKDIR}/${MOZILLA_DIST}-${MOZILLA_DIST_VERSION}
+WRKDIST ?= ${WRKDIR}/${MOZILLA_DIST}-${MOZILLA_VERSION}
 .endif
 
-# needed for PLIST
-MOZILLA_VER =  ${MOZILLA_VERSION:C/b[0-9]*//:C/esr//:C/rc.$//}
 SUBST_VARS +=  MOZILLA_PROJECT MOZILLA_VER MOZILLA_VERSION
 
 MAKE_ENV +=MOZILLA_OFFICIAL=1 \