Compare commits
5 commits
| Author | SHA1 | Date | |
|---|---|---|---|
| fab84398d3 | |||
| dbd435c667 | |||
| 06bab3321c | |||
| 08e4c27a9b | |||
| df58f72362 |
6 changed files with 28 additions and 50 deletions
41
build.sh
41
build.sh
|
|
@ -1,27 +1,31 @@
|
|||
#!/bin/sh
|
||||
#!/bin/bash
|
||||
|
||||
image="docker.io/antora/antora"
|
||||
cmd="--html-url-extension-style=indexify site.yml"
|
||||
|
||||
if [ "$(uname)" == "Darwin" ]; then
|
||||
if uname | grep -iwq darwin; then
|
||||
# Running on macOS.
|
||||
# Let's assume that the user has the Docker CE installed
|
||||
# which doesn't require a root password.
|
||||
echo ""
|
||||
echo "This build script is using Docker container runtime to run the build in an isolated environment."
|
||||
echo "This build script is using Docker to run the build in an isolated environment."
|
||||
echo ""
|
||||
docker run --rm -it -v $(pwd):/antora $image $cmd
|
||||
docker run --rm -it -v $(pwd):/antora ${image} ${cmd}
|
||||
|
||||
elif [ "$(expr substr $(uname -s) 1 5)" == "Linux" ]; then
|
||||
elif uname | grep -iq linux; then
|
||||
# Running on Linux.
|
||||
# Check whether podman is available, else faill back to docker
|
||||
# Let's assume that it's running the Docker deamon
|
||||
# which requires root.
|
||||
|
||||
if [ -f /usr/bin/podman ]; then
|
||||
if [ -f /usr/local/bin/antora ]; then
|
||||
/usr/local/bin/antora ${cmd}
|
||||
elif uname -m | grep -iwq aarch64; then
|
||||
echo "No antora/aarch64 container try just \`npm install -g @antora/cli @antora/site-generator-default\`"
|
||||
elif [ -f /usr/bin/podman ]; then
|
||||
echo ""
|
||||
echo "This build script is using Podman to run the build in an isolated environment."
|
||||
echo ""
|
||||
podman run --rm -it -v $(pwd):/antora:z $image $cmd
|
||||
podman run --rm -it -v $(pwd):/antora:z ${image} ${cmd}
|
||||
|
||||
elif [ -f /usr/bin/docker ]; then
|
||||
echo ""
|
||||
|
|
@ -29,18 +33,19 @@ elif [ "$(expr substr $(uname -s) 1 5)" == "Linux" ]; then
|
|||
echo ""
|
||||
|
||||
if groups | grep -wq "docker"; then
|
||||
docker run --rm -it -v $(pwd):/antora:z $image $cmd
|
||||
else
|
||||
docker run --rm -it -v $(pwd):/antora:z ${image} ${cmd}
|
||||
else
|
||||
echo "You might be asked for your password."
|
||||
echo "You can avoid this by adding your user to the 'docker' group,"
|
||||
echo "but be aware of the security implications."
|
||||
echo "See https://docs.docker.com/install/linux/linux-postinstall/"
|
||||
echo ""
|
||||
echo "This build script is using $runtime to run the build in an isolated environment. You might be asked for your password."
|
||||
echo "You can avoid this by adding your user to the 'docker' group, but be aware of the security implications. See https://docs.docker.com/install/linux/linux-postinstall/."
|
||||
echo ""
|
||||
sudo docker run --rm -it -v $(pwd):/antora:z $image $cmd
|
||||
fi
|
||||
sudo docker run --rm -it -v $(pwd):/antora:z ${image} ${cmd}
|
||||
fi
|
||||
else
|
||||
echo ""
|
||||
echo "Error: Container runtime haven't been found on your system. Fix it by:"
|
||||
echo "$ sudo dnf install podman"
|
||||
exit 1
|
||||
echo "Error: Container runtime has not been found on your system. Fix it by running this command:"
|
||||
echo "sudo dnf install podman"
|
||||
exit 1
|
||||
fi
|
||||
fi
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
include::{partialsdir}/entities.adoc[]
|
||||
|
||||
[[sect-printing-scanning]]
|
||||
= Printing
|
||||
= Printing and Scanning
|
||||
|
||||
== Added support for driverless printing with Dymo LabelWriter and Zebra ZPL printers
|
||||
|
||||
|
|
@ -9,8 +9,6 @@ Fedora now ships the `lprint` package, which provides driverless support for Dym
|
|||
|
||||
`lprint` is capable of running with CUPS or without CUPS and it provides its own web UI.
|
||||
|
||||
= Scanning
|
||||
|
||||
== Added driverless scanning support for devices with WSD and eSCL protocols
|
||||
|
||||
Fedora now ships the `sane-airscan` package, which provides driverless support for scanners and multi-functions devices, which supports the WSD (WS-Scan) and eSCL (Apple Airscan) protocols.
|
||||
|
|
|
|||
|
|
@ -1,8 +0,0 @@
|
|||
== Deprecated support
|
||||
|
||||
=== Deprecated support for Nose
|
||||
|
||||
Support for Nose is now deprecated. However for now, the python3-nose package continues to be available in the Fedora repositories.
|
||||
No specific release it yet targeted to remove the python3-nose package.
|
||||
|
||||
Users and packagers of dependent packages are encouraged to switch to python3-pytest or python3-nose2.
|
||||
|
|
@ -1,17 +0,0 @@
|
|||
== Packaging changes in clang-libs package
|
||||
|
||||
The clang-libs package now does not include the individual component libraries like libclangBasic.so, libclangAST.so and so on.
|
||||
Packages that depend on the clang libraries are now linked to libclang-cpp.so.
|
||||
|
||||
As a result of this change,
|
||||
|
||||
* There is an improved stability in Fedora and application start-up time.
|
||||
* End-users who develop applications using clang libraries must update their applications to use libclang-cpp.so instead of the individual component libraries.
|
||||
However, the end-users using Fedora packages that depend on clang libraries do not have any impact of this change.
|
||||
|
||||
|
||||
== Added support for AArch64 and ppc64le packages with extended availability of FPC-dependent packages
|
||||
|
||||
An updated version (3.2.0) of Free Pascal Compiler is now available with Fedora 32.
|
||||
With the updated Free Pascal Compiler you can now build the AArch64 and ppc64le packages.
|
||||
Also, the Free Pascal Compiler now supports new architectures. As a result, the programs that are compiled using FPC are available to run on more architectures that Fedora supports.
|
||||
|
|
@ -1,13 +1,13 @@
|
|||
#!/bin/sh
|
||||
|
||||
if [ "$(uname)" == "Darwin" ]; then
|
||||
if [ "$(uname)" = "Darwin" ]; then
|
||||
# Running on macOS.
|
||||
# Let's assume that the user has the Docker CE installed
|
||||
# which doesn't require a root password.
|
||||
echo "The preview will be available at http://localhost:8080/"
|
||||
docker run --rm -v $(pwd):/antora:ro -v $(pwd)/nginx.conf:/etc/nginx/conf.d/default.conf:ro -p 8080:80 nginx
|
||||
|
||||
elif [ "$(expr substr $(uname -s) 1 5)" == "Linux" ]; then
|
||||
elif [ "$(expr substr "$(uname -s)" 1 5)" = "Linux" ]; then
|
||||
# Running on Linux.
|
||||
# Fedora Workstation has python3 installed as a default, so using that
|
||||
echo ""
|
||||
|
|
|
|||
4
site.yml
4
site.yml
|
|
@ -1,6 +1,6 @@
|
|||
site:
|
||||
title: Local Preview
|
||||
start_page: fedora:release-notes:index
|
||||
start_page: fedora:release-notes:index.adoc
|
||||
content:
|
||||
sources:
|
||||
- url: .
|
||||
|
|
@ -18,5 +18,5 @@ output:
|
|||
destinations:
|
||||
- provider: archive
|
||||
runtime:
|
||||
pull: true
|
||||
fetch: true
|
||||
cache_dir: ./cache
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue