diff options
Diffstat (limited to 'redhat/tdebase')
-rw-r--r-- | redhat/tdebase/suse-displaymanagers-tdm | 2 | ||||
-rw-r--r-- | redhat/tdebase/tdebase-14.0.0-tdehardwarebackend_fix_iocharset.patch | 25 | ||||
-rw-r--r-- | redhat/tdebase/tdebase-14.0.0.spec | 20 | ||||
-rw-r--r-- | redhat/tdebase/tdebase-3.5.13.2.spec | 29 |
4 files changed, 59 insertions, 17 deletions
diff --git a/redhat/tdebase/suse-displaymanagers-tdm b/redhat/tdebase/suse-displaymanagers-tdm index a5aee77ff..5bf0eb4ef 100644 --- a/redhat/tdebase/suse-displaymanagers-tdm +++ b/redhat/tdebase/suse-displaymanagers-tdm @@ -7,7 +7,7 @@ tdm_start_proc() { } tdm_vars() { - if [ -x /opt/trinity/bin/kdm ]; then + if [ -x /opt/trinity/bin/kdm ]; then TDM_BIN=/opt/trinity/bin/kdm export KDEROOTHOME=/root/.tdm else diff --git a/redhat/tdebase/tdebase-14.0.0-tdehardwarebackend_fix_iocharset.patch b/redhat/tdebase/tdebase-14.0.0-tdehardwarebackend_fix_iocharset.patch new file mode 100644 index 000000000..c02c3e6c6 --- /dev/null +++ b/redhat/tdebase/tdebase-14.0.0-tdehardwarebackend_fix_iocharset.patch @@ -0,0 +1,25 @@ +--- tdebase/tdeioslave/media/mediamanager/tdehardwarebackend.cpp.new 2013-11-11 21:27:09.960234089 +0100 ++++ tdebase/tdeioslave/media/mediamanager/tdehardwarebackend.cpp 2013-11-11 21:32:16.081679386 +0100 +@@ -979,9 +979,21 @@ + } + + if (valids.contains("utf8")) { +- value = config.readBoolEntry("utf8", true); ++ // From "man mount": only some filesystems support 'iocharset' option. ++ if( (sdevice->fileSystemName() == "fat") ++ || (sdevice->fileSystemName() == "iso9660") ++ || (sdevice->fileSystemName() == "jfs") ++ || (sdevice->fileSystemName() == "msdos") ++ || (sdevice->fileSystemName() == "ntfs") ++ || (sdevice->fileSystemName() == "umsdos") ++ || (sdevice->fileSystemName() == "vfat") ++ ) { ++ value = false; //config.readBoolEntry("utf8", true); ++ } else { ++ value = false; ++ } + tmp = TQString("utf8=%1").arg(value ? "true" : "false"); + result << tmp; + } + + if (valids.contains("shortname")) { diff --git a/redhat/tdebase/tdebase-14.0.0.spec b/redhat/tdebase/tdebase-14.0.0.spec index 2a995a7b8..2cb0e5e30 100644 --- a/redhat/tdebase/tdebase-14.0.0.spec +++ b/redhat/tdebase/tdebase-14.0.0.spec @@ -322,6 +322,14 @@ BuildRequires: libvorbis-devel BuildRequires: glib2-devel BuildRequires: pcre-devel +# SASL support +%if 0%{?mageia} || 0%{?mandriva} || 0%{?pclinuxos} +BuildRequires: %{_lib}sasl2-devel +%endif +%if 0%{?suse_version} +BuildRequires: cyrus-sasl-devel +%endif + # LIBUSB support BuildRequires: pam-devel %if 0%{?mageia} || 0%{?mandriva} || 0%{?pclinuxos} @@ -1994,6 +2002,7 @@ Provides: service(graphical-login) # Required for Mandriva's installer %if 0%{?mgaversion} || 0%{?mdkversion} Provides: dm +Provides: tdm %endif %description -n trinity-tdm @@ -3023,7 +3032,7 @@ ktip provides many useful tips on using TDE when you log in. %{tde_tdeappdir}/ktip.desktop %{tde_datadir}/applnk/Toys/ktip.desktop %{tde_datadir}/apps/kdewizard/pics/wizard_small.png -%{tde_datadir}/apps/kdewizard/tips/ +%{tde_datadir}/apps/kdewizard/tips %{tde_datadir}/autostart/ktip.desktop %{tde_datadir}/icons/hicolor/*/apps/ktip.* @@ -3337,10 +3346,10 @@ if [ -d "/usr/include/samba-4.0" ]; then export CMAKE_INCLUDE_PATH="${CMAKE_INCLUDE_PATH}:/usr/include/samba-4.0" fi -%if 0%{?rhel} || 0%{?fedora} || 0%{?suse_version} -%__mkdir_p build -cd build -%endif +if ! rpm -E %%cmake|grep -q "cd build"; then + %__mkdir_p build + cd build +fi %cmake \ -DCMAKE_BUILD_TYPE="RelWithDebInfo" \ @@ -3486,6 +3495,7 @@ EOF # Fedora 18: no more SYSV init script, we have to use systemd. %if 0%{?fedora} >= 18 %__install -D -m 644 "%{SOURCE7}" "%{?buildroot}/usr/lib/systemd/system/tdm.service" +%__sed -i "s|kdm|tdm|g" "%{?buildroot}/usr/lib/systemd/system/tdm.service" %endif # Symlink TDM configuration diff --git a/redhat/tdebase/tdebase-3.5.13.2.spec b/redhat/tdebase/tdebase-3.5.13.2.spec index 90071914c..b8f3cc267 100644 --- a/redhat/tdebase/tdebase-3.5.13.2.spec +++ b/redhat/tdebase/tdebase-3.5.13.2.spec @@ -192,7 +192,6 @@ Requires: fedora-release-notes %define tde_aboutpage /usr/share/doc/fedora-release-notes-19/index.html %endif - # RHEL 4 Theme %if 0%{?rhel} == 4 Requires: desktop-backgrounds-basic @@ -349,6 +348,9 @@ BuildRequires: libvorbis-devel BuildRequires: glib2-devel BuildRequires: pcre-devel +# SASL support +BuildRequires: cyrus-sasl-devel + # LIBUSB support BuildRequires: pam-devel %if 0%{?mageia} || 0%{?mandriva} || 0%{?pclinuxos} @@ -424,6 +426,7 @@ BuildRequires: gnome-screensaver BuildRequires: %{_lib}xscrnsaver%{?mgaversion:1}-devel %endif %if 0%{?fedora} || 0%{?rhel} >= 6 || 0%{?suse_version} >= 1220 +BuildRequires: xscreensaver BuildRequires: libXScrnSaver-devel %endif %if 0%{?suse_version} == 1140 @@ -498,18 +501,24 @@ BuildRequires: libsmbclient-devel BuildRequires: imake %endif +# XKB support +%if 0%{?suse_version} == 1140 +BuildRequires: xorg-x11-libxkbfile-devel +%endif +%if 0%{?rhel} >= 5 || 0%{?fedora} || 0%{?mdkversion} || 0%{?mgaversion} || 0%{?suse_version} >= 1210 +BuildRequires: libxkbfile-devel +%endif + # X11 stuff ... %if 0%{?rhel} == 4 BuildRequires: xorg-x11-devel %endif %if 0%{?suse_version} == 1140 -BuildRequires: xorg-x11-libxkbfile-devel BuildRequires: xorg-x11-libfontenc-devel %endif %if 0%{?rhel} >= 5 || 0%{?fedora} || 0%{?mdkversion} || 0%{?mgaversion} || 0%{?suse_version} >= 1220 -BuildRequires: libxkbfile-devel BuildRequires: libfontenc-devel %endif @@ -586,9 +595,6 @@ Requires: openssl # RHEL 6 Configuration files are provided in separate packages %if 0%{?rhel} || 0%{?fedora} -%if "%{?tde_prefix}" == "/usr" -Requires: kde-settings-kdm -%endif Requires: redhat-menus %endif @@ -3368,7 +3374,8 @@ Windows and Samba shares. %build -unset QTDIR; . /etc/profile.d/qt3.sh +unset QTDIR QTINC QTLIB +. /etc/profile.d/qt3.sh export PATH="%{tde_bindir}:${PATH}" export PKG_CONFIG_PATH="%{tde_libdir}/pkgconfig:${PKG_CONFIG_PATH}" @@ -3386,10 +3393,10 @@ if [ -d "/usr/include/samba-4.0" ]; then export CMAKE_INCLUDE_PATH="${CMAKE_INCLUDE_PATH}:/usr/include/samba-4.0" fi -%if 0%{?rhel} || 0%{?fedora} || 0%{?suse_version} -%__mkdir_p build -cd build -%endif +if ! rpm -E %%cmake|grep -q "cd build"; then + %__mkdir_p build + cd build +fi %cmake \ -DCMAKE_BUILD_TYPE="RelWithDebInfo" \ |