Skip to content

Commit

Permalink
Merge pull request #25 from adamyg/topic/build-24
Browse files Browse the repository at this point in the history
Topic/build 24
  • Loading branch information
adamyg authored Oct 19, 2022
2 parents 93ac4af + 6126296 commit 9699b1f
Show file tree
Hide file tree
Showing 201 changed files with 13,577 additions and 6,073 deletions.
10 changes: 3 additions & 7 deletions .github/PULL_REQUEST_TEMPLATE.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,5 @@
<!-- Please read the contribution guidelines before submitting a pull request. -->
<!-- By submitting this pull request, you agree that your contributions are
licensed under the Grief license, and agree to future changes to the
licensing. -->
<!-- If you're a first-time contributor, please acknowledge it by
leaving the statement below. -->
<!-- By submitting this pull request, you agree that your contributions are licensed under the Grief license, and agree to future changes to the licensing. -->
<!-- If you're a first-time contributor, please acknowledge it by leaving the statement below. -->

I agree that my contributions are licensed under the Grief license,
and agree to future changes to the licensing.
I agree that my contributions are licensed under the Grief license and agree to future changes to the licensing.
52 changes: 49 additions & 3 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,13 @@ jobs:
toolchain: gcc,
toolversion: gcc
}

- {
name: "MacOS Latest GCC",
os: macos-latest,
toolchain: gcc,
toolversion: gcc
}

steps:

- name: Checkout repository
Expand Down Expand Up @@ -63,6 +69,27 @@ jobs:
version: "2.0"
location: "C:\\Watcom"

