diff options
37 files changed, 1080 insertions, 123 deletions
diff --git a/opensuse/core/qt3/qt3-3.5.13.2.spec b/opensuse/core/qt3/qt3-3.5.13.2.spec index 4c78ad2f2..a50af8db8 100644 --- a/opensuse/core/qt3/qt3-3.5.13.2.spec +++ b/opensuse/core/qt3/qt3-3.5.13.2.spec @@ -79,9 +79,13 @@ BuildRequires: glu-devel %endif # PNG support -%if %suse_version > 1220 +%if %suse_version >= 1310 +BuildRequires: libpng16-compat-devel +%endif +%if %suse_version >= 1210 && %suse_version < 1300 BuildRequires: libpng15-compat-devel -%else +%endif +%if %suse_version >= 1110 && %suse_version < 1200 BuildRequires: libpng14-compat-devel %endif diff --git a/redhat/applications/k3b/k3b-3.5.13.2.spec b/redhat/applications/k3b/k3b-3.5.13.2.spec index b176dc85b..3e3b1578c 100644 --- a/redhat/applications/k3b/k3b-3.5.13.2.spec +++ b/redhat/applications/k3b/k3b-3.5.13.2.spec @@ -71,7 +71,13 @@ Requires(postun): coreutils Requires: %{name}-libs = %{?epoch:%{epoch}:}%{version}-%{release} Requires: %{name}-common = %{?epoch:%{epoch}:}%{version}-%{release} -Requires: cdrecord mkisofs +%if 0%{?suse_version} >= 1310 +Requires: wodim +REquires: genisoimage +%else +Requires: cdrecord +REquires: mkisofs +%endif Requires: dvd+rw-tools # CDRDAO support diff --git a/redhat/applications/k9copy/k9copy-3.5.13.2-avcodec.patch b/redhat/applications/k9copy/k9copy-3.5.13.2-avcodec.patch index 9fe3142a1..f6a362d40 100644 --- a/redhat/applications/k9copy/k9copy-3.5.13.2-avcodec.patch +++ b/redhat/applications/k9copy/k9copy-3.5.13.2-avcodec.patch @@ -4,7 +4,7 @@ #else typedef int (*av_find_stream_info_t)(AVFormatContext *); #endif -+#if LIBAVCODEC_VERSION_INT >= AV_VERSION_INT(53, 26, 0) ++#if LIBAVCODEC_VERSION_INT >= AV_VERSION_INT(54, 26, 0) +typedef AVCodec* (*avcodec_find_decoder_t)(enum AVCodecID); +#else typedef AVCodec* (*avcodec_find_decoder_t)(enum CodecID); diff --git a/redhat/applications/katapult/katapult-3.5.13.2.spec b/redhat/applications/katapult/katapult-3.5.13.2.spec index b34f34144..20afee2a5 100644 --- a/redhat/applications/katapult/katapult-3.5.13.2.spec +++ b/redhat/applications/katapult/katapult-3.5.13.2.spec @@ -195,7 +195,7 @@ update-desktop-database %{tde_appdir} &> /dev/null * Sun Oct 30 2011 Francois Andriot <[email protected]> - 0.3.2.1-2 - Rebuilt for TDE 3.5.13 on RHEL 6, RHEL 5 and Fedora 15 -* Tue Sep 14 2011 Francois Andriot <[email protected]> - 0.3.2.1-1 +* Wed Sep 14 2011 Francois Andriot <[email protected]> - 0.3.2.1-1 - Initial release for RHEL 6.0 - Import to GIT diff --git a/redhat/applications/kmymoney/admin-fix-parallel-test.diff b/redhat/applications/kmymoney/admin-fix-parallel-test.diff new file mode 100644 index 000000000..9f6f46ba8 --- /dev/null +++ b/redhat/applications/kmymoney/admin-fix-parallel-test.diff @@ -0,0 +1,11 @@ +--- trinity-tdebindings-14.0.0~pre214+2cf2b76c/admin/cvs.sh.automake113 2013-06-26 22:35:42.000000000 +0200 ++++ trinity-tdebindings-14.0.0~pre214+2cf2b76c/admin/cvs.sh 2013-08-29 22:27:18.546349736 +0200 +@@ -123,7 +123,7 @@ + fi + + echo "*** Creating Makefile templates" +-$AUTOMAKE || exit 1 ++$AUTOMAKE --add-missing || exit 1 + + if test "$UNSERMAKE" = no; then + echo "*** Postprocessing Makefile templates" diff --git a/redhat/applications/kmymoney/kmymoney-3.5.13.2.spec b/redhat/applications/kmymoney/kmymoney-3.5.13.2.spec index 972e753e9..a7ccc0a4d 100644 --- a/redhat/applications/kmymoney/kmymoney-3.5.13.2.spec +++ b/redhat/applications/kmymoney/kmymoney-3.5.13.2.spec @@ -59,6 +59,9 @@ Source1: kmymoneytitlelabel.png # [kmymoney] Fix FTBFS Patch1: kmymoney-3.5.13.2-ftbfs.patch +# [admin] Fix automake 1.13 build issue +Patch2: admin-fix-parallel-test.diff + # [kmymoney] Missing LDFLAGS causing FTBFS Patch4: kmymoney-3.5.13-missing_ldflags.patch @@ -126,14 +129,11 @@ This package contains development files needed for KMyMoney plugins. %prep %setup -q -n %{name}-%{tde_version}%{?preversion:~%{preversion}} %patch1 -p1 -b .ftbfs +%patch2 -p1 -b .automake113 %if 0%{?mgaversion} || 0%{?mdkversion} %patch5 -p1 -b .qtpluginsdir %endif -%if 0%{?mgaversion} >= 3 || 0%{?pclinuxos} >= 2013 || 0%{?fedora} >= 19 -%__cp /usr/share/automake-1.13/test-driver admin/ -%endif - %__install -m644 %{SOURCE1} kmymoney2/widgets/ %__cp "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" diff --git a/redhat/applications/koffice/admin-fix-parallel-test.diff b/redhat/applications/koffice/admin-fix-parallel-test.diff new file mode 100644 index 000000000..9f6f46ba8 --- /dev/null +++ b/redhat/applications/koffice/admin-fix-parallel-test.diff @@ -0,0 +1,11 @@ +--- trinity-tdebindings-14.0.0~pre214+2cf2b76c/admin/cvs.sh.automake113 2013-06-26 22:35:42.000000000 +0200 ++++ trinity-tdebindings-14.0.0~pre214+2cf2b76c/admin/cvs.sh 2013-08-29 22:27:18.546349736 +0200 +@@ -123,7 +123,7 @@ + fi + + echo "*** Creating Makefile templates" +-$AUTOMAKE || exit 1 ++$AUTOMAKE --add-missing || exit 1 + + if test "$UNSERMAKE" = no; then + echo "*** Postprocessing Makefile templates" diff --git a/redhat/applications/koffice/koffice-3.5.13.2-fix_ruby2_detection.patch b/redhat/applications/koffice/koffice-3.5.13.2-fix_ruby2_detection.patch new file mode 100644 index 000000000..f375078cf --- /dev/null +++ b/redhat/applications/koffice/koffice-3.5.13.2-fix_ruby2_detection.patch @@ -0,0 +1,15 @@ +--- trinity-koffice-3.5.13.2/lib/kross/configure.in.in.ori 2013-08-24 20:57:39.878623151 +0200 ++++ trinity-koffice-3.5.13.2/lib/kross/configure.in.in 2013-08-24 20:58:50.132123615 +0200 +@@ -42,6 +42,12 @@ + fi + fi + if test -z "$RUBY_VERSION"; then ++ RUBY_VERSION=`$PKGCONFIG ruby-2.0 --modversion 2>/dev/null` ++ if test -n "$RUBY_VERSION"; then ++ RUBY_CFLAGS=`$PKGCONFIG ruby-2.0 --cflags` ++ fi ++ fi ++ if test -z "$RUBY_VERSION"; then + # pkgconfig file does not exist but might be 1.9.1: RUBY_VERSION defined in ruby/version.h + if test -n "$RUBY -r rbconfig -e 'printf("%s",RbConfig::CONFIG@<:@"rubyhdrdir"@:>@)'"; then + # rubyhdrdir parameter works only in >=1.9.1; this is 1.9.1 diff --git a/redhat/applications/koffice/koffice-3.5.13.2.spec b/redhat/applications/koffice/koffice-3.5.13.2.spec index 5e23a4fe8..34dfb6606 100644 --- a/redhat/applications/koffice/koffice-3.5.13.2.spec +++ b/redhat/applications/koffice/koffice-3.5.13.2.spec @@ -27,7 +27,7 @@ %define _docdir %{tde_docdir} # Disable Kross support for RHEL <= 5 (python is too old) -%if 0%{?fedora} > 0 || 0%{?rhel} >= 6 || 0%{?mgaversion} || 0%{?mdkversion} || 0%{?suse_version} +%if 0%{?fedora} || 0%{?rhel} >= 6 || 0%{?mgaversion} || 0%{?mdkversion} || 0%{?suse_version} %define with_kross 1 %endif @@ -56,6 +56,8 @@ BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) Source0: %{name}-%{tde_version}%{?preversion:~%{preversion}}.tar.gz Patch1: koffice-3.5.13.2-fix_kformula_ftbfs.patch +Patch2: koffice-3.5.13.2-fix_ruby2_detection.patch +Patch3: admin-fix-parallel-test.diff # BuildRequires: world-devel ;) BuildRequires: trinity-tqtinterface-devel >= %{tde_version} @@ -1061,10 +1063,8 @@ This package is part of the TDE Office Suite. %prep %setup -q -n %{name}-%{tde_version}%{?preversion:~%{preversion}} %patch1 -p1 -b .ftbfs - -%if 0%{?mgaversion} >= 3 || 0%{?pclinuxos} >= 2013 || 0%{?fedora} >= 19 -%__cp /usr/share/automake-1.13/test-driver admin/ -%endif +%patch2 -p1 -b .ruby2 +%patch3 -p1 -b .automake113 # use LGC variant instead %__sed -i.dejavu-lgc \ @@ -1078,7 +1078,7 @@ This package is part of the TDE Office Suite. %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}" export KDEDIR="%{tde_prefix}" diff --git a/redhat/applications/kopete-otr/kopete-otr-3.5.13.2.spec b/redhat/applications/kopete-otr/kopete-otr-3.5.13.2.spec index 74b353a6e..f90d74100 100644 --- a/redhat/applications/kopete-otr/kopete-otr-3.5.13.2.spec +++ b/redhat/applications/kopete-otr/kopete-otr-3.5.13.2.spec @@ -1,3 +1,5 @@ +# openSUSE 12.3: do NOT install libotr-devel, use libotr2-devel instead ! + # Default version for this component %define tde_pkg kopete-otr %define tde_version 3.5.13.2 @@ -82,8 +84,9 @@ users with IM-Cients supporting the OTR encryption method. %build -unset QTDIR; . /etc/profile.d/qt3.sh +unset QTDIR QTINC QTLIB; . /etc/profile.d/qt3.sh export PATH="%{tde_bindir}:${PATH}" +export %configure \ --prefix=%{tde_prefix} \ @@ -99,7 +102,9 @@ export PATH="%{tde_bindir}:${PATH}" --enable-new-ldflags \ --enable-final \ --enable-closure \ - --enable-rpath + --enable-rpath \ + \ + --with-extra-includes=/usr/include/tqt %__make %{_smp_mflags} diff --git a/redhat/applications/ktorrent/ktorrent-3.5.13.2.spec b/redhat/applications/ktorrent/ktorrent-3.5.13.2.spec index b4c76217d..5324722a6 100644 --- a/redhat/applications/ktorrent/ktorrent-3.5.13.2.spec +++ b/redhat/applications/ktorrent/ktorrent-3.5.13.2.spec @@ -52,7 +52,7 @@ BuildRequires: gettext # AVAHI support # Disabled on RHEL4 and RHEL5 -%if 0%{?fedora} >= 15 || 0%{?mgaversion} || 0%{?mdkversion} || 0%{?rhel} >= 6 || 0%{?suse_version} +%if 0%{?fedora} >= 15 || 0%{?mgaversion} || 0%{?mdkversion} || 0%{?rhel} >= 5 || 0%{?suse_version} %define with_avahi 1 BuildRequires: trinity-avahi-tqt-devel Requires: trinity-avahi-tqt diff --git a/redhat/applications/kuickshow/kuickshow-3.5.13.2.spec b/redhat/applications/kuickshow/kuickshow-3.5.13.2.spec index 9e08d202f..b34d3ca68 100644 --- a/redhat/applications/kuickshow/kuickshow-3.5.13.2.spec +++ b/redhat/applications/kuickshow/kuickshow-3.5.13.2.spec @@ -151,7 +151,7 @@ gtk-update-icon-cache --quiet %{tde_datadir}/icons/hicolor || : - Rename obsolete tq methods to standard names [Commit #bdeb8b3a] - Remove inadvertent renaming [Commit #d97e403f] [Bug #863] -* Tue Sep 14 2011 Francois Andriot <[email protected]> - 0.8.13-2 +* Wed Sep 14 2011 Francois Andriot <[email protected]> - 0.8.13-2 - Import to GIT * Mon Aug 22 2011 Francois Andriot <[email protected]> - 0.8.13-1 diff --git a/redhat/applications/piklab/piklab-3.5.13.2.spec b/redhat/applications/piklab/piklab-3.5.13.2.spec index b8866b682..a44e1fd82 100644 --- a/redhat/applications/piklab/piklab-3.5.13.2.spec +++ b/redhat/applications/piklab/piklab-3.5.13.2.spec @@ -78,6 +78,7 @@ unset QTDIR; . /etc/profile.d/qt3.sh export PATH="%{tde_bindir}:${PATH}" # Warning: --enable-final causes FTBFS +# Warning: RHEL5 FTBFS: https://bugzilla.redhat.com/show_bug.cgi?id=499837 %configure \ --prefix=%{tde_prefix} \ --exec-prefix=%{tde_prefix} \ @@ -92,7 +93,10 @@ export PATH="%{tde_bindir}:${PATH}" --disable-final \ --enable-new-ldflags \ --enable-closure \ - --enable-rpath + --enable-rpath \ +%if 0%{?rhel} == 5 + --disable-libreadline \ +%endif %__make %{?_smp_mflags} @@ -153,7 +157,7 @@ gtk-update-icon-cache --quiet %{tde_datadir}/icons/hicolor || : * Wed Oct 03 2012 Francois Andriot <[email protected]> - 0.15.2-4 - Initial release for TDE 3.5.13.1 -* Sun Apr 06 2012 Francois Andriot <[email protected]> - 0.15.2-3 +* Fri Apr 06 2012 Francois Andriot <[email protected]> - 0.15.2-3 - Fix MAN directory location - Fix compilation with GCC 4.7 [Bug #958] diff --git a/redhat/applications/tde-guidance/tde-guidance-3.5.13.2.spec b/redhat/applications/tde-guidance/tde-guidance-3.5.13.2.spec index df4779921..19df57c69 100644 --- a/redhat/applications/tde-guidance/tde-guidance-3.5.13.2.spec +++ b/redhat/applications/tde-guidance/tde-guidance-3.5.13.2.spec @@ -78,18 +78,8 @@ BuildRequires: sip-devel %endif # PYTHON-QT support -%if 0%{?mgaversion} || 0%{?mdkversion} -BuildRequires: python-qt -Requires: python-qt -%endif -%if 0%{?rhel} == 5 || 0%{?suse_version} -BuildRequires: trinity-PyQt-devel -Requires: trinity-PyQt -%endif -%if 0%{?rhel} >= 6 || 0%{?fedora} -BuildRequires: PyQt-devel -Requires: PyQt -%endif +BuildRequires: python-qt3-devel +Requires: python-qt3 Requires: trinity-python-trinity Requires: trinity-pytdeextensions @@ -282,7 +272,7 @@ gtk-update-icon-cache --quiet %{tde_datadir}/icons/hicolor || : %build unset QTDIR; . /etc/profile.d/qt3.sh export PATH="%{tde_bindir}:${PATH}" -export PYTHONPATH=%{python_sitearch}/trinity-sip:%{python_sitearch}/trinity-PyQt +export PYTHONPATH=%{python_sitearch}/trinity-sip:%{python_sitearch}/python-qt3 export KDEDIR=%{tde_prefix} # Avoids 'error: byte-compiling is disabled.' on Mandriva/Mageia @@ -306,7 +296,7 @@ export PATH="%{tde_bindir}:${PATH}" export EXTRA_MODULE_DIR="%{python_sitearch}/%{name}" # For RHEL4 only -export PYTHONPATH=%{python_sitearch}/trinity-sip:%{python_sitearch}/trinity-PyQt +export PYTHONPATH=%{python_sitearch}/trinity-sip:%{python_sitearch}/python-qt3 # For Mageia/Mandriva: Avoids 'error: byte-compiling must be disabled. export PYTHONDONTWRITEBYTECODE= diff --git a/redhat/applications/tdeio-apt/tdeio-apt-3.5.13.2-ftbfs.patch b/redhat/applications/tdeio-apt/tdeio-apt-3.5.13.2-ftbfs.patch new file mode 100644 index 000000000..b83b3f3ad --- /dev/null +++ b/redhat/applications/tdeio-apt/tdeio-apt-3.5.13.2-ftbfs.patch @@ -0,0 +1,33 @@ +--- trinity-tdeio-apt-14.0.0~pre105+c7bc8b76/src/apt.cpp.ORI 2013-07-29 11:26:26.740982531 +0200 ++++ trinity-tdeio-apt-14.0.0~pre105+c7bc8b76/src/apt.cpp 2013-07-29 11:26:53.970250335 +0200 +@@ -143,10 +143,10 @@ + */ + + static const TQString +- html_form_begin("\n<form action=\"apt:/\" method=\"GET\">\n" ++ html_form_begin_apt("\n<form action=\"apt:/\" method=\"GET\">\n" + "<table class=\"query\">\n"); + static const TQString +- html_form_end("<tr>\n" ++ html_form_end_apt("<tr>\n" + "\t<td class=\"button\" colspan=\"2\"><input type=\"submit\" value=\"%1\"></td>\n" + "</tr>\n" + "</table>\n" +@@ -197,7 +197,7 @@ + if (online) + stream << "<table class=\"queryform\"><tr><td>\n"; + +- stream << html_form_begin; ++ stream << html_form_begin_apt; + stream << "<tr><td colspan=\"2\" class=\"title\">" + i18n("Offline search") + "</td></tr>" << endl; + stream << make_html_form_line("search", i18n("Package search")); + if (ext_form) +@@ -206,7 +206,7 @@ + stream << make_html_form_line("fsearch", i18n("File search")); + stream << make_html_form_line("show", i18n("Package info")); + } +- stream << html_form_end.arg( i18n("Search") ); ++ stream << html_form_end_apt.arg( i18n("Search") ); + + if (online) + { diff --git a/redhat/applications/tdeio-apt/tdeio-apt-3.5.13.2.spec b/redhat/applications/tdeio-apt/tdeio-apt-3.5.13.2.spec index 79429ac17..316566375 100644 --- a/redhat/applications/tdeio-apt/tdeio-apt-3.5.13.2.spec +++ b/redhat/applications/tdeio-apt/tdeio-apt-3.5.13.2.spec @@ -41,7 +41,7 @@ BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) Source0: %{name}-%{tde_version}%{?preversion:~%{preversion}}.tar.gz -Patch1: tdeio-apt-14.0.0-ftbfs.patch +Patch1: tdeio-apt-3.5.13.2-ftbfs.patch BuildRequires: trinity-tqtinterface-devel >= %{tde_version} BuildRequires: trinity-arts-devel >= 1:1.5.10 diff --git a/redhat/buildall-sru.sh b/redhat/buildall-sru.sh index b8c66dbca..21c274cea 100755 --- a/redhat/buildall-sru.sh +++ b/redhat/buildall-sru.sh @@ -1,7 +1,9 @@ #!/bin/bash +export PATH="$(dirname $0):${PATH}" + tdp='cd ~/tde/tde-packaging/redhat' -grp='tdp; ./genrpm.sh -v 3.5.13.2 -a' +grp='./genrpm.sh -v 3.5.13.2 -a' BUILDDIR="/dev/shm/BUILD${DIST}.$(uname -i)" BUILDROOTDIR="/dev/shm/BUILDROOT${DIST}.$(uname -i)" @@ -14,8 +16,9 @@ if [ -x /usr/sbin/urpmi ]; then REPOUPDATE='(cd $(rpm -E %{_rpmdir}); genhdlist2 --clean --allow-empty noarch; genhdlist2 --clean --allow-empty $(uname -i); sudo urpmi.update rpmbuild.$(uname -i) rpmbuild.noarch)' elif [ -x /usr/bin/zypper ]; then PKGMGR="zypper" - PKGINST="zypper install -y" - PKGDEL="zypper remove -y" + PKGINST="sudo zypper install -y" + PKGDEL="sudo zypper remove -y" + REPOUPDATE='(cd $(rpm -E %{_rpmdir}); createrepo $(uname -i); createrepo noarch; sudo zypper refresh)' elif [ -x /usr/bin/yum ]; then PKGMGR="yum" PKGINST='sudo yum install -y' @@ -42,7 +45,7 @@ is_installed() { # Build package if not already installed grpi() { - if ! is_installed "${1##*/}" && ! is_installed trinity-"${1##*/}"; then + if ! is_installed trinity-"${1##*/}"; then eval ${grp} ${1} RET=$? if [ $RET -gt 0 ]; then @@ -53,31 +56,40 @@ grpi() { } # Build package if not already installed, then update repo grpiu() { - if ! is_installed "${1##*/}" && ! is_installed trinity-"${1##*/}"; then + if ! is_installed trinity-"${1##*/}"; then grpi "$1" - eval ${REPOUPDATE} + eval ${REPOUPDATE} || exit 1 fi } # Build package if not already installed, then update repo, then install package grpiui() { - if ! is_installed "${1##*/}" && ! is_installed trinity-"${1##*/}"; then + if ! is_installed trinity-"${1##*/}"; then grpiu "$1" - eval ${PKGINST} "trinity-${1##*/}" + eval ${PKGINST} "trinity-${1##*/}" || exit 1 fi } # Build package if not already installed, then update repo, then install -devel package grpiud() { - if ! is_installed "${1##*/}" && ! is_installed trinity-"${1##*/}"; then + if ! is_installed trinity-"${1##*/}"; then grpiu "$1" - eval ${PKGINST} "trinity-${1##*/}" - eval ${PKGINST} "trinity-${1##*/}-devel" + eval ${PKGINST} "trinity-${1##*/}" || exit 1 + eval ${PKGINST} "trinity-${1##*/}-devel" || exit 1 fi } +# Build akode now, required for some packages later ... +grpiud extras/akode + # Build dependencies -if ! rpm -q libqt3-devel && ! rpm -q lib64qt3-devel && ! rpm -q qt3-devel; then +if ! rpm -q libqt3-devel &>/dev/null && ! rpm -q lib64qt3-devel &>/dev/null && ! rpm -q qt3-devel &>/dev/null; then + if [ -r /etc/SuSE-release ]; then + pushd ../opensuse/core + else + pushd . + fi grpiu dependencies/qt3 - eval ${PKGINST} qt3-devel + eval ${PKGINST} qt3-devel || exit 1 + popd fi grpiud dependencies/tqtinterface grpiud dependencies/arts @@ -87,10 +99,7 @@ grpiud dependencies/dbus-tqt grpiud dependencies/libcaldav grpiud dependencies/libcarddav grpiud dependencies/tqca -grpiu dependencies/tqca-tls - -# Build akode now, required for some packages later ... -grpiud extras/akode +grpiui dependencies/tqca-tls # Build main # basic packages @@ -111,15 +120,29 @@ grpiui tdeartwork grpiui tdeedu grpiui tdetoys grpiui tdeutils -grpiu extras/trinity-desktop -eval ${PKGINST} trinity-desktop -# Disable trinity repository from here !!! + +if ! is_installed trinity-desktop; then + grpiu extras/trinity-desktop + eval ${PKGINST} trinity-desktop || exit 1 + # Disable trinity repository from here !!! + if [ -r "/etc/yum.repos.d/trinity-3.5.13.repo" ]; then + sed -i "/etc/yum.repos.d/trinity-3.5.13.repo" -e "s|enabled=.*|enabled=0|g" + fi +fi # devel packages grpiud tdesdk grpiui tdevelop grpiui tdewebdev -eval ${PKGINST} trinity-desktop-devel +if ! is_installed trinity-desktop-devel; then + eval ${PKGINST} trinity-desktop-devel || exit 1 +fi + +# Extra libraries +if ! is_installed python-qt3; then + grpiu 3rdparty/python-qt3 + eval ${PKGINST} python-qt3-devel || exit 1 +fi # Build libraries grpiud libraries/libkdcraw @@ -148,7 +171,7 @@ grpiui applications/gwenview grpiui applications/gwenview-i18n if ! is_installed trinity-k3b-i18n-French; then grpiu applications/k3b-i18n - eval ${PKGINST} trinity-k3b-i18n-French + eval ${PKGINST} trinity-k3b-i18n-French || exit 1 fi grpiui applications/k9copy grpiui applications/kaffeine @@ -174,7 +197,9 @@ grpiui applications/kmymoney grpiui applications/knemo grpiui applications/knetload grpiui applications/knetstats -#grpiui applications/knetworkmanager +if [ "${DIST}" = ".el6" ]; then + grpiui applications/knetworkmanager +fi grpiui applications/knights grpiui applications/knowit grpiui applications/knutclient @@ -190,7 +215,9 @@ grpiui applications/konversation grpiui applications/kopete-otr grpiui applications/kpicosim grpiui applications/kpilot -grpiui applications/kpowersave +if [ "${DIST}" != ".el4" ] && [ "${DIST}" != ".el5" ]; then + grpiui applications/kpowersave +fi grpiui applications/krename grpiui applications/krusader grpiui applications/ksplash-engine-moodin @@ -223,12 +250,22 @@ grpiui applications/tellico grpiui applications/twin-style-crystal grpiui applications/wlassistant grpiui applications/yakuake -eval ${PKGINST} trinity-desktop-applications # Decoration-related stuff are distribution-dependant. -grpiui applications/gtk-qt-engine -grpiui applications/kgtk-qt3 +if [ "${DIST}" != ".el4" ] && [ "${DIST}" != ".el5" ]; then + grpiui applications/gtk-qt-engine + #grpiui applications/kgtk-qt3 +fi +if ! is_installed trinity-desktop-applications; then + eval ${PKGINST} trinity-desktop-applications || exit 1 +fi + +if ! is_installed trinity-desktop-all; then + eval ${PKGINST} trinity-desktop-all || exit 1 +fi + +exit 0 # Build extra packages grpiui extras/icons-crystalsvg-updated @@ -245,7 +282,8 @@ grpiui extras/kickoff-i18n #grpiui extras/knoda #grpiui extras/ksensors #grpiui extras/kshowmail -#grpiui extras/mplayerthumbs +#grpiui extras/mplayerthumbseval ${PKGINST} trinity-desktop-applications || exit 1 + grpiui extras/style-ia-ora #if ! is_installed trinity-tdeio-ftps-plugin; then # grpiu extras/tdeio-ftps @@ -261,4 +299,3 @@ grpiui extras/style-ia-ora #grpiui extras/twinkle #eval ${PKGINST} trinity-desktop-extras -eval ${PKGINST} trinity-desktop-all diff --git a/redhat/buildenv.sh b/redhat/buildenv.sh index 250c712eb..787c5bf4a 100644 --- a/redhat/buildenv.sh +++ b/redhat/buildenv.sh @@ -56,7 +56,7 @@ checknew() { } # Update main repository -export tdu='(export GIT_ASKPASS=/bin/true; cd ~/tde/tde_r14; ./scripts/update_all_submodules)' +alias tdu='(export GIT_ASKPASS=/bin/true; cd ~/tde/tde_r14; ./scripts/switch_all_submodules_to_head_and_clean)' # Build local repository metadata (Mageia) alias cru='(cdrpm; genhdlist2 --allow-empty-media noarch; genhdlist2 $(uname -i); sudo urpmi.update rpmbuild.$(uname -i) rpmbuild.noarch)' diff --git a/redhat/dependencies/avahi-tqt/avahi-tqt-3.5.13.2.spec b/redhat/dependencies/avahi-tqt/avahi-tqt-3.5.13.2.spec index cd59347e4..dbfe6c2d7 100644 --- a/redhat/dependencies/avahi-tqt/avahi-tqt-3.5.13.2.spec +++ b/redhat/dependencies/avahi-tqt/avahi-tqt-3.5.13.2.spec @@ -33,6 +33,7 @@ BuildRequires: dbus-1-devel %if 0%{?rhel} || 0%{?fedora} || 0%{?mgaversion} || 0%{?mdkversion} BuildRequires: dbus-devel %endif +BuildRequires: libcap-devel # AVAHI support %if 0%{?mgaversion} || 0%{?mdkversion} diff --git a/redhat/dependencies/libcarddav/libcarddav-3.5.13.2.spec b/redhat/dependencies/libcarddav/libcarddav-3.5.13.2.spec index 532354e33..3aaa84439 100644 --- a/redhat/dependencies/libcarddav/libcarddav-3.5.13.2.spec +++ b/redhat/dependencies/libcarddav/libcarddav-3.5.13.2.spec @@ -79,8 +79,6 @@ autoreconf --force --install --symlink %build -unset QTDIR; . /etc/profile.d/qt3.sh - # CFLAGS required if CURL is installed on /opt/trinity, e.g. RHEL 5 export CFLAGS="-I%{tde_includedir} -L%{tde_libdir} ${RPM_OPT_FLAGS}" export PKG_CONFIG_PATH="%{tde_libdir}/pkgconfig" @@ -96,13 +94,19 @@ fi \ --disable-dependency-tracking +# FIXME: bad libtool ?? +%if 0%{?rhel} == 5 +%__make %{?_smp_mflags} LIBTOOL=/usr/bin/libtool +%else %__make %{?_smp_mflags} +%endif %install %__rm -rf %{buildroot} %__make install DESTDIR=%{buildroot} LIBTOOL=$(which libtool) +# Unwanted files %__rm -f %{buildroot}%{tde_libdir}/libcarddav.a diff --git a/redhat/extras/trinity-desktop/trinity-desktop-3.5.13.2.spec b/redhat/extras/trinity-desktop/trinity-desktop-3.5.13.2.spec index 75864864f..72e7254c2 100644 --- a/redhat/extras/trinity-desktop/trinity-desktop-3.5.13.2.spec +++ b/redhat/extras/trinity-desktop/trinity-desktop-3.5.13.2.spec @@ -278,6 +278,7 @@ Requires: %{name}-devel = %{version} %package -n trinity-repo Group: User Interface/Desktops Summary: Yum configuration files for Trinity +Requires(pre): coreutils %description -n trinity-repo %{summary} diff --git a/redhat/genrpm.sh b/redhat/genrpm.sh index a6df1f0b5..d8d7bd3a3 100755 --- a/redhat/genrpm.sh +++ b/redhat/genrpm.sh @@ -187,7 +187,7 @@ rpmbuild -ba \ --define "tde_prefix ${PREFIX:-/opt/trinity}" \ --define "version ${VERSION:-3.5.13.2}" \ --define "preversion ${PREVERSION}" \ - ${SOURCEDIR}/${SPEC} + "${SOURCEDIR}/${SPEC}" echo "RET=$?" ) 2>&1 | tee ${LOGFILE} eval "$(grep ^RET= ${LOGFILE})" diff --git a/redhat/libraries/libksquirrel/libksquirrel-3.5.13.2-fix_giflib5_support.patch b/redhat/libraries/libksquirrel/libksquirrel-3.5.13.2-fix_giflib5_support.patch new file mode 100644 index 000000000..dc65f1928 --- /dev/null +++ b/redhat/libraries/libksquirrel/libksquirrel-3.5.13.2-fix_giflib5_support.patch @@ -0,0 +1,114 @@ +--- trinity-libksquirrel-3.5.13.2/kernel/kls_gif/fmt_codec_gif.cpp.giflib5 2013-06-07 20:05:31.000000000 +0200 ++++ trinity-libksquirrel-3.5.13.2/kernel/kls_gif/fmt_codec_gif.cpp 2013-08-24 17:58:13.978555540 +0200 +@@ -43,14 +43,26 @@ + /* libgif 4.2.0 has retired PrintGifError() and added GifErrorString() */ + #if defined(GIFLIB_MAJOR) && defined(GIFLIB_MINOR) && \ + ((GIFLIB_MAJOR == 4 && GIFLIB_MINOR >= 2) || GIFLIB_MAJOR > 4) ++#if GIFLIB_MAJOR > 4 ++static void PrintGifError(int ErrorCode) ++#else + static void PrintGifError(void) ++#endif + { ++#if GIFLIB_MAJOR > 4 ++ char *Err = GifErrorString(ErrorCode); ++#else + char *Err = GifErrorString(); ++#endif + + if (Err != NULL) { + fprintf(stderr, "\nGIF-LIB error: %s.\n", Err); + } else { ++#if GIFLIB_MAJOR > 4 ++ fprintf(stderr, "\nGIF-LIB undefined error %d.\n", ErrorCode); ++#else + fprintf(stderr, "\nGIF-LIB undefined error %d.\n", GifError()); ++#endif + } + } + #endif +@@ -107,7 +119,12 @@ + buf = 0; + saved = 0; + ++#if GIFLIB_MAJOR > 4 ++ int ErrorCode; ++ gif = DGifOpenFileName(file.c_str(), &ErrorCode); ++#else + gif = DGifOpenFileName(file.c_str()); ++#endif + + // for safety... + if(!gif) +@@ -198,7 +215,11 @@ + { + if (DGifGetRecordType(gif, &record) == GIF_ERROR) + { ++#if GIFLIB_MAJOR > 4 ++ PrintGifError(gif->Error); ++#else + PrintGifError(); ++#endif + return SQE_R_BADFILE; + } + +@@ -207,7 +228,11 @@ + case IMAGE_DESC_RECORD_TYPE: + if(DGifGetImageDesc(gif) == GIF_ERROR) + { ++#if GIFLIB_MAJOR > 4 ++ PrintGifError(gif->Error); ++#else + PrintGifError(); ++#endif + return SQE_R_BADFILE; + } + +@@ -243,7 +268,11 @@ + case EXTENSION_RECORD_TYPE: + if(DGifGetExtension(gif, &ExtCode, &Extension) == GIF_ERROR) + { ++#if GIFLIB_MAJOR > 4 ++ PrintGifError(gif->Error); ++#else + PrintGifError(); ++#endif + return SQE_R_BADFILE; + } + +@@ -287,7 +316,11 @@ + { + if(DGifGetExtensionNext(gif, &Extension) == GIF_ERROR) + { ++#if GIFLIB_MAJOR > 4 ++ PrintGifError(gif->Error); ++#else + PrintGifError(); ++#endif + return SQE_R_BADFILE; + } + } +@@ -366,7 +399,11 @@ + { + if(DGifGetLine(gif, buf, Width) == GIF_ERROR) + { ++#if GIFLIB_MAJOR > 4 ++ PrintGifError(gif->Error); ++#else + PrintGifError(); ++#endif + memset(scan, 255, im->w * sizeof(RGBA)); + return SQE_R_BADFILE; + } +@@ -439,7 +476,11 @@ + if(DGifGetLine(gif, buf, Width) == GIF_ERROR) + { + memset(scan, 255, im->w * sizeof(RGBA)); ++#if GIFLIB_MAJOR > 4 ++ PrintGifError(gif->Error); ++#else + PrintGifError(); ++#endif + return SQE_R_BADFILE; + } + else diff --git a/redhat/libraries/libksquirrel/libksquirrel-3.5.13.2.spec b/redhat/libraries/libksquirrel/libksquirrel-3.5.13.2.spec index 2d3f5691e..d6794dbd2 100644 --- a/redhat/libraries/libksquirrel/libksquirrel-3.5.13.2.spec +++ b/redhat/libraries/libksquirrel/libksquirrel-3.5.13.2.spec @@ -41,6 +41,7 @@ BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) Source0: %{name}-%{tde_version}%{?preversion:~%{preversion}}.tar.gz Patch0: libksquirrel-3.5.13-detect_netpbm.patch +Patch1: libksquirrel-3.5.13.2-fix_giflib5_support.patch BuildRequires: trinity-tqtinterface-devel >= %{tde_version} BuildRequires: trinity-arts-devel >= 1:1.5.10 @@ -155,6 +156,7 @@ Tools for KSquirrel. %prep %setup -q -n %{name}-%{tde_version}%{?preversion:~%{preversion}} %patch0 -p1 -b .netpbm +%patch1 -p1 -b .giflib5 %__cp "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" %__cp "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh" diff --git a/redhat/libraries/pytdeextensions/pytdeextensions-3.5.13.2.spec b/redhat/libraries/pytdeextensions/pytdeextensions-3.5.13.2.spec index 2ba4b2fe6..f26445c40 100644 --- a/redhat/libraries/pytdeextensions/pytdeextensions-3.5.13.2.spec +++ b/redhat/libraries/pytdeextensions/pytdeextensions-3.5.13.2.spec @@ -53,17 +53,9 @@ BuildRequires: trinity-tdelibs-devel >= %{tde_version} BuildRequires: desktop-file-utils BuildRequires: gettext +# Python stuff BuildRequires: trinity-python-trinity-devel - -%if 0%{?mgaversion} || 0%{?mdkversion} -BuildRequires: python-qt -%else -%if 0%{?rhel} == 4 || 0%{?rhel} == 5 || 0%{?suse_version} -BuildRequires: trinity-PyQt-devel -%else -BuildRequires: PyQt-devel -%endif -%endif +BuildRequires: python-qt3-devel Requires: trinity-libpythonize0 = %{version}-%{release} @@ -176,24 +168,24 @@ if [ -f "%{_libdir}/${LIBPYTHON}" ]; then -e "s|#define LIB_PYTHON \".*\"|#define LIB_PYTHON \"%{_libdir}/${LIBPYTHON}\"|" fi -if [ -d "%{python_sitearch}/trinity-PyQt" ]; then - %__sed -i "src/kdedistutils.py" \ - -e "s|'pyqt-dir=','%{python_sitearch}'|'pyqt-dir=','%{python_sitearch}/trinity-PyQt'|g" \ - -e "s|self.pyqt_dir = \"%{python_sitearch}\"|self.pyqt_dir = \"%{python_sitearch}/trinity-PyQt\"|g" -fi +# Set PyQt directory to actual directory +%__sed -i "src/kdedistutils.py" \ + -e "s|'pyqt-dir=','%{python_sitearch}'|'pyqt-dir=','%{python_sitearch}/python-qt3'|g" \ + -e "s|self.pyqt_dir = \"%{python_sitearch}\"|self.pyqt_dir = \"%{python_sitearch}/python-qt3\"|g" + %build -unset QTDIR; . /etc/profile.d/qt3.sh +unset QTDIR QTINC QTLIB; . /etc/profile.d/qt3.sh export PATH="%{tde_bindir}:${PATH}" -export PYTHONPATH=%{python_sitearch}/trinity-sip:%{python_sitearch}/trinity-PyQt +export PYTHONPATH=%{python_sitearch}/trinity-sip:%{python_sitearch}/python-qt3 %__mkdir_p build ./setup.py build_libpythonize %install -unset QTDIR; . /etc/profile.d/qt3.sh +unset QTDIR QTINC QTLIB; . /etc/profile.d/qt3.sh export PATH="%{tde_bindir}:${PATH}" -export PYTHONPATH=%{python_sitearch}/trinity-sip:%{python_sitearch}/trinity-PyQt +export PYTHONPATH=%{python_sitearch}/trinity-sip:%{python_sitearch}/python-qt3 # Avoids 'error: byte-compiling is disabled.' on Mandriva/Mageia export PYTHONDONTWRITEBYTECODE= diff --git a/redhat/libraries/python-trinity/python-trinity-3.5.13.2.spec b/redhat/libraries/python-trinity/python-trinity-3.5.13.2.spec index 3237c399f..a0c0bca9b 100644 --- a/redhat/libraries/python-trinity/python-trinity-3.5.13.2.spec +++ b/redhat/libraries/python-trinity/python-trinity-3.5.13.2.spec @@ -54,19 +54,7 @@ BuildRequires: gettext # PYTHON support BuildRequires: python -%if 0%{?rhel} >= 4 && 0%{?rhel} <= 5 -# RHEL 4/5 comes with old version, so we brought ours ... -BuildRequires: trinity-PyQt-devel -%endif -%if 0%{?mgaversion} || 0%{?mdkversion} -BuildRequires: python-qt -%endif -%if 0%{?rhel} >= 6 || 0%{?fedora} -BuildRequires: PyQt-devel -%endif -%if 0%{?suse_version} -BuildRequires: trinity-PyQt-devel -%endif +BuildRequires: python-qt3-devel # SIP support %if 0%{?rhel} >= 4 && 0%{?rhel} <= 5 @@ -104,7 +92,7 @@ Provides: python-trinity-devel = %{version}-%{release} Development .sip files with definitions of PyTDE classes. They are needed to build PyTDE, but also as building blocks of other packages based on them. -The package also contains kdepyuic, a wrapper script around PyQt's +The package also contains kdepyuic, a wrapper script around python-qt3's user interface compiler. @@ -138,7 +126,7 @@ export KDEDIR=%{tde_prefix} export DH_OPTIONS -export PYTHONPATH=%{python_sitearch}/trinity-sip:%{python_sitearch}/trinity-PyQt +export PYTHONPATH=%{python_sitearch}/trinity-sip:%{python_sitearch}/python-qt3 %__python configure.py \ -k %{tde_prefix} \ diff --git a/redhat/packages.fedora b/redhat/packages.fedora new file mode 100644 index 000000000..37d1c7756 --- /dev/null +++ b/redhat/packages.fedora @@ -0,0 +1,188 @@ +alsa-lib-devel +aspell +aspell-devel +audiofile-devel +autotrace +avahi-devel +bind-devel +binutils-devel +bison +boost-devel +bzip2-devel +ccrtp-devel +cdparanoia +cdparanoia-devel +chrpath +clucene-core-devel +cmake +commoncpp2-devel +cppunit-devel +createrepo +db4-devel +djvulibre +djvulibre-devel +esound-devel +exiv2-devel +ffmpeg-devel +file-devel +flac-devel +flex-static +fribidi-devel +gamin-devel +gettext-devel +glib-devel +gmp-devel +gnokii-devel +gperf +gpgme-devel +gphoto2-devel +GraphicsMagick-devel +gsl-devel +gstreamer-devel +gstreamer-plugins-base-devel +gtk2-devel +gtk+-devel +guile-devel +hal-devel +hspell-devel +icu +imake +jack-audio-connection-kit-devel +jasper-devel +java-1.7.0-openjdk-devel +java-devel +java-openjdk +lame-devel +lcms-devel +libart_lgpl-devel +libblkid-devel +libcdio-devel +libcdio-paranoia-devel +libcurl-devel +libdb4-cxx-devel +libdvdread-devel +libfontenc-devel +libgadu-devel +libgpod-devel +libgssapi-devel +libical-devel +libidn-devel +libifp-devel +libmad-devel +libmp4v2-devel +libmpcdec-devel +libmtp-devel +libmusicbrainz-devel +libnjb-devel +libogg-devel +libotr-devel +libpaper-devel +libpqxx-devel +libraw1394-devel +librsvg2 +libsamplerate-devel +libsmbclient-devel +libsndfile-devel +libssh2-devel +libtheora-devel +libtiff-devel +libtool +libtool-ltdl-devel +libtunepimp-devel +libudev-devel +libutempter-devel +libvisual-devel +libvorbis-devel +libwmf-devel +libwpd-devel +libXaw-devel +libXdmcp-devel +libxkbfile-devel +libXScrnSaver-devel +libxslt-devel +libXtst-devel +libXxf86dga-devel +libzrtpcpp-devel +lm_sensors-devel +meanwhile-devel +mftrace +nas-devel +neon-devel +netpbm-progs +net-snmp-devel +ocaml(compiler) +OpenEXR-devel +openldap-devel +openslp-devel +ortp-devel +pam-devel +pciutils-devel +pcre-devel +perl-devel +perl(ExtUtils::MakeMaker) +perl(XML::Parser) +pilot-link-devel +poppler-devel +pth-devel +pulseaudio-libs-devel +PyQt-devel +redhat-rpm-config +rpm-build +ruby +ruby-devel +sane-backends-devel +SDL-devel +sip-devel +speex-devel +subversion-devel +sword-devel +t1lib-devel +t1utils +taglib-devel +transfig +udev-devel +valgrind +wireless-tools-devel +wv2-devel +xine-lib-devel +xmedcon +xmedcon-devel +xmlto +xorg-x11-font-utils +xscreensaver +xscreensaver-extras +xulrunner-devel +xz-devel +recode +libofx-devel +opensp-devel +ImageMagick-devel +doxygen +scons +imlib-devel +fftw-devel +dssi-devel +liblo-devel +lirc-devel +dbus-glib-devel +html2ps +gcc +gcc-c++ +cpp +ccache +mysql-devel +postgresql-devel +libacl-devel +libv4l-devel +perl +cups-devel +tar +sqlite-devel +liblrdf-devel +unixODBC-devel +gtk-doc +librsvg2-tools + +libXv-devel +net-tools +libcap-devel diff --git a/redhat/packages.mga b/redhat/packages.mga new file mode 100644 index 000000000..d4dff78bb --- /dev/null +++ b/redhat/packages.mga @@ -0,0 +1,323 @@ +rpm-build +ccache +mysql-devel +unixODBC-devel +libpq-devel +freetype2-devel +mesaglu-devel +libsm-devel +libice-devel +libx11-devel +libxcursor-devel +libxext-devel +libxft-devel +libxinerama-devel +libxmu-devel +libxrandr-devel +libxrender-devel +fontconfig-devel +bzip2-devel +libjpeg-devel +libmng-devel +pkgconfig(libpng15) +zlib-devel +nas-devel +libiodbc-devel +glib2-devel +python-devel +perl(XML::Parser) +gtk-doc +libblkid-devel +pciutils-devel +xmlto +gperf +libv4l-devel +expat-devel +dbus-devel +dbus-glib +dbus-glib-devel +libusb-devel +libudev-devel +cups-devel +cmake +libgsf-devel +pth-devel +libxi-devel +audiofile-devel +gsl-devel +alsa-lib-devel +libvorbis-devel +esound-devel +libjack-devel +libmad-devel +pkgconfig(audiofile) +gettext-devel +libcurl-devel +gtk2-devel +libxslt-devel +libart_lgpl-devel +aspell +aspell-devel +gamin-devel +libutempter-devel +hspell-devel +libjasper-devel +OpenEXR-devel +libraw1394-devel +lm_sensors-devel +hal-devel +libxscrnsaver1-devel +lib64xscrnsaver1-devel +libsmbclient-devel +imake +libxkbfile-devel +libfontenc-devel +libxtst6-devel +lib64xtst6-devel +x11-font-util +xulrunner-devel +ruby-devel +java-openjdk +java-devel +java-1.7.0-openjdk-devel +perl-devel +libtheora-devel +taglib-devel +cdparanoia +libcdda-devel +libflac-devel +lib64flac-devel +libgstreamer0.10-devel +lib64gstreamer0.10-devel +libxxf86dga-devel +lib64xxf86dga-devel +libxine-devel +lib64xine-devel +gnokii-devel +gpgme-devel +flex +libical-devel +boost-devel +rpm-devel +lilo +xscreensaver +xscreensaver-base +xscreensaver-extrusion +xscreensaver-gl +net-snmp-devel +libungif-devel +gphoto2-devel +libpaper-devel +libt1lib-devel +libsane1-devel +freetype-devel +libpoppler-devel +fribidi-devel +lib64sane1-devel +lib64poppler-devel +ocaml +subversion-devel +neon-devel +lib64binutils-devel +SDL-devel +db4-devel +sqlite-devel +sqlite3-devel +libgadu-devel +libiw-devel +openslp-devel +valgrind +libexiv2-devel +transfig +djvulibre +librsvg +libwmf-devel +netpbm +python-sip +python-qt +bison +libtiff-devel +libifp-devel +libkarma-devel +karma-sharp +libgpod-devel +libmtp-devel +libmusicbrainz-devel +libnjb-devel +libvisual-devel +libinotifytools-devel +libmp4v2-devel +libclucene-devel +sword-devel +libmpcdec-devel +libsndfile-devel +libdvdread-devel +libflac++-devel +liblame-devel +libffmpeg-devel +libgstreamer-plugins-base-devel +ImageMagick-devel +doxygen +GraphicsMagick-devel +libwpd-devel +wv2-devel +recode +libofx-devel +libOpenSP5-devel +docbook-style-xsl +libotr-devel +yaz +lib64yaz-devel +subversion-devel +dssi-devel +liblo-devel +liblrdf-devel +lirc-devel +scons +subversion-devel +pilot-link-devel +libhd-devel +lib64commoncpp-devel +ccrtp-devel +libzrtpcpp-devel +bind-devel +libcommoncpp-devel +unixODBC-devel +libpq-devel +mesaglu-devel +libxmu-devel +bzip2-devel +pkgconfig(libpng15) +nas-devel +libiodbc-devel +postgresql9.2-devel +cups-devel +cmake +pth-devel +lib64xi-devel +gsl-devel +lib64mad-devel +esound-devel +libmad-devel +docbook-dtd412-xml +docbook-utils +gettext-devel +lib64expat1-devel +libxslt-devel +aspell +aspell-devel +libutempter-devel +hspell-devel +lib64jasper-devel +OpenEXR-devel +libraw1394-devel +pam-devel +libusb-devel +openldap-devel +lm_sensors-devel +libudev-devel +hal-devel +lib64xscrnsaver1-devel +libsmbclient-devel +imake +libxkbfile-devel +libfontenc-devel +libxtst-devel +x11-font-util +gnokii-devel +gpgme-devel +libical-devel +boost-devel +curl-devel +gtk2-devel +lib64curl-devel +lib64flac-devel +lib64pulseaudio-devel +speex-devel +libtheora-devel +taglib-devel +cdparanoia +libcdda-devel +lib64gstreamer0.10-devel +lib64xxf86dga-devel +lib64xine-devel +lib64lame-devel +rpm-devel +SDL-devel +xscreensaver-base +xscreensaver-extrusion +xscreensaver-gl +xulrunner-devel +ruby-devel +java-openjdk +java-devel +java-1.6.0-openjdk-devel +perl-devel +ocaml +libgadu-devel +lib64iw29-devel +openslp-devel +lib64v4l-devel +subversion-devel +neon-devel +lib64binutils-devel +net-snmp-devel +libungif-devel +gphoto2-devel +lib64paper-devel +lib64t1lib-devel +lib64sane1-devel +freetype-devel +lib64poppler-devel +fribidi-devel +lib64exiv2-devel +transfig +djvulibre +librsvg +libwmf-devel +X11-devel +lib64commoncpp-devel +readline-devel +bind-devel +bison +doxygen +libcommoncpp-devel +ImageMagick-devel +GraphicsMagick-devel +libwpd-devel +wv2-devel +libmpcdec-devel +libmusicbrainz-devel +lib64dvdread-devel +lib64flac++-devel +lib64ffmpeg-devel +chrpath +yaz +libyaz-devel +pilot-link-devel +fftw-devel +dssi-devel +liblo-devel +liblrdf-devel +lirc-devel +libotr3-devel +scons +libifp-devel +libkarma-devel +karma-sharp +libgpod-devel +libmtp-devel +libnjb-devel +libvisual-devel +libtunepimp-devel +lib64inotifytools-devel +libmp4v2-devel +lib64twolame-devel +docbook-style-xsl +recode +libofx-devel +lib64OpenSP5-devel +lib64clucene-devel +sword-devel +drakconf +imlib1-devel diff --git a/redhat/packages.oss b/redhat/packages.oss new file mode 100644 index 000000000..f2e79c52e --- /dev/null +++ b/redhat/packages.oss @@ -0,0 +1,156 @@ +mysql-devel +postgresql-devel +unixODBC-devel +mesa-libGL-devel +mesa-libGLU-devel +udev-devel +gnokii-devel +gpgme-devel +flex +libical-devel +libtheora-devel +taglib-devel +cdparanoia +cdparanoia-devel +flac-devel +gstreamer-0_10-devel +libxine-devel +pulseaudio-devel +libsamplerate-devel +xscreensaver +xscreensaver-data +SDL-devel +libdb-4_8-devel +subversion-devel +neon-devel +binutils-devel +ocaml +libungif-devel +libgphoto2-devel +t1lib-devel +sane-backends-devel +poppler-devel +fribidi-devel +libgpod-devel +libmtp-devel +libmusicbrainz-devel +libnjb-devel +libvisual-devel +libtunepimp-devel +libmp4v2-devel +clucene-core-devel +sword-devel +ImageMagick-devel +doxygen GraphicsMagick +libpqxx-devel +libwpd-devel +wv2-devel +fftw-devel +dssi-devel +liblo-devel +liblrdf-devel +libotr2-devel +libofx-devel +html2ps +opensp-devel +scons +pilot-link-devel +libmpcdec-devel +libdvdread-devel +libmp3lame-devel +ffmpeg-devel +transfig +djvulibre +rsvg-view +librsvg-devel +libwmf-devel +libexiv2-devel +libtwolame-devel +lirc-devel +dbus-devel +libhd-devel +libcdio-devel +libcdio-paranoia-devel +gstreamer-devel +gstreamer-0_10-plugins-base-devel +GraphicsMagick-devel +c++_compiler +cups-devel +libmng-devel +update-desktop-files +libpng-devel +patch +make +cmake +pth-devel +audiofile-devel +gsl-devel +esound-devel +libtool +libmad-devel +gettext-devel +dbus-1-devel +avahi-devel +automake +gtk2-devel +libcurl-devel +libxslt-devel +libart_lgpl-devel +libidn-devel +aspell-devel +pcre-devel +libbz2-devel +utempter-devel +libjasper-devel +OpenEXR-devel +xz-devel +pam-devel +libudev-devel +hal-devel +libsmbclient-devel +boost-devel +mozilla-xulrunner20-devel +python-devel +ruby-devel +ruby +java-devel +java-1.6.0-openjdk-devel +giflib-devel +sqlite-devel +gnutls-devel +libgadu-devel +libiw-devel +openslp-devel +valgrind +libv4l-devel +meanwhile-devel +gmp-devel +lilo +bison +libsndfile-devel +libotr-devel +docbook-xsl-stylesheets +chrpath +commoncpp2-devel +libccrtp-devel +libzrtpcpp-devel +bind-devel +file-devel +libofx-devel +html2ps +opensp-devel +imlib1-devel +Mesa-devel +libpng15-compat-devel +ccache +dbus-1-glib-devel +gperf xmlto +pciutils-devel +libblkid-devel +gtk-doc +createrepo +libcap-devel +libtiff-devel +aspell +hunspell-devel +cyrus-sasl-devel diff --git a/redhat/tdebase/tdebase-3.5.13.2.spec b/redhat/tdebase/tdebase-3.5.13.2.spec index 82eca290c..adbb2036b 100644 --- a/redhat/tdebase/tdebase-3.5.13.2.spec +++ b/redhat/tdebase/tdebase-3.5.13.2.spec @@ -315,6 +315,18 @@ Requires: opensuse-manuals_en %define tde_aboutpage /usr/share/doc/manual/opensuse-manuals_en/book.opensuse.startup.html %endif +# OpenSuse 13.1 Theme +%if "%{?suse_version}" == "1310" +Requires: wallpaper-branding +%define tde_bg /usr/share/wallpapers/openSUSEdefault/contents/images/1600x1200.jpg +Requires: hicolor-icon-theme-branding +%define tde_starticon /usr/share/icons/hicolor/scalable/apps/distributor.svg + +Requires: opensuse-manuals_en +%define tde_aboutlabel OpenSuse 13.1 +%define tde_aboutpage /usr/share/doc/manual/opensuse-manuals_en/book.opensuse.startup.html +%endif + BuildRequires: cmake >= 2.8 BuildRequires: qt%{?_qt_suffix}-devel >= 3.3.8.d BuildRequires: trinity-tqtinterface-devel >= %{tde_version} diff --git a/redhat/tdebindings/admin-fix-parallel-test.diff b/redhat/tdebindings/admin-fix-parallel-test.diff new file mode 100644 index 000000000..9f6f46ba8 --- /dev/null +++ b/redhat/tdebindings/admin-fix-parallel-test.diff @@ -0,0 +1,11 @@ +--- trinity-tdebindings-14.0.0~pre214+2cf2b76c/admin/cvs.sh.automake113 2013-06-26 22:35:42.000000000 +0200 ++++ trinity-tdebindings-14.0.0~pre214+2cf2b76c/admin/cvs.sh 2013-08-29 22:27:18.546349736 +0200 +@@ -123,7 +123,7 @@ + fi + + echo "*** Creating Makefile templates" +-$AUTOMAKE || exit 1 ++$AUTOMAKE --add-missing || exit 1 + + if test "$UNSERMAKE" = no; then + echo "*** Postprocessing Makefile templates" diff --git a/redhat/tdebindings/tdebindings-3.5.13.2-fix_ruby2_detection.patch b/redhat/tdebindings/tdebindings-3.5.13.2-fix_ruby2_detection.patch new file mode 100644 index 000000000..67174598e --- /dev/null +++ b/redhat/tdebindings/tdebindings-3.5.13.2-fix_ruby2_detection.patch @@ -0,0 +1,30 @@ +--- ./qtruby/rubylib/qtruby/configure.in.in.ruby2 2013-08-24 15:44:24.933359206 +0200 ++++ ./qtruby/rubylib/qtruby/configure.in.in 2013-08-24 15:49:41.820696908 +0200 +@@ -21,6 +21,12 @@ + fi + fi + if test -z "$RUBY_VERSION"; then ++ RUBY_VERSION=`$PKGCONFIG ruby-2.0 --modversion 2>/dev/null` ++ if test -n "$RUBY_VERSION"; then ++ RUBY_CFLAGS=`$PKGCONFIG ruby-2.0 --cflags` ++ fi ++ fi ++ if test -z "$RUBY_VERSION"; then + # pkgconfig file does not exist but might be 1.9.1: RUBY_VERSION defined in ruby/version.h + if test -n "$RUBY -r rbconfig -e 'printf("%s",RbConfig::CONFIG@<:@"rubyhdrdir"@:>@)'"; then + # rubyhdrdir parameter works only in >=1.9.1; this is 1.9.1 +--- ./korundum/rubylib/korundum/configure.in.in.ruby2 2013-08-24 15:44:24.933359206 +0200 ++++ ./korundum/rubylib/korundum/configure.in.in 2013-08-24 15:50:46.666333349 +0200 +@@ -19,6 +19,12 @@ + if test -n "$RUBY_VERSION"; then + RUBY_CFLAGS=`$PKGCONFIG ruby-1.9 --cflags` + fi ++ fi ++ if test -z "$RUBY_VERSION"; then ++ RUBY_VERSION=`$PKGCONFIG ruby-2.0 --modversion 2>/dev/null` ++ if test -n "$RUBY_VERSION"; then ++ RUBY_CFLAGS=`$PKGCONFIG ruby-2.0 --cflags` ++ fi + fi + if test -z "$RUBY_VERSION"; then + # pkgconfig file does not exist but might be 1.9.1: RUBY_VERSION defined in ruby/version.h diff --git a/redhat/tdebindings/tdebindings-3.5.13.2.spec b/redhat/tdebindings/tdebindings-3.5.13.2.spec index d862c9b15..6e553c754 100644 --- a/redhat/tdebindings/tdebindings-3.5.13.2.spec +++ b/redhat/tdebindings/tdebindings-3.5.13.2.spec @@ -52,13 +52,19 @@ BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) Source0: %{name}-%{version}%{?preversion:~%{preversion}}.tar.gz # [tdebindings] Fix RUBY path ending with '/' causing fail to install -Patch1: tdebindings-3.5.13.2-fix_ruby_path.patch +Patch1: tdebindings-3.5.13.2-fix_ruby_path.patch + +# [tdebindings] Fix ruby 2.x detection +Patch2: tdebindings-3.5.13.2-fix_ruby2_detection.patch + +# [tdebindings] Fix automake 1.13 build issue +Patch3: admin-fix-parallel-test.diff # [kdebindings] Fix FTBFS in dcopjava/bindings -Patch7: kdebindings-3.5.13.1-fix_dcopjava_ldflags.patch +Patch4: kdebindings-3.5.13.1-fix_dcopjava_ldflags.patch # [tdebindings] Function 'rb_frame_this_func' does not exist in RHEL5 -Patch18: kdebindings-3.5.13.1-fix_rhel5_ftbfs.patch +Patch5: kdebindings-3.5.13.1-fix_rhel5_ftbfs.patch BuildRequires: autoconf automake libtool m4 BuildRequires: trinity-tqtinterface-devel >= %{tde_version} @@ -975,19 +981,16 @@ Development files for the TDE bindings. %prep %setup -q -n %{name}-%{version}%{?preversion:~%{preversion}} %patch1 -p1 -b .rubypath -%patch7 -p1 -b .dcopjavaldflags +%patch2 -p1 -b .ruby2 +%patch3 -p1 -b .automake113 +%patch4 -p1 -b .dcopjavaldflags %if "%{?perl_vendorarch}" == "" exit 1 %endif %if 0%{?rhel} >= 4 && 0%{?rhel} <= 5 -%patch18 -p1 -b .ruby -%endif - -# Workarounds strange issue in MGA3 -%if 0%{?mgaversion} == 3 || 0%{?pclinuxos} >= 2013 || 0%{?fedora} >= 19 -%__cp /usr/share/automake-1.13/test-driver admin/ +%patch5 -p1 -b .ruby %endif # Disable kmozilla, it does not build with recent xulrunner (missing 'libmozjs.so') @@ -1019,6 +1022,11 @@ if [ -d /usr/evolution28 ]; then export PKG_CONFIG_PATH="/usr/evolution28/%{_lib}/pkgconfig:${PKG_CONFIG_PATH}" fi +# Warning: openSUSE 13.1: /usr/include/ruby-2.0.0/ruby.h +%if 0%{?suse_version} >= 1310 +EXTRA_INCLUDES="/usr/include/ruby-%{rb20_ver}:/usr/include/ruby-%{rb20_ver}/%{_target}" +%endif + %configure \ --prefix=%{tde_prefix} \ --exec-prefix=%{tde_prefix} \ @@ -1036,7 +1044,7 @@ fi --enable-closure \ --enable-rpath \ \ - --with-extra-includes=%{_includedir}/tqscintilla \ + --with-extra-includes=%{_includedir}/tqscintilla:${EXTRA_INCLUDES} \ --with-extra-libs=%{tde_libdir} \ --with-pythondir=%{_usr} \ \ diff --git a/redhat/tdegraphics/tdegraphics-3.5.13.2.spec b/redhat/tdegraphics/tdegraphics-3.5.13.2.spec index f00f79290..e77f2cb98 100644 --- a/redhat/tdegraphics/tdegraphics-3.5.13.2.spec +++ b/redhat/tdegraphics/tdegraphics-3.5.13.2.spec @@ -1275,10 +1275,11 @@ fi cd build %endif +# Note: the "-L%{tde_libdir}" is required for RHEL5, where poppler is under /opt/trinity. %cmake \ -DCMAKE_BUILD_TYPE="RelWithDebInfo" \ -DCMAKE_C_FLAGS="${RPM_OPT_FLAGS} -DNDEBUG" \ - -DCMAKE_CXX_FLAGS="${RPM_OPT_FLAGS} -DNDEBUG" \ + -DCMAKE_CXX_FLAGS="${RPM_OPT_FLAGS} -DNDEBUG -L%{tde_libdir}" \ -DCMAKE_SKIP_RPATH=OFF \ -DCMAKE_INSTALL_RPATH="%{tde_libdir}" \ -DCMAKE_VERBOSE_MAKEFILE=ON \ diff --git a/redhat/tdelibs/tdelibs-3.5.13.2.spec b/redhat/tdelibs/tdelibs-3.5.13.2.spec index 1bc70e518..727c8defd 100644 --- a/redhat/tdelibs/tdelibs-3.5.13.2.spec +++ b/redhat/tdelibs/tdelibs-3.5.13.2.spec @@ -198,12 +198,16 @@ BuildRequires: xz-devel %endif # Certificates support -%if 0%{?rhel} || 0%{?fedora} -%define cacert %{_sysconfdir}/ssl/certs/ca-certificates.crt +%if 0%{?rhel} >= 6 || 0%{?fedora} +%define cacert %{_sysconfdir}/ssl/certs/ca-certificates.crt Requires: ca-certificates %endif %if 0%{?mgaversion} || 0%{?mdkversion} -%define cacert %{_sysconfdir}/ssl/certs/ca-bundle.crt +%define cacert %{_sysconfdir}/ssl/certs/ca-bundle.crt +Requires: openssl +%endif +%if 0%{?rhel} >= 4 && 0%{?rhel} <= 5 +%define cacert %{_sysconfdir}/pki/tls/certs/ca-bundle.crt Requires: openssl %endif @@ -427,7 +431,7 @@ cd build -DWITH_SUDO_KDESU_BACKEND=OFF \ %{?!with_lzma:-DWITH_LZMA=OFF} \ -DWITH_ASPELL=ON \ - %{?with_hspell:-DWITH_HSPELL=ON} \ + %{?!with_hspell:-DWITH_HSPELL=OFF} \ .. %__make %{?_smp_mflags} || %__make diff --git a/redhat/tdenetwork/tdenetwork-3.5.13.2.spec b/redhat/tdenetwork/tdenetwork-3.5.13.2.spec index 71abbb12e..ed9aa126f 100644 --- a/redhat/tdenetwork/tdenetwork-3.5.13.2.spec +++ b/redhat/tdenetwork/tdenetwork-3.5.13.2.spec @@ -86,16 +86,21 @@ BuildRequires: sqlite-devel BuildRequires: libgadu-devel %endif +# XTST support +%if 0%{?fedora} >= 5 || 0%{?rhel} >= 5 || 0%{?suse_version} +BuildRequires: libXtst-devel +%endif +%if 0%{?mdkversion} || 0%{?mgaversion} +BuildRequires: libxtst-devel +%endif + +# Other stuff %if 0%{?fedora} >= 5 || 0%{?rhel} >= 5 BuildRequires: libXmu-devel BuildRequires: libXScrnSaver-devel -BuildRequires: libXtst-devel BuildRequires: libXxf86vm-devel %endif -%if 0%{?mdkversion} || 0%{?mgaversion} || 0%{?suse_version} -BuildRequires: libxtst-devel -%endif # Wifi support %if "%{?_with_wifi:1}" == "1" diff --git a/redhat/tdepim/tdepim-3.5.13.2.spec b/redhat/tdepim/tdepim-3.5.13.2.spec index 7b58e1c29..dd7780e53 100644 --- a/redhat/tdepim/tdepim-3.5.13.2.spec +++ b/redhat/tdepim/tdepim-3.5.13.2.spec @@ -2218,6 +2218,7 @@ cd build -DCMAKE_SKIP_RPATH=OFF \ -DCMAKE_INSTALL_RPATH="%{tde_libdir}" \ -DCMAKE_VERBOSE_MAKEFILE=ON \ + -DCMAKE_PROGRAM_PATH="%{tde_bindir}" \ \ -DCMAKE_INSTALL_PREFIX=%{tde_prefix} \ -DBIN_INSTALL_DIR=%{tde_bindir} \ |