Added FreeRDP package.

This commit is contained in:
Krizsán Péter 2022-03-01 16:25:58 +01:00
parent 0e40cecd2b
commit 2abd816415
2 changed files with 114 additions and 14 deletions

View File

@ -1,15 +1,18 @@
#! /bin/bash
#!/bin/bash
cp -v libtorrent-rasterbar-2.0.5-update-allocator-sizes-for-boost-1.78.patch /sources
cp -v networking/netlibs/libtorrent-rasterbar.xml ../blfs_root/blfs-xml/networking/netlibs
cp -v xsoft/other/qbittorrent.xml ../blfs_root/blfs-xml/xsoft/other
cp -v multimedia/libdriv/libid3tag.xml ../blfs_root/blfs-xml/multimedia/libdriv
cp -v server/other/minidlna.xml ../blfs_root/blfs-xml/server/other
sed -i '/libtirpc.xml.*/a <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="libtorrent-rasterbar.xml"/>' ../blfs_root/blfs-xml/networking/netlibs/netlibs.xml
sed -i '/pidgin.xml.*/a <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="qbittorrent.xml"/>' ../blfs_root/blfs-xml/xsoft/other/other.xml
sed -i '/libmad.xml.*/i <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="libid3tag.xml"/>' ../blfs_root/blfs-xml/multimedia/libdriv/libdriv.xml
sed -i '/openldap.xml.*/i <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="minidlna.xml"/>' ../blfs_root/blfs-xml/server/other/other.xml
sed -i '/libtirpc-version.*/a <!ENTITY libtorrent-rasterbar-version "2.0.5">' ../blfs_root/blfs-xml/packages.ent
sed -i '/pidgin-version.*/a <!ENTITY qbittorrent-version "4.4.1">' ../blfs_root/blfs-xml/packages.ent
sed -i '/libmad-version.*/i <!ENTITY libid3tag-version "0.15.1b">' ../blfs_root/blfs-xml/packages.ent
sed -i '/openldap-version.*/i <!ENTITY minidlna-version "1.3.0">' ../blfs_root/blfs-xml/packages.ent
cp -fv libtorrent-rasterbar-2.0.5-update-allocator-sizes-for-boost-1.78.patch /sources
cp -fv networking/netlibs/libtorrent-rasterbar.xml ../blfs_root/blfs-xml/networking/netlibs
cp -fv xsoft/other/qbittorrent.xml ../blfs_root/blfs-xml/xsoft/other
cp -fv xsoft/other/freerdp.xml ../blfs_root/blfs-xml/xsoft/other
cp -fv multimedia/libdriv/libid3tag.xml ../blfs_root/blfs-xml/multimedia/libdriv
cp -fv server/other/minidlna.xml ../blfs_root/blfs-xml/server/other
grep -qF libtorrent-rasterbar.xml ../blfs_root/blfs-xml/networking/netlibs/netlibs.xml || sed -i '/<\/chapter>.*/i <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="libtorrent-rasterbar.xml"/>' ../blfs_root/blfs-xml/networking/netlibs/netlibs.xml
grep -qF freerdp.xml ../blfs_root/blfs-xml/xsoft/other/other.xml || sed -i '/<\/chapter>.*/i <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="freerdp.xml"/>' ../blfs_root/blfs-xml/xsoft/other/other.xml
grep -qF qbittorrent.xml ../blfs_root/blfs-xml/xsoft/other/other.xml || sed -i '/<\/chapter>.*/i <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="qbittorrent.xml"/>' ../blfs_root/blfs-xml/xsoft/other/other.xml
grep -qF libid3tag.xml ../blfs_root/blfs-xml/multimedia/libdriv/libdriv.xml || sed -i '/<\/chapter>.*/i <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="libid3tag.xml"/>' ../blfs_root/blfs-xml/multimedia/libdriv/libdriv.xml
grep -qF minidlna.xml ../blfs_root/blfs-xml/server/other/other.xml || sed -i '/<\/chapter>.*/i <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="minidlna.xml"/>' ../blfs_root/blfs-xml/server/other/other.xml
grep -qF libtorrent-rasterbar-version ../blfs_root/blfs-xml/packages.ent || echo '<!ENTITY libtorrent-rasterbar-version "2.0.5">' >> ../blfs_root/blfs-xml/packages.ent
grep -qF freerdp-version ../blfs_root/blfs-xml/packages.ent || echo '<!ENTITY freerdp-version "2.6.0">' >> ../blfs_root/blfs-xml/packages.ent
grep -qF qbittorrent-version ../blfs_root/blfs-xml/packages.ent || echo '<!ENTITY qbittorrent-version "4.4.1">' >> ../blfs_root/blfs-xml/packages.ent
grep -qF libid3tag-version ../blfs_root/blfs-xml/packages.ent || echo '<!ENTITY libid3tag-version "0.15.1b">' >> ../blfs_root/blfs-xml/packages.ent
grep -qF minidlna-version ../blfs_root/blfs-xml/packages.ent || echo '<!ENTITY minidlna-version "1.3.0">' >> ../blfs_root/blfs-xml/packages.ent

