profile.d/xdg.sh: don't call old kde4-config [release 1.1.3-2mamba;Sun Jan 12 2020]
This commit is contained in:
parent
317466121b
commit
1c6ab2222c
@ -1,17 +0,0 @@
|
|||||||
if test -z "$XDG_DATA_DIRS"; then
|
|
||||||
XDG_DATA_DIRS="/usr/share:/usr/local/share"
|
|
||||||
[ -e /usr/bin/kde4-config ] && KDE4_PREFIX=`/usr/bin/kde4-config --prefix`
|
|
||||||
if [ "$KDE4_PREFIX" ]; then
|
|
||||||
if [ "${DESKTOP_SESSION:0:3}" = "kde" ]; then
|
|
||||||
XDG_DATA_DIRS="$KDE4_PREFIX/share:$XDG_DATA_DIRS"
|
|
||||||
else
|
|
||||||
XDG_DATA_DIRS="$XDG_DATA_DIRS:$KDE4_PREFIX/share"
|
|
||||||
fi
|
|
||||||
fi
|
|
||||||
[ -e /opt/kde3/share/applications ] && XDG_DATA_DIRS="$XDG_DATA_DIRS:/opt/kde3/share"
|
|
||||||
export XDG_DATA_DIRS
|
|
||||||
fi
|
|
||||||
if [ "$DESKTOP_SESSION" = "gnome" ]; then
|
|
||||||
XDG_MENU_PREFIX="gnome-"
|
|
||||||
export XDG_MENU_PREFIX
|
|
||||||
fi
|
|
10
xdg-utils-1.1.3-profile.sh
Normal file
10
xdg-utils-1.1.3-profile.sh
Normal file
@ -0,0 +1,10 @@
|
|||||||
|
if test -z "$XDG_DATA_DIRS"; then
|
||||||
|
XDG_DATA_DIRS="/usr/share:/usr/local/share"
|
||||||
|
[ -e /opt/kde/share/applications ] && XDG_DATA_DIRS="$XDG_DATA_DIRS:/opt/kde/share"
|
||||||
|
[ -e /opt/kde3/share/applications ] && XDG_DATA_DIRS="$XDG_DATA_DIRS:/opt/kde3/share"
|
||||||
|
export XDG_DATA_DIRS
|
||||||
|
fi
|
||||||
|
if [ "$DESKTOP_SESSION" = "gnome" ]; then
|
||||||
|
XDG_MENU_PREFIX="gnome-"
|
||||||
|
export XDG_MENU_PREFIX
|
||||||
|
fi
|
@ -1,7 +1,7 @@
|
|||||||
%define pkgver %(echo %version | tr _ -)
|
%define pkgver %(echo %version | tr _ -)
|
||||||
Name: xdg-utils
|
Name: xdg-utils
|
||||||
Version: 1.1.3
|
Version: 1.1.3
|
||||||
Release: 1mamba
|
Release: 2mamba
|
||||||
Summary: Scripts providing desktop integration functions for any Free Desktop
|
Summary: Scripts providing desktop integration functions for any Free Desktop
|
||||||
Group: System/Configuration
|
Group: System/Configuration
|
||||||
Vendor: openmamba
|
Vendor: openmamba
|
||||||
@ -10,7 +10,7 @@ Packager: Aleph0 <aleph0@openmamba.org>
|
|||||||
URL: http://portland.freedesktop.org/
|
URL: http://portland.freedesktop.org/
|
||||||
Source: http://portland.freedesktop.org/download/xdg-utils-%{version}.tar.gz
|
Source: http://portland.freedesktop.org/download/xdg-utils-%{version}.tar.gz
|
||||||
#http://portland.freedesktop.org/download/xdg-utils-%{pkgver}.tar.gz
|
#http://portland.freedesktop.org/download/xdg-utils-%{pkgver}.tar.gz
|
||||||
Source1: xdg-profile.sh
|
Source1: xdg-utils-1.1.3-profile.sh
|
||||||
Patch0: xdg-utils-1.1.1-openmamba-default-browsers.patch
|
Patch0: xdg-utils-1.1.1-openmamba-default-browsers.patch
|
||||||
License: MIT
|
License: MIT
|
||||||
## AUTOBUILDREQ-BEGIN
|
## AUTOBUILDREQ-BEGIN
|
||||||
@ -74,6 +74,9 @@ install -D -m0755 %{SOURCE1} %{buildroot}%{_sysconfdir}/profile.d/xdg.sh
|
|||||||
#README RELEASE_NOTES TODO
|
#README RELEASE_NOTES TODO
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Sun Jan 12 2020 Silvan Calarco <silvan.calarco@mambasoft.it> 1.1.3-2mamba
|
||||||
|
- profile.d/xdg.sh: don't call old kde4-config
|
||||||
|
|
||||||
* Fri May 25 2018 Automatic Build System <autodist@mambasoft.it> 1.1.3-1mamba
|
* Fri May 25 2018 Automatic Build System <autodist@mambasoft.it> 1.1.3-1mamba
|
||||||
- automatic version update by autodist
|
- automatic version update by autodist
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user