Branch: master

7b26da83 2014-04-04 14:17:27 François Andriot
RPM Packaging: update build scripts
A redhat/Makefile.r14
A redhat/Makefile.v3.5.13-sru
A redhat/build/configure_repository.sh
A redhat/build/get_rpm_package_name.sh
A redhat/genla.sh
M redhat/build/build_rpm_package.sh
M redhat/build/get_latest_built_package_filename.sh
M redhat/build/get_latest_built_package_version.sh
M redhat/build/install_rpm_package.sh
M redhat/build/is_latest_package_built.sh
M redhat/build/is_latest_package_installed.sh
M redhat/build/update_repository.sh
M redhat/buildenv.sh
M redhat/notes.txt
M redhat/packages.fedora
M redhat/packages.mga
R redhat/build/Makefile.r14
R redhat/build/Makefile.v3.5.13-sru
diff --git a/redhat/Makefile.r14 b/redhat/Makefile.r14
new file mode 100644
index 0000000..57c9d56
--- /dev/null
+++ b/redhat/Makefile.r14
@@ -0,0 +1,619 @@
+SHELL := /bin/bash
+PATH := $(PATH)/build:$(shell pwd)
+TDE_VERSION = 14.0.0
+
+buildpkg = \
+  @echo "Now processing '$(1)' ."; \
+  if ! is_latest_package_installed.sh "$(1)" ${TDE_VERSION}; then \
+    echo "  Package '${1}' is not yet installed."; \
+    if ! is_latest_package_built.sh "$(1)" ${TDE_VERSION}; then \
+      echo "  Building package."; \
+      build_rpm_package.sh "$(1)" ${TDE_VERSION} || exit 1; \
+      echo "  Updating repository."; \
+      update_repository.sh ${TDE_VERSION}; \
+    fi; \
+    echo "Now installing package '$(1)'"; \
+    install_rpm_package.sh "$(1)" || exit 2; \
+  fi; \
+  echo
+
+
+all:	dependencies main libraries applications i18n meta
+dependencies:	tqt3 tqtinterface arts libart_lgpl libcaldav libcarddav sip4-tqt tqca tqca-tls avahi-tqt dbus-tqt dbus-1-tqt akode
+main:	tdelibs tdebase tdeaccessibility tdeadmin tdegames tdemultimedia tdepim tdetoys tdevelop tdeaddons tdeartwork tdebindings tdeedu tdegraphics tdenetwork tdesdk tdeutils tdewebdev
+libraries:	libkdcraw libkexiv2 libkipi libksquirrel libtdeldap libtqt-perl pytdeextensions python-trinity
+applications:	abakus amarok basket bibletime digikam dolphin filelight gtk3-tqt-engine gtk-qt-engine gwenview k3b k9copy kaffeine kaffeine-mozilla kasablanca katapult kbarcode kbfx kbibtex kbiff kbookreader kchmviewer kcmautostart kcmldap kcmldapcontroller kcmldapmanager kcpuload kdbg kdbusnotification kdiff3 kdirstat keep kerberostray kftpgrabber kile kima kiosktool kkbswitch klcddimmer kmplayer kmyfirewall kmymoney knemo knetload knetstats knights knmap knowit knutclient koffice konversation kopete-otr kpicosim kpilot krecipes krename krusader kscope ksensors kshowmail kshutdown ksplash-engine-moodin ksquirrel kstreamripper ksystemlog ktechlab ktorrent kuickshow kvirc kvkbd kvpnc mplayerthumbs piklab potracegui qt4-tqt-theme-engine rosegarden smartcardauth smb4k soundkonverter tde-guidance tdeio-apt tdeio-ftps tdeio-locate tdeio-sword tdeio-umountwrapper tdenetworkmanager tdepowersave tderadio tde-style-lipstik tde-style-qtcurve tdesudo tdesvn tde-systemsettings tdmtheme tellico tork twin-style-crystal wlassistant yakuake
+i18n:	gwenview-i18n k3b-i18n koffice-i18n tde-i18n
+
+
+### Trinity Dependencies
+arts:	tqtinterface esound
+	$(call buildpkg,dependencies/arts)
+
+avahi-tqt:	tqtinterface
+	$(call buildpkg,dependencies/avahi-tqt)
+
+dbus-1-tqt:	tqtinterface
+	$(call buildpkg,dependencies/dbus-1-tqt)
+
+dbus-tqt: tqtinterface
+	$(call buildpkg,dependencies/dbus-tqt)
+
+libart_lgpl:	tqtinterface
+	$(call buildpkg,dependencies/libart-lgpl)
+
+libcaldav: tqtinterface libcurl
+	$(call buildpkg,dependencies/libcaldav)
+
+libcarddav:	tqtinterface libcurl
+	$(call buildpkg,dependencies/libcarddav)
+	
+python-tqt: sip4-tqt tdelibs
+	$(call buildpkg,dependencies/python-tqt)
+
+sip4-tqt:
+	$(call buildpkg,dependencies/sip4-tqt)
+	
+tqca:	tqtinterface
+	$(call buildpkg,dependencies/tqca)
+
+tqca-tls: tqtinterface tqca
+	$(call buildpkg,dependencies/tqca-tls)
+
+tqscintilla: tqca-tls tdelibs
+	$(call buildpkg,dependencies/tqscintilla)
+
+tqt3:
+	$(call buildpkg,dependencies/tqt3)
+
+tqtinterface:	tqt3
+	$(call buildpkg,dependencies/tqtinterface)
+
+# Main packages
+tdeaccessibility:	tdebase tdemultimedia
+	$(call buildpkg,tdeaccessibility)
+
+tdeaddons:	tdebase tdegames tdemultimedia tdenetwork tdepim
+	$(call buildpkg,tdeaddons)
+
+tdeadmin:	tdebase
+	$(call buildpkg,tdeadmin)
+
+tdeartwork:	tdebase
+	$(call buildpkg,tdeartwork)
+
+tdebase:	tdelibs htdig
+	$(call buildpkg,tdebase)
+
+tdebindings:	tdebase tqscintilla
+	$(call buildpkg,tdebindings)
+
+tdeedu:	tdebase
+	$(call buildpkg,tdeedu)
+
+tdegames:	tdebase tdemultimedia
+	$(call buildpkg,tdegames)
+
+tdegraphics:	tdebase poppler
+	$(call buildpkg,tdegraphics)
+
+tdelibs:	tqt3 tqtinterface arts dbus-tqt dbus-1-tqt
+	$(call buildpkg,tdelibs)
+
+tdemultimedia:	tdebase akode
+	$(call buildpkg,tdemultimedia)
+
+tdenetwork:	tdebase
+	$(call buildpkg,tdenetwork)
+
+tdepim:	tdebase libcaldav libcarddav
+	$(call buildpkg,tdepim)
+
+tdesdk:		tdebase tdebindings
+	$(call buildpkg,tdesdk)
+
+tdetoys:	tdebase
+	$(call buildpkg,tdetoys)
+
+tdeutils:	tdebase
+	$(call buildpkg,tdeutils)
+
+tdevelop:	tdebase tdesdk
+	$(call buildpkg,tdevelop)
+
+tdewebdev:	tdebase tdesdk
+	$(call buildpkg,tdewebdev)
+
+### 3rd party libraries and tools
+esound:
+# Build on Mageia only
+ifneq ($(wildcard /etc/mageia-release),)
+	$(call buildpkg,3rdparty/esound)
+endif
+
+gnuchess:
+# Build on CentOS 5 only
+ifneq ($(wildcard /boot/vmlinuz*.el5*),)
+	$(call buildpkg,3rdparty/gnuchess)
+endif
+
+htdig:
+# build on Mageia only
+ifneq ($(wildcard /etc/mageia-release),)
+	$(call buildpkg,3rdparty/htdig)
+endif
+
+imlib1:
+# Do NOT build on Fedora, nor CentOS
+ifeq ($(wildcard /etc/fedora-release),)
+ifeq ($(wildcard /etc/centos-release),)
+ifeq ($(wildcard /boot/vmlinuz*.el5*),)
+	$(call buildpkg,3rdparty/imlib1)
+endif
+endif
+endif
+
+libcurl:
+# Build on CentOS 5 only
+ifneq ($(wildcard /boot/vmlinuz*.el5*),)
+	$(call buildpkg,3rdparty/curl)
+endif
+
+libotr3:
+# Build on Mageia only
+ifneq ($(wildcard /etc/mageia-release),)
+	$(call buildpkg,3rdparty/libotr3)
+endif
+
+lilypond: mftrace
+# Build on CentOS only
+ifneq ($(wildcard /etc/centos-release),)
+	$(call buildpkg,3rdparty/lilypond)
+endif
+
+mftrace:
+# Build on CentOS only
+ifneq ($(wildcard /etc/centos-release),)
+	$(call buildpkg,3rdparty/mftrace)
+endif
+
+pcsc-perl:
+# Build on CentOS and openSUSE only
+ifneq ($(wildcard /etc/centos-release /etc/SuSE-release /boot/vmlinuz*.el5*),)
+	$(call buildpkg,3rdparty/pcsc-perl)
+endif
+
+poppler:
+# Build on CentOS 5 only (vendor-provided Poppler is too old)
+ifneq ($(wildcard /boot/vmlinuz*.el5*),)
+	$(call buildpkg,3rdparty/poppler)
+endif
+
+python-qt3: tdelibs sip
+	$(call buildpkg,3rdparty/python-qt3)
+
+sip:
+# Build on CentOS 5 only (vendor-provided SIP is too old)
+ifneq ($(wildcard /boot/vmlinuz*.el5*),)
+	$(call buildpkg,3rdparty/sip)
+endif
+
+sword:
+# Build on Fedora >= 20 only, or PCLinuxOS
+ifneq ($(wildcard /boot/vmlinuz*.fc20* /etc/pclinuxos-release),)
+	$(call buildpkg,3rdparty/sword)
+endif
+
+torsocks:
+	$(call buildpkg,3rdparty/torsocks)
+
+wv2:
+# Do NOT build on Mageia or openSUSE or PCLINUXOS
+ifeq ($(wildcard /etc/mageia-release /etc/SuSE-release /etc/pclinuxos-release),)
+	$(call buildpkg,3rdparty/wv2)
+endif
+
+### Extra packages
+akode:	tqtinterface
+	$(call buildpkg,extras/akode)
+
+### Trinity Libraries
+kipi-plugins:	tqtinterface libkipi
+	$(call buildpkg,libraries/kipi-plugins)
+
+libkdcraw:	tqtinterface
+	$(call buildpkg,libraries/libkdcraw)
+
+libkexiv2:	tqtinterface
+	$(call buildpkg,libraries/libkexiv2)
+
+libkipi:	tqtinterface
+	$(call buildpkg,libraries/libkipi)
+
+libksquirrel:	tqtinterface
+	$(call buildpkg,libraries/libksquirrel)
+
+libtdeldap:	tqtinterface
+	$(call buildpkg,libraries/libtdeldap)
+
+libtqt-perl:	tqtinterface
+	$(call buildpkg,libraries/libtqt-perl)
+
+mlt:	tqtinterface
+	$(call buildpkg,libraries/mlt)
+
 ** Diff limit reached (max: 250 lines) **
