diff --git a/redhat/applications/twin-style-crystal/trinity-kwin-style-crystal-3.5.12.spec b/redhat/applications/twin-style-crystal/trinity-kwin-style-crystal-3.5.12.spec new file mode 100644 index 000000000..624249bf0 --- /dev/null +++ b/redhat/applications/twin-style-crystal/trinity-kwin-style-crystal-3.5.12.spec @@ -0,0 +1,109 @@ +# Default version for this component +%define kdecomp kwin-style-crystal +%define version 1.0.5 +%define release 1 + +# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". +%if "%{?_prefix}" != "/usr" +%define _variant .opt +%define _docdir %{tde_prefix}/share/doc +%endif + +# TDE 3.5.13 specific building variables +BuildRequires: autoconf automake libtool m4 +%define tde_docdir %{_docdir} +%define tde_includedir %{tde_includedir}/kde +%define tde_libdir %{tde_libdir}/kde3 + + +Name: trinity-%{kdecomp} +Summary: Semi transparant window decoration for Trinity. +Version: %{?version} +Release: %{?release}%{?dist}%{?_variant} + +License: GPLv2+ +Group: Applications/Utilities + +Vendor: Trinity Project +Packager: Francois Andriot +URL: http://www.trinitydesktop.org/ + +Prefix: %{tde_prefix} +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) + +Source0: %{kdecomp}-3.5.12.tar.gz + +BuildRequires: tqtinterface-devel +BuildRequires: trinity-tdelibs-devel +BuildRequires: trinity-tdebase-devel +BuildRequires: desktop-file-utils +BuildRequires: gettext + + +%description +Crystal offers you pseudo transparent titlebar, buttons and borders +transparent, so you can see more of your lovely background image +Transparancy and buttons can be costumized to match your wishes. +Offers rounded corners as well + +And it is of course nice to look at. Upstream says: +"- Don't forget to breathe, while drooling." + + +%prep +%setup -q -n applications/%{kdecomp} + +# Ugly hack to modify TQT include directory inside autoconf files. +# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 ! +sed -i admin/acinclude.m4.in \ + -e "s,/usr/include/tqt,%{tde_includedir}/tqt,g" + +%__cp -f "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" +%__cp -f "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" +%__make -f "admin/Makefile.common" + + +%build +unset QTDIR; . /etc/profile.d/qt.sh +export PATH="%{tde_bindir}:${PATH}" +export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}" + +%configure \ + --disable-rpath \ + --with-extra-includes=%{tde_includedir}/tqt + +%__make %{?_smp_mflags} + + +%install +export PATH="%{tde_bindir}:${PATH}" +%__rm -rf %{buildroot} +%__make install DESTDIR=%{buildroot} + + +%clean +%__rm -rf %{buildroot} + + +%post +touch --no-create %{tde_datadir}/icons/hicolor || : +gtk-update-icon-cache --quiet %{tde_datadir}/icons/hicolor || : + +%postun +touch --no-create %{tde_datadir}/icons/hicolor || : +gtk-update-icon-cache --quiet %{tde_datadir}/icons/hicolor || : + + +%files +%defattr(-,root,root,-) +%doc AUTHORS COPYING +%{tde_tdelibdir}/kwin3_crystal.la +%{tde_tdelibdir}/kwin3_crystal.so +%{tde_tdelibdir}/kwin_crystal_config.la +%{tde_tdelibdir}/kwin_crystal_config.so +%{tde_datadir}/apps/kwin/crystal.desktop + + +%Changelog +* Sat Nov 19 2011 Francois Andriot - 1.0.5-1 +- Initial build for RHEL 5, RHEL 6, Fedora 15, Fedora 16 diff --git a/redhat/applications/twin-style-crystal/trinity-kwin-style-crystal-3.5.13.1.spec b/redhat/applications/twin-style-crystal/trinity-kwin-style-crystal-3.5.13.1.spec new file mode 100644 index 000000000..43e81df9c --- /dev/null +++ b/redhat/applications/twin-style-crystal/trinity-kwin-style-crystal-3.5.13.1.spec @@ -0,0 +1,124 @@ +# Default version for this component +%define kdecomp kwin-style-crystal + +# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". +%if "%{?tde_prefix}" != "/usr" +%define _variant .opt +%endif + +# TDE 3.5.13 specific building variables +%define tde_bindir %{tde_prefix}/bin +%define tde_datadir %{tde_prefix}/share +%define tde_docdir %{tde_datadir}/doc +%define tde_includedir %{tde_prefix}/include +%define tde_libdir %{tde_prefix}/%{_lib} +%define tde_mandir %{tde_datadir}/man +%define tde_appdir %{tde_datadir}/applications + +%define tde_tdeappdir %{tde_appdir}/kde +%define tde_tdedocdir %{tde_docdir}/tde +%define tde_tdeincludedir %{tde_includedir}/tde +%define tde_tdelibdir %{tde_libdir}/trinity + +%define _docdir %{tde_tdedocdir} + + +Name: trinity-%{kdecomp} +Summary: Semi transparant window decoration for Trinity. +Version: 1.0.5 +Release: 2%{?dist}%{?_variant} + +License: GPLv2+ +Group: Applications/Utilities + +Vendor: Trinity Project +Packager: Francois Andriot +URL: http://www.trinitydesktop.org/ + +Prefix: %{tde_prefix} +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) + +Source0: %{kdecomp}-3.5.13.1.tar.gz + +BuildRequires: trinity-tqtinterface-devel >= 3.5.13.1 +BuildRequires: trinity-tdelibs-devel >= 3.5.13.1 +BuildRequires: trinity-tdebase-devel >= 3.5.13.1 +BuildRequires: desktop-file-utils +BuildRequires: gettext + + +%description +Crystal offers you pseudo transparent titlebar, buttons and borders +transparent, so you can see more of your lovely background image +Transparancy and buttons can be costumized to match your wishes. +Offers rounded corners as well + +And it is of course nice to look at. Upstream says: +"- Don't forget to breathe, while drooling." + + +%if 0%{?suse_version} || 0%{?pclinuxos} +%debug_package +%endif + + +%prep +%setup -q -n %{kdecomp}-3.5.13.1 + +# Ugly hack to modify TQT include directory inside autoconf files. +# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 ! +%__sed -i admin/acinclude.m4.in \ + -e "s|/usr/include/tqt|%{tde_includedir}/tqt|g" \ + -e "s|kde_htmldir='.*'|kde_htmldir='%{tde_tdedocdir}/HTML'|g" + +%__cp -f "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" +%__cp -f "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp -f "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh" +%__make -f "admin/Makefile.common" + + +%build +unset QTDIR; . /etc/profile.d/qt3.sh +export PATH="%{tde_bindir}:${PATH}" +export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}" + +%configure \ + --prefix=%{tde_prefix} \ + --exec-prefix=%{tde_prefix} \ + --bindir=%{tde_bindir} \ + --datadir=%{tde_datadir} \ + --includedir=%{tde_tdeincludedir} \ + --libdir=%{tde_libdir} \ + --mandir=%{tde_mandir} \ + --disable-rpath \ + --with-extra-includes=%{tde_includedir}/tqt + +%__make %{?_smp_mflags} + + +%install +export PATH="%{tde_bindir}:${PATH}" +%__rm -rf %{buildroot} +%__make install DESTDIR=%{buildroot} + + +%clean +%__rm -rf %{buildroot} + + + +%files +%defattr(-,root,root,-) +%doc AUTHORS COPYING +%{tde_tdelibdir}/kwin3_crystal.la +%{tde_tdelibdir}/kwin3_crystal.so +%{tde_tdelibdir}/kwin_crystal_config.la +%{tde_tdelibdir}/kwin_crystal_config.so +%{tde_datadir}/apps/kwin/crystal.desktop + + +%changelog +* Wed Oct 03 2012 Francois Andriot - 1.0.5-2 +- Initial build for TDE 3.5.13.1 + +* Sat Nov 19 2011 Francois Andriot - 1.0.5-1 +- Initial build for RHEL 5, RHEL 6, Fedora 15, Fedora 16 diff --git a/redhat/applications/twin-style-crystal/trinity-kwin-style-crystal-3.5.13.spec b/redhat/applications/twin-style-crystal/trinity-kwin-style-crystal-3.5.13.spec new file mode 100644 index 000000000..0febc8eb1 --- /dev/null +++ b/redhat/applications/twin-style-crystal/trinity-kwin-style-crystal-3.5.13.spec @@ -0,0 +1,116 @@ +# Default version for this component +%define kdecomp kwin-style-crystal + +# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". +%if "%{?tde_prefix}" != "/usr" +%define _variant .opt +%endif + +# TDE 3.5.13 specific building variables +%define tde_bindir %{tde_prefix}/bin +%define tde_datadir %{tde_prefix}/share +%define tde_docdir %{tde_datadir}/doc +%define tde_includedir %{tde_prefix}/include +%define tde_libdir %{tde_prefix}/%{_lib} +%define tde_mandir %{tde_datadir}/man +%define tde_appdir %{tde_datadir}/applications + +%define tde_tdeappdir %{tde_appdir}/kde +%define tde_tdedocdir %{tde_docdir}/kde +%define tde_tdeincludedir %{tde_includedir}/kde +%define tde_tdelibdir %{tde_libdir}/trinity + +%define _docdir %{tde_tdedocdir} + + +Name: trinity-%{kdecomp} +Summary: Semi transparant window decoration for Trinity. +Version: 1.0.5 +Release: 1%{?dist}%{?_variant} + +License: GPLv2+ +Group: Applications/Utilities + +Vendor: Trinity Project +Packager: Francois Andriot +URL: http://www.trinitydesktop.org/ + +Prefix: %{tde_prefix} +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) + +Source0: %{kdecomp}-3.5.13.tar.gz + +BuildRequires: tqtinterface-devel +BuildRequires: trinity-tdelibs-devel +BuildRequires: trinity-tdebase-devel +BuildRequires: desktop-file-utils +BuildRequires: gettext + + +%description +Crystal offers you pseudo transparent titlebar, buttons and borders +transparent, so you can see more of your lovely background image +Transparancy and buttons can be costumized to match your wishes. +Offers rounded corners as well + +And it is of course nice to look at. Upstream says: +"- Don't forget to breathe, while drooling." + + +%prep +%setup -q -n applications/%{kdecomp} + +# Ugly hack to modify TQT include directory inside autoconf files. +# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 ! +%__sed -i admin/acinclude.m4.in \ + -e "s|/usr/include/tqt|%{tde_includedir}/tqt|g" \ + -e "s|kde_htmldir='.*'|kde_htmldir='%{tde_tdedocdir}/HTML'|g" + +%__cp -f "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" +%__cp -f "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp -f "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh" +%__make -f "admin/Makefile.common" + + +%build +unset QTDIR; . /etc/profile.d/qt.sh +export PATH="%{tde_bindir}:${PATH}" +export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}" + +%configure \ + --prefix=%{tde_prefix} \ + --exec-prefix=%{tde_prefix} \ + --bindir=%{tde_bindir} \ + --datadir=%{tde_datadir} \ + --libdir=%{tde_libdir} \ + --mandir=%{tde_mandir} \ + --includedir=%{tde_includedir} \ + --disable-rpath \ + --with-extra-includes=%{tde_includedir}/tqt + +%__make %{?_smp_mflags} + + +%install +export PATH="%{tde_bindir}:${PATH}" +%__rm -rf %{buildroot} +%__make install DESTDIR=%{buildroot} + + +%clean +%__rm -rf %{buildroot} + + + +%files +%defattr(-,root,root,-) +%doc AUTHORS COPYING +%{tde_tdelibdir}/kwin3_crystal.la +%{tde_tdelibdir}/kwin3_crystal.so +%{tde_tdelibdir}/kwin_crystal_config.la +%{tde_tdelibdir}/kwin_crystal_config.so +%{tde_datadir}/apps/kwin/crystal.desktop + + +%Changelog +* Sat Nov 19 2011 Francois Andriot - 1.0.5-1 +- Initial build for RHEL 5, RHEL 6, Fedora 15, Fedora 16 diff --git a/redhat/dependencies/arts/kcmartsrc-pulseaudio b/redhat/dependencies/arts/kcmartsrc-pulseaudio new file mode 100644 index 000000000..1acb0a150 --- /dev/null +++ b/redhat/dependencies/arts/kcmartsrc-pulseaudio @@ -0,0 +1,4 @@ +[Arts] +Arguments=\s-F 10 -S 4096 -a esd -n -s 1 -m artsmessage -c drkonqi -l 3 -f +NetworkTransparent=true +SuspendTime=1 diff --git a/redhat/dependencies/tqca-tls/tqca-tls-qt3.patch b/redhat/dependencies/tqca-tls/tqca-tls-qt3.patch new file mode 100644 index 000000000..4b01321ad --- /dev/null +++ b/redhat/dependencies/tqca-tls/tqca-tls-qt3.patch @@ -0,0 +1,105 @@ +--- tqca-tls-master/configure.qt 2012-06-20 03:30:48.000000000 +0200 ++++ tqca-tls-master/configure 2013-05-28 20:30:52.827808679 +0200 +@@ -60,7 +60,7 @@ + if [ "$QC_DEBUG" = "Y" ]; then + echo \$QTDIR not set... trying to find Qt manually + fi +- for p in /usr/lib/tqt /usr/share/tqt /usr/share/tqt3 /usr/local/lib/tqt /usr/local/share/tqt /usr/lib/tqt3 /usr/local/lib/tqt3 /usr/lib/qt /usr/share/qt /usr/share/qt3 /usr/local/lib/qt /usr/local/share/qt /usr/lib/qt3 /usr/local/lib/qt3 /usr/lib64/tqt /usr/local/lib64/tqt /usr/lib64/tqt3 /usr/local/lib64/tqt3 /usr/lib64/qt /usr/local/lib64/qt /usr/lib64/qt3 /usr/local/lib64/qt3 /usr/X11R6/share/qt /usr/qt/3 ; do ++ for p in /usr/lib/qt /usr/share/qt /usr/share/qt3 /usr/local/lib/qt /usr/local/share/qt /usr/lib/qt3 /usr/local/lib/qt3 /usr/lib/qt /usr/share/qt /usr/share/qt3 /usr/local/lib/qt /usr/local/share/qt /usr/lib/qt3 /usr/local/lib/qt3 /usr/lib64/qt /usr/local/lib64/qt /usr/lib64/qt3 /usr/local/lib64/qt3 /usr/lib64/qt /usr/local/lib64/qt /usr/lib64/qt3 /usr/local/lib64/qt3 /usr/X11R6/share/qt /usr/qt/3 ; do + if [ -d "$p/mkspecs" ]; then + QTDIR=$p + break; +@@ -79,15 +79,15 @@ + fi + fi + +-if [ ! -x "$QTDIR/bin/tqmake" ]; then ++if [ ! -x "$QTDIR/bin/qmake" ]; then + if [ "$QC_DEBUG" = "Y" ]; then +- echo Warning: tqmake not in \$QTDIR/bin/tqmake ++ echo Warning: qmake not in \$QTDIR/bin/qmake + echo trying to find it in \$PATH + fi +- qm=`type -p tqmake` ++ qm=`type -p qmake` + if [ -x "$qm" ]; then + if [ "$QC_DEBUG" = "Y" ]; then +- echo tqmake found in $qm ++ echo qmake found in $qm + fi + else + echo fail +@@ -96,12 +96,12 @@ + echo or I missdetected \$QTDIR=$QTDIR + echo + echo Please set \$QTDIR manually and make sure that +- echo \$QTDIR/bin/tqmake exists. ++ echo \$QTDIR/bin/qmake exists. + echo + exit 1; + fi + else +- qm=$QTDIR/bin/tqmake ++ qm=$QTDIR/bin/qmake + fi + + gen_files() { +@@ -184,7 +184,9 @@ + conf->addLib("-lssl -lcrypto"); + + // Make sure tqtinterface can be found +- conf->addIncludePath("/usr/include/tqt"); ++ conf->addIncludePath("/opt/trinity/include/tqt"); ++ // Make sure tqt3 can be found ++ conf->addIncludePath("${QTINC:-${QTDIR}/include}"); + + return true; + } +@@ -476,7 +478,7 @@ + + TQString str; + str += "# qconf\n"; +- str += "QT_PATH_PLUGINS = " + TQString(tqInstallPathPlugins()) + '\n'; ++ str += "QT_PATH_PLUGINS = " + TQString(qInstallPathPlugins()) + '\n'; + if(!conf->DEFINES.isEmpty()) + str += "DEFINES += " + conf->DEFINES + '\n'; + if(!conf->INCLUDEPATH.isEmpty()) +@@ -511,7 +513,7 @@ + TEMPLATE = app + CONFIG += qt x11 thread console + TARGET = conf +-INCLUDEPATH += '/usr/include/tqt' ++INCLUDEPATH += '/opt/trinity/include/tqt' '${QTINC:-${QTDIR}/include}' + + DEFINES += X11_INC='"\$\$QMAKE_INCDIR_X11"' + DEFINES += X11_LIBDIR='"\$\$QMAKE_LIBDIR_X11"' +@@ -537,16 +539,16 @@ + ) + + if [ "$?" != "0" ]; then +- rm -rf .qconftemp ++# rm -rf .qconftemp + echo fail + echo + echo "There was an error compiling 'conf'. Be sure you have a proper" + echo "TQt 3.x Multithreaded (MT) build environment set up." +- if [ ! -f "$QTDIR/lib/libtqt-mt.so.3" ]; then +- if [ ! -f "$QTDIR/lib64/libtqt-mt.so.3" ]; then ++ if [ ! -f "${QTLIB:-${QTDIR}/lib}/libqt-mt.so.3" ]; then ++ if [ ! -f "${QTLIB:-${QTDIR}/lib64}/libqt-mt.so.3" ]; then + echo + echo "One possible reason is that you don't have" +- echo "libtqt-mt.so.3 installed in $QTDIR/lib/" ++ echo "libqt-mt.so.3 installed in $QTDIR/lib/" + echo "or $QTDIR/lib64/." + fi + fi +@@ -575,7 +577,7 @@ + if [ -x "./qcextra" ]; then + ./qcextra + fi +-# run tqmake ++# run qmake + if expr match "$DEB_BUILD_OPTIONS" ".*nostrip"; then + $qm QMAKE_STRIP=true qca-tls.pro + else diff --git a/redhat/dependencies/tqca/tqca-1.0-fix_qt3_detection.patch b/redhat/dependencies/tqca/tqca-1.0-fix_qt3_detection.patch new file mode 100644 index 000000000..0cb99b0e6 --- /dev/null +++ b/redhat/dependencies/tqca/tqca-1.0-fix_qt3_detection.patch @@ -0,0 +1,132 @@ +--- tqca.ORI/qca.pro 2012-04-24 17:24:02.760426575 -0400 ++++ tqca.P/qca.pro 2012-04-24 17:39:36.323825994 -0400 +@@ -21,6 +21,7 @@ + QCA_CPP = src + INCLUDEPATH += $$QCA_CPP + INCLUDEPATH += /usr/include/tqt ++INCLUDEPATH += /opt/trinity/include/tqt + + HEADERS += \ + $$QCA_CPP/qca.h \ +--- tqca-master/configure.qt 2012-06-20 03:30:19.000000000 +0200 ++++ tqca-master/configure 2013-05-28 19:44:10.821100155 +0200 +@@ -8,7 +8,7 @@ + + Main options: + --prefix=[path] Base path for build/install. Default: /usr/local +- --qtdir=[path] Directory where Qt is installed. ++ --qtdir=[path] Directory where [T]Qt is installed. + --help This help text. + + EOT +@@ -37,7 +37,7 @@ + + PREFIX=${PREFIX:-/usr/local} + +-echo "Configuring TQt Cryptographic Architecture (QCA) ..." ++echo "Configuring TQt Cryptographic Architecture (TQCA) ..." + + if [ "$QC_DEBUG" = "Y" ]; then + echo +@@ -52,7 +52,7 @@ + if [ "$QC_DEBUG" = "Y" ]; then + echo \$QTDIR not set... trying to find Qt manually + fi +- for p in /usr/lib/tqt /usr/share/tqt /usr/share/tqt3 /usr/local/lib/tqt /usr/local/share/tqt /usr/lib/tqt3 /usr/local/lib/tqt3 /usr/lib/qt /usr/share/qt /usr/share/qt3 /usr/local/lib/qt /usr/local/share/qt /usr/lib/qt3 /usr/local/lib/qt3 /usr/lib64/tqt /usr/local/lib64/tqt /usr/lib64/tqt3 /usr/local/lib64/tqt3 /usr/lib64/qt /usr/local/lib64/qt /usr/lib64/qt3 /usr/local/lib64/qt3 /usr/X11R6/share/qt /usr/qt/3 ; do ++ for p in /usr/lib/qt /usr/share/qt /usr/share/qt3 /usr/local/lib/qt /usr/local/share/qt /usr/lib/qt3 /usr/local/lib/qt3 /usr/lib/qt /usr/share/qt /usr/share/qt3 /usr/local/lib/qt /usr/local/share/qt /usr/lib/qt3 /usr/local/lib/qt3 /usr/lib64/qt /usr/local/lib64/qt /usr/lib64/qt3 /usr/local/lib64/qt3 /usr/lib64/qt /usr/local/lib64/qt /usr/lib64/qt3 /usr/local/lib64/qt3 /usr/X11R6/share/qt /usr/qt/3 ; do + if [ -d "$p/mkspecs" ]; then + QTDIR=$p + break; +@@ -62,7 +62,7 @@ + echo fail + echo + echo Unable to find Qt 'mkspecs'. Please set QTDIR +- echo manually. Perhaps you need to install Qt 3 ++ echo manually. Perhaps you need to install [T]Qt 3 + echo development utilities. You may download them either + echo from the vendor of your operating system or from + echo www.trolltech.com +@@ -71,15 +71,15 @@ + fi + fi + +-if [ ! -x "$QTDIR/bin/tqmake" ]; then ++if [ ! -x "$QTDIR/bin/qmake" ]; then + if [ "$QC_DEBUG" = "Y" ]; then +- echo Warning: tqmake not in \$QTDIR/bin/tqmake ++ echo Warning: qmake not in \$QTDIR/bin/qmake + echo trying to find it in \$PATH + fi +- qm=`type -p tqmake` ++ qm=`type -p qmake` + if [ -x "$qm" ]; then + if [ "$QC_DEBUG" = "Y" ]; then +- echo tqmake found in $qm ++ echo qmake found in $qm + fi + else + echo fail +@@ -88,12 +88,12 @@ + echo or I missdetected \$QTDIR=$QTDIR + echo + echo Please set \$QTDIR manually and make sure that +- echo \$QTDIR/bin/tqmake exists. ++ echo \$QTDIR/bin/qmake exists. + echo + exit 1; + fi + else +- qm=$QTDIR/bin/tqmake ++ qm=$QTDIR/bin/qmake + fi + + gen_files() { +@@ -382,7 +382,7 @@ + + TQString str; + str += "# qconf\n"; +- str += "QT_PATH_PLUGINS = " + TQString(tqInstallPathPlugins()) + '\n'; ++ str += "QT_PATH_PLUGINS = " + TQString(qInstallPathPlugins()) + '\n'; + if(!conf->DEFINES.isEmpty()) + str += "DEFINES += " + conf->DEFINES + '\n'; + if(!conf->INCLUDEPATH.isEmpty()) +@@ -417,7 +417,8 @@ + TEMPLATE = app + CONFIG += qt x11 thread console + TARGET = conf +-INCLUDEPATH += '/usr/include/tqt' ++INCLUDEPATH += '${QTINC:-${QTDIR}/include}' ++INCLUDEPATH += '/opt/trinity/include/tqt' + + DEFINES += X11_INC='"\$\$QMAKE_INCDIR_X11"' + DEFINES += X11_LIBDIR='"\$\$QMAKE_LIBDIR_X11"' +@@ -442,16 +443,16 @@ + ) + + if [ "$?" != "0" ]; then +- rm -rf .qconftemp ++# rm -rf .qconftemp + echo fail + echo + echo "There was an error compiling 'conf'. Be sure you have a proper" + echo "TQt 3.x Multithreaded (MT) build environment set up." +- if [ ! -f "$QTDIR/lib/libtqt-mt.so.3" ]; then +- if [ ! -f "$QTDIR/lib64/libtqt-mt.so.3" ]; then ++ if [ ! -f "$QTDIR/lib/libqt-mt.so.3" ]; then ++ if [ ! -f "$QTDIR/lib64/libqt-mt.so.3" ]; then + echo + echo "One possible reason is that you don't have" +- echo "libtqt-mt.so.3 installed in $QTDIR/lib/" ++ echo "libqt-mt.so.3 installed in $QTDIR/lib/" + echo "or $QTDIR/lib64/." + fi + fi +@@ -480,7 +481,7 @@ + if [ -x "./qcextra" ]; then + ./qcextra + fi +-# run tqmake ++# run qmake + $qm qca.pro + if [ "$?" != "0" ]; then + echo diff --git a/redhat/extras/akode/trinity-akode-3.5.13.2.spec b/redhat/extras/akode/trinity-akode-3.5.13.2.spec new file mode 100644 index 000000000..cdedc117b --- /dev/null +++ b/redhat/extras/akode/trinity-akode-3.5.13.2.spec @@ -0,0 +1,353 @@ +# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". +%if "%{?tde_prefix}" != "/usr" +%define _variant .opt +%endif + +# TDE 3.5.13 specific building variables +%define tde_bindir %{tde_prefix}/bin +%define tde_datadir %{tde_prefix}/share +%define tde_docdir %{tde_datadir}/doc +%define tde_includedir %{tde_prefix}/include +%define tde_libdir %{tde_prefix}/%{_lib} +%define tde_mandir %{tde_datadir}/man + +%define tde_tdeappdir %{tde_datadir}/applications/kde +%define tde_tdedocdir %{tde_docdir}/tde +%define tde_tdeincludedir %{tde_includedir}/tde +%define tde_tdelibdir %{tde_libdir}/trinity + +%define _docdir %{tde_docdir} + +Summary: Audio-decoding framework +Name: trinity-akode +Version: 2.0.2 +Release: 4%{?dist}%{?_variant} + +License: LGPLv2+ +Group: System Environment/Libraries +#URL: http://carewolf.com/akode/ +URL: http://www.kde-apps.org/content/show.php?content=30375 +Source0: akode-2.0.2.tar.bz2 + +Prefix: %{tde_prefix} +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) + + +# Legacy Fedora 9 patches +Patch1: akode-pulseaudio.patch +Patch2: akode-2.0.2-multilib.patch +Patch3: akode-2.0.2-flac113-portable.patch +Patch4: akode-2.0.2-gcc43.patch + +# New patch for Fedora 16 / TDE 3.5.13 +Patch10: akode-autotools.patch +Patch11: akode-2.0.2-fix_ffmpeg_include.patch + + +# FLAC support +%define _with_flac --with-flac +%if 0%{?mgaversion} || 0%{?mdkversion} +%if 0%{?pclinuxos} +BuildRequires: libflac-devel +%else +BuildRequires: %{_lib}flac-devel +%endif +%endif +%if 0%{?rhel} || 0%{?fedora} || 0%{?suse_version} +BuildRequires: flac-devel +%endif + +# JACK support +%if 0%{?rhel} >= 5 || 0%{?fedora} || 0%{?mgaversion} || 0%{?mdkversion} || 0%{?suse_version} +%define _with_jack --with-jack +%if 0%{?mgaversion} || 0%{?mdkversion} +BuildRequires: %{_lib}jack-devel +%endif +%if 0%{?rhel} || 0%{?fedora} || 0%{?suse_version} +BuildRequires: jack-audio-connection-kit-devel +%endif +%endif + +# SAMPLERATE support +%if 0%{?rhel} >= 4 || 0%{?fedora} || 0%{?mgaversion} || 0%{?mdkversion} || 0%{?suse_version} +%define _with_libsamplerate --with-libsamplerate +BuildRequires: libsamplerate-devel +%endif + +# PULSEAUDIO support +%if 0%{?fedora} >= 15 || 0%{?rhel} >= 6 || 0%{?mgaversion} || 0%{?mdkversion} || 0%{?suse_version} +%define _with_pulseaudio --with-pulseaudio +%if 0%{?mgaversion} || 0%{?mdkversion} +BuildRequires: %{_lib}pulseaudio-devel +%endif +%if 0%{?rhel} || 0%{?fedora} +BuildRequires: pulseaudio-libs-devel +%endif +%if 0%{?suse_version} +BuildRequires: pulseaudio-devel +%endif +%endif + +# MAD support +%if 0%{?mdkversion} || 0%{?mgaversion} || 0%{?fedora} || 0%{?suse_version} || 0%{?rhel} +%define _with_libmad --with-libmad +%if 0%{?mdkversion} || 0%{?mgaversion} +BuildRequires: %{_lib}mad-devel +%endif +%if 0%{?fedora} || 0%{?suse_version} || 0%{?rhel} +BuildRequires: libmad-devel +%endif +%endif + + +BuildRequires: automake libtool +BuildRequires: alsa-lib-devel +BuildRequires: libvorbis-devel +BuildRequires: speex-devel + + +%description +aKode is a simple audio-decoding frame-work that provides a uniform +interface to decode the most common audio-formats. It also has a direct +playback option for a number of audio-outputs. + +aKode currently has the following decoder plugins: +* mpc: Decodes musepack aka mpc audio. +* xiph: Decodes FLAC, Ogg/FLAC, Speex and Ogg Vorbis audio. + +aKode also has the following audio outputs: +* alsa: Outputs to ALSA (dmix is recommended). + +%files +%defattr(-,root,root,-) +%doc rpmdocs/* +%{tde_bindir}/akodeplay +%{tde_libdir}/libakode.so.* +%{tde_libdir}/libakode_alsa_sink.la +%{tde_libdir}/libakode_alsa_sink.so +%{tde_libdir}/libakode_mpc_decoder.la +%{tde_libdir}/libakode_mpc_decoder.so +%{tde_libdir}/libakode_oss_sink.la +%{tde_libdir}/libakode_oss_sink.so +%{tde_libdir}/libakode_xiph_decoder.la +%{tde_libdir}/libakode_xiph_decoder.so + +%post +/sbin/ldconfig + +%postun +/sbin/ldconfig + +########## + +%package devel +Summary: Headers for developing programs that will use %{name} +Group: Development/Libraries +Requires: %{name} = %{version}-%{release} +Requires: pkgconfig +%description devel +%{summary}. + +%files devel +%defattr(-,root,root,-) +%{tde_bindir}/akode-config +%{tde_includedir}/* +%{tde_libdir}/libakode.la +%{tde_libdir}/libakode.so +%{tde_libdir}/pkgconfig/*.pc + +%post devel +/sbin/ldconfig + +%postun devel +/sbin/ldconfig + +########## + +%if "%{?_with_jack}" != "" + +%package jack +Summary: Jack audio output backend for %{name} +Group: Development/Libraries +Requires: %{name} = %{version}-%{release} + +%description jack +%{summary}. + +%files jack +%defattr(-,root,root,-) +%{tde_libdir}/libakode_jack_sink.la +%{tde_libdir}/libakode_jack_sink.so + +%post jack +/sbin/ldconfig + +%postun jack +/sbin/ldconfig + +%endif + +########## + +%if "%{?_with_pulseaudio}" != "" + +%package pulseaudio +Summary: Pulseaudio output backend for %{name} +Group: Development/Libraries +Requires: %{name} = %{version}-%{release} + +%description pulseaudio +%{summary}. +Recommended for network transparent audio. + +%files pulseaudio +%defattr(-,root,root,-) +%{tde_libdir}/libakode_polyp_sink.la +%{tde_libdir}/libakode_polyp_sink.so + +%post pulseaudio +/sbin/ldconfig + +%postun pulseaudio +/sbin/ldconfig + +%endif + +########## + +# Packaged separately to keep main/core %{akode} package LGPL-clean. +%if "%{?_with_libsamplerate:1}" == "1" + +%package libsamplerate +Summary: Resampler based on libsamplerate for %{name} +Group: Development/Libraries +License: GPLv2+ +Requires: %{name} = %{version}-%{release} + +%description libsamplerate +%{summary}. + +# License: GPLv2+ +%files libsamplerate +%defattr(-,root,root,-) +%{tde_libdir}/libakode_src_resampler.la +%{tde_libdir}/libakode_src_resampler.so + +%post libsamplerate +/sbin/ldconfig + +%postun libsamplerate +/sbin/ldconfig + +%endif + +########## + +%if "%{?_with_libmad}" != "" + +%package libmad +Summary: Decoder based on libmad for %{name} +Group: Development/Libraries +Requires: %{name} = %{version}-%{release} + +%description libmad +%{summary}. + +%files libmad +%{tde_libdir}/libakode_mpeg_decoder.la +%{tde_libdir}/libakode_mpeg_decoder.so + +%post libmad +/sbin/ldconfig + +%postun libmad +/sbin/ldconfig + +%endif + +########## + +%if 0%{?suse_version} || 0%{?pclinuxos} +%debug_package +%endif + +########## + +%prep +%setup -q -n akode-%{version} + +%patch1 -p1 -b .pulseaudio +%patch2 -p1 -b .multilib +%patch3 -p4 -b .flac113_portable +%patch4 -p1 -b .gcc43 + +%patch10 -p1 -b .autotools +%patch11 -p1 -b .ffmpeg + +# Ugly hack to modify TQT include directory inside autoconf files. +# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 ! +%__sed -i "admin/acinclude.m4.in" \ + -e "s|/usr/include/tqt|%{tde_includedir}/tqt|g" \ + -e "s|kde_htmldir='.*'|kde_htmldir='%{tde_tdedocdir}/HTML'|g" + +%__cp -f "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" +%__cp -f "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp -f "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh" +%__make -f admin/Makefile.common cvs + +%build +%configure \ + --bindir=%{tde_bindir} \ + --libdir=%{tde_libdir} \ + --includedir=%{tde_includedir} \ + --datadir=%{tde_datadir} \ + --disable-static \ + --enable-shared \ + --disable-debug --disable-warnings --disable-dependency-tracking \ + --without-libltdl \ + --with-alsa \ + --with-oss \ + %{?_with_flac} %{!?_with_flac:--without-flac} \ + %{?_with_jack} %{!?_with_jack:--without-jack} \ + %{?_with_libsamplerate} %{!?_with_libsamplerate:--without-libsamplerate} \ + %{?_with_pulseaudio} %{!?_with_pulseaudio:--without-pulseaudio} \ + --with-speex \ + --with-vorbis \ + --without-ffmpeg \ + %{?_with_libmad} %{!?_with_libmad:--without-libmad} \ + --enable-closure \ + --enable-new-ldflags \ + --enable-final + +%__make %{?_smp_mflags} LIBTOOL=$(which libtool) + + +%install +%__rm -rf %{buildroot} +%__make install DESTDIR=%{buildroot} + +# unpackaged files +%__rm -f %{buildroot}%{tde_libdir}/*.a + +# rpmdocs +for file in AUTHORS COPYING NEWS README TODO ; do + test -s "$file" && install -p -m644 -D "$file" "rpmdocs/$file" +done + + +%clean +%__rm -rf %{buildroot} + + +%changelog +* Sat Jan 19 2013 Francois Andriot - 2.0.2-4 +- Initial release for TDE 3.5.13.2 + +* Wed Oct 03 2012 Francois Andriot - 2.0.2-3 +- Initial build for TDE 3.5.13.1 + +* Mon Jul 30 2012 Francois Andriot 2.0.2-2 +- Re-adds '.la' files + +* Tue May 01 2012 Francois Andriot 2.0.2-1 +- Port to TDE 3.5.13 +- Based on spec file from Fedora 9 'akode-2.0.2-5' diff --git a/redhat/extras/kasablanca/trinity-kasablanca-3.5.13.2.spec b/redhat/extras/kasablanca/trinity-kasablanca-3.5.13.2.spec new file mode 100644 index 000000000..c9468b9c2 --- /dev/null +++ b/redhat/extras/kasablanca/trinity-kasablanca-3.5.13.2.spec @@ -0,0 +1,188 @@ +%define tdecomp kasablanca + +# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". +%if "%{?tde_prefix}" != "/usr" +%define _variant .opt +%endif + +# TDE 3.5.13 specific building variables +%define tde_bindir %{tde_prefix}/bin +%define tde_datadir %{tde_prefix}/share +%define tde_docdir %{tde_datadir}/doc +%define tde_includedir %{tde_prefix}/include +%define tde_libdir %{tde_prefix}/%{_lib} +%define tde_mandir %{tde_datadir}/man + +%define tde_tdeappdir %{tde_datadir}/applications/kde +%define tde_tdedocdir %{tde_docdir}/tde +%define tde_tdeincludedir %{tde_includedir}/tde +%define tde_tdelibdir %{tde_libdir}/trinity + +%define _docdir %{tde_docdir} + + +Name: trinity-%{tdecomp} +Summary: Graphical FTP client +Version: 0.4.0.2 +Release: 3%{?dist}%{?_variant} + +License: GPLv2+ +Url: http://kasablanca.berlios.de/ +Source: kasablanca-0.4.0.2.tar.gz +Group: Applications/Internet +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) + +# [kasablanca] Fix bad content in icon (?) +Patch1: kasablanca-0.4.0.2-dt.patch +# [kasablanca] Fix detection of newer autotools +Patch2: kasablanca-0.4.0.2-fix_autotools_detection.patch +# [kasablanca] Missing LDFLAGS cause FTBFS +Patch3: kasablanca-0.4.0.2-missing_ldflags.patch + +BuildRequires: desktop-file-utils +BuildRequires: gettext +BuildRequires: trinity-tdelibs-devel >= 3.5.13.2 +BuildRequires: openssl-devel + +%if 0%{?suse_version} +BuildRequires: utempter-devel +%else +%if 0%{?rhel} == 4 +%else +BuildRequires: libutempter-devel +%endif +%endif + +%description +Kasablanca is an ftp client, among its features are currently: +* ftps encryption via AUTH TLS +* fxp (direct server to server transfer), supporting alternative mode. +* advanced bookmarking system. +* fast responsive multithreaded engine. +* concurrent connections to multiple hosts. +* interactive transfer queue, movable by drag and drop. +* small nifty features, like a skiplist. + + +%if 0%{?suse_version} || 0%{?pclinuxos} +%debug_package +%endif + + +%prep +%setup -q -n %{tdecomp}-%{version} +%patch1 -p1 -b .dt +%patch2 -p1 -b .autotools +%patch3 -p1 -b .ldflags + +# Ugly hack to modify TQT include directory inside autoconf files. +# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 ! +%__sed -i "admin/acinclude.m4.in" \ + -e "s|/usr/include/tqt|%{tde_includedir}/tqt|g" \ + -e "s|kde_htmldir='.*'|kde_htmldir='%{tde_tdedocdir}/HTML'|g" + +%__cp -f "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" +%__cp -f "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp -f "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh" +%__make -f "admin/Makefile.common" + + +%build +unset QTDIR || : ; . /etc/profile.d/qt3.sh +export PATH="%{tde_bindir}:${PATH}" +export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}" +export KDEDIR=%{tde_prefix} + +## Needed(?) for older/legacy setups, harmless otherwise +if pkg-config openssl ; then + export CPPFLAGS="$CPPFLAGS $(pkg-config --cflags-only-I openssl)" +fi + +%configure \ + --prefix=%{tde_prefix} \ + --exec-prefix=%{tde_prefix} \ + --bindir=%{tde_bindir} \ + --libdir=%{tde_libdir} \ + --includedir=%{tde_tdeincludedir} \ + --datadir=%{tde_datadir} \ + --with-qt-libraries=${QTLIB:-${QTDIR}/%{_lib}} \ + --disable-static \ + --disable-rpath \ + --disable-debug --disable-warnings \ + --disable-dependency-tracking --enable-final \ + --with-extra-includes=%{tde_includedir}/tqt + +%__make %{?_smp_mflags} LIBTOOL=$(which libtool) + + +%install +export PATH="%{tde_bindir}:${PATH}" +%__rm -rf $RPM_BUILD_ROOT + +%__make install DESTDIR=$RPM_BUILD_ROOT + +desktop-file-install \ + --dir $RPM_BUILD_ROOT%{tde_datadir}/applications/kde \ + --vendor="" \ + --add-category="Network" \ + --add-category="KDE" \ + --delete-original \ + $RPM_BUILD_ROOT%{tde_datadir}/applnk/*/*.desktop + +## File lists +# HTML (1.0) +HTML_DIR=$(kde-config --expandvars --install html) +if [ -d $RPM_BUILD_ROOT$HTML_DIR ]; then +for lang_dir in $RPM_BUILD_ROOT$HTML_DIR/* ; do + if [ -d $lang_dir ]; then + lang=$(basename $lang_dir) + echo "%lang($lang) $HTML_DIR/$lang/*" >> %{name}.lang + # replace absolute symlinks with relative ones + pushd $lang_dir + for i in *; do + [ -d $i -a -L $i/common ] && rm -f $i/common && ln -sf ../common $i/common + done + popd + fi +done +fi + +# locale's +%find_lang %{tdecomp} + +%clean +%__rm -rf $RPM_BUILD_ROOT + + +%post +touch --no-create %{tde_datadir}/icons/hicolor &> /dev/null || : + +%postun +if [ $1 -eq 0 ] ; then + touch --no-create %{_datadir}/icons/hicolor &> /dev/null + gtk-update-icon-cache %{tde_datadir}/icons/hicolor &> /dev/null || : +fi + +%posttrans +gtk-update-icon-cache %{tde_datadir}/icons/hicolor &> /dev/null || : + + +%files -f %{tdecomp}.lang +%defattr(-,root,root,-) +%doc AUTHORS ChangeLog COPYING NEWS README +%{tde_bindir}/kasablanca +%{tde_tdeappdir}/kasablanca.desktop +%{tde_datadir}/apps/kasablanca/ +%{tde_datadir}/config.kcfg/kbconfig.kcfg +%{tde_datadir}/icons/hicolor/*/apps/kasablanca.png +%{tde_tdedocdir}/HTML/en/kasablanca/ + +%changelog +* Sat Jan 19 2013 Francois Andriot - 0.4.0.2-3 +- Initial release for TDE 3.5.13.2 + +* Wed Oct 03 2012 Francois Andriot - 0.4.0.2-2 +- Initial build for TDE 3.5.13.1 + +* Sun Dec 04 2011 Francois Andriot - 0.4.0.2-1 +- Initial build for RHEL 5, RHEL 6, Fedora 15, Fedora 16 +- Based on Fedora 12 Spec 'kasablanca-0.4.0.2-17' diff --git a/redhat/extras/kickoff-i18n/trinity-kickoff-i18n-3.5.13.2.spec b/redhat/extras/kickoff-i18n/trinity-kickoff-i18n-3.5.13.2.spec new file mode 100644 index 000000000..18e6c3339 --- /dev/null +++ b/redhat/extras/kickoff-i18n/trinity-kickoff-i18n-3.5.13.2.spec @@ -0,0 +1,104 @@ +# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". +%if "%{?tde_prefix}" != "/usr" +%define _variant .opt +%endif + +# Speed build options +%define debug_package %{nil} +%define __spec_install_post %{nil} +AutoReq: no + +# TDE 3.5.13 specific building variables +%define tde_bindir %{tde_prefix}/bin +%define tde_datadir %{tde_prefix}/share +%define tde_docdir %{tde_datadir}/doc +%define tde_includedir %{tde_prefix}/include +%define tde_libdir %{tde_prefix}/%{_lib} +%define tde_mandir %{tde_datadir}/man + +%define tde_tdeappdir %{tde_datadir}/applications/kde +%define tde_tdedocdir %{tde_docdir}/tde +%define tde_tdeincludedir %{tde_includedir}/tde +%define tde_tdelibdir %{tde_libdir}/trinity + +%define _docdir %{tde_docdir} + + +Name: trinity-kickoff-i18n +Summary: Kickoff translations for Trinity Desktop Environment +Version: 1.0 +Release: 3%{?dist}%{?_variant} +Group: System/Internationalization +License: GPL +URL: http://www.mandriva.com + +Source0: kickoff-i18n-1.0.tar.bz2 +Patch0: kickoff-i18n-1.0-uz-po.patch +Patch1: kickoff-i18n-1.0-tr-po.patch + +# [kickoff-i18n] Fix directories for Trinity +Patch2: kickoff-i18n-1.0-fix_trinity_location.patch +# [kickoff-i18n] Fix build with automake 1.11 +Patch3: kickoff-i18n-1.0-fix_autotools_detection.patch + +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-buildroot +BuildArch: noarch + +BuildRequires: qt3-devel +BuildRequires: trinity-tdelibs-devel >= 3.5.13.2 + +%description +kickoff translations + +%prep +%setup -q -n kickoff-i18n-%{version} +%patch0 -p1 +%patch1 -p1 +%patch2 -p1 -b .dir +%patch3 -p1 -b .automake + +# Ugly hack to modify TQT include directory inside autoconf files. +# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 ! +%__sed -i admin/acinclude.m4.in \ + -e "s|/usr/include/tqt|%{tde_includedir}/tqt|g" \ + -e "s|kde_htmldir='.*'|kde_htmldir='%{tde_tdedocdir}/HTML'|g" + +%__cp -f "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" +%__cp -f "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp -f "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh" +%__make -f "admin/Makefile.common" + + +%build +unset QTDIR; . /etc/profile.d/qt3.sh +export PATH="%{tde_bindir}:${PATH}" +export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}" + +./configure \ + --prefix=%{tde_prefix} \ + --exec-prefix=%{tde_prefix} \ + --datadir=%{tde_datadir} \ + --includedir=%{tde_tdeincludedir} \ + +%__make %{?_smp_mflags} + +%install +%__rm -fr %{buildroot} +%__make install DESTDIR=%{?buildroot} + +%find_lang kickoff + +%clean +#rm -fr %{buildroot} + +%files -f kickoff.lang +%defattr(-,root,root,-) + +%changelog +* Sat Jan 19 2013 Francois Andriot - 1.0-3 +- Initial release for TDE 3.5.13.2 + +* Wed Oct 03 2012 Francois Andriot - 1.0-2 +- Initial build for TDE 3.5.13.1 + +* Fri Aug 03 2012 Francois Andriot - 1.0-1 +- Initial build for TDE 3.5.13 diff --git a/redhat/extras/ksensors/trinity-ksensors-3.5.13.2.spec b/redhat/extras/ksensors/trinity-ksensors-3.5.13.2.spec new file mode 100644 index 000000000..5f97dd4e1 --- /dev/null +++ b/redhat/extras/ksensors/trinity-ksensors-3.5.13.2.spec @@ -0,0 +1,271 @@ +# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". +%if "%{?tde_prefix}" != "/usr" +%define _variant .opt +%endif + +# TDE 3.5.13 specific building variables +%define tde_bindir %{tde_prefix}/bin +%define tde_datadir %{tde_prefix}/share +%define tde_docdir %{tde_datadir}/doc +%define tde_includedir %{tde_prefix}/include +%define tde_libdir %{tde_prefix}/%{_lib} +%define tde_mandir %{tde_datadir}/man + +%define tde_tdeappdir %{tde_datadir}/applications/kde +%define tde_tdedocdir %{tde_docdir}/tde +%define tde_tdeincludedir %{tde_includedir}/tde +%define tde_tdelibdir %{tde_libdir}/trinity + +%define _docdir %{tde_docdir} + +Name: trinity-ksensors +Version: 0.7.3 +Release: 20%{?dist}%{?_variant} + +Summary: Trinity Frontend to lm_sensors +Group: Applications/System +License: GPLv2+ +URL: http://ksensors.sourceforge.net/ + +Source0: http://downloads.sourceforge.net/ksensors/ksensors-0.7.3.tar.gz + +# Debian (upstream) patch +Patch2: ksensors_0.7.3-18.diff +# Fix 'lmsensor.cpp' for older lm_sensors API (< 3.x) +Patch7: ksensors-0.7.3-18-lmsensors_2x_fix.patch +# [ksensors] Fix autotools detection +Patch9: ksensors-0.7.3-fix_autotools_detection.patch +# Fix TDE directories detection +Patch10: ksensors-0.7.3-tde_includedir.patch +# Fix sound installation +Patch11: ksensors-0.7.3-fix_sound_installation.patch + +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) +BuildRequires: trinity-tdelibs-devel >= 3.5.13.2 +BuildRequires: gettext +BuildRequires: desktop-file-utils + +%if 0%{?suse_version} +BuildRequires: libsensors4-devel +%else +BuildRequires: lm_sensors-devel +%endif + +# Keep archs in sync with lm_sensors +ExcludeArch: s390 s390x + +%description +KSensors is a nice lm-sensors frontend for the K Desktop Environment. +Install the hddtemp package if you wish to monitor hard disk +temperatures with KSensors. + + +%if 0%{?suse_version} || 0%{?pclinuxos} +%debug_package +%endif + + +%prep +%setup -q -n ksensors-%{version} +%patch2 -p1 -b .debian +%patch7 -p1 -b .lm2x +%patch9 -p1 -b .autotools +%patch10 -p1 -b .tdeinc +%patch11 -p1 -b .sound + +# Ugly hack to modify TQT include directory inside autoconf files. +# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 ! +%__sed -i admin/acinclude.m4.in \ + -e "s|/usr/include/tqt|%{tde_includedir}/tqt|g" \ + -e "s|kde_htmldir='.*'|kde_htmldir='%{tde_tdedocdir}/HTML'|g" + +%__cp -f "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" +%__cp -f "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp -f "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh" +%__make -f "admin/Makefile.common" + +%__sed -i -e 's|$(kde_datadir)/sounds|$(kde_sounddir)|' src/sounds/Makefile.* +for f in ChangeLog LIESMICH LISEZMOI ; do + iconv -f iso-8859-1 -t utf-8 $f > $f.utf8 ; mv $f.utf8 $f +done + +%build +unset QTDIR; . /etc/profile.d/qt3.sh +export PATH="%{tde_bindir}:${PATH}" +export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}" + +export KDEDIR=%{tde_prefix} + +%configure \ + --prefix=%{tde_prefix} \ + --exec-prefix=%{tde_prefix} \ + --disable-dependency-tracking \ + --disable-rpath \ + --with-extra-includes=%{tde_includedir}/tqt \ + --with-qt-libraries=${QTLIB:-${QTDIR}/%{_lib}} \ + --bindir=%{tde_bindir} \ + --libdir=%{tde_libdir} \ + --datadir=%{tde_datadir} \ + --includedir=%{tde_tdeincludedir} + +%__make %{?_smp_mflags} LIBTOOL=$(which libtool) + + +%install +%__rm -rf $RPM_BUILD_ROOT +%__make install DESTDIR=$RPM_BUILD_ROOT + +# Creates autostart shortcut +%__install -dm 755 $RPM_BUILD_ROOT%{tde_datadir}/autostart +%__ln_s ../applnk/Utilities/ksensors.desktop \ + $RPM_BUILD_ROOT%{tde_datadir}/autostart + +#__rm -rf $RPM_BUILD_ROOT%{tde_tdedocdir}/HTML + +%find_lang ksensors + + +%clean +%__rm -rf $RPM_BUILD_ROOT + + +%post +for f in locolor hicolor ; do + touch --no-create %{tde_datadir}/icons/$f 2> /dev/null || : + gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null || : +done + +%postun +for f in locolor hicolor ; do + touch --no-create %{tde_datadir}/icons/$f 2> /dev/null || : + gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null || : +done + + +%files -f ksensors.lang +%defattr(-,root,root,-) +%doc AUTHORS ChangeLog COPYING FAQ README TODO +%lang(es) %doc LEEME +%lang(de) %doc LIESMICH +%lang(fr) %doc LISEZMOI +%{tde_bindir}/ksensors +%{tde_datadir}/applnk/Utilities/ksensors.desktop +%{tde_datadir}/apps/ksensors/ +%{tde_datadir}/autostart/ksensors.desktop +%{tde_datadir}/icons/hicolor/*/apps/ksensors.png +%{tde_datadir}/icons/locolor/ +%{tde_datadir}/sounds/ksensors_alert.wav +%{tde_tdedocdir}/HTML/en/ksensors/ + +%changelog +* Sat Jan 19 2013 Francois Andriot - 0.7.3-20 +- Initial release for TDE 3.5.13.2 + +* Wed Oct 03 2012 Francois Andriot - 0.7.3-19p3 +- Initial build for TDE 3.5.13.1 + +* Thu Dec 22 2011 Francois Andriot - 0.7.3-19p2 +- Update Debian patch to -18 release + +* Mon Nov 07 2011 Francois Andriot - 0.7.3-19p1 +- Rebuilt for RHEL 6, RHEL 5, Fedora 15 with TDE 3.5.13 + +* Mon Feb 07 2011 Fedora Release Engineering - 0.7.3-19 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild + +* Fri Jul 24 2009 Fedora Release Engineering - 0.7.3-18 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild + +* Wed Feb 25 2009 Fedora Release Engineering - 0.7.3-17 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild + +* Fri Feb 15 2008 Hans de Goede 0.7.3-16 +- Update Debian patch to -15 release + +* Thu Jan 3 2008 Hans de Goede 0.7.3-15 +- Change BuildRequires: kdelibs-devel into kdelibs3-devel + +* Sun Nov 11 2007 Hans de Goede 0.7.3-14 +- Patch for and Rebuild against lm_sensors-3.0.0 + +* Sun Nov 11 2007 Hans de Goede 0.7.3-13 +- Fix reading of min and max tresholds from libsensors + +* Mon Aug 13 2007 Hans de Goede 0.7.3-12 +- Update License tag for new Licensing Guidelines compliance + +* Fri Jul 27 2007 Hans de Goede 0.7.3-11 +- Remove OnlyShowIn=KDE; from .desktop file (I like using ksensors under GNOME, + works fine grumbel) + +* Fri Jul 27 2007 Hans de Goede 0.7.3-10 +- Add icon-cache update scriptlets +- Add Requires: hicolor-icon-theme for dir ownership + +* Fri Jul 20 2007 Ville Skyttä - 0.7.3-9 +- Sync Exclu(de|sive)Arch with new lm_sensors (#249060). + +* Tue Jun 26 2007 Ville Skyttä - 0.7.3-8 +- Update Debian patchset to -14 for additional fixes and translations; + drop our hddtemp detection patch in favour of the one included in it. +- Drop Application and X-Fedora categories from .desktop file, add GenericName. +- Make autostart checkbox effective again (#242570). +- Convert docs to UTF-8. + +* Sat Sep 30 2006 Ville Skyttä - 0.7.3-7 +- Apply Debian -11 patchset for upstream radio button state fix, + support for hddtemp with SCSI disks and more translations. + +* Wed Aug 30 2006 Ville Skyttä - 0.7.3-6 +- Rebuild. + +* Wed Feb 15 2006 Ville Skyttä - 0.7.3-5 +- Rebuild. + +* Thu Nov 3 2005 Ville Skyttä - 0.7.3-4 +- Clean up build dependencies. + +* Thu May 19 2005 Ville Skyttä - 0.7.3-3 +- Sync arch availability with FC4 lm_sensors (%%{ix86}, x86_64, alpha). +- Reduce directory ownership bloat. + +* Fri Apr 7 2005 Michael Schwendt - 0.7.3-2 +- rebuilt + +* Sat Aug 21 2004 Ville Skyttä - 0:0.7.3-0.fdr.1 +- Update to 0.7.3, most patches applied upstream. +- Disable dependency tracking to speed up the build. + +* Tue Jul 20 2004 Ville Skyttä - 0:0.7.2-0.fdr.4 +- Force use of multithreaded Qt with --enable-mt to fix build on FC2. +- Sync Debian patch to 0.7.2-16 to get a fix for freeze with hddtemp. +- Apply upstream patches #913569 and #915725. +- Disable RPATH. +- Don't ship the "handbook", it's just a template. +- Other minor improvements here and there. + +* Sat Aug 2 2003 Ville Skyttä - 0:0.7.2-0.fdr.3 +- Own dirs under %%{_datadir}/icons and %%{_docdir}/HTML (bug 21). +- Don't tweak path to hddtemp. +- Patch to fix hddtemp detection. +- s/--enable-xinerama/--with-xinerama/ +- Borrow man page from Debian. + +* Sat May 31 2003 Ville Skyttä - 0:0.7.2-0.fdr.2 +- Spec cleanups. + +* Fri Apr 4 2003 Ville Skyttä - 0:0.7.2-0.fdr.1 +- Update to current Fedora guidelines. +- Move desktop entry to %%{_datadir}/applications using desktop-file-install. + +* Sun Feb 23 2003 Warren Togami - 0.7.2-1.fedora.2 +- BuildRequires libart_lgpl-devel needed for Red Hat 8.1 + +* Sun Feb 23 2003 Ville Skyttä - 0.7.2-1.fedora.1 +- Update to 0.7.2. +- Don't apply startup crash patch, but keep it around for now. + +* Sat Feb 15 2003 Ville Skyttä - 0.7-1.fedora.2 +- Include startup crash patch from upstream SRPM. + +* Sun Feb 9 2003 Ville Skyttä - 0.7-1.fedora.1 +- First Fedora release. diff --git a/redhat/extras/style-ia-ora/trinity-style-ia-ora-3.5.13.2.spec b/redhat/extras/style-ia-ora/trinity-style-ia-ora-3.5.13.2.spec new file mode 100644 index 000000000..885ee3e88 --- /dev/null +++ b/redhat/extras/style-ia-ora/trinity-style-ia-ora-3.5.13.2.spec @@ -0,0 +1,291 @@ +# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". +%if "%{?tde_prefix}" != "/usr" +%define _variant .opt +%endif + + +# TDE 3.5.13 specific building variables +%define tde_bindir %{tde_prefix}/bin +%define tde_datadir %{tde_prefix}/share +%define tde_docdir %{tde_datadir}/doc +%define tde_includedir %{tde_prefix}/include +%define tde_libdir %{tde_prefix}/%{_lib} +%define tde_mandir %{tde_datadir}/man + +%define tde_tdeappdir %{tde_datadir}/applications/kde +%define tde_tdedocdir %{tde_docdir}/tde +%define tde_tdeincludedir %{tde_includedir}/tde +%define tde_tdelibdir %{tde_libdir}/trinity + +%define _docdir %{tde_docdir} + + +Summary: Mandriva theme for TDE - Widget design +Name: trinity-style-ia-ora +Version: 1.0.8 +Release: 3%{?dist}%{?_variant} +License: GPL +Group: Environment/Desktop +URL: http://www.mandrivalinux.com/ + +Source0: ia_ora-kde-1.0.8.tar.bz2 + +# [ia_ora] Fix automake 1.11 detection +Patch1: ia_ora-1.08-fix_automake_detection.patch +# [ia_ora] Fix trinity directories detection +Patch2: ia_ora-1.08-fix_trinity_directories.patch + +Prefix: %{_prefix} +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-buildroot + +BuildRequires: trinity-tdelibs-devel >= 3.5.13.2 +BuildRequires: trinity-tdebase-devel >= 3.5.13.2 + +Requires: trinity-twin + +%description +Mandriva theme for Trinity + +%if 0%{?suse_version} || 0%{?pclinuxos} +%debug_package +%endif + + +%prep +%setup -q -n ia_ora-kde-%{version} +%patch1 -p1 -b .automake11 +%patch2 -p1 -b .trinity + +# Ugly hack to modify TQT include directory inside autoconf files. +# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 ! +%__sed -i admin/acinclude.m4.in \ + -e "s|/usr/include/tqt|%{tde_includedir}/tqt|g" \ + -e "s|kde_htmldir='.*'|kde_htmldir='%{tde_tdedocdir}/HTML'|g" + +%__cp -f "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" +%__cp -f "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp -f "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh" +%__make -f "admin/Makefile.common" cvs + + +%build +unset QTDIR; . /etc/profile.d/qt3.sh +export PATH="%{tde_bindir}:${PATH}" +export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}" + +%configure \ + --prefix=%{tde_prefix} \ + --exec-prefix=%{tde_prefix} \ + --datadir=%{tde_datadir} \ + --includedir=%{tde_tdeincludedir} \ + --libdir=%{tde_libdir} \ + --disable-rpath \ + --enable-closure \ + --disable-dependency-tracking \ + --enable-new-ldflags \ + --enable-final \ + --enable-shared \ + --disable-static \ + --with-extra-includes=%{tde_includedir}/tqt + +%__make %{?_smp_mflags} LIBTOOL=$(which libtool) + +%install +%__rm -rf %{buildroot} +%__make install DESTDIR=%{?buildroot} + +# Removes useless files +%__rm -f %{?buildroot}%{tde_tdelibdir}/*.a +%__rm -f %{?buildroot}%{tde_tdelibdir}/plugins/styles/*.a + +%clean +%__rm -rf %{buildroot} + +%files +%defattr(-,root,root,-) +%{tde_tdelibdir}/kwin3_iaora.la +%{tde_tdelibdir}/kwin3_iaora.so +%{tde_tdelibdir}/kwin_iaora_config.la +%{tde_tdelibdir}/kwin_iaora_config.so +%{tde_tdelibdir}/plugins/styles/ia_ora.la +%{tde_tdelibdir}/plugins/styles/ia_ora.so +%{tde_datadir}/apps/kstyle/themes/ia_ora.themerc +%{tde_datadir}/apps/kwin/iaora.desktop + + + + +%changelog +* Sat Jan 19 2013 Francois Andriot - 1.0.8-3 +- Initial release for TDE 3.5.13.2 + +* Wed Oct 03 2012 Francois Andriot - 1.0.8-2 +- Initial build for TDE 3.5.13.1 + +* Fri Aug 03 2012 Francois Andriot - 1.0.8-1 +- Initial version for TDE 3.5.13 + +* Fri Aug 05 2011 Andrey Bondrov 1.0.8-9mib2011.0 +- Port to 2011 + +* Sat Jul 10 2010 Andrey Bondrov 1.0.8-8mib2010.1 +- Rebuild for MIB users + +* Sun Nov 22 2009 Atilla ÖNTAŞ 1.0.8-8mvt2010.0 +- Rename package to avoid unwanted KDE4 upgrade +- Merge packages in one kde-style package +- Fix package group in spec file + +* Tue Nov 17 2009 Tim Williams 1.0.8-7mdv2010.0 ++ Rebuild for MDV 2010.0 + +* Thu Mar 26 2009 Helio Chissini de Castro 1.0.8-6mdv2009.1 ++ Revision: 361404 +- Bump to rebuild against cooker + +* Tue Nov 18 2008 Thierry Vignaud 1.0.8-5mdv2009.1 ++ Revision: 304189 +- rebuild for new xcb + +* Wed Aug 06 2008 Thierry Vignaud 1.0.8-4mdv2009.0 ++ Revision: 264680 +- rebuild early 2009.0 package (before pixel changes) + +* Thu May 08 2008 Helio Chissini de Castro 1.0.8-2mdv2009.0 ++ Revision: 204689 +- Move to /opt + +* Wed Feb 27 2008 Gustavo Pichorim Boiko 1.0.8-1mdv2008.1 ++ Revision: 175799 +- New release (1.0.8): + * Fix drawing of buttons when using mandriva color schemes + * Update color scheme names to match the new ones + +* Tue Feb 19 2008 Gustavo Pichorim Boiko 1.0.7-1mdv2008.1 ++ Revision: 173100 +- new release (1.0.7) fixing some drawing issues on applications that don't use + standard background colors (#33502) + +* Thu Jan 03 2008 Oden Eriksson 1.0.6-2mdv2008.1 ++ Revision: 141786 +- rebuilt against openldap-2.4.7 libs + + + Olivier Blin + - restore BuildRoot + + + Thierry Vignaud + - kill re-definition of %%buildroot on Pixel's request + +* Wed Sep 12 2007 Gustavo Pichorim Boiko 1.0.6-1mdv2008.0 ++ Revision: 84626 +- new release: 1.0.6: + * Use the right color for the bottom line of menubar + * Remove some lines that were causing double borders at menubar and toolbar + ends + * Fix the bottom of toolbars: it was being drawn using the wrong color + * Use a flat background for status bars + * Add a minimum size for the scrollbar handle +- new release: 1.0.5 + * Use the widget style in all separators (#33260) + * Fixed popup menu item drawing on menus that have titles (#33287) + +* Thu Sep 06 2007 Gustavo Pichorim Boiko 1.0.4-1mdv2008.0 ++ Revision: 81272 +- new version: 1.0.4 + * Restore the old color themes (as they will be kept as alternatives) + * Properly mask the rounded borders and properly draw the region previously + masked + * Create fake rounded corners on menu items + * Reduced the button margin to get normal sized buttons (not giant ones) + * Make it possible to resize windows by the top border +------------------------------------------------------------------------ + r227235 | boiko | 2007-09-06 13:58:18 -0300 (Qui, 06 Set 2007) | 3 lines + +* Wed Sep 05 2007 Gustavo Pichorim Boiko 1.0.3-1mdv2008.0 ++ Revision: 80378 +- new release: 1.0.3 + * Implement highligh on hovering controls + * Threat scrollbar buttons as buttons (showing them lowered when the button + is pressed for example) + * Show the combo box button as pressed when the list is opened + * Removed Powerpack+ colors + * Changed Discovery/One to just One and adjusted colors + * Used more sane values when using ia_ora together with other KDE color + schemes +- new release: + * fix gradient colors of menus (thanks Frederic Crozat for pointing that) + * implement correctly the combo box drawing according to the ia_ora spec + * Fix the text color of menubar items + +* Thu Aug 23 2007 Gustavo Pichorim Boiko 1.0.1-1mdv2008.0 ++ Revision: 70685 +- new version: 1.0.1 + * Replace the gradient code by the Plastik one (it is better written) + * Fix drawing of menubar items and popupmenu items (#30659) + +* Mon Jun 11 2007 Nicolas Lécureuil 1.0-18mdv2008.0 ++ Revision: 38004 +- REBUILD + + +* Thu Mar 22 2007 Laurent Montel 1.0-17mdv2007.1 ++ Revision: 147929 +- Fix theme + +* Mon Mar 19 2007 Laurent Montel 1.0-16mdv2007.1 ++ Revision: 146479 +- Fix progressbar text color + +* Wed Mar 07 2007 Laurent Montel 1.0-15mdv2007.1 ++ Revision: 134563 +- Fix style + +* Tue Mar 06 2007 Laurent Montel 1.0-14mdv2007.1 ++ Revision: 133854 +- New update + +* Wed Feb 28 2007 Laurent Montel 1.0-13mdv2007.1 ++ Revision: 127097 +- New update + +* Wed Jan 24 2007 Laurent Montel 1.0-12mdv2007.1 ++ Revision: 112737 +- Fix theme + +* Tue Jan 02 2007 Laurent Montel 1.0-11mdv2007.1 ++ Revision: 103350 +- Update tarball + +* Mon Dec 11 2006 Laurent Montel 1.0-10mdv2007.1 ++ Revision: 94696 +- Rename spec file name too +- Rename ia_ora to ia_ora-kde + Fix a lot of bug +- Import ia_ora-kde + +* Sat Sep 16 2006 Laurent MONTEL 1.0-9 +- Fix title bar + +* Thu Sep 14 2006 Laurent MONTEL 1.0-8 +- Fix handle + +* Thu Sep 14 2006 Laurent MONTEL 1.0-7 +- Fix toolbar color + +* Thu Sep 14 2006 Laurent MONTEL 1.0-6 +- Fix Combobox/Scrollbar/Checkbox and bidi mode + +* Tue Sep 12 2006 Laurent MONTEL 1.0-5 +- Fix tabbar + +* Tue Sep 12 2006 Laurent MONTEL 1.0-4 +- Fix scrollbar + +* Sun Sep 10 2006 Laurent MONTEL 1.0-3 +- Improve style + +* Fri Sep 08 2006 Laurent MONTEL 1.0-2 +- Some fixes + +* Tue Sep 05 2006 Laurent MONTEL 1.0-1 +- Initial package + diff --git a/redhat/extras/theme-baghira/baghira-0.8-fix_autotools.patch b/redhat/extras/theme-baghira/baghira-0.8-fix_autotools.patch new file mode 100644 index 000000000..ac6a66dcd --- /dev/null +++ b/redhat/extras/theme-baghira/baghira-0.8-fix_autotools.patch @@ -0,0 +1,40 @@ +--- baghira-0.8/admin/configure.in.min.ORI 2013-06-04 22:19:10.519738419 +0200 ++++ baghira-0.8/admin/configure.in.min 2013-06-04 22:19:15.564636810 +0200 +@@ -41,7 +41,7 @@ + KDE_SET_PREFIX + + dnl generate the config header +-AM_CONFIG_HEADER(config.h) dnl at the distribution this done ++AC_CONFIG_HEADER(config.h) dnl at the distribution this done + + dnl Checks for programs. + AC_PROG_CC +--- baghira-0.8/admin/cvs.sh.ORI 2013-06-04 22:18:38.566381936 +0200 ++++ baghira-0.8/admin/cvs.sh 2013-06-04 22:19:06.483819702 +0200 +@@ -68,7 +68,7 @@ + echo "*** KDE requires automake $required_automake_version" + exit 1 + ;; +- automake*1.6.* | automake*1.7* | automake*1.8* | automake*1.9* | automake*1.10* | automake*1.11* | automake*1.12*) ++ automake*1.6.* | automake*1.7* | automake*1.8* | automake*1.9* | automake*1.10* | automake*1.11* | automake*1.12* | automake*1.13*) + echo "*** $AUTOMAKE_STRING found." + UNSERMAKE=no + ;; +@@ -128,7 +128,7 @@ + echo "*** Creating configure" + call_and_fix_autoconf + +-if egrep "^AM_CONFIG_HEADER" configure.in >/dev/null 2>&1; then ++if egrep "^A[CM]_CONFIG_HEADER" configure.in >/dev/null 2>&1; then + echo "*** Creating config.h template" + $AUTOHEADER || exit 1 + touch config.h.in +@@ -184,7 +184,7 @@ + fi + fi + $ACLOCAL $ACLOCALFLAGS +-if egrep "^AM_CONFIG_HEADER" configure.in >/dev/null 2>&1; then ++if egrep "^A[CM]_CONFIG_HEADER" configure.in >/dev/null 2>&1; then + echo "*** Creating config.h template" + $AUTOHEADER || exit 1 + touch config.h.in diff --git a/redhat/extras/theme-baghira/trinity-theme-baghira-3.5.13.1.spec b/redhat/extras/theme-baghira/trinity-theme-baghira-3.5.13.1.spec new file mode 100644 index 000000000..78d77eed8 --- /dev/null +++ b/redhat/extras/theme-baghira/trinity-theme-baghira-3.5.13.1.spec @@ -0,0 +1,204 @@ +# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". +%if "%{?tde_prefix}" != "/usr" +%define _variant .opt +%endif + +# Speed build options +%define debug_package %{nil} +%define __spec_install_post %{nil} +AutoReq: no + +# TDE 3.5.13 specific building variables +%define tde_bindir %{tde_prefix}/bin +%define tde_datadir %{tde_prefix}/share +%define tde_docdir %{tde_datadir}/doc +%define tde_includedir %{tde_prefix}/include +%define tde_libdir %{tde_prefix}/%{_lib} +%define tde_mandir %{tde_datadir}/man + +%define tde_tdeappdir %{tde_datadir}/applications/kde +%define tde_tdedocdir %{tde_docdir}/tde +%define tde_tdeincludedir %{tde_includedir}/tde +%define tde_tdelibdir %{tde_libdir}/trinity + +%define _docdir %{tde_docdir} + +Name: trinity-theme-baghira +Version: 0.8 +Release: 1%{?dist}%{?_variant} +Summary: Baghira theme for Trinity +License: GPL +Group: Graphical desktop/KDE +Source0: http://prdownloads.sourceforge.net/baghira/baghira-%{version}.tar.bz2 +Source1: admin-3.5.13.1.tar.gz +Patch0: baghira-3.5.13.1-fix_ftbfs.patch +Url: http://baghira.sourceforge.net/ +BuildRequires: X11-devel +BuildRequires: jpeg-devel +BuildRequires: qt3-devel +BuildRequires: trinity-tdebase-devel +BuildRoot: %{_tmppath}/baghira-%{version}-buildroot + +%description +Baghira is a very nice native Trinity style and windec +originally based on Mosfet's Liquid style. + +This package contains non-free icons.. + +%package devel +Summary: Header files and static libraries from %name +Group: Development/C +Requires: %{name} = %{version}-%{release} + +%description devel +Libraries and includes files for +developing programs based on %name + +This package is in PLF because it contains non-free icons. + +%if 0%{?suse_version} || 0%{?pclinuxos} +%debug_package +%endif + +%prep +%setup -q -n baghira-%{version} +%setup -q -n baghira-%{version} -a 1 +%patch0 -p1 -b .ftbfs + +%__rm -rf admin +%__mv -f admin-3.5.13.1 admin + +# Ugly hack to modify TQT include directory inside autoconf files. +# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 ! +%__sed -i "admin/acinclude.m4.in" \ + -e "s|/usr/include/tqt|%{tde_includedir}/tqt|g" \ + -e "s|kde_htmldir='.*'|kde_htmldir='%{tde_tdedocdir}/HTML'|g" + +%__cp -f "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" +%__cp -f "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp -f "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh" +%__make -f "admin/Makefile.common" + +%build +unset QTDIR || : ; . /etc/profile.d/qt3.sh +export PATH="%{tde_bindir}:${PATH}" +export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}" +export KDEDIR=%{tde_prefix} + +%configure \ + --prefix=%{tde_prefix} \ + --exec-prefix=%{tde_prefix} \ + --bindir=%{tde_bindir} \ + --libdir=%{tde_libdir} \ + --includedir=%{tde_tdeincludedir} \ + --datadir=%{tde_datadir} \ + --with-qt-libraries=${QTLIB:-${QTDIR}/%{_lib}} \ + --disable-static \ + --disable-rpath \ + --disable-debug --disable-warnings \ + --disable-dependency-tracking --enable-final \ + --with-extra-includes=%{tde_includedir}/tqt + +%__make %{?_smp_mflags} + +%install +%__rm -rf $RPM_BUILD_ROOT +%__make install DESTDIR=$RPM_BUILD_ROOT + +install -d %{buildroot}/%{tde_libdir}/baghira-%{version} +install -d %{buildroot}/%{tde_tdeincludedir}/baghira-%{version} + +mv %{buildroot}/%{tde_libdir}/libbaghirastarter.la %{buildroot}/%{tde_libdir}/baghira-%{version}/libbaghirastarter.la +mv %{buildroot}/%{tde_libdir}/libbaghirastarter.so %{buildroot}/%{tde_libdir}/baghira-%{version}/libbaghirastarter.so.%{major} +mv %{buildroot}/%{tde_libdir}/usermanager_panelapplet.la %{buildroot}/%{tde_libdir}/baghira-%{version}/usermanager_panelapplet.la +mv %{buildroot}/%{tde_libdir}/usermanager_panelapplet.so %{buildroot}/%{tde_libdir}/baghira-%{version}/usermanager_panelapplet.so.%{major} +mv %{buildroot}/%{tde_tdeincludedir}/baghirasidebar.h %{buildroot}/%{tde_tdeincludedir}/baghira-%{version}/baghirasidebar.h +mv %{buildroot}/%{tde_tdeincludedir}/baghirasidebariface.h %{buildroot}/%{tde_tdeincludedir}/baghira-%{version}/baghirasidebariface.h +mv %{buildroot}/%{tde_tdeincludedir}/dndlistbox.h %{buildroot}/%{tde_tdeincludedir}/baghira-%{version}/dndlistbox.h +mv %{buildroot}/%{tde_tdeincludedir}/linkview.h %{buildroot}/%{tde_tdeincludedir}/baghira-%{version}/linkview.h +mv %{buildroot}/%{tde_tdeincludedir}/listboxlink.h %{buildroot}/%{tde_tdeincludedir}/baghira-%{version}/listboxlink.h + +ln -s libbaghirastarter.so.%{major} %{buildroot}/%{tde_libdir}/baghira-%{version}/libbaghirastarter.so +ln -s usermanager_panelapplet.so.%{major} %{buildroot}/%{tde_libdir}/baghira-%{version}/usermanager_panelapplet.so + + +%clean +rm -rf $RPM_BUILD_ROOT + + +%files +%defattr(-,root,root) +%doc README AUTHORS ChangeLog COPYING NEWS TODO +%{tde_bindir}/bab +%{tde_tdelibdir}/b_menu_panelapplet.* +%{tde_tdelibdir}/kstyle_baghira_config.* +%{tde_tdelibdir}/kwin3_baghira.* +%{tde_tdelibdir}/kwin_baghira_config.* +%{tde_tdelibdir}/plugins/styles/baghira.* +%{tde_datadir}/apps/kdisplay/color-schemes/Aqua* +#%{tde_datadir}/apps/kicker/applets/b_menuapplet.desktop +%{tde_datadir}/apps/kicker/applets/usermanager.desktop +%{tde_datadir}/apps/konqsidebartng/add/baghirasidebar_add.desktop +%{tde_datadir}/apps/konqsidebartng/entries/baghirasidebar.desktop +%{tde_datadir}/apps/kicker/applets/starter.desktop +%{tde_datadir}/apps/kstyle/themes/baghira.themerc +%{tde_datadir}/apps/kwin/baghira.desktop +%{tde_datadir}/icons/crystalsvg/*/*/baghira* +%{tde_datadir}/icons/crystalsvg/*/*/bab_* +%{tde_datadir}/apps/baghira/poof.png +%{tde_datadir}/icons/crystalsvg/22x22/actions/bStarter.png +%{tde_datadir}/icons/crystalsvg/22x22/actions/bStarter_down.png +%{tde_datadir}/icons/crystalsvg/22x22/actions/bStarter_hover.png + + +%files devel +%defattr(-,root,root) +%{tde_libdir}/baghira-%{version}/libbaghirastarter.la +%{tde_libdir}/baghira-%{version}/libbaghirastarter.so* +%{tde_tdelibdir}/konqsidebar_baghirasidebar.la +%{tde_tdelibdir}/konqsidebar_baghirasidebar.so +%{tde_libdir}/baghira-%{version}/usermanager_panelapplet.la +%{tde_libdir}/baghira-%{version}/usermanager_panelapplet.so* +%{tde_tdeincludedir}/baghira-%{version}/baghirasidebar.h +%{tde_tdeincludedir}/baghira-%{version}/baghirasidebariface.h +%{tde_tdeincludedir}/baghira-%{version}/dndlistbox.h +%{tde_tdeincludedir}/baghira-%{version}/linkview.h +%{tde_tdeincludedir}/baghira-%{version}/listboxlink.h + + +%changelog +* Tue Nov 20 2012 Francois Andriot - 0.8.1 +- Initial build for TDE 3.5.13.1 + +* Tue Jan 8 2008 Javier Rodas 0.8-2plf2008.1 +- KDE 3.5.8 version in Mandriva 2008.1 +- KDE svn admin headers now packaged in Source1 + +* Mon Sep 18 2006 Javier Rodas 0.8-2plf2007.0 +- Fix Source0 local reference +- KDE 3.5.4 admin headers are downloaded with subversion +- Fix Baghira devel package directory paths +- Fix BuildRequires + +* Fri Sep 15 2006 Javier Rodas 0.8-1plf2007.0 +- 0.8 +- Replaced KDE admin headers in the source file (for KDE 3.5.4) +- Fix BuildRequires +- Removed the patch file + +* Thu Oct 13 2005 neoclust 0.7-1plf +- 0.7 +- remove redundant buildrequires + +* Mon Mar 04 2005 Nicolas L�ureuil 0.6-3plf +- Add PLF reason +- bzipped patch +- Make rpmlint happier + +* Mon Mar 04 2005 Nicolas L�ureuil 0.6-2plf +- New version +- Fix compile ( Patch0 from Gentoo) +- Spec Cleanup +- rpmbuildupdatable + +* Mon Dec 06 2004 Laurent Culioli 0.6-1plf +- Initial Release. diff --git a/redhat/extras/theme-baghira/trinity-theme-baghira-3.5.13.2.spec b/redhat/extras/theme-baghira/trinity-theme-baghira-3.5.13.2.spec new file mode 100644 index 000000000..4ed4a9307 --- /dev/null +++ b/redhat/extras/theme-baghira/trinity-theme-baghira-3.5.13.2.spec @@ -0,0 +1,211 @@ +# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". +%if "%{?tde_prefix}" != "/usr" +%define _variant .opt +%endif + +# Speed build options +%define debug_package %{nil} +%define __spec_install_post %{nil} +AutoReq: no + +# TDE 3.5.13 specific building variables +%define tde_bindir %{tde_prefix}/bin +%define tde_datadir %{tde_prefix}/share +%define tde_docdir %{tde_datadir}/doc +%define tde_includedir %{tde_prefix}/include +%define tde_libdir %{tde_prefix}/%{_lib} +%define tde_mandir %{tde_datadir}/man + +%define tde_tdeappdir %{tde_datadir}/applications/kde +%define tde_tdedocdir %{tde_docdir}/tde +%define tde_tdeincludedir %{tde_includedir}/tde +%define tde_tdelibdir %{tde_libdir}/trinity + +%define _docdir %{tde_docdir} + +Name: trinity-theme-baghira +Version: 0.8 +Release: 2%{?dist}%{?_variant} +Summary: Baghira theme for Trinity +License: GPL +Group: Graphical desktop/KDE +Source0: http://prdownloads.sourceforge.net/baghira/baghira-0.8.tar.bz2 +Source1: admin-3.5.13.2.tar.gz +Patch0: baghira-3.5.13.1-fix_ftbfs.patch +Patch1: baghira-0.8-fix_autotools.patch +Url: http://baghira.sourceforge.net/ +BuildRoot: %{_tmppath}/baghira-%{version}-buildroot + +BuildRequires: qt3-devel +BuildRequires: trinity-tdebase-devel >= 3.5.13.2 + +%if 0%{?fedora} || 0%{?rhel} || 0%{?suse_version} +BuildRequires: libjpeg-devel +%else +BuildRequires: X11-devel +BuildRequires: jpeg-devel +%endif + +%description +Baghira is a very nice native Trinity style and windec +originally based on Mosfet's Liquid style. + +This package contains non-free icons.. + +%package devel +Summary: Header files and static libraries from %name +Group: Development/C +Requires: %{name} = %{version}-%{release} + +%description devel +Libraries and includes files for +developing programs based on %name + +This package is in PLF because it contains non-free icons. + +%if 0%{?suse_version} || 0%{?pclinuxos} +%debug_package +%endif + +%prep +%setup -q -n baghira-%{version} -a 1 +%patch0 -p1 -b .ftbfs +%patch1 -p1 -b .autotools + +# Ugly hack to modify TQT include directory inside autoconf files. +# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 ! +%__sed -i "admin/acinclude.m4.in" \ + -e "s|/usr/include/tqt|%{tde_includedir}/tqt|g" \ + -e "s|kde_htmldir='.*'|kde_htmldir='%{tde_tdedocdir}/HTML'|g" + +%__cp -f "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" +%__cp -f "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp -f "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh" +%__make -f "admin/Makefile.common" + +%build +unset QTDIR || : ; . /etc/profile.d/qt3.sh +export PATH="%{tde_bindir}:${PATH}" +export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}" +export KDEDIR=%{tde_prefix} + +%configure \ + --prefix=%{tde_prefix} \ + --exec-prefix=%{tde_prefix} \ + --bindir=%{tde_bindir} \ + --libdir=%{tde_libdir} \ + --includedir=%{tde_tdeincludedir} \ + --datadir=%{tde_datadir} \ + --with-qt-libraries=${QTLIB:-${QTDIR}/%{_lib}} \ + --disable-static \ + --disable-rpath \ + --disable-debug --disable-warnings \ + --disable-dependency-tracking --enable-final \ + --with-extra-includes=%{tde_includedir}/tqt + +%__make %{?_smp_mflags} + +%install +%__rm -rf $RPM_BUILD_ROOT +%__make install DESTDIR=$RPM_BUILD_ROOT + +install -d %{buildroot}/%{tde_libdir}/baghira-%{version} +install -d %{buildroot}/%{tde_tdeincludedir}/baghira-%{version} + +mv %{buildroot}/%{tde_libdir}/libbaghirastarter.la %{buildroot}/%{tde_libdir}/baghira-%{version}/libbaghirastarter.la +mv %{buildroot}/%{tde_libdir}/libbaghirastarter.so %{buildroot}/%{tde_libdir}/baghira-%{version}/libbaghirastarter.so.%{major} +mv %{buildroot}/%{tde_libdir}/usermanager_panelapplet.la %{buildroot}/%{tde_libdir}/baghira-%{version}/usermanager_panelapplet.la +mv %{buildroot}/%{tde_libdir}/usermanager_panelapplet.so %{buildroot}/%{tde_libdir}/baghira-%{version}/usermanager_panelapplet.so.%{major} +mv %{buildroot}/%{tde_tdeincludedir}/baghirasidebar.h %{buildroot}/%{tde_tdeincludedir}/baghira-%{version}/baghirasidebar.h +mv %{buildroot}/%{tde_tdeincludedir}/baghirasidebariface.h %{buildroot}/%{tde_tdeincludedir}/baghira-%{version}/baghirasidebariface.h +mv %{buildroot}/%{tde_tdeincludedir}/dndlistbox.h %{buildroot}/%{tde_tdeincludedir}/baghira-%{version}/dndlistbox.h +mv %{buildroot}/%{tde_tdeincludedir}/linkview.h %{buildroot}/%{tde_tdeincludedir}/baghira-%{version}/linkview.h +mv %{buildroot}/%{tde_tdeincludedir}/listboxlink.h %{buildroot}/%{tde_tdeincludedir}/baghira-%{version}/listboxlink.h + +ln -s libbaghirastarter.so.%{major} %{buildroot}/%{tde_libdir}/baghira-%{version}/libbaghirastarter.so +ln -s usermanager_panelapplet.so.%{major} %{buildroot}/%{tde_libdir}/baghira-%{version}/usermanager_panelapplet.so + + +%clean +rm -rf $RPM_BUILD_ROOT + + +%files +%defattr(-,root,root) +%doc README AUTHORS ChangeLog COPYING NEWS TODO +%{tde_bindir}/bab +%{tde_tdelibdir}/b_menu_panelapplet.* +%{tde_tdelibdir}/kstyle_baghira_config.* +%{tde_tdelibdir}/kwin3_baghira.* +%{tde_tdelibdir}/kwin_baghira_config.* +%{tde_tdelibdir}/plugins/styles/baghira.* +%{tde_datadir}/apps/kdisplay/color-schemes/Aqua* +#%{tde_datadir}/apps/kicker/applets/b_menuapplet.desktop +%{tde_datadir}/apps/kicker/applets/usermanager.desktop +%{tde_datadir}/apps/konqsidebartng/add/baghirasidebar_add.desktop +%{tde_datadir}/apps/konqsidebartng/entries/baghirasidebar.desktop +%{tde_datadir}/apps/kicker/applets/starter.desktop +%{tde_datadir}/apps/kstyle/themes/baghira.themerc +%{tde_datadir}/apps/kwin/baghira.desktop +%{tde_datadir}/icons/crystalsvg/*/*/baghira* +%{tde_datadir}/icons/crystalsvg/*/*/bab_* +%{tde_datadir}/apps/baghira/poof.png +%{tde_datadir}/icons/crystalsvg/22x22/actions/bStarter.png +%{tde_datadir}/icons/crystalsvg/22x22/actions/bStarter_down.png +%{tde_datadir}/icons/crystalsvg/22x22/actions/bStarter_hover.png + + +%files devel +%defattr(-,root,root) +%{tde_libdir}/baghira-%{version}/libbaghirastarter.la +%{tde_libdir}/baghira-%{version}/libbaghirastarter.so* +%{tde_tdelibdir}/konqsidebar_baghirasidebar.la +%{tde_tdelibdir}/konqsidebar_baghirasidebar.so +%{tde_libdir}/baghira-%{version}/usermanager_panelapplet.la +%{tde_libdir}/baghira-%{version}/usermanager_panelapplet.so* +%{tde_tdeincludedir}/baghira-%{version}/baghirasidebar.h +%{tde_tdeincludedir}/baghira-%{version}/baghirasidebariface.h +%{tde_tdeincludedir}/baghira-%{version}/dndlistbox.h +%{tde_tdeincludedir}/baghira-%{version}/linkview.h +%{tde_tdeincludedir}/baghira-%{version}/listboxlink.h + + +%changelog +* Sat Jan 19 2013 Francois Andriot - 0.8-2 +- Initial release for TDE 3.5.13.2 + +* Tue Nov 20 2012 Francois Andriot - 0.8.1 +- Initial build for TDE 3.5.13.1 + +* Tue Jan 8 2008 Javier Rodas 0.8-2plf2008.1 +- KDE 3.5.8 version in Mandriva 2008.1 +- KDE svn admin headers now packaged in Source1 + +* Mon Sep 18 2006 Javier Rodas 0.8-2plf2007.0 +- Fix Source0 local reference +- KDE 3.5.4 admin headers are downloaded with subversion +- Fix Baghira devel package directory paths +- Fix BuildRequires + +* Fri Sep 15 2006 Javier Rodas 0.8-1plf2007.0 +- 0.8 +- Replaced KDE admin headers in the source file (for KDE 3.5.4) +- Fix BuildRequires +- Removed the patch file + +* Thu Oct 13 2005 neoclust 0.7-1plf +- 0.7 +- remove redundant buildrequires + +* Mon Mar 04 2005 Nicolas L�ureuil 0.6-3plf +- Add PLF reason +- bzipped patch +- Make rpmlint happier + +* Mon Mar 04 2005 Nicolas L�ureuil 0.6-2plf +- New version +- Fix compile ( Patch0 from Gentoo) +- Spec Cleanup +- rpmbuildupdatable + +* Mon Dec 06 2004 Laurent Culioli 0.6-1plf +- Initial Release. diff --git a/redhat/extras/trinity-desktop/RPM-GPG-KEY-trinity b/redhat/extras/trinity-desktop/RPM-GPG-KEY-trinity new file mode 100644 index 000000000..8e3644e80 --- /dev/null +++ b/redhat/extras/trinity-desktop/RPM-GPG-KEY-trinity @@ -0,0 +1,19 @@ +-----BEGIN PGP PUBLIC KEY BLOCK----- +Version: GnuPG v1.4.13 (GNU/Linux) + +mQENBFG0418BCACidVsw8CeCUGR10YItB7PGBSn2fToHYj8wmmVWR3Z6bRdesQUY +Z7lqO8/FhZesgd8ZgFyzIeFu60uVIbq+FN8hES0A5VUKWM9tOjqfLAk6/6ytSshK +5viFApiCGHXeJ4g4dFRXZ4GAaIs517OpmdzNNHKhNSPK2FMNolJUC6JwAcGdhFIX +L73xz1OhSGXRIlfzv3fK4VBOcgIb/B4yd1Iv+uYVbwlUOl2UV4Zlxluwz7Ws/gG6 +YDoJvgUy793ElY16ACCk26W/bo1FUgTNAXF5i+beTMr8WaO5YHp7AWr7nnZna/+j +gtj6Tqi8emyviRBGQsBPMrjl8uBnWyB36WF7ABEBAAG0SFRyaW5pdHkgRGVza3Rv +cCBFbnZpcm9ubWVudCAoUlBNIFNpZ25pbmcgS2V5KSA8ZnJhbmNvaXMuYW5kcmlv +dEBmcmVlLmZyPokBNgQTAQIAIAUCUbTjXwIbAwYLCQgHAwIEFQIIAwQWAgMBAh4B +AheAAAoJEB26qesqsTHG32kH/3isqArnBY96lRxLHGjsLd3yHLIa5/lIyig0s2Gf +ejUICO0VQERUWeQvIajeqQzfkYab9/h+jC5HH7KRj0tKeMdPKcveCrNlyom4oJM2 +a0r4YEIph6NcifgYwntmRLMXKt7AIXvPM2EzpzaSDCH+mlks051GnBnDUGpLlRzh +PQCQHf75AEbXMpAtBjUyQKQRDYBD0CYANYmWVFygiJ5Pf460vtpisObd61XWPMFO +Obciv5qGDDB1ibYqbap6bosal+dq0G1DJTQ4SEtpwNpTqciyYKZKBsx2PPdBaq1p +KlDb8EZvynzRELDzQ7ge1RdlCMBMAJjQz15asI4qsVv2sVs= +=Lp6m +-----END PGP PUBLIC KEY BLOCK----- diff --git a/redhat/extras/trinity-desktop/pclinuxos201304-32.jpg b/redhat/extras/trinity-desktop/pclinuxos201304-32.jpg new file mode 100644 index 000000000..9ba3530bd Binary files /dev/null and b/redhat/extras/trinity-desktop/pclinuxos201304-32.jpg differ diff --git a/redhat/extras/trinity-desktop/pclinuxos201304-64.jpg b/redhat/extras/trinity-desktop/pclinuxos201304-64.jpg new file mode 100644 index 000000000..894143414 Binary files /dev/null and b/redhat/extras/trinity-desktop/pclinuxos201304-64.jpg differ diff --git a/redhat/extras/trinity-live/trinity-live.tar.gz b/redhat/extras/trinity-live/trinity-live.tar.gz new file mode 100644 index 000000000..e69de29bb diff --git a/redhat/tdebase/file_contexts.el6 b/redhat/tdebase/file_contexts.el6 new file mode 100644 index 000000000..71b45c38f --- /dev/null +++ b/redhat/tdebase/file_contexts.el6 @@ -0,0 +1,8 @@ +/etc/trinity/kdm/Xreset -- system_u:object_r:xsession_exec_t:s0 +/etc/trinity/kdm/Xsession -- system_u:object_r:xsession_exec_t:s0 +/etc/trinity/kdm/Xstartup -- system_u:object_r:xsession_exec_t:s0 +/etc/trinity/kdm/backgroundrc system_u:object_r:xdm_var_run_t:s0 +/opt/trinity/bin/kdesu -- system_u:object_r:su_exec_t:s0 +/opt/trinity/bin/kdm -- system_u:object_r:xdm_exec_t:s0 +/root/\.trinity(/.*)? system_u:object_r:config_home_t:s0 +/home/[^/]*/\.trinity(/.*)? unconfined_u:object_r:config_home_t:s0 diff --git a/redhat/tdebase/file_contexts.fc17 b/redhat/tdebase/file_contexts.fc17 new file mode 100644 index 000000000..71b45c38f --- /dev/null +++ b/redhat/tdebase/file_contexts.fc17 @@ -0,0 +1,8 @@ +/etc/trinity/kdm/Xreset -- system_u:object_r:xsession_exec_t:s0 +/etc/trinity/kdm/Xsession -- system_u:object_r:xsession_exec_t:s0 +/etc/trinity/kdm/Xstartup -- system_u:object_r:xsession_exec_t:s0 +/etc/trinity/kdm/backgroundrc system_u:object_r:xdm_var_run_t:s0 +/opt/trinity/bin/kdesu -- system_u:object_r:su_exec_t:s0 +/opt/trinity/bin/kdm -- system_u:object_r:xdm_exec_t:s0 +/root/\.trinity(/.*)? system_u:object_r:config_home_t:s0 +/home/[^/]*/\.trinity(/.*)? unconfined_u:object_r:config_home_t:s0 diff --git a/redhat/tdebase/pamd.kcheckpass-trinity.fc18 b/redhat/tdebase/pamd.kcheckpass-trinity.fc18 new file mode 100644 index 000000000..0a37e6e13 --- /dev/null +++ b/redhat/tdebase/pamd.kcheckpass-trinity.fc18 @@ -0,0 +1,5 @@ +#%PAM-1.0 +auth include system-auth +account include system-auth +password include system-auth +session include system-auth diff --git a/redhat/tdebase/pamd.kcheckpass-trinity.mga3 b/redhat/tdebase/pamd.kcheckpass-trinity.mga3 new file mode 100644 index 000000000..0a37e6e13 --- /dev/null +++ b/redhat/tdebase/pamd.kcheckpass-trinity.mga3 @@ -0,0 +1,5 @@ +#%PAM-1.0 +auth include system-auth +account include system-auth +password include system-auth +session include system-auth diff --git a/redhat/tdebase/pamd.kcheckpass-trinity.pclos2013 b/redhat/tdebase/pamd.kcheckpass-trinity.pclos2013 new file mode 100644 index 000000000..0a37e6e13 --- /dev/null +++ b/redhat/tdebase/pamd.kcheckpass-trinity.pclos2013 @@ -0,0 +1,5 @@ +#%PAM-1.0 +auth include system-auth +account include system-auth +password include system-auth +session include system-auth diff --git a/redhat/tdebase/pamd.kdm-trinity-np.fc18 b/redhat/tdebase/pamd.kdm-trinity-np.fc18 new file mode 100644 index 000000000..0616e66f6 --- /dev/null +++ b/redhat/tdebase/pamd.kdm-trinity-np.fc18 @@ -0,0 +1,16 @@ + #%PAM-1.0 +auth required pam_env.so +auth required pam_permit.so +auth include postlogin +account required pam_nologin.so +account include system-auth +password include system-auth +session required pam_selinux.so close +session required pam_loginuid.so +session optional pam_console.so +-session optional pam_ck_connector.so +session required pam_selinux.so open +session optional pam_keyinit.so force revoke +session required pam_namespace.so +session include system-auth +session include postlogin diff --git a/redhat/tdebase/pamd.kdm-trinity-np.mga3 b/redhat/tdebase/pamd.kdm-trinity-np.mga3 new file mode 100644 index 000000000..f884c1de6 --- /dev/null +++ b/redhat/tdebase/pamd.kdm-trinity-np.mga3 @@ -0,0 +1,11 @@ +#%PAM-1.0 +auth required pam_env.so +auth required pam_permit.so +account required pam_nologin.so +account include system-auth +password include system-auth +session required pam_loginuid.so +session optional pam_console.so +session optional pam_keyinit.so force revoke +session required pam_namespace.so +session include system-auth diff --git a/redhat/tdebase/pamd.kdm-trinity-np.pclos2013 b/redhat/tdebase/pamd.kdm-trinity-np.pclos2013 new file mode 100644 index 000000000..690b4df08 --- /dev/null +++ b/redhat/tdebase/pamd.kdm-trinity-np.pclos2013 @@ -0,0 +1,7 @@ +#%PAM-1.0 +auth required pam_env.so +auth required pam_permit.so +account include system-auth +password include system-auth +session include system-auth +session optional pam_console.so diff --git a/redhat/tdebase/pamd.kdm-trinity.fc18 b/redhat/tdebase/pamd.kdm-trinity.fc18 new file mode 100644 index 000000000..686433fce --- /dev/null +++ b/redhat/tdebase/pamd.kdm-trinity.fc18 @@ -0,0 +1,19 @@ +#%PAM-1.0 +auth [success=done ignore=ignore default=bad] pam_selinux_permit.so +auth required pam_env.so +auth substack system-auth +-auth optional pam_gnome_keyring.so +auth include postlogin +account required pam_nologin.so +account include system-auth +password include system-auth +session required pam_selinux.so close +session required pam_loginuid.so +session optional pam_console.so +-session optional pam_ck_connector.so +session required pam_selinux.so open +session optional pam_keyinit.so force revoke +session required pam_namespace.so +session include system-auth +-session optional pam_gnome_keyring.so auto_start +session include postlogin diff --git a/redhat/tdebase/pamd.kdm-trinity.mga3 b/redhat/tdebase/pamd.kdm-trinity.mga3 new file mode 100644 index 000000000..3a1115b0c --- /dev/null +++ b/redhat/tdebase/pamd.kdm-trinity.mga3 @@ -0,0 +1,13 @@ +#%PAM-1.0 +auth required pam_env.so +auth required pam_succeed_if.so +auth sufficient pam_succeed_if.so user ingroup nopasswdlogin +auth substack system-auth +account required pam_nologin.so +account include system-auth +password include system-auth +session required pam_loginuid.so +session optional pam_console.so +session optional pam_keyinit.so force revoke +session required pam_namespace.so +session include system-auth diff --git a/redhat/tdebase/pamd.kdm-trinity.pclos2013 b/redhat/tdebase/pamd.kdm-trinity.pclos2013 new file mode 100644 index 000000000..87d080f58 --- /dev/null +++ b/redhat/tdebase/pamd.kdm-trinity.pclos2013 @@ -0,0 +1,8 @@ +#%PAM-1.0 +auth include system-auth +auth required pam_nologin.so +account include system-auth +password include system-auth +session include system-auth +session optional pam_console.so +session required pam_namespace.so diff --git a/redhat/tdebase/pamd.kscreensaver-trinity.fc18 b/redhat/tdebase/pamd.kscreensaver-trinity.fc18 new file mode 100644 index 000000000..0a37e6e13 --- /dev/null +++ b/redhat/tdebase/pamd.kscreensaver-trinity.fc18 @@ -0,0 +1,5 @@ +#%PAM-1.0 +auth include system-auth +account include system-auth +password include system-auth +session include system-auth diff --git a/redhat/tdebase/pamd.kscreensaver-trinity.mga3 b/redhat/tdebase/pamd.kscreensaver-trinity.mga3 new file mode 100644 index 000000000..0a37e6e13 --- /dev/null +++ b/redhat/tdebase/pamd.kscreensaver-trinity.mga3 @@ -0,0 +1,5 @@ +#%PAM-1.0 +auth include system-auth +account include system-auth +password include system-auth +session include system-auth diff --git a/redhat/tdebase/pamd.kscreensaver-trinity.pclos2013 b/redhat/tdebase/pamd.kscreensaver-trinity.pclos2013 new file mode 100644 index 000000000..0a37e6e13 --- /dev/null +++ b/redhat/tdebase/pamd.kscreensaver-trinity.pclos2013 @@ -0,0 +1,5 @@ +#%PAM-1.0 +auth include system-auth +account include system-auth +password include system-auth +session include system-auth diff --git a/redhat/tdebase/tdm.el6.pp b/redhat/tdebase/tdm.el6.pp new file mode 100644 index 000000000..1ecd9bcb9 Binary files /dev/null and b/redhat/tdebase/tdm.el6.pp differ diff --git a/redhat/tdebase/tdm.el6.te b/redhat/tdebase/tdm.el6.te new file mode 100644 index 000000000..befe10218 --- /dev/null +++ b/redhat/tdebase/tdm.el6.te @@ -0,0 +1,11 @@ + +module tdm.el6 1.0; + +require { + type fprintd_t; + type initrc_t; + class dbus send_msg; +} + +#============= fprintd_t ============== +allow fprintd_t initrc_t:dbus send_msg; diff --git a/redhat/tdebase/tdm.fc17.pp b/redhat/tdebase/tdm.fc17.pp new file mode 100644 index 000000000..dec162d22 Binary files /dev/null and b/redhat/tdebase/tdm.fc17.pp differ diff --git a/redhat/tdebase/tdm.fc17.te b/redhat/tdebase/tdm.fc17.te new file mode 100644 index 000000000..1b19a7116 --- /dev/null +++ b/redhat/tdebase/tdm.fc17.te @@ -0,0 +1,13 @@ + +module tdm.fc17 1.0; + +require { + type fprintd_t; + type initrc_t; + class dbus send_msg; +} + +#============= fprintd_t ============== +#!!!! This avc is allowed in the current policy + +allow fprintd_t initrc_t:dbus send_msg; diff --git a/redhat/tdebase/tdm.service.fc18 b/redhat/tdebase/tdm.service.fc18 new file mode 100644 index 000000000..71f2ce038 --- /dev/null +++ b/redhat/tdebase/tdm.service.fc18 @@ -0,0 +1,13 @@ +[Unit] +Description=The Trinity login manager +Conflicts=getty@tty1.service +After=systemd-user-sessions.service getty@tty1.service plymouth-quit.service livesys-late.service +Conflicts=plymouth-quit.service + +[Service] +ExecStart=/opt/trinity/bin/kdm +Restart=always +IgnoreSIGPIPE=no + +[Install] +Alias=display-manager.service diff --git a/redhat/tdebindings/filter-requires.sh b/redhat/tdebindings/filter-requires.sh new file mode 100644 index 000000000..da6c04566 --- /dev/null +++ b/redhat/tdebindings/filter-requires.sh @@ -0,0 +1,9 @@ +#!/bin/sh + +if [ -x /usr/lib/rpm/redhat/find-requires ] ; then +FINDREQ=/usr/lib/rpm/redhat/find-requires +else +FINDREQ=/usr/lib/rpm/find-requires +fi + +$FINDREQ $* | sed -e '/libcairo.so.2/d' -e '/libpangocairo-1.0.so.0/d'