Wednesday, 30 January 2019

Re: Gmail In Netsurf 3.9

On 22/01/2019, Harriet Bazley <lists@bazleyfamily.co.uk> wrote:
> On 21 Jan 2019 as I do recall,
> Bret Busby wrote:
>
> [snip]
>
>
>> The gmail seems to be as usable as gmail is usable (it does not work
>> with firefox, for me - the way it is displayed in firefox, is
>> illegible).
>>
>
> Yes, it is - but can you enter your password to log in? (Better take a
> copy
> of the COokies file if you plan to experiment...)
>
> Google now appear to have wrapped GMail into the concept of their general
> 'Google Account', which I suspect is what is causing the problem.
>
> --
> Harriet Bazley == Loyaulte me lie ==
>
> My opinions may have changed, but not the fact that I am right.
>
>

Okay.

With Netsurf having just crashed due to the Internet connection
breaking up, I have started a new session og gmail, and the login
process is as it has been for a while - account name - 1 screen, then
password input - second screen, and I logged in without any problem.

Then the browser crashed again, when the Internet connection broke
again, but, I managed to log in again, without any problem.

Now, I will try to send this message, and jope that the Internet
connection does not break again and cause the browser to crash again.


--

Bret Busby
Armadale
West Australia

..............

"So once you do know what the question actually is,
you'll know what the answer means."
- Deep Thought,
Chapter 28 of Book 1 of
"The Hitchhiker's Guide to the Galaxy:
A Trilogy In Four Parts",
written by Douglas Adams,
published by Pan Books, 1992

....................................................

Tuesday, 22 January 2019

Re: Gmail In Netsurf 3.9

On 22 Jan 2019 as I do recall,
Cág wrote:

> Harriet Bazley wrote:
> > Thanks! The settings even seem to be accessible via Netsurf...
> > I'm a bit nervous as to how this works; does it download copies of all
> > incoming messages to a specified inbox? (I've only ever used POP
> > email.)
>
> With IMAP mail is stored on a server, and an MUA keeps the connection
> open while a user manages his mailbox. I.e., mail is not downloaded,
> and, depending on the capabilities of a mail client, an external program
> might be needed to save it locally.

That sounds like more or less what I was looking for, as I use GMail for
things like web page update notifications which I want to be able to look at
but not really to download...

Unfortunately I can't see any way to enable IMAP in my existing copy of
MPro 8, or to add an additional 'mailbox' accessed via IMAP while all the
existing mail is downloaded by AntiSpam using POP - a quick look at the
Internet suggests that you might have to configure it when originally
installing the Messenger suite by running !RemoteNB, or that our version
only has the Messenger Offline Database available.


--
Harriet Bazley == Loyaulte me lie ==

Those who can't write, write manuals.

Re: Gmail In Netsurf 3.9

Harriet Bazley wrote:
> Thanks! The settings even seem to be accessible via Netsurf...
> I'm a bit nervous as to how this works; does it download copies of all
> incoming messages to a specified inbox? (I've only ever used POP
> email.)

With IMAP mail is stored on a server, and an MUA keeps the connection
open while a user manages his mailbox. I.e., mail is not downloaded,
and,
depending on the capabilities of a mail client, an external program
might
be needed to save it locally.

--
caóc

Re: Gmail In Netsurf 3.9 / keyboard shortcut for Javascript

In article <bba05e7a57.jim@6.abbeypress.net>,
Jim Nagel <netsurf@abbeypress.co.uk> wrote:
> Justin Wierbonski wrote on 21 Sep:
> > ... is there a keyboard shortcut for turning off/on javascript?

> Something I've wished for (on this list and elsewhere) for ages! Good
> old Fresco, years ago, had a buttonbar item to switch its (primitive)
> Javascript on and off. I have tried, but failed, to use !Keystroke to
> set up such a key.

Keystroke is an app still use... If I can fathom how to do it...
I wonder if there's anyone left in the RISC OS arena who is expert on
Keystroke?

Dave

--

Dave Triffid

Re: Gmail In Netsurf 3.9

