IBM i Open Source Updates May 2021

May updates at the same time as April updates? Madness, I say!

New Packages

HarfBuzz

HarfBuzz is a text shaping library with quite a unique name.

I mentioned in April’s update that Pango used Harfbuzz for complex text shaping. Well, apparently in our haste to ship Pango we forgot to ship harfbuzz too. Whoops!

GNU IDN Library

GNU IDN is a library which implements functions for handling internationalized hostnames. For example, this allows proper handling of the host name <räksmörgås.josefsson.org>

Package Updates

Ccache

Ccache now supports being used with GCC 10.

cURL

Curl has been built with brotli and libidn2, so these examples now work properly:

$ curl –compressed https://httpbin.org/brotli
{
“brotli”: true,
“headers”: {
“Accept”: “*/*”,
“Accept-Encoding”: “deflate, gzip, br”,
“Host”: “httpbin.org”,
“User-Agent”: “curl/7.76.1”,
“X-Amzn-Trace-Id”: “Root=1-60ba8841-79dfa33d6c5a76b85b1d5863”
},
“method”: “GET”,
“origin”: “206.9.215.19”
}

curl -s ‘https://räksmörgås.josefsson.org/’ | head
<!DOCTYPE HTML PUBLIC “-//W3C//DTD HTML 3.2 Final//EN”>
<html>
<meta http-equiv=”Content-Type” content=”text/html; charset=utf-8″>
<head>
<title>Räksmörgås.josefßon.org aka xn--rksmrgs-5wao1o.josefsson.org</title>
</head>

<body>

<h1>Räksmörgås.josefßon.org aka xn--rksmrgs-5wao1o.josefsson.org</h1>

Node.js 10, 12, 14

Versions of Node.js built on IBM i w/ GCC 6 cause the Node binary to export two C++ standard library functions. These functions are listed in node.exp, which is used for building C/C++ Node.js extensions. On Node.js 16, which is built with GCC 10, these functions are no longer exported by the node binary, causing problems for any extentions that expect the node binary to provide these functions (such as idb-connector).

Node.js 10, 12, and 14 have been patched to no longer list these functions in the node.exp file. A version of idb-connector which is built with these fixed Node.js builds should be available shortly.

Other Updates

openssl was updated to 1.1.1k.

Closing

Slower month in May, but still important updates.

FormaServe – How to get the BBC News Feeds in a RPG program on the IBM i.

In this short How To …. On IBM i Video set, we will be taking a look at how to show the BBC news feeds in a RPG program using embedded SQL.

We will be using the DB2 for IBM i HTTP Services to get the news feeds and then format them so our RPG program can display them/

Check out our Git Hub repository for all the source code, RPG, SQL and the display file, and lots more. It can be found at https://github.com/AndyYouens/f_Learning

— Contents —

00:00 – Intro
00:38 – What we trying to do?
01:08 – Configure Hot Spots in a 5250 session
01:22 – Your IBM i needs to talk to the BBC
01:53 – What are news feeds (RSS)
03:30 – DB2 HTTP Services
04:26 – SYSTOOLS Pr-req’s
05:18 – ACS Schemas
06:14 – Using HTTPGETBLOB
06:48 – Getting the XML from the News Feed
07:33 – Using SQL XMLTABLE & XMLPARSE functions
08:21 – 5250 Display file for the feeds
08:51 – RPGLE Program to display the feeds
10:50 – Check out learning.formaserve.co.uk & Powerwire.eu
11:14 – Wrap Up!

Verified by MonsterInsights