|
|
@ -389,6 +389,7 @@ BuildRequires: gnome-screensaver
|
|
|
|
BuildRequires: %{_lib}xscrnsaver%{?mgaversion:1}-devel
|
|
|
|
BuildRequires: %{_lib}xscrnsaver%{?mgaversion:1}-devel
|
|
|
|
%endif
|
|
|
|
%endif
|
|
|
|
%if 0%{?fedora} || 0%{?rhel} >= 6 || 0%{?suse_version} >= 1220
|
|
|
|
%if 0%{?fedora} || 0%{?rhel} >= 6 || 0%{?suse_version} >= 1220
|
|
|
|
|
|
|
|
BuildRequires: xscreensaver
|
|
|
|
BuildRequires: libXScrnSaver-devel
|
|
|
|
BuildRequires: libXScrnSaver-devel
|
|
|
|
%endif
|
|
|
|
%endif
|
|
|
|
%if 0%{?suse_version} == 1140
|
|
|
|
%if 0%{?suse_version} == 1140
|
|
|
@ -3337,20 +3338,22 @@ cd build
|
|
|
|
-DSYSCONF_INSTALL_DIR="%{_sysconfdir}/trinity" \
|
|
|
|
-DSYSCONF_INSTALL_DIR="%{_sysconfdir}/trinity" \
|
|
|
|
-DXDG_MENU_INSTALL_DIR="%{_sysconfdir}/xdg/menus" \
|
|
|
|
-DXDG_MENU_INSTALL_DIR="%{_sysconfdir}/xdg/menus" \
|
|
|
|
\
|
|
|
|
\
|
|
|
|
|
|
|
|
-DWITH_ALL_OPTIONS=ON \
|
|
|
|
-DWITH_SASL=ON \
|
|
|
|
-DWITH_SASL=ON \
|
|
|
|
-DWITH_LDAP=ON \
|
|
|
|
-DWITH_LDAP=ON \
|
|
|
|
-DWITH_SAMBA=ON \
|
|
|
|
-DWITH_SAMBA=ON \
|
|
|
|
%{?with_exr:-DWITH_OPENEXR=ON} \
|
|
|
|
%{?!with_exr:-DWITH_OPENEXR=OFF} \
|
|
|
|
-DWITH_XCOMPOSITE=ON \
|
|
|
|
-DWITH_XCOMPOSITE=ON \
|
|
|
|
-DWITH_XCURSOR=ON \
|
|
|
|
-DWITH_XCURSOR=ON \
|
|
|
|
-DWITH_XFIXES=ON \
|
|
|
|
-DWITH_XFIXES=ON \
|
|
|
|
%{?with_xrandr:-DWITH_XRANDR=ON} \
|
|
|
|
%{?!with_xrandr:-DWITH_XRANDR=OFF} \
|
|
|
|
-DWITH_XRENDER=ON \
|
|
|
|
-DWITH_XRENDER=ON \
|
|
|
|
-DWITH_XDAMAGE=ON \
|
|
|
|
-DWITH_XDAMAGE=ON \
|
|
|
|
-DWITH_XEXT=ON \
|
|
|
|
-DWITH_XEXT=ON \
|
|
|
|
%{?with_xtest:-DWITH_XTEST=ON} \
|
|
|
|
%{?!with_xtest:-DWITH_XTEST=OFF} \
|
|
|
|
%{?with_xscreensaver:-DWITH_XSCREENSAVER=ON} \
|
|
|
|
-DWITH_OPENGL=ON \
|
|
|
|
%{?with_libart:-DWITH_LIBART=ON} \
|
|
|
|
%{?!with_xscreensaver:-DWITH_XSCREENSAVER=OFF} \
|
|
|
|
|
|
|
|
%{?!with_libart:-DWITH_LIBART=OFF} \
|
|
|
|
-DWITH_LIBUSB=ON \
|
|
|
|
-DWITH_LIBUSB=ON \
|
|
|
|
-DWITH_LIBRAW1394=ON \
|
|
|
|
-DWITH_LIBRAW1394=ON \
|
|
|
|
-DWITH_SUDO_TDESU_BACKEND=OFF \
|
|
|
|
-DWITH_SUDO_TDESU_BACKEND=OFF \
|
|
|
@ -3360,11 +3363,12 @@ cd build
|
|
|
|
-DWITH_XINERAMA=ON \
|
|
|
|
-DWITH_XINERAMA=ON \
|
|
|
|
-DWITH_ARTS=ON \
|
|
|
|
-DWITH_ARTS=ON \
|
|
|
|
-DWITH_I8K=ON \
|
|
|
|
-DWITH_I8K=ON \
|
|
|
|
%{?with_hal:-DWITH_HAL=ON} \
|
|
|
|
-DWITH_SENSORS=ON \
|
|
|
|
|
|
|
|
%{?!with_hal:-DWITH_HAL=OFF} \
|
|
|
|
-DWITH_TDEHWLIB=ON \
|
|
|
|
-DWITH_TDEHWLIB=ON \
|
|
|
|
-DWITH_UPOWER=ON \
|
|
|
|
-DWITH_UPOWER=ON \
|
|
|
|
-DWITH_GCC_VISIBILITY=ON \
|
|
|
|
-DWITH_GCC_VISIBILITY=ON \
|
|
|
|
-DWITH_KDESKTOP_LOCK_BACKTRACE=OFF \
|
|
|
|
\
|
|
|
|
-DBUILD_ALL=ON \
|
|
|
|
-DBUILD_ALL=ON \
|
|
|
|
%if 0%{?suse_version}
|
|
|
|
%if 0%{?suse_version}
|
|
|
|
-DKCHECKPASS_PAM_SERVICE="xdm" \
|
|
|
|
-DKCHECKPASS_PAM_SERVICE="xdm" \
|
|
|
@ -3373,7 +3377,7 @@ cd build
|
|
|
|
%else
|
|
|
|
%else
|
|
|
|
-DKCHECKPASS_PAM_SERVICE="kcheckpass-trinity" \
|
|
|
|
-DKCHECKPASS_PAM_SERVICE="kcheckpass-trinity" \
|
|
|
|
-DTDM_PAM_SERVICE="tdm-trinity" \
|
|
|
|
-DTDM_PAM_SERVICE="tdm-trinity" \
|
|
|
|
-DKSCREENSAVER_PAM_SERVICE="tdescreensaver-trinity" \
|
|
|
|
-DTDESCREENSAVER_PAM_SERVICE="tdescreensaver-trinity" \
|
|
|
|
%endif
|
|
|
|
%endif
|
|
|
|
%{!?with_tsak:-DBUILD_TSAK=OFF} \
|
|
|
|
%{!?with_tsak:-DBUILD_TSAK=OFF} \
|
|
|
|
..
|
|
|
|
..
|
|
|
@ -3396,10 +3400,6 @@ cd build
|
|
|
|
%__install -D -m 644 \
|
|
|
|
%__install -D -m 644 \
|
|
|
|
"%{?buildroot}%{tde_datadir}/apps/tdm/sessions/tde.desktop" \
|
|
|
|
"%{?buildroot}%{tde_datadir}/apps/tdm/sessions/tde.desktop" \
|
|
|
|
"%{?buildroot}%{_datadir}/xsessions/tde.desktop"
|
|
|
|
"%{?buildroot}%{_datadir}/xsessions/tde.desktop"
|
|
|
|
|
|
|
|
|
|
|
|
# Force session name to be 'TDE'
|
|
|
|
|
|
|
|
%__sed -i "%{?buildroot}%{_datadir}/xsessions/tde.desktop" \
|
|
|
|
|
|
|
|
-e "s,^Name=.*,Name=TDE,"
|
|
|
|
|
|
|
|
%endif
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
|
|
# Mageia/Mandriva/PCLinuxOS stores its session file in different folder than RHEL/Fedora
|
|
|
|
# Mageia/Mandriva/PCLinuxOS stores its session file in different folder than RHEL/Fedora
|
|
|
@ -3435,7 +3435,7 @@ EOF
|
|
|
|
|
|
|
|
|
|
|
|
# TDM configuration
|
|
|
|
# TDM configuration
|
|
|
|
%__sed -i "%{?buildroot}%{_sysconfdir}/trinity/tdm/tdmrc" \
|
|
|
|
%__sed -i "%{?buildroot}%{_sysconfdir}/trinity/tdm/tdmrc" \
|
|
|
|
%if 0%{?fedora} >= 16 || 0%{?suse_version} >= 1220
|
|
|
|
%if 0%{?fedora} >= 16 || 0%{?suse_version} >= 1210
|
|
|
|
-e "s/^#*MinShowUID=.*/MinShowUID=1000/"
|
|
|
|
-e "s/^#*MinShowUID=.*/MinShowUID=1000/"
|
|
|
|
%else
|
|
|
|
%else
|
|
|
|
-e "s/^#*MinShowUID=.*/MinShowUID=500/"
|
|
|
|
-e "s/^#*MinShowUID=.*/MinShowUID=500/"
|
|
|
@ -3455,9 +3455,9 @@ EOF
|
|
|
|
%__mkdir_p "%{?buildroot}%{_sysconfdir}/alternatives"
|
|
|
|
%__mkdir_p "%{?buildroot}%{_sysconfdir}/alternatives"
|
|
|
|
%__ln_s "%{tde_datadir}/apps/konqueror/servicemenus/media_safelyremove.desktop_tdebase" "%{?buildroot}%{_sysconfdir}/alternatives/media_safelyremove.desktop_tdebase"
|
|
|
|
%__ln_s "%{tde_datadir}/apps/konqueror/servicemenus/media_safelyremove.desktop_tdebase" "%{?buildroot}%{_sysconfdir}/alternatives/media_safelyremove.desktop_tdebase"
|
|
|
|
|
|
|
|
|
|
|
|
# SUSE: creates DM config file, used by '/etc/init.d/xdm'
|
|
|
|
# SUSE >= 12 : creates DM config file, used by '/etc/init.d/xdm'
|
|
|
|
# You must set 'DISPLAYMANAGER=tdm' in '/etc/sysconfig/displaymanager'
|
|
|
|
# You must set 'DISPLAYMANAGER=tdm' in '/etc/sysconfig/displaymanager'
|
|
|
|
%if 0%{?suse_version}
|
|
|
|
%if 0%{?suse_version} >= 1210
|
|
|
|
%__install -D -m 644 "%{SOURCE6}" "%{?buildroot}/usr/lib/X11/displaymanagers/tdm"
|
|
|
|
%__install -D -m 644 "%{SOURCE6}" "%{?buildroot}/usr/lib/X11/displaymanagers/tdm"
|
|
|
|
%__sed -i "%{?buildroot}/usr/lib/X11/displaymanagers/tdm" -e "s|/opt/trinity/bin|%{tde_bindir}|g"
|
|
|
|
%__sed -i "%{?buildroot}/usr/lib/X11/displaymanagers/tdm" -e "s|/opt/trinity/bin|%{tde_bindir}|g"
|
|
|
|
%endif
|
|
|
|
%endif
|
|
|
|