--- manpages-tr-1.0.5.1.orig/debian/README.source +++ manpages-tr-1.0.5.1/debian/README.source @@ -0,0 +1,2 @@ +This package uses author's custom build mechanism on source/manderle.sh + --- manpages-tr-1.0.5.1.orig/debian/changelog +++ manpages-tr-1.0.5.1/debian/changelog @@ -1,3 +1,52 @@ +manpages-tr (1.0.5.1-3) unstable; urgency=high + + * Conflicting files with man-db removed (Closes: #889805) + * Removed extra timestamps from the build system (Closes: #854293) + * chroot translation moved into man8 (Closes: #856009) + * Fixed an issue which prevents manual prune list generation + + -- Murat Demirten Thu, 08 Feb 2018 13:38:20 +0300 + +manpages-tr (1.0.5.1-2) unstable; urgency=low + + * Patches included (Closes: #540638). + * Packaging must be continue, not orphaned (Closes: #543745) + + -- Murat Demirten Wed, 29 Oct 2009 14:12:18 +0200 + +manpages-tr (1.0.5.1-1.2) unstable; urgency=low + + * Non-maintainer upload to fix an RC bug. + * Apply patch by Nicolas François to fix broken pruning of manpages + (Closes: #526033) - thanks Nicolas! + + -- Holger Levsen Sun, 09 Aug 2009 12:30:16 +0200 + +manpages-tr (1.0.5.1-1.1) unstable; urgency=low + + * Non-maintainer upload to fix a RG bug. + * Fix bashisms (Closes: #485057) + - Thanks to Manuel Prinz for the patch. + + Build-Depend on quilt to manage patch + + -- Raphael Geissert Sat, 28 Jun 2008 14:30:54 -0500 + +manpages-tr (1.0.5.1-1) unstable; urgency=low + + * Fixed debian/rules build error on manpage-tr.files temprorary file. + Closes: #479941 + * Fixed \N'45' problem in man pages. Closes: #478085 + + -- Murat Demirten Thu, 7 May 2008 23:06:14 +0300 + +manpages-tr (1.0.5-1) unstable; urgency=low + + * Added build dependency against locales and xsltproc package due + to the tr_TR.UTF-8 locale requirements at build stage. Added locale-gen + script for generating tr_TR.UTF-8 locale for build. Closes: #477960 + + -- Murat Demirten Sat, 26 Apr 2008 19:28:30 +0300 + manpages-tr (1.0.5) unstable; urgency=low * New upstream version. --- manpages-tr-1.0.5.1.orig/debian/compat +++ manpages-tr-1.0.5.1/debian/compat @@ -1 +1 @@ -4 +7 --- manpages-tr-1.0.5.1.orig/debian/control +++ manpages-tr-1.0.5.1/debian/control @@ -2,8 +2,8 @@ Section: doc Priority: optional Maintainer: Murat Demirten -Build-Depends: debhelper (>= 5.0), zlib1g-dev, libxslt1.1, libxml2 -Standards-Version: 3.7.3 +Build-Depends: debhelper (>= 7), zlib1g-dev, libxslt1.1, libxml2, xsltproc, locales, quilt +Standards-Version: 3.8.3 Package: manpages-tr Architecture: all --- manpages-tr-1.0.5.1.orig/debian/locale-gen +++ manpages-tr-1.0.5.1/debian/locale-gen @@ -0,0 +1,30 @@ +#!/bin/sh + +LOCPATH=`pwd`/locales +export LOCPATH + +[ -d $LOCPATH ] || mkdir -p $LOCPATH + +umask 022 + +echo "Generating locales..." +while read locale charset; do + case $locale in \#*) continue;; esac + [ -n "$locale" -a -n "$charset" ] || continue + echo -n " `echo $locale | sed 's/\([^.\@]*\).*/\1/'`" + echo -n ".$charset" + echo -n `echo $locale | sed 's/\([^\@]*\)\(\@.*\)*/\2/'` + echo -n '...' + if [ -f $LOCPATH/$locale ]; then + input=$locale + else + input=`echo $locale | sed 's/\([^.]*\)[^@]*\(.*\)/\1\2/'` + fi + localedef -i $input -c -f $charset $LOCPATH/$locale #-A /etc/locale.alias + echo ' done'; \ +done < # Not yet updated in Contents file. # +usr/share/man/tr/man1/alc.1 +usr/share/man/tr/man1/alcc.1 +usr/share/man/tr/man1/amule.1 +usr/share/man/tr/man1/amulecmd.1 +usr/share/man/tr/man1/amuled.1 +usr/share/man/tr/man1/amulegui.1 +usr/share/man/tr/man1/amuleweb.1 +usr/share/man/tr/man1/apropos.1 +usr/share/man/tr/man1/calibre.1 +usr/share/man/tr/man1/calibre-customize.1 +usr/share/man/tr/man1/calibredb.1 +usr/share/man/tr/man1/calibre-debug.1 +usr/share/man/tr/man1/calibre-server.1 +usr/share/man/tr/man1/calibre-smtp.1 +usr/share/man/tr/man1/cas.1 usr/share/man/tr/man1/chage.1 +usr/share/man/tr/man1/checkXML.1 usr/share/man/tr/man1/chfn.1 +usr/share/man/tr/man1/dragon.1 +usr/share/man/tr/man1/ebook-convert.1 +usr/share/man/tr/man1/ebook-edit.1 +usr/share/man/tr/man1/ebook-meta.1 +usr/share/man/tr/man1/ebook-polish.1 +usr/share/man/tr/man1/ebook-viewer.1 +usr/share/man/tr/man1/ed2k.1 +usr/share/man/tr/man1/fetch-ebook-metadata.1 +usr/share/man/tr/man1/lexgrog.1 usr/share/man/tr/man1/login.1 +usr/share/man/tr/man1/lrf2lrs.1 +usr/share/man/tr/man1/lrfviewer.1 +usr/share/man/tr/man1/lrs2lrf.1 +usr/share/man/tr/man1/man.1 +usr/share/man/tr/man1/manconv.1 +usr/share/man/tr/man1/manpath.1 +usr/share/man/tr/man1/modem-manager-gui.1 usr/share/man/tr/man1/passwd.1 usr/share/man/tr/man1/su.1 +usr/share/man/tr/man1/wammu.1 +usr/share/man/tr/man1/wammu-configure.1 +usr/share/man/tr/man1/web2disk.1 +usr/share/man/tr/man1/whatis.1 usr/share/man/tr/man1/wipe.1 +usr/share/man/tr/man1/wxcas.1 +usr/share/man/tr/man1/xfce4-terminal.1 +usr/share/man/tr/man1/zsoelim.1 +usr/share/man/tr/man5/manpath.5 usr/share/man/tr/man5/passwd.5 usr/share/man/tr/man5/shadow.5 +usr/share/man/tr/man6/wesnothd-1.12.6 +usr/share/man/tr/man7/kdeoptions.7 +usr/share/man/tr/man7/qtoptions.7 +usr/share/man/tr/man8/accessdb.8 +usr/share/man/tr/man8/catman.8 usr/share/man/tr/man8/groupadd.8 usr/share/man/tr/man8/groupdel.8 usr/share/man/tr/man8/groupmod.8 +usr/share/man/tr/man8/mandb.8 usr/share/man/tr/man8/synaptic.8 usr/share/man/tr/man8/useradd.8 usr/share/man/tr/man8/userdel.8 usr/share/man/tr/man8/usermod.8 +usr/share/man/tr/man8/zemberek-server.8 --- manpages-tr-1.0.5.1.orig/debian/manpages-tr.prune.in +++ manpages-tr-1.0.5.1/debian/manpages-tr.prune.in @@ -1,4 +1,4 @@ -# This file contains all German manpages provided natively by their +# This file contains all Turkish manpages provided natively by their # respective packages. To avoid duplicates, we prune them from our bundle. # The list is obtained from a current Contents file via # --- manpages-tr-1.0.5.1.orig/debian/patches/bashisms.patch +++ manpages-tr-1.0.5.1/debian/patches/bashisms.patch @@ -0,0 +1,30 @@ +Index: manpages-tr-1.0.5.1/source/manderle.sh +=================================================================== +--- manpages-tr-1.0.5.1.orig/source/manderle.sh ++++ manpages-tr-1.0.5.1/source/manderle.sh +@@ -1,8 +1,8 @@ + #!/bin/sh + # + LANG=C gcc -Wall -lz -o xml2man xml2man.c +-mandirs=(1 2 3 4 5 6 7 8) +-for i in ${mandirs[@]}; ++mandirs="1 2 3 4 5 6 7 8" ++for i in ${mandirs}; + do + mkdir ../tr/man$i; + for j in man$i/*; +@@ -10,12 +10,12 @@ do + manfile=`basename $j .$i.xml`; + echo man$i/$manfile.$i derleniyor; + target="../tr/man$i/$manfile.$i"; +- if [ "$1" == "--debianize" ] ++ if [ "$1" = "--debianize" ] + then + ./xml2man $1 $j > ${target}.$1; + iconv -f UTF-8 -t ISO-8859-9 ${target}.$1 > $target; + rm -f ${target}.$1; +- elif [ "$1" == "--utf8" ] ++ elif [ "$1" = "--utf8" ] + then + ./xml2man $1 $j > $target; + else --- manpages-tr-1.0.5.1.orig/debian/patches/chroot-man-page-section-moved +++ manpages-tr-1.0.5.1/debian/patches/chroot-man-page-section-moved @@ -0,0 +1,160 @@ +diff -Nru manpages-tr-1.0.5.1/source/man1/chroot.1.xml ../a/manpages-tr-1.0.5.1/source/man1/chroot.1.xml +--- manpages-tr-1.0.5.1/source/man1/chroot.1.xml 2018-02-08 15:31:49.402286904 +0300 ++++ ../a/manpages-tr-1.0.5.1/source/man1/chroot.1.xml 1970-01-01 02:00:00.000000000 +0200 +@@ -1,76 +0,0 @@ +- +- +- +- +- 1 +- chroot +- Kullanıcı Komutları +- coreutils 6.5 +- Kasım 2006 +- +- +- +- chroot +- özel kök dizini ile komut ya da etkileşimli kabuk çalıştırır +- +- +- +-chroot [yeni-kök-dizini] [komut...] +-chroot [seçenek] +- +- +- +- AÇIKLAMA +- +- Kök dizinini yeni-kök-dizini yaparak komut'u çalıştırır. +- +- +- --help +- Bu yardım iletisini gösterir ve çıkar. +- +- +- --version +- Sürüm bilgilerini gösterir ve çıkar. +- +- +- +- Şayet bir komut verilmez ise, ${SHELL} -i çalıştırılır. (öntanımlı değer: /bin/sh) +- +- +- YAZAN +- Roland McGrath tarafından yazılmıştır. +- +- +- +- GERİBİLDİRİM +- Lütfen, böcekleri ve hataları bug-coreutils@gnu.org adresine bildirin. +- +- +- +- TELİF HAKKI +- +- Telif hakkı © 2006 Free Software Foundation, Inc.Bu bir özgür yazılımdır; GNU Genel Kamu Lisansının <http://www.gnu.org/licenses/gpl.html> koşullarına bağlı kalarak kopyalarını yeniden dağıtabilirsiniz. Yasaların izin verdiği ölçüde hiçbir garantisi yoktur; hatta SATILABİLİRLİĞİ veya ŞAHSİ KULLANIMINIZA UYGUNLUĞU için bile garanti verilmez. +- +- +- +- +- İLGİLİ BELGELER +- +- +-chroot komutu ile ilgili kapsamlı bir kılavuz Texinfo olarak mevcuttur. Şayet info ve chroot yazılımları düzgün bir şekilde sisteminizde mevcutsa, aşağıdaki komut ile bu kılavuzu görüntüleyebilirsiniz. +- +- +- info coreutils chroot +- +- +- +- +- +- ÇEVİREN +- Yalçın Kolukısa yalcink01@yahoo .com, Kasım 2003 +- Kasım 2006'da güncellenmiştir. +- +- +- +diff -Nru manpages-tr-1.0.5.1/source/man8/chroot.8.xml ../a/manpages-tr-1.0.5.1/source/man8/chroot.8.xml +--- manpages-tr-1.0.5.1/source/man8/chroot.8.xml 1970-01-01 02:00:00.000000000 +0200 ++++ ../a/manpages-tr-1.0.5.1/source/man8/chroot.8.xml 2018-02-08 15:25:06.352238794 +0300 +@@ -0,0 +1,76 @@ ++ ++ ++ ++ ++ 8 ++ chroot ++ Kullanıcı Komutları ++ coreutils 6.5 ++ Kasım 2006 ++ ++ ++ ++ chroot ++ özel kök dizini ile komut ya da etkileşimli kabuk çalıştırır ++ ++ ++ ++chroot [yeni-kök-dizini] [komut...] ++chroot [seçenek] ++ ++ ++ ++ AÇIKLAMA ++ ++ Kök dizinini yeni-kök-dizini yaparak komut'u çalıştırır. ++ ++ ++ --help ++ Bu yardım iletisini gösterir ve çıkar. ++ ++ ++ --version ++ Sürüm bilgilerini gösterir ve çıkar. ++ ++ ++ ++ Şayet bir komut verilmez ise, ${SHELL} -i çalıştırılır. (öntanımlı değer: /bin/sh) ++ ++ ++ YAZAN ++ Roland McGrath tarafından yazılmıştır. ++ ++ ++ ++ GERİBİLDİRİM ++ Lütfen, böcekleri ve hataları bug-coreutils@gnu.org adresine bildirin. ++ ++ ++ ++ TELİF HAKKI ++ ++ Telif hakkı © 2006 Free Software Foundation, Inc.Bu bir özgür yazılımdır; GNU Genel Kamu Lisansının <http://www.gnu.org/licenses/gpl.html> koşullarına bağlı kalarak kopyalarını yeniden dağıtabilirsiniz. Yasaların izin verdiği ölçüde hiçbir garantisi yoktur; hatta SATILABİLİRLİĞİ veya ŞAHSİ KULLANIMINIZA UYGUNLUĞU için bile garanti verilmez. ++ ++ ++ ++ ++ İLGİLİ BELGELER ++ ++ ++chroot komutu ile ilgili kapsamlı bir kılavuz Texinfo olarak mevcuttur. Şayet info ve chroot yazılımları düzgün bir şekilde sisteminizde mevcutsa, aşağıdaki komut ile bu kılavuzu görüntüleyebilirsiniz. ++ ++ ++ info coreutils chroot ++ ++ ++ ++ ++ ++ ÇEVİREN ++ Yalçın Kolukısa yalcink01@yahoo .com, Kasım 2003 ++ Kasım 2006'da güncellenmiştir. ++ ++ ++ --- manpages-tr-1.0.5.1.orig/debian/patches/remove-extra-timestamps-for-reprotest +++ manpages-tr-1.0.5.1/debian/patches/remove-extra-timestamps-for-reprotest @@ -0,0 +1,9 @@ +--- a/source/manderle.sh ++++ b/source/manderle.sh +@@ -26,5 +26,5 @@ + then + cp tr/man$i/* ../tr/man$i/ + fi +- gzip -9 ../tr/man$i/*; ++ gzip -9n ../tr/man$i/*; + done --- manpages-tr-1.0.5.1.orig/debian/patches/series +++ manpages-tr-1.0.5.1/debian/patches/series @@ -0,0 +1,4 @@ +bashisms.patch +remove-extra-timestamps-for-reprotest +chroot-man-page-section-moved + --- manpages-tr-1.0.5.1.orig/debian/rules +++ manpages-tr-1.0.5.1/debian/rules @@ -4,6 +4,8 @@ #export DH_VERBOSE=1 +include /usr/share/quilt/quilt.make + MIRRORURL:=http://ftp.de.debian.org/debian CONTENTS_ARCHLIST:=amd64 i386 CONTENTS=$(foreach arch,$(CONTENTS_ARCHLIST),/tmp/manpages-tr.build/Contents-$(arch).gz) @@ -11,6 +13,8 @@ HTTP_GET=$(shell which curl) ifeq (,$(HTTP_GET)) HTTP_GET=$(shell which wget) +else +HTTP_GET += -O endif ifeq (,$(HTTP_GET)) HTTP_GET=$(shell which GET) @@ -28,8 +32,8 @@ else @echo "Retrieving up-to-date $(CONTENTS)" test -d /tmp/manpages-tr.build || mkdir /tmp/manpages-tr.build - cd /tmp/manpages-tr.build; \ - $(HTTP_GET) "$(MIRRORURL)/dists/unstable/`basename $@`" + cd /tmp/manpages-tr.build; $(HTTP_GET) \ + "$(MIRRORURL)/dists/unstable/main/`basename $@`" endif debian/manpages-tr.prune: debian/manpages-tr.prune.in $(CONTENTS) @@ -46,16 +50,17 @@ # Standard rules to follow # -build: +build: patch # Builds the binary package. # empty -clean: +clean: unpatch dh_testdir dh_testroot rm -f build-stamp install-stamp -rm -rf *~ *.orig "#*" debian/manpages-tr debian/*~ debian/files* source/xml2man -rm -rf tr/* + -rm -rf locales/ dh_clean binary-arch: build @@ -64,7 +69,8 @@ dh_testdir dh_testroot dh_installdirs - $(MAKE) deb-build + sh debian/locale-gen + LOCPATH=$(CURDIR)/locales $(MAKE) deb-build # $(MAKE) prefix=`pwd`/debian/manpages-tr/usr/share install # Better use dh_installman, which has the nice feature of turning # all the .so-links to proper symlinks. @@ -78,17 +84,9 @@ grep -v '^#' debian/manpages-tr.prune | while read exists crap; do \ exists=`echo "$$exists" | \ sed -e 's,usr/share/man/tr\.[^/]\+,usr/share/man/tr,'`;\ - test -f `pwd`/debian/manpages-tr/"$$exists" || \ - test -L `pwd`/debian/manpages-tr/"$$exists" && \ - rm -f `pwd`/debian/manpages-tr/"$$exists" || \ - true; \ + rm -f `pwd`/debian/manpages-tr/"$$exists".gz; \ done dh_movefiles --sourcedir=debian/manpages-tr - while read dir; do \ - test -d debian/manpages-tr/$$dir && \ - rmdir debian/manpages-tr/$$dir || \ - true; \ - done < debian/manpages-tr.files dh_installdocs dh_installchangelogs dh_compress