- name: Ubuntu, setup
if: startsWith(matrix.config.name, 'Ubuntu Latest')
shell: bash
run: |
sudo apt-get install -y libncurses-dev
sudo apt-get install -y libncursesw5-dev
sudo apt-get install -y libenchant-2-dev
sudo apt-get install -y libaspell-dev
sudo apt-get install -y libhunspell-dev
sudo apt-get install -y libenca-dev
sudo apt-get install -y libguess-dev
sudo apt-get install -y libexplain-dev
sudo apt-get install -y libarchive-dev
- name: MacOS, setup
if: startsWith(matrix.config.name, 'MacOS Latest')
shell: bash
run: |
brew install wget
brew install libarchive
- name: Windows, generate
if: startsWith(matrix.config.name, 'Windows Latest')
shell: cmd
Expand All @@ -72,7 +99,7 @@ jobs:
@if "${{ matrix.config.toolchain }}"=="owc20" call .\support\owc20setenv.bat C:\Watcom
@if NOT "${{ matrix.config.toolchain }}"=="mingw64" c:\msys64\usr\bin\pacman --noconfirm -S bison
@set PERL=c:/Strawberry/perl/bin/perl
c:/Strawberry/perl/bin/perl makelib.pl --perlpath=c:/Strawberry/perl/bin --busybox=./win32/busybox --wget=./win32/wget --bison=c:/msys64/usr/bin/bison --flex=./bin/flex --verbose "${{ matrix.config.toolchain }}"
c:/Strawberry/perl/bin/perl makelib.pl --perlpath=c:/Strawberry/perl/bin --busybox=./win32/busybox --wget=./win32/wget --bison=c:/msys64/usr/bin/bison --flex=./bin.${{ matrix.config.toolchain }}/flex "${{ matrix.config.toolchain }}"
- name: Windows, compile
if: startsWith(matrix.config.name, 'Windows Latest')
Expand All @@ -97,9 +124,28 @@ jobs:
run: |
make release
- name: MacOS, generate
if: startsWith(matrix.config.name, 'MacOS Latest')
shell: bash
run: |
export CPATH=$(brew --prefix libarchive)/include:/usr/local/include:$CPATH
export CPPPATH=$(brew --prefix libarchive)/include:/usr/local/include:$CPATH
export LIBRARY_PATH=$(brew --prefix libarchive)/lib:/usr/local/lib:$LIBRARY_PATH
export LD_LIBRARY_PATH=$(brew --prefix libarchive)/lib:/usr/local/lib:$LD_LIBRARY_PATH
./support/config_withncurses
- name: MacOS, compile
if: startsWith(matrix.config.name, 'MacOS Latest')
shell: bash
run: |
export CPATH=$(brew --prefix libarchive)/include:/usr/local/include:$CPATH
export CPPPATH=$(brew --prefix libarchive)/include:/usr/local/include:$CPATH
export LIBRARY_PATH=$(brew --prefix libarchive)/lib:/usr/local/lib:$LIBRARY_PATH
export LD_LIBRARY_PATH=$(brew --prefix libarchive)/lib:/usr/local/lib:$LD_LIBRARY_PATH
make release
- name: Package
uses: actions/upload-artifact@v2
with:
name: package-${{ matrix.config.toolchain }}
path: ./bin.${{ matrix.config.toolversion }}/release/*

2 changes: 1 addition & 1 deletion BUILDNUMBER.in
Original file line number Diff line number Diff line change
@@ -1 +1 @@
22
24
40 changes: 40 additions & 0 deletions Changes
Original file line number Diff line number Diff line change
@@ -1,5 +1,45 @@
-*- encoding: utf-8; -*-

* BUILD 24, version: 3.2.2

Sun Aug 28 20:44:56 2022 adamy

* html/xml

o tag matching/hiliting syntax flags

- SYNF_HTMLTAG
- SYNF_XMLTAG

o void tags

Wed Aug 10 22:52:02 2022 adamy

* syntax

o syntax_find - syntax aware brace matching.

- BF_SYNTAX_MATCH buffer flag, bufinfo
- find_matching_brace

* dfa, accept2 state processing.

* tickets #19, #22

* bug-fixes

- window sizing issues
- cmdline nesting
- llong handling

Mon Jul 11 22:05:51 2022 adamy

* INSTALLation documentation updated; install interface cleanup.

* new modes and updated modes; json, cmake and protobuf.

* keyword pattern/wild-card support; libtrie

Sat May 28 16:52:13 2022 adamy

* hunspell-1.7.0
Expand Down
100 changes: 41 additions & 59 deletions INSTALL
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
For installation notes relating to specific systems, please skip to the next
section of this document.

-------
-------

This is GRIEF 3.2.1, a derivative of the Crisp editor for various UNIX platforms
written and released by Paul Fox some 22 years ago and made available on the
Expand Down Expand Up @@ -32,7 +32,7 @@

Notes:

o gmake bundled with gnuwin32 is 3.81 wont function correctly as
o gmake bundled with gnuwin32 is 3.81 wont function correctly as
GNU make 4.0 or greater shall be required to build several contrib packages.

Advise using 'win32/gmake-4.2.exe'.
Expand All @@ -48,39 +48,46 @@

perl makelib.pl [--gnuwin32=<path-gnuwin32-bin>] vc

Note: If you dont have perl available, download and install the WIN32
Note: If you dont have perl available, download and install the WIN32
version of ActivePerl.

c. Build the entire tree with:

gmake
or win32\gmake-42

d. Note that the default installation paths (compiled into GRIEF, but
d. Note that the default installation paths (compiled into GRIEF, but
may be overridden with environment variables or command line) are:

executables /Program Files/Grief/bin
help files /Program Files/Grief/help
compiled macros /Program Files/Grief/macros
macro source /Program Files/Grief/macsrc

These can be modified in the makefiles after configure has run and
before 'make'. Makefiles using these paths are the main Makefile,
These can be modified in the makefiles after configure has run and
before 'make'. Makefiles using these paths are the main Makefile,
and the one within gr/Makefile.

f. To install, type:

gmake install
gmake release install

Options:
INSTALL_MODE=mode mode override (default=0755)
INSTALL_OPTIONS=options additional installation options.

Example:
gmake INSTALL_OPTIONS="-g users" release install

e. To build the documentation in html and pdf forms

install https://wkhtmltopdf.org/downloads.html

cd hlpdoc
makehtml
makepdf

On WIN32 using OpenWatcom 1.9 or 2.0 (beta at your caution), build by the following these steps:
On WIN32 using OpenWatcom 1.9 or 2.0, build by the following these steps:

Follow the MSVC build notes, but execute 'makelib.lib' stating
the use of the OpenWatcom tool chain.
Expand All @@ -95,65 +102,40 @@

b. Build the entire tree with:

make

c. To install, type:

make install


On OS2 using gcc, build by the following these steps:

a. Install the entire set of makefiles:

cd OS
config.cmd
cd ..

b. Build the entire tree with:

sh
gmake
exit
make release

c. To install, type:

sh
gmake install
exit

Note:
The OS2 build has not been tested for some time and will
most likely require work.
make release install


On UNIX variations (including cygwin), build by following these steps:

a. Optionally the following external packages can be in additional
functionality; auto-detected during 'conf
a. Optionally the following external packages can be in additional
functionality; auto-detected during 'configure'.

enchant-devel Wrapper library for various s
hunspell-devel Spell checker and morphologic
aspell-devel GNU aspell.
enchant-devel Wrapper library for various s
hunspell-devel Spell checker and morphologic
aspell-devel GNU aspell.

enca-devel Extremely Naive Charset Analy
libguess-devel Speed character set detection
enca-devel Extremely Naive Charset Analyiser
libguess-devel Speed character set detection

libexplain-devel System message add-value.
libexplain-devel System message add-value.

libarchive-devel Archive access.
libicu-devel Character conversion.
libarchive-devel Archive access.
libicu-devel Character conversion.

libbz2-devel bzip compression.
libzstd-devel gz compression.
xz-devel liblzma.
snappy-devel google fast/compressor/decomp
libbz2-devel bzip compression.
libzstd-devel gz compression.
xz-devel liblzma.
snappy-devel google fast/compressor/decomp

plus the following, which are generally available.

ncurses-devel Terminal interface library.
libcurl-devel Network tools.
openssl-devel OpenSSL.
ncurses-devel Terminal interface library.
libcurl-devel Network tools.
openssl-devel OpenSSL.

b. If you're building with a non-standard compiler or one known, by something
other than "cc" or "gcc" then you can set the environment variable "CC" to that.
Expand Down Expand Up @@ -182,7 +164,7 @@

f. Build the entire tree with:

make
make
or make release

g. Note that the default installation paths (compiled into GRIEF, but may be
Expand All @@ -200,9 +182,9 @@

h. To install, type:

make install
make release install

-------
-------

Notes compiling on specific operating systems and configuring for
optimal performance and ease of use on the console:
Expand Down Expand Up @@ -271,7 +253,7 @@ optimal performance and ease of use on the console:
then this library is linked in instead. Note that the routines used here are
the malloc() etc. functions described in the standard c headers.

-------
-------
Terminals

xterm
Expand All @@ -281,7 +263,7 @@ Terminals
rather full keyboard mapping; for example, Shift/Ctrl function keys rarely work
by default. Fortunately, X provides a solution via the ability to remap the
keyboard to suit the application. To provide functionality equivalent to a
console/DOS/OS2 GRIEF, paste contents of the file
console GRIEF, paste contents of the file

EXTRA/xterm.dot.Xresources

Expand All @@ -301,5 +283,5 @@ setting up terminal features.

*Some* of this information may be obsolete, but most of it will be fine.

$Id: INSTALL,v 1.15 2021/06/10 06:13:01 cvsuser Exp $
$Id: INSTALL,v 1.17 2022/07/11 15:04:35 cvsuser Exp $

Loading

0 comments on commit 9699b1f

Please sign in to comment.