2bccc67f 2014-04-04 15:47:12 François Andriot
RPM Packaging: update 3.5.13.2 packages
A redhat/applications/kaffeine-mozilla/kaffeine-mozilla-3.5.13.2-fix_automake.patch
A redhat/libraries/python-trinity/python-trinity-3.5.13.2-fix_is_private.patch
M redhat/applications/amarok/amarok-3.5.13.2.spec
M redhat/applications/bibletime/bibletime-3.5.13.2.spec
M redhat/applications/k3b/k3b-3.5.13.2.spec
M redhat/applications/kaffeine-mozilla/kaffeine-mozilla-3.5.13.2.spec
M redhat/applications/kaffeine/kaffeine-3.5.13.2.spec
M redhat/applications/kcmautostart/kcmautostart-3.5.13-ftbfs.patch
M redhat/applications/kmplayer/kmplayer-3.5.13.2.spec
M redhat/applications/kmymoney/kmymoney-3.5.13.2.spec
M redhat/applications/kstreamripper/kstreamripper-3.5.13.2.spec
M redhat/applications/kvirc/kvirc-3.5.13.2.spec
M redhat/applications/tde-guidance/tde-guidance-3.5.13.2.spec
M redhat/extras/trinity-desktop/trinity-desktop-3.5.13.2.spec
M redhat/libraries/libksquirrel/libksquirrel-3.5.13.2.spec
M redhat/libraries/python-trinity/python-trinity-3.5.13.2.spec
M redhat/tdeaccessibility/tdeaccessibility-3.5.13.2.spec
M redhat/tdeartwork/tdeartwork-3.5.13.2.spec
M redhat/tdebase/tdebase-3.5.13.2.spec
M redhat/tdebindings/tdebindings-3.5.13.2.spec
M redhat/tdegraphics/tdegraphics-3.5.13.2.spec
M redhat/tdelibs/tdelibs-3.5.13.2.spec
M redhat/tdemultimedia/tdemultimedia-3.5.13.2.spec
M redhat/tdepim/tdepim-3.5.13.2.spec
 ** Diff limit reached (max: 250 lines) **