[docs] Change mxml to libxml2

This commit is contained in:
ejurgensen 2024-05-29 22:54:58 +02:00
parent b6ee09925b
commit f6ee669b80
3 changed files with 6 additions and 8 deletions

View File

@ -15,7 +15,7 @@ sudo apt-get install \
build-essential git autotools-dev autoconf automake libtool gettext gawk \ build-essential git autotools-dev autoconf automake libtool gettext gawk \
gperf bison flex libconfuse-dev libunistring-dev libsqlite3-dev \ gperf bison flex libconfuse-dev libunistring-dev libsqlite3-dev \
libavcodec-dev libavformat-dev libavfilter-dev libswscale-dev libavutil-dev \ libavcodec-dev libavformat-dev libavfilter-dev libswscale-dev libavutil-dev \
libasound2-dev libmxml-dev libgcrypt20-dev libavahi-client-dev zlib1g-dev \ libasound2-dev libxml2-dev libgcrypt20-dev libavahi-client-dev zlib1g-dev \
libevent-dev libplist-dev libsodium-dev libjson-c-dev libwebsockets-dev \ libevent-dev libplist-dev libsodium-dev libjson-c-dev libwebsockets-dev \
libcurl4-openssl-dev libprotobuf-c-dev libcurl4-openssl-dev libprotobuf-c-dev
``` ```
@ -73,7 +73,7 @@ will need ffmpeg. You can google how to do that. Then run:
```bash ```bash
sudo dnf install \ sudo dnf install \
git automake autoconf gettext-devel gperf gawk libtool bison flex \ git automake autoconf gettext-devel gperf gawk libtool bison flex \
sqlite-devel libconfuse-devel libunistring-devel mxml-devel libevent-devel \ sqlite-devel libconfuse-devel libunistring-devel libxml2-devel libevent-devel \
avahi-devel libgcrypt-devel zlib-devel alsa-lib-devel ffmpeg-devel \ avahi-devel libgcrypt-devel zlib-devel alsa-lib-devel ffmpeg-devel \
libplist-devel libsodium-devel json-c-devel libwebsockets-devel \ libplist-devel libsodium-devel json-c-devel libwebsockets-devel \
libcurl-devel protobuf-c-devel libcurl-devel protobuf-c-devel
@ -137,11 +137,9 @@ Install MacPorts (which requires Xcode): <https://www.macports.org/install.php>
sudo port install \ sudo port install \
autoconf automake libtool pkgconfig git gperf bison flex libgcrypt \ autoconf automake libtool pkgconfig git gperf bison flex libgcrypt \
libunistring libconfuse ffmpeg libevent json-c libwebsockets curl \ libunistring libconfuse ffmpeg libevent json-c libwebsockets curl \
libplist libsodium protobuf-c libplist libsodium protobuf-c libxml2
``` ```
Download, configure, build, and install the [Mini-XML library](https://www.msweet.org/mxml/)
Download, configure, build and install the [libinotify-kqueue library](https://github.com/libinotify-kqueue/libinotify-kqueue) Download, configure, build and install the [libinotify-kqueue library](https://github.com/libinotify-kqueue/libinotify-kqueue)
Add the following to `.bashrc`: Add the following to `.bashrc`:
@ -226,7 +224,7 @@ Libraries:
- [FFmpeg](https://ffmpeg.org/) - [FFmpeg](https://ffmpeg.org/)
- [libconfuse](https://github.com/libconfuse/libconfuse) - [libconfuse](https://github.com/libconfuse/libconfuse)
- [libevent](https://libevent.org/) 2.1.4+ - [libevent](https://libevent.org/) 2.1.4+
- [Mini-XML](https://www.msweet.org/mxml/) (aka mxml or libmxml) - [libxml2](https://gitlab.gnome.org/GNOME/libxml2)
- [Libgcrypt](https://gnupg.org/software/libgcrypt/) 1.2.0+ - [Libgcrypt](https://gnupg.org/software/libgcrypt/) 1.2.0+
- [zlib](https://zlib.net/) - [zlib](https://zlib.net/)
- [libunistring](https://www.gnu.org/software/libunistring/) 0.9.3+ - [libunistring](https://www.gnu.org/software/libunistring/) 0.9.3+

View File

@ -19,7 +19,7 @@ Url: https://github.com/owntone/owntone-server
Source0: https://github.com/owntone/%{name}/archive/%{version}/%{name}-%{version}.tar.xz Source0: https://github.com/owntone/%{name}/archive/%{version}/%{name}-%{version}.tar.xz
%{?systemd_ordering} %{?systemd_ordering}
BuildRequires: gcc, make, bison, flex, systemd, pkgconfig, libunistring-devel BuildRequires: gcc, make, bison, flex, systemd, pkgconfig, libunistring-devel
BuildRequires: pkgconfig(zlib), pkgconfig(libconfuse), pkgconfig(mxml) BuildRequires: pkgconfig(zlib), pkgconfig(libconfuse), pkgconfig(libxml2)
BuildRequires: pkgconfig(sqlite3) >= 3.5.0, pkgconfig(libevent) >= 2.0.0 BuildRequires: pkgconfig(sqlite3) >= 3.5.0, pkgconfig(libevent) >= 2.0.0
BuildRequires: pkgconfig(json-c), libgcrypt-devel >= 1.2.0 BuildRequires: pkgconfig(json-c), libgcrypt-devel >= 1.2.0
BuildRequires: libgpg-error-devel >= 1.6 BuildRequires: libgpg-error-devel >= 1.6

View File

@ -20,7 +20,7 @@ if [ "$yn" != "y" ]; then
fi fi
DEPS="gmake autoconf automake libtool gettext gperf glib pkgconf wget git \ DEPS="gmake autoconf automake libtool gettext gperf glib pkgconf wget git \
ffmpeg libconfuse libevent mxml libgcrypt libunistring libiconv curl \ ffmpeg libconfuse libevent libxml2 libgcrypt libunistring libiconv curl \
libplist libinotify avahi sqlite3 alsa-lib libsodium json-c libwebsockets libplist libinotify avahi sqlite3 alsa-lib libsodium json-c libwebsockets
protobuf-c bison flex" protobuf-c bison flex"
echo "The script can install the following dependency packages for you:" echo "The script can install the following dependency packages for you:"