<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title><![CDATA[HyperForum — Barrier without CLI is compilable]]></title>
		<link>https://forums.hyperbola.info/viewtopic.php?id=922</link>
		<atom:link href="https://forums.hyperbola.info/extern.php?action=feed&amp;tid=922&amp;type=rss" rel="self" type="application/rss+xml" />
		<description><![CDATA[The most recent posts in Barrier without CLI is compilable.]]></description>
		<lastBuildDate>Fri, 27 Oct 2023 19:08:49 +0000</lastBuildDate>
		<generator>PunBB</generator>
		<item>
			<title><![CDATA[Re: Barrier without CLI is compilable]]></title>
			<link>https://forums.hyperbola.info/viewtopic.php?pid=6719#p6719</link>
			<description><![CDATA[<p>I close the topic as we have a corresponding thread for this. New position as copy from me.</p><p><a href="https://forums.hyperbola.info/viewtopic.php?pid=6718#p6718">https://forums.hyperbola.info/viewtopic … 6718#p6718</a></p>]]></description>
			<author><![CDATA[null@example.com (throgh)]]></author>
			<pubDate>Fri, 27 Oct 2023 19:08:49 +0000</pubDate>
			<guid>https://forums.hyperbola.info/viewtopic.php?pid=6719#p6719</guid>
		</item>
		<item>
			<title><![CDATA[Barrier without CLI is compilable]]></title>
			<link>https://forums.hyperbola.info/viewtopic.php?pid=6717#p6717</link>
			<description><![CDATA[<p>Hi I try compile barrier and I get it, now I share how works</p><br /><p>PKBUILD next:</p><div class="codebox"><pre><code># Maintainer: Morten Linderud &lt;foxboron@archlinux.org&gt;
# Contributor: Tilman BLUMENBACH &lt;tilman+aur AT ax86 DOT net&gt;

pkgname=(barrier barrier-headless)
pkgver=2.4.0
pkgrel=2
pkgdesc=&quot;Open-source KVM software based on Synergy&quot;
arch=(x86_64)
url=&quot;https://github.com/debauchee/barrier&quot;
license=(&quot;custom:GPL2WithOpenSSLException&quot;)
changelog=CHANGELOG.rst
depends=(curl libx11 libxrandr libxext
        libxinerama xorgproto libxtst libxi
        libsm libice openssl)
makedepends=(cmake git qt5-base hicolor-icon-theme)
source=(&quot;git+https://github.com/debauchee/barrier.git#tag=v${pkgver}&quot;)
sha256sums=(&#039;SKIP&#039;)

prepare() {
    cd &quot;barrier&quot;
    git submodule update --init --recursive
    # lib/platform: Fix encoding for text copied between linux and windows
    # https://github.com/debauchee/barrier/commit/dd3ea8adfef868e52098ea24d2ed08320a90e3b9
    git cherry-pick -n dd3ea8adfef868e52098ea24d2ed08320a90e3b9

    # Add missing cstddef includes for NULL
    # https://github.com/debauchee/barrier/commit/4b12265ae5d324b942698a3177e1d8b1749414d7
    git cherry-pick -n 4b12265ae5d324b942698a3177e1d8b1749414d7
}

build() {
    cd &quot;barrier&quot;

    mkdir -p build
    cd build

    cmake -G &quot;Unix Makefiles&quot; \
        -D CMAKE_BUILD_TYPE:STRING=Release \
        -D CMAKE_INSTALL_PREFIX:STRING=/usr \
        -D BARRIER_REVISION:STRING=00000000 \
        -D BARRIER_VERSION_STAGE:STRING=RELEASE \
        -D AVAHI_COMPAT_NOWARN:bool=true \
        -D BARRIER_BUILD_GUI:bool=false \
        ..
    make
}


_package_common() {
    # Install binaries:
    cd &quot;barrier/build&quot;
    DESTDIR=&quot;${pkgdir}&quot; make install

    # Install the license:
    cd ..
    install -m 644 -D LICENSE &quot;${pkgdir}/usr/share/licenses/${pkgname}/LICENSE&quot;

    # Install the manpages:
    mkdir -p &quot;${pkgdir}/usr/share/man/man1&quot;
    install -m 644 doc/*.1 &quot;${pkgdir}/usr/share/man/man1&quot;

    # Install the examples:
    mkdir -p &quot;${pkgdir}/usr/share/doc/${pkgname}&quot;
    install -m 644 doc/barrier.conf* &quot;${pkgdir}/usr/share/doc/${pkgname}&quot;
}

package_barrier() {
    pkgdesc=&quot;Open-source KVM software based on Synergy (GUI)&quot;
    depends=(&quot;barrier-headless=${pkgver}-${pkgrel}&quot; qt5-base hicolor-icon-theme)

    # Install all the files:
    _package_common

    # Now go and delete files that are already in
    # barrier-headless:
    for file in \
        /usr/share/doc \
        /usr/share/man \
        /usr/bin/barrier{s,c} \
    ;do
        rm -rf &quot;${pkgdir}/${file}&quot;
    done
}

package_barrier-headless() {
    pkgdesc=&quot;Open-source KVM software based on Synergy (client and server CLI binaries)&quot;

    # Install all the files:
    _package_common

    # Now go and delete the GUI-related files:
    for file in \
        /usr/bin/barrier \
        /usr/share/applications \
        /usr/share/icons \
    ;do
        rm -rf &quot;${pkgdir}/${file}&quot;
    done
}</code></pre></div><p>maybe is good idea add to repo, is for use one laptop keyboard and mouse with another laptop over LAN conection, is very usefull</p>]]></description>
			<author><![CDATA[null@example.com (saravia)]]></author>
			<pubDate>Fri, 27 Oct 2023 18:50:39 +0000</pubDate>
			<guid>https://forums.hyperbola.info/viewtopic.php?pid=6717#p6717</guid>
		</item>
	</channel>
</rss>
