From 8d17db2e0995db07518fec7e5fd3a568e9da769c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fran=C3=A7ois=20Andriot?= Date: Tue, 4 Sep 2018 21:44:28 +0200 Subject: [PATCH] RPM: update packages for PCLinuxOS 2018 --- redhat/Makefile.r14 | 44 +++++++++---------- .../bibletime/bibletime-14.0.0.spec | 5 +++ .../applications/digikam/digikam-14.0.0.spec | 6 +-- .../kcmldapcontroller-14.0.0.spec | 6 +++ .../applications/koffice/koffice-14.0.0.spec | 19 ++++++-- .../kopete-otr/kopete-otr-14.0.0.spec | 5 ++- .../kstreamripper/kstreamripper-14.0.0.spec | 8 ---- redhat/applications/kvirc/kvirc-14.0.0.spec | 2 +- redhat/applications/piklab/piklab-14.0.0.spec | 4 +- .../qalculate-tde/qalculate-tde.spec | 3 ++ .../tdeio-sword/tdeio-sword-14.0.0.spec | 5 +++ .../tdenetworkmanager-14.0.0.spec | 2 + .../tderadio/tderadio-14.0.0.spec | 2 +- redhat/build/configure_repository.sh | 2 +- redhat/build/gather_rpm_sources.sh | 2 +- redhat/build/get_rpm_package_name.sh | 6 +-- redhat/build/get_source_files.sh | 2 +- redhat/buildenv.sh | 2 +- redhat/docker/build.sh | 4 +- redhat/docker/el6/Dockerfile.i686 | 17 ++++--- redhat/docker/el6/Dockerfile.x86_64 | 17 ++++--- redhat/docker/el6/packages.trinity | 2 + redhat/docker/el7/Dockerfile.x86_64 | 2 +- redhat/docker/el7/packages | 9 ++++ redhat/docker/f28/Dockerfile.i686 | 6 +-- redhat/docker/f28/Dockerfile.x86_64 | 3 +- redhat/docker/f28/packages | 1 + redhat/docker/mga6/Dockerfile.i686 | 2 +- redhat/docker/mga6/Dockerfile.x86_64 | 2 +- redhat/docker/mga6/packages.i686 | 2 + redhat/docker/mga6/packages.x86_64 | 1 + redhat/docker/oss150/Dockerfile.x86_64 | 2 +- redhat/docker/oss150/packages | 4 +- redhat/docker/oss423/Dockerfile.x86_64 | 2 +- redhat/docker/oss423/packages | 1 + redhat/docker/osstw/Dockerfile.i686 | 2 +- redhat/docker/osstw/Dockerfile.x86_64 | 2 +- redhat/docker/osstw/packages | 4 ++ redhat/docker/pclinuxos/Dockerfile.x86_64 | 6 +-- redhat/docker/pclinuxos/packages.x86_64 | 8 ++-- redhat/docker/pclinuxos/rpmmacros | 4 +- redhat/docker/run.sh | 5 ++- redhat/extras/fileshareset/fileshareset.spec | 2 +- .../libraries/kipi-plugins/kipi-plugins.spec | 2 +- .../libraries/libkdcraw/libkdcraw-14.0.0.spec | 2 +- redhat/libraries/libkipi/libkipi-14.0.0.spec | 2 +- .../tdebase/pamd.kcheckpass-trinity.pclos2018 | 5 +++ .../tdebase/pamd.kdm-trinity-np.pclos2018 | 7 +++ .../main/tdebase/pamd.kdm-trinity.pclos2018 | 8 ++++ .../pamd.kscreensaver-trinity.pclos2018 | 5 +++ redhat/main/tdebase/tdebase-14.0.0.spec | 1 + .../main/tdebindings/tdebindings-14.0.0.spec | 5 +++ .../main/tdegraphics/tdegraphics-14.0.0.spec | 2 +- redhat/notes.txt | 5 +++ 54 files changed, 185 insertions(+), 94 deletions(-) create mode 100644 redhat/main/tdebase/pamd.kcheckpass-trinity.pclos2018 create mode 100644 redhat/main/tdebase/pamd.kdm-trinity-np.pclos2018 create mode 100644 redhat/main/tdebase/pamd.kdm-trinity.pclos2018 create mode 100644 redhat/main/tdebase/pamd.kscreensaver-trinity.pclos2018 diff --git a/redhat/Makefile.r14 b/redhat/Makefile.r14 index 86678efa7..c248b34e5 100644 --- a/redhat/Makefile.r14 +++ b/redhat/Makefile.r14 @@ -1,7 +1,7 @@ SHELL := /bin/bash PACKAGING_DIR := $(shell cd ..; pwd) PATH := $(PATH):$(shell pwd)/build -TDE_VERSION := 14.0.4 +TDE_VERSION := 14.0.5 DIST := $(shell rpm -E %dist) buildpkg = \ @@ -108,6 +108,7 @@ tdegraphics: tdebase poppler cmake lcms $(call buildpkg,main/tdegraphics) tdelibs: tqt3 tqtinterface arts dbus-tqt dbus-1-tqt cmake avahi-tqt fileshareset trinity-filesystem libart_lgpl file + [ -x /usr/libexec/utempter/utempter ] && sudo chmod a+r /usr/libexec/utempter/utempter || : $(call buildpkg,main/tdelibs) tdemultimedia: tdebase akode @@ -166,8 +167,8 @@ ifneq ($(wildcard /boot/vmlinuz*.el7*),) endif esound: -# Build on Mageia and CentOS >= 7, Fedora >= 23, Opensuse >= 15.0 -ifneq (,$(filter $(DIST),.mga .el7 .fc2 .oss150 .osstw)) +# Build on Mageia, Fedora >= 23, Opensuse >= 15.0 +ifneq (,$(filter $(DIST),.mga5 .mga6 .fc23 .fc24 .fc25 .fc26 .fc27 .oss150 .osstw)) $(call buildpkg,3rdparty/esound) endif @@ -190,8 +191,8 @@ ifneq (,$(filter $(DIST),.el5)) endif gnuchess: -# Build on CentOS 5, CentOS 7 -ifneq (,$(filter $(DIST),.el5 .el7)) +# Build on CentOS 5 +ifneq (,$(filter $(DIST),.el5)) $(call buildpkg,3rdparty/gnuchess) endif @@ -210,8 +211,8 @@ endif endif lcms: -# Build on EL7, OSSTW -ifneq (,$(filter $(DIST),.el7 .osstw)) +# Build on EL7, OSS150, OSSTW +ifneq (,$(filter $(DIST),.el7 .oss150 .osstw)) $(call buildpkg,3rdparty/lcms) endif @@ -252,8 +253,8 @@ ifneq (,$(filter $(DIST),.oss131 .oss132 .oss421 .oss422 .oss423 .oss150 .osstw) endif pcsc-perl: -# Build on CentOS -ifneq (,$(filter $(DIST),.el5 .el6 .el7)) +# Build on CentOS 5 +ifneq (,$(filter $(DIST),.el5)) $(call buildpkg,3rdparty/pcsc-perl) endif @@ -310,7 +311,7 @@ endif wv2: # Do NOT build on Mageia or openSUSE or PCLINUXOS -ifeq (,$(filter $(DIST), .mga5 .mga6 .oss421 .oss422 .oss423 .oss150 .osstw .pclos)) +ifeq (,$(filter $(DIST), .mga5 .mga6 .oss421 .oss422 .oss423 .oss150 .osstw .pclos .pclos2018)) $(call buildpkg,3rdparty/wv2) endif @@ -337,10 +338,7 @@ libksquirrel: tdelibs $(call buildpkg,libraries/libksquirrel) libtdeldap: tqtinterface -# Do NOT build on PCLOS -ifeq ($(wildcard /etc/pclinuxos-release),) $(call buildpkg,libraries/libtdeldap) -endif libtqt-perl: tqtinterface $(call buildpkg,libraries/libtqt-perl) @@ -452,20 +450,20 @@ kcmautostart: tdebase $(call buildpkg,applications/kcmautostart) kcmldap: tdebase libtdeldap -# Do NOT build on CentOS 5, PCLinuxOS -ifeq (,$(filter $(DIST),.el5 .pclos)) +# Do NOT build on CentOS 5 +ifeq (,$(filter $(DIST),.el5)) $(call buildpkg,applications/kcmldap) endif kcmldapcontroller: tdebase kcmldap -# Do NOT build on CentOS 5, PCLinuxOS -ifeq (,$(filter $(DIST),.el5 .pclos)) +# Do NOT build on CentOS 5 +ifeq (,$(filter $(DIST),.el5)) $(call buildpkg,applications/kcmldapcontroller) endif kcmldapmanager: tdebase kcmldap -# Do NOT build on CentOS 5, PCLinuxOS -ifeq (,$(filter $(DIST),.el5 .pclos)) +# Do NOT build on CentOS 5 +ifeq (,$(filter $(DIST),.el5)) $(call buildpkg,applications/kcmldapmanager) endif @@ -491,8 +489,8 @@ keep: tdebase rdiff-backup $(call buildpkg,applications/keep) kerberostray: tdebase -# Do NOT build on CentOS 5, PCLinuxOS -ifeq (,$(filter $(DIST),.el5 .pclos)) +# Do NOT build on CentOS 5 +ifeq (,$(filter $(DIST),.el5)) $(call buildpkg,applications/kerberostray) endif @@ -578,7 +576,9 @@ kooldock: tdebase $(call buildpkg,applications/kooldock) kopete-otr: tdebase tdenetwork +ifeq (,$(filter $(DIST),.pclos2018)) $(call buildpkg,applications/kopete-otr) +endif kpicosim: tdebase $(call buildpkg,applications/kpicosim) @@ -850,7 +850,7 @@ mathemagics: $(call buildpkg,extras/mathemagics) pan: gmime intltool -ifeq (,$(filter $(DIST),.el5 .oss150 .osstw))) +ifeq (,$(filter $(DIST),.el5 .oss150 .osstw)) $(call buildpkg,3rdparty/pan) endif diff --git a/redhat/applications/bibletime/bibletime-14.0.0.spec b/redhat/applications/bibletime/bibletime-14.0.0.spec index 39142c59a..c6a0991a1 100644 --- a/redhat/applications/bibletime/bibletime-14.0.0.spec +++ b/redhat/applications/bibletime/bibletime-14.0.0.spec @@ -15,6 +15,11 @@ # Please submit bugfixes or comments via http://www.trinitydesktop.org/ # +# Required for PCLinuxOS: removes the ldflag '--no-undefined' +%if 0%{?pclinuxos} +%define _disable_ld_no_undefined 1 +%endif + # TDE variables %define tde_epoch 2 %if "%{?tde_version}" == "" diff --git a/redhat/applications/digikam/digikam-14.0.0.spec b/redhat/applications/digikam/digikam-14.0.0.spec index 9be888095..dc95cb8c7 100644 --- a/redhat/applications/digikam/digikam-14.0.0.spec +++ b/redhat/applications/digikam/digikam-14.0.0.spec @@ -84,7 +84,7 @@ BuildRequires: brp-check-trinity %endif # LCMS support -%if 0%{?suse_version} +%if 0%{?suse_version} || 0%{?rhel} >= 7 BuildRequires: liblcms-devel %else BuildRequires: lcms-devel @@ -308,9 +308,9 @@ Requires: %{name} = %{?epoch:%{epoch}:}%{version}-%{release} %lang(nl) %{tde_tdedocdir}/HTML/nl/digikam/ %lang(nl) %{tde_tdedocdir}/HTML/nl/showfoto/ %lang(pt_BR) %{tde_tdedocdir}/HTML/pt_BR/digikam/ -#%lang(pt_BR) %{tde_tdedocdir}/HTML/pt_BR/showfoto/ +#lang(pt_BR) %{tde_tdedocdir}/HTML/pt_BR/showfoto/ %lang(ru) %{tde_tdedocdir}/HTML/ru/digikam/ -#%lang(ru) %{tde_tdedocdir}/HTML/ru/showfoto/ +#lang(ru) %{tde_tdedocdir}/HTML/ru/showfoto/ %lang(sv) %{tde_tdedocdir}/HTML/sv/digikam/ %lang(sv) %{tde_tdedocdir}/HTML/sv/showfoto/ diff --git a/redhat/applications/kcmldapcontroller/kcmldapcontroller-14.0.0.spec b/redhat/applications/kcmldapcontroller/kcmldapcontroller-14.0.0.spec index 784e05593..88a889e4e 100644 --- a/redhat/applications/kcmldapcontroller/kcmldapcontroller-14.0.0.spec +++ b/redhat/applications/kcmldapcontroller/kcmldapcontroller-14.0.0.spec @@ -134,8 +134,10 @@ This is a TDE control center module to manage users, groups, and machines in Ker %defattr(-,root,root,-) %doc AUTHORS ChangeLog COPYING %{tde_bindir}/primaryrccertupdater +%if 0%{?pclinuxos} == 0 %{tde_libdir}/slapi-acl-manager.la %{tde_libdir}/slapi-acl-manager.so +%endif %{tde_tdelibdir}/kcm_ldapcontroller.la %{tde_tdelibdir}/kcm_ldapcontroller.so %{tde_tdeappdir}/ldapcontroller.desktop @@ -155,6 +157,10 @@ This is a TDE control center module to manage users, groups, and machines in Ker %prep %setup -q -n %{name}-%{tde_version}%{?preversion:~%{preversion}} +%if 0%{?pclinuxos} +%__rm -rf acl-updater +%endif + %__cp -f "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" %__cp -f "/usr/share/libtool/"*"/ltmain.sh" "admin/ltmain.sh" || %__cp -f "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh" %__make -f "admin/Makefile.common" diff --git a/redhat/applications/koffice/koffice-14.0.0.spec b/redhat/applications/koffice/koffice-14.0.0.spec index 1404ebb31..ce0cec112 100644 --- a/redhat/applications/koffice/koffice-14.0.0.spec +++ b/redhat/applications/koffice/koffice-14.0.0.spec @@ -113,16 +113,27 @@ BuildRequires: OpenEXR-devel BuildRequires: libexif-devel BuildRequires: readline-devel +# LCMS support +%if 0%{?suse_version} || 0%{?rhel} >= 7 +BuildRequires: liblcms-devel +%else +BuildRequires: lcms-devel +%endif + +# LCMS2 support %if 0%{?suse_version} -BuildRequires: libbz2-devel -BuildRequires: liblcms-devel BuildRequires: liblcms2-devel +%endif + +# BZIP2 support +%if 0%{?suse_version} +BuildRequires: libbz2-devel %else BuildRequires: bzip2-devel -BuildRequires: lcms-devel +%endif +# PAPER support BuildRequires: libpaper-devel -%endif # RUBY support %if 0%{?with_ruby} diff --git a/redhat/applications/kopete-otr/kopete-otr-14.0.0.spec b/redhat/applications/kopete-otr/kopete-otr-14.0.0.spec index 4f58698e2..602ab32c3 100644 --- a/redhat/applications/kopete-otr/kopete-otr-14.0.0.spec +++ b/redhat/applications/kopete-otr/kopete-otr-14.0.0.spec @@ -33,9 +33,10 @@ %define tde_tdeincludedir %{tde_includedir}/tde %define tde_tdelibdir %{tde_libdir}/trinity -# Required for Mageia 2: removes the ldflag '--no-undefined' +# Required for Mageia 6: removes the ldflag '--no-undefined' +%if 0%{?mgaversion} >= 6 || 0%{?pclinuxos} >= 2018 %define _disable_ld_no_undefined 1 - +%endif Name: trinity-%{tde_pkg} Epoch: %{tde_epoch} diff --git a/redhat/applications/kstreamripper/kstreamripper-14.0.0.spec b/redhat/applications/kstreamripper/kstreamripper-14.0.0.spec index 58b1d9be9..5eea800eb 100644 --- a/redhat/applications/kstreamripper/kstreamripper-14.0.0.spec +++ b/redhat/applications/kstreamripper/kstreamripper-14.0.0.spec @@ -108,14 +108,6 @@ you with managing/ripping your preferred streams. unset QTDIR QTINC QTLIB export PATH="%{tde_bindir}:${PATH}" -# Force running 'tmoc' on all header files -for h in "src/"*".h"; do - moc="${h/.h/.moc}" - tmoc "${h}" -o "${moc}" - cpp="${h/.h/.cpp}" - echo "#include \"${moc##*/}\"" >>"${cpp}" -done - export QTDIR=/usr python2 /usr/bin/scons configure prefix="%{_prefix}" python2 /usr/bin/scons %{?_smp_mflags} diff --git a/redhat/applications/kvirc/kvirc-14.0.0.spec b/redhat/applications/kvirc/kvirc-14.0.0.spec index 63b743791..fd781dae3 100644 --- a/redhat/applications/kvirc/kvirc-14.0.0.spec +++ b/redhat/applications/kvirc/kvirc-14.0.0.spec @@ -181,7 +181,7 @@ export PATH="%{tde_bindir}:${PATH}" %__make symlinks -C src/kvilib/build %__make symlinks -C src/kvirc/build -%if 0%{?mgaversion} >= 6 +%if 0%{?mgaversion} >= 6 || 0%{?pclinuxos} >= 2018 %__sed -i "src/modules/"*"/Makefile" -e "s|-Wl,--no-undefined||" %endif diff --git a/redhat/applications/piklab/piklab-14.0.0.spec b/redhat/applications/piklab/piklab-14.0.0.spec index 8a646a921..7bcffe525 100644 --- a/redhat/applications/piklab/piklab-14.0.0.spec +++ b/redhat/applications/piklab/piklab-14.0.0.spec @@ -140,13 +140,13 @@ export PATH="%{tde_bindir}:${PATH}" --disable-libreadline \ %endif -%if 0%{?mgaversion} >= 6 +%if 0%{?mgaversion} >= 6 || 0%{?pclinuxos} >= 2018 touch "src/devices/pic/xml_data/Makefile.in" "src/devices/mem24/xml_data/Makefile.in" %endif %__make %{?_smp_mflags} -%if 0%{?mgaversion} >= 6 +%if 0%{?mgaversion} >= 6 || 0%{?pclinuxos} >= 2018 touch "src/devices/pic/xml_data/Makefile.in" "src/devices/mem24/xml_data/Makefile.in" %endif diff --git a/redhat/applications/qalculate-tde/qalculate-tde.spec b/redhat/applications/qalculate-tde/qalculate-tde.spec index b0079234e..365e96bd8 100644 --- a/redhat/applications/qalculate-tde/qalculate-tde.spec +++ b/redhat/applications/qalculate-tde/qalculate-tde.spec @@ -71,6 +71,9 @@ BuildRequires: libqalculate-devel >= 0.9.6 %if 0%{?suse_version} == 1330 || 0%{?suse_version} >= 1500 BuildRequires: cln-devel %endif +%if 0%{?pclinuxos} >= 2018 +BuildRequires: libcln-devel +%endif # SUSE desktop files utility %if 0%{?suse_version} diff --git a/redhat/applications/tdeio-sword/tdeio-sword-14.0.0.spec b/redhat/applications/tdeio-sword/tdeio-sword-14.0.0.spec index d8fca2d0e..45275c610 100644 --- a/redhat/applications/tdeio-sword/tdeio-sword-14.0.0.spec +++ b/redhat/applications/tdeio-sword/tdeio-sword-14.0.0.spec @@ -15,6 +15,11 @@ # Please submit bugfixes or comments via http://www.trinitydesktop.org/ # +# Required for PCLinuxOS: removes the ldflag '--no-undefined' +%if 0%{?pclinuxos} >= 2018 +%define _disable_ld_no_undefined 1 +%endif + # TDE variables %define tde_epoch 2 %if "%{?tde_version}" == "" diff --git a/redhat/applications/tdenetworkmanager/tdenetworkmanager-14.0.0.spec b/redhat/applications/tdenetworkmanager/tdenetworkmanager-14.0.0.spec index f38ca7434..02cd9c010 100644 --- a/redhat/applications/tdenetworkmanager/tdenetworkmanager-14.0.0.spec +++ b/redhat/applications/tdenetworkmanager/tdenetworkmanager-14.0.0.spec @@ -93,8 +93,10 @@ Requires: NetworkManager-gnome Requires: networkmanager %endif %if 0%{?rhel} || 0%{?fedora} || 0%{?mdkversion} || 0%{?mgaversion} +%if 0%{?pclinuxos} == 0 BuildRequires: NetworkManager-glib-devel %endif +%endif %if 0%{?suse_version} BuildRequires: NetworkManager-devel Requires: NetworkManager diff --git a/redhat/applications/tderadio/tderadio-14.0.0.spec b/redhat/applications/tderadio/tderadio-14.0.0.spec index 8754b1fd0..7b15298df 100644 --- a/redhat/applications/tderadio/tderadio-14.0.0.spec +++ b/redhat/applications/tderadio/tderadio-14.0.0.spec @@ -182,7 +182,7 @@ export PATH="%{tde_bindir}:${PATH}" --enable-alsa \ --enable-oss -%if 0%{?mgaversion} >= 6 +%if 0%{?mgaversion} >= 6 || 0%{?pclinuxos} >= 2018 %__sed -i "tderadio3/plugins/"*"/Makefile" -e "s|-Wl,--no-undefined||" %endif diff --git a/redhat/build/configure_repository.sh b/redhat/build/configure_repository.sh index c40e64b64..d280319f0 100755 --- a/redhat/build/configure_repository.sh +++ b/redhat/build/configure_repository.sh @@ -43,5 +43,5 @@ fi if [ -x "/usr/bin/apt-get" ]; then [ ! -L "${RPMDIR}/RPMS.${ARCH}" ] && ln -sf "${ARCH}" "${RPMDIR}/RPMS.${ARCH}" [ ! -L "${RPMDIR}/RPMS.noarch" ] && ln -sf "noarch" "${RPMDIR}/RPMS.noarch" - echo "rpm file:${RPMDIR%/*} ${RPMDIR##*/} ${ARCH} noarch" >"/etc/apt/sources.list.d/rpmbuild.list" + echo "rpm file:${RPMDIR%/*} ${RPMDIR##*/} ${ARCH} noarch" | sudo tee "/etc/apt/sources.list.d/rpmbuild.list" fi diff --git a/redhat/build/gather_rpm_sources.sh b/redhat/build/gather_rpm_sources.sh index decabea84..98b67cbdc 100755 --- a/redhat/build/gather_rpm_sources.sh +++ b/redhat/build/gather_rpm_sources.sh @@ -6,7 +6,7 @@ PKGNAME="${1%/}" PKGNAME="${PKGNAME##*/}" -TDE_VERSION="${2:-14.0.4}" +TDE_VERSION="${2:-14.0.5}" TARGETDIR="${3:-/tmp/${PKGNAME}-${TDE_VERSION}}" DIST="$4" diff --git a/redhat/build/get_rpm_package_name.sh b/redhat/build/get_rpm_package_name.sh index 91b211fd3..2989aebef 100755 --- a/redhat/build/get_rpm_package_name.sh +++ b/redhat/build/get_rpm_package_name.sh @@ -21,8 +21,6 @@ case "${PKGNAME}" in "trinity-"*) PREFIX="";; # Most TDE dependencies have no prefix "avahi-tqt"|"dbus-tqt"|"dbus-1-tqt"|"libart-lgpl"|"libcaldav"|"libcarddav"|"python-tqt"|"sip4-tqt"|"qt3"|"tqscintilla"|"tqt3"|"tqtinterface"|"tqca"|"tqca-tls") PREFIX="";; - # Most TDE libraries have no prefix - #"libkdcraw") PREFIX="";; # 3rd party dependencies "cscope"|"dirmngr"|"esound"|"exempi"|"file"|"fileshareset"|"gmime"|"hk_classes"|"intltool"|"lcms"|"mp4v2"|"python-qt3"|"rdesktop"|"recode"|"rdiff-backup"|"sword"|"tar") PREFIX="";; # Extra build stuff @@ -46,7 +44,7 @@ case "${PKGNAME}" in "dbus-tqt") PKGRUNTIME="${lib}dbus-tqt-1-0";; "dbus-1-tqt") PKGRUNTIME="${lib}dbus-1-tqt0";; "digikam") PKGRUNTIME="digikam-i18n";; - "esound") PKGRUNTIME="libesd0";; + "esound") PKGRUNTIME="${lib}esd0";; "imlib1") PKGRUNTIME="${lib}Imlib1";; "knetworkmanager8") PKGRUNTIME="knetworkmanager";; "koffice") PKGRUNTIME="koffice-suite";; @@ -86,7 +84,7 @@ if [ -n "${DEVEL}" ]; then # Some other packags NOT having development package case "${PKGNAME}" in - "autoconf"|"automake"|"cmake"|"cscope"|"hal-info"|"lilypond"|"m4"|"mftrace"|"pcsc-perl"|"rdesktop"|"recode"|"rdiff-backup"|"torsocks") exit 0;; + "autoconf"|"automake"|"cmake"|"cscope"|"gnuchess"|"hal-info"|"lilypond"|"m4"|"mftrace"|"pcsc-perl"|"rdesktop"|"recode"|"rdiff-backup"|"torsocks") exit 0;; "tqca-tls"|"tdeadmin"|"tdetoys"|"tde-i18n"*|"tdeaddons"|"tdeartwork"|"libtqt-perl"|"kipi-plugins") exit 0;; esac diff --git a/redhat/build/get_source_files.sh b/redhat/build/get_source_files.sh index 668a5774c..2e30edc9b 100755 --- a/redhat/build/get_source_files.sh +++ b/redhat/build/get_source_files.sh @@ -1,7 +1,7 @@ #!/bin/bash PKGNAME="${1##*/}" -TDE_VERSION="${2:-14.0.4}" +TDE_VERSION="${2:-14.0.5}" DIST="$3" [ -z "${PKGNAME}" ] && echo "You must specify a package name !" && exit 1 diff --git a/redhat/buildenv.sh b/redhat/buildenv.sh index 370b8f16e..02f4e19f8 100644 --- a/redhat/buildenv.sh +++ b/redhat/buildenv.sh @@ -3,7 +3,7 @@ # This file can be sourced in your .bashrc TDE_BASEDIR=~/tde -[ -z "${TDE_VERSION}" ] && TDE_VERSION="14.0.4" +[ -z "${TDE_VERSION}" ] && TDE_VERSION="14.0.5" TDE_GITBASESRC=${TDE_BASEDIR}/tde_master TDE_GITBASEPKG=${TDE_BASEDIR}/tde-packaging/redhat TDE_TARBALLS=${TDE_BASEDIR}/tde-tarballs/${TDE_VERSION} diff --git a/redhat/docker/build.sh b/redhat/docker/build.sh index a48b281cd..9aeb60f5a 100755 --- a/redhat/docker/build.sh +++ b/redhat/docker/build.sh @@ -4,10 +4,10 @@ DISTRIB="$1" TDE_VERSION="$2" ARCH="$3" -[ -z "${TDE_VERSION}" ] && TDE_VERSION="14.0.4" +[ -z "${TDE_VERSION}" ] && TDE_VERSION="14.0.5" [ -z "${ARCH}" ] && ARCH="x86_64" IMAGE="trinity.${DISTRIB}.${ARCH}:${TDE_VERSION}" -docker rmi -f "${IMAGE}" +#docker rmi -f "${IMAGE}" docker build -t "${IMAGE}" -f "${DISTRIB}/Dockerfile.${ARCH}" --build-arg TDE_VERSION="${TDE_VERSION}" --build-arg ARCH="${ARCH}" "${DISTRIB}" diff --git a/redhat/docker/el6/Dockerfile.i686 b/redhat/docker/el6/Dockerfile.i686 index b1e12529f..e8e4dbb8d 100644 --- a/redhat/docker/el6/Dockerfile.i686 +++ b/redhat/docker/el6/Dockerfile.i686 @@ -1,22 +1,25 @@ FROM centos32:6 -ARG TDE_VERSION=14.0.4 +ARG TDE_VERSION=14.0.5 ARG ARCH=i686 +RUN echo "proxy=http://proxy:3128" >>/etc/yum.conf + # Add EPEL repository -RUN yum install -y epel-release +RUN yum -y install epel-release # Add NUX repository RUN rpm -Uvh http://li.nux.ro/download/nux/dextop/el6/x86_64/nux-dextop-release-0-2.el6.nux.noarch.rpm # Install Trinity build dependencies -ADD packages.trinity /etc/yum.repos.d/packages -RUN setarch ${ARCH} yum update -y -RUN setarch ${ARCH} yum install -y $(>/etc/yum.conf + # Add EPEL repository -RUN yum install -y epel-release +RUN yum -y install epel-release # Add NUX repository RUN rpm -Uvh http://li.nux.ro/download/nux/dextop/el6/x86_64/nux-dextop-release-0-2.el6.nux.noarch.rpm # Install Trinity build dependencies -ADD packages.trinity /etc/yum.repos.d/packages -RUN yum update -y -RUN yum install -y $(>"/etc/yum.conf" +RUN echo "proxy=http://proxy:3128" >>"/etc/dnf.conf" # Add RPMFUSION repository RUN rpm -Uvh https://download1.rpmfusion.org/free/fedora/rpmfusion-free-release-28.noarch.rpm @@ -11,7 +11,7 @@ RUN rpm -Uvh https://download1.rpmfusion.org/free/fedora/rpmfusion-free-release- # Install Trinity build dependencies RUN setarch i686 dnf update -y ADD packages /packages -#RUN setarch i686 dnf install -y texlive-base +RUN touch /var/lib/rpm/* RUN setarch i686 dnf install -y $(>"/etc/dnf.conf" @@ -11,6 +11,7 @@ RUN rpm -Uvh https://download1.rpmfusion.org/free/fedora/rpmfusion-free-release- # Install Trinity build dependencies RUN dnf update -y ADD packages /packages +RUN touch /var/lib/rpm/* RUN dnf install -y $(= 27 -%define debug_package %{nil} +%global debug_package %{nil} %endif Name: fileshareset diff --git a/redhat/libraries/kipi-plugins/kipi-plugins.spec b/redhat/libraries/kipi-plugins/kipi-plugins.spec index 03355fd2a..6f953fb06 100644 --- a/redhat/libraries/kipi-plugins/kipi-plugins.spec +++ b/redhat/libraries/kipi-plugins/kipi-plugins.spec @@ -99,7 +99,7 @@ BuildRequires: libgpod-devel >= 0.4.2 %endif # LCMS support -%if 0%{?suse_version} +%if 0%{?suse_version} || 0%{?rhel} >= 7 BuildRequires: liblcms-devel %else BuildRequires: lcms-devel diff --git a/redhat/libraries/libkdcraw/libkdcraw-14.0.0.spec b/redhat/libraries/libkdcraw/libkdcraw-14.0.0.spec index 07121ecbb..d3ad7ed60 100644 --- a/redhat/libraries/libkdcraw/libkdcraw-14.0.0.spec +++ b/redhat/libraries/libkdcraw/libkdcraw-14.0.0.spec @@ -66,7 +66,7 @@ BuildRequires: pkgconfig BuildRequires: gettext # LCMS support -%if 0%{?suse_version} +%if 0%{?suse_version} || 0%{?rhel} >= 7 BuildRequires: liblcms-devel %else BuildRequires: lcms-devel diff --git a/redhat/libraries/libkipi/libkipi-14.0.0.spec b/redhat/libraries/libkipi/libkipi-14.0.0.spec index 0d464d566..010aafa52 100644 --- a/redhat/libraries/libkipi/libkipi-14.0.0.spec +++ b/redhat/libraries/libkipi/libkipi-14.0.0.spec @@ -73,7 +73,7 @@ BuildRequires: gettext BuildRequires: gcc-c++ # LCMS support -%if 0%{?suse_version} +%if 0%{?suse_version} || 0%{?rhel} >= 7 BuildRequires: liblcms-devel %else BuildRequires: lcms-devel diff --git a/redhat/main/tdebase/pamd.kcheckpass-trinity.pclos2018 b/redhat/main/tdebase/pamd.kcheckpass-trinity.pclos2018 new file mode 100644 index 000000000..0a37e6e13 --- /dev/null +++ b/redhat/main/tdebase/pamd.kcheckpass-trinity.pclos2018 @@ -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/main/tdebase/pamd.kdm-trinity-np.pclos2018 b/redhat/main/tdebase/pamd.kdm-trinity-np.pclos2018 new file mode 100644 index 000000000..690b4df08 --- /dev/null +++ b/redhat/main/tdebase/pamd.kdm-trinity-np.pclos2018 @@ -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/main/tdebase/pamd.kdm-trinity.pclos2018 b/redhat/main/tdebase/pamd.kdm-trinity.pclos2018 new file mode 100644 index 000000000..87d080f58 --- /dev/null +++ b/redhat/main/tdebase/pamd.kdm-trinity.pclos2018 @@ -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/main/tdebase/pamd.kscreensaver-trinity.pclos2018 b/redhat/main/tdebase/pamd.kscreensaver-trinity.pclos2018 new file mode 100644 index 000000000..0a37e6e13 --- /dev/null +++ b/redhat/main/tdebase/pamd.kscreensaver-trinity.pclos2018 @@ -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/main/tdebase/tdebase-14.0.0.spec b/redhat/main/tdebase/tdebase-14.0.0.spec index 8f8257d54..f87ab705a 100644 --- a/redhat/main/tdebase/tdebase-14.0.0.spec +++ b/redhat/main/tdebase/tdebase-14.0.0.spec @@ -1885,6 +1885,7 @@ group. %{tde_datadir}/apps/tdeio_info/ %{tde_datadir}/apps/tdeio_man/ %{tde_datadir}/apps/systemview/ +%{tde_datadir}/autostart/mediabackend.desktop %{tde_datadir}/config.kcfg/mediamanagersettings.kcfg %{tde_datadir}/mimelnk/application/x-smb-server.desktop %{tde_datadir}/mimelnk/inode/system_directory.desktop diff --git a/redhat/main/tdebindings/tdebindings-14.0.0.spec b/redhat/main/tdebindings/tdebindings-14.0.0.spec index 0f8f25e0a..5256a254d 100644 --- a/redhat/main/tdebindings/tdebindings-14.0.0.spec +++ b/redhat/main/tdebindings/tdebindings-14.0.0.spec @@ -15,6 +15,11 @@ # Please submit bugfixes or comments via http://www.trinitydesktop.org/ # +# Required for PCLinuxOS: removes the ldflag '--no-undefined' +%if 0%{?pclinuxos} +%define _disable_ld_no_undefined 1 +%endif + # BUILD WARNING: # Remove qt-devel and qt3-devel and any kde*-devel on your system ! # Having KDE libraries may cause FTBFS here ! diff --git a/redhat/main/tdegraphics/tdegraphics-14.0.0.spec b/redhat/main/tdegraphics/tdegraphics-14.0.0.spec index 18feb8d21..578aa0d02 100644 --- a/redhat/main/tdegraphics/tdegraphics-14.0.0.spec +++ b/redhat/main/tdegraphics/tdegraphics-14.0.0.spec @@ -215,7 +215,7 @@ BuildRequires: trinity-poppler-devel >= 0.12 %endif # LCMS support -%if 0%{?suse_version} +%if 0%{?suse_version} || 0%{?rhel} >= 7 BuildRequires: liblcms-devel %else BuildRequires: lcms-devel diff --git a/redhat/notes.txt b/redhat/notes.txt index e0f280445..2f2f23fdc 100644 --- a/redhat/notes.txt +++ b/redhat/notes.txt @@ -28,6 +28,11 @@ Bug in /usr/lib[64]/pkgconfig/ruby.pc : missing "ruby_version:" value Should be: ruby_version=2.0.0 +MAGEIA 6: +if tdegraphics fails because of 'nullptr' undefined: +vi /usr/include/poppler/PDFDoc.h +add '#define nullptr NULL' + CENTOS 4 / CENTOS 5 Some mandatory packages are missing or too old.