diff --git a/BENiOKU b/BENiOKU index e591912..b56413f 100644 --- a/BENiOKU +++ b/BENiOKU @@ -1,4 +1,4 @@ -manpages-tr-2.0.3 hakkında (300 dosya) +manpages-tr-2.0.x hakkında Paket içeriği XML belgelerden üretilmiştir. Paketi oluşturan kaynak belgeler ve betikler @@ -38,7 +38,7 @@ https://github.com/TLBP/manpages-tr/issues adresinde "New Issue" düğmesine tıklayıp yeni bir konu açarak isteğinizi belirtebilirsiniz. -9 Kasım 2022 +22 Ocak 2023 Nilgün Belma Bugüner http://github.com/nilgun diff --git a/Makefile b/Makefile index d6c9f2a..5d155c7 100644 --- a/Makefile +++ b/Makefile @@ -1,6 +1,11 @@ +# standart kurulum: +# make clean; make; make install +# + MANDIR = /usr/share/man/tr -all: + +all: ilc ./prepare.sh; # hem paket içinde hem de sistemde varolan dosyaları @@ -27,12 +32,25 @@ uninstall: done; cd -; ilc: - @LANG=C gcc -Wall -o isutf8 isutf8.c; \ - str=`./isutf8`; if [ $$str != "yes" ]; then \ + @str=`./isutf8`; if [ $$str != "yes" ]; then \ echo "Yerel karakter kodlamasi UTF-8 olmak zorunda"; \ exit 1; \ fi clean: - rm -dfr ./tr/* + rm -rf tr + +debclean: clean + debclean + +deb-build: all + +deb-install: + cd tr; for i in man?; do \ + install -d $(DESTDIR)$(MANDIR)/"$$i"; \ + cp -a "$$i"/* $(DESTDIR)$(MANDIR)/"$$i"; \ + done; cd -; + +deb: ilc + debuild diff --git a/debian/changelog b/debian/changelog index 86bd9fa..96d4ecb 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,9 @@ +manpages-tr (2.0.4) unstable; urgency=medium + + * New Release. + + -- Nilgün Belma Bugüner (TLBP) Sat, 21 Jan 2023 18:56:59 +0300 + manpages-tr (1.0.5) unstable; urgency=low * New upstream version. @@ -11,4 +17,3 @@ manpages-tr (1.0.2+cvs20040401-1) unstable; urgency=low * Initial Release. -- Murat Demirten Thu, 1 Apr 2004 01:04:50 +0100 - diff --git a/debian/compat b/debian/compat deleted file mode 100644 index b8626c4..0000000 --- a/debian/compat +++ /dev/null @@ -1 +0,0 @@ -4 diff --git a/debian/control b/debian/control index 91ed6ee..fc7a0cd 100644 --- a/debian/control +++ b/debian/control @@ -1,14 +1,17 @@ Source: manpages-tr Section: doc Priority: optional -Maintainer: Murat Demirten -Build-Depends: debhelper (>= 5.0), zlib1g-dev, libxslt1.1, libxml2 -Standards-Version: 3.7.3 +Maintainer: Nilgün Belma Bugüner (TLBP) +Build-Depends: debhelper-compat (= 13) +Standards-Version: 4.5.1 +Homepage: http://tlbp.org.tr/man/ +Vcs-Git: https://github.com/TLBP/manpages-tr.git +Vcs-Browser: https://github.com/TLBP/manpages-tr +Rules-Requires-Root: no Package: manpages-tr Architecture: all -Suggests: man-browser, manpages -Replaces: dpkg (<< 1.13.2) +Depends: ${misc:Depends} Description: Turkish version of the manual pages This package contains the Linux manual pages translated into Turkish. The following sections are included: @@ -22,3 +25,4 @@ Description: Turkish version of the manual pages * 7 = Conventions and standards, macro packages, etc. (e.g. nroff, ascii). * 8 = System administration commands. + diff --git a/debian/copyright b/debian/copyright index 96d5092..4fc2ed0 100644 --- a/debian/copyright +++ b/debian/copyright @@ -1,12 +1,12 @@ -This package was debianized by Murat Demirten on -Fri, 18 Apr 2008 10:37:04 +0300. +This package was debianized by Nilgün Belma Bugüner on +Sat, 21 Jan 2023 18:56:59 +0300 It was downloaded from -https://github.com/TLBP/manpages-tr +http://sourceforge.net/project/showfiles.php?group_id=61526 Upstream Author: Nilgün Belma Bugüner -Copyright © 2003-2022 Turkish Linux Documentation WG (belgeler.org.tr) +Copyright © 2003-2023 Turkish Linux Documentation WG (belgeler.org.tr) License: Paket içeriğindeki dosyaların ingilizce sürümlerindeki lisans ve telif hakkı diff --git a/debian/docs b/debian/docs deleted file mode 100644 index 3361f34..0000000 --- a/debian/docs +++ /dev/null @@ -1,3 +0,0 @@ -BENiOKU -copyright - diff --git a/debian/manpages-tr.prune b/debian/manpages-tr.prune index 3901d3f..5b25e38 100644 --- a/debian/manpages-tr.prune +++ b/debian/manpages-tr.prune @@ -1,9 +1,5 @@ -# 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 -# -# cp manpages-tr.prune.in manpages-tr.prune -# zgrep -vhE '[^,]doc/manpages-tr?$' Contents-*.gz | grep /man/tr/ | while read file rest; do echo "${file%.gz}"; done | sort | uniq >> manpages-tr.prune # # Note: This list may include files that are not contained in the manpages-tr # distribution at all. @@ -14,21 +10,18 @@ # # [DUPLICATES] # Lists all Turkish man pages contained in other packages. +usr/share/man/tr/man1/apropos.1.gz +usr/share/man/tr/man1/chage.1.gz +usr/share/man/tr/man1/chfn.1.gz +usr/share/man/tr/man1/login.1.gz +usr/share/man/tr/man1/man.1.gz +usr/share/man/tr/man1/passwd.1.gz +usr/share/man/tr/man8/groupadd.8.gz +usr/share/man/tr/man8/groupdel.8.gz +usr/share/man/tr/man8/groupmod.8.gz +usr/share/man/tr/man8/useradd.8.gz +usr/share/man/tr/man8/userdel.8.gz +usr/share/man/tr/man8/usermod.8.gz +# # -# Not yet updated in Contents file. -# -usr/share/man/tr/man1/chage.1 -usr/share/man/tr/man1/chfn.1 -usr/share/man/tr/man1/login.1 -usr/share/man/tr/man1/passwd.1 -usr/share/man/tr/man1/su.1 -usr/share/man/tr/man1/wipe.1 -usr/share/man/tr/man5/passwd.5 -usr/share/man/tr/man5/shadow.5 -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/synaptic.8 -usr/share/man/tr/man8/useradd.8 -usr/share/man/tr/man8/userdel.8 -usr/share/man/tr/man8/usermod.8 +# \ No newline at end of file diff --git a/debian/manpages-tr.prune.in b/debian/manpages-tr.prune.in deleted file mode 100644 index 6776777..0000000 --- a/debian/manpages-tr.prune.in +++ /dev/null @@ -1,19 +0,0 @@ -# This file contains all German 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 -# -# cp manpages-tr.prune.in manpages-tr.prune -# zgrep -vhE '[^,]doc/manpages-tr?$' Contents-*.gz | grep /man/tr/ | while read file rest; do echo "${file%.gz}"; done | sort | uniq >> manpages-tr.prune -# -# Note: This list may include files that are not contained in the manpages-tr -# distribution at all. -# -# [OUTDATED] -# Lists outdated man pages that are manually removed from the distribution. -# -# -# [DUPLICATES] -# Lists all Turkish man pages contained in other packages. -# -# Not yet updated in Contents file. -# diff --git a/debian/rules b/debian/rules index 5983935..ef44040 100755 --- a/debian/rules +++ b/debian/rules @@ -1,96 +1,39 @@ -#! /usr/bin/make -f -# Stolen from the manpages Debian package and heavily hacked to accomodate -# manpages-tr's needs by Daniel Kobras . +#!/usr/bin/make -f +# See debhelper(7) (uncomment to enable) +# output every command that modifies files on the build system. +#export DH_VERBOSE = 1 -#export DH_VERBOSE=1 -MIRRORURL:=http://ftp.de.debian.org/debian -CONTENTS_ARCHLIST:=amd64 i386 -CONTENTS=$(foreach arch,$(CONTENTS_ARCHLIST),/tmp/manpages-tr.build/Contents-$(arch).gz) - -HTTP_GET=$(shell which curl) -ifeq (,$(HTTP_GET)) -HTTP_GET=$(shell which wget) -endif -ifeq (,$(HTTP_GET)) -HTTP_GET=$(shell which GET) -endif - -# -# Convenience rules. Never used in an automated build. Call by hand before -# building a new release. -# - -/tmp/manpages-tr.build/Contents-%: -ifeq (,$(HTTP_GET)) - @echo "Cannot retrieve Contents files without curl, wget, or GET"; \ - exit 1 -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 $@`" -endif - -debian/manpages-tr.prune: debian/manpages-tr.prune.in $(CONTENTS) - cp debian/manpages-tr.prune.in debian/manpages-tr.prune - zgrep -vhE '[^,]doc/manpages-tr?$$' \ - /tmp/manpages-tr.build/Contents-*.gz | \ - grep -E '/man/tr(\.[^/]+)?/' | while read file rest; do \ - echo "$${file%.gz}"; \ - done | sort -u >> debian/manpages-tr.prune - -update-prune: debian/manpages-tr.prune - -# -# Standard rules to follow -# - -build: -# Builds the binary package. -# empty +build: +#empty clean: 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 *stamp debian/files debian/manpages-tr + rm -rf debian/manpages-tr.substvars debian/.debhelper + rm -rf tr/* dh_clean binary-arch: build binary-indep: build + $(MAKE) deb-build dh_testdir dh_testroot - dh_installdirs - $(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. -# dh_installman `find tr/man? -maxdepth 1 -type f` + dh_installdirs $(MAKE) deb-install DESTDIR=$(CURDIR)/debian/manpages-tr -# Uh-uh. Our man pages do not contain a language code, so dh_installman -# treats them as English. Move to proper dir now! -# mv debian/manpages-tr/usr/share/man debian/manpages-tr/usr/share/tr dh_installdirs -A /usr/share/man -# mv debian/manpages-tr/usr/share/tr debian/manpages-tr/usr/share/man/ - grep -v '^#' debian/manpages-tr.prune | while read exists crap; do \ + 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" || true; \ 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_install --sourcedir=debian/manpages-tr + dh_installdocs + dh_installchangelogs dh_compress dh_fixperms dh_link diff --git a/debian/source/format b/debian/source/format new file mode 100644 index 0000000..89ae9db --- /dev/null +++ b/debian/source/format @@ -0,0 +1 @@ +3.0 (native) diff --git a/debian/source/options b/debian/source/options new file mode 100644 index 0000000..3486777 --- /dev/null +++ b/debian/source/options @@ -0,0 +1,2 @@ +compression = "bzip2" +compression-level = 9 \ No newline at end of file diff --git a/isutf8 b/isutf8 index fdc21fc..b935409 100755 Binary files a/isutf8 and b/isutf8 differ diff --git a/isutf8.c b/isutf8.c deleted file mode 100644 index d7ea478..0000000 --- a/isutf8.c +++ /dev/null @@ -1,35 +0,0 @@ -/* - Copyright © 2007 Nilgün Belma Bugüner - - This program is free software; you can redistribute it and/or modify - it under the terms of the GNU General Public License as published by - the Free Software Foundation; either version 2 of the License, or - (at your option) any later version. - - This program is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Public License for more details. - - You should have received a copy of the GNU General Public License - along with this program; if not, write to the Free Software - Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA. -*/ - -#include -#include -#include - -int -main (int argc, char *argv[]) -{ - char *lcl = setlocale (LC_ALL, ""); - - if (strstr(lcl, "UTF-8") == NULL) - puts("no"); - else - puts("yes"); - - - return 0; -} diff --git a/prepare.sh b/prepare.sh index 75772aa..4fc2fdd 100755 --- a/prepare.sh +++ b/prepare.sh @@ -4,7 +4,8 @@ src="source" dest="tr" mandirs=(1 2 3 4 5 6 7 8) -rm -dfr ./$dest/* +rm -dfr ./$dest +mkdir $dest for i in ${mandirs[@]}; do diff --git a/tr/empty b/tr/empty deleted file mode 100644 index e69de29..0000000