97
xsoft/other/freerdp.xml Normal file
View File

@ -0,0 +1,97 @@
<?xml version="1.0" encoding="ISO-8859-1"?>
<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
"http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
<!ENTITY % general-entities SYSTEM "../../general.ent">
%general-entities;
<!ENTITY freerdp-download-http "https://github.com/FreeRDP/FreeRDP/releases/download/2.6.0/freerdp-2.6.0.tar.gz">
<!ENTITY freerdp-download-ftp " ">
<!ENTITY freerdp-md5sum "3cd5128bc1e6b3822bb84def76245808">
<!ENTITY freerdp-size "4.6 MB">
<!ENTITY freerdp-buildsize "500 MB">
<!ENTITY freerdp-time "2 SBU (using parallelism=4)">
]>
<sect1 id="freerdp" xreflabel="FreeRDP-&freerdp-version;">
<?dbhtml filename="freerdp.html"?>
<sect1info>
<date>$Date$</date>
</sect1info>
<title>FreeRDP-&freerdp-version;</title>
<indexterm zone="freerdp">
<primary sortas="a-FreeRDP">FreeRDP</primary>
</indexterm>
<sect2 role="package">
<title>Introduction to FreeRDP</title>
<para>
<application>FreeRDP</application> is a free implementation of the Remote Desktop Protocol (RDP), released under the Apache license. Enjoy the freedom of using your software wherever you want, the way you want it, in a world where interoperability can finally liberate your computing experience.
</para>
<bridgehead renderas="sect3">Package Information</bridgehead>
<itemizedlist spacing="compact">
<listitem>
<para>
Download (HTTP): <ulink url="&freerdp-download-http;"/>
</para>
</listitem>
<listitem>
<para>
Download (FTP): <ulink url="&freerdp-download-ftp;"/>
</para>
</listitem>
<listitem>
<para>
Download MD5 sum: &freerdp-md5sum;
</para>
</listitem>
<listitem>
<para>
Download size: &freerdp-size;
</para>
</listitem>
<listitem>
<para>
Estimated disk space required: &freerdp-buildsize;
</para>
</listitem>
<listitem>
<para>
Estimated build time: &freerdp-time;
</para>
</listitem>
</itemizedlist>
<bridgehead renderas="sect3">FreeRDP Dependencies</bridgehead>
<bridgehead renderas="sect4">Required</bridgehead>
<para role="required">
<xref linkend="libusb"/>, and
<xref linkend="ffmpeg"/>, and
<xref linkend="faad2"/>, and
<xref linkend="faac"/>, and
<xref linkend="cairo"/>, and
<xref linkend="alsa"/>, and
<xref linkend="alsa-lib"/>, and
<xref linkend="pulseaudio"/>, and
<xref linkend="alsa-oss"/>, and
<xref linkend="cups"/>, and
<xref linkend="icu"/>
</para>
</sect2>
<sect2 role="installation">
<title/>
<screen><userinput>mkdir build &amp;&amp;
cd build &amp;&amp;
cmake -GNinja -DCMAKE_INSTALL_PREFIX=/usr -DCHANNEL_URBDRC=ON -DWITH_DSP_FFMPEG=ON -DWITH_CUPS=ON -DWITH_PULSE=ON -DWITH_FAAC=ON -DWITH_FAAD2=ON -DWITH_GSM=OFF -DWITH_CAIRO=ON -DWITH_ICU=ON -DWITH_VAAPI=ON -B. -H.. &amp;&amp;
cmake --build .</userinput></screen>
<screen role="root"><userinput>cmake --build . --target install</userinput></screen>
</sect2>
</sect1>