Skip to content

Commit

Permalink
require xdg-utils on Linux
Browse files Browse the repository at this point in the history
  • Loading branch information
jafl committed Dec 11, 2023
1 parent 358c6c7 commit 87138d8
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 6 deletions.
7 changes: 3 additions & 4 deletions configure
Original file line number Diff line number Diff line change
Expand Up @@ -40,12 +40,11 @@ elif command -v apt-get; then
if [[ -z $SNAPCRAFT_BUILD_ENVIRONMENT ]]; then
$SUDO apt update;
if [[ $MODE != ci ]]; then
$SUDO apt -y install git-gui;
$SUDO apt -y install git-gui xdg-utils;
fi

if [[ ! -f ../JX/Makefile && -z $JX_ROOT ]]; then
curl -LO https://libjx.sourceforge.net/ci/jx-application-framework.deb;
$SUDO apt -y remove nginx libgd3; # hack
$SUDO apt install ./jx-application-framework.deb;
fi
fi
Expand All @@ -56,7 +55,7 @@ elif command -v dnf; then

if [[ -z $SNAPCRAFT_BUILD_ENVIRONMENT ]]; then
if [[ $MODE != ci ]]; then
$SUDO dnf -y install git-gui xterm;
$SUDO dnf -y install git-gui xdg-utils xterm;
fi

if [[ ! -f ../JX/Makefile && -z $JX_ROOT ]]; then
Expand All @@ -72,7 +71,7 @@ elif command -v zypper; then

if [[ -z $SNAPCRAFT_BUILD_ENVIRONMENT ]]; then
if [[ $MODE != ci ]]; then
$SUDO zypper -in install git-gui xterm;
$SUDO zypper -in install git-gui xdg-utils xterm;
fi
fi

Expand Down
2 changes: 1 addition & 1 deletion release/pkg/systemg.debctrl
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,6 @@ Section: contrib/utils
Priority: optional
Architecture: %ARCH%
Essential: no
Depends: libx11-6, libxext6, libxau6, libxinerama1, libxft2, libfreetype6, libgd3, libpng16-16, libjpeg8, libxpm4, libxml2, libace-6.4.5, libicu66, libpcre3, libboost-fiber-dev, libstdc++6, xterm, git-gui, curl
Depends: libx11-6, libxext6, libxau6, libxinerama1, libxft2, libfreetype6, libgd3, libpng16-16, libjpeg8, libxpm4, libxml2, libace-6.4.5, libicu66, libpcre3, libboost-fiber-dev, libstdc++6, xterm, git-gui, xdg-utils, curl
Suggests: code-crusader
Description: System G provides a graphical interface to UNIX file system.
2 changes: 1 addition & 1 deletion release/pkg/systemg.spec
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ Release: 1
License: GPL
Group: Filemanager
Source: %pkg_name
Requires: libX11, libXinerama, libXpm, libXft, libxml2, gd, libjpeg, libpng, libicu, pcre, boost-devel, curl
Requires: libX11, libXinerama, libXpm, libXft, libxml2, gd, libjpeg, libpng, libicu, pcre, boost-devel, curl, xdg-utils

%description
System G provides a graphical interface to UNIX file system,
Expand Down

0 comments on commit 87138d8

Please sign in to comment.