On 22/01/2019, Harriet Bazley <lists@bazleyfamily.co.uk> wrote:
> On 21 Jan 2019 as I do recall,
> Bret Busby wrote:
>
> [snip]
>
>
>> The gmail seems to be as usable as gmail is usable (it does not work
>> with firefox, for me - the way it is displayed in firefox, is
>> illegible).
>>
>
> Yes, it is - but can you enter your password to log in? (Better take a
> copy
> of the COokies file if you plan to experiment...)
>
> Google now appear to have wrapped GMail into the concept of their general
> 'Google Account', which I suspect is what is causing the problem.
>
> --
> Harriet Bazley == Loyaulte me lie ==
>
> My opinions may have changed, but not the fact that I am right.
>
>

Here in Australia, it is better to avoid unnecessary bandwidth usage,
as telecommunications have been made completely unstable, by the feral
government.

So, logging out and trying to log back in, is precarious, whether or
not it works with gmail.

All attempts to access the Internet, are now precarious and unstable,
in Australia, due to the sabotage of telecommunications.

Even if logging out and logging back in to gmail, does work, it could
take several hours, if it succeeds, due to the intermittent an erratic
nature of telecommunications in Australia.

I have attached an example of the ongoing, persistent, instability
that the feral government inflicted on Australia. I not know whether
this mailing list allows attachments, so, we will find whether it gets
through....

--
Bret Busby
Armadale
West Australia
..............

"So once you do know what the question actually is,
you'll know what the answer means."
- Deep Thought,
Chapter 28 of Book 1 of
"The Hitchhiker's Guide to the Galaxy:
A Trilogy In Four Parts",
written by Douglas Adams,
published by Pan Books, 1992

....................................................

Re: Gmail In Netsurf 3.9 / keyboard shortcut for Javascript

Justin Wierbonski wrote on 21 Sep:
> ... is there a keyboard shortcut for turning off/on javascript?

Something I've wished for (on this list and elsewhere) for ages!
Good old Fresco, years ago, had a buttonbar item to switch its (primitive)
Javascript on and off.
I have tried, but failed, to use !Keystroke to set up such a key.

--
Jim Nagel www.archivemag.co.uk

Monday, 21 January 2019

Re: Gmail In Netsurf 3.9

On 21 Jan 2019 Harriet Bazley <lists@bazleyfamily.co.uk> wrote:

> On 21 Jan 2019 as I do recall,
> Bret Busby wrote:

> [snip]


>> The gmail seems to be as usable as gmail is usable (it does not work
>> with firefox, for me - the way it is displayed in firefox, is
>> illegible).
>>

> Yes, it is - but can you enter your password to log in? (Better take a copy
> of the COokies file if you plan to experiment...)

> Google now appear to have wrapped GMail into the concept of their general
> 'Google Account', which I suspect is what is causing the problem.

I have a Gmail account as a backup, and I can now easily access it using
MPro 8.01. There are full instructions that came with 8.00 as to how to
set this up, but you do need a non-RISC OS machine to set it up.
Thereafter RISC OS does it all.

HTH,

Best wishes,

Peter.

--
Peter Young (zfc Au) and family
Prestbury, Cheltenham, Glos. GL52, England
http://pnyoung.orpheusweb.co.uk
pnyoung@ormail.co.uk

Re: Gmail In Netsurf 3.9

On 21 Jan 2019 as I do recall,
Tim Hill wrote:

> In article <eb73107a57.harriet@blueyonder.co.uk>, Harriet Bazley
> <lists@bazleyfamily.co.uk> wrote:
> > On 21 Jan 2019 as I do recall, Tim Hill wrote:
>
> > [snip]
>
>
> > > It is said Messenger Pro can access a Gmail account with its IMAP
> > > capabilities, should you ever need a non-browser RISC OS + Gmail
> > > solution in a pinch.
> > >
> > Yes, I was wondering about that - I had a nasty feeling you needed to
> > be logged in first (and probably in non-basic HTML mode) in order to
> > obtain the requisite details....
>
> Log in to enable IMAP then configure your email client...
>
> https://support.google.com/mail/answer/7126229?hl=en
>
Thanks! The settings even seem to be accessible via Netsurf...

