<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title><![CDATA[HyperForum — Hyperbola 0.3 without dbus]]></title>
		<link>https://forums.hyperbola.info/viewtopic.php?id=512</link>
		<atom:link href="https://forums.hyperbola.info/extern.php?action=feed&amp;tid=512&amp;type=rss" rel="self" type="application/rss+xml" />
		<description><![CDATA[The most recent posts in Hyperbola 0.3 without dbus.]]></description>
		<lastBuildDate>Sat, 03 Apr 2021 09:53:36 +0000</lastBuildDate>
		<generator>PunBB</generator>
		<item>
			<title><![CDATA[Re: Hyperbola 0.3 without dbus]]></title>
			<link>https://forums.hyperbola.info/viewtopic.php?pid=2863#p2863</link>
			<description><![CDATA[<p>Yes, I have the same problems with Qt and also my throughts about that are the same. There are possibilities so far. But the first thing is: <strong>VLC</strong> needs <strong>qt5-base</strong> as basic, so I had to rebuild them. Looking here: <a href="https://wiki.videolan.org/Interfaces/">https://wiki.videolan.org/Interfaces/</a></p><p>The alternative would be: Doing a fork for Qt within the concurrent &quot;open-source&quot;-edition. But there seems not that much interest from the community into that. <img src="https://forums.hyperbola.info/img/smilies/sad.png" width="15" height="15" alt="sad" /></p><p>In fact there are many applications and also frameworks depending onto Qt, that it would be really complicated to ditch everything - even as I&#039;m in favor of that. But as I&#039;ve searched for an alternative towards VLC and found not so many. Most of them also depending again onto <strong>dbus</strong>, <strong>parole</strong> for example. Proposal: First restricting packages like qt-webkit. Furthermore collecting GTK-alternatives for ditching Qt finally outside of Hyperbola / HyperbolaBSD within the future.</p>]]></description>
			<author><![CDATA[null@example.com (throgh)]]></author>
			<pubDate>Sat, 03 Apr 2021 09:53:36 +0000</pubDate>
			<guid>https://forums.hyperbola.info/viewtopic.php?pid=2863#p2863</guid>
		</item>
		<item>
			<title><![CDATA[Re: Hyperbola 0.3 without dbus]]></title>
			<link>https://forums.hyperbola.info/viewtopic.php?pid=2862#p2862</link>
			<description><![CDATA[<p>the script works like a charm.</p><p>but may i suggest to ditch qt and adopt only gtk and others tough ?</p><p>i think qt is one of those software that not being believevable. ditching qt will save very big labor work.</p><p>gtk also had provided many qt equivalent apps that we need if we choose to.</p><p>qt is fine now but im just affraid they are those libre software that good now but not later.</p><p>what are my suspicion ?<br />- main qt developed by corporate interest<br />- creeps already crawled and coupled into main component that forcing adoption eg. qtwebengine, makes me doubt the qt future<br />- attempt of corporate interest, qt lts no longer free (search the web)</p><p>contrast to other toolkit:<br />- it developed mainly by foss people or have flexible design<br />- creeps might crawled into but at least they not a main component that forcing adoption eg. geoclue<br />- no attempt for corporate interest outside main toolkit component</p><p>note that this is just a proposal that need further discussion, dont be so panicked people <img src="https://forums.hyperbola.info/img/smilies/smile.png" width="15" height="15" alt="smile" /></p>]]></description>
			<author><![CDATA[null@example.com (dikasp2)]]></author>
			<pubDate>Sat, 03 Apr 2021 01:59:02 +0000</pubDate>
			<guid>https://forums.hyperbola.info/viewtopic.php?pid=2862#p2862</guid>
		</item>
		<item>
			<title><![CDATA[Re: Hyperbola 0.3 without dbus]]></title>
			<link>https://forums.hyperbola.info/viewtopic.php?pid=2854#p2854</link>
			<description><![CDATA[<p>The package for <strong>smplayer</strong>, download <a href="https://repo.hyperbola.info:50012/gnu-plus-linux-libre/stable/sources/hyperbola/smplayer-17.4.2-1.hyperbola4.src.tar.gz">here</a>. Afterwards following a patch for removing <strong>dbus</strong>:</p><p>(<em><strong>filename:</strong> disable-dbus.patch</em>)</p><div class="codebox"><pre><code>diff --git a/src/smplayer.pro b/src/smplayer.pro
index badce22..82890c5 100644
--- a/src/smplayer.pro
+++ b/src/smplayer.pro
@@ -23,10 +23,10 @@
 DEFINES += MINIGUI
 DEFINES += MPCGUI
 DEFINES += SKINS
-DEFINES += MPRIS2
+#DEFINES += MPRIS2
 DEFINES += UPDATE_CHECKER
 DEFINES += CHECK_UPGRADED
-DEFINES += AUTO_SHUTDOWN_PC
+#DEFINES += AUTO_SHUTDOWN_PC
 DEFINES += CAPTURE_STREAM
 DEFINES += BOOKMARKS
 DEFINES += MOUSE_GESTURES</code></pre></div><p>The PKGBUILD-script to follow:</p><div class="codebox"><pre><code># Maintainer (Arch): Levente Polyak &lt;anthraxx[at]archlinux[dot]org&gt;
# Contributor (Arch): Ionut Biru &lt;ibiru@archlinux.org&gt;
# Contributor (Arch): Allan McRae &lt;allan@archlinux.org&gt;
# Contributor (Arch): Alessio &#039;mOLOk&#039; Bolognino &lt;themolok@gmail.com&gt;
# Contributor (Arch): shamrok &lt;szamrok@gmail.com&gt;
# Maintainer (Parabola): Omar Vega Ramos &lt;ovruni@gnu.org.pe&gt;
# Maintainer: André Silva &lt;emulatorman@hyperbola.info&gt;

pkgname=smplayer
pkgver=17.4.2
_debver=17.3.0
_debrel=1
pkgrel=1.hyperbola4
pkgdesc=&#039;Media player with built-in codecs that can play virtually all video and audio formats, without nonfree smtube support and with hypervideo support&#039;
url=&#039;http://smplayer.sourceforge.net/&#039;
arch=(&#039;i686&#039; &#039;x86_64&#039;)
license=(&#039;GPL&#039;)
depends=(&#039;qt5-script&#039; &#039;mpv&#039; &#039;hicolor-icon-theme&#039;)
makedepends=(&#039;qt5-tools&#039; &#039;quilt&#039;)
optdepends=(&#039;smplayer-themes: icon themes collection&#039;
            &#039;smplayer-skins: skin themes collection&#039;
            &#039;hypervideo: youtube videos and streaming&#039;
            &#039;mplayer: alternative multimedia engine&#039;)
source=(https://downloads.sourceforge.net/$pkgname/$pkgname-$pkgver.tar.bz2
        https://deb.debian.org/debian/pool/main/s/smplayer/smplayer_$_debver~ds0-$_debrel.debian.tar.xz
        add-missing-QClipboard-include.patch
        libre.patch
        disable-dbus.patch)
sha512sums=(&#039;bb0169dc1e2d6b56f3617986647664eda677229bce5b2aa898b64574319a84ac4d51c78f5a68ab57df5dce48c1f76d0d9e0dbdefa5baee351c0a22c2a9cb5186&#039;
            &#039;43982b8c97766b31fff1e6387e31455c47a070460f1d40d25eab17c5035d443e9d09070850f635ed8ef857c64f37bb124c2e16d69c1cbe92744ae576beca0f3f&#039;
            &#039;619b8a236b36518bf0f9984d87384d9c5be10fdbda17598d57736064c0c2d6d9f920c9d3f1eb059ba390670ec28559f0dda6f85757ef8696540c424b08863e39&#039;
            &#039;4f1384395a39abb8b65aa81558372177452bb7d9780af9dfa492db9f1b3fc93d258af2081a19f72bfee37899277fd7b487a616a73c04eaca8ea63925e0c96290&#039;
            &#039;e227b450b35a10ce99bc9abfbf7cdcac68f61796e578b38ba304239c2856033170f5ce7d2c0b746171da30ea3ef6307abbf39d62926f6efa70065ac2f9d84d79&#039;)

prepare() {
  cd ${pkgname}-${pkgver}

  if [[ ${pkgver%.*} = ${_debver%.*} ]]; then
    # Debian patches
    export QUILT_PATCHES=debian/patches
    export QUILT_REFRESH_ARGS=&#039;-p ab --no-timestamps --no-index&#039;
    export QUILT_DIFF_ARGS=&#039;--no-timestamps&#039;

    mv &quot;$srcdir&quot;/debian .

    quilt push -av
  fi

  # add missing QClipboard include
  patch -p1 -i ${srcdir}/add-missing-QClipboard-include.patch

  # disable SMTube support and rename youtube-dl to hypervideo
  patch -p1 -i ${srcdir}/libre.patch

  # disable dbus
  patch -p1 -i ${srcdir}/disable-dbus.patch

  # fix GNU/Linux name
  sed -i &#039;s|Linux|GNU/Linux|&#039; src/smplayer.cpp
}

build() {
  cd ${pkgname}-${pkgver}
  make PREFIX=/usr \
    DOC_PATH=&quot;\\\&quot;/usr/share/doc/smplayer\\\&quot;&quot; \
    QMAKE_OPTS=DEFINES+=NO_DEBUG_ON_CONSOLE
}

package() {
  cd ${pkgname}-${pkgver}
  make DOC_PATH=/usr/share/doc/smplayer \
    DESTDIR=&quot;${pkgdir}&quot; PREFIX=/usr install
}

# vim: ts=2 sw=2 et:</code></pre></div>]]></description>
			<author><![CDATA[null@example.com (throgh)]]></author>
			<pubDate>Fri, 02 Apr 2021 15:59:31 +0000</pubDate>
			<guid>https://forums.hyperbola.info/viewtopic.php?pid=2854#p2854</guid>
		</item>
		<item>
			<title><![CDATA[Re: Hyperbola 0.3 without dbus]]></title>
			<link>https://forums.hyperbola.info/viewtopic.php?pid=2853#p2853</link>
			<description><![CDATA[<p>For <strong>mplayer</strong> use the source-code from <a href="https://repo.hyperbola.info:50012/gnu-plus-linux-libre/stable/sources/hyperbola/mplayer-1.3.0-1.hyperbola1.src.tar.gz">here</a>. The PKGBUILD-script:</p><div class="codebox"><pre><code># Maintainer (Arch): Levente Polyak &lt;anthraxx@archlinux.org&gt;
# Contributor (Arch): Ionut Biru &lt;ibiru@archlinux.org&gt;
# Contributor (Arch): Bartłomiej Piotrowski &lt;bpiotrowski@archlinux.org&gt;
# Contributor (Arch): Hugo Doria &lt;hugo@archlinux.org&gt;
# Maintainer: André Silva &lt;emulatorman@hyperbola.info&gt;
# Contributor: Márcio Silva &lt;coadde@hyperbola.info&gt;

pkgbase=mplayer
pkgname=(&#039;mplayer&#039; &#039;mencoder&#039;)
pkgver=1.3.0
_debver=1.3.0
_debrel=6
pkgrel=1.hyperbola1
pkgdesc=&#039;Media player for GNU/Linux, without using of UnRAR executable and nonfree faac support&#039;
url=&#039;https://www.mplayerhq.hu/&#039;
arch=(&#039;i686&#039; &#039;x86_64&#039; &#039;armv7h&#039;)
license=(&#039;GPL&#039;)
makedepends=(&#039;libxxf86dga&#039; &#039;libmad&#039; &#039;libxinerama&#039; &#039;libmng&#039; &#039;libxss&#039; &#039;smbclient&#039; &#039;aalib&#039; &#039;jack&#039;
             &#039;libcaca&#039; &#039;faad2&#039; &#039;lirc&#039;  &#039;libxvmc&#039; &#039;enca&#039; &#039;libdca&#039; &#039;a52dec&#039; &#039;libvpx&#039; &#039;unzip&#039;
             &#039;mesa&#039; &#039;live-media&#039; &#039;yasm&#039; &#039;git&#039; &#039;mpg123&#039; &#039;ladspa&#039; &#039;libcdio-paranoia&#039; &#039;subversion&#039;
             &#039;x264&#039; &#039;libx264&#039; &#039;rtmpdump&#039; &#039;libdvdcss&#039; &#039;libdvdread&#039; &#039;libdvdnav&#039; &#039;ffmpeg&#039; &#039;quilt&#039;)
options=(&#039;!buildflags&#039; &#039;!emptydirs&#039;)
source=(https://www.mplayerhq.hu/MPlayer/releases/MPlayer-1.3.0.tar.xz
        https://debian.simnet.is/debian/pool/main/m/mplayer/mplayer_$_debver-$_debrel.debian.tar.xz
        mplayer.desktop
        include-samba-4.0.patch
        revert-icl-fixes.patch)
sha512sums=(&#039;10007e471a941f8a3dabf6149e6e44fc1a364a9ccb5cd08c670fc22560e5053a15f3249e9d3e18cdda06b6b7e77e537026b5d33dc356e928c63747d6ed73dbae&#039;
            &#039;d7310f67dceb281416305d2786ce4c79b54a72e3dfa08e37931d97df7a0ed3feca369e1cbd194c687363160904ebdc13378875c0e2b77af52995a6d376116609&#039;
            &#039;d3c5cbf0035279c6f307e4e225473d7b77f9b56566537a26aa694e68446b9e3240333296da627ad5af83b04cc8f476d1a3f8c05e4cf81cd6e77153feb4ed74bc&#039;
            &#039;9debb8c58b996f6c716c22c86c720bf9dc49b4ee9b76c57519f791667ae1de2cc6f5add878fbf4ac02c6b6fd1865e1bcfa6105e75de4bf7ec596c338ed0cae99&#039;
            &#039;0cae0b26d3d97fd4c962962c43a481de20335369cbca406cadfc9bda1a0608b32f5374e76c477cb9a85bda83a568a1ed17126df224ae61579d0a402c1824aea8&#039;)

prepare() {
  cd MPlayer-${pkgver}

  if [[ $pkgver = $_debver ]]; then
    # Debian patches
    export QUILT_PATCHES=debian/patches
    export QUILT_REFRESH_ARGS=&#039;-p ab --no-timestamps --no-index&#039;
    export QUILT_DIFF_ARGS=&#039;--no-timestamps&#039;

    mv &quot;$srcdir&quot;/debian/patches debian

    # Doesn&#039;t apply and seems unimportant
    rm -v debian/patches/0001_version.patch || true
    rm -v debian/patches/0002_mplayer_debug_printf.patch || true

    quilt push -av
  fi

  patch -p1 &lt; &quot;../include-samba-4.0.patch&quot;
  patch -p0 &lt; &quot;../revert-icl-fixes.patch&quot;
  ./version.sh
}

build() {
  cd MPlayer-${pkgver}

  # CPU detection doesn&#039;t work in ARM
  if [ &quot;$CARCH&quot; != &quot;armv7h&quot; ]; then
    extra=--enable-runtime-cpudetection
  fi

  ./configure --prefix=/usr \
    --disable-gui \
    --disable-arts \
    --disable-liblzo \
    --disable-speex \
    --disable-openal \
    --disable-libdv \
    --disable-musepack \
    --disable-esd \
    --disable-mga \
    --disable-ass-internal \
    --disable-faac \
    --disable-unrarexec \
    --disable-cdparanoia \
    --disable-ffmpeg_a \
    --disable-pulse \
    --enable-xvmc \
    --enable-radio \
    --enable-radio-capture \
    --enable-smb \
    --language=all \
    --confdir=/etc/mplayer \
    $extra
  [[ &quot;${CARCH}&quot; = &quot;i686&quot; ]] &amp;&amp; sed &#039;s|-march=i486|-march=i686|g&#039; -i config.mak
  make
}

package_mplayer() {
  pkgdesc=&#039;Media player for GNU/Linux, without using of UnRAR executable and nonfree faac support&#039;
  backup=(&#039;etc/mplayer/codecs.conf&#039; &#039;etc/mplayer/input.conf&#039;)
  depends=(&#039;desktop-file-utils&#039; &#039;ttf-font&#039; &#039;enca&#039; &#039;libxss&#039; &#039;a52dec&#039; &#039;libvpx&#039;
           &#039;lirc&#039; &#039;libx264&#039; &#039;libmng&#039; &#039;libdca&#039; &#039;aalib&#039; &#039;libxinerama&#039; &#039;smbclient&#039;
           &#039;jack&#039; &#039;libmad&#039; &#039;libcaca&#039; &#039;libxxf86dga&#039; &#039;faad2&#039; &#039;libxvmc&#039; &#039;mpg123&#039;
           &#039;libcdio-paranoia&#039; &#039;rtmpdump&#039; &#039;libdvdnav&#039; &#039;ffmpeg&#039;)
  replaces=(&#039;mplayer-libre&#039; &#039;mplayer-parabola&#039;)
  conflicts=(&#039;mplayer-libre&#039; &#039;mplayer-parabola&#039;)

  cd MPlayer-${pkgver}
  make DESTDIR=&quot;${pkgdir}&quot; install-mplayer install-mplayer-man

  install -Dm 644 etc/{codecs.conf,input.conf,example.conf} &quot;${pkgdir}/etc/mplayer&quot;
  install -Dm 644 &quot;${srcdir}/mplayer.desktop&quot; -t &quot;${pkgdir}/usr/share/applications&quot;
  install -Dm 644 etc/mplayer256x256.png &quot;${pkgdir}/usr/share/pixmaps/mplayer.png&quot;
}

package_mencoder() {
  pkgdesc=&#039;Free command line video decoding, encoding and filtering tool, without using of UnRAR executable and nonfree faac support&#039;
  depends=(&#039;enca&#039; &#039;a52dec&#039; &#039;libvpx&#039; &#039;libx264&#039; &#039;libmng&#039; &#039;libdca&#039; &#039;smbclient&#039; &#039;libmad&#039;
           &#039;faad2&#039; &#039;mpg123&#039; &#039;libcdio-paranoia&#039; &#039;rtmpdump&#039; &#039;libdvdnav&#039; &#039;ffmpeg&#039;)
  replaces=(&#039;mencoder-libre&#039; &#039;mencoder-parabola&#039;)
  conflicts=(&#039;mencoder-libre&#039; &#039;mencoder-parabola&#039;)

  make -C MPlayer-${pkgver} DESTDIR=&quot;${pkgdir}&quot; install-mencoder install-mencoder-man
  find &quot;${pkgdir}/usr/share/man&quot; -name mplayer.1 -exec rename mplayer.1 mencoder.1 {} +
}

# vim: ts=2 sw=2 et:</code></pre></div>]]></description>
			<author><![CDATA[null@example.com (throgh)]]></author>
			<pubDate>Fri, 02 Apr 2021 15:50:18 +0000</pubDate>
			<guid>https://forums.hyperbola.info/viewtopic.php?pid=2853#p2853</guid>
		</item>
		<item>
			<title><![CDATA[Re: Hyperbola 0.3 without dbus]]></title>
			<link>https://forums.hyperbola.info/viewtopic.php?pid=2852#p2852</link>
			<description><![CDATA[<p>Next on the list is <strong>mpv</strong>, using the source-code from <a href="https://repo.hyperbola.info:50012/gnu-plus-linux-libre/stable/sources/hyperbola/mpv-1%3A0.25.0-2.hyperbola4.src.tar.gz">here</a>. The PKGBUILD-script:</p><div class="codebox"><pre><code># Maintainer (Arch): Christian Hesse &lt;mail@eworm.de&gt;
# Contributor (Arch): Bartłomiej Piotrowski &lt;bpiotrowski@archlinux.org&gt;
# Contributor (Arch): Eivind Uggedal &lt;eivind@uggedal.com&gt;
# Maintainer: André Silva &lt;emulatorman@hyperbola.info&gt;

pkgname=mpv
epoch=1
pkgver=0.25.0
_debver=0.25.0
_debrel=2
pkgrel=2.hyperbola4.1
pkgdesc=&#039;a free and cross-platform media player, with hypervideo support&#039;
arch=(&#039;i686&#039; &#039;x86_64&#039;)
license=(&#039;GPL-2&#039;)
url=&#039;https://mpv.io/&#039;
depends=(
  &#039;ffmpeg&#039; &#039;lcms2&#039; &#039;libcdio-paranoia&#039; &#039;libgl&#039; &#039;libxss&#039;
  &#039;libxinerama&#039; &#039;libxv&#039; &#039;libxkbcommon&#039; &#039;libva&#039; &#039;wayland&#039; &#039;libcaca&#039;
  &#039;desktop-file-utils&#039; &#039;hicolor-icon-theme&#039; &#039;xdg-utils&#039; &#039;lua52&#039; &#039;libdvdnav&#039;
  &#039;libxrandr&#039; &#039;jack&#039; &#039;smbclient&#039; &#039;rubberband&#039; &#039;uchardet&#039;
)
makedepends=(&#039;mesa&#039; &#039;python-docutils&#039; &#039;ladspa&#039; &#039;waf&#039; &#039;quilt&#039;)
optdepends=(&#039;hypervideo: for video-sharing websites playback&#039;)
options=(&#039;!emptydirs&#039; &#039;!buildflags&#039;)
source=(&quot;$pkgname-$pkgver.tar.gz::https://github.com/mpv-player/$pkgname/archive/v$pkgver.tar.gz&quot;
        &quot;https://deb.debian.org/debian/pool/main/m/mpv/mpv_$_debver-$_debrel.debian.tar.xz&quot;
        &#039;libre.patch&#039;
        &#039;ytdl_backports.patch&#039;)
sha512sums=(&#039;eefc574e2995ddf6bd15c9b62986a5ca277c30949b036d57a11bbfb796c11c1e6dd7c313abd91a909dd98ca0f2b0be29ec6b980d0287a5891b42b0ffba926cbf&#039;
            &#039;f8753377b3df430b75a7a7694118fb148c487d04277912b10f061370845a7ca9a3e74a13782f2efcea004a874c866575d319ba72c8e35f34821807832a9f070d&#039;
            &#039;3c42a613031623d0cc38d87bad61786128eddbff581faa82239c0b9226007c0cc9feeead923a0e1c228a3745343aedb25c9208ed27840290fa971c17566824d8&#039;
            &#039;555abef09fbeafc57b2634458818b2cdb50884d75a0114631c9008a34ebfb3ece4441b20c9711ae0a6f1b723fa95ce023c2b1489e1be9cc27dc05704cec8f8bc&#039;)

prepare() {
  cd ${pkgname}-${pkgver}

  if [[ ${pkgver%.*} = ${_debver%.*} ]]; then
    # Debian patches
    export QUILT_PATCHES=debian/patches
    export QUILT_REFRESH_ARGS=&#039;-p ab --no-timestamps --no-index&#039;
    export QUILT_DIFF_ARGS=&#039;--no-timestamps&#039;

    mv &quot;$srcdir&quot;/debian .

    # Doesn&#039;t apply and seems unimportant
    rm -v debian/patches/03_waf.patch || true
    rm -v debian/patches/04_waf-pie.patch || true

    quilt push -av
  fi

  patch -p1 -i ../libre.patch
  patch -p1 -i ../ytdl_backports.patch
}

build() {
  cd ${pkgname}-${pkgver}

  waf configure --prefix=/usr \
    --confdir=/etc/mpv \
    --enable-libarchive \
    --enable-cdda \
    --enable-dvdread \
    --enable-dvdnav \
    --enable-encoding \
    --enable-libmpv-shared \
    --enable-zsh-comp \
    --disable-pulse

  waf build
}

package() {
  cd ${pkgname}-${pkgver}

  waf install --destdir=&quot;$pkgdir&quot;

  install -m644 DOCS/{encoding.rst,tech-overview.txt} \
    &quot;$pkgdir&quot;/usr/share/doc/mpv

  install -Dm644 LICENSE \
    &quot;$pkgdir&quot;/usr/share/licenses/$pkgname/LICENSE
}</code></pre></div>]]></description>
			<author><![CDATA[null@example.com (throgh)]]></author>
			<pubDate>Fri, 02 Apr 2021 15:46:58 +0000</pubDate>
			<guid>https://forums.hyperbola.info/viewtopic.php?pid=2852#p2852</guid>
		</item>
		<item>
			<title><![CDATA[Re: Hyperbola 0.3 without dbus]]></title>
			<link>https://forums.hyperbola.info/viewtopic.php?pid=2851#p2851</link>
			<description><![CDATA[<p>Yes, I&#039;m in favor of old computer-games and therefore also about software-synthesizer. Therefore here is the PKGBUILD-modification for <strong>fluidsynth</strong> without <strong>libpulse</strong>, using the source-code from <a href="https://repo.hyperbola.info:50012/gnu-plus-linux-libre/stable/sources/hyperbola/fluidsynth-1.1.6-5.hyperbola1.src.tar.gz">here</a>.</p><div class="codebox"><pre><code># $Id: PKGBUILD 280652 2016-11-14 07:40:07Z bpiotrowski $
# Maintainer (Arch): Ray Rashif &lt;schiv@archlinux.org&gt;
# Contributor (Arch): damir &lt;damir@archlinux.org&gt;
# Maintainer: André Silva &lt;emulatorman@hyperbola.info&gt;

pkgname=fluidsynth
pkgver=1.1.6
_debver=1.1.6
_debrel=4
pkgrel=5.hyperbola1
pkgdesc=&quot;A real-time software synthesizer based on the SoundFont 2 specifications, with OpenRC support&quot;
arch=(&#039;i686&#039; &#039;x86_64&#039;)
url=&quot;http://www.fluidsynth.org/&quot;
depends=(&#039;jack&#039;)
makedepends=(&#039;cmake&#039; &#039;ladspa&#039; &#039;doxygen&#039; &#039;quilt&#039;)
license=(&#039;LGPL&#039;)
backup=(&quot;etc/conf.d/$pkgname&quot;)
install=$pkgname.install
source=(&quot;https://downloads.sourceforge.net/$pkgname/$pkgname-$pkgver.tar.gz&quot;
        &quot;https://debian.simnet.is/debian/pool/main/f/fluidsynth/fluidsynth_$_debver-$_debrel.debian.tar.xz&quot;
        &#039;fluidsynth.confd&#039;
        &#039;fluidsynth.initd&#039;)
sha512sums=(&#039;2dcb8a8a1634273cc93c45b6e21b87ac45a023c768cffdadda0a4e611eab8d5bbea0e1ba59e5f147488054cfa6fcaf561399ae275a665c76082b8738a80778bb&#039;
            &#039;a9c817b742e70f50015a8ed625865a68164785b85926568f08307b2c7a8f45ebdf3d40f69435ebb0a51c9ef9ba5b5c1ea873d737fc2e983b067ba18074e2f2cd&#039;
            &#039;40081a5f20491b853fa1d346ce9a06ae197f3ed7d98d57250a31d2e1850e7f6128d26b55c045fa2710c693f05c3d640a3ba1d9d6ad5fbe0eed79a9624fdbb645&#039;
            &#039;e4a2a0d8a578f798b5fa58c591e62a5a5565a0a611d807da6dd28e6a0c19f9b02e6bd5474eea619b4541cef6aa82df71e29c693c7e1202728157e9a24b4c8f00&#039;)

prepare() {
  cd &quot;$srcdir/$pkgname-$pkgver&quot;

  if [[ ${pkgver%.*} = ${_debver%.*} ]]; then
    # Debian patches
    export QUILT_PATCHES=debian/patches
    export QUILT_REFRESH_ARGS=&#039;-p ab --no-timestamps --no-index&#039;
    export QUILT_DIFF_ARGS=&#039;--no-timestamps&#039;

    mv &quot;$srcdir&quot;/debian .

    quilt push -av
  fi
}

build() {
  cd &quot;$srcdir/$pkgname-$pkgver&quot;

  cmake . -DCMAKE_INSTALL_PREFIX=/usr \
          -DCMAKE_BUILD_TYPE=Release \
          -Denable-ladspa=ON \
          -DLIB_SUFFIX=&quot;&quot;
  make
}

package() {
  cd &quot;$srcdir/$pkgname-$pkgver&quot;

  make DESTDIR=&quot;$pkgdir&quot; install

  install -Dm644 &quot;$srcdir/$pkgname.confd&quot; \
    &quot;$pkgdir/etc/conf.d/$pkgname&quot;
  install -Dm755 &quot;$srcdir/$pkgname.initd&quot; \
    &quot;$pkgdir/etc/init.d/$pkgname&quot;
  sed -e &#039;s|/var/run|/run|g&#039; \
      -e &#039;s|#!/sbin/openrc-run|#!/usr/bin/openrc-run|g&#039; \
      -i &quot;$pkgdir/etc/init.d/$pkgname&quot;
}

# vim:set ts=2 sw=2 et:</code></pre></div>]]></description>
			<author><![CDATA[null@example.com (throgh)]]></author>
			<pubDate>Fri, 02 Apr 2021 15:43:19 +0000</pubDate>
			<guid>https://forums.hyperbola.info/viewtopic.php?pid=2851#p2851</guid>
		</item>
		<item>
			<title><![CDATA[Re: Hyperbola 0.3 without dbus]]></title>
			<link>https://forums.hyperbola.info/viewtopic.php?pid=2850#p2850</link>
			<description><![CDATA[<p>The package <strong>ghostscript</strong> is the next to follow. Using therefore the one coming up from testing-repositories <a href="https://repo.hyperbola.info:50011/gnu-plus-linux-libre/testing/sources/hyperbola/ghostscript-9.53.3-1.src.tar.lz">here</a>. No need for further modifications, just to compile the package for the concurrent system! Please not: You need also the package <strong>jbig2dec</strong> for this step.</p>]]></description>
			<author><![CDATA[null@example.com (throgh)]]></author>
			<pubDate>Fri, 02 Apr 2021 15:29:54 +0000</pubDate>
			<guid>https://forums.hyperbola.info/viewtopic.php?pid=2850#p2850</guid>
		</item>
		<item>
			<title><![CDATA[Re: Hyperbola 0.3 without dbus]]></title>
			<link>https://forums.hyperbola.info/viewtopic.php?pid=2849#p2849</link>
			<description><![CDATA[<p>Now after rebuilding most basic packages there is the first application to be rebuild without <strong>dbus</strong>, meaning therefore <strong>VLC</strong> as mediaplayer. So the sources can be downloaded <a href="https://repo.hyperbola.info:50012/gnu-plus-linux-libre/stable/sources/hyperbola/vlc-3.0.11-1.hyperbola0.backports1.src.tar.gz">here</a>. Afterwards use the following modifications for the PKGBUILD-scripts:</p><div class="codebox"><pre><code># Maintainer (Arch): Levente Polyak &lt;anthraxx[at]archlinux[dot]org&gt;
# Contributor (Arch): Giovanni Scafora &lt;giovanni@archlinux.org&gt;
# Contributor (Arch): Sarah Hay &lt;sarahhay@mb.sympatico.ca&gt;
# Contributor (Arch): Martin Sandsmark &lt;martin.sandsmark@kde.org&gt;
# Maintainer: André Silva &lt;emulatorman@hyperbola.info&gt;

pkgname=vlc
_vlcver=3.0.11
# optional fixup version including hyphen
_vlcfixupver=
pkgver=${_vlcver}${_vlcfixupver//-/.r}
pkgrel=1.hyperbola0.backports1
pkgdesc=&#039;Multi-platform MPEG, VCD/DVD, and DivX player, without libmicrodns recommendation, without avahi support and with libeudev support&#039;
url=&#039;https://www.videolan.org/vlc/&#039;
arch=(&#039;i686&#039; &#039;x86_64&#039;)
license=(&#039;LGPL-2.1&#039; &#039;GPL-2&#039;)
depends=(&#039;a52dec&#039; &#039;libdvbpsi&#039; &#039;libxpm&#039; &#039;libdca&#039; &#039;libproxy&#039; &#039;lua&#039;
         &#039;libmatroska&#039; &#039;taglib&#039; &#039;libmpcdec&#039; &#039;ffmpeg&#039; &#039;faad2&#039; &#039;libupnp&#039; &#039;libmad&#039;
         &#039;libmpeg2&#039; &#039;xcb-util-keysyms&#039; &#039;libtar&#039; &#039;libxinerama&#039; &#039;libsecret&#039;
         &#039;libarchive&#039; &#039;qt5-base&#039; &#039;qt5-x11extras&#039; &#039;qt5-svg&#039; &#039;freetype2&#039;
         &#039;fribidi&#039; &#039;harfbuzz&#039; &#039;fontconfig&#039; &#039;libxml2&#039; &#039;gnutls&#039;
         &#039;wayland-protocols&#039;) # libplacebo will be implemented in Canis Major
makedepends=(&#039;gst-plugins-base-libs&#039; &#039;live-media&#039; &#039;libbluray&#039;
             &#039;flac&#039; &#039;libdc1394&#039; &#039;libavc1394&#039; &#039;libcaca&#039; &#039;gtk3&#039;
             &#039;librsvg&#039; &#039;libgme&#039; &#039;xosd&#039; &#039;twolame&#039; &#039;aalib&#039; &#039;libeudev&#039;
             &#039;libmtp&#039; &#039;libupnp&#039; &#039;libdvdcss&#039; &#039;smbclient&#039;
             &#039;vcdimager&#039; &#039;libssh2&#039; &#039;mesa&#039; &#039;protobuf&#039; &#039;libnfs&#039; &#039;mpg123&#039;
             &#039;libdvdread&#039; &#039;libdvdnav&#039; &#039;libogg&#039; &#039;libshout&#039; &#039;libmodplug&#039; &#039;libvpx&#039;
             &#039;libvorbis&#039; &#039;speex&#039; &#039;opus&#039; &#039;libtheora&#039; &#039;libpng&#039; &#039;libjpeg-turbo&#039;
             &#039;libx265.so&#039; &#039;libx264.so&#039; &#039;zvbi&#039; &#039;libass&#039; &#039;libkate&#039; &#039;libtiger&#039;
             &#039;sdl_image&#039; &#039;alsa-lib&#039; &#039;jack&#039; &#039;libsamplerate&#039; &#039;libsoxr&#039;
             &#039;lirc&#039; &#039;libgoom2&#039; &#039;projectm&#039; &#039;chromaprint&#039; &#039;aribb24&#039;)
optdepends=(&#039;gst-plugins-base-libs: for libgst plugins&#039;
            &#039;libdvdcss: decoding encrypted DVDs&#039;
            &#039;libavc1394: devices using the 1394ta AV/C&#039;
            &#039;libdc1394: IEEE 1394 access plugin&#039;
            &#039;kwallet: kwallet keystore&#039;
            &#039;libva-vdpau-driver: vdpau backend nvidia&#039;
            &#039;libva-intel-driver: video backend intel&#039;
            &#039;libbluray: Blu-Ray video input&#039;
            &#039;flac: Free Lossless Audio Codec plugin&#039;
            &#039;twolame: TwoLAME mpeg2 encoder plugin&#039;
            &#039;libgme: Game Music Emu plugin&#039;
            &#039;vcdimager: navigate VCD with libvcdinfo&#039;
            &#039;libmtp: MTP devices discovery&#039;
            &#039;libeudev: udev services discovery&#039;
            &#039;smbclient: SMB access plugin&#039;
            &#039;libcdio: audio CD playback&#039;
            &#039;ttf-freefont: subtitle font &#039;
            &#039;ttf-dejavu: subtitle font&#039;
            &#039;libssh2: sftp access&#039;
            &#039;libnfs: NFS access&#039;
            &#039;mpg123: mpg123 codec&#039;
            &#039;protobuf: chromecast streaming&#039;
            &#039;lua-socket: http interface&#039;
            &#039;live-media: RTSP input&#039;
            &#039;libdvdread: DVD input module&#039;
            &#039;libdvdnav: DVD with navigation input module&#039;
            &#039;libogg: Ogg and OggSpots codec&#039;
            &#039;libshout: shoutcast/icecast output plugin&#039;
            &#039;libmodplug: MOD output plugin&#039;
            &#039;libvpx: VP8 and VP9 codec&#039;
            &#039;libvorbis: Vorbis decoder/encoder&#039;
            &#039;speex: Speex codec&#039;
            &#039;opus: opus codec&#039;
            &#039;libtheora: theora codec&#039;
            &#039;libpng: PNG support&#039;
            &#039;libjpeg-turbo: JPEG support&#039;
            &#039;librsvg: SVG plugin&#039;
            &#039;x264: H264 encoding&#039;
            &#039;x265: HEVC/H.265 encoder&#039;
            &#039;zvbi: VBI/Teletext decoding&#039;
            &#039;libass: Subtitle support&#039;
            &#039;aribb24: ARIB subtitles&#039;
            &#039;libkate: Kate codec&#039;
            &#039;libtiger: Tiger rendering for Kate streams&#039;
            &#039;sdl_image: SDL image support&#039;
            &#039;aalib: ASCII art video output&#039;
            &#039;libcaca: colored ASCII art video output&#039;
            &#039;alsa-lib: ALSA audio output&#039;
            &#039;jack: jack audio server&#039;
            &#039;libsamplerate: audio Resampler&#039;
            &#039;libsoxr: SoX audio Resampler&#039;
            &#039;chromaprint: Chromaprint audio fingerprinter&#039;
            &#039;lirc: lirc control&#039;
            &#039;libgoom2: Goom visualization&#039;
            &#039;projectm: ProjectM visualisation&#039;
            &#039;ncurses: ncurses interface&#039;
            &#039;gtk3: notification plugin&#039;)
conflicts=(&#039;vlc-plugin&#039;)
replaces=(&#039;vlc-plugin&#039;)
options=(&#039;!emptydirs&#039;)
source=(https://download.videolan.org/${pkgname}/${_vlcver}/${pkgname}-${_vlcver}${_vlcfixupver}.tar.xz
        update-vlc-plugin-cache.hook
        lua53_compat.patch)
sha512sums=(&#039;8219cc46e434c7b2f12321d4e1b21eae123a546eeb22f768c463537a4a4986ab395053f8a794628cfd17236f81665f12b2b3f6867af73b102b81628204b6c444&#039;
            &#039;80357bae69e32b353d3784932d854e294906798e14faffb87c3383c3b6f6bdc57cbabb9c6e3f3c1adf0f8ddbb24153e72104c963cf1934970c2983c96daef9df&#039;
            &#039;33cda373aa1fb3ee19a78748e2687f2b93c8662c9fda62ecd122a2e649df8edaceb54dda3991bc38c80737945a143a9e65baa2743a483bb737bb94cd590dc25f&#039;)

prepare() {
  cd ${pkgname}-${_vlcver}
  sed -e &#039;s:truetype/ttf-dejavu:TTF:g&#039; -i modules/visualization/projectm.cpp
  sed -e &#039;s|-Werror-implicit-function-declaration||g&#039; -i configure
  sed &#039;s|whoami|echo builduser|g&#039; -i configure
  sed &#039;s|hostname -f|echo arch|g&#039; -i configure
  local src
  for src in &quot;${source[@]}&quot;; do
    src=&quot;${src%%::*}&quot;
    src=&quot;${src##*/}&quot;
    [[ $src = *.patch ]] || continue
    msg2 &quot;Applying patch $src...&quot;
    patch -Np1 &lt; &quot;../$src&quot;
  done
}

build() {
  cd ${pkgname}-${_vlcver}

  export CFLAGS+=&quot; -I/usr/include/samba-4.0&quot;
  export CPPFLAGS+=&quot; -I/usr/include/samba-4.0&quot;
  export CXXFLAGS+=&quot; -std=c++11&quot;
  export LUAC=/usr/bin/luac
  export LUA_LIBS=&quot;$(pkg-config --libs lua)&quot;
  export RCC=/usr/bin/rcc-qt5

  ./configure --prefix=/usr \
              --sysconfdir=/etc \
              --with-kde-solid=/usr/share/solid/actions/ \
              --disable-rpath \
              --enable-nls \
              --enable-archive \
              --enable-live555 \
              --enable-dc1394 \
              --enable-dv1394 \
              --enable-dvdread \
              --enable-dvdnav \
              --enable-bluray \
              --disable-opencv \
              --enable-smbclient \
              --enable-sftp \
              --enable-nfs \
              --enable-realrtsp \
              --enable-dvbpsi \
              --enable-gme \
              --enable-ogg \
              --enable-shout \
              --enable-matroska \
              --enable-mod \
              --enable-mpc \
              --enable-mad \
              --enable-mpg123 \
              --enable-gst-decode \
              --enable-avcodec \
              --enable-libva \
              --enable-avformat \
              --enable-postproc \
              --enable-faad \
              --enable-vpx \
              --enable-twolame \
              --disable-fdkaac \
              --enable-a52 \
              --enable-dca \
              --enable-flac \
              --enable-libmpeg2 \
              --enable-vorbis \
              --enable-speex \
              --enable-opus \
              --enable-oggspots \
              --disable-schroedinger \
              --enable-png \
              --enable-jpeg \
              --enable-x264 \
              --enable-x265 \
              --enable-zvbi \
              --enable-libass \
              --enable-kate \
              --enable-tiger \
              --enable-vdpau \
              --enable-wayland \
              --enable-sdl-image \
              --enable-freetype \
              --enable-fribidi \
              --enable-harfbuzz \
              --enable-fontconfig \
              --enable-svg \
              --enable-svgdec \
              --enable-aa \
              --enable-caca \
              --disable-pulse \
              --disable-dbus \
              --enable-alsa \
              --enable-jack \
              --enable-samplerate \
              --enable-soxr \
              --enable-chromaprint \
              --enable-chromecast \
              --enable-qt \
              --enable-skins2 \
              --enable-libtar \
              --enable-ncurses \
              --enable-lirc \
              --enable-goom \
              --enable-projectm \
              --disable-avahi \
              --enable-mtp \
              --enable-upnp \
              --disable-microdns \
              --enable-libxml2 \
              --disable-libgcrypt \
              --enable-gnutls \
              --enable-taglib \
              --enable-secret \
              --enable-kwallet \
              --disable-update-check \
              --disable-notify \
              --disable-libplacebo \
              --enable-vlc \
              --enable-aribsub
  make
}

package() {
  cd ${pkgname}-${_vlcver}

  make DESTDIR=&quot;${pkgdir}&quot; install

  for res in 16 32 48 128 256; do
    install -Dm 644 &quot;${srcdir}/vlc-${_vlcver}/share/icons/${res}x${res}/vlc.png&quot; \
                     &quot;${pkgdir}/usr/share/icons/hicolor/${res}x${res}/apps/vlc.png&quot;
  done
  install -Dm 644 &quot;${srcdir}/update-vlc-plugin-cache.hook&quot; -t &quot;${pkgdir}/usr/share/libalpm/hooks&quot;

  for i in COPYING{,.LIB}; do
    install -Dm 644 ${i} -t &quot;${pkgdir}/usr/share/licenses/${pkgname}&quot;
  done
}

# vim: ts=2 sw=2 et:</code></pre></div>]]></description>
			<author><![CDATA[null@example.com (throgh)]]></author>
			<pubDate>Fri, 02 Apr 2021 15:05:44 +0000</pubDate>
			<guid>https://forums.hyperbola.info/viewtopic.php?pid=2849#p2849</guid>
		</item>
		<item>
			<title><![CDATA[Re: Hyperbola 0.3 without dbus]]></title>
			<link>https://forums.hyperbola.info/viewtopic.php?pid=2848#p2848</link>
			<description><![CDATA[<p>As <strong>libpulse</strong> should be not part of the system - also to exclude any kind of dependencies towards <strong>pulseaudio</strong> - the package <strong>alsa-plugins</strong> should be also recreated with the following PKGBUILD-script:</p><div class="codebox"><pre><code># Maintainer (Arch): Jan Alexander Steffens (heftig) &lt;jan.steffens@gmail.com&gt;
# Contributor (Arch): Sergej Pupykin &lt;pupykin.s+arch@gmail.com&gt;
# Contributor (Arch): Daniel Ehlers &lt;danielehlers@mindeye.net&gt;
# Maintainer: André Silva &lt;emulatorman@hyperbola.info&gt;

pkgname=alsa-plugins
pkgver=1.1.1
_debver=1.1.1
_debrel=1
pkgrel=1.hyperbola1
pkgdesc=&quot;Extra ALSA plugins, without libpulse support&quot;
arch=(i686 x86_64)
url=&quot;https://alsa-project.org/&quot;
license=(LGPL-2.1)
depends=(alsa-lib)
makedepends=(jack ffmpeg quilt)
optdepends=(&#039;jack: Jack plugin&#039;
            &#039;ffmpeg: libavcodec resampling plugin, a52 plugin&#039;
            &#039;libsamplerate: libsamplerate resampling plugin&#039;
            &#039;speex: libspeexdsp resampling plugin&#039;)
source=(&quot;https://www.mirrorservice.org/sites/ftp.alsa-project.org/pub/plugins/$pkgname-$pkgver.tar.bz2&quot;
        &quot;https://deb.debian.org/debian/pool/main/a/alsa-plugins/alsa-plugins_$_debver-$_debrel.debian.tar.xz&quot;)
sha512sums=(&#039;9dd277cb5cce144ce4e5e0010cebcba0f8634c783e7bcd80ce6d04b198d6de5150a2764df3087a39a468b5fb7c4578de2e252095568e811dedaa5e7ffdbeb7c9&#039;
            &#039;23d48868ded2efcf1e0bc983219d213d8b41a41d3eb5f4c1863fafb5a157475bd8cba68f157a22aac2ba5fad25fe6a57aae55ffa67ca465021c60840d8f57363&#039;)

prepare() {
  cd $pkgname-$pkgver
  if [[ ${pkgver%.*} = ${_debver%.*} ]]; then
    # Debian patches
    export QUILT_PATCHES=debian/patches
    export QUILT_REFRESH_ARGS=&#039;-p ab --no-timestamps --no-index&#039;
    export QUILT_DIFF_ARGS=&#039;--no-timestamps&#039;

    mv &quot;$srcdir&quot;/debian .

    quilt push -av
  fi
}

build() {
  cd $pkgname-$pkgver
  CFLAGS+=&#039; -DHAVE_STDINT_H&#039; # We have issue similar to this one https://code.google.com/p/cantata/issues/detail?id=627
  ./configure --prefix=/usr
  make
}

package() {
  cd $pkgname-$pkgver
  make DESTDIR=&quot;$pkgdir&quot; install

  install -Dm644 COPYING &quot;$pkgdir/usr/share/licenses/$pkgname/COPYING&quot;
  install -d &quot;$pkgdir/usr/share/doc/$pkgname&quot;
  install -m644 doc/README* doc/*.txt &quot;$pkgdir/usr/share/doc/$pkgname/&quot;
  rm -v &quot;$pkgdir/usr/share/doc/$pkgname/README-pulse&quot;
}</code></pre></div>]]></description>
			<author><![CDATA[null@example.com (throgh)]]></author>
			<pubDate>Fri, 02 Apr 2021 13:59:14 +0000</pubDate>
			<guid>https://forums.hyperbola.info/viewtopic.php?pid=2848#p2848</guid>
		</item>
		<item>
			<title><![CDATA[Re: Hyperbola 0.3 without dbus]]></title>
			<link>https://forums.hyperbola.info/viewtopic.php?pid=2847#p2847</link>
			<description><![CDATA[<p>Having <strong>qt5-multimedia</strong> without pulse-dependecies is nice, so next up: Use the PKGBUILD-script as follows:</p><div class="codebox"><pre><code># $Id: PKGBUILD 240297 2015-06-03 10:22:03Z fyan $
# Maintainer: Felix Yan &lt;felixonmars@archlinux.org&gt;
# Contributor: Andrea Scarpino &lt;andrea@archlinux.org&gt;

pkgname=qt5-multimedia
_qtver=5.8.0
pkgver=${_qtver/-/}
pkgrel=1
arch=(&#039;i686&#039; &#039;x86_64&#039;)
url=&#039;http://qt-project.org/&#039;
license=(&#039;GPL3&#039; &#039;LGPL3&#039; &#039;FDL&#039; &#039;custom&#039;)
pkgdesc=&#039;Classes for audio, video, radio and camera functionality&#039;
depends=(&#039;qt5-base&#039; &#039;gst-plugins-base-libs&#039; &#039;openal&#039;)
makedepends=(&#039;qt5-declarative&#039; &#039;gst-plugins-bad&#039;)
optdepends=(&#039;qt5-declarative: QML bindings&#039; &#039;gst-plugins-bad: camera support&#039;)
groups=(&#039;qt&#039; &#039;qt5&#039;)
_pkgfqn=&quot;${pkgname/5-/}-opensource-src-${_qtver}&quot;
source=(&quot;http://download.qt.io/official_releases/qt/${pkgver%.*}/${_qtver}/submodules/${_pkgfqn}.tar.xz&quot;)
md5sums=(&#039;c8610023cfe036d3ad7c13f6e99892cf&#039;)

prepare() {
  mkdir -p build
}

build() {
  cd build

  qmake ../${_pkgfqn}
  make
}

package() {
  cd build
  make INSTALL_ROOT=&quot;$pkgdir&quot; install

  # Drop QMAKE_PRL_BUILD_DIR because reference the build dir
  find &quot;$pkgdir/usr/lib&quot; -type f -name &#039;*.prl&#039; \
    -exec sed -i -e &#039;/^QMAKE_PRL_BUILD_DIR/d&#039; {} \;

  install -d &quot;$pkgdir&quot;/usr/share/licenses
  ln -s /usr/share/licenses/qt5-base &quot;$pkgdir&quot;/usr/share/licenses/${pkgname}
}</code></pre></div>]]></description>
			<author><![CDATA[null@example.com (throgh)]]></author>
			<pubDate>Fri, 02 Apr 2021 13:20:19 +0000</pubDate>
			<guid>https://forums.hyperbola.info/viewtopic.php?pid=2847#p2847</guid>
		</item>
		<item>
			<title><![CDATA[Re: Hyperbola 0.3 without dbus]]></title>
			<link>https://forums.hyperbola.info/viewtopic.php?pid=2846#p2846</link>
			<description><![CDATA[<p>Next to build is <strong>qt4</strong> as preparation for other applications also. Sidenote: You won&#039;t be able to use <strong>keepassxc</strong> for example as it is based on <strong>dbus</strong> per default and demands on the corresponding Qt-module therefore. So having the older Qt-version back in mind. Downloading the source-code <a href="https://repo.hyperbola.info:50012/gnu-plus-linux-libre/stable/sources/hyperbola/qt4-4.8.7-19.hyperbola3.src.tar.gz">here</a>. Afterwards modify the PKGBUILD-script as follows:</p><div class="codebox"><pre><code># Maintainer (Arch): Felix Yan &lt;felixonmars@archlinux.org&gt;
# Contributor (Arch): Andrea Scarpino &lt;andrea@archlinux.org&gt;
# Contributor (Arch): Pierre Schmitz &lt;pierre@archlinux.de&gt;
# Maintainer: André Silva &lt;emulatorman@hyperbola.info&gt;

pkgname=qt4
pkgver=4.8.7
_debver=4.8.7+dfsg
_debrel=11
pkgrel=19.hyperbola3
arch=(&#039;i686&#039; &#039;x86_64&#039;)
url=&#039;https://www.qt.io&#039;
license=(&#039;custom:GPL-3+OpenSSL-Linking-Exception&#039; &#039;LGPL-3&#039; &#039;FDL-1.3&#039; &#039;custom:LGPL-Exception-1.1&#039;)
pkgdesc=&#039;A cross-platform application and UI framework, with libressl support&#039;
depends=(&#039;sqlite&#039; &#039;ca-certificates&#039; &#039;fontconfig&#039; &#039;libgl&#039; &#039;libxrandr&#039; &#039;libxv&#039; &#039;libxi&#039; &#039;alsa-lib&#039;
        &#039;xdg-utils&#039; &#039;hicolor-icon-theme&#039; &#039;desktop-file-utils&#039; &#039;libmng&#039; &#039;libressl&#039;)
makedepends=(&#039;postgresql-libs&#039; &#039;mariadb&#039; &#039;unixodbc&#039; &#039;cups&#039; &#039;gtk2&#039; &#039;libfbclient&#039;
             &#039;mesa&#039; &#039;libxtst&#039; &#039;quilt&#039;)
optdepends=(&#039;postgresql-libs: PostgreSQL driver&#039;
            &#039;libmariadbclient: MariaDB driver&#039;
            &#039;unixodbc: ODBC driver&#039;
            &#039;libfbclient: Firebird/iBase driver&#039;
            &#039;libxinerama: Xinerama support&#039;
            &#039;libxcursor: Xcursor support&#039;
            &#039;libxfixes: Xfixes support&#039;
            &#039;icu: Unicode support&#039;
            &#039;sni-qt: StatusNotifierItem (AppIndicators) support&#039;)
replaces=(&#039;qt&lt;=4.8.4&#039;)
conflicts=(&#039;qt&#039;)
_pkgfqn=&quot;qt-everywhere-opensource-src-${pkgver}&quot;
source=(&quot;https://download.qt.io/archive/qt/4.8/${pkgver}/${_pkgfqn}.tar.gz&quot;
        &quot;https://debian.simnet.is/debian/pool/main/q/qt4-x11/qt4-x11_$_debver-$_debrel.debian.tar.xz&quot;
        &#039;qtconfig-qt4.desktop&#039; &#039;assistant-qt4.desktop&#039; &#039;designer-qt4.desktop&#039;
        &#039;linguist-qt4.desktop&#039; 
        &#039;improve-cups-support.patch&#039;
        &#039;moc-boost-workaround.patch&#039;
        &#039;kubuntu_14_systemtrayicon.diff&#039;
        &#039;kde4-settings.patch&#039;
        &#039;glib-honor-ExcludeSocketNotifiers-flag.diff&#039;
        &#039;l-qclipboard_fix_recursive.patch&#039;
        &#039;l-qclipboard_delay.patch&#039;
        &#039;qt4-gcc6.patch&#039; &#039;qt4-glibc-2.25.patch&#039; &#039;qt4-icu59.patch&#039;
        &#039;moc-syslib-workaround.patch&#039;
        &#039;patch-src_network_ssl_qsslsocket_openssl_cpp.diff&#039;
        &#039;patch-src_network_ssl_qsslsocket_openssl_symbols_cpp.diff&#039;
        &#039;libressl-2.8.patch&#039;)
sha512sums=(&#039;f9f81a2e7205e1fd05c8d923dc73244f29aa33f951fa6b7c5c8193449328b37084796b9b71ad0c317e4e6fd00017c10ea5d67b1b2032551cde00548522218125&#039;
            &#039;daa2d747cb997fcb97ce217ebd3b5b33a1da8ccbd945b9560d9ebe005d18f2dcb4508ee92e13b46840fe8aeebaa26b9369759682dd74c6e714a7dd2ca3f23c56&#039;
            &#039;fbcc1ec9ca04b93941c37d02326f33f3a84cb7630ca83f234845eebdb1875676aa8b27553981d8d42b2d5fcf227c7423228f704efc74a5df25a9ae05c5385fda&#039;
            &#039;c08b74d70e557d968672ad3251c70e23d0447f30f5d62bc63f6165cbb8c372e63b96b1e61e8888e48bc4f589705c95951f9e05723cf998963ddb7585b0f2e246&#039;
            &#039;29b3f2b05e27b2c8db3967bb426dfd2ee96e0715e284fc524d58c33fff55756bbb327ba166af943ce5e3fe825b2a3fc44f85c96d5117d25036b3606d7a49047d&#039;
            &#039;fbe3e343678b6cf7f94c97d5fb151028afdfa2fd27a19cbd583da999782f5a71c61a9282fb6284271290b3f5370e6b214b2edd1c05ee1e09d6345389b98be961&#039;
            &#039;4a8f828c79bde81ab1e39c9eaba4ef553582d85b62d6d182dda02820c4c8e046de6a25cc77d228955ed37fbc5b55f697a0a464af0bb3e171849851639e9ef4ee&#039;
            &#039;b4eced1fe34f09baa987be59fd21a02f4209551f491ae113c9d1cc3c44b00494a909808e22db306bcae0ee4c4f996097ce2c23994b2ac067cf9f599da5a5fc71&#039;
            &#039;c987f478e6da84e26ef5085c2a354cf085227e75af84d24b1497cfb046cfed89858bfed21850cf9dc0f5df2b66f9eed3ca8955a8c9df81cdddc9b98257231319&#039;
            &#039;fe70a3032164233107aa71ba076ca420be3e179225c9cfb3b7f3ff192abb0eecddebf8cec681461ab7c615191028415ff88f98047e383d7388fefe9e267e00a4&#039;
            &#039;6d5216e539d93352cd5f5ca98b5296feba702feba1f198f81de650c399076f0161d8ae712ecd79f1c2833b00b5ce7d4c390e33bbeb7e5542c6860a58a6785cab&#039;
            &#039;bd63961bcb695beebe8686142b84bff7702db4d85d737f5c2da927252b931700d03602f80048223cbbb05d85a5ddb9cb818321d756577f84843690b318f0c413&#039;
            &#039;0215f81fd0ed3483d1f79f46a53d9378f7462901410f4bc3f235325974c155454b0e75cba5222180e5ca62099cba7b80419b5fab86380ac6d951b9ae12714444&#039;
            &#039;efe8e1842882b784a14ba137bc6a8a579d5133e579f98c61674f5d3d9b79ff8e895775a79fcf757f7726377cd221396a678d181fa069416b0760a5241d39845a&#039;
            &#039;a19e76d64bbbf148b088e3531135dc3ababd63ea8e71147dcf7d2966802abb2d83b839766882040e5c9efdea2e364d48bc38aa712dd35b850383c7747ffa9745&#039;
            &#039;483b382da8ad57f9792df1ad0c85948992d8293819c2774a381544235d9b6a7498b12beb3f9d7d06c4a814f8ded514973453314d71381368148d2fcbbf854e65&#039;
            &#039;087c76b5076708e9883a43f0fb7ff4016b937034823ec33edc95aab34a3d2dad7b184d8328d15f7efe6f33037e743bbee253d6c5450ee705f246ac755c9288db&#039;
            &#039;dd87bdb2c3e12f5247b5c36ffa9065eb0bfa9040193d48dcf87f25b808cce47aece9b9dadbc238c0aab4b6fc35aa7b6a3ee3aeb0943ee7deef8315e46c21a3af&#039;
            &#039;aaf3c7314c50717dce4697c69c316d516af47dff00c28355789f2e88ccdfb3d556b715a2ba5e54aae36900bb75ac03a15f2930ab4b9ee0e322326171617ac392&#039;
            &#039;413ebafa62f7a39ad569c6ecac47ca32bfe6e87bc07bccf86a732eaf51f152311db172eb197711e0f263e47b7f2c573026b2ee69ab9393b75573c499fa1593a4&#039;)

prepare() {
  cd ${_pkgfqn}

  if [[ ${pkgver%.*} = ${_debver%.*} ]]; then
    # Debian patches
    export QUILT_PATCHES=debian/patches
    export QUILT_REFRESH_ARGS=&#039;-p ab --no-timestamps --no-index&#039;
    export QUILT_DIFF_ARGS=&#039;--no-timestamps&#039;

    mv &quot;$srcdir&quot;/debian .

    # Doesn&#039;t apply and seems unimportant
    rm -v debian/patches/07_trust_dpkg-arch_over_uname-m.diff || true
    rm -v debian/patches/94_armv6_uname_entry.diff || true
    rm -v debian/patches/aarch64_arm64_qatomic_support.patch || true
    rm -v debian/patches/kfreebsd_monotonic_clock.diff || true
    rm -v debian/patches/no-ssl3.patch || true
    rm -v debian/patches/parisc-atomic.patch || true
    rm -v debian/patches/powerpc_designer_gstabs.diff || true
    rm -v debian/patches/powerpcspe.diff || true
    rm -v debian/patches/qt-everywhere-opensource-src-4.8.5-QTBUG-22829.patch || true
    rm -v debian/patches/s390x_jscore.diff || true
    rm -v debian/patches/sh.diff || true
    rm -v debian/patches/x32.diff || true

    quilt push -av
  else
    # http://blog.martin-graesslin.com/blog/2014/06/where-are-my-systray-icons/
    patch -p1 -i &quot;${srcdir}&quot;/kubuntu_14_systemtrayicon.diff

    # Fix build with GCC6 (Fedora)
    patch -p1 -i &quot;$srcdir&quot;/qt4-gcc6.patch

    # Fix build of Qt4 applications with glibc 2.25 (Fedora)
    patch -p1 -i &quot;$srcdir&quot;/qt4-glibc-2.25.patch
  fi

  # QTBUG#22829
  patch -p1 -i &quot;${srcdir}&quot;/moc-boost-workaround.patch

  # Workaround a bug where newer kernel headers sys/sysmacros.h define macros like major, minor (Void)
  patch -p1 -i &quot;${srcdir}&quot;/moc-syslib-workaround.patch

  # (FS#28381) (KDEBUG#180051)
  patch -p1 -i &quot;${srcdir}&quot;/improve-cups-support.patch

  # FS#45106
  patch -p0 -i &quot;${srcdir}&quot;/kde4-settings.patch

  # fixes for LibreOffice from the upstream Qt bug tracker FS#46436, FS#41648, FS#39819
  # https://bugreports.qt.io/browse/QTBUG-37380
  patch -p1 -i &quot;${srcdir}&quot;/glib-honor-ExcludeSocketNotifiers-flag.diff
  # https://bugreports.qt.io/browse/QTBUG-34614
  patch -p0 -i &quot;${srcdir}&quot;/l-qclipboard_fix_recursive.patch
  # https://bugreports.qt.io/browse/QTBUG-38585
  patch -p0 -i &quot;${srcdir}&quot;/l-qclipboard_delay.patch

  # React to OpenSSL&#039;s OPENSSL_NO_SSL3 define (OpenBSD)
  patch -p1 -i &quot;$srcdir&quot;/patch-src_network_ssl_qsslsocket_openssl_cpp.diff
  patch -p1 -i &quot;$srcdir&quot;/patch-src_network_ssl_qsslsocket_openssl_symbols_cpp.diff

  sed -i &quot;s|-O2|${CXXFLAGS}|&quot; mkspecs/common/{g++,gcc}-base.conf
  sed -i &quot;/^QMAKE_LFLAGS_RPATH/s| -Wl,-rpath,||g&quot; mkspecs/common/gcc-base-unix.conf
  sed -i &quot;/^QMAKE_LFLAGS\s/s|+=|+= ${LDFLAGS}|g&quot; mkspecs/common/gcc-base.conf

  cp mkspecs/common/linux{,32}.conf
  sed -i &quot;/^QMAKE_LIBDIR\s/s|=|= /usr/lib32|g&quot; mkspecs/common/linux32.conf
  sed -i &quot;s|common/linux.conf|common/linux32.conf|&quot; mkspecs/linux-g++-32/qmake.conf

  # Fix build with ICU 59 (pld-linux)
  patch -p1 -i &quot;$srcdir&quot;/qt4-icu59.patch

  # Fix build with LibreSSL 2.8 (Void)
  patch -p1 -i &quot;$srcdir&quot;/libressl-2.8.patch
}

build() {
  export QT4DIR=&quot;${srcdir}&quot;/${_pkgfqn}
  export LD_LIBRARY_PATH=${QT4DIR}/lib:${LD_LIBRARY_PATH}
  export CXXFLAGS+=&quot; -std=gnu++98&quot; # Fix build with GCC 6

  cd ${_pkgfqn}

  ./configure -confirm-license -opensource \
    -prefix /usr \
    -bindir /usr/libexec/qt4/bin \
    -headerdir /usr/include/qt4 \
    -docdir /usr/share/doc/qt4 \
    -plugindir /usr/lib/qt4/plugins \
    -importdir /usr/lib/qt4/imports \
    -datadir /usr/share/qt4 \
    -translationdir /usr/share/qt4/translations \
    -sysconfdir /etc/xdg \
    -examplesdir /usr/share/doc/qt4/examples \
    -demosdir /usr/share/doc/qt4/demos \
    -plugin-sql-{psql,mysql,sqlite,odbc,ibase} \
    -system-sqlite \
    -no-phonon \
    -no-phonon-backend \
    -no-webkit \
    -graphicssystem raster \
    -openssl-linked \
    -nomake demos \
    -nomake examples \
    -nomake docs \
    -silent \
    -no-rpath \
    -optimized-qmake \
    -no-reduce-relocations \
    -no-dbus \
    -no-openvg
  make
}

package() {
    cd ${_pkgfqn}
    make INSTALL_ROOT=&quot;${pkgdir}&quot; install

    # install missing icons and desktop files
    install -D -m644 src/gui/dialogs/images/qtlogo-64.png \
      &quot;${pkgdir}&quot;/usr/share/icons/hicolor/64x64/apps/qt4logo.png
    install -D -m644 tools/assistant/tools/assistant/images/assistant.png \
      &quot;${pkgdir}&quot;/usr/share/icons/hicolor/32x32/apps/assistant-qt4.png
    install -D -m644 tools/assistant/tools/assistant/images/assistant-128.png \
      &quot;${pkgdir}&quot;/usr/share/icons/hicolor/128x128/apps/assistant-qt4.png
    install -D -m644 tools/designer/src/designer/images/designer.png \
      &quot;${pkgdir}&quot;/usr/share/icons/hicolor/128x128/apps/designer-qt4.png
    for icon in tools/linguist/linguist/images/icons/linguist-*-32.png ; do
      size=$(echo $(basename ${icon}) | cut -d- -f2)
      install -D -m644 ${icon} \
          &quot;${pkgdir}&quot;/usr/share/icons/hicolor/${size}x${size}/apps/linguist-qt4.png
    done

    install -d &quot;${pkgdir}&quot;/usr/share/applications
    install -m644 &quot;${srcdir}&quot;/{assistant,designer,linguist,qtconfig}-qt4.desktop \
      &quot;${pkgdir}&quot;/usr/share/applications/

    # Useful symlinks for cmake and configure scripts
    install -d &quot;${pkgdir}&quot;/usr/bin
    for b in &quot;${pkgdir}&quot;/usr/libexec/qt4/bin/*; do
      ln -s /usr/libexec/qt4/bin/$(basename $b) &quot;${pkgdir}&quot;/usr/bin/$(basename $b)-qt4
    done

    # install licenses
    install -d -m755 ${pkgdir}/usr/share/licenses/${pkgname}
    install -D -m644 LICENSE.{FDL,GPL3,LGPLv3} LGPL_EXCEPTION.txt \
      ${pkgdir}/usr/share/licenses/${pkgname}

    # Fix wrong libs path in pkgconfig files
    find &quot;${pkgdir}/usr/lib/pkgconfig&quot; -type f -name &#039;*.pc&#039; \
      -exec perl -pi -e &quot;s, -L${srcdir}/?\S+,,g&quot; {} \;

    # Fix wrong bins path in pkgconfig files
    find &quot;${pkgdir}/usr/lib/pkgconfig&quot; -type f -name &#039;*.pc&#039; \
      -exec sed -i &#039;s|/usr/bin/|/usr/libexec/qt4/bin/|g&#039; {} \;

    # Fix wrong path in prl files
    find &quot;${pkgdir}/usr/lib&quot; -type f -name &#039;*.prl&#039; \
      -exec sed -i -e &#039;/^QMAKE_PRL_BUILD_DIR/d;s/\(QMAKE_PRL_LIBS =\).*/\1/&#039; {} \;

    # The TGA plugin is broken (FS#33568)
    rm &quot;${pkgdir}&quot;/usr/lib/qt4/plugins/imageformats/libqtga.so
}</code></pre></div><p>Again take your time as compilation last a little bit longer.</p>]]></description>
			<author><![CDATA[null@example.com (throgh)]]></author>
			<pubDate>Fri, 02 Apr 2021 13:14:57 +0000</pubDate>
			<guid>https://forums.hyperbola.info/viewtopic.php?pid=2846#p2846</guid>
		</item>
		<item>
			<title><![CDATA[Re: Hyperbola 0.3 without dbus]]></title>
			<link>https://forums.hyperbola.info/viewtopic.php?pid=2845#p2845</link>
			<description><![CDATA[<p>Up next is to build packages for Qt, first <strong>qt5-base</strong>. So download the source-code for the package <a href="https://repo.hyperbola.info:50012/gnu-plus-linux-libre/stable/sources/hyperbola/qt5-base-5.8.0-11.hyperbola3.1.src.tar.gz">here</a> and modify the PKGBUILD:</p><div class="codebox"><pre><code># Maintainer (Arch): Felix Yan &lt;felixonmars@archlinux.org&gt;
# Contributor (Arch): Andrea Scarpino &lt;andrea@archlinux.org&gt;
# Maintainer: André Silva &lt;emulatorman@hyperbola.info&gt;

pkgbase=qt5-base
pkgname=(qt5-base qt5-xcb-private-headers)
_qtver=5.8.0
pkgver=${_qtver/-/}
_debver=5.8.0+dfsg
_debrel=3
pkgrel=11.hyperbola3.1
arch=(&#039;i686&#039; &#039;x86_64&#039;)
url=&#039;https://www.qt.io/developers/&#039;
license=(&#039;GPL-3&#039; &#039;LGPL-3&#039; &#039;FDL-1.3&#039; &#039;custom:LGPL-Exception-1.1&#039;)
pkgdesc=&#039;A cross-platform application and UI framework, without systemd support&#039;
depends=(&#039;libjpeg-turbo&#039; &#039;xcb-util-keysyms&#039; &#039;xcb-util-renderutil&#039; &#039;libgl&#039; &#039;fontconfig&#039;
         &#039;xcb-util-wm&#039; &#039;libxrender&#039; &#039;libxi&#039; &#039;sqlite&#039; &#039;xcb-util-image&#039; &#039;icu&#039;
         &#039;tslib&#039; &#039;libinput&#039; &#039;libsm&#039; &#039;libxkbcommon-x11&#039; &#039;libproxy&#039; &#039;libcups&#039; &#039;libressl&#039;)
makedepends=(&#039;libfbclient&#039; &#039;libmariadbclient&#039; &#039;sqlite&#039; &#039;unixodbc&#039; &#039;postgresql-libs&#039; &#039;alsa-lib&#039; &#039;gst-plugins-base-libs&#039;
             &#039;gtk3&#039; &#039;cups&#039; &#039;freetds&#039; &#039;quilt&#039;)
optdepends=(&#039;qt5-svg: to use SVG icon themes&#039;
            &#039;postgresql-libs: PostgreSQL driver&#039;
            &#039;libmariadbclient: MariaDB driver&#039;
            &#039;unixodbc: ODBC driver&#039;
            &#039;libfbclient: Firebird/iBase driver&#039;
            &#039;freetds: MS SQL driver&#039;
            &#039;gtk3: GTK platform plugin&#039;)
conflicts=(&#039;qtchooser&#039;)
groups=(&#039;qt&#039; &#039;qt5&#039;)
_pkgfqn=&quot;${pkgbase/5-/}-opensource-src-${_qtver}&quot;
source=(&quot;https://distfiles.macports.org/qt5/${_pkgfqn}.tar.xz&quot;
        &quot;https://snapshot.debian.org/archive/debian/20170216T152027Z/pool/main/q/qtbase-opensource-src/qtbase-opensource-src_5.8.0%2Bdfsg-3.debian.tar.xz&quot;
        plasma-crash-1.patch::https://github.com/qt/qtbase/commit/3bd0fd8f.patch
        plasma-crash-2.patch::https://github.com/qt/qtbase/commit/0874861b.patch
        plasma-crash-3.patch::https://github.com/qt/qtbase/commit/baad82d2.patch
        libressl-const-bio.patch
        CVE-2018-15518.patch
        CVE-2018-19870.patch
        CVE-2018-19873.patch
        CVE-2020-0569.patch)
sha512sums=(&#039;36a1ba4b0dba02ae65c3b2b0aa3fb3767cbee4dbdf204c9ded7d1700e70144ce85a3a66167f86cc716a1fdd38d832962b2a752e803b0647d03032b2685da5ced&#039;
            &#039;5aaa5cce7023c7f7c946b6a34c76ae1c4477e42cbf3cb9d8c848b4d3d142473abc1d289e0c2326398202c5dd6910aa9237cddd8ecd84317c754cd4cbd0079438&#039;
            &#039;bae1f3ee51913b6766d75110da9302dd6f7f12fdde2c6d8f568c355c1174a7af9cae307704ea35647b32202bd62a23fe26ac0660517b6f6edcbfc5425bf1a2f7&#039;
            &#039;c04cf680f44ed858db2941aa0b86873a07de9ec60d9bddbf4a5ee3586eef1b4d628dceacc38b401099629b4a52fbf0f6031b508135dbb82a8592513bb54c213e&#039;
            &#039;267b6306591e08c83a4478cbfaf9065d1bc6a5b5b70b8f91b4bedf5c1244c88e836ae74ca8adb691d4681111cfb5f568395c50fe5aa67a5c99f6ec907dcd9b2b&#039;
            &#039;5d596a1e53e3eb91beb5bf940861bc7dad7abaf391dd5b070d24f8867241d90c37493ac26b3229a831f82e0943efb1921396acd3d5f1c7c2dc0c37e548aee959&#039;
            &#039;7f4731afbb5df9645cc6489c88dbcfd5d0e79b4ec897b89f660ee5e971d18a986035b1ac3ee256d8642767d9e8a406db23710892a15f157c7ca92bb811c3985b&#039;
            &#039;2f801f4c6c971d499ca753f8a290678b8b8b32ddfb3106e3fb2560ec9db4e60c43f63489b8faaac4ea5d6f2c0a57175f2a3a328be389f974f92cd16d9368e997&#039;
            &#039;cd476121633e5f0c463f3141d766965edf65e6ea63a0b478031763dd33aa4627527eb4828861e31a478a90a3a984200ce733e13ac72b10fae2baa01b95239709&#039;
            &#039;ddeb0a59cf0901b38669314fd2f14dffba63c6cbd06a3d864cd329081cc2b10323ec52053a6ffe7baf5ee8a1e137331acfe5d874c03596660630dd151828da56&#039;)

prepare() {
  cd ${_pkgfqn}

  if [[ ${pkgver%.*} = ${_debver%.*} ]]; then
    # Debian patches
    export QUILT_PATCHES=debian/patches
    export QUILT_REFRESH_ARGS=&#039;-p ab --no-timestamps --no-index&#039;
    export QUILT_DIFF_ARGS=&#039;--no-timestamps&#039;

    mv &quot;$srcdir&quot;/debian .

    # Doesn&#039;t apply and seems unimportant
    rm -v debian/patches/armv4.diff || true
    rm -v debian/patches/gnukfreebsd.diff || true
    rm -v debian/patches/gnukfreebsd_cloexec.diff || true
    rm -v debian/patches/hurd_tilde.diff || true
    rm -v debian/patches/link_fbclient.diff || true
    rm -v debian/patches/vnc_big_endian.diff || true

    quilt push -av
  fi

  # Build qmake using Arch {C,LD}FLAGS
  # This also sets default {C,CXX,LD}FLAGS for projects built using qmake
  sed -i -e &quot;s|^\(QMAKE_CFLAGS_RELEASE.*\)|\1 ${CFLAGS}|&quot; \
    mkspecs/common/gcc-base.conf
  sed -i -e &quot;s|^\(QMAKE_LFLAGS_RELEASE.*\)|\1 ${LDFLAGS}|&quot; \
    mkspecs/common/g++-unix.conf

  # Use python2 for Python 2.x
  find . -name &#039;*.py&#039; -exec sed -i \
    &#039;s|#![ ]*/usr/bin/python$|&amp;2|;s|#![ ]*/usr/bin/env python$|&amp;2|&#039; {} +

  # Fix some Plasma taskbar crashes https://bugs.kde.org/show_bug.cgi?id=342763
  patch -p1 -i ../plasma-crash-1.patch
  patch -p1 -i ../plasma-crash-2.patch
  patch -p1 -i ../plasma-crash-3.patch

  # Fix build with LibreSSL 2.8
  patch -p1 -i ../libressl-const-bio.patch

  patch -p1 -i ../CVE-2018-15518.patch
  patch -p1 -i ../CVE-2018-19870.patch
  patch -p1 -i ../CVE-2018-19873.patch
  patch -p1 -i ../CVE-2020-0569.patch
}

build() {
  cd ${_pkgfqn}

  # FS#38796
  [[ &quot;${CARCH}&quot; = &quot;i686&quot; ]] &amp;&amp; SSE2=&quot;-no-sse2&quot;

  PYTHON=/usr/bin/python2 ./configure -confirm-license -opensource -v \
    -prefix /usr \
    -docdir /usr/share/doc/qt \
    -headerdir /usr/include/qt \
    -archdatadir /usr/lib/qt \
    -datadir /usr/share/qt \
    -sysconfdir /etc/xdg \
    -examplesdir /usr/share/doc/qt/examples \
    -plugin-sql-{psql,mysql,sqlite,odbc,ibase} \
    -system-sqlite \
    -openssl-linked \
    -nomake examples \
    -no-rpath \
    -optimized-qmake \
    -no-dbus \
    -system-harfbuzz \
    -no-use-gold-linker \
    -reduce-relocations ${SSE2}

  make
}

package_qt5-base() {
  pkgdesc=&#039;A cross-platform application and UI framework, without systemd support and with libressl support&#039;

  cd ${_pkgfqn}
  make INSTALL_ROOT=&quot;${pkgdir}&quot; install

  # Install licenses
  install -d -m755 &quot;${pkgdir}&quot;/usr/share/licenses/${pkgname}
  install -D -m644 LICENSE.{FDL,GPL3,LGPLv3} LGPL_EXCEPTION.txt \
    &quot;${pkgdir}&quot;/usr/share/licenses/${pkgname}

  # Drop QMAKE_PRL_BUILD_DIR because reference the build dir
  find &quot;${pkgdir}/usr/lib&quot; -type f -name &#039;*.prl&#039; \
    -exec sed -i -e &#039;/^QMAKE_PRL_BUILD_DIR/d&#039; {} \;

  # Fix wrong qmake path in pri file
  sed -i &quot;s|${srcdir}/${_pkgfqn}|/usr|&quot; \
    &quot;${pkgdir}&quot;/usr/lib/qt/mkspecs/modules/qt_lib_bootstrap_private.pri

  # Symlinks for backwards compatibility
  for b in &quot;${pkgdir}&quot;/usr/bin/*; do
    ln -s /usr/bin/$(basename $b) &quot;${pkgdir}&quot;/usr/bin/$(basename $b)-qt5
  done
}

package_qt5-xcb-private-headers() {
  pkgdesc=&#039;Private headers for Qt5 Xcb, without systemd support&#039;
  license=(&#039;LGPL-3&#039; &#039;custom:LGPL-Exception-1.1&#039;)
  depends=(&quot;qt5-base=$pkgver&quot;)
  optdepends=()
  groups=()
  conflicts=()

  cd ${_pkgfqn}
  install -d -m755 &quot;$pkgdir&quot;/usr/include/qtxcb-private
  cp -r src/plugins/platforms/xcb/*.h &quot;$pkgdir&quot;/usr/include/qtxcb-private/

  # Install licenses
  install -d -m755 &quot;${pkgdir}&quot;/usr/share/licenses/${pkgname}
  install -D -m644 LICENSE.LGPLv3 LGPL_EXCEPTION.txt \
    &quot;${pkgdir}&quot;/usr/share/licenses/${pkgname}
}</code></pre></div><p>Take your time as compilation can last a little bit longer depending on your machine.</p>]]></description>
			<author><![CDATA[null@example.com (throgh)]]></author>
			<pubDate>Fri, 02 Apr 2021 12:31:06 +0000</pubDate>
			<guid>https://forums.hyperbola.info/viewtopic.php?pid=2845#p2845</guid>
		</item>
		<item>
			<title><![CDATA[Re: Hyperbola 0.3 without dbus]]></title>
			<link>https://forums.hyperbola.info/viewtopic.php?pid=2840#p2840</link>
			<description><![CDATA[<div class="quotebox"><cite>dikasp2 wrote:</cite><blockquote><p>again, thanks for sharing this <img src="https://forums.hyperbola.info/img/smilies/smile.png" width="15" height="15" alt="smile" /></p></blockquote></div><p>Sharing this is a pleasure, learning also. <img src="https://forums.hyperbola.info/img/smilies/smile.png" width="15" height="15" alt="smile" /><br />Coming up more: Next with applications. Meaning: Gimp, VLC, Inkscape (without imagemagick), mplayer, mpv and smplayer to be used. Also finding alternatives like mirage as image-viewer.</p>]]></description>
			<author><![CDATA[null@example.com (throgh)]]></author>
			<pubDate>Fri, 02 Apr 2021 00:23:03 +0000</pubDate>
			<guid>https://forums.hyperbola.info/viewtopic.php?pid=2840#p2840</guid>
		</item>
		<item>
			<title><![CDATA[Re: Hyperbola 0.3 without dbus]]></title>
			<link>https://forums.hyperbola.info/viewtopic.php?pid=2839#p2839</link>
			<description><![CDATA[<p>again, thanks for sharing this <img src="https://forums.hyperbola.info/img/smilies/smile.png" width="15" height="15" alt="smile" /></p>]]></description>
			<author><![CDATA[null@example.com (dikasp2)]]></author>
			<pubDate>Fri, 02 Apr 2021 00:01:17 +0000</pubDate>
			<guid>https://forums.hyperbola.info/viewtopic.php?pid=2839#p2839</guid>
		</item>
		<item>
			<title><![CDATA[Re: Hyperbola 0.3 without dbus]]></title>
			<link>https://forums.hyperbola.info/viewtopic.php?pid=2837#p2837</link>
			<description><![CDATA[<p>Congratulations, at this point it should be possible to remove <strong>dbus</strong> (<em>and if already installed <strong>libdbus</strong></em>). So doing this:</p><div class="codebox"><pre><code>doas pacman -R dbus
doas pacman -R libdbus (if installed)
doas pacman -R at-spi2-atk
doas pacman -R at-spi2-core</code></pre></div><p>To get those packages not again and also a warning if they should be installed in the future, you can modify the file <strong>pacman.conf</strong> under <strong>/etc/pacman.conf</strong>, using the configuration-parameter <strong>IgnorePkg</strong>:</p><div class="codebox"><pre><code>IgnorePkg = pulseaudio libpulse avahi libdbus dbus</code></pre></div>]]></description>
			<author><![CDATA[null@example.com (throgh)]]></author>
			<pubDate>Thu, 01 Apr 2021 22:42:35 +0000</pubDate>
			<guid>https://forums.hyperbola.info/viewtopic.php?pid=2837#p2837</guid>
		</item>
	</channel>
</rss>
