From 4632af2efaeca25d6f940f4287f5e2a04d05d9ad Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sl=C3=A1vek=20Banko?= Date: Sat, 10 Nov 2018 17:29:56 +0100 Subject: DEB: Remove the translation templates update during building. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Slávek Banko (cherry picked from commit 9b3636a76e33273c325c9a515ee779aee1a5088b) --- debian/lenny/tdelibs/debian/cdbs/kde.mk | 8 -------- debian/lenny/tdelibs/debian/control | 4 ++-- debian/lenny/tdelibs/debian/control.in | 4 ++-- debian/lenny/tdelibs/debian/rules | 27 --------------------------- 4 files changed, 4 insertions(+), 39 deletions(-) (limited to 'debian/lenny/tdelibs') diff --git a/debian/lenny/tdelibs/debian/cdbs/kde.mk b/debian/lenny/tdelibs/debian/cdbs/kde.mk index 765560c89..1ac26c4b7 100644 --- a/debian/lenny/tdelibs/debian/cdbs/kde.mk +++ b/debian/lenny/tdelibs/debian/cdbs/kde.mk @@ -73,20 +73,12 @@ debian/stamp-kde-apidox: $(if $(DEB_KDE_APIDOX),+$(DEB_MAKE_INVOKE) apidox) touch $@ -common-install-prehook-impl:: - mkdir -p po - -XGETTEXT=/usr/bin/kde-xgettext EXTRACTATTR=/opt/trinity/bin/extractattr sh $(DEB_SRCDIR)/admin/cvs.sh extract-messages - -for file in po/*pot; do \ - sed "s/charset=CHARSET/charset=UTF-8/" -i $$file; \ - done - common-install-arch common-install-indep:: common-install-kde-apidox common-install-kde-apidox:: $(if $(DEB_KDE_APIDOX),+$(DEB_MAKE_INVOKE) install-apidox DESTDIR=$(DEB_DESTDIR)) clean:: rm -f debian/stamp-kde-apidox - rm -rf po/*.pot # This is a convenience target for calling manually. It's not part of # the build process. diff --git a/debian/lenny/tdelibs/debian/control b/debian/lenny/tdelibs/debian/control index 9d9dbe1d6..ed1628ce2 100644 --- a/debian/lenny/tdelibs/debian/control +++ b/debian/lenny/tdelibs/debian/control @@ -15,7 +15,7 @@ Build-Depends: cdbs (>= 0.4.41ubuntu2), debhelper (>= 7.0.50~), quilt, autotools libtiff-dev, libavahi-client-dev (>= 0.4), x11-xserver-utils, libxml2-dev, libxml2-utils, libxslt1-dev, libavahi-tqt-dev, sharutils, texinfo, libogg-dev, libtqtinterface-dev, - gettext-kde, lsb-release, base-files, sudo, libr-dev, + lsb-release, base-files, sudo, libr-dev, libudev-dev, cmake, libltdl-dev, libmagic-dev Build-Depends-Indep: doxygen, libtqtinterface-doc, graphviz, gsfonts-x11 Standards-Version: 3.8.3 @@ -88,7 +88,7 @@ Depends: tdelibs14-trinity (= ${source:Version}), libart-2.0-dev (>= 4:14.0.0~), libsasl2-dev, libssl-dev, libxcomposite-dev, libtiff-dev, libxml2-dev, libxml2-utils, libxslt1-dev, libavahi-client-dev (>= 0.4), libtqtinterface-dev, - gettext-kde, libr-dev, libudev-dev, libdbus-1-tqt-dev, binutils-dev + libr-dev, libudev-dev, libdbus-1-tqt-dev, binutils-dev Provides: tdelibs-trinity-dev Description: development files for the TDE core libraries This package contains all the headers and other related files needed diff --git a/debian/lenny/tdelibs/debian/control.in b/debian/lenny/tdelibs/debian/control.in index e86a31e55..f9be6c82f 100644 --- a/debian/lenny/tdelibs/debian/control.in +++ b/debian/lenny/tdelibs/debian/control.in @@ -15,7 +15,7 @@ Build-Depends: cdbs (>= 0.4.41ubuntu2), debhelper (>= 5.0.31), quilt, autotools- libtiff-dev, libavahi-client-dev (>= 0.4), libavahi-qt3-dev (>= 0.4), libxml2-dev, libxml2-utils, libxslt1-dev, sharutils, texinfo, - gettext-kde, tdesdk-scripts, lsb-release, base-files, sudo + tdesdk-scripts, lsb-release, base-files, sudo Build-Depends-Indep: doxygen, qt3-doc, graphviz, gsfonts-x11 Standards-Version: 3.7.2 @@ -84,7 +84,7 @@ Depends: tdelibs14 (= ${source:Version}), libart-2.0-dev (>= 2.3.17), libqt3-mt-dev (>= 3:3.3.5), libsasl2-dev, libssl-dev, libtiff-dev, libxml2-dev, libxml2-utils, libxslt1-dev, libavahi-client-dev (>= 0.4), libavahi-qt3-dev (>= 0.4), - gettext-kde, tdesdk-scripts + tdesdk-scripts Provides: tdelibs-dev Replaces: tdebase-dev (<< 4:3.4.0), tdelibs14 (<< 4:3.5.7.dfsg.1-5) Description: development files for the TDE core libraries diff --git a/debian/lenny/tdelibs/debian/rules b/debian/lenny/tdelibs/debian/rules index c582c5be6..3f1383a12 100755 --- a/debian/lenny/tdelibs/debian/rules +++ b/debian/lenny/tdelibs/debian/rules @@ -102,33 +102,6 @@ ifeq (linux,$(DEB_HOST_ARCH_OS)) echo "libasound2-trinity-dev=libasound2-trinity-dev" >> debian/tdelibs14-trinity-dev.substvars endif -common-install-prehook-impl:: - mkdir -p po -# -XGETTEXT=/usr/bin/kde-xgettext EXTRACTATTR=/usr/bin/extractattr sh $(DEB_SRCDIR)/admin/cvs.sh extract-messages -# -for file in po/*pot; do \ -# sed "s/charset=CHARSET/charset=UTF-8/" -i $$file; \ -# done - -# msgcat --use-first tde.pot po/tdelibs.pot > tdelibs.pot-merged -# mv -f tdelibs.pot-merged po/tdelibs.pot - cp -Rp tde.pot po/tdelibs.pot - - # generate .po files for .desktop etc files - if [ -f debian/kubuntu-desktop-i18n/createdesktop.pl ]; then \ - sh debian/kubuntu-desktop-i18n/findfiles LIST; \ - cat LIST; \ - perl debian/kubuntu-desktop-i18n/createdesktop.pl --file-list=LIST --base-dir=. > desktop.$(DEB_SOURCE_PACKAGE).tmp; \ - msguniq --to-code=UTF-8 --no-wrap -o desktop.$(DEB_SOURCE_PACKAGE) desktop.$(DEB_SOURCE_PACKAGE).tmp 2>/dev/null; \ - python debian/kubuntu-desktop-i18n/msgsplit desktop.$(DEB_SOURCE_PACKAGE); \ - mv desktop.$(DEB_SOURCE_PACKAGE) po/desktop_$(DEB_SOURCE_PACKAGE).pot; \ - rm -f desktop.$(DEB_SOURCE_PACKAGE) desktop.$(DEB_SOURCE_PACKAGE).tmp; \ - # add translation domain to files \ - for file in `cat LIST`; do \ - echo X-Ubuntu-Gettext-Domain=desktop_$(DEB_SOURCE_PACKAGE) >> $${file}; \ - done; \ - rm -f LIST; \ - fi - binary-install/tdelibs14-trinity:: mv debian/tmp/opt/trinity/bin/tdecmshell debian/tmp/opt/trinity/bin/tdecmshell.real install -p -D -m755 debian/tmp/opt/trinity/bin/tdecmshell.real debian/tdelibs14-trinity/opt/trinity/bin/tdecmshell.real -- cgit v1.2.1