You are not logged in.

#1 2016-06-16 04:37:25

ssri
Member
Registered: 2010-02-16
Posts: 216

LXQt git easypeasy

Concerned that lxqt stable in the repos is slowly breaking down and the AUR buildscripts for lxqt-desktop-git (and its associated packages) oftentimes miss dependencies (in my experience and here: https://bbs.archlinux.org/viewtopic.php?id=212714), I've been using the following bash function to build lxqt from git the past several months.  Just putting this out here for anyone who wants to save time building the latest lxqt git master.

1. Download the associated pkgbuilds and untar them in respective directories
2. Look at the respective comments to see if there's any additional dependencies that are required.  Optionally, add 'groups=("lxqt-git")' to the PKGBUILDs for easy management.
3. Add the following code below to ~/.bashrc (modify as needed)

Reminder: Remove lxqt before running 'lxqt-git-upd'

function lxqt-git-upd {
    cd ~
        cd ~/Projects/lxqt-desktop-git
        cd libfm-qt-git
            makepkg -scri --asdeps --needed
        cd ../libqtxdg-git
            makepkg -scri --asdeps --needed
        cd ../system-tools-backends
            makepkg -scri --asdeps --needed
        cd ../liboobs
            makepkg -scri --asdeps --needed
        cd ../liblxqt-git
            makepkg -scri --asdeps --needed
        cd ../lxqt-about-git
            makepkg -scri --needed
        cd ../lxqt-admin-git
            makepkg -scri --needed
        cd ../lxqt-common-git
            makepkg -scri --needed
        cd ../lxqt-config-git
            makepkg -scri --needed
        cd ../lxqt-globalkeys-git
            makepkg -scri --needed
        cd ../lxqt-notificationd-git
            makepkg -scri --needed
        cd ../lxqt-openssh-askpass-git
            makepkg -scri --needed
        cd ../lxqt-panel-git
            makepkg -scri --needed
        cd ../lxqt-policykit-git
            makepkg -scri --needed
        cd ../lxqt-powermanagement-git
            makepkg -scri --needed
        cd ../lxqt-runner-git
            makepkg -scri --needed
        cd ../lxqt-qtplugin-git
            makepkg -scri --needed
        cd ../lxqt-session-git
            makepkg -scri --needed
        cd ../lxqt-sudo-git
            makepkg -scri --needed
        cd ../pcmanfm-qt-git
            makepkg -scri --needed
        cd ../lximage-qt-git
            makepkg -scri --needed
    cd ~
}

Last edited by ssri (2016-06-16 05:49:19)

Offline

#2 2016-09-19 06:25:14

ssri
Member
Registered: 2010-02-16
Posts: 216

Re: LXQt git easypeasy

Recently there was a soname bump for libqtxdg, a dependency for quite a few lxqt packages, necessitating a full rebuild:

function lxqt-rebuild {
    cd ~
        cd ~/Projects/lxqt-desktop-git
        cd libfm-qt-git
            makepkg -scrfi --asdeps
        cd ../libqtxdg-git
            makepkg -scrfi --asdeps
        cd ../system-tools-backends
            makepkg -scrfi --asdeps
        cd ../liboobs
            makepkg -scrfi --asdeps
        cd ../liblxqt-git
            makepkg -scrfi --asdeps
        cd ../lxqt-about-git
            makepkg -scrfi
        cd ../lxqt-admin-git
            makepkg -scrfi
        cd ../lxqt-common-git
            makepkg -scrfi
        cd ../lxqt-config-git
            makepkg -scrfi
        cd ../lxqt-globalkeys-git
            makepkg -scrfi
        cd ../lxqt-notificationd-git
            makepkg -scrfi
        cd ../lxqt-openssh-askpass-git
            makepkg -scrfi
        cd ../lxqt-panel-git
            makepkg -scrfi
        cd ../lxqt-policykit-git
            makepkg -scrfi
        cd ../lxqt-powermanagement-git
            makepkg -scrfi
        cd ../lxqt-runner-git
            makepkg -scrfi
        cd ../lxqt-qtplugin-git
            makepkg -scrfi
        cd ../lxqt-session-git
            makepkg -scrfi
        cd ../lxqt-sudo-git
            makepkg -scrfi
        cd ../pcmanfm-qt-git
            makepkg -scrfi
        cd ../lximage-qt-git
            makepkg -scrfi
    cd ~
}

if one cannot be arsed to enter "Y" at installation prompts and has full faith in upstream's code and your PKGBUILDs, just add in --noconfirm, such as

function lxqt-rebuild {
    cd ~
        cd ~/Projects/lxqt-desktop-git
        cd libfm-qt-git
            makepkg -scrfi --asdeps --noconfirm
        cd ../libqtxdg-git
            makepkg -scrfi --asdeps --noconfirm
        cd ../system-tools-backends
            makepkg -scrfi --asdeps --noconfirm
        cd ../liboobs
            makepkg -scrfi --asdeps --noconfirm
        cd ../liblxqt-git
            makepkg -scrfi --asdeps --noconfirm
        cd ../lxqt-about-git
            makepkg -scrfi --noconfirm
        cd ../lxqt-admin-git
            makepkg -scrfi --noconfirm
        cd ../lxqt-common-git
            makepkg -scrfi --noconfirm
        cd ../lxqt-config-git
            makepkg -scrfi --noconfirm
        cd ../lxqt-globalkeys-git
            makepkg -scrfi --noconfirm
        cd ../lxqt-notificationd-git
            makepkg -scrfi --noconfirm
        cd ../lxqt-openssh-askpass-git
            makepkg -scrfi --noconfirm
        cd ../lxqt-panel-git
            makepkg -scrfi --noconfirm
        cd ../lxqt-policykit-git
            makepkg -scrfi --noconfirm
        cd ../lxqt-powermanagement-git
            makepkg -scrfi --noconfirm
        cd ../lxqt-runner-git
            makepkg -scrfi --noconfirm
        cd ../lxqt-qtplugin-git
            makepkg -scrfi --noconfirm
        cd ../lxqt-session-git
            makepkg -scrfi --noconfirm
        cd ../lxqt-sudo-git
            makepkg -scrfi --noconfirm
        cd ../pcmanfm-qt-git
            makepkg -scrfi --noconfirm
        cd ../lximage-qt-git
            makepkg -scrfi --noconfirm
    cd ~
}

Last edited by ssri (2016-09-19 06:25:47)

Offline

#3 2016-09-23 16:04:51

null
Member
Registered: 2009-05-06
Posts: 398

Re: LXQt git easypeasy

You really should use loops for repetitive tasks wink

OPTIONS="-scrfi --noconfirm"
cd ~/Projects/lxqt-desktop-git
for package in libfm-qt-git ..; do
  cd $package
  makepkg $OPTIONS --asdeps
  cd ..
done
for package in lxqt-about-git ..; do
  cd $package
  makepkg $OPTIONS
  cd ..
done

Offline

Board footer

Powered by FluxBB