I'm a bit nervous as to how this works; does it download copies of all
incoming messages to a specified inbox? (I've only ever used POP email.)

--
Harriet Bazley == Loyaulte me lie ==

He who laughs last probably doesn't understand the joke.

Re: Gmail In Netsurf 3.9

On 21 Jan, Harriet Bazley wrote:

[snip]

> Yes, it is - but can you enter your password to log in? (Better take a copy
> of the COokies file if you plan to experiment...)

> Google now appear to have wrapped GMail into the concept of their general
> 'Google Account', which I suspect is what is causing the problem.

I forgot all about using Gmail with MPro - works just fine here.

These are the settings I have in Hermes:-

POP3 mail server - pop.gmail.com
Port - 995
User name - (MyEmail)@gmail.com
Password - You get the picture...

Secure connection selected (SSL). Works a charm.
--
Brian Howlett
----------------------------------------------------------------------
"Are you the Prime Minister?" "No, but I've often been mistaken."
"What, for the Prime Minister?" "No. I've just often been mistaken..."

Re: Gmail In Netsurf 3.9

In article <eb73107a57.harriet@blueyonder.co.uk>, Harriet Bazley
<lists@bazleyfamily.co.uk> wrote:
> On 21 Jan 2019 as I do recall, Tim Hill wrote:

> [snip]


> > It is said Messenger Pro can access a Gmail account with its IMAP
> > capabilities, should you ever need a non-browser RISC OS + Gmail
> > solution in a pinch.
> >
> Yes, I was wondering about that - I had a nasty feeling you needed to
> be logged in first (and probably in non-basic HTML mode) in order to
> obtain the requisite details....

Log in to enable IMAP then configure your email client...

https://support.google.com/mail/answer/7126229?hl=en

--
Tim Hill
--------
Find an event to attend at:
http://timil.com/riscos/calendar/
Mimemap and other stuff:
http://timil.com/riscos/

Re: Gmail In Netsurf 3.9

On 21 Jan 2019 as I do recall,
Tim Hill wrote:

[snip]


> It is said Messenger Pro can access a Gmail account with its IMAP
> capabilities, should you ever need a non-browser RISC OS + Gmail solution
> in a pinch.
>
Yes, I was wondering about that - I had a nasty feeling you needed to be
logged in first (and probably in non-basic HTML mode) in order to obtain the
requisite details....

--
Harriet Bazley == Loyaulte me lie ==

It is far better to be deceived than to be undeceived by those we love.

Re: Gmail In Netsurf 3.9

On 21 Jan 2019 as I do recall,
Bret Busby wrote:

[snip]


> The gmail seems to be as usable as gmail is usable (it does not work
> with firefox, for me - the way it is displayed in firefox, is
> illegible).
>

Yes, it is - but can you enter your password to log in? (Better take a copy
of the COokies file if you plan to experiment...)

Google now appear to have wrapped GMail into the concept of their general
'Google Account', which I suspect is what is causing the problem.

--
Harriet Bazley == Loyaulte me lie ==

My opinions may have changed, but not the fact that I am right.

Re: Gmail In Netsurf 3.9

In article <8992087a57.harriet@blueyonder.co.uk>, Harriet Bazley
<lists@bazleyfamily.co.uk> wrote:
> On 21 Jan 2019 as I do recall, Harriet Bazley wrote:


> [snip]

> > having logged out of my Gmail account,

[Snip]

> I've managed to log myself in again for the moment by copying across
> the entire Cookies file from a copy of Netsurf on another machine that
> was still logged-in, but it's a rather disturbing prospect that if I'm
> ever logged out at any point in the future, that will be it. :-(

It is said Messenger Pro can access a Gmail account with its IMAP
capabilities, should you ever need a non-browser RISC OS + Gmail solution
in a pinch.

--
Tim Hill
--------
Find an event to attend at:
http://timil.com/riscos/calendar/
Mimemap and other stuff:
http://timil.com/riscos/

Re: Gmail In Netsurf 3.9

On 22/01/2019, Harriet Bazley <lists@bazleyfamily.co.uk> wrote:
> On 24 Sep 2018 as I do recall,
> Harriet Bazley wrote:
>
>> On 21 Sep 2018 as I do recall,
>> Justin Wierbonski wrote:
>>
>> > Hey all, I did manage to get NS 3.9 built on my Powerbook G4, but
>> > noticed
>> > when trying to access gmail when javascript is enabled, even if I try
>> > html
>> > mode, it won't load. I just get a page with an ---> on it. If I turn
>> > off
>> > javascript then html mode loads fine.
>> >
>> > So my question is, is there a fix for this, or is there a keyboard
>> > shortcut
>> > for turning off/on javascript? Or is there something I need to change on
>> > my
>> > system to allow the html version load without shutting off javascript?
>> >
>> So far as I know, the only way to access Gmail is to keep Javascript
>> turned
>> off - or to keep altering the setting under Choices->Content.
>>
> Except that now, having logged out of my Gmail account, I find that it
> won't
> let me log in again:
>
> "The browser you're using doesn't support JavaScript, or has JavaScript
> turned off.
>
> "To keep your Google Account secure, try signing in on a browser that has
> JavaScript turned on."
>
> So apparently I've just lost access to that email address...
> (Enabling Netsurf's JavaScript doesn't help.)
>
> --
> Harriet Bazley == Loyaulte me lie ==
>
> Reality is for people who can't face science fiction.
>
>

I am running Netsurf v3.2 (August 2014) (from Help -> About) on Ubuntu
Linux 16.04.x .

(NetSurf 3.2 (26th August 2014) )

Interestingly, the Help -> About window, whilst showing the version to
be dated 2014, has "Copyright 2003-2011" (?)

I do not enable javascript in Netsurf.

I access my primary gmail account (the one from which I have posted
thiis message), using Netsurf.

My gmail account is set to the basic mode (I do not knpow whether that
is the name of the mode, as assigned by google - it was previously
displayed in the gmail window, but, is not, now).

The gmail seems to be as usable as gmail is usable (it does not work
with firefox, for me - the way it is displayed in firefox, is
illegible).


--
Bret Busby
Armadale
West Australia
..............

"So once you do know what the question actually is,
you'll know what the answer means."
- Deep Thought,
Chapter 28 of Book 1 of
"The Hitchhiker's Guide to the Galaxy:
A Trilogy In Four Parts",
written by Douglas Adams,
published by Pan Books, 1992

....................................................

Re: Gmail In Netsurf 3.9

On 21 Jan 2019 as I do recall,
Harriet Bazley wrote:


[snip]

> having logged out of my Gmail account, I find that it won't
> let me log in again:
>
> "The browser you're using doesn't support JavaScript, or has JavaScript
> turned off.
>
> "To keep your Google Account secure, try signing in on a browser that has
> JavaScript turned on."
>
> So apparently I've just lost access to that email address...
> (Enabling Netsurf's JavaScript doesn't help.)
>
I've managed to log myself in again for the moment by copying across the
entire Cookies file from a copy of Netsurf on another machine that was still
logged-in, but it's a rather disturbing prospect that if I'm ever logged out
at any point in the future, that will be it. :-(

--
Harriet Bazley == Loyaulte me lie ==

There are two ways to write error-free programs; only the third one works.

Re: Gmail In Netsurf 3.9

On 24 Sep 2018 as I do recall,
Harriet Bazley wrote:

> On 21 Sep 2018 as I do recall,
> Justin Wierbonski wrote:
>
> > Hey all, I did manage to get NS 3.9 built on my Powerbook G4, but noticed
> > when trying to access gmail when javascript is enabled, even if I try html
> > mode, it won't load. I just get a page with an ---> on it. If I turn off
> > javascript then html mode loads fine.
> >
> > So my question is, is there a fix for this, or is there a keyboard shortcut
> > for turning off/on javascript? Or is there something I need to change on my
> > system to allow the html version load without shutting off javascript?
> >
> So far as I know, the only way to access Gmail is to keep Javascript turned
> off - or to keep altering the setting under Choices->Content.
>
Except that now, having logged out of my Gmail account, I find that it won't
let me log in again:

"The browser you're using doesn't support JavaScript, or has JavaScript
turned off.

"To keep your Google Account secure, try signing in on a browser that has
JavaScript turned on."

So apparently I've just lost access to that email address...
(Enabling Netsurf's JavaScript doesn't help.)

--
Harriet Bazley == Loyaulte me lie ==

Reality is for people who can't face science fiction.

Wednesday, 9 January 2019

[gccsdk] Patch to move add_headers() to build-program

Index: build-program
===================================================================
--- build-program (revision 7220)
+++ build-program (working copy)
@@ -207,6 +207,33 @@
done
}

+ab_add_headers() {
+ local src_header_dir
+ local dst_header_dir
+ local f
+ local HERE
+
+ src_header_dir=$1
+ dst_header_dir=$2
+
+ HERE=`pwd`
+ cd $src_header_dir
+
+ mkdir -p $dst_header_dir/h
+ for f in *
+ do
+ if [ -d "$f" ] ; then
+ ab_add_headers $src_header_dir/$f $dst_header_dir/$f
+ else
+ filename=$(basename "$f")
+ filename="${filename%.*}"
+ cp -v -T $f $dst_header_dir/h/$filename
+ fi
+ done
+
+ cd $HERE
+}
+
ab_create_sharedlib_skeleton() {
local package

Index: libraries/icu/setvars
===================================================================
--- libraries/icu/setvars (revision 7220)
+++ libraries/icu/setvars (working copy)
@@ -46,29 +46,6 @@
popd > /dev/null
}

-add_headers()
-{
- local src_header_dir
- local dst_header_dir
-
- src_header_dir=$1
- dst_header_dir=$2
-
- HERE=`pwd`
- cd $src_header_dir
-
- mkdir -p $dst_header_dir/h
- for f in *.h
- do
- filename=$(basename "$f")
- filename="${filename%.*}"
- echo cp -T $f $dst_header_dir/h/$filename
- cp -T $f $dst_header_dir/h/$filename
- done
-
- cd $HERE
-}
-
# "make distclean" appears to be broken; it wipes files that subsequent
# makefiles still require, so create our own version. This will be called
# by ab_package_source.
@@ -84,8 +61,8 @@

mkdir -p $A/include/layout $A/include/unicode $A/lib $A/docs

- add_headers $GCCSDK_INSTALL_ENV/include/layout $A/include/layout
- add_headers $GCCSDK_INSTALL_ENV/include/unicode $A/include/unicode
+ ab_add_headers $GCCSDK_INSTALL_ENV/include/layout $A/include/layout
+ ab_add_headers $GCCSDK_INSTALL_ENV/include/unicode $A/include/unicode

cp $GCCSDK_INSTALL_ENV/lib/libicudata.a $A/lib
cp $GCCSDK_INSTALL_ENV/lib/libicui18n.a $A/lib
Index: libraries/libssl1.0.2/setvars
===================================================================
--- libraries/libssl1.0.2/setvars (revision 7220)
+++ libraries/libssl1.0.2/setvars (working copy)
@@ -90,37 +90,10 @@
popd > /dev/null
}

-add_headers()
-{
- local src_header_dir
- local dst_header_dir
-
- src_header_dir=$1
- dst_header_dir=$2
-
- HERE=`pwd`
- cd $src_header_dir
-
- mkdir -p $dst_header_dir/h
- for f in *
- do
- if [ -d "$f" ] ; then
- add_headers $src_header_dir/$f $dst_header_dir/$f
- else
- filename=$(basename "$f")
- extension="${filename##*.}"
- filename="${filename%.*}"
- cp -v -T $f $dst_header_dir/h/$filename
- fi
- done
-
- cd $HERE
-}
-
ab_package() {
ab_create_command_app LibSSL Apps/Library libssl-dev

- add_headers $GCCSDK_INSTALL_ENV/include/openssl $A
+ ab_add_headers $GCCSDK_INSTALL_ENV/include/openssl $A
cp $S/static-build/*.a $A

touch $S/Makefile
Index: libraries/sdl/libsdl2/setvars
===================================================================
--- libraries/sdl/libsdl2/setvars (revision 7220)
+++ libraries/sdl/libsdl2/setvars (working copy)
@@ -20,34 +20,6 @@
$AB_CONFIG --prefix=$GCCSDK_INSTALL_ENV/vfp --enable-video-opengles --disable-video-x11 \
--disable-file --disable-haptic --enable-audio --enable-oss

-add_headers()
-{
- local src_header_dir
- local dst_header_dir
- local f
- local HERE
-
- src_header_dir=$1
- dst_header_dir=$2
-
- HERE=`pwd`
- cd $src_header_dir
-
- mkdir -p $dst_header_dir/h
- for f in *
- do
- if [ -d "$f" ] ; then
- add_headers $src_header_dir/$f $dst_header_dir/$f
- else
- filename=$(basename "$f")
- filename="${filename%.*}"
- cp -v -T $f $dst_header_dir/h/$filename
- fi
- done
-
- cd $HERE
-}
-
ab_package() {
if [ "$RO_SHAREDLIBS" == "yes" ] ; then
ab_create_sharedlib_skeleton libsdl2
@@ -61,7 +33,7 @@

ab_create_app LibSDL2 Apps/Library libsdl2-dev

- add_headers $GCCSDK_INSTALL_ENV/vfp/include/SDL2 $A/SDL2
+ ab_add_headers $GCCSDK_INSTALL_ENV/vfp/include/SDL2 $A/SDL2
if [ -d "$S/build/.libs/" ]; then
cp -f $S/build/.libs/*.a $A
else
Index: media/libvorbis0a/setvars
===================================================================
--- media/libvorbis0a/setvars (revision 7220)
+++ media/libvorbis0a/setvars (working copy)
@@ -31,34 +31,6 @@
:
}

-add_headers()
-{
- local src_header_dir
- local dst_header_dir
- local f
- local HERE
-
- src_header_dir=$1
- dst_header_dir=$2
-
- HERE=`pwd`
- cd $src_header_dir
-
- mkdir -p $dst_header_dir/h
- for f in *
- do
- if [ -d "$f" ] ; then
- add_headers $src_header_dir/$f $dst_header_dir/$f
- else
- filename=$(basename "$f")
- filename="${filename%.*}"
- cp -v -T $f $dst_header_dir/h/$filename
- fi
- done
-
- cd $HERE
-}
-
ab_package() {
if [ "$RO_SHAREDLIBS" == "yes" ] ; then
if [ "$BUILD_NORMAL" == "yes" ] ; then
@@ -87,7 +59,7 @@

ab_create_app LibVorbis Apps/Library libvorbis-dev

- add_headers $GCCSDK_INSTALL_ENV/include/vorbis $A/vorbis
+ ab_add_headers $GCCSDK_INSTALL_ENV/include/vorbis $A/vorbis

if [ "$BUILD_NORMAL" == "yes" ] ; then
if [ -d "$S/build/lib/.libs/" ]; then
Index: system/khronos/setvars
===================================================================
--- system/khronos/setvars (revision 7220)
+++ system/khronos/setvars (working copy)
@@ -1,9 +1,14 @@
AB_GIT=https://github.com/raspberrypi/userland

AB_PVERSION=1.03
-AB_PACKAGES="khronos khronos-lib khronos-dev khronos-examples"
AB_ARCHITECTURE=rpi

+if [ "$RO_SHAREDLIBS" == "yes" ] ; then
+AB_PACKAGES="khronos khronos-lib khronos-dev khronos-examples"
+else
+AB_PACKAGES="khronos khronos-dev khronos-examples"
+fi
+
AB_PRECONF=:

mkdir -p $S/../bcm_host \
@@ -80,34 +85,6 @@
( cd wimp_test; $AB_MAKE )
}

-add_headers()
-{
- local src_header_dir
- local dst_header_dir
- local f
- local HERE
-
- src_header_dir=$1
- dst_header_dir=$2
-
- HERE=`pwd`
- cd $src_header_dir
-
- mkdir -p $dst_header_dir/h
- for f in *
- do
- if [ -d "$f" ] ; then
- add_headers $src_header_dir/$f $dst_header_dir/$f
- else
- filename=$(basename "$f")
- filename="${filename%.*}"
- cp -v -T $f $dst_header_dir/h/$filename
- fi
- done
-
- cd $HERE
-}
-
ab_package() {
if [ "$RO_SHAREDLIBS" == "yes" ] ; then
ab_create_sharedlib_skeleton khronos-lib
@@ -185,14 +162,14 @@
AB_COMPONENTS=""
ab_create_app Khronos Apps/Library khronos-dev

- add_headers $GCCSDK_INSTALL_ENV/vfp/include/EGL $A/EGL
- add_headers $GCCSDK_INSTALL_ENV/vfp/include/GLES $A/GLES
- add_headers $GCCSDK_INSTALL_ENV/vfp/include/GLES2 $A/GLES2
- add_headers $GCCSDK_INSTALL_ENV/vfp/include/VG $A/VG
- add_headers $GCCSDK_INSTALL_ENV/vfp/include/WF $A/WF
- add_headers $GCCSDK_INSTALL_ENV/vfp/include/KHR $A/KHR
- add_headers $GCCSDK_INSTALL_ENV/vfp/include/vcinclude $A/vcinclude
- add_headers $GCCSDK_INSTALL_ENV/vfp/include/interface $A/interface
+ ab_add_headers $GCCSDK_INSTALL_ENV/vfp/include/EGL $A/EGL
+ ab_add_headers $GCCSDK_INSTALL_ENV/vfp/include/GLES $A/GLES
+ ab_add_headers $GCCSDK_INSTALL_ENV/vfp/include/GLES2 $A/GLES2
+ ab_add_headers $GCCSDK_INSTALL_ENV/vfp/include/VG $A/VG
+ ab_add_headers $GCCSDK_INSTALL_ENV/vfp/include/WF $A/WF
+ ab_add_headers $GCCSDK_INSTALL_ENV/vfp/include/KHR $A/KHR
+ ab_add_headers $GCCSDK_INSTALL_ENV/vfp/include/vcinclude $A/vcinclude
+ ab_add_headers $GCCSDK_INSTALL_ENV/vfp/include/interface $A/interface

# Remove empty directories created above.
rmdir $A/interface/h

Hi

This patch moves the various implementations of add_headers to build-program in an attempt to reduce duplication between recipes.

Regards
Cameron

[gccsdk] Patch to improve fetching from Git or Mercurial repositories

Index: develop/cppcheck/preprocess
===================================================================
--- develop/cppcheck/preprocess (revision 7220)
+++ develop/cppcheck/preprocess (nonexistent)
@@ -1 +0,0 @@
-git checkout tags/1.85
Index: develop/cppcheck/setvars
===================================================================
--- develop/cppcheck/setvars (revision 7220)
+++ develop/cppcheck/setvars (working copy)
@@ -1,5 +1,6 @@

AB_GIT=https://github.com/danmar/cppcheck.git
+AB_GIT_TAGORBRANCH=1.85


AB_PVERSION=1.85
AB_ROVERSION=1
Index: fetch-program
===================================================================
--- fetch-program (revision 7220)
+++ fetch-program (working copy)
@@ -23,8 +23,10 @@
fi
fi
AB_GIT=$(grep ^AB_GIT $AB_HOME/$AB_PACKAGEDIR/setvars 2>/dev/null | cut -d = -f 2-)
+AB_GIT_TAGORBRANCH=$(grep ^AB_GIT_TAGORBRANCH $AB_HOME/$AB_PACKAGEDIR/setvars 2>/dev/null | cut -d = -f 2-)
AB_URL=$(grep ^AB_URL $AB_HOME/$AB_PACKAGEDIR/setvars 2>/dev/null | cut -d = -f 2-)
AB_HG=$(grep ^AB_HG $AB_HOME/$AB_PACKAGEDIR/setvars 2>/dev/null | cut -d = -f 2-)
+AB_HG_BRANCH=$(grep ^AB_HG_BRANCH $AB_HOME/$AB_PACKAGEDIR/setvars 2>/dev/null | cut -d = -f 2-)
AB_NOREMOTE=$(grep ^AB_NOREMOTE $AB_HOME/$AB_PACKAGEDIR/setvars 2>/dev/null | cut -d = -f 2-)

if [ "$AB_CVS_ROOT" != "" ] ; then
@@ -43,7 +45,20 @@
svn co -q $AB_SVN

elif [ "$AB_GIT" != "" ] ; then
- git clone $AB_GIT
+ AB_GITTMP=(${AB_GIT//[\'\"]/})
+ AB_GITTMP[1]=`basename ${AB_GITTMP[0]%.git}`
+ if [ -e "${AB_GITTMP[1]}/.git" ] ; then
+ cd ${AB_GITTMP[1]}
+ echo "doing git checkout -- ."
+ git checkout -- .
+ cd ..
+ else
+ if [ ! -z "$AB_GIT_TAGORBRANCH" ] ; then
+ AB_GIT_TAGORBRANCH="-b $AB_GIT_TAGORBRANCH"
+ fi
+ echo "doing git clone $AB_GIT $AB_GIT_TAGORBRANCH"
+ git clone $AB_GIT $AB_GIT_TAGORBRANCH
+ fi

elif [ "$AB_HG" != "" ] ; then
AB_HGTMP=(${AB_HG//[\'\"]/})
@@ -55,8 +70,11 @@
hg update -C
cd ..
else
- echo "doing hg clone $AB_HG"
- hg clone $AB_HG
+ if [ ! -z "$AB_HG_BRANCH" ] ; then
+ AB_HG_BRANCH="-r $AB_HG_BRANCH"
+ fi
+ echo "doing hg clone $AB_HG $AB_HG_BRANCH"
+ hg clone $AB_HG $AB_HG_BRANCH
fi

elif [ "$AB_URL" != "" ] ; then
@@ -87,7 +105,7 @@
fi

elif [ "$AB_NOREMOTE" == "yes" ] ; then
- mkdir $AB_PACKAGE
+ mkdir -p $AB_PACKAGE

else
if [ "$AB_USEAPT" == "yes" ] && [ -x /usr/bin/apt-get ] ; then
Index: libraries/network/mbedtls/setvars
===================================================================
--- libraries/network/mbedtls/setvars (revision 7220)
+++ libraries/network/mbedtls/setvars (working copy)
@@ -1,5 +1,7 @@
#AB_URL=https://tls.mbed.org/download/mbedtls-2.8.0-apache.tgz
AB_GIT=https://github.com/ARMmbed/mbedtls.git
+# use master branch, not development
+AB_GIT_TAGORBRANCH=master
AB_CATEGORY=Library
AB_PACKAGE=mbedtls

@@ -29,8 +31,6 @@

}

-# use master branch, not development
-git checkout master
# extract version number from source code
MB_TREE=.
MB_VERSION=$(awk 'match($0, /\yMBEDTLS_VERSION_STRING\y/){print $3}' $MB_TREE/include/mbedtls/version.h)
Hi

This patch does two things:

 - If a git repository has been cloned previously, the repository will be reset rather than trying and failing to clone the repository again.
 - Two new keywords - AB_GIT_TAGORBRANCH and AB_HG_BRANCH have been added to checkout tags or branches with Git and Mercurial respectively.

Regards
Cameron

Monday, 7 January 2019

Netsurf on Buildroot

Netsurf is now available on Buildroot (https://buildroot.org).
See https://git.busybox.net/buildroot/tree/package/netsurf
Some of the needed patches could be easily upstreamed.

François