Xfce Forum

Sub domains
 

You are not logged in.

#1 2019-01-29 23:24:27

scootergrisen
Member
Registered: 2019-01-29
Posts: 2

Want to test latest translations before final release

I translate Xfce to danish and since there are so very long between each release i could really use a something like a prerelease/nightly build like an ISO file i can test in VirtualBox so i and try Xfce with the very latest translations from Transifex so that i can try the danish translation before the final release and have time to improve the translation.

I tried https://github.com/schuellerf/xfce-test which helped but not so easy to use and not all the software was included.

Offline

#2 2019-01-30 00:15:39

ToZ
Moderator
From: Canada
Registered: 2011-06-02
Posts: 5,318

Re: Want to test latest translations before final release

Hello and welcome.

Here is a script that I threw together to build all the Xfce git components from Arch's AUR in one shot (or individually if you so desire). It should give you the latest version of everything and has about 75% of the packages included.

Notes about the script:

  1. Run it in a VM - not a production system. This has not been tested at all. It works for me is as good as it gets.

  2. Read the script to see which packages are included and which are not (not included because there are no PKGBUILD files for the git components).

  3. If you run the script with no parameters, it will build everything. This will take time. Have a beer, coffee or take the dog for a walk.

  4. To refresh everything with the latest commits, just re-run the script

  5. You can pass parameters to the script. If you pass individual package names it will build only those ones.

  6. Of course this assumes that you have a base Arch build with X installed and working in a VM

  7. Good luck and I hope you find this useful.

#!/bin/bash

### globals
URL="https://aur.archlinux.org/cgit/aur.git/snapshot/"
EXT=".tar.gz"
DIR="$HOME/tmp"

### create or empty dir on start
[[ -d "$DIR" ]] && rm -rf "$DIR"/* || mkdir -p $DIR
cd "$DIR"

### in Palpatine's voice, do the building using makepkg
do_it () {
for file in $1
do
 wget "$URL$file$EXT"
 tar xzvf "$file$EXT"
 cd "$file"
 makepkg -si --noconfirm
 cd ..
 rm "$file$EXT"
 rm -rf "$file"
done
}

### Xfce Core Components
XFCE_CORE=" xfce4-dev-tools-git
 libxfce4util-git
 xfconf-git
 libxfce4ui-git
 garcon-git
 exo-git
 xfce4-panel-git
 thunar-git
 xfce4-settings-git
 xfce4-session-git
 xfwm4-git
 xfdesktop-git
 xfce4-appfinder-git
 tumbler-git"
# deprecated: libxfcegui4 gtk-xfce-engine
# no git: xfce4-power-manager
# error:

### Xfce Applications
XFCE_APPS=" mousepad-git
   orage-git
   parole-git
   squeeze-git
   xfburn-git
   xfce4-notifyd-git
   xfce4-panel-profiles-git
   xfce4-screenshooter-git
   xfce4-taskmanager-git
   xfce4-terminal-git
   xfce4-volumed-pulse-git
   xfdashboard-git"
# deprecated:
# no git: catfish ristretto xfce4-dict xfce4-mixer xfce4-screensaver
# error: gigolo-git xfmpc-git

### Xfce Panel Plugins
XFCE_PLUGS="xfce4-clipman-plugin-git
   xfce4-cpufreq-plugin-git
   xfce4-datetime-plugin-git
   xfce4-diskperf-plugin-git
   xfce4-fsguard-plugin-git
   xfce4-generic-slider-git
   xfce4-genmon-plugin-git
   xfce4-indicator-plugin-git
   xfce4-netload-plugin-git
   xfce4-pulseaudio-plugin-git
   xfce4-smartbookmark-plugin-git
   xfce4-systemload-plugin-git
   xfce4-weather-plugin-git
   xfce4-whiskermenu-plugin-git
   xfce4-xkb-plugin-git "
# deprecated:
# no git: xfce4-battery-plugin xfce4-calculator-plugin xfce4-cpugraph-plugin xfce4-embed-plugin
#    xfce4-eyes-plugin xfce4-hardware-monitor-plugin xfce4-mailwatch-plugin xfce4-mount-plugin
#    xfce4-mpc-plugin xfce4-notes-plugin xfce4-places-plugin xfce4-sample-plugin
#    xfce4-sensors-plugin xfce4-statusnotifier-plugin xfce4-stopwatch-plugin
#    xfce4-time-out-plugin xfce4-timer-plugin xfce4-verve-plugin xfce4-wavelan-plugin
# error:

### Thunar Plugins
THUNAR_PLUG=" thunar-archive-plugin-git
    thunar-media-tags-plugin-git
    thunar-shares-plugin-git
    thunar-vcs-plugin-git"
# deprecated:
# no git:
# error:

### Xfce Bindings
BINDINGS=""
# deprecated:
# no git: thunarx-python
# error: xfce4-vala-git

### if parameters exist, update them, else update all
if [ $# -gt 0 ]; then
for i in "$@"; do
 do_it "$i"
done
else
do_it "$XFCE_CORE"
do_it "$XFCE_APPS"
do_it "$XFCE_PLUGS"
do_it "THUNAR_PLUG"
do_it "BINDINGS"
fi

exit 0

Offline

#3 2019-03-24 18:37:44

scootergrisen
Member
Registered: 2019-01-29
Posts: 2

Re: Want to test latest translations before final release

Instead of each translator having to figure out how how to build it it would be much nicer for me as a translator if someone that knew how would do it and make an .iso file for me and all the other translators to test.

Offline

Board footer

Powered by FluxBB