Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix focus handling (attempt 2) #154

Closed
wants to merge 19 commits into from
Closed
Show file tree
Hide file tree
Changes from 17 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 11 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,14 @@ tags
deb/
pkgs
debian/changelog.*
/PKGBUILD*
/gui-agent/qubes-gui
/gui-common/qubes-gui-runuser
/pkg/
*.tar.zst
/src/
/xf86-input-mfndev/compile
/xf86-input-mfndev/config.h.in
/xf86-input-mfndev/depcomp
/xf86-input-mfndev/ltmain.sh
/xf86-qubes-common/libxf86-qubes-common.so
3 changes: 3 additions & 0 deletions archlinux/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
pkg/
src/
*.tar.zst
40 changes: 28 additions & 12 deletions archlinux/PKGBUILD
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
pkgname=(qubes-vm-gui qubes-vm-pulseaudio)
pkgver=$(cat version)
pkgrel=10
epoch=
pkgdesc="The Qubes GUI Agent for AppVMs"
Expand All @@ -8,8 +7,8 @@ url="http://qubes-os.org/"
license=('GPL')
groups=()
makedepends=(pkg-config make gcc patch git automake autoconf libtool
'pulseaudio<=16.1'
xorg-server-devel xorg-util-macros libxcomposite libxt pixman lsb-release
'pulseaudio'
xorg-server-devel xorg-util-macros libxcomposite libxt pixman
qubes-vm-gui-common qubes-libvchan qubes-db-vm
)
checkdepends=()
Expand All @@ -21,21 +20,39 @@ backup=()
options=()
changelog=

source=(PKGBUILD-z-qubes-session.sh)
source=()
md5sums=()

noextract=()
md5sums=() #generate with 'makepkg -g'
pa_ver=$((pkg-config --modversion libpulse 2>/dev/null || echo 0.0) | cut -f 1 -d "-")
pa_ver=16.1 #specify this manually please
# If using pkg-config, you must update libpulse first.
#pa_ver=$((pkg-config --modversion libpulse 2>/dev/null || echo 0.0) | cut -f 1 -d "-")

export PA_VER_FULL=$pa_ver

if [ -e archlinux ] # on no, at repo root
then
echo Do not run 'makepkg' at repo root! >&2
cd archlinux
fi

pkgver=$(cat $startdir/../version)

clean() {
rm $srcdir/* -r || true
}

build() {

for source in Makefile appvm-scripts gui-common include pulse gui-agent common xf86-input-mfndev xf86-video-dummy xf86-qubes-common window-icon-updater version; do
(ln -s $srcdir/../$source $srcdir/$source)
rm $srcdir/PKGBUILD-z-qubes-session.sh || true
cp $startdir/PKGBUILD-z-qubes-session.sh $srcdir/
for source in Makefile appvm-scripts gui-common include pulse gui-agent common xf86-input-mfndev xf86-video-dummy xf86-qubes-common window-icon-updater version; do
rm $source -r || true
cp -r $startdir/../$source $source
done

pa_ver=$((pkg-config --modversion libpulse 2>/dev/null || echo 0.0) | cut -f 1 -d "-")

rm -f pulse/pulsecore
rm -rf pulse/pulsecore
ln -s pulsecore-$pa_ver pulse/pulsecore

# Bug fixes : /var/run/console depends on pam_console, which is fedora specific
Expand Down Expand Up @@ -71,9 +88,8 @@ install -D $srcdir/PKGBUILD-z-qubes-session.sh $pkgdir/etc/X11/xinit/xinitrc.d/z
package_qubes-vm-pulseaudio() {

pkgdesc="Pulseaudio support for Qubes VM"
depends=('alsa-lib' 'alsa-utils' 'pulseaudio-alsa' 'pulseaudio<=16.1')
depends=('alsa-lib' 'alsa-utils' 'pulseaudio-alsa' 'pulseaudio')
install=PKGBUILD-pulseaudio.install
pa_ver=$((pkg-config --modversion libpulse 2>/dev/null || echo 0.0) | cut -f 1 -d "-")

make install-pulseaudio DESTDIR=$pkgdir PA_VER=$pa_ver LIBDIR=/usr/lib USRLIBDIR=/usr/lib SYSLIBDIR=/usr/lib

Expand Down
Loading