debmake-doc-1.1/0000775000175000017500000000000012613712701012542 5ustar osamuosamudebmake-doc-1.1/debhello-1.3-pkg1/0000775000175000017500000000000012613712701015457 5ustar osamuosamudebmake-doc-1.1/debhello-1.3-pkg1/step301.cmd0000775000175000017500000000025512613712701017350 0ustar osamuosamuecho " \$ vim ${PROJECT}/debian/rules" echo " ... hack, hack, hack, ..." cp -f ${COMMONDIR}/${PROJECT}/debian/rules ${PROJECT}/debian/rules L "cat ${PROJECT}/debian/rules" debmake-doc-1.1/debhello-1.3-pkg1/step000.cmd0000775000175000017500000000037512613712701017347 0ustar osamuosamu# Fake download session echo " \$ wget http://www.example.org/download/${PROJECT}.tar.gz" echo " ..." # Reality behind scene cp -a ${COMMONDIR}/${PROJECT}.${TGZ} ${TESTDIR} CD ${TESTDIR} >/dev/null cd ${TESTDIR} L "tar -xzmf ${PROJECT}.tar.gz" L "tree" debmake-doc-1.1/debhello-1.3-pkg1/step202.cmd0000775000175000017500000000004112613712701017341 0ustar osamuosamuL "cat ${PROJECT}/debian/rules" debmake-doc-1.1/debhello-1.3-pkg1/step701.cmd0000775000175000017500000000032612613712701017353 0ustar osamuosamuFILE=$(ls *.tar.?z | \ grep -v 'orig.tar.gz' |\ grep -v 'orig.tar.xz' ) for f in $FILE ; do EXT=${f##*.} if [ "$EXT" = "gz" ]; then L "tar -tzf $f" elif [ "$EXT" = "xz" ]; then L "tar --xz -tf $f" else : fi done debmake-doc-1.1/debhello-1.3-pkg1/step299.cmd0000775000175000017500000000012012613712701017357 0ustar osamuosamu# make deb CD .. cd .. L "cp -a ${TESTDIR} debmake" CD ${TESTDIR} cd ${TESTDIR} debmake-doc-1.1/debhello-1.3-pkg1/step600.cmd0000775000175000017500000000003312613712701017344 0ustar osamuosamuCD .. cd .. L "tree -FL 1" debmake-doc-1.1/debhello-1.3-pkg1/step102.cmd0000775000175000017500000000005112613712701017341 0ustar osamuosamuL "cat ${PROJECT}/hello_py/__init__.py" debmake-doc-1.1/debhello-1.3-pkg1/step499.cmd0000775000175000017500000000012012613712701017361 0ustar osamuosamu# make deb CD .. cd .. L "cp -a ${TESTDIR} package" CD ${TESTDIR} cd ${TESTDIR} debmake-doc-1.1/debhello-1.3-pkg1/step400.cmd0000775000175000017500000000003312613712701017342 0ustar osamuosamuL "tree ${PROJECT}/debian" debmake-doc-1.1/debhello-1.3-pkg1/step201.cmd0000775000175000017500000000002512613712701017342 0ustar osamuosamuCD .. cd .. L "tree" debmake-doc-1.1/debhello-1.3-pkg1/step203.cmd0000775000175000017500000000004312613712701017344 0ustar osamuosamuL "cat ${PROJECT}/debian/control" debmake-doc-1.1/debhello-1.3-pkg1/step702.cmd0000775000175000017500000000013412613712701017351 0ustar osamuosamufor deb in *.deb; do L "dpkg -f ${deb} pre-depends depends recommends conflics breaks" done debmake-doc-1.1/debhello-1.3-pkg1/step200.cmd0000775000175000017500000000010712613712701017342 0ustar osamuosamu# Debianize (initial) CD ${PROJECT} cd ${PROJECT} L "debmake -b':py3'" debmake-doc-1.1/debhello-1.3-pkg1/step302.cmd0000775000175000017500000000026512613712701017352 0ustar osamuosamuecho " \$ vim ${PROJECT}/debian/control" echo " ... hack, hack, hack, ..." cp -f ${COMMONDIR}/${PROJECT}/debian/control ${PROJECT}/debian/control L "cat ${PROJECT}/debian/control" debmake-doc-1.1/debhello-1.3-pkg1/step700.cmd0000775000175000017500000000016012613712701017346 0ustar osamuosamufor deb in *.deb; do L "dpkg -c ${deb}" | sed -e 's/root.root...............-..-.. ..:../root\/root ... /' done debmake-doc-1.1/debhello-1.3-pkg1/step103.cmd0000775000175000017500000000003512613712701017344 0ustar osamuosamuL "cat ${PROJECT}/setup.py" debmake-doc-1.1/debhello-1.3-pkg1/step104.cmd0000775000175000017500000000004012613712701017341 0ustar osamuosamuL "cat ${PROJECT}/MANIFEST.in" debmake-doc-1.1/debhello-1.3-pkg1/step101.cmd0000775000175000017500000000004212613712701017340 0ustar osamuosamuL "cat ${PROJECT}/scripts/hello" debmake-doc-1.1/debhello-1.3-pkg1/step500.cmd0000775000175000017500000000011512613712701017344 0ustar osamuosamu# make deb CD ${PROJECT} cd ${PROJECT} echo " \$ debuild" debuild -i -us -uc debmake-doc-1.1/debhello-2.0/0000775000175000017500000000000012613712701014615 5ustar osamuosamudebmake-doc-1.1/debhello-2.0/Makefile.am0000664000175000017500000000010512613712701016645 0ustar osamuosamu# recursively process `Makefile.am` in SUBDIRS SUBDIRS = lib src man debmake-doc-1.1/debhello-2.0/debian/0000775000175000017500000000000012613712701016037 5ustar osamuosamudebmake-doc-1.1/debhello-2.0/debian/control0000664000175000017500000000500312613712701017440 0ustar osamuosamuSource: debhello Section: devel Priority: extra Maintainer: Osamu Aoki Build-Depends: debhelper (>=9), dh-autoreconf Standards-Version: 3.9.6 Homepage: http://anonscm.debian.org/cgit/collab-maint/debmake-doc.git/ Package: debhello Architecture: any Multi-Arch: foreign Depends: libsharedlib1 (= ${binary:Version}), ${misc:Depends}, ${shlibs:Depends} Description: example executable package This is an example package to demonstrate the Debian packaging using the debmake command. . The generated Debian package uses the dh command offered by the debhelper package and the dpkg source format `3.0 (quilt)'. . This package provides the executable program. Package: libsharedlib1 Section: libs Architecture: any Multi-Arch: same Pre-Depends: ${misc:Pre-Depends} Depends: ${misc:Depends}, ${shlibs:Depends} Description: example shared library package This is an example package to demonstrate the Debian packaging using the debmake command. . The generated Debian package uses the dh command offered by the debhelper package and the dpkg source format `3.0 (quilt)'. . This package contains the shared library. Package: libsharedlib-dev Section: libdevel Architecture: any Multi-Arch: same Depends: libsharedlib1 (= ${binary:Version}), ${misc:Depends} Description: example development package This is an example package to demonstrate the Debian packaging using the debmake command. . The generated Debian package uses the dh command offered by the debhelper package and the dpkg source format `3.0 (quilt)'. . This package contains the development files. Package: debhello-dbg Section: debug Architecture: any Multi-Arch: same Depends: debhello (= ${binary:Version}), ${misc:Depends} Description: example debugging package for debhello This is an example package to demonstrate the Debian packaging using the debmake command. . The generated Debian package uses the dh command offered by the debhelper package and the dpkg source format `3.0 (quilt)'. . This package contains the debugging symbols for debhello. Package: libsharedlib1-dbg Section: debug Architecture: any Multi-Arch: same Depends: libsharedlib1 (= ${binary:Version}), ${misc:Depends} Description: example debugging package for libsharedlib1 This is an example package to demonstrate the Debian packaging using the debmake command. . The generated Debian package uses the dh command offered by the debhelper package and the dpkg source format `3.0 (quilt)'. . This package contains the debugging symbols for libsharedlib1. debmake-doc-1.1/debhello-2.0/debian/changelog0000664000175000017500000000522312613712701017713 0ustar osamuosamudebhello (2.0-1) unstable; urgency=low * New upstream release. - C source for an executable with a shared library. - Makefile generated from Makefile.am and configure.ac . -- Osamu Aoki Mon, 12 Jan 2015 02:00:01 +0900 debhello (1.7-1) unstable; urgency=low * New upstream release. - C source for an executable. - Makefile generated from CMakeLists.txt . -- Osamu Aoki Mon, 12 Jan 2015 01:07:01 +0900 debhello (1.6-1) unstable; urgency=low * New upstream release. - C source for an executable. - Makefile generated from Makefile.am and configure.ac . -- Osamu Aoki Mon, 12 Jan 2015 01:06:01 +0900 debhello (1.5-1) unstable; urgency=low * New upstream release. - C source for an executable. - Makefile generated from Makefile.in and ./configure . -- Osamu Aoki Mon, 12 Jan 2015 01:05:01 +0900 debhello (1.4-1) unstable; urgency=low * New upstream release. - C source for an executable. - Makefile not supporting $(DESTDIR) and $(prefix) . -- Osamu Aoki Mon, 12 Jan 2015 01:04:01 +0900 debhello (1.3-1) unstable; urgency=low * New upstream release. - Python3 script with the graphical user interface. - Packaged in Python distutils with setup.py . -- Osamu Aoki Mon, 12 Jan 2015 01:03:01 +0900 debhello (1.2-1) unstable; urgency=low * New upstream release. - Python3 script with the command-line interface. - Packaged in Python distutils with setup.py . -- Osamu Aoki Mon, 12 Jan 2015 01:02:01 +0900 debhello (1.1-1) unstable; urgency=low * New upstream release. - POSIX shell script and data with the graphical user interface. - Makefile supporting $(DESTDIR) and $(prefix) . -- Osamu Aoki Mon, 12 Jan 2015 01:01:01 +0900 debhello (1.0-1) unstable; urgency=low * New upstream release. - POSIX shell script and data. - Makefile supporting $(DESTDIR) and $(prefix) . -- Osamu Aoki Mon, 12 Jan 2015 01:00:01 +0900 debhello (0.2-1) unstable; urgency=low * New upstream release. - POSIX shell script and data without Makefile. -- Osamu Aoki Mon, 12 Jan 2015 00:02:01 +0900 debhello (0.1-1) unstable; urgency=low * New upstream release. - Empty content. -- Osamu Aoki Mon, 12 Jan 2015 00:01:01 +0900 debhello (0.0-1) unstable; urgency=low * Initial release of debhello. Closes: #123456 - C source for an executable. - Makefile supporting $(DESTDIR) and $(prefix)=/usr . -- Osamu Aoki Mon, 12 Jan 2015 00:00:01 +0900 debmake-doc-1.1/debhello-2.0/debian/libsharedlib1.install0000664000175000017500000000002112613712701022125 0ustar osamuosamuusr/lib/*/*.so.* debmake-doc-1.1/debhello-2.0/debian/rules0000775000175000017500000000062012613712701017115 0ustar osamuosamu#!/usr/bin/make -f export DH_VERBOSE = 1 export DEB_BUILD_MAINT_OPTIONS = hardening=+all export DEB_CFLAGS_MAINT_APPEND = -Wall -pedantic export DEB_LDFLAGS_MAINT_APPEND = -Wl,--as-needed %: dh $@ --with autoreconf override_dh_install: dh_install --list-missing -X.la override_dh_strip: dh_strip -Xlibsharedlib1 --dbg-package=debhello-dbg dh_strip -Xdebhello --dbg-package=libsharedlib1-dbg debmake-doc-1.1/debhello-2.0/debian/libsharedlib-dev.install0000664000175000017500000000006712613712701022632 0ustar osamuosamu###usr/lib/*/pkgconfig/*.pc usr/include usr/lib/*/*.so debmake-doc-1.1/debhello-2.0/debian/source/0000775000175000017500000000000012613712701017337 5ustar osamuosamudebmake-doc-1.1/debhello-2.0/debian/source/format0000664000175000017500000000001512613712701020546 0ustar osamuosamu3.0 (quilt) debmake-doc-1.1/debhello-2.0/debian/source/local-options0000664000175000017500000000005212613712701022042 0ustar osamuosamuabort-on-upstream-changes unapply-patches debmake-doc-1.1/debhello-2.0/debian/debhello.install0000664000175000017500000000003212613712701021200 0ustar osamuosamuusr/bin/* usr/share/man/* debmake-doc-1.1/debhello-2.0/debian/README.Debian0000664000175000017500000000031212613712701020074 0ustar osamuosamudebhello upstream package example This is an example upstream package to demonstrate the Debian packaging using the debmake command. -- Osamu Aoki Sun, 11 Jan 2015 00:00:00 +0000 debmake-doc-1.1/debhello-2.0/debian/compat0000664000175000017500000000000212613712701017235 0ustar osamuosamu9 debmake-doc-1.1/debhello-2.0/debian/libsharedlib1.symbols0000664000175000017500000000007512613712701022160 0ustar osamuosamulibsharedlib.so.1 libsharedlib1 #MINVER# sharedlib@Base 2.1 debmake-doc-1.1/debhello-2.0/debian/watch0000664000175000017500000000022412613712701017066 0ustar osamuosamu# When there is no appropriate upstream URL for uscan, it is # the best to have a watch file without any real content as # this file. See uscan(1). debmake-doc-1.1/debhello-2.0/debian/copyright0000664000175000017500000000241512613712701017774 0ustar osamuosamuFormat: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ Upstream-Name: debhello Source: http://anonscm.debian.org/cgit/collab-maint/debmake-doc.git/tree/base Files: * Copyright: 2015 Osamu Aoki License: MIT Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: . The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. . THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. debmake-doc-1.1/debhello-2.0/src/0000775000175000017500000000000012613712701015404 5ustar osamuosamudebmake-doc-1.1/debhello-2.0/src/Makefile.am0000664000175000017500000000055712613712701017447 0ustar osamuosamu# program executables to be produced bin_PROGRAMS = hello # source files used for bin_PROGRAMS hello_SOURCES = hello.c # C pre-processor flags used for bin_PROGRAMS AM_CPPFLAGS = -I$(srcdir) -I$(top_srcdir)/lib # Extra options for the linker for hello # hello_LDFLAGS = # Libraries the `hello` binary to be linked hello_LDADD = $(top_srcdir)/lib/libsharedlib.la debmake-doc-1.1/debhello-2.0/src/hello.c0000664000175000017500000000025112613712701016651 0ustar osamuosamu#include "config.h" #include #include int main() { printf("Hello, I am " PACKAGE_AUTHOR "!\n"); sharedlib(); return 0; } debmake-doc-1.1/debhello-2.0/configure.ac0000664000175000017500000000164412613712701017110 0ustar osamuosamu# -*- Autoconf -*- # Process this file with autoconf to produce a configure script. AC_PREREQ([2.69]) AC_INIT([debhello],[2.2],[foo@example.org]) AC_CONFIG_SRCDIR([src/hello.c]) AC_CONFIG_HEADERS([config.h]) echo "Standard customization chores" AC_CONFIG_AUX_DIR([build-aux]) AM_INIT_AUTOMAKE([foreign]) # Set default to --enable-shared --disable-static LT_INIT([shared disable-static]) # find the libltdl sources in the libltdl sub-directory LT_CONFIG_LTDL_DIR([libltdl]) # choose one LTDL_INIT([recursive]) #LTDL_INIT([subproject]) #LTDL_INIT([nonrecursive]) # Add #define PACKAGE_AUTHOR ... in config.h with a comment AC_DEFINE(PACKAGE_AUTHOR, ["Osamu Aoki"], [Define PACKAGE_AUTHOR]) # Checks for programs. AC_PROG_CC # only for the recursive case AC_CONFIG_FILES([Makefile lib/Makefile man/Makefile src/Makefile]) AC_OUTPUT debmake-doc-1.1/debhello-2.0/lib/0000775000175000017500000000000012613712701015363 5ustar osamuosamudebmake-doc-1.1/debhello-2.0/lib/Makefile.am0000664000175000017500000000063012613712701017416 0ustar osamuosamu# libtool librares to be produced lib_LTLIBRARIES = libsharedlib.la # source files used for lib_LTLIBRARIES libsharedlib_la_SOURCES = sharedlib.c # C pre-processor flags used for lib_LTLIBRARIES #libsharedlib_la_CPPFLAGS = # Headers files to be installed in /include include_HEADERS = sharedlib.h # Versioning Libtool Libraries with version triplets libsharedlib_la_LDFLAGS = -version-info 1:0:0 debmake-doc-1.1/debhello-2.0/lib/sharedlib.c0000664000175000017500000000015012613712701017460 0ustar osamuosamu#include int sharedlib() { printf("This is a shared library!\n"); return 0; } debmake-doc-1.1/debhello-2.0/lib/sharedlib.h0000664000175000017500000000002112613712701017462 0ustar osamuosamuint sharedlib(); debmake-doc-1.1/debhello-2.0/man/0000775000175000017500000000000012613712701015370 5ustar osamuosamudebmake-doc-1.1/debhello-2.0/man/Makefile.am0000664000175000017500000000010712613712701017422 0ustar osamuosamu# manpages (distributed in the source package) dist_man_MANS = hello.1 debmake-doc-1.1/debhello-2.0/man/hello.10000664000175000017500000000067612613712701016566 0ustar osamuosamu.\" Hey, EMACS: -*- nroff -*- .\" (C) Copyright 2015 "Osamu Aoki" , .TH HELLO 1 "2015-01-12" .SH NAME hello \- example executable program .SH SYNOPSIS .B hello .SH DESCRIPTION This is an example executable program to print a short text message to check how the Debian packaging went. .SH OPTIONS None available. .SH SEE ALSO .BR debmake (1) and documentation in the .BR debmake-doc package. debmake-doc-1.1/debhello-2.0/data/0000775000175000017500000000000012613712701015526 5ustar osamuosamudebmake-doc-1.1/debhello-2.0/data/hello.desktop0000664000175000017500000000026512613712701020227 0ustar osamuosamu[Desktop Entry] Name=Hello Name[ja]=こんにちは Comment=Greetings Comment[ja]=挨拶 Type=Application Keywords=hello Exec=hello Terminal=true Icon=hello.png Categories=Utility; debmake-doc-1.1/debhello-2.0/data/hello.png0000664000175000017500000002225412613712701017344 0ustar osamuosamuPNG  IHDR@@iqbKGD pHYs  tIME(/SptEXtCommentCreated with GIMPW IDATxڽkYu[\9{zgg !gpb+JC8R)URv2iJ QNYX)\a┉U)d2 `0@\zOޞٷb, ~/ok%7 .w G9S&宴M+SR=_V[[i+1\q>{;OxgER?0śi+!YWcHׅr%o!e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9Rc!B-3Zl)N()TkSQ)ʉN.BԀ茦i&!6#Ε¡^X8"' (EZɪB/4,k-}_3L~V|{۵~WIPwf<hu\J8jDI 26SSULI03T&p-3k8¬B*󤴀QT ®fƪH8üZXY30;oλ_ g۹}yp/x x ;֎ʿ}چX> L)XN2Bd-Q>i [ UR^<]pʼn@-Z-eYG'FQ*lp+7KfLC¨Ҫe-lZ;`ks}?cu' Qp Oߞ}Ӯ<3%?60m)SB2ʮv]ĶE"livǤ=yq9k9c YETL&?f,I$YC`KJ`悽c w²yM.2m!K;; uZbT_^{G-dE3:)S+U[9 YfH1 bYOC#̍`}XƊJra#63*A*{uK0`{%ؾ'i>| b}aşgO׸ vѼ3f^}SWj n4Qb|6#1lBY肰Ȇ#5U0"%ck̼t Jj*zX(dD&2)1hcImC5 R6:|4 N!"Nw\8qw 微{T ̧qkn)FGuoh%ۡ*mjqG1+?}5t7W;U'P(I7>)bڒEi錾x\iJ%P`au94 M$ב[rͨ1HRFq`;XlccNBp__ 1ӯ[<[WI_֠[G$ ̒Oc1/C+8c$ S'[3Br$ HB`CKmZT>?whſo#S?:q:7WxH4!  :֑2M2kTA'BDR6vR1 B/74>pݯ}k>w[.poGx^ ؼCDnf>o3fzJ4p`ǎ>{h4KPЪI `c<3QdNggmmWζ^/oFx~7p \s{Cb<޲bsdq۶G*qе8|on9tˠ?z1墧}ܻ$;'=1$00j 1ۉuB: gav yyYǀ'yȖ7=dJ6'f{8(U.88|v3ҜX6 R̵[;g{;f䣞Ҷ(/t7[h/dev/null cd ${TESTDIR} L "tar -xzmf ${PROJECT}.tar.gz" L "tree" debmake-doc-1.1/debhello-3.4-pkg1/step202.cmd0000775000175000017500000000004112613712701017344 0ustar osamuosamuL "cat ${PROJECT}/debian/rules" debmake-doc-1.1/debhello-3.4-pkg1/step701.cmd0000775000175000017500000000032612613712701017356 0ustar osamuosamuFILE=$(ls *.tar.?z | \ grep -v 'orig.tar.gz' |\ grep -v 'orig.tar.xz' ) for f in $FILE ; do EXT=${f##*.} if [ "$EXT" = "gz" ]; then L "tar -tzf $f" elif [ "$EXT" = "xz" ]; then L "tar --xz -tf $f" else : fi done debmake-doc-1.1/debhello-3.4-pkg1/step299.cmd0000775000175000017500000000012012613712701017362 0ustar osamuosamu# make deb CD .. cd .. L "cp -a ${TESTDIR} debmake" CD ${TESTDIR} cd ${TESTDIR} debmake-doc-1.1/debhello-3.4-pkg1/step600.cmd0000775000175000017500000000003312613712701017347 0ustar osamuosamuCD .. cd .. L "tree -FL 1" debmake-doc-1.1/debhello-3.4-pkg1/step102.cmd0000775000175000017500000000004412613712701017346 0ustar osamuosamuL "cat ${PROJECT}/src/config.h.in" debmake-doc-1.1/debhello-3.4-pkg1/step499.cmd0000775000175000017500000000012012613712701017364 0ustar osamuosamu# make deb CD .. cd .. L "cp -a ${TESTDIR} package" CD ${TESTDIR} cd ${TESTDIR} debmake-doc-1.1/debhello-3.4-pkg1/step400.cmd0000775000175000017500000000003312613712701017345 0ustar osamuosamuL "tree ${PROJECT}/debian" debmake-doc-1.1/debhello-3.4-pkg1/step201.cmd0000775000175000017500000000002512613712701017345 0ustar osamuosamuCD .. cd .. L "tree" debmake-doc-1.1/debhello-3.4-pkg1/step203.cmd0000775000175000017500000000004312613712701017347 0ustar osamuosamuL "cat ${PROJECT}/debian/control" debmake-doc-1.1/debhello-3.4-pkg1/step702.cmd0000775000175000017500000000013412613712701017354 0ustar osamuosamufor deb in *.deb; do L "dpkg -f ${deb} pre-depends depends recommends conflics breaks" done debmake-doc-1.1/debhello-3.4-pkg1/step200.cmd0000775000175000017500000000007612613712701017352 0ustar osamuosamu# Debianize (initial) CD ${PROJECT} cd ${PROJECT} L "debmake" debmake-doc-1.1/debhello-3.4-pkg1/step302.cmd0000775000175000017500000000026512613712701017355 0ustar osamuosamuecho " \$ vim ${PROJECT}/debian/control" echo " ... hack, hack, hack, ..." cp -f ${COMMONDIR}/${PROJECT}/debian/control ${PROJECT}/debian/control L "cat ${PROJECT}/debian/control" debmake-doc-1.1/debhello-3.4-pkg1/step700.cmd0000775000175000017500000000016012613712701017351 0ustar osamuosamufor deb in *.deb; do L "dpkg -c ${deb}" | sed -e 's/root.root...............-..-.. ..:../root\/root ... /' done debmake-doc-1.1/debhello-3.4-pkg1/step103.cmd0000775000175000017500000000015712613712701017354 0ustar osamuosamuL "cat ${PROJECT}/CMakeLists.txt" L "cat ${PROJECT}/man/CMakeLists.txt" L "cat ${PROJECT}/src/CMakeLists.txt" debmake-doc-1.1/debhello-3.4-pkg1/step104.cmd0000775000175000017500000000010312613712701017344 0ustar osamuosamuL "cat ${PROJECT}/po/LINGUAS" L "cat ${PROJECT}/po/CMakeLists.txt" debmake-doc-1.1/debhello-3.4-pkg1/step101.cmd0000775000175000017500000000004012613712701017341 0ustar osamuosamuL "cat ${PROJECT}/src/hello.c" debmake-doc-1.1/debhello-3.4-pkg1/step500.cmd0000775000175000017500000000011512613712701017347 0ustar osamuosamu# make deb CD ${PROJECT} cd ${PROJECT} echo " \$ debuild" debuild -i -us -uc debmake-doc-1.1/png/0000775000175000017500000000000012613712701013326 5ustar osamuosamudebmake-doc-1.1/png/next.png0000664000175000017500000000332512613712701015015 0ustar osamuosamuPNG  IHDR"#gsBIT|d pHYs B(xtEXtSoftwarewww.inkscape.org<tEXtAuthorJakub Steiner/!tEXtSourcehttp://jimmac.musichall.czif^IDATXŘklUlB)$* &6BYLQHH_ &~hPۢ3(~GcR(Tݹsfv; PNrrfvgsfr! L!?K%5!ƓdBsw-`g;2zuwg)\nEZ½}3h{"@hW\ǀO:zO3Q pti[$%F;u }LNY8eg9m MTW\^ ]([IQImBD  ;T gvG6r4W,9BIbL:`g$%Hh "@ %'.ѯFQ՛XN^y:=jRVs)g00`` cMk@x @J$_7.m?YvZCh{hE:Py9 ,_HK-hM:#s;nbΤ !xp9яYbeFdTD1Mj]4=۝{^ظNEeǬ@tJ pMcD@FTHU ~n3Ck(2=/82GɅ1y JĒci]Zдl CW,p::g\rWYĞů.!TE&h("p"k0xά~/.rf/iR 0DjN@z-2 pjKCqwTgn;{|3{}t:`k8>%fDTQj &?DS2d57Hm=7s4GVe="Bl!MBAk@k0Z*kQC,K* ^fq0+B٢N.lȚ6T}_S@[]\Ț1uwԱʓ}@74\U| CPQcJ[AsX߼3Yk n,*/ ؞>|kx,lnhj~1* @>UHkX*ݸ54/ 0 c'ȷ) d3z+RszԜK- 4O7l`A =CǩqH͙ACŭ>4Pdȱ^5K}\uPK}~ o.Y\=TN,忠s6S%s#|_/ _w-|h9.T]^3% F/$eH5 g~) {_giuŸhaD[F:fNo,ռF͑u"(9qԹD\'N p᝽@BdlGA-<kD\St"usb1o(`u`X+䭽{->`$aA!MfQ蓒f5Yuhfa4fl*~Zm1Of7?nÖ[IENDB`debmake-doc-1.1/png/prev.png0000664000175000017500000000334112613712701015011 0ustar osamuosamuPNG  IHDR"#gsBIT|d pHYs B(xtEXtSoftwarewww.inkscape.org<tEXtAuthorJakub Steiner/!tEXtSourcehttp://jimmac.musichall.czif^IDATXklUgf݅[o F`IHyT0&6DLgh HѢ 4R E -}{03vtOrr읹w3 !"{^ϝ2#g*WbMC0n62/7`$0[huGݔ;B?>p樉×Cknx7`B ̱q΅/1A\ޡ)i6e R28nR 1t^κCf:B2# APVMu+^28k' ) Ƃ\ә4}1Ô;}>۴Dˤx0f1 prE*Op71`r*x(s11!"PcĩsGBmc/y~$"Wo>bk*V= 3%25P8|DQ@54?IQAɳP`d@9\\~U~ ;:7Pw{b:Y@AA֏f^'Bq9)UY-h#jlF5~9i)+)?T@o $)SV#)tHB=Xc XgW_v? aC@HMWŶP{g/E}`w% $@ցlҢdWX_^c%yE\\BʧV :]7X b5Ww(20daȞ+M@ &4 pEDk;BkJº&җυu'?FB71ٿ_+YsQG[^ߜ{ƐD 1MP.FDVp8] Rَ'Δx7_)'BFD#Wa@Sc-=e9MĚߟ`b]R!}^_q4Yje"ѢgGo1yO[j/B-=AIENDB`debmake-doc-1.1/png/caution.png0000664000175000017500000000255712613712701015507 0ustar osamuos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ln8T,F bbgӻGUږ5<i Vb17"ظO9o%U0&֬o|51c̜b6`k0O_CKo 9*k׳1Rg0 @SSST iHzݺMMMs29qGqO $,k尜v};1LMM%Z`i >55wNj.J)6ǒ3K@5r0 C{ӦM3 bkkncţ϶mc9̎\4C@pf|g[9SH(XvnIENDB`debmake-doc-1.1/png/important.png0000664000175000017500000000302012613712701016044 0ustar osamuosamuPNG  IHDR szzsBIT|dIDATX[u?3sfe֭fe[i+H,nkE1}} IWL|I}* lKjug:|8ggnM%~~lj7uw \sZx,OJM|Cec0fГve Sn-;tfСf|hL΅WxIԡ`vN~}V=ȥH|[p~vu;v?"(BĀӣԫZ=~jcz 1 2x]fxW'Jpx{>ߟժqC, 4i$`th7c grQO Y{}tبhVuvߝ1W ?z(n= VˑnژVB`V[Eu =ً`9LsϦ7yRBhWIF@A[:a 53]-46EH`DّEJsK/imX"jU$32 h7^k(xڲ^$ni^]*ċ= C5~|ץTzk54|E,D8SAMf^g'.r.qHg 8P#F5%RRXGQk#Ho.Fx4Q@ytTub*h(݀62rD⻨b6f ճ_Ĭ2Hc̓Jf2H 1hD}l- M}ɪ DPWF}+toX'%8OSairjN¹~?eN_]E/ԐkLx2y@C}0:CB}U__ӳݶ˗R ֓\W47a;;]}Bqȕ< ;Ou2wr\:O496lwplxlH Xg@^Q\0|Km,z*bO1Wщ3pP^?\}nϽ#M_z֓y/ sCmUv$ ypy3L߸w&#g?/?|0p'4c4k2@:ނyBn]wy8)HoJ['/<8ӈ&b%/[ 腮/;|7/|68P'~B8l?<( jCDDc+ڤ mbd, htzCӹ?Eg1wM8mIB' HO8_ uZ82ᎌyxm\'M~YZyyH-W*j\j@ym%n^ӘZzѮKn"ql2[ӋͿubă Xq5=O!IENDB`debmake-doc-1.1/png/tip.png0000664000175000017500000000356612613712701014642 0ustar osamuosamuPNG  IHDR szzbKGD pHYs  tIME38fIDATXŖ[lTgnό_0cCp 8$&R,RUmU+%@ EMUZE}$C%6JmriJۤb<_>s݇ <U}_3y੧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16(1D>貶ԶE<e;;{1ÄvaEaȞ\s'k-B\klߗ\o=##TZߡÒ\ =Rr˖~޻a\歱1z.яj)8J-‹QlEP|3E O֪ uOֿ30<3SS}q:ᄏ>[EC{&?1@BZ߾"mGuq`ˡBa՝>U+xÓ337pT&n׷91P(0;;KAkm(˱d|)rVI%BבL&ַ~˳Vj)  01x[J?~L67rysB(8q8cDQT8}:::4y#%D!JRPSi(K?䪍RT˜Na/I=iƌo;xUAP-)%RN yNz5MmEmtU@i'9U$yuJV1_]84rM>c&JRdus&/f$1v_c1-RKM/Rz*^Tz$dbN⁄*g[yH[,ڣb*8T*EZ uZk1Sr9J4 @JU7P j6EUt1)9RTb !rT*d&HξB'0Z60JďbZ`a*1iw<v!D)%{9C$B }ZB 3\r!\MgC0(:<::fٲe}ajz3oyiGKKYqEPn$il6woݺu]ooJD"ւ֊yIk$By/mGQ=z۷_X~}fpp\.AjՍ Z;v*VaFJs$ԎㄎDD煞煩T*zw><_%kh7Pm^p647z@u15H qS|IfI.Z )IENDB`debmake-doc-1.1/debhello-3.2/0000775000175000017500000000000012613712701014620 5ustar osamuosamudebmake-doc-1.1/debhello-3.2/debian/0000775000175000017500000000000012613712701016042 5ustar osamuosamudebmake-doc-1.1/debhello-3.2/debian/control0000664000175000017500000000112312613712701017442 0ustar osamuosamuSource: debhello Section: devel Priority: extra Maintainer: Osamu Aoki Build-Depends: debhelper (>=9) Standards-Version: 3.9.6 Homepage: http://anonscm.debian.org/cgit/collab-maint/debmake-doc.git/ Package: debhello Architecture: any Multi-Arch: foreign Depends: ${misc:Depends}, ${shlibs:Depends} Description: example package in the debmake-doc package This is an example package to demonstrate the Debian packaging using the debmake command. . The generated Debian package uses the dh command offered by the debhelper package and the dpkg source format `3.0 (quilt)'. debmake-doc-1.1/debhello-3.2/debian/changelog0000664000175000017500000000752312613712701017723 0ustar osamuosamudebhello (3.2-1) unstable; urgency=low * New upstream release. - C source for an executable. - Makefile generated from Makefile.in and ./configure . - I18N with gettext (0.19). -- Osamu Aoki Mon, 12 Jan 2015 03:02:01 +0900 debhello (3.1-1) unstable; urgency=low * New upstream release. - Python3 script with the graphical user interface. - Packaged in Python distutils with setup.py . - I18N with gettext / python3-distutils-extra . -- Osamu Aoki Mon, 12 Jan 2015 03:01:01 +0900 debhello (3.0-1) unstable; urgency=low * New upstream release. - POSIX shell script and data with the graphical user interface. - Makefile supporting $(DESTDIR) and $(prefix) . - I18N with gettext (0.19). -- Osamu Aoki Mon, 12 Jan 2015 03:00:01 +0900 debhello (2.1-2) unstable; urgency=low * Single -dbg package. -- Osamu Aoki Mon, 12 Jan 2015 02:02:01 +0900 debhello (2.1-1) unstable; urgency=low * New upstream release. - C source for an executable with a shared library. - Makefile generated from CMakeLists.txt . -- Osamu Aoki Mon, 12 Jan 2015 02:01:01 +0900 debhello (2.0-1) unstable; urgency=low * New upstream release. - C source for an executable with a shared library. - Makefile generated from Makefile.am and configure.ac . -- Osamu Aoki Mon, 12 Jan 2015 02:00:01 +0900 debhello (1.7-1) unstable; urgency=low * New upstream release. - C source for an executable. - Makefile generated from CMakeLists.txt . -- Osamu Aoki Mon, 12 Jan 2015 01:07:01 +0900 debhello (1.6-1) unstable; urgency=low * New upstream release. - C source for an executable. - Makefile generated from Makefile.am and configure.ac . -- Osamu Aoki Mon, 12 Jan 2015 01:06:01 +0900 debhello (1.5-1) unstable; urgency=low * New upstream release. - C source for an executable. - Makefile generated from Makefile.in and ./configure . -- Osamu Aoki Mon, 12 Jan 2015 01:05:01 +0900 debhello (1.4-1) unstable; urgency=low * New upstream release. - C source for an executable. - Makefile not supporting $(DESTDIR) and $(prefix) . -- Osamu Aoki Mon, 12 Jan 2015 01:04:01 +0900 debhello (1.3-1) unstable; urgency=low * New upstream release. - Python3 script with the graphical user interface. - Packaged in Python distutils with setup.py . -- Osamu Aoki Mon, 12 Jan 2015 01:03:01 +0900 debhello (1.2-1) unstable; urgency=low * New upstream release. - Python3 script with the command-line interface. - Packaged in Python distutils with setup.py . -- Osamu Aoki Mon, 12 Jan 2015 01:02:01 +0900 debhello (1.1-1) unstable; urgency=low * New upstream release. - POSIX shell script and data with the graphical user interface. - Makefile supporting $(DESTDIR) and $(prefix) . -- Osamu Aoki Mon, 12 Jan 2015 01:01:01 +0900 debhello (1.0-1) unstable; urgency=low * New upstream release. - POSIX shell script and data. - Makefile supporting $(DESTDIR) and $(prefix) . -- Osamu Aoki Mon, 12 Jan 2015 01:00:01 +0900 debhello (0.2-1) unstable; urgency=low * New upstream release. - POSIX shell script and data without Makefile. -- Osamu Aoki Mon, 12 Jan 2015 00:02:01 +0900 debhello (0.1-1) unstable; urgency=low * New upstream release. - Empty content. -- Osamu Aoki Mon, 12 Jan 2015 00:01:01 +0900 debhello (0.0-1) unstable; urgency=low * Initial release of debhello. Closes: #123456 - C source for an executable. - Makefile supporting $(DESTDIR) and $(prefix)=/usr . -- Osamu Aoki Mon, 12 Jan 2015 00:00:01 +0900 debmake-doc-1.1/debhello-3.2/debian/rules0000775000175000017500000000020112613712701017113 0ustar osamuosamu#!/usr/bin/make -f export DH_VERBOSE = 1 %: dh $@ override_dh_auto_configure: dh_auto_configure -- \ --author="Osamu Aoki" debmake-doc-1.1/debhello-3.2/debian/source/0000775000175000017500000000000012613712701017342 5ustar osamuosamudebmake-doc-1.1/debhello-3.2/debian/source/format0000664000175000017500000000001512613712701020551 0ustar osamuosamu3.0 (quilt) debmake-doc-1.1/debhello-3.2/debian/source/local-options0000664000175000017500000000005212613712701022045 0ustar osamuosamuabort-on-upstream-changes unapply-patches debmake-doc-1.1/debhello-3.2/debian/README.Debian0000664000175000017500000000031212613712701020077 0ustar osamuosamudebhello upstream package example This is an example upstream package to demonstrate the Debian packaging using the debmake command. -- Osamu Aoki Sun, 11 Jan 2015 00:00:00 +0000 debmake-doc-1.1/debhello-3.2/debian/compat0000664000175000017500000000000212613712701017240 0ustar osamuosamu9 debmake-doc-1.1/debhello-3.2/debian/watch0000664000175000017500000000022412613712701017071 0ustar osamuosamu# When there is no appropriate upstream URL for uscan, it is # the best to have a watch file without any real content as # this file. See uscan(1). debmake-doc-1.1/debhello-3.2/debian/copyright0000664000175000017500000000241512613712701017777 0ustar osamuosamuFormat: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ Upstream-Name: debhello Source: http://anonscm.debian.org/cgit/collab-maint/debmake-doc.git/tree/base Files: * Copyright: 2015 Osamu Aoki License: MIT Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: . The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. . THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. debmake-doc-1.1/debhello-3.2/Makefile.in0000664000175000017500000000177512613712701016677 0ustar osamuosamuprefix = @prefix@ all: data/hello.desktop po/ja.mo src/hello data/hello.desktop po/ja.mo: $(MAKE) -C po all src/hello: src/hello.c gcc @VERBOSE@ \ $(CPPFLAGS) \ $(CFLAGS) \ $(LDFLAGS) \ -o $@ $^ install: all install -D src/hello \ $(DESTDIR)$(prefix)/bin/hello install -m 644 -D data/hello.desktop \ $(DESTDIR)$(prefix)/share/applications/hello.desktop install -m 644 -D data/hello.png \ $(DESTDIR)$(prefix)/share/pixmaps/hello.png install -m 644 -D man/hello.1 \ $(DESTDIR)$(prefix)/share/man/man1/hello.1 install -m 644 -D po/ja.mo \ $(DESTDIR)$(prefix)/share/locale/ja/LC_MESSAGES/debhello.mo clean: -rm -f src/hello $(MAKE) -C po clean distclean: clean uninstall: -rm -f $(DESTDIR)$(prefix)/bin/hello -rm -f $(DESTDIR)$(prefix)/share/applications/hello.desktop -rm -f $(DESTDIR)$(prefix)/share/pixmaps/hello.png -rm -f $(DESTDIR)$(prefix)/share/man/man1/hello.1 -rm -f $(DESTDIR)$(prefix)/share/locale/ja/LC_MESSAGES/debhello.mo .PHONY: all install clean distclean uninstall debmake-doc-1.1/debhello-3.2/src/0000775000175000017500000000000012613712701015407 5ustar osamuosamudebmake-doc-1.1/debhello-3.2/src/hello.c0000664000175000017500000000047512613712701016664 0ustar osamuosamu#include "config.h" #include #include #include #define _(string) gettext (string) int main() { setlocale(LC_ALL,""); bindtextdomain(PACKAGE_NAME, LOCALEDIR); textdomain(PACKAGE_NAME); printf(_("Hello, I am %s!\n"), PACKAGE_AUTHOR); return 0; } debmake-doc-1.1/debhello-3.2/LICENSE0000664000175000017500000000217712613712701015634 0ustar osamuosamuLicense: All files in this archive are licensed under the MIT License as below. Copyright 2015 Osamu Aoki Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. debmake-doc-1.1/debhello-3.2/configure0000775000175000017500000000144512613712701016533 0ustar osamuosamu#!/bin/sh -e # default values PREFIX="/usr/local" VERBOSE="" PACKAGE_AUTHOR="John Doe" PACKAGE_NAME="debhello" # parse arguments while [ "${1}" != "" ]; do VAR="${1%=*}" # Drop suffix =* VAL="${1#*=}" # Drop prefix *= case "${VAR}" in --prefix) PREFIX="${VAL}" ;; --verbose|-v) VERBOSE="-v" ;; --author) PACKAGE_AUTHOR="${VAL}" ;; *) echo "W: Unknown argument: ${1}" esac shift done LOCALEDIR="${PREFIX}/locale" # setup configured Makefile and src/config.h sed -e "s,@prefix@,${PREFIX}," \ -e "s,@VERBOSE@,${VERBOSE}," \ Makefile : >src/config.h echo "#define PACKAGE_NAME \"${PACKAGE_NAME}\"" >>src/config.h echo "#define LOCALEDIR \"${LOCALEDIR}\"" >>src/config.h echo "#define PACKAGE_AUTHOR \"${PACKAGE_AUTHOR}\"" >>src/config.h debmake-doc-1.1/debhello-3.2/po/0000775000175000017500000000000012613712701015236 5ustar osamuosamudebmake-doc-1.1/debhello-3.2/po/Makefile0000664000175000017500000000100612613712701016673 0ustar osamuosamuall: ja.mo ../data/hello.desktop pot: debhello.pot ../src/hello: ../src/hello.c $(MAKE) -C .. src/hello debhello.pot: ../src/hello ../data/hello.desktop.in xgettext -d debhello -L Desktop ../data/hello.desktop.in -o $@ xgettext -d debhello -j -L C -k_ ../src/hello.c -o $@ %.po: debhello.pot FORCE msgmerge -U $@ debhello.pot %.mo: %.po msgfmt $< -o $@ ../data/hello.desktop: ../data/hello.desktop.in msgfmt --desktop --template $< -d ./ -o $@ clean: -rm -f *.mo *~ -rm -f ../data/hello.desktop FORCE: debmake-doc-1.1/debhello-3.2/po/LINGUAS0000664000175000017500000000000312613712701016254 0ustar osamuosamuja debmake-doc-1.1/debhello-3.2/po/ja.po0000664000175000017500000000151512613712701016172 0ustar osamuosamu# SOME DESCRIPTIVE TITLE. # This file is put in the public domain. # FIRST AUTHOR , YEAR. # msgid "" msgstr "" "Project-Id-Version: debhello 2.2\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2015-03-01 17:22+0900\n" "PO-Revision-Date: 2015-02-21 23:18+0900\n" "Last-Translator: Osamu Aoki \n" "Language-Team: Japanese \n" "Language: ja\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" #: ../data/hello.desktop.in:3 msgid "Hello" msgstr "こんにちは" #: ../data/hello.desktop.in:4 msgid "Greetings" msgstr "挨拶" #: ../data/hello.desktop.in:6 msgid "hello" msgstr "" #: ../data/hello.desktop.in:9 msgid "hello.png" msgstr "" #: ../src/hello.c:33 #, c-format msgid "Hello, I am %s!\n" msgstr "こんにちは、私は%sです!\n" debmake-doc-1.1/debhello-3.2/man/0000775000175000017500000000000012613712701015373 5ustar osamuosamudebmake-doc-1.1/debhello-3.2/man/hello.10000664000175000017500000000062712613712701016565 0ustar osamuosamu.\" Hey, EMACS: -*- nroff -*- .\" (C) Copyright 2015 "Osamu Aoki" , .TH HELLO 1 "2015-01-12" .SH NAME hello \- example executable program .SH SYNOPSIS .B hello .SH DESCRIPTION This is an example executable program to print a short text message. .SH OPTIONS None available. .SH SEE ALSO .BR debmake (1) and documentation in the .BR debmake-doc package. debmake-doc-1.1/debhello-3.2/data/0000775000175000017500000000000012613712701015531 5ustar osamuosamudebmake-doc-1.1/debhello-3.2/data/hello.desktop.in0000664000175000017500000000021112613712701020626 0ustar osamuosamu[Desktop Entry] Name=Hello Comment=Greetings Type=Application Keywords=hello Exec=hello Terminal=true Icon=hello.png Categories=Utility; debmake-doc-1.1/debhello-3.2/data/hello.png0000664000175000017500000002225412613712701017347 0ustar osamuosamuPNG  IHDR@@iqbKGD pHYs  tIME(/SptEXtCommentCreated with GIMPW IDATxڽkYu[\9{zgg !gpb+JC8R)URv2iJ QNYX)\a┉U)d2 `0@\zOޞٷb, ~/ok%7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$Q*>VXa^YQX=&FSQSCCc_*xxfAgvy.=< \H Ⱥ=+?nyo9Rc!B-3Zl)N()TkSQ)ʉN.BԀ茦i&!6#Ε¡^X8"' (EZɪB/4,k-}_3L~V|{۵~WIPwf<hu\J8jDI 26SSULI03T&p-3k8¬B*󤴀QT ®fƪH8üZXY30;oλ_ g۹}yp/x x ;֎ʿ}چX> L)XN2Bd-Q>i [ UR^<]pʼn@-Z-eYG'FQ*lp+7KfLC¨Ҫe-lZ;`ks}?cu' Qp Oߞ}Ӯ<3%?60m)SB2ʮv]ĶE"livǤ=yq9k9c YETL&?f,I$YC`KJ`悽c w²yM.2m!K;; uZbT_^{G-dE3:)S+U[9 YfH1 bYOC#̍`}XƊJra#63*A*{uK0`{%ؾ'i>| b}aşgO׸ vѼ3f^}SWj n4Qb|6#1lBY肰Ȇ#5U0"%ck̼t Jj*zX(dD&2)1hcImC5 R6:|4 N!"Nw\8qw 微{T ̧qkn)FGuoh%ۡ*mjqG1+?}5t7W;U'P(I7>)bڒEi錾x\iJ%P`au94 M$ב[rͨ1HRFq`;XlccNBp__ 1ӯ[<[WI_֠[G$ ̒Oc1/C+8c$ S'[3Br$ HB`CKmZT>?whſo#S?:q:7WxH4!  :֑2M2kTA'BDR6vR1 B/74>pݯ}k>w[.poGx^ ؼCDnf>o3fzJ4p`ǎ>{h4KPЪI `c<3QdNggmmWζ^/oFx~7p \s{Cb<޲bsdq۶G*qе8|on9tˠ?z1墧}ܻ$;'=1$00j 1ۉuB: gav yyYǀ'yȖ7=dJ6'f{8(U.88|v3ҜX6 R̵[;g{;f䣞Ҷ(/t7[h Build-Depends: debhelper (>=9) Standards-Version: 3.9.6 Homepage: http://anonscm.debian.org/cgit/collab-maint/debmake-doc.git/ Package: debhello Architecture: any Multi-Arch: foreign Depends: ${misc:Depends}, ${shlibs:Depends} Description: example package in the debmake-doc package This is an example package to demonstrate the Debian packaging using the debmake command. . The generated Debian package uses the dh command offered by the debhelper package and the dpkg source format `3.0 (quilt)'. debmake-doc-1.1/debhello-1.4/debian/changelog0000664000175000017500000000336412613712701017722 0ustar osamuosamudebhello (1.4-1) unstable; urgency=low * New upstream release. - C source for an executable. - Makefile not supporting $(DESTDIR) and $(prefix) . -- Osamu Aoki Mon, 12 Jan 2015 01:04:01 +0900 debhello (1.3-1) unstable; urgency=low * New upstream release. - Python3 script with the graphical user interface. - Packaged in Python distutils with setup.py . -- Osamu Aoki Mon, 12 Jan 2015 01:03:01 +0900 debhello (1.2-1) unstable; urgency=low * New upstream release. - Python3 script with the command-line interface. - Packaged in Python distutils with setup.py . -- Osamu Aoki Mon, 12 Jan 2015 01:02:01 +0900 debhello (1.1-1) unstable; urgency=low * New upstream release. - POSIX shell script and data with the graphical user interface. - Makefile supporting $(DESTDIR) and $(prefix) . -- Osamu Aoki Mon, 12 Jan 2015 01:01:01 +0900 debhello (1.0-1) unstable; urgency=low * New upstream release. - POSIX shell script and data. - Makefile supporting $(DESTDIR) and $(prefix) . -- Osamu Aoki Mon, 12 Jan 2015 01:00:01 +0900 debhello (0.2-1) unstable; urgency=low * New upstream release. - POSIX shell script and data without Makefile. -- Osamu Aoki Mon, 12 Jan 2015 00:02:01 +0900 debhello (0.1-1) unstable; urgency=low * New upstream release. - Empty content. -- Osamu Aoki Mon, 12 Jan 2015 00:01:01 +0900 debhello (0.0-1) unstable; urgency=low * Initial release of debhello. Closes: #123456 - C source for an executable. - Makefile supporting $(DESTDIR) and $(prefix)=/usr . -- Osamu Aoki Mon, 12 Jan 2015 00:00:01 +0900 debmake-doc-1.1/debhello-1.4/debian/rules0000775000175000017500000000040312613712701017117 0ustar osamuosamu#!/usr/bin/make -f export DH_VERBOSE = 1 export DEB_BUILD_MAINT_OPTIONS = hardening=+all export DEB_CFLAGS_MAINT_APPEND = -Wall -pedantic export DEB_LDFLAGS_MAINT_APPEND = -Wl,--as-needed %: dh $@ override_dh_auto_install: dh_auto_install -- prefix=/usr debmake-doc-1.1/debhello-1.4/debian/source/0000775000175000017500000000000012613712701017342 5ustar osamuosamudebmake-doc-1.1/debhello-1.4/debian/source/format0000664000175000017500000000001512613712701020551 0ustar osamuosamu3.0 (quilt) debmake-doc-1.1/debhello-1.4/debian/source/local-options0000664000175000017500000000005212613712701022045 0ustar osamuosamuabort-on-upstream-changes unapply-patches debmake-doc-1.1/debhello-1.4/debian/README.Debian0000664000175000017500000000031212613712701020077 0ustar osamuosamudebhello upstream package example This is an example upstream package to demonstrate the Debian packaging using the debmake command. -- Osamu Aoki Sun, 11 Jan 2015 00:00:00 +0000 debmake-doc-1.1/debhello-1.4/debian/compat0000664000175000017500000000000212613712701017240 0ustar osamuosamu9 debmake-doc-1.1/debhello-1.4/debian/watch0000664000175000017500000000022412613712701017071 0ustar osamuosamu# When there is no appropriate upstream URL for uscan, it is # the best to have a watch file without any real content as # this file. See uscan(1). debmake-doc-1.1/debhello-1.4/debian/copyright0000664000175000017500000000241512613712701017777 0ustar osamuosamuFormat: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ Upstream-Name: debhello Source: http://anonscm.debian.org/cgit/collab-maint/debmake-doc.git/tree/base Files: * Copyright: 2015 Osamu Aoki License: MIT Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: . The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. . THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. debmake-doc-1.1/debhello-1.4/Makefile0000664000175000017500000000135512613712701016264 0ustar osamuosamuprefix = /usr/local all: src/hello src/hello: src/hello.c $(CC) $(CPPFLAGS) $(CFLAGS) $(LDFLAGS) -o $@ $^ -lm install: src/hello install -D src/hello \ $(DESTDIR)$(prefix)/bin/hello install -m 644 -D data/hello.desktop \ $(DESTDIR)$(prefix)/share/applications/hello.desktop install -m 644 -D data/hello.png \ $(DESTDIR)$(prefix)/share/pixmaps/hello.png install -m 644 -D man/hello.1 \ $(DESTDIR)$(prefix)/share/man/man1/hello.1 clean: -rm -f src/hello distclean: clean uninstall: -rm -f $(DESTDIR)$(prefix)/bin/hello -rm -f $(DESTDIR)$(prefix)/share/applications/hello.desktop -rm -f $(DESTDIR)$(prefix)/share/pixmaps/hello.png -rm -f $(DESTDIR)$(prefix)/share/man/man1/hello.1 .PHONY: all install clean distclean uninstall debmake-doc-1.1/debhello-1.4/src/0000775000175000017500000000000012613712701015407 5ustar osamuosamudebmake-doc-1.1/debhello-1.4/src/hello.c0000664000175000017500000000031312613712701016653 0ustar osamuosamu#include "config.h" #include #include int main() { printf("Hello, I am " PACKAGE_AUTHOR "!\n"); printf("4.0 * atan(1.0) = %10f8\n", 4.0*atan(1.0)); return 0; } debmake-doc-1.1/debhello-1.4/src/config.h0000664000175000017500000000004412613712701017023 0ustar osamuosamu#define PACKAGE_AUTHOR "Osamu Aoki" debmake-doc-1.1/debhello-1.4/LICENSE0000664000175000017500000000217712613712701015634 0ustar osamuosamuLicense: All files in this archive are licensed under the MIT License as below. Copyright 2015 Osamu Aoki Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. debmake-doc-1.1/debhello-1.4/man/0000775000175000017500000000000012613712701015373 5ustar osamuosamudebmake-doc-1.1/debhello-1.4/man/hello.10000664000175000017500000000062712613712701016565 0ustar osamuosamu.\" Hey, EMACS: -*- nroff -*- .\" (C) Copyright 2015 "Osamu Aoki" , .TH HELLO 1 "2015-01-12" .SH NAME hello \- example executable program .SH SYNOPSIS .B hello .SH DESCRIPTION This is an example executable program to print a short text message. .SH OPTIONS None available. .SH SEE ALSO .BR debmake (1) and documentation in the .BR debmake-doc package. debmake-doc-1.1/debhello-1.4/data/0000775000175000017500000000000012613712701015531 5ustar osamuosamudebmake-doc-1.1/debhello-1.4/data/hello.desktop0000664000175000017500000000026512613712701020232 0ustar osamuosamu[Desktop Entry] Name=Hello Name[ja]=こんにちは Comment=Greetings Comment[ja]=挨拶 Type=Application Keywords=hello Exec=hello Terminal=true Icon=hello.png Categories=Utility; debmake-doc-1.1/debhello-1.4/data/hello.png0000664000175000017500000002225412613712701017347 0ustar osamuosamuPNG  IHDR@@iqbKGD pHYs  tIME(/SptEXtCommentCreated with GIMPW IDATxڽkYu[\9{zgg !gpb+JC8R)URv2iJ QNYX)\a┉U)d2 `0@\zOޞٷb, ~/ok%7 .w G9S&宴M+SR=_V[[i+1\q>{;OxgER?0śi+!YWcHׅr%o!e8y&eJw(sC`Yh+=|\[Bw`~6/}8:(oվ WdLY n馥^7pPo e-TjpB7V;ei zzg3=<|?X/uRay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WIPwf<hu\J8jDI 26SSULI03T&p-3k8¬B*󤴀QT ®fƪH8üZXY30;oλ_ g۹}yp/x x ;֎ʿ}چX> L)XN2Bd-Q>i [ UR^<]pʼn@-Z-eYG'FQ*lp+7KfLC¨Ҫe-lZ;`ks}?cu' Qp Oߞ}Ӯ<3%?60m)SB2ʮv]ĶE"livǤ=yq9k9c YETL&?f,I$YC`KJ`悽c w²yM.2m!K;; uZbT_^{G-dE3:)S+U[9 YfH1 bYOC#̍`}XƊJra#63*A*{uK0`{%ؾ'i>| b}aşgO׸ vѼ3f^}SWj n4Qb|6#1lBY肰Ȇ#5U0"%ck̼t Jj*zX(dD&2)1hcImC5 R6:|4 N!"Nw\8qw 微{T ̧qkn)FGuoh%ۡ*mjqG1+?}5t7W;U'P(I7>)bڒEi錾x\iJ%P`au94 M$ב[rͨ1HRFq`;XlccNBp__ 1ӯ[<[WI_֠[G$ ̒Oc1/C+8c$ S'[3Br$ HB`CKmZT>?whſo#S?:q:7WxH4!  :֑2M2kTA'BDR6vR1 B/74>pݯ}k>w[.poGx^ ؼCDnf>o3fzJ4p`ǎ>{h4KPЪI `c<3QdNggmmWζ^/oFx~7p \s{Cb<޲bsdq۶G*qе8|on9tˠ?z1墧}ܻ$;'=1$00j 1ۉuB: gav yyYǀ'yȖ7=dJ6'f{8(U.88|v3ҜX6 R̵[;g{;f䣞Ҷ(/t7[h/dev/null cd ${TESTDIR} L "tar -xzmf ${PROJECT}.tar.gz" L "tree" debmake-doc-1.1/debhello-1.4-pkg1/step202.cmd0000775000175000017500000000004112613712701017342 0ustar osamuosamuL "cat ${PROJECT}/debian/rules" debmake-doc-1.1/debhello-1.4-pkg1/step701.cmd0000775000175000017500000000032612613712701017354 0ustar osamuosamuFILE=$(ls *.tar.?z | \ grep -v 'orig.tar.gz' |\ grep -v 'orig.tar.xz' ) for f in $FILE ; do EXT=${f##*.} if [ "$EXT" = "gz" ]; then L "tar -tzf $f" elif [ "$EXT" = "xz" ]; then L "tar --xz -tf $f" else : fi done debmake-doc-1.1/debhello-1.4-pkg1/step299.cmd0000775000175000017500000000012012613712701017360 0ustar osamuosamu# make deb CD .. cd .. L "cp -a ${TESTDIR} debmake" CD ${TESTDIR} cd ${TESTDIR} debmake-doc-1.1/debhello-1.4-pkg1/step600.cmd0000775000175000017500000000003312613712701017345 0ustar osamuosamuCD .. cd .. L "tree -FL 1" debmake-doc-1.1/debhello-1.4-pkg1/step102.cmd0000775000175000017500000000004112613712701017341 0ustar osamuosamuL "cat ${PROJECT}/src/config.h" debmake-doc-1.1/debhello-1.4-pkg1/step499.cmd0000775000175000017500000000012012613712701017362 0ustar osamuosamu# make deb CD .. cd .. L "cp -a ${TESTDIR} package" CD ${TESTDIR} cd ${TESTDIR} debmake-doc-1.1/debhello-1.4-pkg1/step400.cmd0000775000175000017500000000003312613712701017343 0ustar osamuosamuL "tree ${PROJECT}/debian" debmake-doc-1.1/debhello-1.4-pkg1/step201.cmd0000775000175000017500000000002512613712701017343 0ustar osamuosamuCD .. cd .. L "tree" debmake-doc-1.1/debhello-1.4-pkg1/step203.cmd0000775000175000017500000000004312613712701017345 0ustar osamuosamuL "cat ${PROJECT}/debian/control" debmake-doc-1.1/debhello-1.4-pkg1/step702.cmd0000775000175000017500000000013412613712701017352 0ustar osamuosamufor deb in *.deb; do L "dpkg -f ${deb} pre-depends depends recommends conflics breaks" done debmake-doc-1.1/debhello-1.4-pkg1/step200.cmd0000775000175000017500000000007612613712701017350 0ustar osamuosamu# Debianize (initial) CD ${PROJECT} cd ${PROJECT} L "debmake" debmake-doc-1.1/debhello-1.4-pkg1/step302.cmd0000775000175000017500000000026512613712701017353 0ustar osamuosamuecho " \$ vim ${PROJECT}/debian/control" echo " ... hack, hack, hack, ..." cp -f ${COMMONDIR}/${PROJECT}/debian/control ${PROJECT}/debian/control L "cat ${PROJECT}/debian/control" debmake-doc-1.1/debhello-1.4-pkg1/step700.cmd0000775000175000017500000000016012613712701017347 0ustar osamuosamufor deb in *.deb; do L "dpkg -c ${deb}" | sed -e 's/root.root...............-..-.. ..:../root\/root ... /' done debmake-doc-1.1/debhello-1.4-pkg1/step103.cmd0000775000175000017500000000003512613712701017345 0ustar osamuosamuL "cat ${PROJECT}/Makefile" debmake-doc-1.1/debhello-1.4-pkg1/step101.cmd0000775000175000017500000000004012613712701017337 0ustar osamuosamuL "cat ${PROJECT}/src/hello.c" debmake-doc-1.1/debhello-1.4-pkg1/step500.cmd0000775000175000017500000000011512613712701017345 0ustar osamuosamu# make deb CD ${PROJECT} cd ${PROJECT} echo " \$ debuild" debuild -i -us -uc debmake-doc-1.1/debhello-3.0/0000775000175000017500000000000012613712701014616 5ustar osamuosamudebmake-doc-1.1/debhello-3.0/debian/0000775000175000017500000000000012613712701016040 5ustar osamuosamudebmake-doc-1.1/debhello-3.0/debian/control0000664000175000017500000000110012613712701017433 0ustar osamuosamuSource: debhello Section: devel Priority: extra Maintainer: Osamu Aoki Build-Depends: debhelper (>=9) Standards-Version: 3.9.6 Homepage: http://anonscm.debian.org/cgit/collab-maint/debmake-doc.git/ Package: debhello Architecture: all Multi-Arch: foreign Depends: ${misc:Depends} Description: example package in the debmake-doc package This is an example package to demonstrate the Debian packaging using the debmake command. . The generated Debian package uses the dh command offered by the debhelper package and the dpkg source format `3.0 (quilt)'. debmake-doc-1.1/debhello-3.0/debian/changelog0000664000175000017500000000645012613712701017717 0ustar osamuosamudebhello (3.0-1) unstable; urgency=low * New upstream release. - POSIX shell script and data with the graphical user interface. - Makefile supporting $(DESTDIR) and $(prefix) . - I18N with gettext (0.19). -- Osamu Aoki Mon, 12 Jan 2015 03:00:01 +0900 debhello (2.1-2) unstable; urgency=low * Single -dbg package. -- Osamu Aoki Mon, 12 Jan 2015 02:02:01 +0900 debhello (2.1-1) unstable; urgency=low * New upstream release. - C source for an executable with a shared library. - Makefile generated from CMakeLists.txt . -- Osamu Aoki Mon, 12 Jan 2015 02:01:01 +0900 debhello (2.0-1) unstable; urgency=low * New upstream release. - C source for an executable with a shared library. - Makefile generated from Makefile.am and configure.ac . -- Osamu Aoki Mon, 12 Jan 2015 02:00:01 +0900 debhello (1.7-1) unstable; urgency=low * New upstream release. - C source for an executable. - Makefile generated from CMakeLists.txt . -- Osamu Aoki Mon, 12 Jan 2015 01:07:01 +0900 debhello (1.6-1) unstable; urgency=low * New upstream release. - C source for an executable. - Makefile generated from Makefile.am and configure.ac . -- Osamu Aoki Mon, 12 Jan 2015 01:06:01 +0900 debhello (1.5-1) unstable; urgency=low * New upstream release. - C source for an executable. - Makefile generated from Makefile.in and ./configure . -- Osamu Aoki Mon, 12 Jan 2015 01:05:01 +0900 debhello (1.4-1) unstable; urgency=low * New upstream release. - C source for an executable. - Makefile not supporting $(DESTDIR) and $(prefix) . -- Osamu Aoki Mon, 12 Jan 2015 01:04:01 +0900 debhello (1.3-1) unstable; urgency=low * New upstream release. - Python3 script with the graphical user interface. - Packaged in Python distutils with setup.py . -- Osamu Aoki Mon, 12 Jan 2015 01:03:01 +0900 debhello (1.2-1) unstable; urgency=low * New upstream release. - Python3 script with the command-line interface. - Packaged in Python distutils with setup.py . -- Osamu Aoki Mon, 12 Jan 2015 01:02:01 +0900 debhello (1.1-1) unstable; urgency=low * New upstream release. - POSIX shell script and data with the graphical user interface. - Makefile supporting $(DESTDIR) and $(prefix) . -- Osamu Aoki Mon, 12 Jan 2015 01:01:01 +0900 debhello (1.0-1) unstable; urgency=low * New upstream release. - POSIX shell script and data. - Makefile supporting $(DESTDIR) and $(prefix) . -- Osamu Aoki Mon, 12 Jan 2015 01:00:01 +0900 debhello (0.2-1) unstable; urgency=low * New upstream release. - POSIX shell script and data without Makefile. -- Osamu Aoki Mon, 12 Jan 2015 00:02:01 +0900 debhello (0.1-1) unstable; urgency=low * New upstream release. - Empty content. -- Osamu Aoki Mon, 12 Jan 2015 00:01:01 +0900 debhello (0.0-1) unstable; urgency=low * Initial release of debhello. Closes: #123456 - C source for an executable. - Makefile supporting $(DESTDIR) and $(prefix)=/usr . -- Osamu Aoki Mon, 12 Jan 2015 00:00:01 +0900 debmake-doc-1.1/debhello-3.0/debian/rules0000775000175000017500000000015712613712701017123 0ustar osamuosamu#!/usr/bin/make -f export DH_VERBOSE = 1 %: dh $@ override_dh_auto_install: dh_auto_install -- prefix=/usr debmake-doc-1.1/debhello-3.0/debian/source/0000775000175000017500000000000012613712701017340 5ustar osamuosamudebmake-doc-1.1/debhello-3.0/debian/source/format0000664000175000017500000000001512613712701020547 0ustar osamuosamu3.0 (quilt) debmake-doc-1.1/debhello-3.0/debian/source/local-options0000664000175000017500000000005212613712701022043 0ustar osamuosamuabort-on-upstream-changes unapply-patches debmake-doc-1.1/debhello-3.0/debian/README.Debian0000664000175000017500000000031212613712701020075 0ustar osamuosamudebhello upstream package example This is an example upstream package to demonstrate the Debian packaging using the debmake command. -- Osamu Aoki Sun, 11 Jan 2015 00:00:00 +0000 debmake-doc-1.1/debhello-3.0/debian/compat0000664000175000017500000000000212613712701017236 0ustar osamuosamu9 debmake-doc-1.1/debhello-3.0/debian/watch0000664000175000017500000000022412613712701017067 0ustar osamuosamu# When there is no appropriate upstream URL for uscan, it is # the best to have a watch file without any real content as # this file. See uscan(1). debmake-doc-1.1/debhello-3.0/debian/copyright0000664000175000017500000000241512613712701017775 0ustar osamuosamuFormat: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ Upstream-Name: debhello Source: http://anonscm.debian.org/cgit/collab-maint/debmake-doc.git/tree/base Files: * Copyright: 2015 Osamu Aoki License: MIT Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: . The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. . THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. debmake-doc-1.1/debhello-3.0/Makefile0000664000175000017500000000160312613712701016256 0ustar osamuosamuprefix = /usr/local all: data/hello.desktop po/ja.mo data/hello.desktop po/ja.mo: $(MAKE) -C po all install: all install -D scripts/hello $(DESTDIR)/$(prefix)/bin/hello install -m 644 -D data/hello.desktop \ $(DESTDIR)$(prefix)/share/applications/hello.desktop install -m 644 -D data/hello.png \ $(DESTDIR)$(prefix)/share/pixmaps/hello.png install -m 644 -D man/hello.1 \ $(DESTDIR)$(prefix)/share/man/man1/hello.1 install -m 644 -D po/ja.mo \ $(DESTDIR)$(prefix)/share/locale/ja/LC_MESSAGES/debhello.mo clean: $(MAKE) -C po clean distclean: clean uninstall: -rm -f $(DESTDIR)$(prefix)/bin/hello -rm -f $(DESTDIR)$(prefix)/share/applications/hello.desktop -rm -f $(DESTDIR)$(prefix)/share/pixmaps/hello.png -rm -f $(DESTDIR)$(prefix)/share/man/man1/hello.1 -rm -f $(DESTDIR)$(prefix)/share/locale/ja/LC_MESSAGES/debhello.mo .PHONY: all install clean distclean uninstall debmake-doc-1.1/debhello-3.0/LICENSE0000664000175000017500000000217712613712701015632 0ustar osamuosamuLicense: All files in this archive are licensed under the MIT License as below. Copyright 2015 Osamu Aoki Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. debmake-doc-1.1/debhello-3.0/po/0000775000175000017500000000000012613712701015234 5ustar osamuosamudebmake-doc-1.1/debhello-3.0/po/Makefile0000664000175000017500000000072512613712701016700 0ustar osamuosamuall: ja.mo ../data/hello.desktop pot: debhello.pot debhello.pot: ../scripts/hello ../data/hello.desktop.in xgettext -d debhello -L desktop ../data/hello.desktop.in -o $@ xgettext -d debhello -j -L shell ../scripts/hello -o $@ %.po: debhello.pot FORCE msgmerge -U $@ debhello.pot %.mo: %.po msgfmt $< -o $@ ../data/hello.desktop: ../data/hello.desktop.in msgfmt --desktop --template $< -d ./ -o $@ clean: -rm -f *.mo *~ -rm -f ../data/hello.desktop FORCE: debmake-doc-1.1/debhello-3.0/po/LINGUAS0000664000175000017500000000000312613712701016252 0ustar osamuosamuja debmake-doc-1.1/debhello-3.0/po/ja.po0000664000175000017500000000212312613712701016164 0ustar osamuosamu# English translations for hello package. # Copyright (C) 2015 THE hello'S COPYRIGHT HOLDER # This file is distributed under the same license as the debhello package. # Osamu Aoki , 2015. # msgid "" msgstr "" "Project-Id-Version: debhello 0.3\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2015-03-01 17:38+0900\n" "PO-Revision-Date: 2015-02-12 23:14+0900\n" "Last-Translator: Osamu Aoki \n" "Language-Team: Japanese\n" "Language: ja_JP\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" #: ../data/hello.desktop.in:3 msgid "Hello" msgstr "こんにちは" #: ../data/hello.desktop.in:4 msgid "Greetings" msgstr "挨拶" #: ../data/hello.desktop.in:6 msgid "hello" msgstr "" #: ../data/hello.desktop.in:9 msgid "hello.png" msgstr "" #: ../scripts/hello:27 #, sh-format msgid "Hello from the shell!" msgstr "シェルから、こんにちは!" #: ../scripts/hello:30 #, sh-format msgid "Type Enter to exit this program: " msgstr "このプログラムを終了するには Enter を押してください: " debmake-doc-1.1/debhello-3.0/man/0000775000175000017500000000000012613712701015371 5ustar osamuosamudebmake-doc-1.1/debhello-3.0/man/hello.10000664000175000017500000000062712613712701016563 0ustar osamuosamu.\" Hey, EMACS: -*- nroff -*- .\" (C) Copyright 2015 "Osamu Aoki" , .TH HELLO 1 "2015-01-12" .SH NAME hello \- example executable program .SH SYNOPSIS .B hello .SH DESCRIPTION This is an example executable program to print a short text message. .SH OPTIONS None available. .SH SEE ALSO .BR debmake (1) and documentation in the .BR debmake-doc package. debmake-doc-1.1/debhello-3.0/data/0000775000175000017500000000000012613712701015527 5ustar osamuosamudebmake-doc-1.1/debhello-3.0/data/hello.desktop.in0000664000175000017500000000021112613712701020624 0ustar osamuosamu[Desktop Entry] Name=Hello Comment=Greetings Type=Application Keywords=hello Exec=hello Terminal=true Icon=hello.png Categories=Utility; debmake-doc-1.1/debhello-3.0/data/hello.png0000664000175000017500000002225412613712701017345 0ustar osamuosamuPNG  IHDR@@iqbKGD pHYs  tIME(/SptEXtCommentCreated with GIMPW IDATxڽkYu[\9{zgg !gpb+JC8R)URv2iJ QNYX)\a┉U)d2 `0@\zOޞٷb, ~/ok%7 .w G9S&宴M+SR=_V[[i+1\q>{;OxgER?0śi+!YWcHׅr%o!e8y&eJw(sC`Yh+=|\[Bw`~6/}8:(oվ WdLY n馥^7pPo e-TjpB7V;ei zzg3=<|?X/uRayaot n/ ̂gWFOYܸ;.Ǎ5Y64f́lR(Tok@q9͟dotx㱓xUڱ+DJɒؑ&Qn!%-]@i b ;'IvBZΓ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N2Bd-Q>i [ UR^<]pʼn@-Z-eYG'FQ*lp+7KfLC¨Ҫe-lZ;`ks}?cu' Qp Oߞ}Ӯ<3%?60m)SB2ʮv]ĶE"livǤ=yq9k9c YETL&?f,I$YC`KJ`悽c w²yM.2m!K;; uZbT_^{G-dE3:)S+U[9 YfH1 bYOC#̍`}XƊJra#63*A*{uK0`{%ؾ'i>| b}aşgO׸ vѼ3f^}SWj n4Qb|6#1lBY肰Ȇ#5U0"%ck̼t Jj*zX(dD&2)1hcImC5 R6:|4 N!"Nw\8qw 微{T ̧qkn)FGuoh%ۡ*mjqG1+?}5t7W;U'P(I7>)bڒEi錾x\iJ%P`au94 M$ב[rͨ1HRFq`;XlccNBp__ 1ӯ[<[WI_֠[G$ ̒Oc1/C+8c$ S'[3Br$ HB`CKmZT>?whſo#S?:q:7WxH4!  :֑2M2kTA'BDR6vR1 B/74>pݯ}k>w[.poGx^ ؼCDnf>o3fzJ4p`ǎ>{h4KPЪI `c<3QdNggmmWζ^/oFx~7p \s{Cb<޲bsdq۶G*qе8|on9tˠ?z1墧}ܻ$;'=1$00j 1ۉuB: gav yyYǀ'yȖ7=dJ6'f{8(U.88|v3ҜX6 R̵[;g{;f䣞Ҷ(/t7[h/dev/null cd ${TESTDIR} L "tar -xzmf ${PROJECT}.tar.gz" L "tree" debmake-doc-1.1/debhello-3.2-pkg1/step202.cmd0000775000175000017500000000004112613712701017342 0ustar osamuosamuL "cat ${PROJECT}/debian/rules" debmake-doc-1.1/debhello-3.2-pkg1/step701.cmd0000775000175000017500000000032612613712701017354 0ustar osamuosamuFILE=$(ls *.tar.?z | \ grep -v 'orig.tar.gz' |\ grep -v 'orig.tar.xz' ) for f in $FILE ; do EXT=${f##*.} if [ "$EXT" = "gz" ]; then L "tar -tzf $f" elif [ "$EXT" = "xz" ]; then L "tar --xz -tf $f" else : fi done debmake-doc-1.1/debhello-3.2-pkg1/step299.cmd0000775000175000017500000000012012613712701017360 0ustar osamuosamu# make deb CD .. cd .. L "cp -a ${TESTDIR} debmake" CD ${TESTDIR} cd ${TESTDIR} debmake-doc-1.1/debhello-3.2-pkg1/step600.cmd0000775000175000017500000000003312613712701017345 0ustar osamuosamuCD .. cd .. L "tree -FL 1" debmake-doc-1.1/debhello-3.2-pkg1/step102.cmd0000775000175000017500000000004012613712701017340 0ustar osamuosamuL "cat ${PROJECT}/Makefile.in" debmake-doc-1.1/debhello-3.2-pkg1/step499.cmd0000775000175000017500000000012012613712701017362 0ustar osamuosamu# make deb CD .. cd .. L "cp -a ${TESTDIR} package" CD ${TESTDIR} cd ${TESTDIR} debmake-doc-1.1/debhello-3.2-pkg1/step400.cmd0000775000175000017500000000003312613712701017343 0ustar osamuosamuL "tree ${PROJECT}/debian" debmake-doc-1.1/debhello-3.2-pkg1/step201.cmd0000775000175000017500000000002512613712701017343 0ustar osamuosamuCD .. cd .. L "tree" debmake-doc-1.1/debhello-3.2-pkg1/step203.cmd0000775000175000017500000000004312613712701017345 0ustar osamuosamuL "cat ${PROJECT}/debian/control" debmake-doc-1.1/debhello-3.2-pkg1/step702.cmd0000775000175000017500000000013412613712701017352 0ustar osamuosamufor deb in *.deb; do L "dpkg -f ${deb} pre-depends depends recommends conflics breaks" done debmake-doc-1.1/debhello-3.2-pkg1/step200.cmd0000775000175000017500000000007612613712701017350 0ustar osamuosamu# Debianize (initial) CD ${PROJECT} cd ${PROJECT} L "debmake" debmake-doc-1.1/debhello-3.2-pkg1/step302.cmd0000775000175000017500000000026512613712701017353 0ustar osamuosamuecho " \$ vim ${PROJECT}/debian/control" echo " ... hack, hack, hack, ..." cp -f ${COMMONDIR}/${PROJECT}/debian/control ${PROJECT}/debian/control L "cat ${PROJECT}/debian/control" debmake-doc-1.1/debhello-3.2-pkg1/step700.cmd0000775000175000017500000000016012613712701017347 0ustar osamuosamufor deb in *.deb; do L "dpkg -c ${deb}" | sed -e 's/root.root...............-..-.. ..:../root\/root ... /' done debmake-doc-1.1/debhello-3.2-pkg1/step103.cmd0000775000175000017500000000003612613712701017346 0ustar osamuosamuL "cat ${PROJECT}/configure" debmake-doc-1.1/debhello-3.2-pkg1/step104.cmd0000775000175000017500000000007612613712701017353 0ustar osamuosamuL "cat ${PROJECT}/po/LINGUAS" L "cat ${PROJECT}/po/Makefile" debmake-doc-1.1/debhello-3.2-pkg1/step101.cmd0000775000175000017500000000004012613712701017337 0ustar osamuosamuL "cat ${PROJECT}/src/hello.c" debmake-doc-1.1/debhello-3.2-pkg1/step500.cmd0000775000175000017500000000011512613712701017345 0ustar osamuosamu# make deb CD ${PROJECT} cd ${PROJECT} echo " \$ debuild" debuild -i -us -uc debmake-doc-1.1/debhello-2.0-pkg1/0000775000175000017500000000000012613712701015455 5ustar osamuosamudebmake-doc-1.1/debhello-2.0-pkg1/step301.cmd0000775000175000017500000000025512613712701017346 0ustar osamuosamuecho " \$ vim ${PROJECT}/debian/rules" echo " ... hack, hack, hack, ..." cp -f ${COMMONDIR}/${PROJECT}/debian/rules ${PROJECT}/debian/rules L "cat ${PROJECT}/debian/rules" debmake-doc-1.1/debhello-2.0-pkg1/step000.cmd0000775000175000017500000000037512613712701017345 0ustar osamuosamu# Fake download session echo " \$ wget http://www.example.org/download/${PROJECT}.tar.gz" echo " ..." # Reality behind scene cp -a ${COMMONDIR}/${PROJECT}.${TGZ} ${TESTDIR} CD ${TESTDIR} >/dev/null cd ${TESTDIR} L "tar -xzmf ${PROJECT}.tar.gz" L "tree" debmake-doc-1.1/debhello-2.0-pkg1/step202.cmd0000775000175000017500000000004112613712701017337 0ustar osamuosamuL "cat ${PROJECT}/debian/rules" debmake-doc-1.1/debhello-2.0-pkg1/step701.cmd0000775000175000017500000000032612613712701017351 0ustar osamuosamuFILE=$(ls *.tar.?z | \ grep -v 'orig.tar.gz' |\ grep -v 'orig.tar.xz' ) for f in $FILE ; do EXT=${f##*.} if [ "$EXT" = "gz" ]; then L "tar -tzf $f" elif [ "$EXT" = "xz" ]; then L "tar --xz -tf $f" else : fi done debmake-doc-1.1/debhello-2.0-pkg1/step299.cmd0000775000175000017500000000012012613712701017355 0ustar osamuosamu# make deb CD .. cd .. L "cp -a ${TESTDIR} debmake" CD ${TESTDIR} cd ${TESTDIR} debmake-doc-1.1/debhello-2.0-pkg1/step300.cmd0000775000175000017500000000045712613712701017351 0ustar osamuosamu# clean excess template files for f in \ clean \ debhello.doc-base \ debhello.docs \ debhello.examples \ debhello.info \ debhello.links \ debhello.manpages \ debhello.menu \ debhello.postinst \ debhello.postrm \ debhello.preinst \ debhello.prerm \ ; do L "rm -f ${PROJECT}/debian/$f" done debmake-doc-1.1/debhello-2.0-pkg1/step600.cmd0000775000175000017500000000003312613712701017342 0ustar osamuosamuCD .. cd .. L "tree -FL 1" debmake-doc-1.1/debhello-2.0-pkg1/step102.cmd0000775000175000017500000000010712613712701017341 0ustar osamuosamuL "cat ${PROJECT}/lib/sharedlib.h" L "cat ${PROJECT}/lib/sharedlib.c" debmake-doc-1.1/debhello-2.0-pkg1/step499.cmd0000775000175000017500000000012012613712701017357 0ustar osamuosamu# make deb CD .. cd .. L "cp -a ${TESTDIR} package" CD ${TESTDIR} cd ${TESTDIR} debmake-doc-1.1/debhello-2.0-pkg1/step303.cmd0000775000175000017500000000040012613712701017340 0ustar osamuosamufor f in \ debhello.install \ libsharedlib1.install \ libsharedlib-dev.install \ ; do echo " \$ vim ${PROJECT}/debian/$f" echo " ... hack, hack, hack, ..." cp -f ${COMMONDIR}/${PROJECT}/debian/$f ${PROJECT}/debian/$f L "cat ${PROJECT}/debian/$f" done debmake-doc-1.1/debhello-2.0-pkg1/step400.cmd0000775000175000017500000000003312613712701017340 0ustar osamuosamuL "tree ${PROJECT}/debian" debmake-doc-1.1/debhello-2.0-pkg1/step201.cmd0000775000175000017500000000002512613712701017340 0ustar osamuosamuCD .. cd .. L "tree" debmake-doc-1.1/debhello-2.0-pkg1/step304.cmd0000775000175000017500000000026612613712701017353 0ustar osamuosamuecho " ... hack, hack, hack, ..." cp -f ${COMMONDIR}/${PROJECT}/debian/libsharedlib1.symbols ${PROJECT}/debian/libsharedlib1.symbols L "cat ${PROJECT}/debian/libsharedlib1.symbols" debmake-doc-1.1/debhello-2.0-pkg1/step203.cmd0000775000175000017500000000004312613712701017342 0ustar osamuosamuL "cat ${PROJECT}/debian/control" debmake-doc-1.1/debhello-2.0-pkg1/step702.cmd0000775000175000017500000000013412613712701017347 0ustar osamuosamufor deb in *.deb; do L "dpkg -f ${deb} pre-depends depends recommends conflics breaks" done debmake-doc-1.1/debhello-2.0-pkg1/step390.cmd0000775000175000017500000000053712613712701017361 0ustar osamuosamu# update simple template files mkdir -p ${PROJECT}/debian/source for f in \ README.Debian \ changelog \ watch \ compat \ copyright \ source/format \ source/local-options \ ; do echo " \$ vim ${PROJECT}/debian/$f" echo " ... hack, hack, hack, ..." cp -f ${COMMONDIR}/${PROJECT}/debian/$f ${PROJECT}/debian/$f L "cat ${PROJECT}/debian/$f" done debmake-doc-1.1/debhello-2.0-pkg1/step200.cmd0000775000175000017500000000017112613712701017341 0ustar osamuosamu# Debianize (initial) CD ${PROJECT} cd ${PROJECT} L "debmake -b',libsharedlib1,libsharedlib-dev,-dbg,libsharedlib1-dbg'" debmake-doc-1.1/debhello-2.0-pkg1/step302.cmd0000775000175000017500000000026512613712701017350 0ustar osamuosamuecho " \$ vim ${PROJECT}/debian/control" echo " ... hack, hack, hack, ..." cp -f ${COMMONDIR}/${PROJECT}/debian/control ${PROJECT}/debian/control L "cat ${PROJECT}/debian/control" debmake-doc-1.1/debhello-2.0-pkg1/step700.cmd0000775000175000017500000000016012613712701017344 0ustar osamuosamufor deb in *.deb; do L "dpkg -c ${deb}" | sed -e 's/root.root...............-..-.. ..:../root\/root ... /' done debmake-doc-1.1/debhello-2.0-pkg1/step103.cmd0000775000175000017500000000021112613712701017336 0ustar osamuosamuL "cat ${PROJECT}/Makefile.am" L "cat ${PROJECT}/man/Makefile.am" L "cat ${PROJECT}/lib/Makefile.am" L "cat ${PROJECT}/src/Makefile.am" debmake-doc-1.1/debhello-2.0-pkg1/step104.cmd0000775000175000017500000000004112613712701017340 0ustar osamuosamuL "cat ${PROJECT}/configure.ac" debmake-doc-1.1/debhello-2.0-pkg1/step101.cmd0000775000175000017500000000004012613712701017334 0ustar osamuosamuL "cat ${PROJECT}/src/hello.c" debmake-doc-1.1/debhello-2.0-pkg1/step500.cmd0000775000175000017500000000011512613712701017342 0ustar osamuosamu# make deb CD ${PROJECT} cd ${PROJECT} echo " \$ debuild" debuild -i -us -uc debmake-doc-1.1/debhello-1.3/0000775000175000017500000000000012613712701014617 5ustar osamuosamudebmake-doc-1.1/debhello-1.3/MANIFEST.in0000664000175000017500000000015112613712701016352 0ustar osamuosamuinclude MANIFEST.in include LICENSE include data/hello.deskto include data/hello.png include man/hello.1 debmake-doc-1.1/debhello-1.3/debian/0000775000175000017500000000000012613712701016041 5ustar osamuosamudebmake-doc-1.1/debhello-1.3/debian/control0000664000175000017500000000124212613712701017443 0ustar osamuosamuSource: debhello Section: devel Priority: extra Maintainer: Osamu Aoki Build-Depends: debhelper (>=9), dh-python, python3-all Standards-Version: 3.9.6 Homepage: http://anonscm.debian.org/cgit/collab-maint/debmake-doc.git/ X-Python3-Version: >= 3.2 Package: debhello Architecture: all Multi-Arch: foreign Depends: gir1.2-gtk-3.0, python3-gi, ${misc:Depends}, ${python3:Depends} Description: example package in the debmake-doc package This is an example package to demonstrate the Debian packaging using the debmake command. . The generated Debian package uses the dh command offered by the debhelper package and the dpkg source format `3.0 (quilt)'. debmake-doc-1.1/debhello-1.3/debian/changelog0000664000175000017500000000302212613712701017710 0ustar osamuosamudebhello (1.3-1) unstable; urgency=low * New upstream release. - Python3 script with the graphical user interface. - Packaged in Python distutils with setup.py . -- Osamu Aoki Mon, 12 Jan 2015 01:03:01 +0900 debhello (1.2-1) unstable; urgency=low * New upstream release. - Python3 script with the command-line interface. - Packaged in Python distutils with setup.py . -- Osamu Aoki Mon, 12 Jan 2015 01:02:01 +0900 debhello (1.1-1) unstable; urgency=low * New upstream release. - POSIX shell script and data with the graphical user interface. - Makefile supporting $(DESTDIR) and $(prefix) . -- Osamu Aoki Mon, 12 Jan 2015 01:01:01 +0900 debhello (1.0-1) unstable; urgency=low * New upstream release. - POSIX shell script and data. - Makefile supporting $(DESTDIR) and $(prefix) . -- Osamu Aoki Mon, 12 Jan 2015 01:00:01 +0900 debhello (0.2-1) unstable; urgency=low * New upstream release. - POSIX shell script and data without Makefile. -- Osamu Aoki Mon, 12 Jan 2015 00:02:01 +0900 debhello (0.1-1) unstable; urgency=low * New upstream release. - Empty content. -- Osamu Aoki Mon, 12 Jan 2015 00:01:01 +0900 debhello (0.0-1) unstable; urgency=low * Initial release of debhello. Closes: #123456 - C source for an executable. - Makefile supporting $(DESTDIR) and $(prefix)=/usr . -- Osamu Aoki Mon, 12 Jan 2015 00:00:01 +0900 debmake-doc-1.1/debhello-1.3/debian/rules0000775000175000017500000000013112613712701017114 0ustar osamuosamu#!/usr/bin/make -f export DH_VERBOSE = 1 %: dh $@ --with python3 --buildsystem=pybuild debmake-doc-1.1/debhello-1.3/debian/source/0000775000175000017500000000000012613712701017341 5ustar osamuosamudebmake-doc-1.1/debhello-1.3/debian/source/format0000664000175000017500000000001512613712701020550 0ustar osamuosamu3.0 (quilt) debmake-doc-1.1/debhello-1.3/debian/source/local-options0000664000175000017500000000005212613712701022044 0ustar osamuosamuabort-on-upstream-changes unapply-patches debmake-doc-1.1/debhello-1.3/debian/README.Debian0000664000175000017500000000031212613712701020076 0ustar osamuosamudebhello upstream package example This is an example upstream package to demonstrate the Debian packaging using the debmake command. -- Osamu Aoki Sun, 11 Jan 2015 00:00:00 +0000 debmake-doc-1.1/debhello-1.3/debian/compat0000664000175000017500000000000212613712701017237 0ustar osamuosamu9 debmake-doc-1.1/debhello-1.3/debian/watch0000664000175000017500000000022412613712701017070 0ustar osamuosamu# When there is no appropriate upstream URL for uscan, it is # the best to have a watch file without any real content as # this file. See uscan(1). debmake-doc-1.1/debhello-1.3/debian/copyright0000664000175000017500000000241512613712701017776 0ustar osamuosamuFormat: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ Upstream-Name: debhello Source: http://anonscm.debian.org/cgit/collab-maint/debmake-doc.git/tree/base Files: * Copyright: 2015 Osamu Aoki License: MIT Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: . The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. . THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. debmake-doc-1.1/debhello-1.3/LICENSE0000664000175000017500000000217712613712701015633 0ustar osamuosamuLicense: All files in this archive are licensed under the MIT License as below. Copyright 2015 Osamu Aoki Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. debmake-doc-1.1/debhello-1.3/PKG-INFO0000664000175000017500000000107712613712701015721 0ustar osamuosamuMetadata-Version: 1.1 Name: hello Version: 0.2 Summary: Hello Python Home-page: http://people.debian.org/~osamu/ Author: Osamu Aoki Author-email: osamu@debian.org License: MIT License Description: Hello Python program. Platform: POSIX Classifier: Development Status :: 3 - Alpha Classifier: Environment :: Console Classifier: Intended Audience :: Developers Classifier: License :: OSI Approved :: MIT License Classifier: Natural Language :: English Classifier: Operating System :: POSIX :: Linux Classifier: Programming Language :: Python :: 3 Classifier: Topic :: Utilities debmake-doc-1.1/debhello-1.3/man/0000775000175000017500000000000012613712701015372 5ustar osamuosamudebmake-doc-1.1/debhello-1.3/man/hello.10000664000175000017500000000062712613712701016564 0ustar osamuosamu.\" Hey, EMACS: -*- nroff -*- .\" (C) Copyright 2015 "Osamu Aoki" , .TH HELLO 1 "2015-01-12" .SH NAME hello \- example executable program .SH SYNOPSIS .B hello .SH DESCRIPTION This is an example executable program to print a short text message. .SH OPTIONS None available. .SH SEE ALSO .BR debmake (1) and documentation in the .BR debmake-doc package. debmake-doc-1.1/debhello-1.3/data/0000775000175000017500000000000012613712701015530 5ustar osamuosamudebmake-doc-1.1/debhello-1.3/data/hello.desktop0000664000175000017500000000026612613712701020232 0ustar osamuosamu[Desktop Entry] Name=Hello Name[ja]=こんにちは Comment=Greetings Comment[ja]=挨拶 Type=Application Keywords=hello Exec=hello Terminal=false Icon=hello.png Categories=Utility; debmake-doc-1.1/debhello-1.3/data/hello.png0000664000175000017500000002225412613712701017346 0ustar osamuosamuPNG  IHDR@@iqbKGD pHYs  tIME(/SptEXtCommentCreated with GIMPW IDATxڽkYu[\9{zgg !gpb+JC8R)URv2iJ QNYX)\a┉U)d2 `0@\zOޞ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jƓ6vsРմ$Q*>VXa^YQX=&FSQSCCc_*xxfAgvy.=< \H Ⱥ=+?nyo9Rc!B-3Zl)N()TkSQ)ʉN.BԀ茦i&!6#Ε¡^X8"' (EZɪB/4,k-}_3L~V|{۵~WIPwf<hu\J8jDI 26SSULI03T&p-3k8¬B*󤴀QT ®fƪH8üZXY30;oλ_ g۹}yp/x x ;֎ʿ}چX> L)XN2Bd-Q>i [ UR^<]pʼn@-Z-eYG'FQ*lp+7KfLC¨Ҫe-lZ;`ks}?cu' Qp Oߞ}Ӯ<3%?60m)SB2ʮv]ĶE"livǤ=yq9k9c YETL&?f,I$YC`KJ`悽c w²yM.2m!K;; uZbT_^{G-dE3:)S+U[9 YfH1 bYOC#̍`}XƊJra#63*A*{uK0`{%ؾ'i>| b}aşgO׸ vѼ3f^}SWj n4Qb|6#1lBY肰Ȇ#5U0"%ck̼t Jj*zX(dD&2)1hcImC5 R6:|4 N!"Nw\8qw 微{T ̧qkn)FGuoh%ۡ*mjqG1+?}5t7W;U'P(I7>)bڒEi錾x\iJ%P`au94 M$ב[rͨ1HRFq`;XlccNBp__ 1ӯ[<[WI_֠[G$ ̒Oc1/C+8c$ S'[3Br$ HB`CKmZT>?whſo#S?:q:7WxH4!  :֑2M2kTA'BDR6vR1 B/74>pݯ}k>w[.poGx^ ؼCDnf>o3fzJ4p`ǎ>{h4KPЪI `c<3QdNggmmWζ^/oFx~7p \s{Cb<޲bsdq۶G*qе8|on9tˠ?z1墧}ܻ$;'=1$00j 1ۉuB: gav yyYǀ'yȖ7=dJ6'f{8(U.88|v3ҜX6 R̵[;g{;f䣞Ҷ(/t7[h/dev/null cd ${TESTDIR} L "tar -xzmf ${PROJECT}.tar.gz" L "tree" debmake-doc-1.1/debhello-3.3-pkg1/step202.cmd0000775000175000017500000000004112613712701017343 0ustar osamuosamuL "cat ${PROJECT}/debian/rules" debmake-doc-1.1/debhello-3.3-pkg1/step105.cmd0000775000175000017500000000005112613712701017346 0ustar osamuosamuL "grep '^[^#]' ${PROJECT}/po/Makevars" debmake-doc-1.1/debhello-3.3-pkg1/step701.cmd0000775000175000017500000000032612613712701017355 0ustar osamuosamuFILE=$(ls *.tar.?z | \ grep -v 'orig.tar.gz' |\ grep -v 'orig.tar.xz' ) for f in $FILE ; do EXT=${f##*.} if [ "$EXT" = "gz" ]; then L "tar -tzf $f" elif [ "$EXT" = "xz" ]; then L "tar --xz -tf $f" else : fi done debmake-doc-1.1/debhello-3.3-pkg1/step299.cmd0000775000175000017500000000012012613712701017361 0ustar osamuosamu# make deb CD .. cd .. L "cp -a ${TESTDIR} debmake" CD ${TESTDIR} cd ${TESTDIR} debmake-doc-1.1/debhello-3.3-pkg1/step600.cmd0000775000175000017500000000003312613712701017346 0ustar osamuosamuCD .. cd .. L "tree -FL 1" debmake-doc-1.1/debhello-3.3-pkg1/step102.cmd0000775000175000017500000000014612613712701017350 0ustar osamuosamuL "cat ${PROJECT}/Makefile.am" L "cat ${PROJECT}/man/Makefile.am" L "cat ${PROJECT}/src/Makefile.am" debmake-doc-1.1/debhello-3.3-pkg1/step499.cmd0000775000175000017500000000012012613712701017363 0ustar osamuosamu# make deb CD .. cd .. L "cp -a ${TESTDIR} package" CD ${TESTDIR} cd ${TESTDIR} debmake-doc-1.1/debhello-3.3-pkg1/step106.cmd0000775000175000017500000000003512613712701017351 0ustar osamuosamuL "cat ${PROJECT}/po/fr.po" debmake-doc-1.1/debhello-3.3-pkg1/step400.cmd0000775000175000017500000000003312613712701017344 0ustar osamuosamuL "tree ${PROJECT}/debian" debmake-doc-1.1/debhello-3.3-pkg1/step201.cmd0000775000175000017500000000002512613712701017344 0ustar osamuosamuCD .. cd .. L "tree" debmake-doc-1.1/debhello-3.3-pkg1/step203.cmd0000775000175000017500000000004312613712701017346 0ustar osamuosamuL "cat ${PROJECT}/debian/control" debmake-doc-1.1/debhello-3.3-pkg1/step702.cmd0000775000175000017500000000013412613712701017353 0ustar osamuosamufor deb in *.deb; do L "dpkg -f ${deb} pre-depends depends recommends conflics breaks" done debmake-doc-1.1/debhello-3.3-pkg1/step200.cmd0000775000175000017500000000007612613712701017351 0ustar osamuosamu# Debianize (initial) CD ${PROJECT} cd ${PROJECT} L "debmake" debmake-doc-1.1/debhello-3.3-pkg1/step302.cmd0000775000175000017500000000026512613712701017354 0ustar osamuosamuecho " \$ vim ${PROJECT}/debian/control" echo " ... hack, hack, hack, ..." cp -f ${COMMONDIR}/${PROJECT}/debian/control ${PROJECT}/debian/control L "cat ${PROJECT}/debian/control" debmake-doc-1.1/debhello-3.3-pkg1/step700.cmd0000775000175000017500000000016012613712701017350 0ustar osamuosamufor deb in *.deb; do L "dpkg -c ${deb}" | sed -e 's/root.root...............-..-.. ..:../root\/root ... /' done debmake-doc-1.1/debhello-3.3-pkg1/step103.cmd0000775000175000017500000000004112613712701017343 0ustar osamuosamuL "cat ${PROJECT}/configure.ac" debmake-doc-1.1/debhello-3.3-pkg1/step104.cmd0000775000175000017500000000010112613712701017341 0ustar osamuosamuL "cat ${PROJECT}/po/LINGUAS" L "cat ${PROJECT}/po/POTFILES.in" debmake-doc-1.1/debhello-3.3-pkg1/step101.cmd0000775000175000017500000000004012613712701017340 0ustar osamuosamuL "cat ${PROJECT}/src/hello.c" debmake-doc-1.1/debhello-3.3-pkg1/step500.cmd0000775000175000017500000000011512613712701017346 0ustar osamuosamu# make deb CD ${PROJECT} cd ${PROJECT} echo " \$ debuild" debuild -i -us -uc debmake-doc-1.1/Makefile0000664000175000017500000000106712613712701014206 0ustar osamuosamu# Build all Debian packaging examples and produce documentation # Copyright (C) 2015 Osamu Aoki # run "make prep" before commit all: build include Makefile.common include Makefile.pkg include Makefile.dbk build: pkg $(MAKE) -C $(ASCIIDOC_DIR) xml # base XML documentation install: -mkdir -p $(TMPDIR) -mkdir -p $(BASEDIR)/html $(MAKE) css html pdf epub txt # build docs from XML #ifndef DEBUG -rm -rf $(TMPDIR) # remove all $(TMPDIR) contents #endif clean:: -rm -rf $(TMPDIR) -$(MAKE) -C $(ASCIIDOC_DIR) clean distclean:: clean .PHONY: all build clean debmake-doc-1.1/debhello-0.0-pkg1/0000775000175000017500000000000012613712701015453 5ustar osamuosamudebmake-doc-1.1/debhello-0.0-pkg1/step301.cmd0000775000175000017500000000025512613712701017344 0ustar osamuosamuecho " \$ vim ${PROJECT}/debian/rules" echo " ... hack, hack, hack, ..." cp -f ${COMMONDIR}/${PROJECT}/debian/rules ${PROJECT}/debian/rules L "cat ${PROJECT}/debian/rules" debmake-doc-1.1/debhello-0.0-pkg1/step000.cmd0000775000175000017500000000037512613712701017343 0ustar osamuosamu# Fake download session echo " \$ wget http://www.example.org/download/${PROJECT}.tar.gz" echo " ..." # Reality behind scene cp -a ${COMMONDIR}/${PROJECT}.${TGZ} ${TESTDIR} CD ${TESTDIR} >/dev/null cd ${TESTDIR} L "tar -xzmf ${PROJECT}.tar.gz" L "tree" debmake-doc-1.1/debhello-0.0-pkg1/step202.cmd0000775000175000017500000000004112613712701017335 0ustar osamuosamuL "cat ${PROJECT}/debian/rules" debmake-doc-1.1/debhello-0.0-pkg1/step701.cmd0000775000175000017500000000032612613712701017347 0ustar osamuosamuFILE=$(ls *.tar.?z | \ grep -v 'orig.tar.gz' |\ grep -v 'orig.tar.xz' ) for f in $FILE ; do EXT=${f##*.} if [ "$EXT" = "gz" ]; then L "tar -tzf $f" elif [ "$EXT" = "xz" ]; then L "tar --xz -tf $f" else : fi done debmake-doc-1.1/debhello-0.0-pkg1/step299.cmd0000775000175000017500000000012012613712701017353 0ustar osamuosamu# make deb CD .. cd .. L "cp -a ${TESTDIR} debmake" CD ${TESTDIR} cd ${TESTDIR} debmake-doc-1.1/debhello-0.0-pkg1/step204.cmd0000775000175000017500000000004512613712701017343 0ustar osamuosamuL "cat ${PROJECT}/debian/copyright" debmake-doc-1.1/debhello-0.0-pkg1/step600.cmd0000775000175000017500000000003312613712701017340 0ustar osamuosamuCD .. cd .. L "tree -FL 1" debmake-doc-1.1/debhello-0.0-pkg1/step102.cmd0000775000175000017500000000003512613712701017337 0ustar osamuosamuL "cat ${PROJECT}/Makefile" debmake-doc-1.1/debhello-0.0-pkg1/step499.cmd0000775000175000017500000000012012613712701017355 0ustar osamuosamu# make deb CD .. cd .. L "cp -a ${TESTDIR} package" CD ${TESTDIR} cd ${TESTDIR} debmake-doc-1.1/debhello-0.0-pkg1/step303.cmd0000775000175000017500000000027512613712701017350 0ustar osamuosamuecho " \$ vim ${PROJECT}/debian/copyright" echo " ... hack, hack, hack, ..." cp -f ${COMMONDIR}/${PROJECT}/debian/copyright ${PROJECT}/debian/copyright L "cat ${PROJECT}/debian/copyright" debmake-doc-1.1/debhello-0.0-pkg1/step400.cmd0000775000175000017500000000003312613712701017336 0ustar osamuosamuL "tree ${PROJECT}/debian" debmake-doc-1.1/debhello-0.0-pkg1/step201.cmd0000775000175000017500000000002512613712701017336 0ustar osamuosamuCD .. cd .. L "tree" debmake-doc-1.1/debhello-0.0-pkg1/step203.cmd0000775000175000017500000000004312613712701017340 0ustar osamuosamuL "cat ${PROJECT}/debian/control" debmake-doc-1.1/debhello-0.0-pkg1/step702.cmd0000775000175000017500000000013412613712701017345 0ustar osamuosamufor deb in *.deb; do L "dpkg -f ${deb} pre-depends depends recommends conflics breaks" done debmake-doc-1.1/debhello-0.0-pkg1/step200.cmd0000775000175000017500000000007612613712701017343 0ustar osamuosamu# Debianize (initial) CD ${PROJECT} cd ${PROJECT} L "debmake" debmake-doc-1.1/debhello-0.0-pkg1/step302.cmd0000775000175000017500000000026512613712701017346 0ustar osamuosamuecho " \$ vim ${PROJECT}/debian/control" echo " ... hack, hack, hack, ..." cp -f ${COMMONDIR}/${PROJECT}/debian/control ${PROJECT}/debian/control L "cat ${PROJECT}/debian/control" debmake-doc-1.1/debhello-0.0-pkg1/step700.cmd0000775000175000017500000000016012613712701017342 0ustar osamuosamufor deb in *.deb; do L "dpkg -c ${deb}" | sed -e 's/root.root...............-..-.. ..:../root\/root ... /' done debmake-doc-1.1/debhello-0.0-pkg1/step101.cmd0000775000175000017500000000004012613712701017332 0ustar osamuosamuL "cat ${PROJECT}/src/hello.c" debmake-doc-1.1/debhello-0.0-pkg1/step500.cmd0000775000175000017500000000011512613712701017340 0ustar osamuosamu# make deb CD ${PROJECT} cd ${PROJECT} echo " \$ debuild" debuild -i -us -uc debmake-doc-1.1/debhello-0.2-pkg1/0000775000175000017500000000000012613712701015455 5ustar osamuosamudebmake-doc-1.1/debhello-0.2-pkg1/step301.cmd0000775000175000017500000000025512613712701017346 0ustar osamuosamuecho " \$ vim ${PROJECT}/debian/rules" echo " ... hack, hack, hack, ..." cp -f ${COMMONDIR}/${PROJECT}/debian/rules ${PROJECT}/debian/rules L "cat ${PROJECT}/debian/rules" debmake-doc-1.1/debhello-0.2-pkg1/step000.cmd0000775000175000017500000000037512613712701017345 0ustar osamuosamu# Fake download session echo " \$ wget http://www.example.org/download/${PROJECT}.tar.gz" echo " ..." # Reality behind scene cp -a ${COMMONDIR}/${PROJECT}.${TGZ} ${TESTDIR} CD ${TESTDIR} >/dev/null cd ${TESTDIR} L "tar -xzmf ${PROJECT}.tar.gz" L "tree" debmake-doc-1.1/debhello-0.2-pkg1/step202.cmd0000775000175000017500000000004112613712701017337 0ustar osamuosamuL "cat ${PROJECT}/debian/rules" debmake-doc-1.1/debhello-0.2-pkg1/step701.cmd0000775000175000017500000000032612613712701017351 0ustar osamuosamuFILE=$(ls *.tar.?z | \ grep -v 'orig.tar.gz' |\ grep -v 'orig.tar.xz' ) for f in $FILE ; do EXT=${f##*.} if [ "$EXT" = "gz" ]; then L "tar -tzf $f" elif [ "$EXT" = "xz" ]; then L "tar --xz -tf $f" else : fi done debmake-doc-1.1/debhello-0.2-pkg1/step299.cmd0000775000175000017500000000012012613712701017355 0ustar osamuosamu# make deb CD .. cd .. L "cp -a ${TESTDIR} debmake" CD ${TESTDIR} cd ${TESTDIR} debmake-doc-1.1/debhello-0.2-pkg1/step600.cmd0000775000175000017500000000003312613712701017342 0ustar osamuosamuCD .. cd .. L "tree -FL 1" debmake-doc-1.1/debhello-0.2-pkg1/step102.cmd0000775000175000017500000000004712613712701017344 0ustar osamuosamuL "cat ${PROJECT}/data/hello.desktop" debmake-doc-1.1/debhello-0.2-pkg1/step499.cmd0000775000175000017500000000012012613712701017357 0ustar osamuosamu# make deb CD .. cd .. L "cp -a ${TESTDIR} package" CD ${TESTDIR} cd ${TESTDIR} debmake-doc-1.1/debhello-0.2-pkg1/step303.cmd0000775000175000017500000000026512613712701017351 0ustar osamuosamuecho " \$ vim ${PROJECT}/debian/install" echo " ... hack, hack, hack, ..." cp -f ${COMMONDIR}/${PROJECT}/debian/install ${PROJECT}/debian/install L "cat ${PROJECT}/debian/install" debmake-doc-1.1/debhello-0.2-pkg1/step400.cmd0000775000175000017500000000003312613712701017340 0ustar osamuosamuL "tree ${PROJECT}/debian" debmake-doc-1.1/debhello-0.2-pkg1/step201.cmd0000775000175000017500000000002512613712701017340 0ustar osamuosamuCD .. cd .. L "tree" debmake-doc-1.1/debhello-0.2-pkg1/step304.cmd0000775000175000017500000000027112613712701017347 0ustar osamuosamuecho " \$ vim ${PROJECT}/debian/manpages" echo " ... hack, hack, hack, ..." cp -f ${COMMONDIR}/${PROJECT}/debian/manpages ${PROJECT}/debian/manpages L "cat ${PROJECT}/debian/manpages" debmake-doc-1.1/debhello-0.2-pkg1/step203.cmd0000775000175000017500000000004312613712701017342 0ustar osamuosamuL "cat ${PROJECT}/debian/control" debmake-doc-1.1/debhello-0.2-pkg1/step702.cmd0000775000175000017500000000013412613712701017347 0ustar osamuosamufor deb in *.deb; do L "dpkg -f ${deb} pre-depends depends recommends conflics breaks" done debmake-doc-1.1/debhello-0.2-pkg1/step200.cmd0000775000175000017500000000010612613712701017337 0ustar osamuosamu# Debianize (initial) CD ${PROJECT} cd ${PROJECT} L "debmake -b':sh'" debmake-doc-1.1/debhello-0.2-pkg1/step302.cmd0000775000175000017500000000026512613712701017350 0ustar osamuosamuecho " \$ vim ${PROJECT}/debian/control" echo " ... hack, hack, hack, ..." cp -f ${COMMONDIR}/${PROJECT}/debian/control ${PROJECT}/debian/control L "cat ${PROJECT}/debian/control" debmake-doc-1.1/debhello-0.2-pkg1/step700.cmd0000775000175000017500000000016012613712701017344 0ustar osamuosamufor deb in *.deb; do L "dpkg -c ${deb}" | sed -e 's/root.root...............-..-.. ..:../root\/root ... /' done debmake-doc-1.1/debhello-0.2-pkg1/step101.cmd0000775000175000017500000000004212613712701017336 0ustar osamuosamuL "cat ${PROJECT}/scripts/hello" debmake-doc-1.1/debhello-0.2-pkg1/step500.cmd0000775000175000017500000000011512613712701017342 0ustar osamuosamu# make deb CD ${PROJECT} cd ${PROJECT} echo " \$ debuild" debuild -i -us -uc debmake-doc-1.1/LICENSE0000664000175000017500000000217712613712701013556 0ustar osamuosamuLicense: All files in this archive are licensed under the MIT License as below. Copyright 2015 Osamu Aoki Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. debmake-doc-1.1/debhello-2.1-pkg1/0000775000175000017500000000000012613712701015456 5ustar osamuosamudebmake-doc-1.1/debhello-2.1-pkg1/step301.cmd0000775000175000017500000000025512613712701017347 0ustar osamuosamuecho " \$ vim ${PROJECT}/debian/rules" echo " ... hack, hack, hack, ..." cp -f ${COMMONDIR}/${PROJECT}/debian/rules ${PROJECT}/debian/rules L "cat ${PROJECT}/debian/rules" debmake-doc-1.1/debhello-2.1-pkg1/step000.cmd0000775000175000017500000000037512613712701017346 0ustar osamuosamu# Fake download session echo " \$ wget http://www.example.org/download/${PROJECT}.tar.gz" echo " ..." # Reality behind scene cp -a ${COMMONDIR}/${PROJECT}.${TGZ} ${TESTDIR} CD ${TESTDIR} >/dev/null cd ${TESTDIR} L "tar -xzmf ${PROJECT}.tar.gz" L "tree" debmake-doc-1.1/debhello-2.1-pkg1/step202.cmd0000775000175000017500000000004112613712701017340 0ustar osamuosamuL "cat ${PROJECT}/debian/rules" debmake-doc-1.1/debhello-2.1-pkg1/step701.cmd0000775000175000017500000000032612613712701017352 0ustar osamuosamuFILE=$(ls *.tar.?z | \ grep -v 'orig.tar.gz' |\ grep -v 'orig.tar.xz' ) for f in $FILE ; do EXT=${f##*.} if [ "$EXT" = "gz" ]; then L "tar -tzf $f" elif [ "$EXT" = "xz" ]; then L "tar --xz -tf $f" else : fi done debmake-doc-1.1/debhello-2.1-pkg1/step299.cmd0000775000175000017500000000012012613712701017356 0ustar osamuosamu# make deb CD .. cd .. L "cp -a ${TESTDIR} debmake" CD ${TESTDIR} cd ${TESTDIR} debmake-doc-1.1/debhello-2.1-pkg1/step300.cmd0000775000175000017500000000045712613712701017352 0ustar osamuosamu# clean excess template files for f in \ clean \ debhello.doc-base \ debhello.docs \ debhello.examples \ debhello.info \ debhello.links \ debhello.manpages \ debhello.menu \ debhello.postinst \ debhello.postrm \ debhello.preinst \ debhello.prerm \ ; do L "rm -f ${PROJECT}/debian/$f" done debmake-doc-1.1/debhello-2.1-pkg1/step600.cmd0000775000175000017500000000003312613712701017343 0ustar osamuosamuCD .. cd .. L "tree -FL 1" debmake-doc-1.1/debhello-2.1-pkg1/step102.cmd0000775000175000017500000000004412613712701017342 0ustar osamuosamuL "cat ${PROJECT}/src/config.h.in" debmake-doc-1.1/debhello-2.1-pkg1/step499.cmd0000775000175000017500000000012012613712701017360 0ustar osamuosamu# make deb CD .. cd .. L "cp -a ${TESTDIR} package" CD ${TESTDIR} cd ${TESTDIR} debmake-doc-1.1/debhello-2.1-pkg1/step303.cmd0000775000175000017500000000040012613712701017341 0ustar osamuosamufor f in \ debhello.install \ libsharedlib1.install \ libsharedlib-dev.install \ ; do echo " \$ vim ${PROJECT}/debian/$f" echo " ... hack, hack, hack, ..." cp -f ${COMMONDIR}/${PROJECT}/debian/$f ${PROJECT}/debian/$f L "cat ${PROJECT}/debian/$f" done debmake-doc-1.1/debhello-2.1-pkg1/step400.cmd0000775000175000017500000000003312613712701017341 0ustar osamuosamuL "tree ${PROJECT}/debian" debmake-doc-1.1/debhello-2.1-pkg1/step201.cmd0000775000175000017500000000002512613712701017341 0ustar osamuosamuCD .. cd .. L "tree" debmake-doc-1.1/debhello-2.1-pkg1/step304.cmd0000775000175000017500000000026612613712701017354 0ustar osamuosamuecho " ... hack, hack, hack, ..." cp -f ${COMMONDIR}/${PROJECT}/debian/libsharedlib1.symbols ${PROJECT}/debian/libsharedlib1.symbols L "cat ${PROJECT}/debian/libsharedlib1.symbols" debmake-doc-1.1/debhello-2.1-pkg1/step203.cmd0000775000175000017500000000004312613712701017343 0ustar osamuosamuL "cat ${PROJECT}/debian/control" debmake-doc-1.1/debhello-2.1-pkg1/step702.cmd0000775000175000017500000000013412613712701017350 0ustar osamuosamufor deb in *.deb; do L "dpkg -f ${deb} pre-depends depends recommends conflics breaks" done debmake-doc-1.1/debhello-2.1-pkg1/step390.cmd0000775000175000017500000000053712613712701017362 0ustar osamuosamu# update simple template files mkdir -p ${PROJECT}/debian/source for f in \ README.Debian \ changelog \ watch \ compat \ copyright \ source/format \ source/local-options \ ; do echo " \$ vim ${PROJECT}/debian/$f" echo " ... hack, hack, hack, ..." cp -f ${COMMONDIR}/${PROJECT}/debian/$f ${PROJECT}/debian/$f L "cat ${PROJECT}/debian/$f" done debmake-doc-1.1/debhello-2.1-pkg1/step200.cmd0000775000175000017500000000017112613712701017342 0ustar osamuosamu# Debianize (initial) CD ${PROJECT} cd ${PROJECT} L "debmake -b',libsharedlib1,libsharedlib-dev,-dbg,libsharedlib1-dbg'" debmake-doc-1.1/debhello-2.1-pkg1/step302.cmd0000775000175000017500000000026512613712701017351 0ustar osamuosamuecho " \$ vim ${PROJECT}/debian/control" echo " ... hack, hack, hack, ..." cp -f ${COMMONDIR}/${PROJECT}/debian/control ${PROJECT}/debian/control L "cat ${PROJECT}/debian/control" debmake-doc-1.1/debhello-2.1-pkg1/step700.cmd0000775000175000017500000000016012613712701017345 0ustar osamuosamufor deb in *.deb; do L "dpkg -c ${deb}" | sed -e 's/root.root...............-..-.. ..:../root\/root ... /' done debmake-doc-1.1/debhello-2.1-pkg1/step305.cmd0000775000175000017500000000057412613712701017357 0ustar osamuosamuecho " ... hack, hack, hack, ...(dquilt or gbp-pq)" mkdir -p ${PROJECT}/debian/patches cp -f ${COMMONDIR}/${PROJECT}/debian/patches/000-cmake-multiarch.patch ${PROJECT}/debian/patches/000-cmake-multiarch.patch echo "000-cmake-multiarch.patch" > ${PROJECT}/debian/patches/series L "cat ${PROJECT}/debian/patches/series" L "cat ${PROJECT}/debian/patches/000-cmake-multiarch.patch" debmake-doc-1.1/debhello-2.1-pkg1/step103.cmd0000775000175000017500000000015712613712701017350 0ustar osamuosamuL "cat ${PROJECT}/CMakeLists.txt" L "cat ${PROJECT}/man/CMakeLists.txt" L "cat ${PROJECT}/src/CMakeLists.txt" debmake-doc-1.1/debhello-2.1-pkg1/step104.cmd0000775000175000017500000000010712613712701017344 0ustar osamuosamuL "cat ${PROJECT}/lib/sharedlib.h" L "cat ${PROJECT}/lib/sharedlib.c" debmake-doc-1.1/debhello-2.1-pkg1/step101.cmd0000775000175000017500000000004012613712701017335 0ustar osamuosamuL "cat ${PROJECT}/src/hello.c" debmake-doc-1.1/debhello-2.1-pkg1/step500.cmd0000775000175000017500000000011512613712701017343 0ustar osamuosamu# make deb CD ${PROJECT} cd ${PROJECT} echo " \$ debuild" debuild -i -us -uc debmake-doc-1.1/debhello-3.4/0000775000175000017500000000000012613712701014622 5ustar osamuosamudebmake-doc-1.1/debhello-3.4/debian/0000775000175000017500000000000012613712701016044 5ustar osamuosamudebmake-doc-1.1/debhello-3.4/debian/patches/0000775000175000017500000000000012613712701017473 5ustar osamuosamudebmake-doc-1.1/debhello-3.4/debian/patches/series0000664000175000017500000000003212613712701020703 0ustar osamuosamu000-cmake-multiarch.patch debmake-doc-1.1/debhello-3.4/debian/patches/000-cmake-multiarch.patch0000664000175000017500000000120612613712701024056 0ustar osamuosamuFrom: "Osamu Aoki" Description: cmake multiarch patch This moves install path from /usr/lib to /usr/lib/. Set by cmake -DCMAKE_LIBRARY_ARCHITECTURE="$(DEB_HOST_MULTIARCH)". --- a/lib/CMakeLists.txt +++ b/lib/CMakeLists.txt @@ -4,5 +4,5 @@ # the RPATH of these targets so they are installed with an empty RPATH. set_property(TARGET sharedlib PROPERTY VERSION "1.0.0") set_property(TARGET sharedlib PROPERTY SOVERSION 1 ) -install(TARGETS sharedlib LIBRARY DESTINATION lib) +install(TARGETS sharedlib LIBRARY DESTINATION lib/${CMAKE_LIBRARY_ARCHITECTURE}) install(FILES sharedlib.h DESTINATION include) debmake-doc-1.1/debhello-3.4/debian/control0000664000175000017500000000477312613712701017462 0ustar osamuosamuSource: debhello Section: devel Priority: extra Maintainer: Osamu Aoki Build-Depends: cmake, debhelper (>=9) Standards-Version: 3.9.6 Homepage: http://anonscm.debian.org/cgit/collab-maint/debmake-doc.git/ Package: debhello Architecture: any Multi-Arch: foreign Depends: libsharedlib1 (= ${binary:Version}), ${misc:Depends}, ${shlibs:Depends} Description: example executable package This is an example package to demonstrate the Debian packaging using the debmake command. . The generated Debian package uses the dh command offered by the debhelper package and the dpkg source format `3.0 (quilt)'. . This package provides the executable program. Package: libsharedlib1 Section: libs Architecture: any Multi-Arch: same Pre-Depends: ${misc:Pre-Depends} Depends: ${misc:Depends}, ${shlibs:Depends} Description: example shared library package This is an example package to demonstrate the Debian packaging using the debmake command. . The generated Debian package uses the dh command offered by the debhelper package and the dpkg source format `3.0 (quilt)'. . This package contains the shared library. Package: libsharedlib-dev Section: libdevel Architecture: any Multi-Arch: same Depends: libsharedlib1 (= ${binary:Version}), ${misc:Depends} Description: example development package This is an example package to demonstrate the Debian packaging using the debmake command. . The generated Debian package uses the dh command offered by the debhelper package and the dpkg source format `3.0 (quilt)'. . This package contains the development files. Package: debhello-dbg Section: debug Architecture: any Multi-Arch: same Depends: debhello (= ${binary:Version}), ${misc:Depends} Description: example debugging package for debhello This is an example package to demonstrate the Debian packaging using the debmake command. . The generated Debian package uses the dh command offered by the debhelper package and the dpkg source format `3.0 (quilt)'. . This package contains the debugging symbols for debhello. Package: libsharedlib1-dbg Section: debug Architecture: any Multi-Arch: same Depends: libsharedlib1 (= ${binary:Version}), ${misc:Depends} Description: example debugging package for libsharedlib1 This is an example package to demonstrate the Debian packaging using the debmake command. . The generated Debian package uses the dh command offered by the debhelper package and the dpkg source format `3.0 (quilt)'. . This package contains the debugging symbols for libsharedlib1. debmake-doc-1.1/debhello-3.4/debian/changelog0000664000175000017500000001064312613712701017722 0ustar osamuosamudebhello (3.4-1) unstable; urgency=low * New upstream release. - C source with a shared library. - C source for an executable with a shared library. - Makefile generated from CMakeLists.txt . - I18N with gettext (0.19). -- Osamu Aoki Mon, 12 Jan 2015 03:04:01 +0900 debhello (3.3-1) unstable; urgency=low * New upstream release. - C source for an executable with a shared library. - Makefile generated from Makefile.am and configure.ac . - I18N with gettext (0.19). -- Osamu Aoki Mon, 12 Jan 2015 03:03:01 +0900 debhello (3.2-1) unstable; urgency=low * New upstream release. - C source for an executable. - Makefile generated from Makefile.in and ./configure . - I18N with gettext (0.19). -- Osamu Aoki Mon, 12 Jan 2015 03:02:01 +0900 debhello (3.1-1) unstable; urgency=low * New upstream release. - Python3 script with the graphical user interface. - Packaged in Python distutils with setup.py . - I18N with gettext / python3-distutils-extra . -- Osamu Aoki Mon, 12 Jan 2015 03:01:01 +0900 debhello (3.0-1) unstable; urgency=low * New upstream release. - POSIX shell script and data with the graphical user interface. - Makefile supporting $(DESTDIR) and $(prefix) . - I18N with gettext (0.19). -- Osamu Aoki Mon, 12 Jan 2015 03:00:01 +0900 debhello (2.1-2) unstable; urgency=low * Single -dbg package. -- Osamu Aoki Mon, 12 Jan 2015 02:02:01 +0900 debhello (2.1-1) unstable; urgency=low * New upstream release. - C source for an executable with a shared library. - Makefile generated from CMakeLists.txt . -- Osamu Aoki Mon, 12 Jan 2015 02:01:01 +0900 debhello (2.0-1) unstable; urgency=low * New upstream release. - C source for an executable with a shared library. - Makefile generated from Makefile.am and configure.ac . -- Osamu Aoki Mon, 12 Jan 2015 02:00:01 +0900 debhello (1.7-1) unstable; urgency=low * New upstream release. - C source for an executable. - Makefile generated from CMakeLists.txt . -- Osamu Aoki Mon, 12 Jan 2015 01:07:01 +0900 debhello (1.6-1) unstable; urgency=low * New upstream release. - C source for an executable. - Makefile generated from Makefile.am and configure.ac . -- Osamu Aoki Mon, 12 Jan 2015 01:06:01 +0900 debhello (1.5-1) unstable; urgency=low * New upstream release. - C source for an executable. - Makefile generated from Makefile.in and ./configure . -- Osamu Aoki Mon, 12 Jan 2015 01:05:01 +0900 debhello (1.4-1) unstable; urgency=low * New upstream release. - C source for an executable. - Makefile not supporting $(DESTDIR) and $(prefix) . -- Osamu Aoki Mon, 12 Jan 2015 01:04:01 +0900 debhello (1.3-1) unstable; urgency=low * New upstream release. - Python3 script with the graphical user interface. - Packaged in Python distutils with setup.py . -- Osamu Aoki Mon, 12 Jan 2015 01:03:01 +0900 debhello (1.2-1) unstable; urgency=low * New upstream release. - Python3 script with the command-line interface. - Packaged in Python distutils with setup.py . -- Osamu Aoki Mon, 12 Jan 2015 01:02:01 +0900 debhello (1.1-1) unstable; urgency=low * New upstream release. - POSIX shell script and data with the graphical user interface. - Makefile supporting $(DESTDIR) and $(prefix) . -- Osamu Aoki Mon, 12 Jan 2015 01:01:01 +0900 debhello (1.0-1) unstable; urgency=low * New upstream release. - POSIX shell script and data. - Makefile supporting $(DESTDIR) and $(prefix) . -- Osamu Aoki Mon, 12 Jan 2015 01:00:01 +0900 debhello (0.2-1) unstable; urgency=low * New upstream release. - POSIX shell script and data without Makefile. -- Osamu Aoki Mon, 12 Jan 2015 00:02:01 +0900 debhello (0.1-1) unstable; urgency=low * New upstream release. - Empty content. -- Osamu Aoki Mon, 12 Jan 2015 00:01:01 +0900 debhello (0.0-1) unstable; urgency=low * Initial release of debhello. Closes: #123456 - C source for an executable. - Makefile supporting $(DESTDIR) and $(prefix)=/usr . -- Osamu Aoki Mon, 12 Jan 2015 00:00:01 +0900 debmake-doc-1.1/debhello-3.4/debian/libsharedlib1.install0000664000175000017500000000002112613712701022132 0ustar osamuosamuusr/lib/*/*.so.* debmake-doc-1.1/debhello-3.4/debian/rules0000775000175000017500000000110212613712701017116 0ustar osamuosamu#!/usr/bin/make -f export DH_VERBOSE = 1 export DEB_BUILD_MAINT_OPTIONS = hardening=+all export DEB_CFLAGS_MAINT_APPEND = -Wall -pedantic export DEB_LDFLAGS_MAINT_APPEND = -Wl,--as-needed DEB_HOST_MULTIARCH = $(shell dpkg-architecture -qDEB_HOST_MULTIARCH) %: dh $@ override_dh_auto_configure: dh_auto_configure -- \ -DCMAKE_LIBRARY_ARCHITECTURE="$(DEB_HOST_MULTIARCH)" override_dh_install: dh_install --list-missing -X.la -X.pyc -X.pyo override_dh_strip: dh_strip -Xlibsharedlib1 --dbg-package=debhello-dbg dh_strip -Xdebhello --dbg-package=libsharedlib1-dbg debmake-doc-1.1/debhello-3.4/debian/libsharedlib-dev.install0000664000175000017500000000006712613712701022637 0ustar osamuosamu###usr/lib/*/pkgconfig/*.pc usr/include usr/lib/*/*.so debmake-doc-1.1/debhello-3.4/debian/source/0000775000175000017500000000000012613712701017344 5ustar osamuosamudebmake-doc-1.1/debhello-3.4/debian/source/format0000664000175000017500000000001512613712701020553 0ustar osamuosamu3.0 (quilt) debmake-doc-1.1/debhello-3.4/debian/source/local-options0000664000175000017500000000005212613712701022047 0ustar osamuosamuabort-on-upstream-changes unapply-patches debmake-doc-1.1/debhello-3.4/debian/debhello.install0000664000175000017500000000005512613712701021212 0ustar osamuosamuusr/bin/* usr/share/locale/* usr/share/man/* debmake-doc-1.1/debhello-3.4/debian/README.Debian0000664000175000017500000000031212613712701020101 0ustar osamuosamudebhello upstream package example This is an example upstream package to demonstrate the Debian packaging using the debmake command. -- Osamu Aoki Sun, 11 Jan 2015 00:00:00 +0000 debmake-doc-1.1/debhello-3.4/debian/compat0000664000175000017500000000000212613712701017242 0ustar osamuosamu9 debmake-doc-1.1/debhello-3.4/debian/libsharedlib1.symbols0000664000175000017500000000007512613712701022165 0ustar osamuosamulibsharedlib.so.1 libsharedlib1 #MINVER# sharedlib@Base 2.1 debmake-doc-1.1/debhello-3.4/debian/watch0000664000175000017500000000022412613712701017073 0ustar osamuosamu# When there is no appropriate upstream URL for uscan, it is # the best to have a watch file without any real content as # this file. See uscan(1). debmake-doc-1.1/debhello-3.4/debian/copyright0000664000175000017500000000241512613712701020001 0ustar osamuosamuFormat: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ Upstream-Name: debhello Source: http://anonscm.debian.org/cgit/collab-maint/debmake-doc.git/tree/base Files: * Copyright: 2015 Osamu Aoki License: MIT Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: . The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. . THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. debmake-doc-1.1/debhello-3.4/src/0000775000175000017500000000000012613712701015411 5ustar osamuosamudebmake-doc-1.1/debhello-3.4/src/config.h.in0000664000175000017500000000023212613712701017431 0ustar osamuosamu/* name of the package author */ #define LOCALEDIR "@CMAKE_INSTALL_LOCALEDIR@" #define PACKAGE "@PACKAGE_NAME@" #define PACKAGE_AUTHOR "@PACKAGE_AUTHOR@" debmake-doc-1.1/debhello-3.4/src/CMakeLists.txt0000664000175000017500000000072612613712701020156 0ustar osamuosamu# Always define HAVE_CONFIG_H add_definitions(-DHAVE_CONFIG_H) # Generate config.h from config.h.in configure_file( "${CMAKE_CURRENT_SOURCE_DIR}/config.h.in" "${CMAKE_CURRENT_BINARY_DIR}/config.h" ) include_directories("${CMAKE_CURRENT_BINARY_DIR}") include_directories("${CMAKE_SOURCE_DIR}/lib") add_executable(hello hello.c) target_link_libraries(hello sharedlib) target_link_libraries(hello ${GETTEXT_LIBRARIES}) install(TARGETS hello RUNTIME DESTINATION bin) debmake-doc-1.1/debhello-3.4/src/hello.c0000664000175000017500000000053712613712701016665 0ustar osamuosamu#include "config.h" #include #include #include #include #define _(string) gettext (string) int main() { setlocale(LC_ALL,""); bindtextdomain(PACKAGE, LOCALEDIR); textdomain(PACKAGE); printf(_("Hello, I am %s!\n"), PACKAGE_AUTHOR); sharedlib(); return 0; } debmake-doc-1.1/debhello-3.4/CMakeLists.txt0000664000175000017500000000030512613712701017360 0ustar osamuosamucmake_minimum_required(VERSION 2.8) project(debhello) set(PACKAGE_AUTHOR "Osamu Aoki") add_subdirectory(po) add_subdirectory(lib) add_subdirectory(src) add_subdirectory(man) add_subdirectory(data) debmake-doc-1.1/debhello-3.4/po/0000775000175000017500000000000012613712701015240 5ustar osamuosamudebmake-doc-1.1/debhello-3.4/po/CMakeLists.txt0000664000175000017500000000241012613712701017775 0ustar osamuosamuinclude(FindGettext) if(GETTEXT_FOUND) set(_potFile ${CMAKE_BINARY_DIR}/po/${PROJECT_NAME}.pot) # program source file set(_src_list ${CMAKE_SOURCE_DIR}/src/hello.c ${CMAKE_SOURCE_DIR}/lib/sharedlib.c ) add_custom_command( OUTPUT ${_potFile} COMMAND touch ${_potFile} COMMAND xgettext -o ${_potFile} ${_src_list} COMMAND xgettext -L Desktop -j -o ${_potFile} ${CMAKE_SOURCE_DIR}/data/hello.desktop.in DEPENDS ${_src_list} ${CMAKE_SOURCE_DIR}/data/hello.desktop.in WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR} ) add_custom_target(pot ALL DEPENDS ${_potFile} ) # Create a target "translations" and output mo files. gettext_create_translations(${_potFile} ALL ja.po) #gettext_process_pot_file(${_potFile} ALL ja) set(_desktopinFile ${CMAKE_SOURCE_DIR}/data/hello.desktop.in) set(_desktopFile ${CMAKE_BINARY_DIR}/data/hello.desktop) add_custom_command( OUTPUT ${_desktopFile} COMMAND ${GETTEXT_MSGFMT_EXECUTABLE} --desktop -o ${_desktopFile} --template=${_desktopinFile} -d . DEPENDS ${_desktopFile} ja.po WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR} ) add_custom_target(desktop ALL DEPENDS ${_desktopFile} ) install(FILES ${_desktopFile} DESTINATION share/applications ) endif(GETTEXT_FOUND) debmake-doc-1.1/debhello-3.4/po/LINGUAS0000664000175000017500000000000312613712701016256 0ustar osamuosamuja debmake-doc-1.1/debhello-3.4/po/ja.po0000664000175000017500000000206012613712701016170 0ustar osamuosamu# SOME DESCRIPTIVE TITLE. # This file is put in the public domain. # FIRST AUTHOR , YEAR. # msgid "" msgstr "" "Project-Id-Version: debhello 2.2\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2015-03-02 17:35+0000\n" "PO-Revision-Date: 2015-02-21 23:18+0900\n" "Last-Translator: Osamu Aoki \n" "Language-Team: Japanese \n" "Language: ja\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" #: /home/osamu/wip/debmake-doc/base/debhello-3.2/data/hello.desktop.in:4 msgid "Greetings" msgstr "挨拶" #: /home/osamu/wip/debmake-doc/base/debhello-3.2/data/hello.desktop.in:3 msgid "Hello" msgstr "" #: /home/osamu/wip/debmake-doc/base/debhello-3.2/data/hello.desktop.in:6 msgid "hello" msgstr "" #: /home/osamu/wip/debmake-doc/base/debhello-3.2/data/hello.desktop.in:9 msgid "hello.png" msgstr "" #~ msgid "Hello, I am %s!\n" #~ msgstr "こんにちは、私は%sです!\n" #~ msgid "This is a shared library!\n" #~ msgstr "こちらは共有ライブラリです!\n" debmake-doc-1.1/debhello-3.4/lib/0000775000175000017500000000000012613712701015370 5ustar osamuosamudebmake-doc-1.1/debhello-3.4/lib/CMakeLists.txt0000664000175000017500000000073512613712701020135 0ustar osamuosamuadd_library(sharedlib SHARED sharedlib.c) # CMake will link the executables and shared libraries with full RPATH to all # used libraries in the build tree by default. When installing, it will clear # the RPATH of these targets so they are installed with an empty RPATH. set_property(TARGET sharedlib PROPERTY VERSION "1.0.0") set_property(TARGET sharedlib PROPERTY SOVERSION 1 ) install(TARGETS sharedlib LIBRARY DESTINATION lib) install(FILES sharedlib.h DESTINATION include) debmake-doc-1.1/debhello-3.4/lib/sharedlib.c0000664000175000017500000000026712613712701017476 0ustar osamuosamu#include #include #include #define _(string) gettext (string) int sharedlib() { printf(_("This is a shared library!\n")); return 0; } debmake-doc-1.1/debhello-3.4/lib/sharedlib.h0000664000175000017500000000002112613712701017467 0ustar osamuosamuint sharedlib(); debmake-doc-1.1/debhello-3.4/man/0000775000175000017500000000000012613712701015375 5ustar osamuosamudebmake-doc-1.1/debhello-3.4/man/CMakeLists.txt0000664000175000017500000000012412613712701020132 0ustar osamuosamuinstall( FILES ${CMAKE_CURRENT_SOURCE_DIR}/hello.1 DESTINATION share/man/man1 ) debmake-doc-1.1/debhello-3.4/man/hello.10000664000175000017500000000067612613712701016573 0ustar osamuosamu.\" Hey, EMACS: -*- nroff -*- .\" (C) Copyright 2015 "Osamu Aoki" , .TH HELLO 1 "2015-01-12" .SH NAME hello \- example executable program .SH SYNOPSIS .B hello .SH DESCRIPTION This is an example executable program to print a short text message to check how the Debian packaging went. .SH OPTIONS None available. .SH SEE ALSO .BR debmake (1) and documentation in the .BR debmake-doc package. debmake-doc-1.1/debhello-3.4/data/0000775000175000017500000000000012613712701015533 5ustar osamuosamudebmake-doc-1.1/debhello-3.4/data/CMakeLists.txt0000664000175000017500000000024012613712701020267 0ustar osamuosamu# Generate hello.desktop from hello.desktop.in configure_file( "${CMAKE_CURRENT_SOURCE_DIR}/hello.desktop.in" "${CMAKE_CURRENT_BINARY_DIR}/hello.desktop" ) debmake-doc-1.1/debhello-3.4/data/hello.desktop.in0000664000175000017500000000021112613712701020630 0ustar osamuosamu[Desktop Entry] Name=Hello Comment=Greetings Type=Application Keywords=hello Exec=hello Terminal=true Icon=hello.png Categories=Utility; debmake-doc-1.1/debhello-3.4/data/hello.png0000664000175000017500000002225412613712701017351 0ustar osamuosamuPNG  IHDR@@iqbKGD pHYs  tIME(/SptEXtCommentCreated with GIMPW IDATxڽkYu[\9{zgg !gpb+JC8R)URv2iJ QNYX)\a┉U)d2 `0@\zOޞٷb, ~/ok%7 .w G9S&宴M+SR=_V[[i+1\q>{;OxgER?0śi+!YWcHׅr%o!e8y&eJw(sC`Yh+=|\[Bw`~6/}8:(oվ WdLY n馥^7pPo e-TjpB7V;ei zzg3=<|?X/uRayaot n/ ̂gWFOYܸ;.Ǎ5Y64f́lR(Tok@q9͟dotx㱓xUڱ+DJɒؑ&Qn!%-]@i b ;'IvBZΓ0HgFcT?c۲` fI, Ȼ 81L yjڣ;#7Y {-q?as+˿W߰M+bHUBVT(SƔBm`Wrdh%NJ Nre XM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ӯ<3%?60m)SB2ʮv]ĶE"livǤ=yq9k9c YETL&?f,I$YC`KJ`悽c w²yM.2m!K;; uZbT_^{G-dE3:)S+U[9 YfH1 bYOC#̍`}XƊJra#63*A*{uK0`{%ؾ'i>| b}aşgO׸ vѼ3f^}SWj n4Qb|6#1lBY肰Ȇ#5U0"%ck̼t Jj*zX(dD&2)1hcImC5 R6:|4 N!"Nw\8qw 微{T ̧qkn)FGuoh%ۡ*mjqG1+?}5t7W;U'P(I7>)bڒEi錾x\iJ%P`au94 M$ב[rͨ1HRFq`;XlccNBp__ 1ӯ[<[WI_֠[G$ ̒Oc1/C+8c$ S'[3Br$ HB`CKmZT>?whſo#S?:q:7WxH4!  :֑2M2kTA'BDR6vR1 B/74>pݯ}k>w[.poGx^ ؼCDnf>o3fzJ4p`ǎ>{h4KPЪI `c<3QdNggmmWζ^/oFx~7p \s{Cb<޲bsdq۶G*qе8|on9tˠ?z1墧}ܻ$;'=1$00j 1ۉuB: gav yyYǀ'yȖ7=dJ6'f{8(U.88|v3ҜX6 R̵[;g{;f䣞Ҷ(/t7[h Build-Depends: debhelper (>=9) Standards-Version: 3.9.6 Homepage: http://anonscm.debian.org/cgit/collab-maint/debmake-doc.git/ Package: debhello Architecture: any Multi-Arch: foreign Depends: ${misc:Depends}, ${shlibs:Depends} Description: example package in the debmake-doc package This is an example package to demonstrate the Debian packaging using the debmake command. . The generated Debian package uses the dh command offered by the debhelper package and the dpkg source format `3.0 (quilt)'. debmake-doc-1.1/debhello-0.0/debian/changelog0000664000175000017500000000037112613712701017710 0ustar osamuosamudebhello (0.0-1) unstable; urgency=low * Initial release of debhello. Closes: #123456 - C source for an executable. - Makefile supporting $(DESTDIR) and $(prefix)=/usr . -- Osamu Aoki Mon, 12 Jan 2015 00:00:01 +0900 debmake-doc-1.1/debhello-0.0/debian/rules0000775000175000017500000000040312613712701017112 0ustar osamuosamu#!/usr/bin/make -f export DH_VERBOSE = 1 export DEB_BUILD_MAINT_OPTIONS = hardening=+all export DEB_CFLAGS_MAINT_APPEND = -Wall -pedantic export DEB_LDFLAGS_MAINT_APPEND = -Wl,--as-needed %: dh $@ override_dh_auto_install: dh_auto_install -- prefix=/usr debmake-doc-1.1/debhello-0.0/debian/source/0000775000175000017500000000000012613712701017335 5ustar osamuosamudebmake-doc-1.1/debhello-0.0/debian/source/format0000664000175000017500000000001512613712701020544 0ustar osamuosamu3.0 (quilt) debmake-doc-1.1/debhello-0.0/debian/source/local-options0000664000175000017500000000005212613712701022040 0ustar osamuosamuabort-on-upstream-changes unapply-patches debmake-doc-1.1/debhello-0.0/debian/rules-20000775000175000017500000000031012613712701017246 0ustar osamuosamu#!/usr/bin/make -f export DH_VERBOSE = 1 export DEB_BUILD_MAINT_OPTIONS = hardening=+all export DEB_CFLAGS_MAINT_APPEND = -Wall -pedantic export DEB_LDFLAGS_MAINT_APPEND = -Wl,--as-needed %: dh $@ debmake-doc-1.1/debhello-0.0/debian/README.Debian0000664000175000017500000000031212613712701020072 0ustar osamuosamudebhello upstream package example This is an example upstream package to demonstrate the Debian packaging using the debmake command. -- Osamu Aoki Sun, 11 Jan 2015 00:00:00 +0000 debmake-doc-1.1/debhello-0.0/debian/compat0000664000175000017500000000000212613712701017233 0ustar osamuosamu9 debmake-doc-1.1/debhello-0.0/debian/watch0000664000175000017500000000022412613712701017064 0ustar osamuosamu# When there is no appropriate upstream URL for uscan, it is # the best to have a watch file without any real content as # this file. See uscan(1). debmake-doc-1.1/debhello-0.0/debian/copyright0000664000175000017500000000241512613712701017772 0ustar osamuosamuFormat: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ Upstream-Name: debhello Source: http://anonscm.debian.org/cgit/collab-maint/debmake-doc.git/tree/base Files: * Copyright: 2015 Osamu Aoki License: MIT Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: . The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. . THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. debmake-doc-1.1/debhello-0.0/Makefile0000664000175000017500000000061412613712701016254 0ustar osamuosamuprefix = /usr/local all: src/hello src/hello: src/hello.c @echo "CFLAGS=$(CFLAGS)" | \ fold -s -w 70 | \ sed -e 's/^/# /' $(CC) $(CPPFLAGS) $(CFLAGS) $(LDCFLAGS) -o $@ $^ install: src/hello install -D src/hello \ $(DESTDIR)$(prefix)/bin/hello clean: -rm -f src/hello distclean: clean uninstall: -rm -f $(DESTDIR)$(prefix)/bin/hello .PHONY: all install clean distclean uninstall debmake-doc-1.1/debhello-0.0/src/0000775000175000017500000000000012613712701015402 5ustar osamuosamudebmake-doc-1.1/debhello-0.0/src/hello.c0000664000175000017500000000012712613712701016651 0ustar osamuosamu#include int main() { printf("Hello, world!\n"); return 0; } debmake-doc-1.1/debhello-0.0/LICENSE0000664000175000017500000000217712613712701015627 0ustar osamuosamuLicense: All files in this archive are licensed under the MIT License as below. Copyright 2015 Osamu Aoki Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. debmake-doc-1.1/debhello-2.1-pkg2/0000775000175000017500000000000012613712701015457 5ustar osamuosamudebmake-doc-1.1/debhello-2.1-pkg2/step301.cmd0000775000175000017500000000101312613712701017341 0ustar osamuosamuecho " \$ vim ${PROJECT}/debian/rules" echo " ... hack, hack, hack, ..." cat - >${PROJECT}/debian/rules </dev/null cd ${TESTDIR} L "tar -xzmf ${PROJECT}.tar.gz" L "tree" debmake-doc-1.1/debhello-2.1-pkg2/step202.cmd0000775000175000017500000000004112613712701017341 0ustar osamuosamuL "cat ${PROJECT}/debian/rules" debmake-doc-1.1/debhello-2.1-pkg2/step701.cmd0000775000175000017500000000032612613712701017353 0ustar osamuosamuFILE=$(ls *.tar.?z | \ grep -v 'orig.tar.gz' |\ grep -v 'orig.tar.xz' ) for f in $FILE ; do EXT=${f##*.} if [ "$EXT" = "gz" ]; then L "tar -tzf $f" elif [ "$EXT" = "xz" ]; then L "tar --xz -tf $f" else : fi done debmake-doc-1.1/debhello-2.1-pkg2/step299.cmd0000775000175000017500000000012012613712701017357 0ustar osamuosamu# make deb CD .. cd .. L "cp -a ${TESTDIR} debmake" CD ${TESTDIR} cd ${TESTDIR} debmake-doc-1.1/debhello-2.1-pkg2/step300.cmd0000775000175000017500000000045712613712701017353 0ustar osamuosamu# clean excess template files for f in \ clean \ debhello.doc-base \ debhello.docs \ debhello.examples \ debhello.info \ debhello.links \ debhello.manpages \ debhello.menu \ debhello.postinst \ debhello.postrm \ debhello.preinst \ debhello.prerm \ ; do L "rm -f ${PROJECT}/debian/$f" done debmake-doc-1.1/debhello-2.1-pkg2/step600.cmd0000775000175000017500000000003312613712701017344 0ustar osamuosamuCD .. cd .. L "tree -FL 1" debmake-doc-1.1/debhello-2.1-pkg2/step102.cmd0000775000175000017500000000004412613712701017343 0ustar osamuosamuL "cat ${PROJECT}/src/config.h.in" debmake-doc-1.1/debhello-2.1-pkg2/step499.cmd0000775000175000017500000000012012613712701017361 0ustar osamuosamu# make deb CD .. cd .. L "cp -a ${TESTDIR} package" CD ${TESTDIR} cd ${TESTDIR} debmake-doc-1.1/debhello-2.1-pkg2/step303.cmd0000775000175000017500000000040012613712701017342 0ustar osamuosamufor f in \ debhello.install \ libsharedlib1.install \ libsharedlib-dev.install \ ; do echo " \$ vim ${PROJECT}/debian/$f" echo " ... hack, hack, hack, ..." cp -f ${COMMONDIR}/${PROJECT}/debian/$f ${PROJECT}/debian/$f L "cat ${PROJECT}/debian/$f" done debmake-doc-1.1/debhello-2.1-pkg2/step400.cmd0000775000175000017500000000003312613712701017342 0ustar osamuosamuL "tree ${PROJECT}/debian" debmake-doc-1.1/debhello-2.1-pkg2/step201.cmd0000775000175000017500000000002512613712701017342 0ustar osamuosamuCD .. cd .. L "tree" debmake-doc-1.1/debhello-2.1-pkg2/step304.cmd0000775000175000017500000000026612613712701017355 0ustar osamuosamuecho " ... hack, hack, hack, ..." cp -f ${COMMONDIR}/${PROJECT}/debian/libsharedlib1.symbols ${PROJECT}/debian/libsharedlib1.symbols L "cat ${PROJECT}/debian/libsharedlib1.symbols" debmake-doc-1.1/debhello-2.1-pkg2/step203.cmd0000775000175000017500000000004312613712701017344 0ustar osamuosamuL "cat ${PROJECT}/debian/control" debmake-doc-1.1/debhello-2.1-pkg2/step702.cmd0000775000175000017500000000013412613712701017351 0ustar osamuosamufor deb in *.deb; do L "dpkg -f ${deb} pre-depends depends recommends conflics breaks" done debmake-doc-1.1/debhello-2.1-pkg2/step390.cmd0000775000175000017500000000053712613712701017363 0ustar osamuosamu# update simple template files mkdir -p ${PROJECT}/debian/source for f in \ README.Debian \ changelog \ watch \ compat \ copyright \ source/format \ source/local-options \ ; do echo " \$ vim ${PROJECT}/debian/$f" echo " ... hack, hack, hack, ..." cp -f ${COMMONDIR}/${PROJECT}/debian/$f ${PROJECT}/debian/$f L "cat ${PROJECT}/debian/$f" done debmake-doc-1.1/debhello-2.1-pkg2/step200.cmd0000775000175000017500000000014712613712701017346 0ustar osamuosamu# Debianize (initial) CD ${PROJECT} cd ${PROJECT} L "debmake -b',libsharedlib1,libsharedlib-dev,-dbg'" debmake-doc-1.1/debhello-2.1-pkg2/step302.cmd0000775000175000017500000000034612613712701017352 0ustar osamuosamuecho " \$ vim ${PROJECT}/debian/control" echo " ... hack, hack, hack, ..." sed -e '/^Package: libsharedlib1-dbg/,$d' \ < ${COMMONDIR}/${PROJECT}/debian/control \ > ${PROJECT}/debian/control L "cat ${PROJECT}/debian/control" debmake-doc-1.1/debhello-2.1-pkg2/step700.cmd0000775000175000017500000000016012613712701017346 0ustar osamuosamufor deb in *.deb; do L "dpkg -c ${deb}" | sed -e 's/root.root...............-..-.. ..:../root\/root ... /' done debmake-doc-1.1/debhello-2.1-pkg2/step305.cmd0000775000175000017500000000057412613712701017360 0ustar osamuosamuecho " ... hack, hack, hack, ...(dquilt or gbp-pq)" mkdir -p ${PROJECT}/debian/patches cp -f ${COMMONDIR}/${PROJECT}/debian/patches/000-cmake-multiarch.patch ${PROJECT}/debian/patches/000-cmake-multiarch.patch echo "000-cmake-multiarch.patch" > ${PROJECT}/debian/patches/series L "cat ${PROJECT}/debian/patches/series" L "cat ${PROJECT}/debian/patches/000-cmake-multiarch.patch" debmake-doc-1.1/debhello-2.1-pkg2/step103.cmd0000775000175000017500000000015712613712701017351 0ustar osamuosamuL "cat ${PROJECT}/CMakeLists.txt" L "cat ${PROJECT}/man/CMakeLists.txt" L "cat ${PROJECT}/src/CMakeLists.txt" debmake-doc-1.1/debhello-2.1-pkg2/step104.cmd0000775000175000017500000000010712613712701017345 0ustar osamuosamuL "cat ${PROJECT}/lib/sharedlib.h" L "cat ${PROJECT}/lib/sharedlib.c" debmake-doc-1.1/debhello-2.1-pkg2/step101.cmd0000775000175000017500000000004012613712701017336 0ustar osamuosamuL "cat ${PROJECT}/src/hello.c" debmake-doc-1.1/debhello-2.1-pkg2/step500.cmd0000775000175000017500000000011512613712701017344 0ustar osamuosamu# make deb CD ${PROJECT} cd ${PROJECT} echo " \$ debuild" debuild -i -us -uc debmake-doc-1.1/debhello-3.0-pkg1/0000775000175000017500000000000012613712701015456 5ustar osamuosamudebmake-doc-1.1/debhello-3.0-pkg1/step301.cmd0000775000175000017500000000025512613712701017347 0ustar osamuosamuecho " \$ vim ${PROJECT}/debian/rules" echo " ... hack, hack, hack, ..." cp -f ${COMMONDIR}/${PROJECT}/debian/rules ${PROJECT}/debian/rules L "cat ${PROJECT}/debian/rules" debmake-doc-1.1/debhello-3.0-pkg1/step000.cmd0000775000175000017500000000037512613712701017346 0ustar osamuosamu# Fake download session echo " \$ wget http://www.example.org/download/${PROJECT}.tar.gz" echo " ..." # Reality behind scene cp -a ${COMMONDIR}/${PROJECT}.${TGZ} ${TESTDIR} CD ${TESTDIR} >/dev/null cd ${TESTDIR} L "tar -xzmf ${PROJECT}.tar.gz" L "tree" debmake-doc-1.1/debhello-3.0-pkg1/step202.cmd0000775000175000017500000000004112613712701017340 0ustar osamuosamuL "cat ${PROJECT}/debian/rules" debmake-doc-1.1/debhello-3.0-pkg1/step701.cmd0000775000175000017500000000032612613712701017352 0ustar osamuosamuFILE=$(ls *.tar.?z | \ grep -v 'orig.tar.gz' |\ grep -v 'orig.tar.xz' ) for f in $FILE ; do EXT=${f##*.} if [ "$EXT" = "gz" ]; then L "tar -tzf $f" elif [ "$EXT" = "xz" ]; then L "tar --xz -tf $f" else : fi done debmake-doc-1.1/debhello-3.0-pkg1/step299.cmd0000775000175000017500000000012012613712701017356 0ustar osamuosamu# make deb CD .. cd .. L "cp -a ${TESTDIR} debmake" CD ${TESTDIR} cd ${TESTDIR} debmake-doc-1.1/debhello-3.0-pkg1/step600.cmd0000775000175000017500000000003312613712701017343 0ustar osamuosamuCD .. cd .. L "tree -FL 1" debmake-doc-1.1/debhello-3.0-pkg1/step499.cmd0000775000175000017500000000012012613712701017360 0ustar osamuosamu# make deb CD .. cd .. L "cp -a ${TESTDIR} package" CD ${TESTDIR} cd ${TESTDIR} debmake-doc-1.1/debhello-3.0-pkg1/step400.cmd0000775000175000017500000000003312613712701017341 0ustar osamuosamuL "tree ${PROJECT}/debian" debmake-doc-1.1/debhello-3.0-pkg1/step201.cmd0000775000175000017500000000002512613712701017341 0ustar osamuosamuCD .. cd .. L "tree" debmake-doc-1.1/debhello-3.0-pkg1/step702.cmd0000775000175000017500000000013412613712701017350 0ustar osamuosamufor deb in *.deb; do L "dpkg -f ${deb} pre-depends depends recommends conflics breaks" done debmake-doc-1.1/debhello-3.0-pkg1/step200.cmd0000775000175000017500000000010612613712701017340 0ustar osamuosamu# Debianize (initial) CD ${PROJECT} cd ${PROJECT} L "debmake -b':sh'" debmake-doc-1.1/debhello-3.0-pkg1/step700.cmd0000775000175000017500000000016012613712701017345 0ustar osamuosamufor deb in *.deb; do L "dpkg -c ${deb}" | sed -e 's/root.root...............-..-.. ..:../root\/root ... /' done debmake-doc-1.1/debhello-3.0-pkg1/step104.cmd0000775000175000017500000000007612613712701017351 0ustar osamuosamuL "cat ${PROJECT}/po/LINGUAS" L "cat ${PROJECT}/po/Makefile" debmake-doc-1.1/debhello-3.0-pkg1/step101.cmd0000775000175000017500000000003512613712701017341 0ustar osamuosamuL "cat ${PROJECT}/Makefile" debmake-doc-1.1/debhello-3.0-pkg1/step500.cmd0000775000175000017500000000011512613712701017343 0ustar osamuosamu# make deb CD ${PROJECT} cd ${PROJECT} echo " \$ debuild" debuild -i -us -uc debmake-doc-1.1/debhello-1.7-pkg1/0000775000175000017500000000000012613712701015463 5ustar osamuosamudebmake-doc-1.1/debhello-1.7-pkg1/step301.cmd0000775000175000017500000000025512613712701017354 0ustar osamuosamuecho " \$ vim ${PROJECT}/debian/rules" echo " ... hack, hack, hack, ..." cp -f ${COMMONDIR}/${PROJECT}/debian/rules ${PROJECT}/debian/rules L "cat ${PROJECT}/debian/rules" debmake-doc-1.1/debhello-1.7-pkg1/step000.cmd0000775000175000017500000000037512613712701017353 0ustar osamuosamu# Fake download session echo " \$ wget http://www.example.org/download/${PROJECT}.tar.gz" echo " ..." # Reality behind scene cp -a ${COMMONDIR}/${PROJECT}.${TGZ} ${TESTDIR} CD ${TESTDIR} >/dev/null cd ${TESTDIR} L "tar -xzmf ${PROJECT}.tar.gz" L "tree" debmake-doc-1.1/debhello-1.7-pkg1/step202.cmd0000775000175000017500000000004112613712701017345 0ustar osamuosamuL "cat ${PROJECT}/debian/rules" debmake-doc-1.1/debhello-1.7-pkg1/step701.cmd0000775000175000017500000000032612613712701017357 0ustar osamuosamuFILE=$(ls *.tar.?z | \ grep -v 'orig.tar.gz' |\ grep -v 'orig.tar.xz' ) for f in $FILE ; do EXT=${f##*.} if [ "$EXT" = "gz" ]; then L "tar -tzf $f" elif [ "$EXT" = "xz" ]; then L "tar --xz -tf $f" else : fi done debmake-doc-1.1/debhello-1.7-pkg1/step299.cmd0000775000175000017500000000012012613712701017363 0ustar osamuosamu# make deb CD .. cd .. L "cp -a ${TESTDIR} debmake" CD ${TESTDIR} cd ${TESTDIR} debmake-doc-1.1/debhello-1.7-pkg1/step600.cmd0000775000175000017500000000003312613712701017350 0ustar osamuosamuCD .. cd .. L "tree -FL 1" debmake-doc-1.1/debhello-1.7-pkg1/step102.cmd0000775000175000017500000000004412613712701017347 0ustar osamuosamuL "cat ${PROJECT}/src/config.h.in" debmake-doc-1.1/debhello-1.7-pkg1/step499.cmd0000775000175000017500000000012012613712701017365 0ustar osamuosamu# make deb CD .. cd .. L "cp -a ${TESTDIR} package" CD ${TESTDIR} cd ${TESTDIR} debmake-doc-1.1/debhello-1.7-pkg1/step400.cmd0000775000175000017500000000003312613712701017346 0ustar osamuosamuL "tree ${PROJECT}/debian" debmake-doc-1.1/debhello-1.7-pkg1/step201.cmd0000775000175000017500000000002512613712701017346 0ustar osamuosamuCD .. cd .. L "tree" debmake-doc-1.1/debhello-1.7-pkg1/step203.cmd0000775000175000017500000000004312613712701017350 0ustar osamuosamuL "cat ${PROJECT}/debian/control" debmake-doc-1.1/debhello-1.7-pkg1/step702.cmd0000775000175000017500000000013412613712701017355 0ustar osamuosamufor deb in *.deb; do L "dpkg -f ${deb} pre-depends depends recommends conflics breaks" done debmake-doc-1.1/debhello-1.7-pkg1/step200.cmd0000775000175000017500000000007612613712701017353 0ustar osamuosamu# Debianize (initial) CD ${PROJECT} cd ${PROJECT} L "debmake" debmake-doc-1.1/debhello-1.7-pkg1/step302.cmd0000775000175000017500000000026512613712701017356 0ustar osamuosamuecho " \$ vim ${PROJECT}/debian/control" echo " ... hack, hack, hack, ..." cp -f ${COMMONDIR}/${PROJECT}/debian/control ${PROJECT}/debian/control L "cat ${PROJECT}/debian/control" debmake-doc-1.1/debhello-1.7-pkg1/step700.cmd0000775000175000017500000000016012613712701017352 0ustar osamuosamufor deb in *.deb; do L "dpkg -c ${deb}" | sed -e 's/root.root...............-..-.. ..:../root\/root ... /' done debmake-doc-1.1/debhello-1.7-pkg1/step103.cmd0000775000175000017500000000015712613712701017355 0ustar osamuosamuL "cat ${PROJECT}/CMakeLists.txt" L "cat ${PROJECT}/man/CMakeLists.txt" L "cat ${PROJECT}/src/CMakeLists.txt" debmake-doc-1.1/debhello-1.7-pkg1/step101.cmd0000775000175000017500000000004012613712701017342 0ustar osamuosamuL "cat ${PROJECT}/src/hello.c" debmake-doc-1.1/debhello-1.7-pkg1/step500.cmd0000775000175000017500000000011512613712701017350 0ustar osamuosamu# make deb CD ${PROJECT} cd ${PROJECT} echo " \$ debuild" debuild -i -us -uc debmake-doc-1.1/debhello-1.1-pkg1/0000775000175000017500000000000012613712701015455 5ustar osamuosamudebmake-doc-1.1/debhello-1.1-pkg1/step301.cmd0000775000175000017500000000025512613712701017346 0ustar osamuosamuecho " \$ vim ${PROJECT}/debian/rules" echo " ... hack, hack, hack, ..." cp -f ${COMMONDIR}/${PROJECT}/debian/rules ${PROJECT}/debian/rules L "cat ${PROJECT}/debian/rules" debmake-doc-1.1/debhello-1.1-pkg1/step000.cmd0000775000175000017500000000037512613712701017345 0ustar osamuosamu# Fake download session echo " \$ wget http://www.example.org/download/${PROJECT}.tar.gz" echo " ..." # Reality behind scene cp -a ${COMMONDIR}/${PROJECT}.${TGZ} ${TESTDIR} CD ${TESTDIR} >/dev/null cd ${TESTDIR} L "tar -xzmf ${PROJECT}.tar.gz" L "tree" debmake-doc-1.1/debhello-1.1-pkg1/step202.cmd0000775000175000017500000000004112613712701017337 0ustar osamuosamuL "cat ${PROJECT}/debian/rules" debmake-doc-1.1/debhello-1.1-pkg1/step701.cmd0000775000175000017500000000032612613712701017351 0ustar osamuosamuFILE=$(ls *.tar.?z | \ grep -v 'orig.tar.gz' |\ grep -v 'orig.tar.xz' ) for f in $FILE ; do EXT=${f##*.} if [ "$EXT" = "gz" ]; then L "tar -tzf $f" elif [ "$EXT" = "xz" ]; then L "tar --xz -tf $f" else : fi done debmake-doc-1.1/debhello-1.1-pkg1/step299.cmd0000775000175000017500000000012012613712701017355 0ustar osamuosamu# make deb CD .. cd .. L "cp -a ${TESTDIR} debmake" CD ${TESTDIR} cd ${TESTDIR} debmake-doc-1.1/debhello-1.1-pkg1/step600.cmd0000775000175000017500000000003312613712701017342 0ustar osamuosamuCD .. cd .. L "tree -FL 1" debmake-doc-1.1/debhello-1.1-pkg1/step102.cmd0000775000175000017500000000005112613712701017337 0ustar osamuosamuL "cat ${PROJECT}/hello_py/__init__.py" debmake-doc-1.1/debhello-1.1-pkg1/step499.cmd0000775000175000017500000000012012613712701017357 0ustar osamuosamu# make deb CD .. cd .. L "cp -a ${TESTDIR} package" CD ${TESTDIR} cd ${TESTDIR} debmake-doc-1.1/debhello-1.1-pkg1/step303.cmd0000775000175000017500000000051212613712701017344 0ustar osamuosamuecho " \$ vim ${PROJECT}/debian/hello.1" echo " ... hack, hack, hack, ..." cp -f ${COMMONDIR}/${PROJECT}/debian/hello.1 ${PROJECT}/debian/hello.1 echo " \$ vim ${PROJECT}/debian/manpages" echo " ... hack, hack, hack, ..." cp -f ${COMMONDIR}/${PROJECT}/debian/manpages ${PROJECT}/debian/manpages L "cat ${PROJECT}/debian/manpages" debmake-doc-1.1/debhello-1.1-pkg1/step400.cmd0000775000175000017500000000003312613712701017340 0ustar osamuosamuL "tree ${PROJECT}/debian" debmake-doc-1.1/debhello-1.1-pkg1/step201.cmd0000775000175000017500000000002512613712701017340 0ustar osamuosamuCD .. cd .. L "tree" debmake-doc-1.1/debhello-1.1-pkg1/step203.cmd0000775000175000017500000000004312613712701017342 0ustar osamuosamuL "cat ${PROJECT}/debian/control" debmake-doc-1.1/debhello-1.1-pkg1/step702.cmd0000775000175000017500000000013412613712701017347 0ustar osamuosamufor deb in *.deb; do L "dpkg -f ${deb} pre-depends depends recommends conflics breaks" done debmake-doc-1.1/debhello-1.1-pkg1/step200.cmd0000775000175000017500000000010712613712701017340 0ustar osamuosamu# Debianize (initial) CD ${PROJECT} cd ${PROJECT} L "debmake -b':py3'" debmake-doc-1.1/debhello-1.1-pkg1/step302.cmd0000775000175000017500000000026512613712701017350 0ustar osamuosamuecho " \$ vim ${PROJECT}/debian/control" echo " ... hack, hack, hack, ..." cp -f ${COMMONDIR}/${PROJECT}/debian/control ${PROJECT}/debian/control L "cat ${PROJECT}/debian/control" debmake-doc-1.1/debhello-1.1-pkg1/step700.cmd0000775000175000017500000000016012613712701017344 0ustar osamuosamufor deb in *.deb; do L "dpkg -c ${deb}" | sed -e 's/root.root...............-..-.. ..:../root\/root ... /' done debmake-doc-1.1/debhello-1.1-pkg1/step103.cmd0000775000175000017500000000003512613712701017342 0ustar osamuosamuL "cat ${PROJECT}/setup.py" debmake-doc-1.1/debhello-1.1-pkg1/step104.cmd0000775000175000017500000000004012613712701017337 0ustar osamuosamuL "cat ${PROJECT}/MANIFEST.in" debmake-doc-1.1/debhello-1.1-pkg1/step101.cmd0000775000175000017500000000004212613712701017336 0ustar osamuosamuL "cat ${PROJECT}/scripts/hello" debmake-doc-1.1/debhello-1.1-pkg1/step500.cmd0000775000175000017500000000011512613712701017342 0ustar osamuosamu# make deb CD ${PROJECT} cd ${PROJECT} echo " \$ debuild" debuild -i -us -uc debmake-doc-1.1/debhello-1.6-pkg1/0000775000175000017500000000000012613712701015462 5ustar osamuosamudebmake-doc-1.1/debhello-1.6-pkg1/step301.cmd0000775000175000017500000000025512613712701017353 0ustar osamuosamuecho " \$ vim ${PROJECT}/debian/rules" echo " ... hack, hack, hack, ..." cp -f ${COMMONDIR}/${PROJECT}/debian/rules ${PROJECT}/debian/rules L "cat ${PROJECT}/debian/rules" debmake-doc-1.1/debhello-1.6-pkg1/step000.cmd0000775000175000017500000000037512613712701017352 0ustar osamuosamu# Fake download session echo " \$ wget http://www.example.org/download/${PROJECT}.tar.gz" echo " ..." # Reality behind scene cp -a ${COMMONDIR}/${PROJECT}.${TGZ} ${TESTDIR} CD ${TESTDIR} >/dev/null cd ${TESTDIR} L "tar -xzmf ${PROJECT}.tar.gz" L "tree" debmake-doc-1.1/debhello-1.6-pkg1/step202.cmd0000775000175000017500000000004112613712701017344 0ustar osamuosamuL "cat ${PROJECT}/debian/rules" debmake-doc-1.1/debhello-1.6-pkg1/step701.cmd0000775000175000017500000000032612613712701017356 0ustar osamuosamuFILE=$(ls *.tar.?z | \ grep -v 'orig.tar.gz' |\ grep -v 'orig.tar.xz' ) for f in $FILE ; do EXT=${f##*.} if [ "$EXT" = "gz" ]; then L "tar -tzf $f" elif [ "$EXT" = "xz" ]; then L "tar --xz -tf $f" else : fi done debmake-doc-1.1/debhello-1.6-pkg1/step299.cmd0000775000175000017500000000012012613712701017362 0ustar osamuosamu# make deb CD .. cd .. L "cp -a ${TESTDIR} debmake" CD ${TESTDIR} cd ${TESTDIR} debmake-doc-1.1/debhello-1.6-pkg1/step600.cmd0000775000175000017500000000003312613712701017347 0ustar osamuosamuCD .. cd .. L "tree -FL 1" debmake-doc-1.1/debhello-1.6-pkg1/step102.cmd0000775000175000017500000000014612613712701017351 0ustar osamuosamuL "cat ${PROJECT}/Makefile.am" L "cat ${PROJECT}/man/Makefile.am" L "cat ${PROJECT}/src/Makefile.am" debmake-doc-1.1/debhello-1.6-pkg1/step499.cmd0000775000175000017500000000012012613712701017364 0ustar osamuosamu# make deb CD .. cd .. L "cp -a ${TESTDIR} package" CD ${TESTDIR} cd ${TESTDIR} debmake-doc-1.1/debhello-1.6-pkg1/step400.cmd0000775000175000017500000000003312613712701017345 0ustar osamuosamuL "tree ${PROJECT}/debian" debmake-doc-1.1/debhello-1.6-pkg1/step201.cmd0000775000175000017500000000002512613712701017345 0ustar osamuosamuCD .. cd .. L "tree" debmake-doc-1.1/debhello-1.6-pkg1/step203.cmd0000775000175000017500000000004312613712701017347 0ustar osamuosamuL "cat ${PROJECT}/debian/control" debmake-doc-1.1/debhello-1.6-pkg1/step702.cmd0000775000175000017500000000013412613712701017354 0ustar osamuosamufor deb in *.deb; do L "dpkg -f ${deb} pre-depends depends recommends conflics breaks" done debmake-doc-1.1/debhello-1.6-pkg1/step200.cmd0000775000175000017500000000007612613712701017352 0ustar osamuosamu# Debianize (initial) CD ${PROJECT} cd ${PROJECT} L "debmake" debmake-doc-1.1/debhello-1.6-pkg1/step302.cmd0000775000175000017500000000026512613712701017355 0ustar osamuosamuecho " \$ vim ${PROJECT}/debian/control" echo " ... hack, hack, hack, ..." cp -f ${COMMONDIR}/${PROJECT}/debian/control ${PROJECT}/debian/control L "cat ${PROJECT}/debian/control" debmake-doc-1.1/debhello-1.6-pkg1/step700.cmd0000775000175000017500000000016012613712701017351 0ustar osamuosamufor deb in *.deb; do L "dpkg -c ${deb}" | sed -e 's/root.root...............-..-.. ..:../root\/root ... /' done debmake-doc-1.1/debhello-1.6-pkg1/step103.cmd0000775000175000017500000000004112613712701017344 0ustar osamuosamuL "cat ${PROJECT}/configure.ac" debmake-doc-1.1/debhello-1.6-pkg1/step101.cmd0000775000175000017500000000004012613712701017341 0ustar osamuosamuL "cat ${PROJECT}/src/hello.c" debmake-doc-1.1/debhello-1.6-pkg1/step500.cmd0000775000175000017500000000011512613712701017347 0ustar osamuosamu# make deb CD ${PROJECT} cd ${PROJECT} echo " \$ debuild" debuild -i -us -uc debmake-doc-1.1/xslt/0000775000175000017500000000000012613712701013534 5ustar osamuosamudebmake-doc-1.1/xslt/docbook.its0000664000175000017500000002767312613712701015714 0ustar osamuosamu debmake-doc-1.1/xslt/user_param.xsl0000664000175000017500000000242412613712701016424 0ustar osamuosamu maybe 1 utf8 a4paper,10pt,oneside nohyphen colorlinks,linkcolor=blue,citecolor=blue,urlcolor=blue,pdfstartview=FitBH \input{po/.tex} debmake-doc-1.1/xslt/xetex_param.xsl0000664000175000017500000001336312613712701016607 0ustar osamuosamu \setmainfont{Liberation Serif} \setsansfont{Liberation Sans} \setmonofont{Liberation Mono} \usepackage{xeCJK} \setCJKmainfont{AR PL SungtiL GB} \setCJKsansfont{WenQuanYi Zen Hei} \setCJKmonofont{WenQuanYi Zen Hei Mono} \usepackage{xeCJK} \setCJKmainfont{AR PL Mingti2L Big5} \setCJKsansfont{WenQuanYi Zen Hei} \setCJKmonofont{WenQuanYi Zen Hei Mono} \usepackage{xeCJK} \setCJKmainfont{IPAMincho} \setCJKsansfont{IPAPGothic} \setCJKmonofont{IPAGothic} \usepackage{xeCJK} \setCJKmainfont{UnBatang} \setCJKsansfont{UnDotum} \setCJKmonofont{UnDotum} debmake-doc-1.1/xslt/mimetype0000664000175000017500000000002412613712701015304 0ustar osamuosamuapplication/epub+zipdebmake-doc-1.1/xslt/dblatex.xsl0000664000175000017500000000072612613712701015714 0ustar osamuosamu debmake-doc-1.1/xslt/style-txt.xsl0000664000175000017500000000467112613712701016251 0ustar osamuosamu appendix title article/appendix nop article toc,title book toc,title chapter title part toc,title preface toc,title qandadiv toc qandaset toc reference toc,title section toc set toc,title



   
debmake-doc-1.1/xslt/urls.xsl0000664000175000017500000000427412613712701015260 0ustar osamuosamu ABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789 !#$%()=-~^|\/+*,.?;:@`[]{}"'&>< —’ abcdefghijklmnopqrstuvwxyzabcdefghij debmake-doc-1.1/xslt/debian.css0000664000175000017500000001305612613712701015475 0ustar osamuosamu/* Cascading stylesheet */ /* Copyright © 2015 Stéphane Blondon */ /* */ /* Permission is hereby granted, free of charge, to any person obtaining a */ /* copy of this software and associated documentation files (the "Software"), */ /* to deal in the Software without restriction, including without limitation */ /* the rights to use, copy, modify, merge, publish, distribute, sublicense, */ /* and/or sell copies of the Software, and to permit persons to whom the */ /* Software is furnished to do so, subject to the following conditions: */ /* */ /* The above copyright notice and this permission notice shall be included */ /* in all copies or substantial portions of the Software. */ /* */ /* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS */ /* OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF */ /* MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. */ /* IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY */ /* CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, */ /* TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE */ /* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ /* global style of the page */ body { background-color: #EEEEEE; border: 40px solid #EEEEEE; margin: 0; padding: 0 10px; font-family: "liberation sans", "Myriad ", "Bitstream Vera Sans", "Lucida Grande", "Luxi Sans", "Trebuchet MS", helvetica, verdana, arial, sans-serif; line-height: 1.2em; } @media (max-width: 5in), (max-device-width: 5in){ body { border: 0px; padding: 0px; } } body > div.book, body > div.article, body > div.set, body > div.preface, body > div.chapter, body > div.section, body > div.appendix, body > div.part { margin-top: 0; padding: 2em 6em 6em; } body > div.book, body > div.article, body > div.set, body > div.preface, body > div.chapter, body > div.section, body > div.appendix, body > div.part { padding: 2em; } body > div.book, body > div.article, body > div.set, body > div.preface, body > div.chapter, body > div.section, body > div.appendix, body > div.part, body > div.index { background-color: #FFFFFF; margin: 40px auto 4em; padding: 1px 40px 20px 30px; } @media (max-width: 1024px) { body > div.book, body > div.article, body > div.set, body > div.preface, body > div.chapter, body > div.section, body > div.appendix, body > div.part, body > div.index { max-width: 45em; } } @media (min-width: 1025px) { body > div.book, body > div.article, body > div.set, body > div.preface, body > div.chapter, body > div.section, body > div.appendix, body > div.part, body > div.index { max-width: 70em; } } @media (max-width: 5in), (max-device-width: 5in){ body > div.book, body > div.article, body > div.set, body > div.preface, body > div.chapter, body > div.section, body > div.appendix, body > div.part, body > div.index { max-width: 100%; } } hr { border-top: 1px dotted #808080; margin: 0; } a:link { color: #0035C7; text-decoration: none; } a:visited { color: #00207A; text-decoration: none; } a:link:hover { color: #00207A; text-decoration: underline; } code { font-family: "liberation mono","bitstream vera mono","dejavu mono",monospace; font-weight: bold; word-wrap: break-word; } h1 { color: #C70036; line-height: 1.1em; } h2, h3, h4, h5, h6 { color: #C70036; } @media (max-width: 5in), (max-device-width: 5in){ dl, dt, dd { margin-left: 0.25em; } ul, ol { padding-left: 1.5em; } } /* for first page */ .book > .titlepage h1.title { text-align: center; } .titlepage h1.title { text-align: left; } .authorgroup div { text-align: center; } /* for table of contents */ @media (max-width: 5in), (max-device-width: 5in){ .toc dl, .toc dt, .toc dd { margin-top: 0.5em; margin-bottom: 0.5em; } } /* table in content */ .informaltable table { border: 1px solid #AAAAAA; } .informaltable table th { border-width: 0; background-color: #C70036; } .informaltable table td { border-width: 0; } .informaltable tbody tr:nth-child(even) { background-color:#DDDDDD; } .informaltable tbody tr:hover { background-color:#666666; color: #FFFFFF; } /* Terminal examples */ pre.screen { -moz-tab-size: 4; background-color: #F5F5F5; border-radius: 11px 11px 11px 11px; border-style: none; box-shadow: 0 2px 5px #AAAAAA inset; color: #000000; display: block; font-family: "liberation mono","bitstream vera mono","dejavu mono",monospace; font-size: 0.9em; margin-bottom: 1em; padding: 0.5em 1em; page-break-inside: avoid; white-space: pre-wrap; word-wrap: break-word; } /* Navigation elements */ .navheader a, .navfooter a { opacity: 0.50; transition: opacity 0.15s ease-in-out; } .navheader a:hover, .navfooter a:hover { opacity: 1; } .navheader, .navfooter { background-image: url('images/draft.png'); background-repeat: no-repeat; background-position: top left; } .navheader > table { background-image: url('images/draft.png'); } .navfooter > table { background-image: url('images/draft.png'); } @media (max-width: 5in), (max-device-width: 5in){ .navfooter > table { font-size: 0; } } /* Infos blocks */ .important, .caution, .note { margin-left: 2em; margin-right: 2em; } @media (max-width: 5in), (max-device-width: 5in){ .important, .caution, .note { margin-left: 0.5em; margin-right: 0.5em; } } debmake-doc-1.1/xslt/modappendix.xsl0000664000175000017500000000112112613712701016567 0ustar osamuosamu debmake-doc-1.1/xslt/style-epub.xsl0000664000175000017500000000312512613712701016356 0ustar osamuosamu appendix title article/appendix nop article toc,title book toc,title chapter toc,title part toc,title preface toc,title qandadiv toc qandaset toc reference toc,title section toc set toc,title debian.css 4 debmake-doc-1.1/xslt/style-html.xsl0000664000175000017500000000370512613712701016373 0ustar osamuosamu appendix title article/appendix nop article toc,title book toc,title chapter toc,title part toc,title preface toc,title qandadiv toc qandaset toc reference toc,title section toc set toc,title debian.css index .png 4 debmake-doc-1.1/xslt/debian-openlogo.png0000664000175000017500000007201512613712701017311 0ustar osamuosamuPNG  IHDR]gbKGD pHYs  tIME  ' ; IDATxwUI2I.ҋ"*6@D, X *(TDEI2s?·Lv󻮷If9yNy1@A'  2 А>r  L1B BrI8Mbt$pBǞʝpCo Q ν*f*\eRnBȐ;L:D=),¿ùļr9_i.0e3AFClBB\f+J^ ҁQT Rfjn N8WxZ;!aPVP`=*3J3l[kaFQ F!4E DŜ(N{f x8Q|pdYZ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PROJECT}/debian/rules" debmake-doc-1.1/debhello-3.1-pkg1/step105.cmd0000775000175000017500000000004012613712701017342 0ustar osamuosamuL "cat ${PROJECT}/MANIFEST.in" debmake-doc-1.1/debhello-3.1-pkg1/step701.cmd0000775000175000017500000000032612613712701017353 0ustar osamuosamuFILE=$(ls *.tar.?z | \ grep -v 'orig.tar.gz' |\ grep -v 'orig.tar.xz' ) for f in $FILE ; do EXT=${f##*.} if [ "$EXT" = "gz" ]; then L "tar -tzf $f" elif [ "$EXT" = "xz" ]; then L "tar --xz -tf $f" else : fi done debmake-doc-1.1/debhello-3.1-pkg1/step299.cmd0000775000175000017500000000012012613712701017357 0ustar osamuosamu# make deb CD .. cd .. L "cp -a ${TESTDIR} debmake" CD ${TESTDIR} cd ${TESTDIR} debmake-doc-1.1/debhello-3.1-pkg1/step600.cmd0000775000175000017500000000003312613712701017344 0ustar osamuosamuCD .. cd .. L "tree -FL 1" debmake-doc-1.1/debhello-3.1-pkg1/step102.cmd0000775000175000017500000000005112613712701017341 0ustar osamuosamuL "cat ${PROJECT}/hello_py/__init__.py" debmake-doc-1.1/debhello-3.1-pkg1/step499.cmd0000775000175000017500000000012012613712701017361 0ustar osamuosamu# make deb CD .. cd .. L "cp -a ${TESTDIR} package" CD ${TESTDIR} cd ${TESTDIR} debmake-doc-1.1/debhello-3.1-pkg1/step303.cmd0000775000175000017500000000054512613712701017354 0ustar osamuosamuecho " \$ vim ${PROJECT}/debian/hello.1" echo " ... hack, hack, hack, ..." cp -f ${COMMONDIR}/${PROJECT}/debian/hello.1 ${PROJECT}/debian/hello.1 echo " \$ vim ${PROJECT}/debian/manpages" echo " ... hack, hack, hack, ..." cp -f ${COMMONDIR}/${PROJECT}/debian/manpages ${PROJECT}/debian/manpages L "cat ${PROJECT}/debian/manpages" L "tree ${PROJECT}/debian" debmake-doc-1.1/debhello-3.1-pkg1/step400.cmd0000775000175000017500000000003312613712701017342 0ustar osamuosamuL "tree ${PROJECT}/debian" debmake-doc-1.1/debhello-3.1-pkg1/step201.cmd0000775000175000017500000000002512613712701017342 0ustar osamuosamuCD .. cd .. L "tree" debmake-doc-1.1/debhello-3.1-pkg1/step203.cmd0000775000175000017500000000004312613712701017344 0ustar osamuosamuL "cat ${PROJECT}/debian/control" debmake-doc-1.1/debhello-3.1-pkg1/step702.cmd0000775000175000017500000000013412613712701017351 0ustar osamuosamufor deb in *.deb; do L "dpkg -f ${deb} pre-depends depends recommends conflics breaks" done debmake-doc-1.1/debhello-3.1-pkg1/step200.cmd0000775000175000017500000000010712613712701017342 0ustar osamuosamu# Debianize (initial) CD ${PROJECT} cd ${PROJECT} L "debmake -b':py3'" debmake-doc-1.1/debhello-3.1-pkg1/step302.cmd0000775000175000017500000000026512613712701017352 0ustar osamuosamuecho " \$ vim ${PROJECT}/debian/control" echo " ... hack, hack, hack, ..." cp -f ${COMMONDIR}/${PROJECT}/debian/control ${PROJECT}/debian/control L "cat ${PROJECT}/debian/control" debmake-doc-1.1/debhello-3.1-pkg1/step700.cmd0000775000175000017500000000016012613712701017346 0ustar osamuosamufor deb in *.deb; do L "dpkg -c ${deb}" | sed -e 's/root.root...............-..-.. ..:../root\/root ... /' done debmake-doc-1.1/debhello-3.1-pkg1/step103.cmd0000775000175000017500000000003512613712701017344 0ustar osamuosamuL "cat ${PROJECT}/setup.py" debmake-doc-1.1/debhello-3.1-pkg1/step104.cmd0000775000175000017500000000010112613712701017337 0ustar osamuosamuL "cat ${PROJECT}/po/LINGUAS" L "cat ${PROJECT}/po/POTFILES.in" debmake-doc-1.1/debhello-3.1-pkg1/step101.cmd0000775000175000017500000000004212613712701017340 0ustar osamuosamuL "cat ${PROJECT}/scripts/hello" debmake-doc-1.1/debhello-3.1-pkg1/step500.cmd0000775000175000017500000000011512613712701017344 0ustar osamuosamu# make deb CD ${PROJECT} cd ${PROJECT} echo " \$ debuild" debuild -i -us -uc debmake-doc-1.1/Makefile.dbk0000664000175000017500000002517412613712701014752 0ustar osamuosamu# Produce documentation # Copyright (C) 2015 Osamu Aoki include Makefile.common ####################################################################### # Document translation strategy: use itstool instead of po4a # 1. Generate $(BASEXML) using AsciiDoc with docbook4 backend # (Ease of writing main cantents) # 2. Make docbook 5 source $(MANUAL).en.x01 with db4-upgrade.xsl # 3. Write the info header section as $(HEADXML) # 4. Merge $(HEADXML) and $(MANUAL).en.x01 as $(MANUAL).en.xml # 5. Generate po/$(MANUAL).pot from $(MANUAL).en.xml with itstool # 6. Translate po/$(MANUAL).pot and create po/.po # 7. Generate $(MANUAL)..xml from $(MANUAL).en.x01 and po/.po # using itstool # 8. Build html, ... from $(MANUAL)..xml ####################################################################### # Build documentation MANUAL := debmake-doc BASEXML := $(ASCIIDOC_DIR)/$(MANUAL).xml HEADXML := $(ASCIIDOC_DIR)/head.txt # languages translated with PO files (not used now) LANGPO ?= ja # languages to skip generation of PDF files (not used now) NOPDF ?= # languages to build document LANGALL := en $(LANGPO) SRC_PO := $(addsuffix .po, $(addprefix $(PO_DIR)/, $(LANGPO))) SRC_XML := $(addsuffix .xml, $(addprefix $(MANUAL)., $(LANGALL))) ENT_ALL := url.ent common.ent # version of the debmake command used DEBMAKEVERSION ?= $(shell { debmake -v 2>&1 | sed -ne '/^debmake/s/^.*(version: \([0-9.]*\)).*$$/\1/p' ; }) # version of this Debian package (debian/changelog) DEBVERSION ?= $(shell { dpkg-parsechangelog -SVersion || echo "vcs-0.0" ; }) # short date of this Debian package (debian/changelog) DEBDATE ?= $(shell { date +'%Y-%m-%d' -d"`dpkg-parsechangelog -SDate`" || date +'(No changelog) %Y-%m-%d' ; }) ####################################################################### dbk: -mkdir -p $(TMPDIR) -mkdir -p $(BASEDIR)/html $(MAKE) -C $(ASCIIDOC_DIR) xml $(MAKE) css html .PHONY: dbk ####################################################################### # Constants for asciidoc -> xml -> any conversion # Program name and option XSLT := xsltproc --novalid --nonet --xinclude ITSTOOL := itstool -i $(XSLT_DIR)/docbook.its MKDIRP := mkdir -p MSGCAT := msgcat MSGFMT := msgfmt MSGMERGE := msgmerge MSGATTRIB := msgattrib DBLATEX := dblatex # Change $(DRAFTMODE) from "yes" to "maybe" when this document # should go into production mode #export DRAFTMODE := yes export DRAFTMODE := maybe ####################################################################### # set last chapter as appendix. $(MANUAL).en.x01: $(BASEXML) @$(call check-command, xsltproc, xsltproc) $(XSLT) $(XSLT_DIR)/modappendix.xsl $< > $@ # header is manually written and main content is generated from asciidoc $(MANUAL).en.xml: $(MANUAL).en.x01 $(HEADXML) $(ENT_ALL) cat $(HEADXML) > $@ sed -e '1,/<\/bookinfo>/d' $(MANUAL).en.x01 >> $@ url.ent: $(BASEXML) @$(call check-command, xsltproc, xsltproc) $(XSLT) $(XSLT_DIR)/urls.xsl $^ | sort | uniq | sed -e "s/&/\&/g"> $@ # Check duplicates @DUPLICATE="$$(sed -ne 's/<[^ ]* \([^ ]*\) .*$$/\1/p' $@ | uniq -d)" ; \ if [ "$${DUPLICATE}" != "" ]; then \ echo "W: duplicate entity = $${DUPLICATE}"; fi common.ent: echo "" >$@ echo "" >>$@ echo "" >>$@ echo "" >>$@ echo "" >>$@ echo "" >>$@ pot: $(PO_DIR)/templates.pot $(PO_DIR)/templates.pot: $(MANUAL).en.xml $(ITSTOOL) $< -o - | $(MSGCAT) - -o $@ $(MANUAL).%.xml: $(PO_DIR)/%.po $(MANUAL).en.xml $(MKDIRP) po/ $(MSGFMT) -D $(PO_DIR) $*.po -o $(PO_DIR)/$*.mo -$(MKDIRP) po/$*/ $(ITSTOOL) -m $(PO_DIR)/$*.mo -o po/$*/ $(MANUAL).en.xml cp po/$*/$(MANUAL).en.xml $(MANUAL).$*.xml rm po/$*/$(MANUAL).en.xml rmdir po/$* po: $(SRC_PO) .PHONY: po pot # Always update $(PO_DIR)/%.po: $(PO_DIR)/templates.pot .FORCE @$(call check-command, msgmerge, gettext) $(MSGMERGE) -U $(PO_DIR)/$*.po $(PO_DIR)/templates.pot MESS1="no-obsolete $* `$(MSGATTRIB) --no-obsolete $(PO_DIR)/$*.po |grep ^msgid |sed 1d|wc -l`";\ MESS2="untranslated $* `$(MSGATTRIB) --untranslated $(PO_DIR)/$*.po |grep ^msgid |sed 1d|wc -l`";\ MESS3="fuzzy $* `$(MSGATTRIB) --fuzzy $(PO_DIR)/$*.po |grep ^msgid |sed 1d|wc -l`";\ echo "$$MESS1" >>fuzzy.log ; \ echo "$$MESS2" >>fuzzy.log ; \ echo "$$MESS3" >>fuzzy.log ; \ echo "" >>fuzzy.log .FORCE: echo "FORCE" doc-clean: -rm -f *.swp *~ *.tmp -rm -f $(ENT_ALL) -rm -f $(PO_DIR)/*~ $(PO_DIR)/*.mo $(PO_DIR)/*.pot -rm -rf $(TMPDIR) -rm -rf $(BASEDIR) -rm -rf $(LANGALL) en -rm -f $(addsuffix .x00, $(addprefix $(MANUAL)., $(LANGALL))) -rm -f $(addsuffix .x01, $(addprefix $(MANUAL)., $(LANGALL))) -rm -f $(addsuffix .x02, $(addprefix $(MANUAL)., $(LANGALL))) -rm -f $(addsuffix .xml, $(addprefix $(MANUAL)., $(LANGALL))) -rm -f fuzzy.log clean:: doc-clean ####################################################################### .PHONY: doc-all doc-all: css html txt epub ####################################################################### # $ make test # build html for testing (for Translator) ####################################################################### .PHONY: test doc-test: html css ####################################################################### # $ make wrap # wrap all PO ####################################################################### .PHONY: wrap nowrap wip wrap: @$(call check-command, msgcat, gettext) for XX in $(foreach LX, $(LANGPO), $(DPO)/$(LX).po); do \ $(MSGCAT) -o $$XX $$XX ;\ done nowrap: @$(call check-command, msgcat, gettext) for XX in $(foreach LX, $(LANGPO), $(DPO)/$(LX).po); do \ $(MSGCAT) -o $$XX --no-wrap $$XX ;\ done wip: @$(call check-command, msgattrib, gettext) for XX in $(foreach LX, $(LANGPO), $(DPO)/$(LX).po); do \ $(MSGATTR) -o $$XX.fuzz --fuzzy $$XX ;\ $(MSGATTR) -o $$XX.untr --untranslated $$XX ;\ done ####################################################################### # $ make css # update CSS and DIMG in $(BASEDIR) ####################################################################### .PHONY: css css: -rm -rf $(BASEDIR)/html/images mkdir -p $(BASEDIR)/html/images cp -f $(XSLT_DIR)/debian.css $(BASEDIR)/html/debian.css echo "AddCharset UTF-8 .txt" > $(BASEDIR)/html/.htaccess cd png ; \ cp caution.png home.png important.png next.png note.png \ prev.png tip.png warning.png $(BASEDIR)/html/images ####################################################################### # $ make html # update all HTML in $(BASEDIR) ####################################################################### .PHONY: html html: $(foreach LX, $(LANGALL), $(BASEDIR)/html/index.$(LX).html) $(BASEDIR)/html/index.%.html: $(MANUAL).%.xml $(ENT_ALL) @$(call check-command, xsltproc, xsltproc) -mkdir -p $(BASEDIR)/html $(XSLT) --stringparam base.dir $(BASEDIR)/html \ --stringparam html.ext .$*.html \ $(XSLT_DIR)/style-html.xsl $< ####################################################################### # $ make txt # update all Plain TEXT in $(BASEDIR) ####################################################################### .PHONY: txt txt: $(foreach LX, $(LANGALL), $(BASEDIR)/$(MANUAL).$(LX).txt.gz) # style-txt.xsl provides work around for hidden URL links by appending them explicitly. $(BASEDIR)/$(MANUAL).%.txt.gz: $(MANUAL).%.xml $(ENT_ALL) @$(call check-command, w3m, w3m) @$(call check-command, xsltproc, xsltproc) -mkdir -p $(BASEDIR) @test -n "`which w3m`" || { echo "ERROR: w3m not found. Please install the w3m package." ; false ; } $(XSLT) $(XSLT_DIR)/style-txt.xsl $< | LC_ALL=C.UTF-8 \ w3m -o display_charset=UTF-8 -cols 70 -dump -no-graph -T text/html | \ gzip -n -9 - > $@ ####################################################################### # $ make pdf # update all PDF in $(BASEDIR) ####################################################################### .PHONY: pdf pdf: $(foreach LX, $(LANGALL), $(BASEDIR)/$(MANUAL).$(LX).pdf) $(foreach LX, $(NOPDF), $(BASEDIR)/$(MANUAL).$(LX).pdf): -mkdir -p $(BASEDIR) echo "PDF generation skipped." >$@ # dblatex.xsl provide work around for hidden URL links by appending them explicitly. $(BASEDIR)/$(MANUAL).%.pdf: $(MANUAL).%.xml $(ENT_ALL) @$(call check-command, dblatex, dblatex) @$(call check-command, xsltproc, xsltproc) -mkdir -p $(BASEDIR) @test -n "`which $(DBLATEX)`" || { echo "ERROR: dblatex not found. Please install the dblatex package." ; false ; } export TEXINPUTS=".:"; \ export TMPDIR="$(TMPDIR)"; \ $(XSLT) $(XSLT_DIR)/dblatex.xsl $< | \ $(DBLATEX) --style=db2latex \ --debug \ --backend=xetex \ --xsl-user=$(XSLT_DIR)/user_param.xsl \ --xsl-user=$(XSLT_DIR)/xetex_param.xsl \ --param=draft.mode=$(DRAFTMODE) \ --param=doc.collab.show=0 \ --param=latex.output.revhistory=0 \ --param=doc.lot.show="" \ --param=lingua=$* \ --output=$@ - || { echo "OMG!!!!!! XXX_CHECK_XXX ... Do not worry ..."; true ; } ####################################################################### # $ make tex # update all TeX source in $(BASEDIR) ####################################################################### .PHONY: tex tex: $(foreach LX, $(LANGALL), $(BASEDIR)/$(MANUAL).$(LX).tex) # dblatex.xsl provide work around for hidden URL links by appending them explicitly. $(BASEDIR)/$(MANUAL).%.tex: $(MANUAL).%.xml $(ENT_ALL) -mkdir -p $(BASEDIR) @test -n "`which $(DBLATEX)`" || { echo "ERROR: dblatex not found. Please install the dblatex package." ; false ; } export TEXINPUTS=".:"; \ export TMPDIR="$(TMPDIR)"; \ $(XSLT) $(XSLT_DIR)/dblatex.xsl $< | \ $(DBLATEX) --style=native \ --debug \ --type=tex \ --backend=xetex \ --xsl-user=$(XSLT_DIR)/user_param.xsl \ --xsl-user=$(XSLT_DIR)/xetex_param.xsl \ --param=draft.mode=$(DRAFTMODE) \ --param=doc.collab.show=0 \ --param=latex.output.revhistory=0 \ --param=doc.lot.show="" \ --param=lingua=$* \ --output=$@ - || { echo "OMG!!!!!! XXX_CHECK_XXX ... Do not worry ..."; true ; } ####################################################################### # $ make epub # update all epub in $(BASEDIR) ####################################################################### .PHONY: epub epub: $(foreach LX, $(LANGALL), $(BASEDIR)/$(MANUAL).$(LX).epub) $(BASEDIR)/$(MANUAL).%.epub: $(MANUAL).%.xml $(ENT_ALL) @$(call check-command, xsltproc, xsltproc) -mkdir -p $(TMPDIR)/$*/ cd $(TMPDIR)/$*/ ; $(XSLT) $(CURDIR)/$(XSLT_DIR)/style-epub.xsl $(CURDIR)/$< cp -f $(XSLT_DIR)/mimetype $(TMPDIR)/$*/mimetype cp -f $(XSLT_DIR)/debian.css $(TMPDIR)/$*/OEBPS/debian.css cp -f $(XSLT_DIR)/debian-openlogo.png $(TMPDIR)/$*/OEBPS/debian-openlogo.png cd $(TMPDIR)/$*/ ; zip -r $@ ./ debmake-doc-1.1/asciidoc/0000775000175000017500000000000012614153440014320 5ustar osamuosamudebmake-doc-1.1/asciidoc/test.txt0000664000175000017500000000041012613712701016033 0ustar osamuosamu= Test for AsciiDoc :Author: Osamu Aoki :Email: osamu@debian.org :Date: {date} :Revision: {revision} :encoding: UTF-8 [[simple]] == Simple Debian package include::00-terms.txt[] //[[examples]] //== Packaging examples //include::86-python.txt[] debmake-doc-1.1/asciidoc/debmake-doc.txt0000664000175000017500000000601512613712701017216 0ustar osamuosamu= Guide for Debian Maintainers :Author: Osamu Aoki :Email: osamu@debian.org :Date: {date} :Revision: {revision} :encoding: UTF-8 // asciidoc output docbook 4.5 entity but the first conversion creates // the real UTF-8 output in the XML base file. // // ASCIIDOC SOURCE STYLE GUIDE // ' : leave it to asciidoc to convert to ’ U+2019 // use for for let's, doesn't don't can't *'s *s' o'clock we'll // U+2019 RIGHT SINGLE QUOTATION MARK (NYT,arstechnica.com, PDF of US.GOV) ** // U+0027 APOSTROPHE (Wikipedia.org) // U+2032 PRIME // "quoted text" : avoid using this except in code section // // ``quoted text'' : leave it to asciidoc to convert to “quoted text” // U+201C LEFT DOUBLE QUOTATION MARK // U+201D RIGHT DOUBLE QUOTATION MARK // `quoted text' : leave it to asciidoc to convert to ‘quoted text’ // U+2018 LEFT SINGLE QUOTATION MARK // U+2019 RIGHT SINGLE QUOTATION MARK // // Problem with LEFT and RIGHT SINGLE QUOTATION MARKs // * xetex treat it as full width CJK char. // * All Japanese character treats these as double width chars. // head.txt takes care this //####include::00-terms.txt[] [[preface]] == Preface include::01-preface.txt[] [[overview]] == Overview include::02-overview.txt[] [[start]] == Prerequisites include::10-prereq.txt[] [[setup]] == Tool Setups include::12-setups.txt[] [[simple]] == Simple Example include::14-simpledeb.txt[] [[basics]] == Basics include::20-workflow.txt[] include::21-version.txt[] include::22-rules.txt[] include::23-control.txt[] include::24-boption.txt[] include::25-changelog.txt[] include::26-copyright.txt[] include::27-debconfig.txt[] include::28-gpg.txt[] include::30-customize.txt[] include::31-build.txt[] include::32-debug.txt[] include::33-lib.txt[] include::34-multiarch.txt[] include::35-symbols.txt[] include::36-harden.txt[] include::37-bug.txt[] include::38-debconf.txt[] include::39-pkgtest.txt[] [[options]] == Options include::40-aioption.txt[] include::41-dtoption.txt[] include::42-pymod.txt[] include::43-coption.txt[] include::44-koption.txt[] include::45-joption.txt[] include::46-xoption.txt[] include::47-toption.txt[] [[tips]] == Tips include::50-devs.txt[] include::51-gbp.txt[] include::52-gitrepo.txt[] include::53-chroot.txt[] include::54-newrev.txt[] include::55-newver.txt[] include::56-deb3.txt[] include::57-cdbs.txt[] include::58-utf8.txt[] include::60-origtar.txt[] include::69-adv.txt[] [[more]] == More Examples include::70-example.txt[] include::71-emptypkg.txt[] include::72-nomake.txt[] include::73-makesh.txt[] include::74-setup-py.txt[] include::75-makesh-gui.txt[] include::76-setup-py-gui.txt[] include::77-make.txt[] include::78-configure.txt[] include::79-autotools.txt[] include::80-cmake.txt[] include::81-libautotools.txt[] include::82-libcmake.txt[] include::83-i18n.txt[] include::84-details.txt[] [[manpage]] include::99-manpage.txt[] debmake-doc-1.1/asciidoc/60-origtar.txt0000664000175000017500000000220012613712701016745 0ustar osamuosamu[[origtar]] === Upload *orig.tar.gz* When you first upload the package to the archive, you need to include the original *orig.tar.gz* source, too. If the Debian revision number of the package is either *1* or *0*, this is the default. Otherwise, you must provide the *dpkg-buildpackage* option *-sa* to the *dpkg-buildpackage* command. * *dpkg-buildpackage -sa* * *debuild -sa* * *pdebuild --debbuildopts -sa* * *git-pbuilder -sa* * For *gbp buildpackage*, edit the *~/.gbp.conf* file. TIP: On the other hand, the *-sd* option will force the exclusion of the original *orig.tar.gz* source. TIP: Security uploads require to include the *orig.tar.gz*. [[skipedupload]] === Skipped uploads If you created multiple entries in the *debian/changelog* while skipping uploads, you must create a proper **_.changes* file which includes all changes since the last upload. This can be done by specifying the dpkg-buildpackage option *-v* with the last uploaded version, e.g., '1.2'. * *dpkg-buildpackage -v*'1.2' * *debuild -v*'1.2' * *pdebuild --debbuildopts -v*'1.2' * *git-pbuilder -v*'1.2' * For *gbp buildpackage*, edit the *~/.gbp.conf* file. debmake-doc-1.1/asciidoc/47-toption.txt0000664000175000017500000000037012613712701017005 0ustar osamuosamu[[toption]] === debmake -T The *debmake* command invoked with the *-T* option additionally prints the verbose tutorial comment lines. The lines marked with *###* in the template files are part of the verbose tutorial comment lines. debmake-doc-1.1/asciidoc/70-example.txt0000664000175000017500000000326312613712701016744 0ustar osamuosamu There is an old Latin saying: ``*fabricando fit faber*'' (``practice makes perfect''). It is highly recommended to practice and experiment with all the steps of Debian packaging with simple packages. This chapter provides you with the many upstream cases for your practice. This should also serve as introductory examples for many programing topics. * Programing in the POSIX shell, Python3, and C. * Method to create the desktop GUI program launcher with the icon graphics. * Conversion of command from http://en.wikipedia.org/wiki/Command-line_interface[CLI] to http://en.wikipedia.org/wiki/Graphical_user_interface[GUI]. * Conversion of program to use *gettext* for http://en.wikipedia.org/wiki/Internationalization_and_localization[internationalization and localization]: POSIX shell, Python3, and C sources. * Overview of many build systems: Makefile, Python distutils, Autotools, and CMake. Please note Debian takes few things serious. * Free software (a.k.a. Libre software) * Stability and security of OS. * Universal OS realized via: ** free choice for upstream sources, ** free choice of CPU architectures, and ** free choice of UI languages. The typical packaging example presented in <> is the prerequisite for this chapter. Some details are intentionally left vague in the following. Please try to read the pertinent documentation and practice yourself to find them out. TIP: The detailed log of all the package build examples can be obtained by following the instruction in <
>. TIP: The best source of the packaging example is the current Debian archive itself. Please use the ``https://codesearch.debian.net/[Debian Code Search]'' service to find pertinent examples. debmake-doc-1.1/asciidoc/52-gitrepo.txt0000664000175000017500000000243712613712701016764 0ustar osamuosamu[[debsnap]] === Package history For Debian source packages named '' recorded in the http://snapshot.debian.org/[snapshot.debian.org] archive, an initial git repository with all of the Debian version history can be generated as follows. -------------- $ git-import-dscs --debsnap --pristine-tar '' -------------- [[upstream-git]] === Upstream git repository For the Debian packaging with the *git-buildpackage* package, the *upstream* branch on the remote repository *origin* is normally used to track the content of the released upstream tarball. The upstream git repository can also be tracked by naming its remote repository as *upstream* instead of the default *origin*. Then you can easily cherry-pick recent upstream changes into the Debian revision by cherry-picking with the *gitk* command and using the *gbp-pq* command. TIP: The *git-import-orig* command with the *--upstream-vcs-tag* option can create a nice packaging history by making a merge commit into *upstream* branch from the specified tag on the upstream git repository. CAUTION: The content of the released upstream tarball may not match exactly with the corresponding content of the upstream git repository. It may contain some auto-generated files or miss some files. (Autotools, distutils, ...) debmake-doc-1.1/asciidoc/72-nomake.txt0000664000175000017500000001100112613712701016552 0ustar osamuosamu[[nomakefile]] === No Makefile (shell, CLI) Here is an example of creating a simple Debian package from a POSIX shell CLI program without its build system. Let's assume this upstream tarball to be *debhello-0.2.tar.gz*. This type of source has no automated means and files must be installed manually. ---- $ tar -xzmf debhello-0.2.tar.gz $ cd debhello-0.2 $ sudo cp scripts/hello /bin/hello ... ---- Let's get the source and make the Debian package. .Download *debhello-0.2.tar.gz* ---- include::../debhello-0.2-pkg1/step000.slog[] ---- Here, the POSIX shell script *hello* is a very simple one. .*hello* (v=0.2) ---- include::../debhello-0.2-pkg1/step101.slog[] ---- Here, the *hello.desktop* supports http://www.freedesktop.org/wiki/Specifications/desktop-entry-spec/[Desktop Entry Specification]. .*hello.desktop* (v=0.2) ---- include::../debhello-0.2-pkg1/step102.slog[] ---- Here, the *hello.png* is the icon graphics file. Let's package this with the *debmake* command. Here, the *-b\':sh'* option is used to specify the generated binary package is a shell script. ---- sys::[head -n12 ../debhello-0.2-pkg1/step200.slog] ... ---- Let's inspect notable template files generated. .The source tree after the basic *debmake* execution. (v=0.2) ---- include::../debhello-0.2-pkg1/step201.slog[] ---- .*debian/rules* (template file, v=0.2): ---- include::../debhello-0.2-pkg1/step202.slog[] ---- This is essentially the standard *debian/rules* file with the *dh* command. Since this is the script package, this template *debian/rules* file has no build flag related contents. .*debian/control* (template file, v=0.2): ---- include::../debhello-0.2-pkg1/step203.slog[] ---- Since this is the shell script package, the *debmake* command sets ``*Architecture: all*'' and ``*Multi-Arch: foreign*''. Also, it sets required *substvar* parameters as ``*Depends: $\{misc:Depends}*''. These are explained in <>. Since this upstream source lacks the upstream *Makefile*, that functionality needs to be provided by the maintainer. This upstream contains only a script file and data files and no C source files, the *build* process can be skipped but the *install* process needs to be implemented. For this case, this is achieved cleanly by adding the *debian/install* and *debian/manpages* files without complicating the *debian/rules* file. Let's make this Debian package better as the maintainer. .*debian/rules* (maintainer version, v=0.2): ---- include::../debhello-0.2-pkg1/step301.slog[] ---- .*debian/control* (maintainer version, v=0.2): ---- include::../debhello-0.2-pkg1/step302.slog[] ---- .*debian/install* (maintainer version, v=0.2): ---- include::../debhello-0.2-pkg1/step303.slog[] ---- .*debian/manpages* (maintainer version, v=0.2): ---- include::../debhello-0.2-pkg1/step304.slog[] ---- There are several other template files under the *debian/* directory. These also needs to be updated. .Template files under *debian/*. (v=0.2): ---- include::../debhello-0.2-pkg1/step400.slog[] ---- You can create a non-native Debian package using the *debuild* command (or its equivalents) in this source tree. The command output is very verbose and explains what it does as follows. ---- sys::[head -n3 ../debhello-0.2-pkg1/step500.slog] ... sys::[grep -A 1 -e '^ fakeroot debian/rules clean' ../debhello-0.2-pkg1/step500.slog] ... sys::[grep -A 10 -e '^ debian/rules build' ../debhello-0.2-pkg1/step500.slog] ... sys::[grep -A 1 -e '^ fakeroot debian/rules binary' ../debhello-0.2-pkg1/step500.slog] ... sys::[tail -n1 ../debhello-0.2-pkg1/step500.slog] ---- Let's inspect the result. .The generated files of *debhello* version *0.2* by the *debuild* command: ---- include::../debhello-0.2-pkg1/step600.slog[] ---- You see all the generated files. * The *debhello_0.2.orig.tar.gz* is a symlink to the upstream tarball. * The *debhello_0.2-1.debian.tar.xz* contains the maintainer generated contents. * The *debhello_0.2-1.dsc* is the meta data file for the Debian source package. * The *debhello_0.2-1_amd64.deb* is the Debian binary package. * The *debhello_0.2-1_amd64.changes* is the meta data file for the Debian binary package. The *debhello_0.2-1.debian.tar.xz* contains the Debian changes to the upstream source as follows. .The compressed archive contents of *debhello_0.2-1.debian.tar.xz*: ---- include::../debhello-0.2-pkg1/step701.slog[] ---- The *debhello_0.2-1_amd64.deb* contains the files to be installed as follows. .The binary package contents of *debhello_0.2-1_amd64.deb*: ---- include::../debhello-0.2-pkg1/step700.slog[] ---- debmake-doc-1.1/asciidoc/Makefile0000664000175000017500000000504612613712701015765 0ustar osamuosamu# Build 1-page html, manpage, and xml source # Copyright (C) 2015 Osamu Aoki # manually copy 1-page html to the people.debian.org # manually copy manpage to the debmake command # xml is used to build this package # This Makefile can function by itself. # version of the debmake command used DEBMAKEVERSION ?= $(shell { debmake -v 2>&1 | sed -ne '/^debmake/s/^.*(version: \([0-9.]*\)).*$$/\1/p' ; }) # version of this Debian package (debian/changelog) DEBVERSION ?= $(shell { cd .. >/dev/null ;dpkg-parsechangelog -SVersion || echo "vcs-0.0" ; }) # short date of this Debian package (debian/changelog) DEBDATE ?= $(shell { cd .. >/dev/null && date +'%Y-%m-%d' -d"`dpkg-parsechangelog -SDate`" || date +'(No changelog) %Y-%m-%d' ; }) MANUAL := debmake-doc GENTXT := 99-manpage.txt binary.txt caveat.txt ALLTXT := $(wildcard *.txt) $(GENTXT) all: man html test: test.html xml: $(MANUAL).xml html: $(MANUAL).html man: debmake.1 check: @echo "DEBMAKEVERSION = $(DEBMAKEVERSION)" @echo "DEBVERSION = $(DEBVERSION)" @echo "DEBDATE = $(DEBDATE)" @echo "ALLTXT = $(ALLTXT)" 99-manpage.txt: manpage.txt sed -e 's/^= DEBMAKE(1)$$/= *debmake*(1) manpage/' -e 's/^=/==/' manpage.txt >99-manpage.txt binary.txt: manpage.txt sed -n -e '/^\*-b\*/,$$p' manpage.txt | sed -e '/^\*-e\*/,$$d'>binary.txt caveat.txt: manpage.txt sed -e '1,/^== CAVEAT/d' manpage.txt | sed -e '/^== DEBUG/,$$d'>caveat.txt $(MANUAL).xml: $(ALLTXT) @$(call check-command, asciidoc, asciidoc) asciidoc --doctype book\ -b docbook \ -a 'newline=\n' \ -a debmakeversion="$(DEBMAKEVERSION)" \ -a revision="$(DEBVERSION)" \ -a date="$(DEBDATE)" \ $(MANUAL).txt %.html: $(ALLTXT) cp -f $(MANUAL).txt $(MANUAL).keep sed -i -e 's/^\/\/####//' $(MANUAL).txt asciidoc \ -a toc2 \ -a 'newline=\n' \ -a debmakeversion="$(DEBMAKEVERSION)" \ -a revision="$(DEBVERSION)" \ -a date="$(DEBDATE)" \ $*.txt cp -f $(MANUAL).keep $(MANUAL).txt debmake.1: manpage.txt a2x --doctype manpage --format manpage \ -a debmakeversion="$(DEBMAKEVERSION)" \ manpage.txt $(MANUAL).pdf: $(ALLTXT) @$(call check-command, asciidoc, asciidoc) a2x -v --doctype book --format pdf --dblatex-opts="-b xetex"\ -a 'newline=\n' \ -a debmakeversion="$(DEBMAKEVERSION)" \ -a revision="$(DEBVERSION)" \ -a date="$(DEBDATE)" \ $(MANUAL).txt clean: -rm -f $(GENTXT) -rm -f *.xml -rm -f *.html -rm -f debmake.1 -rm -f *~ distclean: clean remote: $(MANUAL).html scp $(MANUAL).html people.debian.org:~osamu/public_html/$(MANUAL).html .PHONY: all xml html man clean distclean check test remote debmake-doc-1.1/asciidoc/54-newrev.txt0000664000175000017500000000244212613712701016617 0ustar osamuosamu[[newrevision]] === New Debian revision Let's assume that a bug report *#*'bug_number' was filed against your package, and it describes a problem that you can solve by editing *buggy* file in the upstream source. Here's what you need to do to create a new Debian revision of the package with the *bugname.patch* file recording the fix. .New Debian revision with the *dquilt* command ---- $ dquilt push -a $ dquilt new bugname.patch $ dquilt add buggy $ vim buggy ... $ dquilt refresh $ dquilt header -e $ dquilt pop -a $ dch -i ---- Alternatively if the package is managed in the git repository using the *git-buildpackage* command with its default configuration. .New Debian revision with the *gbp-pq* command ---- $ git checkout master $ gbp pq import $ vim buggy $ git add buggy $ git commit $ git tag pq/ $ gbp pq export $ gbp drop $ git add debian/patches/* $ dch -i $ git commit -a -m "Closes: #" ---- Please make sure to describe concisely the changes that fix reported bugs and close those bugs by adding ``*Closes: #*'''' in the *debian/changelog* file. TIP: Use a *debian/changelog* entry with a version string such as *1.0.1-1~rc1* when you experiment. Then, unclutter such *changelog* entries into a single entry for the official package. debmake-doc-1.1/asciidoc/32-debug.txt0000664000175000017500000000300312614153440016365 0ustar osamuosamu[[dbg]] === Debugging information The Debian package is built with the debugging information but packaged into the binary package after stripping the debugging information as required by https://www.debian.org/doc/debian-policy/ch-files.html[Chapter 10 - Files] of the ``Debian Policy Manual''. The debugging information can be packaged separately as the debug package using the ``*dh_strip --dbg-package=*'package''' command in the *override_dh_strip:* target of the *debian/rules* file. The name of such debug package normally has the *-dbg* suffix. NOTE: The creation of the *-dbg* package is optional. In future, it may be superseded by some new mechanism to provide the debugging information. The installation path of the debugging information is as follows to enable auto-loading of it by the *gdb* command. * */usr/lib/debug/.build-id/*'12/3456...' (compat>=9, for *buildID*='123456...') * */usr/lib/debug/*'path/to/binary' (compat<<9, for '/path/to/binary') See * http://www.debian.org/doc/manuals/developers-reference/best-pkging-practices.html#bpp-dbg[6.7.9. Best practices for debug packages] of the ``Debian Developer's Reference''. * https://sourceware.org/gdb/current/onlinedocs/gdb/Separate-Debug-Files.html#Separate-Debug-Files[18.2 Debugging Information in Separate Files] of the ``Debugging with gdb'' * *dh_strip*(1) * *strip*(1) * *readelf*(1) * *objcopy*(1) * Debian wiki https://wiki.debian.org/DebugPackage[DebugPackage] * Debian wiki https://wiki.debian.org/AutomaticDebugPackages[AutomaticDebugPackages] debmake-doc-1.1/asciidoc/20-workflow.txt0000664000175000017500000001135612613712701017160 0ustar osamuosamuIt's time to learn the basic rules of the Debian packaging. The Debian source package is a set of input files used to build the Debian binary package and is not a single file. The Debian binary package is a special archive file which holds a set of installable binary data with their associated information. A single Debian source package may generate multiple Debian binary packages defined in the *debian/control* file. The non-native Debian package in the ``*3.0 (quilt)*'' format is the most normal Debian binary package format. NOTE: There are many wrapper scripts. Use them to streamline your workflow but make sure to understand the basics of their internals. [[workflow]] === Packaging workflow The Debian packaging workflow to create the Debian binary package involves generating several specifically named files (see <>) as defined in the ``Debian Policy Manual''. The oversimplified method for the Debian packaging workflow can be summarized in 5 steps as follows. 1. The upstream tarball is downloaded as the 'package-version'**.tar.gz** file. 2. The upstream tarball is untarred to create many files under the 'package-version'**/** directory. 3. The upstream tarball is copied (or symlinked) to the particular filename 'packagename_version'**.orig.tar.gz**. * the character separating 'package' and 'version' is changed from *-* (hyphen) to *_* (underscore) * *.orig* is added in the file extension. 4. The Debian package specification files are added to the upstream source under the 'package-version'**/debian/** directory. * Required specification files under the *debian/**: *debian/rules*:: The executable script for building the Debian package (see <>) *debian/control*:: The package configuration file containing the source package name, the source build dependency, the binary package name, the binary dependency, etc. (see <>) *debian/changelog*:: The Debian package history file defining the upstream package version and the Debian revision in its first line (see <>) *debian/copyright*:: The copyright and license summary (see <>) * Optional specification files under the *debian/** (see <>): * The *debmake* command invoked in the 'package-version/' directory provides the initial set of these template configuration files. ** Required specification files are generated even with the *-x0* option. ** The *debmake* command does not overwrite any existing configuration files. * These files must be manually edited to their perfection according to the ``Debian Policy Manual'' and ``Debian Developer's Reference''. 5. The *dpkg-buildpackage* command (usually from its wrapper *debuild* or *pdebuild*) is invoked in the 'package-version/' directory to make the Debian source and binary packages by invoking the *debian/rules* script. * The current directory is set as: *$(CURDIR)=*'/path/to/package-version/' * Create the Debian source package in the ``*3.0 (quilt)*'' format using *dpkg-source*(1) ** 'package_version'.*orig.tar.gz* (copy or symlink of 'package-version'.*tar.gz*) ** 'package_version-revision'.*debian.tar.xz* (tarball of 'package-version'/*debian/**) ** 'package_version-revision'.*dsc* * Build the source using ``*debian/rules build*'' into *$(DESTDIR)* ** *DESTDIR=debian*/'binarypackage/' (single binary package) ** *DESTDIR=debian/tmp/* (multi binary package) * Create the Debian binary package using *dpkg-deb*(1), and *dpkg-genchanges*(1). ** 'binarypackage_version-revision_arch'.*deb* ** ... (There may be multiple Debian binary package files.) ** 'package_version-revision_arch'.*changes* 6. Check the quality of the Debian package with the *lintian* command. (recommended) * Follow the rejection guideline from https://ftp-master.debian.org/[ftp-master]. ** https://ftp-master.debian.org/REJECT-FAQ.html[REJECT-FAQ] ** https://ftp-master.debian.org/NEW-checklist.html[NEW checklist] ** https://ftp-master.debian.org/#lintianrejects[Lintian Autorejects] (https://ftp-master.debian.org/static/lintian.tags[lintian tag list]) 7. Sign the 'package_version-revision'.*dsc* and 'package_version-revision_arch'.*changes* with the *debsign* command using your private GPG key. 8. Upload the set of the Debian source and binary package files with the *dput* command to the Debian archive. Here, please replace each part of the filename as: * the 'package' part with the Debian source package name * the 'binarypackage' part with the Debian binary package name * the 'version' part with the upstream version * the 'revision' part with the Debian revision * the 'arch' part with the package architecture TIP: There is very extensive documentation in http://www.debian.org/doc/manuals/developers-reference/best-pkging-practices.html[Chapter 6. Best Packaging Practices] of the ``Debian Developer's Reference''. Please read it. debmake-doc-1.1/asciidoc/28-gpg.txt0000664000175000017500000000400312613712701016062 0ustar osamuosamu[[signing-key]] === signing-key.pgp Some packages are signed by the GPG key. For example, http://www.gnu.org/software/hello/[GNU hello] can be downloaded via HTTP from http://ftp.gnu.org/gnu/hello/ . There are sets of files: * *hello-*'version'*.tar.gz* (upstream source) * *hello-*'version'*.tar.gz.sig* (detached signature) Let's pick the latest version set. ---- $ wget http://ftp.gnu.org/gnu/hello/hello-2.9.tar.gz ... $ wget http://ftp.gnu.org/gnu/hello/hello-2.9.tar.gz.sig ... $ gpg --verify hello-2.9.tar.gz.sig gpg: Signature made Thu 10 Oct 2013 08:49:23 AM JST using DSA key ID 80EE4A00 gpg: Can't check signature: public key not found ---- If you know the public GPG key of the upstream from the mailing list, use it as the *debian/upstream/signing-key.pgp* file. Otherwise, use the hkp keyserver and check it via your http://en.wikipedia.org/wiki/Web_of_trust[web of trust]. ---- $ gpg --keyserver hkp://keys.gnupg.net --recv-key 80EE4A00 gpg: requesting key 80EE4A00 from hkp server keys.gnupg.net gpg: key 80EE4A00: public key "Reuben Thomas " imported gpg: no ultimately trusted keys found gpg: Total number processed: 1 gpg: imported: 1 $ gpg --verify hello-2.9.tar.gz.sig gpg: Signature made Thu 10 Oct 2013 08:49:23 AM JST using DSA key ID 80EE4A00 gpg: Good signature from "Reuben Thomas " ... Primary key fingerprint: 9297 8852 A62F A5E2 85B2 A174 6808 9F73 80EE 4A00 ---- TIP: If your network environment blocks access to the HPK port *11371*, use ``*hkp://keyserver.ubuntu.com:80*'' instead. After confirming the key ID *80EE4A00* is trust worthy one, download its public key into the *debian/upstream/signing-key.pgp* file. ---- $ gpg --armor --export 80EE4A00 >debian/upstream/signing-key.pgp ---- Then set the corresponding *debian/watch* file as follows. ---- version=3 pgpsigurlmangle=s/$/.sig/ http://ftp.gnu.org/gnu/hello/ hello-(\d[\d.]*)\.tar\.(?:gz|bz2|xz) ---- Now the *uscan* command will check the authenticity of the package using the GPG signature. debmake-doc-1.1/asciidoc/55-newver.txt0000664000175000017500000000717712613712701016632 0ustar osamuosamu[[newversion]] === New upstream release If a package *foo* is properly packaged in the modern ``*3.0 (native)*'' or ``*3.0 (quilt)*'' formats, packaging a new upstream release is essentially moving the old *debian/* directory to the new source. This can be done by running ``*tar -xvzf* '/path/to/foo_oldversion'*.debian.tar.gz*'' in the new extracted source. footnote:[If a package *foo* is packaged in the old *1.0* format, this can be done by running ``*zcat* '/path/to/foo_oldversion'*.diff.gz|patch -p1*'' in the new extracted source, instead.] Of course, you need to do some obvious chores. There are several tools to handle this situation. After updating to the new upstream release with these tools, please make sure to describe concisely the changes in the new upstream release that fix reported bugs and close those bugs by adding ``*Closes: #*'bug_number''' in the *debian/changelog* file. [[uupdate]] ==== uupdate + tarball You can update to the new upstream source with the *uupdate* command from the *devscripts* package. It requires to have the old Debian source package and the new upstream tarball. ---- $ wget http://example.org/foo/foo-newversion.tar.gz $ cd foo-oldversion $ uupdate -v newversion ../foo-newversion.tar.gz ... $ cd ../foo-newversion $ while dquilt push; do dquilt refresh; done $ dch ---- [[uscan]] ==== uscan You can update to the new upstream source with the *uscan* command from the *devscripts* package. It requires to have the old Debian source package and the *debian/watch* file in it. ---- $ cd foo-oldversion $ uscan ... $ while dquilt push; do dquilt refresh; done $ dch ---- [[gbp-orig]] ==== gbp You can update to the new upstream source with the ``*gbp import-orig --pristine-tar*'' command from the *git-buildpackage* package. It requires to have the old Debian source in the git repository and the new upstream tarball. ---- $ ln -sf foo-newversion.tar.gz foo_newversion.orig.tar.gz $ cd foo-vcs $ git checkout master $ gbp pq import $ git checkout master $ gbp import-orig --pristine-tar ../foo_newversion.orig.tar.gz ... $ gbp pq rebase $ git checkout master $ gbp pq export $ gbp pq drop $ git add debian/patches $ dch -v $ git commit -a -m "Refresh patches" ---- TIP: If upstream uses the git repository, please also use *--upstream-vcs-tag* option for the *gbp import-orig* command. [[gbp-uscan]] ==== gbp + uscan You can update to the new upstream source with the ``*gbp import-orig --pristine-tar --uscan*'' command from the *git-buildpackage* package. It requires to have the old Debian source in the git repository and the *debian/watch* file in it. ---- $ cd foo-vcs $ git checkout master $ gbp pq import $ git checkout master $ gbp import-orig --pristine-tar --uscan ... $ gbp pq rebase $ git checkout master $ gbp pq export $ gbp pq drop $ git add debian/patches $ dch -v $ git commit -a -m "Refresh patches" ---- TIP: If upstream uses the git repository, please also use *--upstream-vcs-tag* option for the *gbp import-orig* command. [[lib-trans]] === Library transition When you package a new library package version which affects other packages, you must file a transition bug report against the *release.debian.org* psuedo package using the *reportbug* command with the http://ben.debian.net/#_query_language[ben file] and wait for the approval for its upload from the https://wiki.debian.org/Teams/ReleaseTeam[Release Team]. Release team has the https://release.debian.org/transitions/[transition tracker]. See https://wiki.debian.org/Teams/ReleaseTeam/Transitions[Transitions]. CAUTION: Please make sure to rename binary packages as <>. debmake-doc-1.1/asciidoc/45-joption.txt0000664000175000017500000000333212613712701016772 0ustar osamuosamu[[joption]] === debmake -j The generation of the functioning multi binary package always requires extra manual works than that of the functioning single binary package. The test build of the source package is essential part of it. For example, let's package the same 'package-1.0'*.tar.gz* (see <>) into a multi binary package. At the line invoking the *debmake* command, let's invoke it with the *-j* option instead for the test building and the report generation. ---- $ debmake -j ---- NOTE: The *-j* option for *debmake* invokes *dpkg-depcheck*(1) to run *debian/rules* under *strace*(1) to obtain library dependencies. Unfortunately, this is very slow. If you know the library package dependencies from other sources such as the SPEC file in the source, you may just run "*debmake* ..." without *-j* and ``*debian/rules install*'' to check the install paths of the generated files. * Check the last lines of 'package'**.build-dep.log** to judge build dependencies for *Build-Depends*. (You do not need to list packages used by *debhelper*, *perl*, or *fakeroot* explicitly in *Build-Depends*. This technique is useful for the generation of the single binary package, too.) * Check the contents of 'package'**.install.log** to identify the install paths for files to decide how you split them into multiple packages. ---- $ rm -rf package-1.0 $ tar -xvzf package-1.0.tar.gz $ cd package-1.0 $ debmake -b"package1:type1, ..." ---- * Update *debian/control* and *debian/*'binarypackage'**.install** files using the above information. * Update other *debian/** files as needed. ---- $ debuild ---- ** Each 'binarypackage_version-revision_arch'**.deb** has files specified by the **debian/**'binarypackage'**.install** file. debmake-doc-1.1/asciidoc/22-rules.txt0000664000175000017500000001467012613712701016444 0ustar osamuosamu[[rules]] === debian/rules The *debian/rules* script is the executable script to build the Debian package. * The *debian/rules* script re-targets the upstream build system (see <>) to install files in the **$(DESTDIR)** and creates the archive file of the generated files as the *deb* file. ** The *deb* file is used for the binary distribution and installed to the system using the *dpkg* command. * The *dh* command is normally used as the front-end to the build system inside the *debian/rules* script. * **$(DESTDIR)** path depends on the build type. ** **$(DESTDIR)=debian/**'binarypackage' (single binary package) ** **$(DESTDIR)=debian/tmp** (multiple binary package) [[dh]] ==== dh The *dh* command from the *debhelper* package with the help from its associated packages functions as the wrapper to the typical upstream build systems and offers us with the uniform access to them by supporting all the Debian policy stipulated targets of the *debian/rules* file. * *dh clean* : clean files in the source tree. * *dh build* : build the source tree * *dh build-arch* : build the source tree for architecture dependent packages * *dh build-indep* : build the source tree for architecture independent packages * *dh install* : install the binary files to *$(DESTDIR)* * *dh install-arch* : install the binary files to *$(DESTDIR)* for architecture dependent packages * *dh install-indep* : install the binary files to *$(DESTDIR)* for architecture independent packages * *dh binary* : generate the *deb* file * *dh binary-arch* : generate the *deb* file for architecture dependent packages * *dh binary-indep* : generate the *deb* file for architecture independent packages NOTE: For *debhelper* ``compat >= 9'', the *dh* command exports compiler flags (*CFLAGS*, *CXXFLAGS*, *FFLAGS*, *CPPFLAGS* and *LDFLAGS*) with values as returned by *dpkg-buildflags* if they are not set previously. (The *dh* command calls *set_buildflags* defined in the *Debian::Debhelper::Dh_Lib* module.) [[simplerules]] ==== Simple debian/rules Thanks to this abstraction of the *dh* command footnote:[This simplicity is available since the version 7 of the *debhelper* package. This guide assumes the use of the *debhelper* version 9 or newer.], the Debian policy compliant *debian/rules* file supporting all the required targets can be written as simple as footnote:[The *debmake* command generates a bit more complicated *debian/rules* file. But this is the core part.]: .Simple *debian/rules*: ---- #!/usr/bin/make -f #export DH_VERBOSE = 1 %: dh $@ ---- Essentially, this *dh* command functions as the sequencer to call all required *dh_** commands at the right moment. NOTE: The *debmake* command sets the *debian/control* file with ``*Build-Depends: debhelper (>=9)*'' and the *debian/compat* file with ``*9*''. TIP: Setting ``*export DH_VERBOSE = 1*'' outputs every command that modifies files on the build system. Also it enables verbose build logs for some build systems. [[customrules]] ==== Customized debian/rules Flexible customization of the *debian/rules* is realized by adding appropriate *override_dh_** targets and their rules. Whenever some special operation is required for a certain *dh_*'foo' command invoked by the *dh* command, any automatic execution of it can be overridden by adding the makefile target *override_dh_*'foo' in the *debian/rules* file. The *debmake* command creates the initial template file taking advantage of the above simple *debian/rules* while adding some extra customizations for the package hardening, etc. You need to know how underlying build systems work under the hood (see <>) to address their irregularities using the package customization. See <> for the actual simple *debian/rules* generated by the *debmake* command which comes with the commented out parts addressing the hardening via compile options (see <>) and the multiarch customization (see <>). [[variablesrules]] ==== Variables for debian/rules Some variable definitions useful for customizing *debian/rules* can be found in files under */usr/share/dpkg/*. Notably: *pkg-info.mk*:: *DEB_SOURCE*, *DEB_VERSION*, *DEB_VERSION_EPOCH_UPSTREAM*, *DEB_VERSION_UPSTREAM_REVISION*, *DEB_VERSION_UPSTREAM*, and *DEB_DISTRIBUTION* variables. + These are useful for the backport support etc.. *vender.mk*:: *DEB_VENDOR* and *DEB_PARENT_VENDOR* variables; and *dpkg_vendor_derives_from* macro. + These are useful for the vendor support (Debian, Ubuntu, ...). *architecture.mk*:: Set **DEB_HOST_*** and **DEB_BUILD_*** variables. + Only variables used explicitly in *debian/rules* need to be defined using *dpkg-architecture*. So there is no need to include *architecture.mk* in *debian/rules*. *buildflags.mk*:: Set *CFLAGS*, *CPPFLAGS*, *CXXFLAGS*, *OBJCFLAGS*, *OBJCXXFLAGS*, *GCJFLAGS*, *FFLAGS*, *FCFLAGS*, and *LDFLAGS* build flags. If you wish to use some of these useful variables in *debian/rules*, copy relevant codes to *debian/rules* or write a simpler alternative in it. Please keep *debian/rules* simple. For example, you can add an extra option to *CONFIGURE_FLAGS* for *linux-any* target architectures by adding the followings to *debian/rules*: ---- DEB_HOST_ARCH_OS ?= $(shell dpkg-architecture -qDEB_HOST_ARCH_OS) ... ifeq ($(DEB_HOST_ARCH_OS),linux) CONFIGURE_FLAGS += --enable-wayland endif ---- TIP: It was useful to include *buildflags.mk* in the *debian/rules* to set the build flags such as *CPPFLAGS*, *CFLAGS*, *LDFLAGS*, etc. properly while honoring *DEB_CFLAGS_MAINT_APPEND*, *DEB_BUILD_MAINT_OPTIONS*, etc. for the *debhelper* ``compat \<= 8''. Now you should use the *debhelper* ``compat >= 9'', should not include *buildflags.mk* without specific reasons, and should let the *dh* command set these build flags. See <>, *dpkg-architecture*(1) and *dpkg-buildflags*(1). [[reproducible]] ==== Reproducible build Here are some recommendations to attain the reproducible build result. * Don't embed the timestamp based on the system time. * Use ``*dh $@*'' in the *debian/rules* to access the latest *debhelper* features. * Export the build environment as ``*LC_ALL=C.UTF-8*'' (see <>). * Read more at https://wiki.debian.org/ReproducibleBuilds[ReproducibleBuilds]. If the timestamp is needed, please consider to patch the upstream source to obtain the timestamp from the last entry in *debian/changelog*. .Shell code snippet example to obtain a formatted timestamp string: ---- date +'%Y-%m-%d' -d"`dpkg-parsechangelog -SDate`" ---- debmake-doc-1.1/asciidoc/TODO.txt0000664000175000017500000000327312613712701015633 0ustar osamuosamudebc watch and signature git reset --hard HEAD;git clean -dfx intterdiff -> gitk autopkgtest DEP 8 specification http://packaging.ubuntu.com/html/auto-pkg-test.html example for sign and upload piuparts https://wiki.debian.org/piuparts http://www.loria.fr/~lnussbau/files/fosdem07-auttest.pdf Piuparts Tests installation and removal of packages Process : cleans up a chroot (removes everything except apt) installs the package to test and its dependencies Removes everything, purge all dependencies Purges the package to test ⇒ test of the package maintainer scripts (preinst, postinst, prerm, postrm) under the most extreme conditions Piuparts (2) Also tests other things : upgrades running processes after removal dangling symlinks files left after removal/purge, files from other packages modified Piuparts and false positives Piuparts generates A LOT of false positives To be tested, a package must be able to install non-interactively debconf is nice (Non-interactive frontend) but doesn’t solve everything (e.g packages that need access a database) ⇒ Make all packages use debconf ⇒ After that, not much to do about false positives Piuparts and set theory Problem : how can one easily get a list of real failures, without false positives ? ⇒ Set theory ! Example : find packages that fail to install because of a missing depend on debconf. Run piuparts over all packages, without debconf installed Fetch the list of failures For each package that failed during the first run, re-run piuparts with debconf installed Packages that succeeded = our list of failures Holger Levsen and Lucas Nussbaum Automated Testing of Debian Packages Other piuparts tests (not just installation/removal failures) debmake-doc-1.1/asciidoc/74-setup-py.txt0000664000175000017500000000710012613712701017075 0ustar osamuosamu[[setup-py]] === setup.py (Python3, CLI) Here is an example of creating a simple Debian package from a Python3 CLI program using the *setup.py* as its build system. Let's assume its upstream tarball to be *debhello-1.1.tar.gz*. This type of source is meant to be installed as a non-system file as: ---- $ tar -xzmf debhello-1.1.tar.gz $ cd debhello-1.1 $ python3 setup.py install ---- Debian packaging requires to change the last line to ``*python3 setup.py install --install-layout=deb*'' to install files to the target system image location. This issue is automatically addressed when using the *dh* command for the Debian packaging. Let's get the source and make the Debian package. .Download *debhello-1.1.tar.gz* ---- include::../debhello-1.1-pkg1/step000.slog[] ---- Here, the *hello* script and its associated *hello_py* module are as follows. .*hello* (v=1.1) ---- include::../debhello-1.1-pkg1/step101.slog[] ---- .*hello_py/\_\_init__.py* (v=1.1) ---- include::../debhello-1.1-pkg1/step102.slog[] ---- These are packaged using the Python https://docs.python.org/3.4/library/distutils.html#module-distutils[distutils] with the *setup.py* and *MANIFEST.in* files. .*setup.py* (v=1.1) ---- include::../debhello-1.1-pkg1/step103.slog[] ---- .*MANIFEST.in* (v=1.1) ---- include::../debhello-1.1-pkg1/step104.slog[] ---- TIP: Many modern Python packages are distributed using https://setuptools.pypa.io/en/latest/setuptools.html[setuptools]. Since setuptools is an enhanced alternative to distutils, this example is useful for them. Let's package this with the *debmake* command. Here, the *-b\':py3'* option is used to specify the generated binary package contain Python3 script and module files. ---- sys::[head -n12 ../debhello-1.1-pkg1/step200.slog] ... ---- Let's inspect notable template files generated. .*debian/rules* (template file, v=1.1): ---- include::../debhello-1.1-pkg1/step202.slog[] ---- This is essentially the standard *debian/rules* file with the *dh* command. The use of ``*--with python3*'' option invokes *dh_python3* to calculate Python dependencies, adds maintainer scripts to byte compile files, etc. See *dh_python3*(1). The use of ``*--buildsystem=pybuild*'' option invokes various build systems for requested Python versions in order to build modules and extensions. See *pybuild*(1). .*debian/control* (template file, v=1.1): ---- include::../debhello-1.1-pkg1/step203.slog[] ---- Since this is the Python3 package, the *debmake* command sets ``*Architecture: all*'' and ``*Multi-Arch: foreign*''. Also, it sets required *substvar* parameters as ``*Depends: $\{python3:Depends}, $\{misc:Depends}*''. These are explained in <>. Let's make this Debian package better as the maintainer. .*debian/rules* (maintainer version, v=1.1): ---- include::../debhello-1.1-pkg1/step301.slog[] ---- .*debian/control* (maintainer version, v=1.1): ---- include::../debhello-1.1-pkg1/step302.slog[] ---- The *hello* command does not come with the upstream provided manpage, let's add it as the maintainer. .*debian/manpages* etc. (maintainer version, v=1.1): ---- include::../debhello-1.1-pkg1/step303.slog[] ---- There are several other template files under the *debian/* directory. These also needs to be updated. The rest of the packaging activities are practically the same as the one in <>. .Template files under *debian/*. (v=1.1): ---- include::../debhello-1.1-pkg1/step400.slog[] ---- Here is the generated dependency list of binary packages. .The generated dependency list of binary packages (v=1.1): ---- include::../debhello-1.1-pkg1/step702.slog[] ---- debmake-doc-1.1/asciidoc/34-multiarch.txt0000664000175000017500000001452112613712701017300 0ustar osamuosamu[[multiarch]] === Multiarch The multiarch support for cross-architecture installation of binary packages (particularly *i386* and *amd64*, but also other combinations) in the *dpkg* and *apt* packages introduced to Debian *wheezy* (7.0, May 2013) demands us to pay extra attention for the packaging. You should read the following references in detail. * Ubuntu wiki (upstream) ** https://wiki.ubuntu.com/MultiarchSpec[MultiarchSpec] * Debian wiki (Debian situation) ** https://wiki.debian.org/Multiarch[Debian multiarch support] ** https://wiki.debian.org/Multiarch/Implementation[Multiarch/Implementation] The multiarch is enabled by using the ** value such as *i386-linux-gnu* and *x86_64-linux-gnu* in the install path of shared libraries as */usr/lib//*, etc.. * The ** value required internally by *debhelper* scripts is implicitly set in themselves. The maintainer doesn't need to worry. * The ** value used in **override_dh_*** target scripts must be explicitly set in the *debian/rules* by the maintainer. The ** value is stored in *$(DEB_HOST_MULTIARCH)* variable in the following *debian/rules* snippet example: + ---- DEB_HOST_MULTIARCH = $(shell dpkg-architecture -qDEB_HOST_MULTIARCH) ... override_dh_install: mkdir -p package1/lib/$(DEB_HOST_MULTIARCH) cp -dR tmp/lib/. package1/lib/$(DEB_HOST_MULTIARCH) ---- See <> and *dpkg-architecture*. ==== The multiarch library path Debian policy requires to follow https://www.debian.org/doc/packaging-manuals/fhs/fhs-2.3.html[Filesystem Hierarchy Standard]. Its https://www.debian.org/doc/packaging-manuals/fhs/fhs-2.3.html#USRLIBLIBRARIESFORPROGRAMMINGANDPA[/usr/lib : Libraries for programming and packages] states "*/usr/lib* includes object files, libraries, and internal binaries that are not intended to be executed directly by users or shell scripts." Debian policy makes an exception to https://www.debian.org/doc/packaging-manuals/fhs/fhs-2.3.html[Filesystem Hierarchy Standard] to use */usr/lib//* instead of */usr/lib/* (e.g., */lib32/* and */lib64/*) to support the multiarch library. .The multiarch library path options [options="header", cols="2,3,3"] |==== |Classic path |i386 multiarch path |amd64 multiarch path |*/lib/* |*/lib/i386-linux-gnu/* |*/lib/x86_64-linux-gnu/* |*/usr/lib/* |*/usr/lib/i386-linux-gnu/* |*/usr/lib/x86_64-linux-gnu/* |==== For Autotools based packages under the *debhelper* package (compat>=9), this path setting is automatically taken care by the *dh_auto_configure* command. For other packages with non-supported build systems, you need to manually adjust the install path as follows. * If *./configure* is used in the part of *override_dh_auto_configure* target in *debian/rules*, make sure to replace it with ``*dh_auto_configure --*'' while re-targeting the install path from */usr/lib/* to */usr/lib/$(DEB_HOST_MULTIARCH)/*. * Replace all occurrences of **/usr/lib/** with **/usr/lib/*/** in **debian/**'foo'**.install** files. All files installed simultaneously as the multiarch package to the same file path should have exactly the same file content. You must be careful on differences generated by the data byte order and by the compression algorithm. NOTE: The *--libexecdir* option of the *./configure* command specifies the default path to install executable programs run by other programs rather than by users. Its Autotools default is */usr/libexec/* but its Debian non-multi-arch default is */usr/lib/*. If such executables are a part of a "Multi-arch: foreign" package, path such as */usr/lib/* or */usr/lib/*'packagename' may be more desirable than */usr/lib//* which *dh_auto_configure* uses. The http://www.gnu.org/prep/standards/html_node/Directory-Variables.html[GNU Coding Standards: 7.2.5 Variables for Installation Directories] has description for *libexecdir* as "The definition of *libexecdir* is the same for all packages, so you should install your data in a subdirectory thereof. Most packages install their data under *$(libexecdir)/package-name/* ...". (It is always good idea to follow GNU unless it conflicts with the Debian policy) The shared library files in the default path **/usr/lib/** and **/usr/lib//** are loaded automatically. For the shared library files in the other path, GCC option *-l* must be set by the *pkg-config* command to make them loaded properly. ==== The multiarch header file path GCC includes both */usr/include/* and */usr/include//* by default on the multiarch Debian system. If the header file is not in those paths, GCC option *-I* must be set by the *pkg-config* command to make "**#include <**'foo.h'**>**" work properly. .The multiarch header file path options [options="header", cols="2,3,3"] |==== |Classic path |i386 multiarch path |amd64 multiarch path |*/usr/include/* |*/usr/include/i386-linux-gnu/* |*/usr/include/x86_64-linux-gnu/* |*/usr/include/*'packagename'*/* |*/usr/include/i386-linux-gnu/*'packagename'*/* |*/usr/include/x86_64-linux-gnu/*'packagename'*/* | |*/usr/lib/i386-linux-gnu/*'packagename'*/* |*/usr/lib/x86_64-linux-gnu/*'packagename'*/* |==== The use if the */usr/lib//*'packagename'*/* path for the header files allows the upstream to use the same install script for the multiatch system with */usr/lib/* and the biarch system with */usr/lib/*. footnote:[This path is compliant to the FHS. https://www.debian.org/doc/packaging-manuals/fhs/fhs-2.3.html#USRLIBLIBRARIESFORPROGRAMMINGANDPA[Filesystem Hierarchy Standard: /usr/lib : Libraries for programming and packages] states "Applications may use a single subdirectory under */usr/lib*. If an application uses a subdirectory, all architecture-dependent data exclusively used by the application must be placed within that subdirectory."] The use of the file path containing 'packagename' enables to have more than 2 development libraries simultaneously installed on a system. ==== The multiarch ***.pc** file path The *pkg-config* program is used to retrieve information about installed libraries in the system. It stores its configuration parameters in the ***.pc** file and is used for setting the **-I** and **-l** options for GCC. .The ***.pc** file path options [options="header", cols="2,3,3"] |==== |Classic path |i386 multiarch path |amd64 multiarch path |*/usr/lib/pkgconfig/* |*/usr/lib/i386-linux-gnu/pkgconfig/* |*/usr/lib/x86_64-linux-gnu/pkgconfig/* |==== debmake-doc-1.1/asciidoc/02-overview.txt0000664000175000017500000000533212613712701017151 0ustar osamuosamuThe Debian packaging of the 'package-1.0'*.tar.gz*, containing a simple C source following the http://www.gnu.org/prep/standards/[GNU Coding Standards] and http://en.wikipedia.org/wiki/Filesystem_Hierarchy_Standard[FHS], can be done with the *debmake* command as follows. ---- $ tar -xvzf package-1.0.tar.gz $ cd package-1.0 $ debmake ... Make manual adjustments of generated configuration files $ debuild ---- If manual adjustments of generated configuration files are skipped, the generated binary package lacks meaningful package description but still functions well under the *dpkg* command to be used for your local deployment. CAUTION: The *debmake* command only provides good template files. These template files must be manually adjusted to their perfection to comply with the strict quality requirements of the Debian archive, if the generated package is intended for the general consumption. If you are new to the Debian packaging, do not worry about the details and just get the big picture instead. If you have been exposed to the Debian packaging, this looks very much like the *dh_make* command. This is because the *debmake* command is intended to replace functions offered historically by the *dh_make* command. footnote:[The *deb-make* command was popular before the *dh_make* command. The current *debmake* package starts its version from *4.0* to avoid version overlaps with obsolete *debmake* package which provided the *deb-make* command.] The *debmake* command is designed with following features: * modern packaging style ** *debian/copyright*: *DEP-5* complient ** *debian/control*: *substvar* support, *multiarch* support, multi binary packages, ... ** *debian/rules*: *dh* syntax, compiler hardening options, ... * flexibility ** many options (<>, <>, <>) * sane default actions ** execute non-stop with clean results ** generate the multiarch package, unless *-m* option is explicitly specified. ** generate the non-native Debian package with the ``*3.0 (quilt)*'' format, unless *-n* option is explicitly specified. * extra utility ** verification of the *debian/copyright* file against the current source (<>) The *debmake* command delegates most of the heavy lifting to its back-end packages: *debhelper*, *dpkg-dev*, *devscripts*, *pbuilder*, etc. TIP: Make sure to protect the arguments of the *-b*, *-f*, *-l*, and *-w* options from the shell interference by quoting them properly. TIP: The non-native Debian package is the normal Debian package. NOTE: The generation of the *debian/copyright* file, and the outputs from the *-c* (<>) and *-k* (<>) options involve heuristic operations on the copyright and license information. They may produce some erroneous results. debmake-doc-1.1/asciidoc/84-details.txt0000664000175000017500000000136612613712701016745 0ustar osamuosamu[[details]] === Details Actual details of the examples presented and their variants can be obtained by the following. .How to get details ---- $ apt-get source debmake-doc $ sudo apt-get install devscripts build-essentials $ sudo apt-get build-dep debmake-doc $ cd debmake-doc* $ make ---- Each directory with the *-pkg[0-9]* suffix contains the Debian packaging example. * emulated console command line activity log: the *.log* file * emulated console command line activity log (short): the *.slog* file * snapshot source tree image after the *debmake* command: the *debmake* directory * snapshot source tree image after the proper packaging: the *packge* directory * snapshot source tree image after the *debuild* command: the *test* directory debmake-doc-1.1/asciidoc/01-preface.txt0000664000175000017500000000602712613712701016711 0ustar osamuosamuIf you are a somewhat experienced Debian user footnote:[You do need to know a little about Unix programming but you certainly don't need to be a wizard. You can learn about the basic handling of a Debian system from the https://www.debian.org/doc/user-manuals#quick-reference[Debian Reference]. It contains some pointers to learn about Unix programming, too.], you may have encountered following situations: * You wish to install a certain software package not yet found in the Debian archive. * You wish to update a Debian package with the newer upstream release. * You wish to fix bugs of a Debian package with some patches. If you wanted to create a Debian package to fulfill these wishes and to share your work with the community, you are the target audience of this guide as a prospective Debian maintainer. footnote:[If you are not interested in sharing the Debian package, you can certainly work around your local situation by compiling and installing the fixed upstream source package into */usr/local/*.] Welcome to the Debian community. Debian has many social and technical rules and conventions to follow since it is a large volunteer organization with history. Debian also has developed huge array of packaging tools and archive maintenance tools to build consistent set of binary packages addressing many technical objectives: * clean build under clearly specified package dependencies and patches * packages build across many architectures * optimal splits into multiple binary packages * smooth library transitions * security enhancement using specific compiler flags * multiarch support * ... These make it somewhat overwhelming for many new prospective Debian maintainers to get involved with Debian. This guide tries to provide entry points for them to get started. It describes as follows: * What you should know before getting involved with Debian as a prospective maintainer. * What it looks like to make a simple Debian package. * What kind of rules exist for making the Debian package. * Tips for making the Debian package. * Examples of making Debian packages for several typical scenarios. The author felt limitations of updating the original ``New Maintainers' Guide'' with the *dh-make* package and decided to create an alternative tool and its matching document to address modern requirements. The result is the *debmake* (version: {debmakeversion}) package and this updated ``Guide for Debian Maintainers'' in the *debmake-doc* (version: {revision}) package. Many chores and tips have been integrated into the *debmake* command making this guide simple. This guide also offers many packaging examples. CAUTION: It takes many hours to properly create and maintain Debian packages. The Debian maintainer must be *both technically competent and diligent* to take up this challenge. Some important topics are explained in detail. Some of them may look irrelevant to you. Please be patient. Some corner cases are skipped. Some topics are only covered by the external pointers. These are intentional choices to keep this guide simple and maintainable. debmake-doc-1.1/asciidoc/24-boption.txt0000664000175000017500000000467112613712701016766 0ustar osamuosamu[[boption]] === debmake -b The *-b* option of the *debmake* command provides intuitive and flexible methods to customize packaging parameters in the *debian/control* file. It sets the following stanza values. * *Package:* * *Architecture:* * *Multi-Arch:* * *Depends:* * *Pre-Depends:* Let's quote the pertinent part from the *debmake* manpage here. ***** include::binary.txt[] ***** Here are some typical multiarch package split scenarios for the following upstream source examples: * a library source 'libfoo-1.0'*.tar.gz* * a tool source 'bar-1.0'*.tar.gz* written in a compiled language * a tool source 'baz-1.0'*.tar.gz* written in an interpreted language [options="header", cols="3,2,3,2,8"] |==== |'binarypackage' |'type' |*Architecture:*|*Multi-Arch:* |Package content |*lib*'foo1' |*lib*^*^ |any |same |the shared library, co-installable |*lib*'foo1'*-dbg* |*dbg*^*^ |any |same |the shared library debug symbols, co-installable |*lib*'foo'*-dev* |*dev*^*^ |any |same |the shared library header files etc., co-installable |*lib*'foo'*-tools*|*bin*^*^ |any |foreign |the run-time support programs, not co-installable |*lib*'foo'*-doc* |*doc*^*^ |all |foreign |the shared library documentation files |'bar' |*bin*^*^ |any |foreign |the compiled program files, not co-installable |'bar'*-doc* |*doc*^*^ |all |foreign |the documentation files for the program |'baz' |*script* |all |foreign |the interpreted program files |==== TIP: The binary package name starting with a ``*-*'' (hyphen) is treated as the abbreviated name. The real binary package name is generated by attaching it to the source package name. For the cases marked with ^*^ in the above table, the 'type' values are guessed right from the package names. The default type is the *bin* type which means the compiled ELF binary executables. This is why the example in <> does not specify *-b* option. For programs written in other compiled languages, you may need to add its run-time library package dependency to the resulting binary package by adjusting the *Depends:* stanza of the *debian/control* file. The development package for the shared library should depend on it and should contain a version numberless symlink to it. E.g.: */usr/lib/x86_64-linux-gnu/*'libfoo'*.so* -> 'libfoo'*.so.*'1' NOTE: The *dbg* type package can be made either one-on-one for each *bin* and *lib* type package or one-on-all for all *bin* and *lib* type packages. debmake-doc-1.1/asciidoc/82-libcmake.txt0000664000175000017500000000524312613712701017063 0ustar osamuosamu[[cmake-multi]] === CMake (multi-binary) Here is an example of creating a set of Debian binary packages including the executable package, the shared library package, the development file package, and the debug symbol package from a simple C source using the CMake (*CMakeLists.txt* and some files such as *config.h.in*) as its build system. See <>. Let's assume this upstream tarball to be *debhello-2.1.tar.gz*. This type of source is meant to be installed as a non-system file, for example, as: ---- $ tar -xzmf debhello-2.1.tar.gz $ cd debhello-2.1 $ mkdir obj-x86_64-linux-gnu $ cd obj-x86_64-linux-gnu $ cmake .. $ make $ make install ---- Let's get the source and make the Debian package. .Download *debhello-2.1.tar.gz* ---- include::../debhello-2.1-pkg1/step000.slog[] ---- Here, the contents of this source are as follows. .*src/hello.c* (v=2.1): ---- include::../debhello-2.1-pkg1/step101.slog[] ---- .*src/config.h.in* (v=2.1): ---- include::../debhello-2.1-pkg1/step102.slog[] ---- .*lib/sharedlib.c* and *lib/sharedlib.h* (v=2.1): ---- include::../debhello-2.1-pkg1/step104.slog[] ---- .*CMakeLists.txt* (v=2.1): ---- include::../debhello-2.1-pkg1/step103.slog[] ---- Let's package this with the *debmake* command. ---- sys::[head -n12 ../debhello-2.1-pkg1/step200.slog] ... ---- The result is similar to <> but not exactly the same. Let's inspect notable template files generated. .*debian/rules* (template file, v=2.1): ---- include::../debhello-2.1-pkg1/step202.slog[] ---- Let's make this Debian package better as the maintainer. .*debian/rules* (maintainer version, v=2.1): ---- include::../debhello-2.1-pkg1/step301.slog[] ---- .*debian/control* (maintainer version, v=2.1): ---- include::../debhello-2.1-pkg1/step302.slog[] ---- .**debian/*.install** (maintainer version, v=2.1): ---- include::../debhello-2.1-pkg1/step303.slog[] ---- This upstream CMakeList.txt needs to be patched to cope with the multiarch path. .*debian/patches/** (maintainer version, v=2.1): ---- include::../debhello-2.1-pkg1/step304.slog[] ---- Since this upstream source creates the proper auto-generated *Makefile*, there are no needs to create *debian/install* and *debian/manpages* files. There are several other template files under the *debian/* directory. These also needs to be updated. .Template files under *debian/*. (v=2.1): ---- include::../debhello-2.1-pkg1/step400.slog[] ---- The rest of the packaging activities are practically the same as the one in <>. Here are the generated dependency lists of binary packages. .The generated dependency lists of binary packages (v=2.1): ---- include::../debhello-2.1-pkg1/step702.slog[] ---- debmake-doc-1.1/asciidoc/83-i18n.txt0000664000175000017500000000533412613712701016075 0ustar osamuosamu[[i18n-example]] === Internationalization Here is an example of updating the simple upstream C source *debhello-2.0.tar.gz* presented in <> for the internationalization (i18n) and creating the updated upstream C source *debhello-2.0.tar.gz*. In the real situation, the package should be already internationalized. So this example is educational for you to understand how this internationalization is implemented. TIP: The routine maintainer activity for the i18n is simply to add translation po files reported to you via BTS system to the *po/* directory and to update the language list in the *po/LINGUAS*. Let's get the source and make the Debian package. .Download *debhello-2.0.tar.gz* (i18n) ---- include::../debhello-2.0-pkg2/step000.slog[] ---- Internationalize this source tree with the *gettextize* command and remove files auto-generated by the Autotools. .run *gettextize* (i18n): ---- include::../debhello-2.0-pkg2/step150.slog[] ---- Let's check generated files under the *po/* directory. .files in *po* (i18n): ---- include::../debhello-2.0-pkg2/step151.slog[] ---- Let's update the *configure.ac* by adding ``*AM_GNU_GETTEXT([external])*'', etc.. .*configure.ac* (i18n): ---- include::../debhello-2.0-pkg2/step152.slog[] ---- Let's create the *po/Makevars* from the *po/Makevars.template*. .*po/Makevars* (i18n): ---- include::../debhello-2.0-pkg2/step153.slog[] ---- Let's update C sources for the i18n by wrapping strings with *_(...)*. .*src/hello.c* (i18n): ---- include::../debhello-2.0-pkg2/step154.slog[] ---- .*lib/sharedlib.c* (i18n): ---- include::../debhello-2.0-pkg2/step155.slog[] ---- The new *gettext* (v=0.19) can handle the i18n of the desktop file directly. .*data/hello.desktop.in* (i18n): ---- include::../debhello-2.0-pkg2/step156.slog[] ---- Let's list the input files to extract translatable strings in *po/POTFILES.in*. .*po/POTFILES.in* (i18n): ---- include::../debhello-2.0-pkg2/step157.slog[] ---- Here is the updated root *Makefile.am* with *po* added to the *SUBDIRS*. .*Makefile.am* (i18n): ---- include::../debhello-2.0-pkg2/step158.slog[] ---- Let's make a translation template file *debhello.pot*. .*po/debhello.pot* (i18n): ---- include::../debhello-2.0-pkg2/step160.slog[] ---- Let's add Japanese translation. .*po/LINGUAS* and *po/fr.po* (i18n): ---- include::../debhello-2.0-pkg2/step161.slog[] ---- The packaging activities are practically the same as the one in <>. You can find more i18n examples in <
> for * the POSIX shell script with the Makefile (v=3.0), * the Python3 script with the distutils (v=3.1), * the C source with the Makefile.in + configure (v=3.2), * the C source with the Autotools (v=3.3), and * the C source with the CMake (v=3.4). debmake-doc-1.1/asciidoc/51-gbp.txt0000664000175000017500000000444012613712701016056 0ustar osamuosamu[[gbp]] === git-buildpackage The *git-buildpackage* package offers many commands to automate packaging activities using the git repository. * *git-import-dsc*: import the previous Debian source package to the git repository. * *git-import-orig*: import the new upstream tar to the git repository. * *git-dch*: generate the Debian changelog from the git commit messages. * *git-buildpackage*: build the Debian binary package from the git repository. (alias *gbp*) ** The *--pristine-tar* option for the *git-buildpackage* command enables to store the upstream tarball in the same git repository. ** The *--uscan* option for the *git-buildpackage* command enables to download and commit the new upstream tarball into the git repository. ** The ``*gbp pull*'' command updates the *debian*, *upstream* and *pristine-tar* branches safely from the remote repository. * *git-pbuilder*: build the Debian binary package from the git repository using the *pbuilder* package. ** The *cowbuilder* package is used as its backend. * The *gbp-pq*, *git-dpm* or *quilt* (or alias *dquilt*) commands are used to manage quilt patches. ** The use of the *dquilt* command is the simplest to learn and requires you to commit the resulting files manually with the *git* command to the *master* branch. ** The use of the ``*gbp pq*'' command provides the equivalent functionality of the patch set management without using *dquilt* and eases including upstream git repository changes by the cherry-picking. ** The use of the ``*gbp dpm*'' command provides the more enhanced functionality than that of the `*gbp pq*'' command. The package history management with the *git-buildpackage* package is becoming the standard practice for most Debian maintainers. See: * http://honk.sigxcpu.org/projects/git-buildpackage/manual-html/gbp.html[Building Debian Packages with git-buildpackage] * https://wiki.debian.org/GitPackagingWorkflow * https://wiki.debian.org/GitPackagingWorkflow/DebConf11BOF * http://raphaelhertzog.com/2010/11/18/4-tips-to-maintain-a-3-0-quilt-debian-source-package-in-a-vcs/ * The *systemd* packaging practice documentation on http://anonscm.debian.org/gitweb/?p=pkg-systemd/systemd.git;a=blob;f=debian/README.source[Building from source]. TIP: Relax. You don't need to use all the wrapper tools. Use only ones which match your needs. debmake-doc-1.1/asciidoc/58-utf8.txt0000664000175000017500000000200512613712701016176 0ustar osamuosamu[[utf-8-build]] === Build under UTF-8 The default locale of the build environment is *C*. Some programs such as the *read* function of Python3 change their behavior depending on the locale. Adding the following code to the *debian/rules* file ensures to build the program under the *C.UTF-8* locale. ---- LC_ALL := C.UTF-8 export LC_ALL ---- [[utf-8-conv]] === UTF-8 conversion If upstream documents are encoded in old encoding schemes, converting them to http://en.wikipedia.org/wiki/UTF-8[UTF-8] is a good idea. Use the *iconv* command in the *libc-bin* package to convert encodings of plain text files. ---- $ iconv -f latin1 -t utf8 foo_in.txt > foo_out.txt ---- Use *w3m*(1) to convert from HTML files to UTF-8 plain text files. When you do this, make sure to execute it under UTF-8 locale. ---- $ LC_ALL=C.UTF-8 w3m -o display_charset=UTF-8 \ -cols 70 -dump -no-graph -T text/html \ < foo_in.html > foo_out.txt ---- Run these scripts in the *override_dh_** target of the *debian/rules* file. debmake-doc-1.1/asciidoc/30-customize.txt0000664000175000017500000000416712613712701017333 0ustar osamuosamu[[custom]] === Package customization Some upstream sources do not behave well and you may need to add customization to the build system of those upstream sources. The package should be customized by the least invasive way to address the root cause of the Debian packaging problem. Your packaging shall be more robust for the future upgrades in this way. (You should also solve the root cause of the problem and send its patch to the upstream.) Here, there are a few technical approaches to customize the build system: * *debian/rules* approach * *debian/*'bianrypackage'.* approach * *patches/** approach [[rulesapproach]] ==== debian/rules approach The customization to the Debian package build system can be done through the *debian/rules* file. See <>. [[configapproach]] ==== debian/binarypackage.* approach Add customized configuration files for the *dh_** command from the *debhelper* package in the *debian/* directory. See <>. [[patchapproach]] ==== patches/* approach Modifications to the upstream source before building it can be done by placing the collection of the *-p1* patches in the *patches/* directory and applying them in sequence defined in the *patches/series* file. There are several methods to prepare the required *-p1* patches for this. * The *diff* command (manual) * The ``*git format-patches*'' command (manual for the git repository) * The *dquilt* command (manual, elegant) (alias of the *quilt* command, see <>) * The *gbp-pq* command (specialized, simple) * The *git-dpm* command (specialized, elegant) * Patches used in other distros and floating on the mailing list * ... Wherever these patches come from, it is good idea to tag them with http://dep.debian.net/deps/dep3/[DEP-3] compatible header. These patches should apply cleanly. For new upstream releases, you must normalize them by the *dquilt* command (see <>). ---- $ while dquilt push; do dquilt refresh ; done $ dquilt pop -a ---- CAUTION: Don't forget to normalize patches when you upgrade to the new upstream source or import the externally generated patches. See <> for example. debmake-doc-1.1/asciidoc/50-devs.txt0000664000175000017500000000400512613712701016243 0ustar osamuosamuHere are some notable tips around the Debian packaging. [[debdiff]] === debdiff You can compare file contents in two source Debian packages with the *debdiff* command. ---- $ debdiff old-package.dsc new-package.dsc ---- You can also compare file lists in two sets of binary Debian packages with the *debdiff* command. ---- $ debdiff old-package.changes new-package.changes ---- These are useful to identify what has been changed in the source packages and to check for inadvertent changes made when updating binary packages, such as unintentionally misplacing or removing files. [[dget]] === dget You can download the set of files for the Debian source package with the *dget* command. ---- $ dget http://www.example.org/path/to/package_version-rev.dsc ---- [[debc]] === debc You should install generated packages with the *debc* command to test it locally. ---- $ debc package_version-rev_arch.changes ---- [[piuparts]] === piuparts You should install generated packages with the *piuparts* command to test it automatically. ---- $ sudo piuparts package_version-rev_arch.changes ---- NOTE: This is very slow proess with the remote APT package repository access. [[debsign]] === debsign After completing the test of the package, you can sign it with the *debsign* command. ---- $ debsign package_version-rev_arch.changes ---- [[dput]] === dput After signing the package with the *debsign* command, you can upload the set of files for the Debian source and binary package with the *dput* command. ---- $ dput package_version-rev_arch.changes ---- [[bts]] === bts After uploading the package, you will receive bug reports. It is an important duty of a package maintainer to manage these bugs properly as described in http://www.debian.org/doc/manuals/developers-reference/pkgs.html#bug-handling[5.8. Handling bugs] of the ``Debian Developer's Reference''. The *bts* command is a handy tool to manage bugs on https://www.debian.org/Bugs/[Debian Bug Tracking System]. ---- $ bts severity 123123 wishlist , tags -1 pending ---- debmake-doc-1.1/asciidoc/21-version.txt0000664000175000017500000000763712613712701017003 0ustar osamuosamu[[name-version]] === Package name and version If the upstream source comes as *hello-0.9.12.tar.gz*, you can take *hello* as the upstream source package name and *0.9.12* as the upstream version. include::caveat.txt[] You must adjust the package name and upstream version accordingly for the Debian packaging. In order to manage the package name and version information effectively under popular tools such as the *aptitude* command, it is a good idea to keep the length of package name to be equal or less than 30 characters; and the total length of version and revision to be equal or less than 14 characters. footnote:[For more than 90% of packages, the package name is equal or less than 24 characters; the upstream version is equal or less than 10 characters and the Debian revision is equal or less than 3 characters.] In order to avoid name collisions, the user visible binary package name should not be chosen from any generic words. // aptitude bug #62454 fixed :-) If upstream does not use a normal versioning scheme such as *2.30.32* but uses some kind of date such as *11Apr29*, a random codename string, or a VCS hash value as part of the version, make sure to remove them from the upstream version. Such information can be recorded in the *debian/changelog* file. If you need to invent a version string, use the *YYYYMMDD* format such as *20110429* as upstream version. This ensures that dpkg interprets later versions correctly as upgrades. If you need to ensure smooth transition to the normal version scheme such as *0.1* in future, use the *0\~YYMMDD* format such as *0~110429* as upstream version, instead. Version strings can be compared using the *dpkg* command as follows. ---- $ dpkg --compare-versions ver1 op ver2 ---- The version comparison rule can be summarized as: * Strings are compared from the head to the tail. * Letters are larger than digits. * Numbers are compared as integers. * Letters are compared in ASCII code order. There are special rules for period (*.*), plus (*+*), and tilde (*~*) characters, as follows. ---- 0.0 < 0.5 < 0.10 < 0.99 < 1 < 1.0~rc1 < 1.0 < 1.0+b1 < 1.0+nmu1 < 1.1 < 2.0 ---- One tricky case occurs when upstream releases *hello-0.9.12-ReleaseCandidate-99.tar.gz* as the pre-release of *hello-0.9.12.tar.gz*. You can ensure the upgrade to work properly by renaming the upstream source to *hello-0.9.12~rc99.tar.gz* having the proper version order. [[native]] === Native Debian package The non-native Debian package in the ``*3.0 (quilt)*'' format is the most normal Debian binary package format. The above workflow and the following packaging examples always use this format. The native Debian package is the rare Debian binary package format. It may be used only when the package is useful and valuable only for Debian. Thus, its use is generally deprecated. CAUTION: The native debian package is often accidentally built when its upstream tarball is not accessible from the *dpkg-buildpackage* command with its correct name 'package_version'.*orig.tar.gz* . A typical newbie mistake is to make a symlink name with ``**-**'' instead of the correct one with ``**_**''. The native Debian package has no separation between the *upstream code* and the *Debian changes* and consists only with the following: * 'package_version'.*tar.gz* (copy or symlink of 'package-version'.*tar.gz* with *debian/** files.) * 'package_version'.*dsc* If you need to create the native Debian package, create it in the ``*3.0 (native)*'' format using *dpkg-source*(1). TIP: Some people promote to package even programs which have been written only for Debian in the non-native package format. The required tarball without *debian/** files needs to be manually generated in advance before the standard workflow in <>. footnote:[Use of the ``*debameke -t ...*'' command can help this workflow. See <>.] They claim that the use of non-native package format eases communication with the downstream distributions. debmake-doc-1.1/asciidoc/53-chroot.txt0000664000175000017500000000716212613712701016612 0ustar osamuosamu[[chroot]] === chroot The http://en.wikipedia.org/wiki/Chroot[chroot] for the clean package build environment can be created and managed using the tools described in <>. footnote:[The *git-pbuilder* style organization is deployed here. See https://wiki.debian.org/git-pbuilder . Be careful since many HOWTOs use different organization.] Here is a quick summary of available package build commands. There are many ways to do the same thing. * *dpkg-buildpackage* = core of package building tool * *debuild* = *dpkg-buildpackage* + *lintian* (build under the sanitized environment variables) * *pbuilder* = core of the Debian chroot environment tool * *pdebuild* = *pbuilder* + *dpkg-buildpackage* (build in the chroot) * *cowbuilder* = speed up the *pbuilder* execution * *git-pbuilder* = the easy-to-use command line syntax for *pdebuild* (used by *gbp buildpackge*) * *gbp* = manage the Debian source under the git * *gbp buildpackge* = *pbuilder* + *dpkg-buildpackage* + *gbp* A clean *sid* distribution chroot environment can be used as follows. * The chroot filesystem creation command for the *sid* distribution ** *pbuilder create* ** *git-pbuilder create* * The master chroot filesystem path for the *sid* distribution chroot ** */var/cache/pbuilder/base.cow* * The package build command for the *sid* distribution chroot ** *pdebuild* ** *git-pbuilder* ** *gbp buildpackage* * The command to update the *sid* chroot ** *pbuilder --update* ** *git-pbuilder update* * The command to login to the *sid* chroot to modify it ** *git-pbuilder login --save-after-login* An arbitrary 'dist' distribution environment can be used as follows. * The chroot filesystem creation command for the 'dist' distribution ** *pbuilder create --distribution* 'dist' ** *DIST=*'dist' *git-pbuilder create* * The master chroot filesystem path for the 'dist' distribution chroot ** path: */var/cache/pbuilder/base-*'dist'*.cow* * The package build command for the 'dist' distribution chroot ** *pdebuild \-- --basepath=/var/cache/pbuilder/base-*'dist'*.cow* ** *DIST=*'dist' *git-pbuilder* ** *gbp buildpackage --git-dist=*'dist' * The command to update the 'dist' chroot ** *pbuilder update --basepath=/var/cache/pbuilder/base-*'dist'*.cow* ** *DIST=*'dist' *git-pbuilder update* * The command to login to the *sid* chroot to modify it ** *pbuilder --login --basepath=/var/cache/pbuilder/base-*'dist'*.cow --save-after-login* ** *DIST=*'dist' *git-pbuilder login --save-after-login* TIP: A custom environment with some pre-loaded packages needed for the new experimental packages, this ``*git-pbuilder login --save-after-login*'' command is quite handy. TIP: If your old chroot is missing packages such as *libeatmydata1*, *ccache*, and *lintian*, you may want to install these with the ``*git-pbuilder login --save-after-login*'' command. TIP: The chroot filesystem can be cloned simply by copying with ``*cp -a base-*'dist'*.cow base-*'customdist'*.cow*''. The new chroot can be accessed as ``*gbp buildpackage --git-dist=*'customdist''' and ``*DIST=*'customdist' *git-pbuilder ...*''. TIP: When the *orig.tar.gz* file needs to be upload for the Debian revision other than *0* and *1* (e.g., for the security upload), add the *-sa* option to the end of *dpkg-buildpackage*, *debuild*, *pdebuild*, and *git-pbuilder* commands. For the ``*gbp buildpackage*'' command, temporarily modify the *builder* setting of *~/.gbp.conf*. NOTE: The description in this section is too terse to be useful for most of the prospective maintainers. This is the intentional choice of the author. You are highly encouraged to search and read all the pertinent documents associated with the commands used. debmake-doc-1.1/asciidoc/42-pymod.txt0000664000175000017500000000141412613712701016434 0ustar osamuosamu[[pythonmod]] === Python module You can generate a functioning single binary Debian package with a reasonable package description directly from the Python module package offered as a tarball 'pythonmodule-1.0'*.tar.gz*. The *-b* option specifying the package type *python* and the *-s* option to copy the package description from the upstream package need to be specified. ---- $ debmake -s -b':python' -a pythonmodule-1.0.tar.gz -i debuild ---- For other interpreted languages with the *-b* option support, specify the pertinent 'type' for the *-b* option. For interpreted languages without the *-b* option support, specify the *script* type instead and add the interpreter package as the dependency of the resulting binary package by adjusting the *debian/control* file. debmake-doc-1.1/asciidoc/26-copyright.txt0000664000175000017500000000350112613712701017315 0ustar osamuosamu[[copyright]] === debian/copyright Debian takes the copyright and license matters very seriously. The ``Debian Policy Manual'' enforces to have summary of them in the *debian/copyright* file in the package. You should format it as the http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/[machine-readable debian/copyright file] (DEP-5). CAUTION: The *debian/copyright* file should be sorted to keep the generic file patterns at the top of the list. See <>. The *debmake* command creates the initial DEP-5 compatible template file by scanning the entire source tree. It uses an internal license checker to classify each license text. footnote:[The *licensecheck* command from the *devscripts* package was referenced to make this internal checker.] Unless specifically requested to be pedantic with the *-P* option, the *debmake* command skips reporting for auto-generated files with permissive licenses to be practical. NOTE: If you find issues with this license checker, please file a bug report to the *debmake* package with the problematic part of text containing the copyright and license. [[dfsg]] === DFSG Debian takes software freedom seriously and follows the https://www.debian.org/social_contract.html#guidelines[DFSG]. The non-https://www.debian.org/social_contract.html#guidelines[DFSG] components in the upstream source tarball can be easily removed when the *uscan* command is used to update the Debian package. * List the files to be removed in the *Files-Excluded* stanza of the *debian/copyright* file. * List the URL to download the upstream tarball in the *debian/watch* file. * Run the *uscan* command to download the new upstream tarball. ** Alternatively, use the ``*gbp import-orig --uscan --pristine-tar*'' command. * The resulting tarball has the version number with an additional suffix *+dfsg*. debmake-doc-1.1/asciidoc/80-cmake.txt0000664000175000017500000000434112613712701016370 0ustar osamuosamu[[cmake-single]] === CMake (single-binary) Here is an example of creating a simple Debian package from a simple C source using the CMake (*CMakeLists.txt* and some files such as *config.h.in*) as its build system. See <>. The *cmake* command generates the *Makefile* file based on the *CMakeLists.txt* file and its *-D* option. It also configure the file as specified in its *configure_file(...)* by replacing strings with *@...@* and changing *#cmakedefine ...* line. Let's assume this upstream tarball to be *debhello-1.7.tar.gz*. This type of source is meant to be installed as a non-system file, for example, as: ---- $ tar -xzmf debhello-1.7.tar.gz $ cd debhello-1.7 $ mkdir obj-x86_64-linux-gnu # for out-of-tree build $ cd obj-x86_64-linux-gnu $ cmake .. $ make $ make install ---- Let's get the source and make the Debian package. .Download *debhello-1.7.tar.gz* ---- include::../debhello-1.7-pkg1/step000.slog[] ---- Here, the contents of this source are as follows. .*src/hello.c* (v=1.7): ---- include::../debhello-1.7-pkg1/step101.slog[] ---- .*src/config.h.in* (v=1.7): ---- include::../debhello-1.7-pkg1/step102.slog[] ---- .*CMakeLists.txt* (v=1.7): ---- include::../debhello-1.7-pkg1/step103.slog[] ---- Let's package this with the *debmake* command. ---- sys::[head -n12 ../debhello-1.7-pkg1/step200.slog] ... ---- The result is similar to <> but not exactly the same. Let's inspect notable template files generated. // .The source tree after the basic *debmake* execution. (v=1.7) // ---- // include::../debhello-1.7-pkg1/step201.slog[] // ---- .*debian/rules* (template file, v=1.7): ---- include::../debhello-1.7-pkg1/step202.slog[] ---- .*debian/control* (template file, v=1.7): ---- include::../debhello-1.7-pkg1/step203.slog[] ---- Let's make this Debian package better as the maintainer. .*debian/rules* (maintainer version, v=1.7): ---- include::../debhello-1.7-pkg1/step301.slog[] ---- .*debian/control* (maintainer version, v=1.7): ---- include::../debhello-1.7-pkg1/step302.slog[] ---- There are several other template files under the *debian/* directory. These also needs to be updated. The rest of the packaging activities are practically the same as the one in <>. debmake-doc-1.1/asciidoc/44-koption.txt0000664000175000017500000000162112613712701016771 0ustar osamuosamu[[koption]] === debmake -k When updating a package for the new upstream release, the *debmake* command can verify the content of the existing *debian/copyright* file against the copyright and license situation of the entire updated source tree. ---- $ cd package-vcs $ gbp import-orig --uscan --pristine-tar ... update source with the new upstream release $ debmake -k | less ---- The ``*debmake -k*'' command parses the *debian/copyright* file from the top to the bottom and compare the license of all the non-binary files in the current package with the license described in the last matching file pattern entry of the *debian/copyright* file. When editing the auto-generated *debian/copyright* file, please make sure to keep the generic file patterns at the top of the list. TIP: For all new upstream releases, run the ``*debmake -k*'' command to ensure that the *debian/copyright* file is current. debmake-doc-1.1/asciidoc/00-terms.txt0000664000175000017500000000317212613712701016433 0ustar osamuosamu// Copyright © 2015 Osamu Aoki // This does not fit into asciidoc to XML work flow. // So I created head.txt manually using this etc. Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. This guide was made using the following previous documents as its reference: * ``Making a Debian Package (AKA the Debmake Manual)'', copyright © 1997 Jaldhar Vyas. * ``The New-Maintainer’s Debian Packaging Howto'', copyright © 1997 Will Lowe. * ``Debian New Maintainers’ Guide'', copyright © 1998-2002 Josip Rodin, 2005-2014 Osamu Aoki, 2010 Craig Small, and 2010 Raphaël Hertzog. Newer versions of this guide should always be available in the *debmake-doc* package. debmake-doc-1.1/asciidoc/73-makesh.txt0000664000175000017500000000405712613712701016566 0ustar osamuosamu[[makefile-sh]] === Makefile (shell, CLI) Here is an example of creating a simple Debian package from a POSIX shell CLI program using the *Makefile* as its build system. Let's assume its upstream tarball to be *debhello-1.0.tar.gz*. This type of source is meant to be installed as a non-system file as: ---- $ tar -xzmf debhello-1.0.tar.gz $ cd debhello-1.0 $ make install ---- Debian packaging requires to change this ``*make install*'' process to install files to the target system image location instead of the normal location under */usr/local*. Let's get the source and make the Debian package. .Download *debhello-1.0.tar.gz* ---- include::../debhello-1.0-pkg1/step000.slog[] ---- Here, the *Makefile* uses *$(DESTDIR)* and *$(prefix)* properly. All other files are the same as <> and most of the packaging activities are the same. .*Makefile* (v=1.0) ---- include::../debhello-1.0-pkg1/step101.slog[] ---- Let's package this with the *debmake* command. Here, the *-b\':sh'* option is used to specify the generated binary package is a shell script. ---- sys::[head -n12 ../debhello-1.0-pkg1/step200.slog] ... ---- Let's inspect notable template files generated. // .The source tree after the basic *debmake* execution. (v=1.0) // ---- // include::../debhello-1.0-pkg1/step201.slog[] // ---- .*debian/rules* (template file, v=1.0): ---- include::../debhello-1.0-pkg1/step202.slog[] ---- Let's make this Debian package better as the maintainer. .*debian/rules* (maintainer version, v=1.0): ---- include::../debhello-1.0-pkg1/step301.slog[] ---- Since this upstream source has the proper upstream *Makefile*, there are no needs to create *debian/install* and *debian/manpages* files. The *debian/control* file is exactly the same as the one in <>. There are several other template files under the *debian/* directory. These also needs to be updated. .Template files under *debian/*. (v=1.0): ---- include::../debhello-1.0-pkg1/step400.slog[] ---- The rest of the packaging activities are practically the same as the one in <>. debmake-doc-1.1/asciidoc/46-xoption.txt0000664000175000017500000000043212613712701017007 0ustar osamuosamu[[xoption]] === debmake -x The amount of template files generated by the *debmake* command depends on the *-x*[01234] option. * See <> for the cherry-picking of the template files. NOTE: None of the existing configuration files are modified by the *debmake* command. debmake-doc-1.1/asciidoc/38-debconf.txt0000664000175000017500000000224412613712701016713 0ustar osamuosamu[[debconf]] === debconf The *debconf* package enables us to configure packages during their installation in 2 main ways: * non-interactively from the *debian-installer* pre-seeding. * interactively from the menu interface (*dialog*, *gnome*, *kde*, ...) ** the package installation: invoked by the *dpkg* command ** the installed package: invoked by the *dpkg-reconfigure* command All user interactions for the package installation must be handled by this *debconf* system using the following files. * *debian/*'binarypackage'*.cofig* ** This is the *debconf* *config* script used for asking any questions necessary to configure the package. * *debian/*'binarypackage'*.template* ** This is the *debconf* *templates* file used for asking any questions necessary to configure the package. * package configuration scripts ** *debian/*'binarypackage'*.preinst* ** *debian/*'binarypackage'*.prerm* ** *debian/*'binarypackage'*.postinst* ** *debian/*'binarypackage'*.postrm* See *dh_installdebconf*(1), *debconf*(7), *debconf-devel*(7) and http://www.debian.org/doc/debian-policy/ch-binary.html#s-maintscriptprompt[3.9.1 Prompting in maintainer scripts] of the ``Debian Policy Manual''. debmake-doc-1.1/asciidoc/75-makesh-gui.txt0000664000175000017500000000401612613712701017345 0ustar osamuosamu[[makefile-sh-gui]] === Makefile (shell, GUI) Here is an example of creating a simple Debian package from a POSIX shell GUI program using the *Makefile* as its build system. This upstream is based in <> with enhanced GUI support. Let's assume its upstream tarball to be *debhello-1.2.tar.gz*. Let's get the source and make the Debian package. .Download *debhello-1.2.tar.gz* ---- include::../debhello-1.2-pkg1/step000.slog[] ---- Here, the *hello* has been re-written to use the *zenity* command to make this a GTK+ GUI program. .*hello* (v=1.2) ---- include::../debhello-1.2-pkg1/step101.slog[] ---- Here, the desktop file is updated to be *Terminal=false* as a GUI program. .*hello.desktop* (v=1.2) ---- include::../debhello-1.2-pkg1/step102.slog[] ---- All other files are the same as <>. Let's package this with the *debmake* command. Here, the *-b\':sh'* option is used to specify the generated binary package is a shell script. ---- sys::[head -n12 ../debhello-1.2-pkg1/step200.slog] ... ---- Let's inspect notable template files generated. // .The source tree after the basic *debmake* execution. (v=1.2) // ---- // include::../debhello-1.2-pkg1/step201.slog[] // ---- .*debian/control* (template file, v=1.2): ---- include::../debhello-1.2-pkg1/step202.slog[] ---- Let's make this Debian package better as the maintainer. .*debian/control* (maintainer version, v=1.2): ---- include::../debhello-1.2-pkg1/step302.slog[] ---- Please note manually added *zenity*. The *debian/rules* file is exactly the same as the one in <>. There are several other template files under the *debian/* directory. These also needs to be updated. .Template files under *debian/*. (v=1.2): ---- include::../debhello-1.2-pkg1/step400.slog[] ---- The rest of the packaging activities are practically the same as the one in <>. Here is the generated dependency list of binary packages. .The generated dependency list of binary packages (v=1.2): ---- include::../debhello-1.2-pkg1/step702.slog[] ---- debmake-doc-1.1/asciidoc/10-prereq.txt0000664000175000017500000002533712613712701016607 0ustar osamuosamuHere are the prerequisites which you need to understand before you to get involved with Debian. [[people]] === People around Debian There are several types of people interacting around Debian with different roles: * *upstream author*: the person who made the original program. * *upstream maintainer*: the person who currently maintains the program. * *maintainer*: the person making the Debian package of the program. * *sponsor*: a person who helps maintainers to upload packages to the official Debian package archive (after checking their contents). * *mentor*: a person who helps novice maintainers with packaging etc. * *Debian Developer* (DD): a member of the Debian project with full upload rights to the official Debian package archive. * *Debian Maintainer* (DM): a person with limited upload rights to the official Debian package archive. Please note that you can't become an official *Debian Developer* (DD) overnight, because it takes more than technical skill. Please do not be discouraged by this. If it is useful to others, you can still upload your package either as a *maintainer* through a *sponsor* or as a *Debian Maintainer*. Please note that you do not need to create any new packages to become an official Debian Developer. Contributing to the existing packages can provide a path to becoming an official Debian Developer too. There are many packages waiting for good maintainers (see <>). [[contribute]] === How to contribute Please refer to the following to learn how to contribute to Debian: * http://www.debian.org/intro/help[How can you help Debian?] (official) * http://www.debian.org/doc/FAQ/ch-contributing[The Debian GNU/Linux FAQ, Chapter 13 - "Contributing to the Debian Project"] (semi-official) * http://wiki.debian.org/HelpDebian[Debian Wiki, HelpDebian] (supplemental) * https://nm.debian.org/[Debian New Member site] (official) * http://wiki.debian.org/DebianMentorsFaq[Debian Mentors FAQ] (supplemental) [[social]] === Social dynamics of Debian Please understand Debian's social dynamics to prepare yourself for interactions with Debian: * We all are volunteers. ** You can't impose on others what to do. ** You should be motivated to do things by yourself. * Friendly cooperation is the driving force. ** Your contribution should not over-strain others. ** Your contribution is valuable only when others appreciate it. * Debian is not your school where you get automatic attention of teachers. ** You should be able to learn many things by yourself. ** Attention from other volunteers is a very scarce resource. * Debian is constantly improving. ** You are expected to make high quality packages. ** You should adapt yourself to the change. Since we focus only on the technical aspects of the packaging in the rest of this guide, please refer to the following to understand the social dynamics of Debian: * http://upsilon.cc/~zack/talks/2011/20110321-taipei.pdf[Debian: 17 years of Free Software, ``do-ocracy'', and democracy] (Introductory slides by the ex-DPL) [[reminders]] === Technical reminders Here are some technical reminders to accommodate other maintainers to work on your package easily and effectively to maximize the output of Debian as a whole. * Make your package easy to debug. ** Keep your package simple. ** Don't over-engineer your package. * Keep your package well-documented. ** Use readable code style. ** Make comments in code. ** Format code consistently. ** Maintain the git repository footnote:[The overwhelming number of Debian maintainers use *git* over other VCS systems such as *hg*, *bzr*, etc.] of the package. NOTE: Debugging of software tends to consume more time than writing the initial working software. [[debian-doc]] === Debian documentation Please make yourself ready to read the pertinent part of the official Debian documentation together with this guide as needed to generate perfect Debian packages: * ``Debian Policy Manual'' ** ``must follow'' rules (http://www.debian.org/doc/devel-manuals#policy) * ``Debian Developer's Reference'' ** ``best practice'' document (http://www.debian.org/doc/devel-manuals#devref) If this guide contradicts with the official Debian documentation, they are correct. Please file a bug report on the *debmake-doc* package using the *reportbug* command. Here are alternative tutorial documents which you may read along with this guide: * ``Debian New Maintainers' Guide'' (older) ** https://www.debian.org/doc/devel-manuals#maint-guide ** https://packages.qa.debian.org/m/maint-guide.html * ``Debian Packaging Tutorial'' ** https://www.debian.org/doc/devel-manuals#packaging-tutorial ** https://packages.qa.debian.org/p/packaging-tutorial.html * ``Ubuntu Packaging Guide'' (Ubuntu is Debian based.) ** http://packaging.ubuntu.com/html/ TIP: When reading these tutorials, you should consider to use the *debmake* command in place of the *dh_make* command for better template files. [[help]] === Help resources Before you decide to ask your question in some public place, please do your parts of efforts, i.e., read the fine documentation: * package information available through the *aptitude*, *apt-cache*, and *dpkg* commands. * files in */usr/share/doc/*'package' for all pertinent packages. * contents of *man* 'command' for all pertinent commands. * contents of *info* 'command' for all pertinent commands. * contents of http://lists.debian.org/debian-mentors/[debian-mentors@lists.debian.org mailing list archive]. * contents of http://lists.debian.org/debian-devel/[debian-devel@lists.debian.org mailing list archive]. Your desired information can be found effectively by using the well-formend search string such as ``keyword *site:lists.debian.org*'' to limit the search domain of the web search engine. Making a small test package is a good way to learn details of the packaging. Inspecting existing well maintained packages is the best way to learn how other people make packages. If you still have questions about the packaging, you can ask them interactively: * debian-mentors@lists.debian.org mailing list. (This mailing list is for the novice.) * debian-devel@lists.debian.org mailing list. (This mailing list is for the expert.) * http://www.debian.org/support#irc[IRC] such as #debian-mentors. * Teams focusing on a specific set of packages. (Full list at https://wiki.debian.org/Teams) * Language-specific mailing lists. ** https://lists.debian.org/devel.html[debian-devel-{french,italian,portuguese,spanish}@lists.debian.org] ** http://www.debian.or.jp/community/ml/openml.html#develML[debian-devel@debian.or.jp] The more experienced Debian developers will gladly help you, if you ask properly after making your required efforts. CAUTION: Debian development is a moving target. Some information found on the web may be outdated, incorrect, and not-applicable. Please use them carefully. [[situation]] === Archive situation Please realize the situation of the Debian archive. * Debian already has packages for most kinds of programs. * The number of packages already in the Debian archive is several tens of times greater than that of active maintainers. * Unfortunately, some packages lack appropriate level of attention by the maintainer. Thus, contributions to packages already in the archive are far more appreciated (and more likely to receive sponsorship for the uploading) by other maintainers. TIP: The *wnpp-alert* command from the *devscripts* package can check for installed packages up for adoption or orphaned. [[approaches]] === Contribution approaches Here is a pseudo-Python code for your contribution approaches to Debian with a *program*: ---- if exist_in_debian(program): if is_team_maintained(program): join_team(program) if is_orphaned(program) # maintainer: Debian QA Group adopt_it(program) elif is_RFA(program) # Request for Adoption adopt_it(program) else: if need_help(program): contact_maintainer(program) triaging_bugs(program) preparing_QA_or_NMU_uploads(program) else: leave_it(program) else: # new packages if not is_good_program(program): give_up_packaging(program) elif not is_distributable(program): give_up_packaging(program) else: # worth packaging if is_ITPed_by_others(program): if need_help(program): contact_ITPer_for_collaboration(program) else: leave_it_to_ITPer(program) else: # really new if is_applicable_team(program): join_team(program) if is_DFSG(program) and is_DFSG(dependency(program)): file_ITP(program, area="main") # This is Debian elif is_DFSG(program): file_ITP(program, area="contrib") # This is not Debian else: # non-DFSG file_ITP(program, area="non-free") # This is not Debian package_it_and_close_ITP(program) ---- Here: * For exist_in_debian(), and is_team_maintained(); check: ** the *aptitude* command ** https://www.debian.org/distrib/packages[Debian packages] web page ** https://wiki.debian.org/Teams[Teams] * For is_orphaned(), is_RFA(), and is_ITPed_by_others(); check: ** The output of the *wnpp-alert* command. ** https://www.debian.org/devel/wnpp/[Work-Needing and Prospective Packages] ** https://bugs.debian.org/cgi-bin/pkgreport.cgi?pkg=wnpp;dist=unstable[Debian Bug report logs: Bugs in pseudo-package wnpp in unstable] ** http://wnpp.debian.net/[Debian Packages that Need Lovin'] ** http://wnpp-by-tags.debian.net/[Browse wnpp bugs based on debtags] * For is_good_program(), check: ** The program should be useful. ** The program should not introduce security and maintenance concerns to the Debian system. ** The program should be well documented and its code needs to be understandable (i.e. not obfuscated). ** The program's authors agree with the packaging and are amicable to Debian. footnote:[This is not the absolute requirement. The hostile upstream may become major resource drains for us all. The friendly upstream can be consulted to solve any problems with the program.] * For is_it_DFSG(), and is_its_dependency_DFSG(); check: ** https://www.debian.org/social_contract#guidelines[Debian Free Software Guidelines] (DFSG). * For is_it_distributable(), check: ** The software must have a license and it should allow its distribution. You either need to file an ITP or adopt a package to start working on it. See the ``Debian Developer's Reference'': * https://www.debian.org/doc/manuals/developers-reference/pkgs.html#newpackage[5.1. New packages]. * https://www.debian.org/doc/manuals/developers-reference/pkgs.html#archive-manip[5.9. Moving, removing, renaming, orphaning, adopting, and reintroducing packages]. === Novice maintainer The novice maintainer should avoid packaging programs with the high security exposure: * *setuid* or *setgid* program * *daemon* program * program installed in the */sbin/* or */usr/sbin/* directories When you gain more experience in packaging, you'll be able to package such programs. debmake-doc-1.1/asciidoc/71-emptypkg.txt0000664000175000017500000000227612613712701017155 0ustar osamuosamu[[emptypkg]] === Cherry-pick templates Here is an example of creating a simple Debian package from a zero content source on an empty directory. This is a good platform to get all the template files without making mess in the upstream source tree you are working on. Let's assume this empty directory to be *debhello-0.1*. ---- include::../debhello-0.1-pkg1/step000.slog[] ---- Let's generate the maximum amount of template files by specifying the *-x4* option. Let's also use the ``*-p* 'debhello' *-t -u* '0.1' *-r* '1''' options to make missing upstream tarball. ---- sys::[head -n2 ../debhello-0.1-pkg1/step200.slog] ... sys::[grep -A3 '^I: debmake -x' ../debhello-0.1-pkg1/step200.slog] ... sys::[tail -n7 ../debhello-0.1-pkg1/step200.slog] ---- Let's inspect generated template files. ---- sys::[head -n15 ../debhello-0.1-pkg1/step201.slog] ... sys::[tail -n6 ../debhello-0.1-pkg1/step201.slog] ---- Now you can copy any of these generated template files in the 'debhello-0.1/'*debian/* directory to your package as needed while renaming them as needed. TIP: The generated template files can be made more verbose ones by invoking the *debmake* command with the *-T* option (tutorial mode). debmake-doc-1.1/asciidoc/14-simpledeb.txt0000664000175000017500000003212712613712701017254 0ustar osamuosamuThere is an old Latin saying: ``**Longum iter est per praecepta, breve et efficax per exempla**'' (``It's a long way by the rules, but short and efficient with examples''). Here is an example of creating a simple Debian package from a simple C source using the *Makefile* as its build system. Let's assume this upstream tarball to be *debhello-0.0.tar.gz*. This type of source is meant to be installed as a non-system file as: ---- $ tar -xzmf debhello-0.0.tar.gz $ cd debhello-0.0 $ make $ make install ---- Debian packaging requires to change this ``*make install*'' process to install files to the target system image location instead of the normal location under */usr/local*. NOTE: Examples of creating Debian package from other complicated build systems are described in <>. [[big-picture]] === Big picture The big picture for building a single non-native Debian package from the upstream tarball *debhello-0.0.tar.gz* can be summarized as: * The maintainer obtains the upstream tarball and untar its contents. * The *debmake* command debianize the upstream source tree by adding template files to it. * The maintainer customizes template files. * The *debuild* command builds the binary package from the debianized source tree. .Big picture of package building ---- $ tar -xzmf debhello-0.0.tar.gz $ cd debhello-0.0 $ debmake ... manual customization $ debuild ---- TIP: The *debuild* command in this and following examples may be substituted by the equivalent commands such as the *pdebuild* command. [[what-debmake]] === What is debmake? The *debmake* command is the helper script for the Debian packaging. * It always sets most of the obvious option states and values to reasonable defaults. * It generates the upstream tarball and its required symlink if they are missing. * It doesn't overwrite the existing configuration files in the *debian/* directory. * It supports the *multiarch* package. * It creates good template files such as the *debian/copyright* file complaint to *DEP-5*. These features make Debian packaging with *debmake* simple and modern. [[what-debuild]] === What is debuild? Here is a summary of commands similar to the *debuild* command. * The *debian/rules* file defines how the Debian package is built. * The *dpkg-buildpackage* is the official command to invoke *debian/rules* to build the Debian package. Notably, it executes itself with the *clean* target before the *binary* one for the normal package build. * The *debuild* command is a wrapper script of *dpkg-buidpackage* to build a package under the proper environment variables. * The *pdebuild* command is a wrapper script to build a package under the proper chroot environment with the proper environment variables. * The *git-pbuilder* command is another wrapper script to build a package under the proper chroot environment with the proper environment variables. This provides an easier command line UI to switch among different build environments. [[step-upstream]] === Step-by-step: upstream Let's get the source. .Download *debhello-0.0.tar.gz* ---- include::../debhello-0.0-pkg1/step000.slog[] ---- Here, the C source *hello.c* is a very simple one. .*hello.c* ---- include::../debhello-0.0-pkg1/step101.slog[] ---- Here, the *Makefile* supports http://www.gnu.org/prep/standards/[GNU Coding Standards] and http://en.wikipedia.org/wiki/Filesystem_Hierarchy_Standard[FHS]. Notably: * build binaries honoring *$(CPPFLAGS)*, *$(CFLAGS)*, *$(LDFLAGS)*, etc. * install files with the *$(DESTDIR)* to the target system image * install files with the *$(prefix)* which can be overridden to be */usr* .*Makefile* ---- include::../debhello-0.0-pkg1/step102.slog[] ---- NOTE: The *echo* of the *$(CFLAGS)* is used to verify the proper setting of the build flag in the following example. [[step-debmake]] === Step-by-step: debmake TIP: If the *debmake* command is invoked with the *-T* option, more verbose comments are generated for the template files. The output from the *debmake* command is very verbose and explains what it does as follows. ---- include::../debhello-0.0-pkg1/step200.slog[] ---- The *debmake* command generates all these template files based on the command line option. Since no options are specified, the *debmake* command choses reasonable default values for you: * The source package name: *debhello* * The upstream version: *0.0* * The binary package name: *debhello* * The Debian revision: *1* * The package type: *bin* (the ELF binary executable package) * The *-x* option: *-x1* (default for the single binary package) Let's inspect generated template files. .The source tree after the basic *debmake* execution. ---- include::../debhello-0.0-pkg1/step201.slog[] ---- The *debian/rules* file is the build script provided by the package maintainer. Here is its template file generated by the *debmake* command. .*debian/rules* (template file): ---- include::../debhello-0.0-pkg1/step202.slog[] ---- This is essentially the standard *debian/rules* file with the *dh* command. (There are some commented out contents for you to customize it.) The *debian/control* file provides the main meta data for the Debian package. Here is its template file generated by the *debmake* command. .*debian/control* (template file): ---- include::../debhello-0.0-pkg1/step203.slog[] ---- Since this is the ELF binary executable package, the *debmake* command sets ``*Architecture: any*'' and ``*Multi-Arch: foreign*''. Also, it sets required *substvar* parameters as ``*Depends: $\{shlibs:Depends}, $\{misc:Depends}*''. These are explained in <>. NOTE: Please note this *debian/control* file uses the RFC-822 style as documented in http://www.debian.org/doc/debian-policy/ch-controlfields.html#s-sourcecontrolfiles[5.2 Source package control files -- debian/control] of the ``Debian Policy Manual''. The use of the empty line and the leading space are significant. The *debian/copyright* file provides the copyright summary data of the Debian package. Here is its template file generated by the *debmake* command. .*debian/copyright* (template file): ---- include::../debhello-0.0-pkg1/step204.slog[] ---- [[step-maintainer]] === Step-by-step: maintainer Some manual modification is required to make the proper Debian package as a maintainer. In order to install files as a part of the system files, the *$(prefix)* value of */usr/local* in the *Makefile* should be overridden to be */usr*. This can be accommodated by the following the *debian/rules* file with the *override_dh_auto_install* target setting ``*prefix=/usr*''. .*debian/rules* (maintainer version): ---- include::../debhello-0.0-pkg1/step301.slog[] ---- Exporting the *DH_VERBOSE* in the *debian/rules* file as above forces the *debhelper* tool to make a fine grained build report. Exporting the *DEB_BUILD_MAINT_OPTION* as above sets the hardening options as described in the ``FEATURE AREAS/ENVIRONMENT'' in *dpkg-buildflags*(1). footnote:[This is a cliché to force read-only relocation link for the hardening and to prevent the lintian warning ``*W: debhello: hardening-no-relro usr/bin/hello*''. This is not really needed for this example but should be harmless. The lintian seems to produce false positive warning for this case which has no linked library.] Exporting the *DEB_CFLAGS_MAINT_APPEND* as above forces C compiler to emit all the warnings. Exporting the *DEB_LDFLAGS_MAINT_APPEND* as above forces linker to link only when the library is actually needed. footnote:[This is a cliché to prevent overlinking for the complex library dependency case such as Gnome programs. This is not really needed for this simple example but should be harmless.] The *dh_auto_install* command for the Makefile based build system does essentially ``*$(MAKE) install DESTDIR=debian/debhello*''. The creation of this *override_dh_auto_install* target changes its behavior to ``*$(MAKE) install DESTDIR=debian/debhello prefix=/usr*''. Here are the maintainer version of the *debian/control* and *debian/copyright* files. .*debian/control* (maintainer version): ---- include::../debhello-0.0-pkg1/step302.slog[] ---- .*debian/copyright* (maintainer version): ---- include::../debhello-0.0-pkg1/step303.slog[] ---- There are several other template files under the *debian/* directory. These also needs to be updated. .Template files under *debian/*. (v=0.0): ---- include::../debhello-0.0-pkg1/step400.slog[] ---- TIP: Configuration files used by the *dh_** commands from the *debhelper* package usually treat *#* as the start of the comment line. [[step-debuild]] === Step-by-step: debuild You can create a non-native Debian package using the *debuild* command (or its equivalents) in this source tree. The command output is very verbose and explains what it does as follows. ---- sys::[head -n3 ../debhello-0.0-pkg1/step500.slog] ... sys::[grep -A 1 -e '^ fakeroot debian/rules clean' ../debhello-0.0-pkg1/step500.slog] ... sys::[grep -A 10 -e '^ debian/rules build' ../debhello-0.0-pkg1/step500.slog] ... sys::[grep -A 1 -e '^ fakeroot debian/rules binary' ../debhello-0.0-pkg1/step500.slog] ... sys::[grep -e '^Now running lintian' ../debhello-0.0-pkg1/step500.slog] ... sys::[grep -A 3 -e 'binary-without-manpage' ../debhello-0.0-pkg1/step500.slog] ... sys::[tail -n1 ../debhello-0.0-pkg1/step500.slog] ---- You can verify *CFLAGS* is updated properly with *-Wall* and *-pedantic* by the *DEB_CFLAGS_MAINT_APPEND* variable. The manpage should be added to the package as reported by the *lintian* package as shown in the later examples (see <>). Let's move on for now. Let's inspect the result. .The generated files of *debhello* version *0.0* by the *debuild* command: ---- include::../debhello-0.0-pkg1/step600.slog[] ---- You see all the generated files. * The *debhello_0.0.orig.tar.gz* is a symlink to the upstream tarball. * The *debhello_0.0-1.debian.tar.xz* contains the maintainer generated contents. * The *debhello_0.0-1.dsc* is the meta data file for the Debian source package. * The *debhello_0.0-1_amd64.deb* is the Debian binary package. * The *debhello_0.0-1_amd64.changes* is the meta data file for the Debian binary package. The *debhello_0.0-1.debian.tar.xz* contains the Debian changes to the upstream source as follows. .The compressed archive contents of *debhello_0.0-1.debian.tar.xz*: ---- include::../debhello-0.0-pkg1/step701.slog[] ---- The *debhello_0.0-1_amd64.deb* contains the files to be installed as follows. .The binary package contents of *debhello_0.0-1_amd64.deb*: ---- include::../debhello-0.0-pkg1/step700.slog[] ---- The generated dependency of *debhello_0.0-1_amd64.deb* is as follows. .The generated dependency of *debhello_0.0-1_amd64.deb*: ---- include::../debhello-0.0-pkg1/step702.slog[] ---- CAUTION: Much more details need to be addressed before uploading the package to the Debian archive. NOTE: If manual adjustments of auto-generated configuration files are skipped, the generated binary package may lack meaningful package description and some of the policy requirements may be missed. This sloppy package functions well under the *dpkg* command, and may be good enough for your local deployment. [[alt-patch]] === Alternative: patch files The above step-by-step example did not touch the upstream source to make the proper Debian package. An alternative approach is to change the upstream source by creating the patch *000-prefix-usr.patch* which modifies the upstream *Makefile* to set the $(prefix) value to */usr* in advance. .create *000-prefix-usr.patch* by the *diff* command: ---- include::../debhello-0.0-pkg2/step120.slog[] ---- Please note that the upstream source tree is restored to the original state. The packaging is practically the same as the above step-by-step example except for 2 points of the maintainer modification. The maintainer modification to the *debian/rules* file doesn't have the *override_dh_auto_install* target as follows: .*debian/rules* (alternative maintainer version): ---- include::../debhello-0.0-pkg2/step301.slog[] ---- The maintainer modification to the upstream source during the package building process is enabled by adding the corresponding patch file in the *debian/patches/* directory and listing its file names in the *debian/patches/series* file. .Set of files to modify the upstream *Makefile*: ---- include::../debhello-0.0-pkg2/step304.slog[] ---- The rest of the packaging is the same as the step-by-step example. As indicated in <>, there are several tools other than the *diff* command which generate patch files used for this alternative approach of packaging. Most frequently used ones are the *dquilt* or *gbp-pq* commands. There is no need to create the patch file in advance for these commands since it can be generated as you make the maintainer modification. Here is an example for the *dquilt* command. .patch file generation using the *dquilt* command: ---- include::../debhello-0.0-pkg3/step304.slog[] ---- TIP: If the package is maintained in the git repository using the *gbp* command, please use the *gbp-pq* command to manage patches. This alternative approach to the Debian packaging using a series of patch files may be less robust for the future upstream changes but more flexible to cope with the difficult upstream source. (See <>.) debmake-doc-1.1/asciidoc/31-build.txt0000664000175000017500000000573512613712701016413 0ustar osamuosamu[[build]] === Upstream build systems Upstream build systems are designed to go through several steps to install generated binary files to the system from the source distribution. [[autotools]] ==== Autotools Autotools (*autoconf* + *automake*) has 4 steps. 1. setup the build system (``*vim configure.ac Makefile.am*'' and ``*autoreconf -ivf*'') 2. configure the build system (``*./configure*'') 3. build the source tree (``*make*'') 4. install the binary files (``*make install*'') The upstream usually performs the step 1 and builds the upstream tarball for distribution using the ``*make dist*'' command. (The generated tarball contains not only the pristine upstream VCS contents but also other generated files.) The package maintainer needs to take care steps 2 to 4 at least. This is realized by the ``*dh $@ --with autotools-dev*'' command used in the *debian/rules* file. The package maintainer may wish to take care all steps 1 to 4. This is realized by the ``*dh $@ --with autoreconf*'' command used in the *debian/rules* file. This rebuilds all auto-generated files to the latest version ones and provides better supports for the porting to the newer architectures. If you wish to learn more on the Autotools, please see: * http://www.gnu.org/software/automake/manual/index.html[GNU Automake documentation] * http://www.gnu.org/software/autoconf/manual/index.html[GNU Autoconf documentation] * https://www.lrde.epita.fr/~adl/autotools.html[Autotools Tutorial] * http://www.dwheeler.com/autotools/introduction-autotools.pdf[Introduction to the autotools (autoconf, automake, and libtool)] * https://autotools.io/index.html[Autotools Mythbuster] [[cmake]] ==== CMake CMake has 4 steps. 1. setup the build system (``*vim CMakeLists.txt config.h.in*'') 2. configure the build system (``*cmake*'') 3. build the source tree (``*make*'') 4. install the binary files (``*make install*'') The upstream tarball contains no auto-generated files and is generated by the *tar* command after the step 1. The package maintainer needs to take care steps 2 to 4. If you wish to learn more on the CMake, please see: * http://www.cmake.org/[CMake] * http://www.cmake.org/cmake-tutorial/[CMake tutorial] [[distutils]] ==== Python distutils Python distutils has 3 steps. 1. setup and configure the build system (``*vim setup.py*'') 2. build the source tree (``*python setup.py build*'') 3. install the binary files (``*python setup.py install*'') The upstream usually performs the step 1 and builds the upstream tarball for distribution using the ``*python setup.py sdist*'' command. The package maintainer needs to take care the step 2. This is realized simply by the ``*dh $@*'' command used in the *debian/rules* file, after *jessie*. The situation of other build systems, such as CMake, are very similar to this Python one. If you wish to learn more on the Python3 and *distutils*, please see: * https://docs.python.org/3/[Python3] * https://docs.python.org/3.4/library/distutils.html#module-distutils[distutils] debmake-doc-1.1/asciidoc/41-dtoption.txt0000664000175000017500000000333112613712701017143 0ustar osamuosamu[[dt-option]] === Upstream snapshot (-d, -t) The upstream snapshot from the upstream source tree in VCS can be made with the *-d* option if the upstream supports the ``*make dist*'' equivalence. ---- $ cd /path/to/upstream-vcs $ debmake -d -i debuild ---- Alternatively, the same can be made with the *-t* option if the upstream tarball can be made with the *tar* command. ---- $ cd /path/to/upstream-vcs $ debmake -p package -t -i debuild ---- Unless you provide the upstream version with the *-u* option or with the *debian/changelog* file, a snapshot upstream version is generated in the *0\~%y%m%d%H%M* format, e.g., '0~1403012359', from the UTC date and time. If the upstream VCS is hosted in the 'package/' directory instead of the 'upstream-vcs/' directory, the ``*-p* 'package''' can be skipped. If the upstream source tree in the VCS contains the **debian/*** files, the *debmake* command with either the *-d* option or the *-t* option combined with the *-i* option automates making of the non-native Debian packages from the VCS snapshot while using these **debian/*** files. ---- $ cp -r /path/to/package-0~1403012359/debian/. /path/to/upstream-vcs/debian $ dch ... update debian/changelog $ git add -A .; git commit -m "vcs with debian/*" $ debmake -t -p package -i debuild ---- This Debian *non-native* binary package building scheme using the ``*debmake -t -i debuild*'' command may be considered as the *quasi-native* Debian package scheme since the packaging situation resembles the Debian *native* binary package building case using the *debuild* command without the upstream tarball. Use of the *non-native* Debian package helps to ease communication with the downstream distros such as Ubuntu for bug fixes etc. debmake-doc-1.1/asciidoc/36-harden.txt0000664000175000017500000000107212613712701016550 0ustar osamuosamu[[harden]] === Compiler hardening The compiler hardening support spreading for Debian *jessie* (8.0, TBA) demands us to pay extra attention for the packaging. You should read the following references in detail. * Debian wiki https://wiki.debian.org/Hardening[Hardening] * Debian wiki https://wiki.debian.org/HardeningWalkthrough[Hardening Walkthrough] The *debmake* command adds template comments to the *debian/rules* file as needed for *DEB_BUILD_MAINT_OPTIONS*, *DEB_CFLAGS_MAINT_APPEND*, and *DEB_LDFLAGS_MAINT_APPEND* (see <> and *dpkg-buildflags*(1)). debmake-doc-1.1/asciidoc/76-setup-py-gui.txt0000664000175000017500000000360212613712701017664 0ustar osamuosamu[[setup-py-gui]] === setup.py (Python3, GUI) Here is an example of creating a simple Debian package from a Python3 GUI program using the *setup.py* as its build system. This upstream is based in <> with enhanced GUI, desktop icon, and manpage supports. Let's assume this upstream tarball to be *debhello-1.3.tar.gz*. Let's get the source and make the Debian package. .Download *debhello-1.3.tar.gz* ---- include::../debhello-1.3-pkg1/step000.slog[] ---- Here are the upstream sources. .*hello* (v=1.3) ---- include::../debhello-1.3-pkg1/step101.slog[] ---- .*hello_py/\_\_init__.py* (v=1.3) ---- include::../debhello-1.3-pkg1/step102.slog[] ---- .*setup.py* (v=1.3) ---- include::../debhello-1.3-pkg1/step103.slog[] ---- .*MANIFEST.in* (v=1.3) ---- include::../debhello-1.3-pkg1/step104.slog[] ---- Let's package this with the *debmake* command. Here, the *-b\':py3'* option is used to specify the generated binary package contain Python3 script and module files. ---- sys::[head -n12 ../debhello-1.3-pkg1/step200.slog] ... ---- The result is practically the same as <>. Let's make this Debian package better as the maintainer. .*debian/rules* (maintainer version, v=1.3): ---- include::../debhello-1.3-pkg1/step301.slog[] ---- .*debian/control* (maintainer version, v=1.3): ---- include::../debhello-1.3-pkg1/step302.slog[] ---- Please note manually added *python3-gi* and *gir1.2-gtk-3.0*. Since this upstream source has manpage and other files with matching entries in the *setup.py* file, there are no needs to create them and add *debian/install* and *debian/manpages* files which was required in <>. The rest of the packaging activities are practically the same as the one in <>. Here is the generated dependency list of binary packages. .The generated dependency list of binary packages (v=1.3): ---- include::../debhello-1.3-pkg1/step702.slog[] ---- debmake-doc-1.1/asciidoc/12-setups.txt0000664000175000017500000002150112613712701016623 0ustar osamuosamuThe *build-essential* package must be installed in the build environment. The *devscripts* package should be installed on the maintainer environment. Although this is not necessary the absolute requirement, it is a good idea to install and setup all of the popular set of packages mentioned in this chapter on the maintainer environment. This enables us to share the common baseline working environment. Please install the tools mentioned in the https://www.debian.org/doc/manuals/developers-reference/tools.html[Overview of Debian Maintainer Tools] of the ``Debian Developer's Reference'', as needed, too. TIP: For the cut-and-paste from the code listing part, use this document in the HTML format. footnote:[The cut-and-paste from the PDF format does not function well for U+0022 QUOTATION MARK (ASCII double quote), U+0027 APOSTROPHE (ASCII single quote), and U+0060 GRAVE ACCENT (ASCII back tick) since they are converted by the LaTeX to U+201D RIGHT DOUBLE QUOTATION MARK, U+2019 RIGHT SINGLE QUOTATION MARK, and U+2018 LEFT SINGLE QUOTATION MARK.] CAUTION: Tool setups presented here are only meant as an example and may not be up-to-date with the latest packages on the system. Debian development is a moving target. Please make sure to read the pertinent documentation and update the configuration as needed. [[email-setup]] === Email address Various Debian maintenance tools recognize your email address and name to use by the shell environment variables *$DEBEMAIL* and *$DEBFULLNAME*. Let's setup these packages by adding the following lines to *\~/.bashrc* footnote:[This assumes you are using Bash as your login shell. If you use some other login shell such as Z shell, use their corresponding configuration files instead of *~/.bashrc*.]. .Add to the *~/.bashrc* file ---- DEBEMAIL="your.email.address@example.org" DEBFULLNAME="Firstname Lastname" export DEBEMAIL DEBFULLNAME ---- [[mc-setup]] === mc The *mc* command offers very easy ways to manage files. It can open the binary *deb* file to check its content by pressing the Enter key over the binary *deb* file. It uses the *dpkg-deb* command as its back-end. Let's setup it to support easy *chdir* as follows. .Add to the *~/.bashrc* file ---- # mc related export HISTCONTROL=ignoreboth . /usr/lib/mc/mc.sh ---- [[git-setup]] === git Nowadays, the *git* command is the essential tool to manage the source tree with history. The global user configuration for the *git* command such as your name and email address can be set in *~/.gitconfig* as follows. ---- $ git config --global user.name "Name Surname" $ git config --global user.email yourname@example.com ---- If you are too accustomed to the CVS or Subversion commands, you may wish to set several command aliases as follows. ---- $ git config --global alias.ci "commit -a" $ git config --global alias.co checkout ---- You can check your global configuration as follows. ---- $ git config --global --list ---- TIP: It is essential to use the *gitk* command to work effectively with the history of the git repository. [[quilt-setup]] === quilt The *quilt* command offers a basic method for recording modifications. For the Debian packaging, it should be customized to record modifications in the *debian/patches/* directory instead of its default *patches/* directory. In order to avoid changing the behavior of the *quilt* command itself, let's create an alias *dquilt* for the Debian packaging by adding the following lines to the *~/.bashrc* file. The second line provides the same shell completion feature of the *quilt* command to the *dquilt* command. .Add to the *~/.bashrc* file ---- alias dquilt="quilt --quiltrc=${HOME}/.quiltrc-dpkg" complete -F _quilt_completion $_quilt_complete_opt dquilt ---- Then let's create *~/.quiltrc-dpkg* as follows. ---- d=. while [ ! -d $d/debian -a `readlink -e $d` != / ]; do d=$d/..; done if [ -d $d/debian ] && [ -z $QUILT_PATCHES ]; then # if in Debian packaging tree with unset $QUILT_PATCHES QUILT_PATCHES="debian/patches" QUILT_PATCH_OPTS="--reject-format=unified" QUILT_DIFF_ARGS="-p ab --no-timestamps --no-index --color=auto" QUILT_REFRESH_ARGS="-p ab --no-timestamps --no-index" QUILT_COLORS="diff_hdr=1;32:diff_add=1;34:" + \ "diff_rem=1;31:diff_hunk=1;33:diff_ctx=35:diff_cctx=33" if ! [ -d $d/debian/patches ]; then mkdir $d/debian/patches; fi fi ---- See *quilt*(1) and file:///usr/share/doc/quilt/quilt.html[How To Survive With Many Patches or Introduction to Quilt] on how to use the *quilt* command. See <> for example usages. [[devscripts-setup]] === devscripts The *debsign* command, included in the *devscripts* package, is used to sign the Debian package with your private GPG key. The *debuild* command, included in the *devscripts* package, builds the binary package and check them with the *lintian* command. It is useful to have verbose outputs from the *lintian* command. You can setup these by the *~/.devscripts* as follows. ---- DEBUILD_DPKG_BUILDPACKAGE_OPTS="-i -us -uc" DEBUILD_LINTIAN_OPTS="-i -I --show-overrides" DEBSIGN_KEYID="Your_GPG_keyID" ---- Currently, RSA key with 4096 bits is good idea. See http://keyring.debian.org/creating-key.html[Creating a new GPG key]. [[pbuilder-setup]] === pbuilder The *pbuilder* package provides the clean room (*chroot*) build environment. footnote:[The *sbuild* package provides an alternative chroot platform.] Let's customize it with several helper packages. * The *cowbuilder* package to boost the chroot creation speed. * The *lintian* package to find bugs in the package. * The *bash*, *mc*, and *vim* packages in case build fails. * The *ccache* package to boost the *gcc* speed. (optional) * The *libeatmydata1* package to boost the *dpkg* speed. (optional) * The parallel *make* to boost the build speed. (optional) WARNING: The optional customization may cause negative effects. In case of doubts, disable them. Let's create *~/.pbuilderrc* as follows (all optional features are disabled). ---- AUTO_DEBSIGN="${AUTO_DEBSIGN:-no}" PDEBUILD_PBUILDER=cowbuilder HOOKDIR="/var/cache/pbuilder/hooks" MIRRORSITE="http://httpredir.debian.org/debian/" #APTCACHE=/var/cache/pbuilder/aptcache APTCACHE=/var/cache/apt/archives #BUILDRESULT=/var/cache/pbuilder/result/ BUILDRESULT=../ EXTRAPACKAGES="ccache lintian libeatmydata1" # enable to use libeatmydata1 for pbuilder #export LD_PRELOAD=${LD_PRELOAD+$LD_PRELOAD:}libeatmydata.so # enable ccache for pbuilder #export PATH="/usr/lib/ccache${PATH+:$PATH}" #export CCACHE_DIR="/var/cache/pbuilder/ccache" #BINDMOUNTS="${CCACHE_DIR}" # parallel make #DEBBUILDOPTS=-j8 ----- NOTE: A symlink from */root/.pbuilderrc* to */home//.pbuilderrc* may help for the consistent experience. NOTE: Due to https://bugs.debian.org/606542[Bug #606542], you may need to manually install packages listed in *EXTRAPACKAGES* into the chroot. See <>. NOTE: Install *libeatmydata1* (>=82-2) both inside and outside of the chroot or disable to use *libeatmydata1*. This may cause the race condition with some build systems. NOTE: The parallel *make* may fail for some existing packages and may make the build log difficult to read. Let's create a hook scripts as follows. */var/cache/pbuilder/hooks/A10ccache* ---- #!/bin/sh set -e # increase the ccache caching size ccache -M 4G # output the current statistics ccache -s ---- */var/cache/pbuilder/hooks/B90lintian* ---- #!/bin/sh set -e apt-get -y --force-yes install lintian echo "+++ lintian output +++" su -c "lintian -i -I --show-overrides /tmp/buildd/*.changes; :" -l pbuilder echo "+++ end of lintian output +++" ---- */var/cache/pbuilder/hooks/C10shell* ---- #!/bin/sh set -e apt-get -y --force-yes install vim bash mc # invoke shell if build fails cd /tmp/buildd/*/debian/.. /bin/bash < /dev/tty > /dev/tty 2> /dev/tty ---- NOTE: All these scripts need to be set world executable: ``*-rwxr-xr-x 1 root root*''. NOTE: The *ccache* cache directory */var/cache/pbuilder/ccache* needs to be set world writable: ``*-rwxrwxrwx 1 root root*'' for the *pbuilder* command. You should be aware of associated security concerns. [[gbp-setup]] === git-buildpackage You may wish to set several global configurations in *~/.gbp.conf* ---- # Configuration file for "gbp " [DEFAULT] # the default build command: builder = git-pbuilder -i -I -us -uc # use pristine-tar: pristine-tar = True # Use color when on a terminal, alternatives: on/true, off/false or auto color = auto ---- TIP: The *gbp* command is the alias of the *git-buildpackage* command. [[proxy]] === HTTP proxy You should set up a local HTTP caching proxy to save the bandwidth for the Debian package repository access. There are several choices: * Simple HTTP caching proxy using the *squid* package. * Specialized HTTP caching proxy using the *apt-cacher-ng* package. [[repropro]] === Private Debian repository You can set up a private Debian package repository with the *reprepro* package. debmake-doc-1.1/asciidoc/78-configure.txt0000664000175000017500000000407312613712701017302 0ustar osamuosamu[[configure-single]] === Makefile.in + configure (single-binary) Here is an example of creating a simple Debian package from a simple C source using the *Makefile.in* and *configure* as its build system. This is an enhanced upstream source example for <>. This also links to an external library *libm* and this source is configurable using arguments to the *configure* script which generates the *Makefile* and *src/config.h* files. Let's assume this upstream tarball to be *debhello-1.5.tar.gz*. This type of source is meant to be installed as a non-system file, for example, as: ---- $ tar -xzmf debhello-1.5.tar.gz $ cd debhello-1.5 $ ./configure --with-math $ make $ make install ---- Let's get the source and make the Debian package. .Download *debhello-1.5.tar.gz* ---- include::../debhello-1.5-pkg1/step000.slog[] ---- Here, the contents of this source are as follows. .*src/hello.c* (v=1.5): ---- include::../debhello-1.5-pkg1/step101.slog[] ---- .*Makefile.in* (v=1.5): ---- include::../debhello-1.5-pkg1/step102.slog[] ---- .*configure* (v=1.5): ---- include::../debhello-1.5-pkg1/step103.slog[] ---- Please note that the *configure* command replaces strings with *@...@* in the *Makefile.in* to produce *Makefile* and creates *src/config.h*. Let's package this with the *debmake* command. ---- sys::[head -n12 ../debhello-1.5-pkg1/step200.slog] ... ---- The result is similar to <> but not exactly the same. Let's inspect notable template files generated. // .The source tree after the basic *debmake* execution. (v=1.5) // ---- // include::../debhello-1.5-pkg1/step201.slog[] // ---- .*debian/rules* (template file, v=1.5): ---- include::../debhello-1.5-pkg1/step202.slog[] ---- Let's make this Debian package better as the maintainer. .*debian/rules* (maintainer version, v=1.5): ---- include::../debhello-1.5-pkg1/step301.slog[] ---- There are several other template files under the *debian/* directory. These also needs to be updated. The rest of the packaging activities are practically the same as the one in <>. debmake-doc-1.1/asciidoc/57-cdbs.txt0000664000175000017500000000277612613712701016241 0ustar osamuosamu[[cdbs]] === CDBS The Common Debian Build System (*CDBS*) is a wrapper system over the *debhelper* package. The *CDBS* is based on the Makefile inclusion mechanism and configured by the **DEB_*** configuration variables set in the *debian/rules* file. Before the introduction of the *dh* command to the *debhelper* package at the version 7, the *CDBS* was the only approach to create a simple and clean *debian/rules* file. For many simple packages, the *dh* command alone allows us to make a simple and clean *debian/rules* file, now. It is desirable to keep the build system simple and clean by not using the superfluous *CDBS*. NOTE: ``The *CDBS* magically does the job for me with less typing'' nor ``I don't understand the new *dh* syntax'' can't be the excuse to keep using the *CDBS* system. For some complicated packages such as GNOME related ones, the *CDBS* is leveraged to automate their uniform packaging by the current maintainers with reasons. If this is the case, please do not bother converting from the *CDBS* to the *dh* syntax. NOTE: If you are working with a https://wiki.debian.org/Teams[team] of maintainers, please follow the established practice of the team. When converting packages from the *CDBS* to the *dh* syntax, please use the following as your reference: * http://cdbs-doc.duckcorp.org/en/cdbs-doc.xhtml[CDBS Documentation] * http://meetings-archive.debian.net/pub/debian-meetings/2009/fosdem/slides/The_Common_Debian_Build_System_CDBS/[The Common Debian Build System (CDBS), FOSDEM 2009] debmake-doc-1.1/asciidoc/27-debconfig.txt0000664000175000017500000002547512613712701017244 0ustar osamuosamu[[debianconf]] === Other debian/* Optional configuration files may be added under the *debian/* directory. Most of them are to control *dh_** commands offered by the *debhelper* package but there are some for *lintian* and *gbp* commands. Here is the alphabetical list of notable optional configuration files. 'binarypackage'*.bug-control* ^*-x3*^:: installed as *usr/share/bug/*'binarypackage'*/control* in 'binarypackage'. See <>. 'binarypackage'*.bug-presubj* ^*-x3*^:: installed as *usr/share/bug/*'binarypackage'*/presubj* in 'binarypackage'. See <>. 'binarypackage'*.bug-script* ^*-x3*^:: installed as *usr/share/bug/*'binarypackage' or *usr/share/bug/*'binarypackage'*/script* in 'binarypackage'. See <>. *clean* ^*-x2*^:: List files which should be removed but are not cleaned by the *dh_auto_clean* command. + See *dh_auto_clean*(1) and *dh_clean*(1). *compat* ^*-x1*^:: Set the *debhelper* compatibility level (currently, ``*9*''). + See ``COMPATIBILITY LEVELS'' in *debhelper*(8). 'binarypackage'*.conffile*:: No need for this file under ``compat >= 3'' since all files in the *etc/* directory are conffiles. + See *dh_installdeb*(1). + If the program you're packaging requires every user to modify the configuration files in the */etc* directory, there are two popular ways to arrange for them to not be conffiles, keeping the *dpkg* command happy and quiet. * Create a symlink under the */etc* directory pointing to a file under the */var* directory generated by the maintainer scripts. * Create a file generated by the maintainer scripts under the */etc* directory. 'binarypackage'*.config*:: This is the *debconf* *config* script used for asking any questions necessary to configure the package. See <>. 'binarypackage'*.cron.hourly* ^*-x3*^:: Installed into the *etc/cron/hourly/*'binarypackage' file in 'binarypackage'. + See *dh_installcron*(1) and *cron*(8). 'binarypackage'*.cron.daily* ^*-x3*^:: Installed into the *etc/cron/daily/*'binarypackage' file in 'binarypackage'. + See *dh_installcron*(1) and *cron*(8). 'binarypackage'*.cron.weekly* ^*-x3*^:: Installed into the *etc/cron/weekly/*'binarypackage' file in 'binarypackage'. + See *dh_installcron*(1) and *cron*(8). 'binarypackage'*.cron.monthly* ^*-x3*^:: Installed into the *etc/cron/monthly/*'binarypackage' file in 'binarypackage'. + See *dh_installcro**(1) and *cron*(8). 'binarypackage'*.cron.d* ^*-x3*^:: Installed into the *etc/cron.d/*'binarypackage' file in 'binarypackage'. + See *dh_installcron*(1), *cron*(8), and *crontab*(5). 'binarypackage'*.default* ^*-x3*^:: If this exists, it is installed into *etc/default/*'binarypackage' in 'binarypackage'. + See *dh_installinit*(1). 'binarypackage'*.dirs* ^*-x3*^:: List directories to be created in 'binarypackage'. + See *dh_installdirs*(1). + Usually, this is not needed since all *dh_install** commands create required directories automatically. Use this only when you run into trouble. 'binarypackage'*.doc-base* ^*-x2*^:: Installed as the *doc-base* control file in 'binarypackage'. + See *dh_installdocs*(1) and file:///usr/share/doc/doc-base/doc-base.html/index.html[Debian doc-base Manual] provided by the *doc-base* package. 'binarypackage'*.docs* ^*-x2*^:: List documentation files to be installed in 'binarypackage'. + See *dh_installdocs*(1). 'binarypackage'*.emacsen-compat* ^*-x3*^:: Installed into *usr/lib/emacsen-common/packages/compat/*'binarypackage' in 'binarypackage'. + See *dh_installemacsen*(1). 'binarypackage'*.emacsen-install* ^*-x3*^:: Installed into *usr/lib/emacsen-common/packages/install/*'binarypackage' in 'binarypackage'. + See *dh_installemacsen*(1). 'binarypackage'*.emacsen-remove* ^*-x3*^:: Installed into *usr/lib/emacsen-common/packages/remove/*'binarypackage' in 'binarypackage'. + See *dh_installemacsen*(1). 'binarypackage'*.emacsen-startup* ^*-x3*^:: Installed into *usr/lib/emacsen-common/packages/startup/*'binarypackage' in 'binarypackage'. + See *dh_installemacsen*(1). 'binarypackage'*.examples* ^*-x2*^:: List example files or directories to be installed into *usr/share/doc/*'binarypackage'*/examples/* in 'binarypackage'. + See *dh_installexamples*(1). *gbp.conf*:: If this exists, it functions as the configuration file for the *gbp* command. + See *gbp.conf*(5), *gbp*(1), and *git-buildpackage*(1). 'binarypackage'*.info* ^*-x2*^:: List info files to be installed in 'binarypackage'. + See *dh_installinfo*(1). 'binarypackage'*.init* ^*-x3*^:: Installed into *etc/init.d/*'binarypackage' in 'binarypackage'. + See *dh_installinit*(1). 'binarypackage'*.install* ^*-x2*^:: List files which should be installed but are not installed by the *dh_auto_install* command. + See *dh_install*(1) and *dh_auto_install*(1). *license-examples/** ^*-x4*^:: These are copyright file examples generated by the *debmake* command. Use these as the reference for making *copyright* file. + Please make sure to erase these files. 'binarypackage'*.links* ^*-x2*^:: List pairs of source and destination files to be symlinked. Each pair should be put on its own line, with the source and destination separated by the whitespace. + See *dh_link*(1). 'binarypackage'*.lintian-overrides* ^*-x3*^:: Installed into *usr/share/lintian/overrides/*'binarypackage' in the package build directory. This file is used to suppress erroneous *lintian* diagnostics. + See *dh_lintian*(1) and *lintian*(1). *manpage.** ^*-x3*^:: These are manpage template files generated by the *debmake* command. Please rename these to appropriate file names and update their contents. + Debian Policy requires that each program, utility, and function should have an associated manual page included in the same package. Manual pages are written in *nroff*(1). + If you are new to making manpage, use *manpage.asciidoc* or *manpage.1* as the starting point. 'binarypackage'*.manpages* ^*-x2*^:: List man pages to be installed. + See *dh_installman*(1). 'binarypackage'*.menu* ^*-x2*^:: Debian menu file installed into *usr/share/menu/*'binarypackage' in 'binarypackage'. + See *menufile*(5) for its format. See *dh_installmenu*(1). *NEWS*:: Installed into *usr/share/doc/*'binarypackage'*/NEWS.Debian*. + See *dh_installchangelogs*(1). *patches/**:: Collection of *-p1* patch files which are applied to the upstream source before building the source. + See dpkg-source(8), <> and <>. + No patch files are generated by the *debmake* command. *patches/series* ^*-x1*^:: The application sequence of the *patches/** patch files. 'binarypackage'*.preinst* ^*-x2*^:: 'binarypackage'*.postinst* ^*-x2*^:: 'binarypackage'*.prerm* ^*-x2*^:: 'binarypackage'*.postrm* ^*-x2*^:: These maintainer scripts are installed into the *DEBIAN* directory. + Inside the scripts, the token *\#DEBHELPER#* is replaced with shell script snippets generated by other *debhelper* commands. + See *dh_installdeb*(1) and http://www.debian.org/doc/debian-policy/ch-maintainerscripts.html[Chapter 6 - Package maintainer scripts and installation procedure] of the ``Debian Policy Manual''. + See also *debconf-devel*(7) and http://www.debian.org/doc/debian-policy/ch-binary.html#s-maintscriptprompt[3.9.1 Prompting in maintainer scripts] of the ``Debian Policy Manual''. *README.Debian* ^*-x1*^:: Installed into the first binary package listed in the *debian/control* file as *usr/share/doc/*'binarypackage'*/README.Debian*. + See *dh_installdocs*(1). + This file provides the information specific to the Debian package. 'binarypackage'*.service* ^*-x3*^:: If this exists, it is installed into *lib/systemd/system/*'binarypackage'*.service* in 'binarypackage'. + See *dh_systemd_enable*(1), *dh_systemd_start*(1), and *dh_installinit*(1). *source/format* ^*-x1*^:: The Debian package format. * Use ``*3.0 (quilt)*'' to make this non-native package (recommended) * Use ``*3.0 (native)*'' to make this native package + See ``SOURCE PACKAGE FORMATS'' in *dpkg-source*(8). *source/lintian-overrides* or *source.lintian-overrides* ^*-x3*^:: These files are not installed, but will be scanned by the *lintian* command to provide overrides for the source package. + See *dh_lintian*(1) and *lintian*(1). *source/local-options* ^*-x1*^:: This is not included in the generated source package but committed to the VCS for its smooth operation. + See ``FILE FORMATS'' in *dpkg-source*(8). *source/options*:: See the *dpkg-source*(1) manpage under "FILE FORMATS" to learn about the package formats and the patch mechanisms. + See ``FILE FORMATS'' in *dpkg-source*(8). 'binarypackage'*.symbols* ^*-x2*^:: The symbols files, if present, are passed to the *dpkg-gensymbols* command to be processed and installed. + See *dh_makeshlibs*(1) and <>.. 'binarypackage'*.templates*:: This is the *debconf* *templates* file used for asking any questions necessary to configure the package. See <>. *tests/control*:: This is the RFC822-style test metadata file defined in http://dep.debian.net/deps/dep8/[DEP-8]. See *adt-run*(1) and <>. *TODO*:: Installed into the first binary package listed in the *debian/control* file as *usr/share/doc/*'binarypackage'*/TODO.Debian*. + See *dh_installdocs*(1). 'binarypackage'*.tmpfile* ^*-x3*^:: If this exists, it is installed into *usr/lib/tmpfiles.d/*'binarypackage'*.conf* in 'binarypackage'. + See *dh_systemd_enable*(1), *dh_systemd_start*(1), and *dh_installinit*(1). 'binarypackage'*.upstart* ^*-x3*^:: If this exists, it is installed into etc/init/package.conf in the package build directory. + See *dh_installinit*(1) and <>. *watch* ^*-x1*^:: The control file for the *uscan* command to download the latest upstream version + This control file may be configured to verify the authenticity of the tarball using its GPG signature (see <>). + See <> and *uscan*(1). // ======= // Here are a few reminders to the above list. * For the single binary package, 'binarypackage'*.* part of the filename in the list may be removed. * For the multi binary package, configuration file missing 'binarypackage'*.* part of the filename is applied to the first binary package listed in the *debian/control*. * When there are many binary packages, their configurations can be specified independently by prefixing their name to their configuration filenames such as 'package-1'*.install*, 'package-2'*.install*, etc. * Configuration template filenames with ^*-x1*^, ^*-x2*^, ^*-x3*^, or ^*-x4*^ in the above mean that they are generated by the *debmake* command with that *-x* option (see <>). * Some template configuration files may not be created by the *debmake* command. In such cases, you need to create them with an editor. * Unusual configuration template files generated by the *debmake* command with the extra *.ex* suffix needs to be activated by removing that suffix. * Unused configuration template files generated by the *debmake* command should be removed. * Copy configuration template files as needed to the filenames matching their pertinent binary package names. debmake-doc-1.1/asciidoc/25-changelog.txt0000664000175000017500000000272612613712701017243 0ustar osamuosamu[[changelog]] === debian/changelog The *debian/changelog* file records the Debian package history and defines the upstream package version and the Debian revision in its first line. The *debmake* command creates the initial template file with the upstream package version and the Debian revision. The distribution is set to *UNRELEASED* to prevent accidental upload to the Debian archive. The *debchange* command (alias *dch*) is used to edit this. TIP: The date string used in the *debian/changelog* file can be manually generated by ``*LC_ALL=C date -R*''. This is installed in the */usr/share/doc/*'binarypackage' directory as *changelog.Debian.gz* by the *dh_installchangelogs*. The upstream changelog is installed in the */usr/share/doc/*'binarypackage' directory as *changelog.gz*. The upstream changelog is automatically found by the *dh_installchangelogs* using the case insensitive match of its file name to *changelog*, *changes*, *changelog.txt*, *changes.txt*, *history*, *history.txt*, or *changelog.md* and searched in the *./* *doc/*, or *docs/* directories. After finishing your packaging and verifying its quality, please execute the ``*dch -r*'' and save the finalized *debian/changelog* file with the distribution normally set to *unstable*. footnote:[If you are using the *vim* editor, make sure to save this with the ``*:wq*'' command.] If you are packaging for the backports, security updates, LTS, etc., please use the appropriate distribution names, instead. debmake-doc-1.1/asciidoc/manpage.txt0000664000175000017500000003207412613712701016477 0ustar osamuosamu= DEBMAKE(1) :man source: DEBMAKE :man manual: Debmake Manual == NAME debmake - program to make the Debian source package == SYNOPSIS *debmake* [*-h*] [*-c* | *-k*] [*-n* | *-a* 'package-version'*.orig.tar.gz* | *-d* | *-t* ] [*-p* 'package'] [*-u* 'version'] [*-r* 'revision'] [*-z* 'extension'] [*-b* "'binarypackage'[:__type__]__, ...__]" [*-e* 'foo@example.org'] [*-f* "'firstname lastname'"] [*-i* "'buildtool'" | *-j*] [*-l* 'license_file'] [*-m*] [*-o* 'file'] [*-q*] [*-s*] [*-v*] [*-w* "'addon, ...'"] [*-x* [01234]] [*-y*] [*-P*] [*-T*] == DESCRIPTION *debmake* helps to build the Debian package from the upstream source. Normally, this is done as follows: * The upstream tarball is downloaded as the 'package-version'**.tar.gz** file. * It is untared to create many files under the 'package-version/' directory. * debmake is invoked in the 'package-version/' directory possibly without any arguments. * Files in the 'package-version'**/debian/** directory are manually adjusted. * *dpkg-buildpackage* (usually from its wrapper *debuild* or *pdebuild*) is invoked in the 'package-version/' directory to make debian packages. Make sure to protect the arguments of the *-b*, *-f*, *-l*, and *-w* options from the shell interference by quoting them properly. === optional arguments: *-h*, *--help*:: show this help message and exit. *-c*, *--copyright*:: scan source for copyright+license text and exit. + * *-c*: simple output style * *-cc*: normal output style (similar to the *debian/copyright* file) * *-ccc*: debug output style *-k*, *--kludge*:: compare the *debian/copyright* file with the source and exit. + The *debian/copyright* file must be organized to list the generic file patterns before the specific exceptions. + * *-k*: basic output style * *-kk*: verbose output style *-n*, *--native*:: make a native Debian source package without *.orig.tar.gz*. This makes the ``*3.0 (native)*'' format package. + If you are thinking to package a Debian specific source tree with *debian/** in it into a native Debian package, please think otherwise. You can use ``*debmake -d -i debuild*'' or ``*debmake -t -i debuild*'' to make the ``*3.0 (quilt)*'' format non-native Debian package. The only difference is that the *debian/changelog* file must use the non-native version scheme: 'version-revision'. The non-native package is more friendly to the downstream distributions. *-a* 'package-version'**.tar.gz**, *--archive* 'package-version'**.tar.gz**:: use the upstream source tarball directly. (*-p*, *-u*, *-z*: overridden) + The upstream tarball may be specified as 'package_version'**.orig.tar.gz** and *tar.gz* for all cases may be *tar.bz2*, or *tar.xz*. + If the specified upstream tarball name contains uppercase letters, the Debian package name is generated by converting them to lowercase letters. + If the specified argument is the URL (http://, https://, or ftp://) to the upstream tarball, the upstream tarball is downloaded from the URL using *wget* or *curl*. *-d*, *--dist*:: run ``make dist'' equivalent first to generate upstream tarball and use it. + ``*debmake -d*'' is designed to run in the 'package/' directory hosting the upstream VCS with the build system supporting ``*make dist*'' equivalents. (automake/autoconf, Python distutils, ...) *-t*, *--tar*:: run ``*tar*'' to generate upstream tarball and use it + ``*debmake -t*'' is designed to run in the 'package/' directory hosting the upstream VCS. Unless you provide the upstream version with the *-u* option or with the *debian/changelog* file, a snapshot upstream version is generated in the *0\~%y%m%d%H%M* format, e.g., '0~1403012359', from the UTC date and time. The generated tarball excludes the *debian/* directory found in the upstream VCS. (It also excludes typical VCS directories: **.git/ .hg/ .svn/ .CVS/**) *-p* 'package', *--package* 'package':: set the Debian package name. *-u* 'version', *--upstreamversion* 'version':: set the upstream package version. *-r* 'revision', *--revision* 'revision':: set the Debian package revision. *-z* 'extension', *--targz* 'extension':: set the tarball type, 'extension'=(*tar.gz*|*tar.bz2*|*tar.xz*) (alias: *z*, *b*, *x*) *-b* "'binarypackage[:type],...'", *--binaryspec* "'binarypackage[:type],...'":: set binary package specs by the comma separated list of 'binarypackage:type' pairs, e.g., in full form ``*foo:bin,foo-doc:doc,libfoo1:lib,libfoo1-dbg:dbg,libfoo-dev:dev*'' or in short form ``*,-doc,libfoo1,libfoo1-dbg, libfoo-dev*''. + Here, 'binarypackage' is the binary package name; and optional 'type' is chosen from the following 'type' values: + -- ** *bin*: C/C++ compiled ELF binary code package (any, foreign) (default, alias: *""*, i.e., 'null-string') ** *data*: Data (fonts, graphics, ...) package (all, foreign) (alias: *da*) ** *dbg*: Debug symbol package (any, same) (alias: *db*) ** *dev*: Library development package (any, same) (alias: *de*) ** *doc*: Documentation package (all, foreign) (alias: *do*) ** *lib*: Library package (any, same) (alias: *l*) ** *perl*: Perl script package (all, foreign) (alias: *pl*) ** *python*: Python script package (all, foreign) (alias: *py*) ** *python3*: Python3 script package (all, foreign) (alias: *py3*) ** *ruby*: Ruby script package (all, foreign) (alias: *rb*) ** *script*: Shell script package (all, foreign) (alias: *sh*) -- + The pair values in the parentheses, such as (any, foreign), are the *Architecture* and *Multi-Arch* stanza values set in the *debian/control* file. + In many cases, the *debmake* command makes good guesses for 'type' from 'binarypackage'. If 'type' is not obvious, 'type' is set to *bin*. For example, *libfoo* sets 'type' to *lib*, and *font-bar* sets 'type' to *data*, ... + If the source tree contents do not match settings for 'type', *debmake* warns you. *-e* 'foo@example.org', *--email* 'foo@example.org':: set e-mail address. + The default is taken from the value of the environment variable *$DEBEMAIL*. *-f* "'firstname lastname'", *--fullname* "'firstname lastname'":: set the fullname. + The default is taken from the value of the environment variable *$DEBFULLNAME*. *-i* "'buildtool'", *--invoke* "'buildtool'":: invoke "'buildtool'" at the end of execution. 'buildtool' may be ``*dpkg-buildpackage*'', ``*debuild*'', ``*pdebuild*'', ``*pdebuild --pbuilder cowbuilder*'', etc.. + The default is not to execute any program. *-j*, *--judge*:: run *dpkg-depcheck* to judge build dependencies and identify file paths. Log files are in the parent directory. * 'package'**.build-dep.log**: Log file for *dpkg-depcheck*. * 'package'**.install.log**: Log file recording files in the *debian/tmp* directory. // *-l* "'license_file,...'", *--license* "'license_file,...'":: add formatted license text to the end of the *debian/copyright* file holding license scan results + The default is add *COPYING* and *LICENSE* and 'license_file' needs to list only the additional file names all separated by ``*,*''. *-m*, *--monoarch*:: force packages to be non-multiarch. *-o* 'file', *--option* 'file':: read optional parameters from the 'file'. (This is not for everyday use.) + The 'file' is sourced as the Python3 code at the end of *para.py*. For example, the package description can be specified by the following file. + ---- para['desc'] = 'program short description' para['desc_long'] = '''\ program long description which you wish to include. . Empty line is space + . You keep going on ... ''' ---- // *-q*, *--quitearly*:: quit early before creating files in the *debian/* directory. *-s*, *--spec*:: use upstream spec (setup.py for Python, etc.) for the package description. *-v*, *--version*:: show version information. *-w* "'addon,...'", *--with* "'addon,...'":: add extra arguments to the *--with* option of the *dh*(1) command as 'addon' in *debian/rules*. + The 'addon' values are listed all separated by ``*,*'', e.g., ``*-w "python2,autoreconf"''*. + For Autotools based packages, setting *autoreconf* as 'addon' forces to run ``*autoreconf -i -v -f*'' for every package building. Otherwise, *autotools-dev* as 'addon' is used as default. + For Autotools based packages, if they install Python programs, *python2* as addon is needed for packages with ``*compat < 9*'' since this is non-obvious. But for *setup.py* based packages, *python2* as 'addon' is not needed since this is obvious and it is automatically set for the *dh*(1) command by the *debmake* command when it is required. *-x* 'n', *--extra* 'n':: generate extra configuration files as templates. + The number 'n' changes which configuration templates are generated. * *-x0*: bare minimum configuration files. (default if these files exist already) * *-x1*: ,, + desirable configuration files. (default for new packages) * *-x2*: ,, + interesting configuration files. (recommended for experts, multi binary aware) * *-x3*: ,, + unusual configuration template files with the extra *.ex* suffix to ease their removal. (recommended for new users) To use these as configuration files, rename their file names into ones without the *.ex* suffix. * *-x4*: ,, + copyright file examples. // Existing configuration files are never overwritten. If you wish to update some of the existing configuration files, please rename them before running the *debmake* command and manually merge the generated configuration files with the old renamed ones. *-y*, *--yes*:: ``force yes'' for all prompts. (without option: ``ask [Y/n]''; doubled option: ``force no'') *-P*, *--pedantic*:: pedantically check auto-generated files. *-T*, *--tutorial*:: output tutorial comment lines in template files. == EXAMPLES For a well behaving source, you can build a good-for-local-use installable single Debian binary package easily with one command. Test install of such a package generated in this way offers a good alternative to traditional ``*make install*'' to the */usr/local* directory since the Debian package can be removed cleanly by the ``*dpkg -P* '...''' command. Here are some examples of how to build such test packages. (These should work in most cases. If the *-d* does not work, try *-t* instead.) For a typical C program source tree packaged with autoconf/automake: * *debmake -d -i debuild* For a typical python module source tree: * *debmake -s -d -b":python" -i debuild* For a typical python module in the 'package-version'**.tar.gz** archive: * *debmake -s -a 'package-version'.tar.gz -b":python" -i debuild* For a typical perl module in the 'Package-version'*.tar.gz* archive: * *debmake -a 'Package-version'.tar.gz -b":perl" -i debuild* == HELPER PACKAGES Packaging may require installation of some additional specialty helper packages. * Python3 program may require the *dh-python* package. * Autotools (Autoconf + Automake) build system may require *autotools-dev* or *dh-autoreconf* package. * Ruby program may require the *gem2deb* package. * Java program may require the *javahelper* package. * Gnome programs may require the *gobject-introspection* package. * etc. == CAVEAT *debmake* is meant to provide template files for the package maintainer to work on. Comment lines started by *#* contain the tutorial text. You must remove or edit such comment lines before uploading to the Debian archive. There are some limitations for what characters may be used as a part of the Debian package. The most notable limitation is the prohibition of uppercase letters in the package name. Here is the summary in the regular expression. * Upstream package name (**-p**): [-+.a-z0-9]{2,} * Binary package name (*-b*): [-+.a-z0-9]{2,} * Upstream version (*-u*): [0-9][-+.:~a-z0-9A-Z]* * Debian revision (*-r*): [0-9][+.~a-z0-9A-Z]* See the exact definition in http://www.debian.org/doc/debian-policy/ch-controlfields.html[Chapter 5 - Control files and their fields] of the ``Debian Policy Manual''. == DEBUG The character set in the environment variable *$DEBUG* determines the logging output level. // * *ghjoqrstuvwxz*: * *i*: print information * *p*: list all global parameters * *d*: list parsed parameters for all binary packages * *f*: input filename for the copyright scan * *y*: year/name split of copyright line * *s*: line scanner for format_state * *b*: content_state scan loop: begin-loop * *m*: content_state scan loop: after regex match * *e*: content_state scan loop: end-loop * *c*: print copyright section text * *l*: print license section text * *a*: print author/translator section text * *k*: sort key for debian/copyright stanza * *n*: scan result of debian/copyright (``*debmake -k*'') Use this as: ---- $ DEBUG=pdfbmeclak debmake ... ---- == AUTHOR Copyright © 2014-2015 Osamu Aoki == LICENSE MIT License == SEE ALSO The *debmake-doc* package provides the “Guide for Debian Maintainers” in the plain text, HTML and PDF formats under the */usr/share/doc/debmake-doc/* directory. Also, please read the original http://www.debian.org/doc/manuals/maint-guide/[Debian New Maintainers’ Guide] provided by the the *maint-guide* package. See also *dpkg-source*(1), *deb-control*(5), *debhelper*(7), *dh*(1), *dpkg-buildpackage*(1), *debuild*(1), *quilt*(1), *dpkg-depcheck*(1), *pdebuild*(1), *pbuilder*(8), *cowbuilder*(8), *gbp-buildpackage*(1), *gbp-pq*(1), and *git-pbuilder*(1) manpages. debmake-doc-1.1/asciidoc/37-bug.txt0000664000175000017500000000163612613712701016073 0ustar osamuosamu[[bug]] === Bug report The *reportbug* command used for the bug report of 'binarypackage' can be customized by the files in *usr/share/bug/*'binarypackage'*/*. The *dh_bugfiles* command installs these files from the template files in the *debian/* directory. * *debian/*'binarypackage'*.bug-control* -> *usr/share/bug/*'binarypackage'*/control* ** This file contains some directions such as redirecting the bug report to another package. * *debian/*'binarypackage'*.bug-presubj* -> *usr/share/bug/*'binarypackage'*/presubj* ** This file is displayed to the user by the *reportbug* command. * *debian/*'binarypackage'*.bug-script* -> *usr/share/bug/*'binarypackage' or *usr/share/bug/*'binarypackage'*/script* ** The *reportbug* command runs this script to generate a template file for the bug report. See *dh_bugfiles*(1) and file:///usr/share/doc/reportbug/README.developers.gz[reportbug's Features for Developers] debmake-doc-1.1/asciidoc/79-autotools.txt0000664000175000017500000000450712613712701017355 0ustar osamuosamu[[autotools-single]] === Autotools (single-binary) Here is an example of creating a simple Debian package from a simple C source using the Autotools = Autoconf and Automake (*Makefile.am* and *configure.ac*) as its build system. See <>. This source usually comes with the upstream auto-generated *Makefile.in* and *configure* files, too. This source can be packaged using these files as <> with the help of the *autotools-dev* package. The better alternative is to regenerate these files using the latest Autoconf and Automake packages if the upstream provided *Makefile.am* and *configure.ac* are compatible with the latest version. This is advantageous for the porting to the new CPU architectures etc. This can be automated by using the ``*--with autoreconf*'' option for the *dh* command. Let's assume this upstream tarball to be *debhello-1.6.tar.gz*. This type of source is meant to be installed as a non-system file, for example, as: ---- $ tar -xzmf debhello-1.6.tar.gz $ cd debhello-1.6 $ autoreconf -ivf # optional $ ./configure --with-math $ make $ make install ---- Let's get the source and make the Debian package. .Download *debhello-1.6.tar.gz* ---- include::../debhello-1.6-pkg1/step000.slog[] ---- Here, the contents of this source are as follows. .*src/hello.c* (v=1.6): ---- include::../debhello-1.6-pkg1/step101.slog[] ---- .*Makefile.am* (v=1.6): ---- include::../debhello-1.6-pkg1/step102.slog[] ---- .*configure.ac* (v=1.6): ---- include::../debhello-1.6-pkg1/step103.slog[] ---- Let's package this with the *debmake* command. ---- sys::[head -n12 ../debhello-1.6-pkg1/step200.slog] ... ---- The result is similar to <> but not exactly the same. Let's inspect notable template files generated. // .The source tree after the basic *debmake* execution. (v=1.6) // ---- // include::../debhello-1.6-pkg1/step201.slog[] // ---- .*debian/rules* (template file, v=1.6): ---- include::../debhello-1.6-pkg1/step202.slog[] ---- Let's make this Debian package better as the maintainer. .*debian/rules* (maintainer version, v=1.6): ---- include::../debhello-1.6-pkg1/step301.slog[] ---- There are several other template files under the *debian/* directory. These also needs to be updated. The rest of the packaging activities are practically the same as the one in <>. debmake-doc-1.1/asciidoc/43-coption.txt0000664000175000017500000000045212613712701016761 0ustar osamuosamu[[coption]] === debmake -cc The *debmake* command with the *-cc* option can make a summary of the copyright and license for the entire source tree to the standard output. ---- $ tar -xvzf package-1.0.tar.gz $ cd package-1.0 $ debmake -cc | less ---- With *-c*, this provides shorter report. debmake-doc-1.1/asciidoc/56-deb3.txt0000664000175000017500000000367512613712701016141 0ustar osamuosamu[[deb3]] === 3.0 source format Updating the package style is not a required activity for the update of a package. However, doing so lets you use the full capabilities of the modern *debhelper* system and the *3.0* source format. * If you need to recreate deleted template files for any reason, you can run *debmake* again in the same Debian package source tree. Then edit them appropriately. * If the package has not been updated to use the *dh* command for the *debian/rules* file, update it to use it (see <>). Update the *debian/control* file accordingly. * If you have a *1.0* source package with the *foo.diff.gz* file, you can update it to the newer ``*3.0 (quilt)*'' source format by creating *debian/source/format* with ``*3.0 (quilt)*''. The rest of the **debian/*** files can just be copied. Import the *big.diff* file generated by the command ``**filterdiff -z -x '*/debian/*' foo.diff.gz > big.diff**'' to your quilt system, if needed. footnote:[You can split *big.diff* into many small incremental patches using the *splitdiff* command.] * If it was packaged using another patch system such as *dpatch*, *dbs*, or *cdbs* with *-p0*, *-p1*, or *-p2*, convert it to the quilt command using the *deb3* script in the *quilt* package. * If it was packaged with the *dh* command with the ``*--with quilt*'' option or with the *dh_quilt_patch* and *dh_quilt_unpatch* commands, remove these and make it use the newer ``*3.0 (quilt)*'' source format. * If you have a *1.0* source package without the *foo.diff.gz* file, you can update it to the newer ``*3.0 (native)*'' source format by creating *debian/source/format* with ``*3.0 (native)*''. The rest of the **debian/*** files can just be copied. You should check http://dep.debian.net/[DEP - Debian Enhancement Proposals] and adopt ACCEPTED proposals. See https://wiki.debian.org/Projects/DebSrc3.0[ProjectsDebSrc3.0] to check the support status of the new Debian source formats by the Debian tool chains. debmake-doc-1.1/asciidoc/33-lib.txt0000664000175000017500000000361212613712701016054 0ustar osamuosamu[[lib]] === Library package Packaging the library software requires you to perform much more work than usual. Here are some reminders for packaging the library software: * The library binary package must be named as <>. * Debian ships shared library such as */usr/lib//lib*'foo-0.1'*.so.*'1.0.0' (see <>). * Debian encourages to use versioned symbols in the shared library (see <>). * Debian doesn't ship ***.la** libtool library archive files. * Debian discourages to use and ship ***.a** static library files. Before packaging the shared library software, see: * https://www.debian.org/doc/debian-policy/ch-sharedlibs.html[Chapter 8 - Shared libraries] of the ``Debian Policy Manual'' * https://www.debian.org/doc/debian-policy/ch-files.html[10.2 Libraries] of the ``Debian Policy Manual'' * https://www.debian.org/doc/manuals/developers-reference/best-pkging-practices.html#bpp-libraries[6.7.2. Libraries] of the ``Debian Developer's Reference'' For the historic background study, see: * http://debconf4.debconf.org/talks/dependency-hell/img1.html[Escaping the Dependency Hell] footnote:[This document was written before the introduction of the *symbols* file.] ** This encourages to have versioned symbols in the shared library. * http://www.netfort.gr.jp/\~dancer/column/libpkg-guide/libpkg-guide.html[Debian Library Packaging guide] footnote:[The strong preference to use the SONAME versioned *-dev* package names over the single *-dev* package name in its http://www.netfort.gr.jp/~dancer/column/libpkg-guide/libpkg-guide.html#devpkg[Chapter 6. Development (-DEV) packages] does not seem to be shared by the former ftp-master (Steve Langasek). This document was written before the introduction of the *multiarch* system and the *symbols* file.] ** Please read the discussion thread following https://lists.debian.org/debian-devel/2004/06/msg00069.html[its announcenent], too. debmake-doc-1.1/asciidoc/81-libautotools.txt0000664000175000017500000000554612613712701020041 0ustar osamuosamu[[autotools-multi]] === Autotools (multi-binary) Here is an example of creating a set of Debian binary packages including the executable package, the shared library package, the development file package, and the debug symbol package from a simple C source using the Autotools = Autoconf and Automake (*Makefile.am* and *configure.ac*) as its build system. See <>. Let's package this in the same way as <>. Let's assume this upstream tarball to be *debhello-2.0.tar.gz*. This type of source is meant to be installed as a non-system file, for example, as: ---- $ tar -xzmf debhello-2.0.tar.gz $ cd debhello-2.0 $ autoreconf -ivf # optional $ ./configure --with-math $ make $ make install ---- Let's get the source and make the Debian package. .Download *debhello-2.0.tar.gz* ---- include::../debhello-2.0-pkg1/step000.slog[] ---- Here, the contents of this source are as follows. .*src/hello.c* (v=2.0): ---- include::../debhello-2.0-pkg1/step101.slog[] ---- .*lib/sharedlib.h* and *lib/sharedlib.c* (v=1.6): ---- include::../debhello-2.0-pkg1/step102.slog[] ---- .*Makefile.am* (v=2.0): ---- include::../debhello-2.0-pkg1/step103.slog[] ---- .*configure.ac* (v=2.0): ---- include::../debhello-2.0-pkg1/step104.slog[] ---- Let's package this with the *debmake* command into multiple packages: * *debhello*: type = *bin* * *libsharedlib1*: type = *lib* * *libsharedlib-dev*: type = *dev* * *debhello-dbg*: type = *dbg* * *libsharedlib1-dbg*: type = *dbg* Here, the *-b\',libsharedlib1,libsharedlib-dev,-dbg,libsharedlib1-dbg'* option is used to specify the generated binary packages. ---- sys::[head -n16 ../debhello-2.0-pkg1/step200.slog] ... ---- The result is similar to <> but with more template files. Let's inspect notable template files generated. .*debian/rules* (template file, v=2.0): ---- include::../debhello-2.0-pkg1/step202.slog[] ---- Let's make this Debian package better as the maintainer. .*debian/rules* (maintainer version, v=2.0): ---- include::../debhello-2.0-pkg1/step301.slog[] ---- .*debian/control* (maintainer version, v=2.0): ---- include::../debhello-2.0-pkg1/step302.slog[] ---- .**debian/*.install** (maintainer version, v=2.0): ---- include::../debhello-2.0-pkg1/step303.slog[] ---- Since this upstream source creates the proper auto-generated *Makefile*, there are no needs to create *debian/install* and *debian/manpages* files. There are several other template files under the *debian/* directory. These also needs to be updated. .Template files under *debian/*. (v=2.0): ---- include::../debhello-2.0-pkg1/step400.slog[] ---- The rest of the packaging activities are practically the same as the one in <>. Here are the generated dependency lists of binary packages. .The generated dependency lists of binary packages (v=2.0): ---- include::../debhello-2.0-pkg1/step702.slog[] ---- debmake-doc-1.1/asciidoc/23-control.txt0000664000175000017500000001324312613712701016766 0ustar osamuosamu[[control]] === debian/control The *debian/control* file consists of blocks of meta data separated by the blank line. Each block of meta data defines the following in this order: * meta data for the Debian source package * meta data for the Debian binary packages See https://www.debian.org/doc/debian-policy/ch-controlfields.html[Chapter 5 - Control files and their fields] of the ``Debian Policy Manual'' for the definition of each meta data. The *debmake* command with the *-b* option (see <>) creates the initial template *debian/control* file with followings: * a set of *Package* stanzas defining the split of the Debian binary packages * a basic set of substvar used in each pertinent stanza [[split]] ==== Split of the Debian binary package For well behaving build systems, the split of the Debian binary package into small ones can be realized as follows. * Create binary package entries for all binary packages in the *debian/control* file. * List all file paths (relative to *debian/tmp*) in the corresponding *debian/*'binarypackage'**.install** files. Please check examples in this guide: * <> (Autotools based) * <> (CMake based) [[substvar]] ==== Substvar The *debian/control* file also defines the package dependency in which the http://www.debian.org/doc/debian-policy/ch-source.html#s-substvars[variable substitutions mechanism] (substvar) may be used to free package maintainers from chores of tracking most of the simple package dependency cases. See *deb-substvars*(5). The *debmake* command supports following substvars. * *$\{misc:Depends}* for all binary packages * *$\{misc:Pre-Depends}* for all multiarch packages * *$\{shlibs:Depends}* for all binary executable and library packages * *$\{python:Depends}* for all Python packages * *$\{python3:Depends}* for all Python3 packages * *$\{perl:Depends}* for all Perl packages * *$\{ruby:Depends}* for all Ruby packages For the shared library, required libraries found simply by "*objdump -p* '/path/to/program' *| grep NEEDED*" are covered by the *shlib* substvar. For the Python and other interpreters, required modules found simply looking for lines with ``*import*'', ``*use*'', ``*require*'', etc., are covered by the corresponding substvar. For other programs which do not deploy their own substvar, the *misc* substvar covers their dependency. For POSIX shell programs, there is no easy way to identify the dependency and no substvar covers their dependency. For libraries and modules required via the dynamic loading mechanism including the https://wiki.gnome.org/Projects/GObjectIntrospection[GObject introspection] mechanism, there is no easy way to identify the dependency and no substvar covers their dependency. [[binnmu]] ==== binNMU safe For the safe https://wiki.debian.org/binNMU[binNMU], the dependency among binary packages from a same source package needs attention if there are both ``*Architecture: any*'' and ``*Architecture: all*'' packages involved in it. * ``*Architecture: any*'' package depends on ``*Architecture: any*'' 'foo' package ** *Depends:* 'foo' *(== $\{binary:Version})* * ``*Architecture: any*'' package depends on ``*Architecture: all*'' 'bar' package ** *Depends:* 'bar' *(== $\{source:Version}* * ``*Architecture: all*'' package depends on ``*Architecture: any*'' 'baz' package ** *Depends:* 'baz' *(>= $\{source:Version})*, 'baz' *(<< $\{source:Upstream-Version}.0~)* [[libnames]] ==== The library package name Let's consider that the upstream source tarball of the *lib*'foo' library is updated from *lib*'foo-7.0'*.tar.gz* to *lib*'foo-8.0'*.tar.gz* with the new SONAME major version which affects other packages. The binary library package must be renamed from *lib*'foo7' to *lib*'foo8' to keep the *unstable* suite system working for all dependent packages after the upload of the package based on the *lib*'foo-8.0'*.tar.gz*. WARNING: If the binary library package isn't renamed, many dependent packages in the *unstable* suite become broken just after the library upload even if the binNMU is requested. The binNMU may not happen immediately after the upload due to several reasons. The *-dev* package must follow one of the following naming rules: * Use the *unversioned -dev* package name: *lib*'foo'*-dev* ** This is the normal case. ** Only one version of the library source package is allowed in the archive. *** The associated library package needs to be renamed from *lib*'foo7' to *lib*'foo8' to prevent the dependency breakage in the *unstable* archive during the library transition. ** This approach must be used if the simple binNMU resolves the library dependency. (http://en.wikipedia.org/wiki/Application_binary_interface[ABI] change) ** This approach is still a good idea if manual code updates, etc. can be coordinated. (http://en.wikipedia.org/wiki/Application_programming_interface[API] change) * Use the *versioned -dev* package names: *lib*'foo7'*-dev* and *lib*'foo8'*-dev* ** This is the special case. ** Two versions of the library source packages are allowed simultaneously in the archive. *** Make all dependent packages depend on *lib*'foo'*-dev*. *** Make both *lib*'foo7'*-dev* and *lib*'foo8'*-dev* provide *lib*'foo'*-dev*. *** The source package needs to be renamed as *lib*'foo7-7.0'*.tar.gz* and *lib*'foo8-8.0'*.tar.gz* respectively from *lib*'foo-?.0'*.tar.gz*. *** The package specific install file path including *lib*'foo7' and *lib*'foo8' respectively for header files etc. needs to be chosen to make them co-installable. ** Do not use this approach, if possible. ** This approach may be useful if the update of dependent packages require major manual code updates, etc. (http://en.wikipedia.org/wiki/Application_programming_interface[API] change) See <>. debmake-doc-1.1/asciidoc/40-aioption.txt0000664000175000017500000000115312613712701017124 0ustar osamuosamuHere are some notable options for the *debmake* command. [[ai-option]] === Shortcut options (-a, -i) The *debmake* command offers 2 shortcut options. * *-a* : open the upstream tarball * *-i* : execute script to build the binary package The example in the above <> can be done simply as follows. ---- $ debmake -a package-1.0.tar.gz -i debuild ---- TIP: URL such as ``*http://www.example.org/DL/package-1.0.tar.gz*'' may be used for the *-a* option. TIP: URL such as ``*http://arm.koji.fedoraproject.org/packages/ibus/1.5.7/3.fc21/src/ibus-1.5.7-3.fc21.src.rpm*'' may be used for the *-a* option, too. debmake-doc-1.1/asciidoc/head.txt0000664000175000017500000000672012613712701015767 0ustar osamuosamu %urlent; --> %commonent; ]> Guide for Debian Maintainers Osamu Aoki &debdate; This tutorial document describes the building of the Debian package to ordinary Debian users and prospective developers using the debmake command. It is focused on the modern packaging style and comes with many simple examples. POSIX shell script packaging Python3 script packaging C with Makefile/Autotools/CMake multiple binary packages with shared library etc. This “Guide for Debian Maintainers” can be considered as the successor to the “Debian New Maintainers’ Guide”. 2014-2015 Osamu Aoki Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. This guide was made using the following previous documents as its reference: “Making a Debian Package (AKA the Debmake Manual)”, copyright © 1997 Jaldhar Vyas. “The New-Maintainer’s Debian Packaging Howto”, copyright © 1997 Will Lowe. “Debian New Maintainers’ Guide”, copyright © 1998-2002 Josip Rodin, 2005-2014 Osamu Aoki, 2010 Craig Small, and 2010 Raphaël Hertzog. Newer versions of this guide should always be available in the debmake-doc package. debmake-doc-1.1/asciidoc/35-symbols.txt0000664000175000017500000000420112613712701016773 0ustar osamuosamu[[symbols]] === Library symbols The symbols support in the *dpkg* introduced to Debian *lenny* (5.0, May 2009) helps us to manage the backward ABI compatibility of the library package with the same package name. The *DEBIAN/symbols* file in the binary package provides the minimal version associated to each symbol. The oversimplified method for the library packaging is as follows. * Extract the old *DEBIAN/symbols* file of the immediate previous binary package with the ``*dpkg-deb -e*'' command. ** Alternatively, the *mc* command may be used to extract the *DEBIAN/symbols* file. * Copy it to the *debian/*'binarypackage'*.symbols* file. ** If this is the first package, use an empty content file instead. * Build the binary package. ** If the *dpkg-gensymbols* command warns some new symbols: *** Extract the updated *DEBIAN/symbols* file with the ``*dpkg-deb -e*'' command. *** Trim the Debian revision such as *-1* in it. *** Copy it to the *debian/*'binarypackage'*.symbols* file. *** Re-build the binary package. ** If the *dpkg-gensymbols* command does not warn new symbols: *** You are done with the library packaging. For the details, you should read the following primary references. * http://www.debian.org/doc/debian-policy/ch-sharedlibs.html#s-sharedlibs-symbols[8.6.3 The symbols system] of the ``Debian Policy Manual'' * *dh_makeshlibs*(1) * *dpkg-gensymbols*(1) * *dpkg-shlibdeps*(1) * *deb-symbols*(5) Yous should also check: * Debian wiki https://wiki.debian.org/UsingSymbolsFiles[UsingSymbolsFiles] * Debian wiki https://wiki.debian.org/Projects/ImprovedDpkgShlibdeps[Projects/ImprovedDpkgShlibdeps] * Debian kde team http://pkg-kde.alioth.debian.org/symbolfiles.html[Working with symbols files] * <> * <> TIP: For C++ libraries and other cases where the tracking of the symbols is problematic, follow https://www.debian.org/doc/debian-policy/ch-sharedlibs.html#s-sharedlibs-shlibdeps[8.6.4 The shlibs system] of the ``Debian Policy Manual'', instead. Please make sure to erase the empty *debian/*'binarypackage'*.symbols* file generated by the *debmake* command. For this case, the *DEBIAN/shlibs* file is used. debmake-doc-1.1/asciidoc/69-adv.txt0000664000175000017500000000504512613712701016073 0ustar osamuosamu[[adv-pkg]] === Advanced packaging Hints for the following can be found in the *debhelper*(7) manpage: * differences of the debhelper tool behavior under ``*compat* \<= 8'' * building several binary packages with several different build conditions ** making multiple copies of the upstream source ** invoking multiple ``*dh_auto_configure -S ...*'' commands in the *override_dh_auto_configure* target ** invoking multiple ``*dh_auto_build -S ...*'' commands in the *override_dh_auto_build* target ** invoking multiple ``*dh_auto_install -S ...*'' commands in the *override_dh_auto_install* target * building *udeb* packages with ``*Package-Type: udeb*'' in *debian/control* (see https://www.debian.org/doc/debian-policy/ch-controlfields.html#s-f-Package-Type[Package-Type]) * excluding some packages for the bootstrapping (see also https://wiki.debian.org/BuildProfileSpec[BuildProfileSpec]) ** adding the *Build-Profiles* fields in binary package stanzas in *debian/control* ** building packages with the *DEB_BUILD_PROFILES* environment variable set to the pertinent profile name Hints for the following can be found in the *dpkg-source*(1) manpage: * naming convention for the multiple upstream source tarballs ** 'packagename_version'**.orig.tar.gz** ** 'packagename_version'**.orig-**'componentname'**.tar.gz** * recording the Debian changes to the upstream binary file ** *dpkg-source --commit* [[other-distro]] === Other distros Although the upstream tarball has all the information to build the Debian package, it is not always easy to figure out which combination of options to use. Also, the upstream may be more focused on the feature enhancements and may be less eager for backward compatibilities etc. which are important aspect of the Debian packaging practice. The leveraging of information from other distributions is an option to address above issues. If the other distribution in interest is a Debian derivative one, it is trivial to reuse it. If the other distribution in interest is a http://en.wikipedia.org/wiki/RPM_Package_Manager[RPM] based distribution, see https://wiki.debian.org/Repackage_srcrpm[Repackage src.rpm]. Downloading and opening of the *src.rpm* file can be done with the *rget* command. (Place the *rget* script in your PATH.) .rget script ---- #!/bin/sh FCSRPM=$(basename $1) mkdir ${FCSRPM}; cd ${FCSRPM}/ wget $1 rpm2cpio ${FCSRPM} | cpio -dium ---- Many upstream tarballs contain the SPEC file named as 'packagename'.*spec* or 'packagename'.*spec.in* used by the RPM system. This can be used as the baseline for the Debian package, too. debmake-doc-1.1/asciidoc/39-pkgtest.txt0000664000175000017500000000166512613712701017003 0ustar osamuosamu[[ci]] === Continuous integration http://dep.debian.net/deps/dep8/[DEP-8] defines the *debian/tests/control* file as the RFC822-style test metadata file for the http://en.wikipedia.org/wiki/Continuous_integration[continuous integration] (CI) of the Debian package. It is used after building the binary packages from the source package containing this *debian/tests/control* file. When the *adt-run* command provided by the *autopkgtest* package is run, the generated binary packages are installed and tested in the virtual environment according to this file. See documents in the */usr/share/doc/autopkgtest/* directory and http://packaging.ubuntu.com/html/auto-pkg-test.html[3. autopkgtest: Automatic testing for packages] of the ``Ubuntu Packaging Guide''. There are several other CI tools on Debian for you to explore. * The *debci* package: CI platform on the top of the *autopkgtest* package * The *jenkins* package: generic CI platform debmake-doc-1.1/asciidoc/77-make.txt0000664000175000017500000000475712613712701016246 0ustar osamuosamu[[makefile-single]] === Makefile (single-binary) Here is an example of creating a simple Debian package from a simple C source using the *Makefile* as its build system. This is an enhanced upstream source example for <>. This comes with the manpage, the desktop file, and the desktop icon. This also links to an external library *libm* to be a more practical example. Let's assume this upstream tarball to be *debhello-1.4.tar.gz*. This type of source is meant to be installed as a non-system file as: ---- $ tar -xzmf debhello-1.4.tar.gz $ cd debhello-1.4 $ make $ make install ---- Debian packaging requires to change this ``*make install*'' process to install files to the target system image location instead of the normal location under */usr/local*. Let's get the source and make the Debian package. .Download *debhello-1.4.tar.gz* ---- include::../debhello-1.4-pkg1/step000.slog[] ---- Here, the contents of this source are as follows. .*src/hello.c* (v=1.4): ---- include::../debhello-1.4-pkg1/step101.slog[] ---- .*src/config.h* (v=1.4): ---- include::../debhello-1.4-pkg1/step102.slog[] ---- .*Makefile* (v=1.4): ---- include::../debhello-1.4-pkg1/step103.slog[] ---- Please note that this *Makefile* has the proper *install* target for the manpage, the desktop file, and the desktop icon. Let's package this with the *debmake* command. ---- sys::[head -n12 ../debhello-1.4-pkg1/step200.slog] ... ---- The result is practically the same as <>. Let's make this Debian package better as the maintainer which is practically the same as <>. // .*debian/rules* (maintainer version, v=1.4): // ---- // include::../debhello-1.4-pkg1/step301.slog[] // ---- If the *DEB_BUILD_MAINT_OPTIONS* is not exported in the *debian/rules*, the lintian warns "W: debhello: hardening-no-relro usr/bin/hello" for the linking of the *libm*. The *debian/control* file making it exactly the same as one in <>, since the *libm* library is always available as a part of the *libc6* (Priority: required). There are several other template files under the *debian/* directory. These also needs to be updated. .Template files under *debian/*. (v=1.4): ---- include::../debhello-1.4-pkg1/step400.slog[] ---- The rest of the packaging activities are practically the same as the one in <>. Here is the generated dependency list of binary packages. .The generated dependency list of binary packages (v=1.4): ---- include::../debhello-1.4-pkg1/step702.slog[] ---- debmake-doc-1.1/Makefile.common0000664000175000017500000000126112613712701015471 0ustar osamuosamu# Common build parameters # Copyright (C) 2015 Osamu Aoki # Include this once ifndef DEBMAKE_MAKEFILE_COMMON DEBMAKE_MAKEFILE_COMMON := INCLUDED # Normalize build environment (Debian default is LANG=C etc.) export LC_ALL := C.UTF-8 export DEBEMAIL ?= osamu@debian.org export DEBFULLNAME ?= "Osamu Aoki" export BASEDIR ?= $(CURDIR)/tmp export TMPDIR ?= $(BASEDIR)/tmp # # Used as $(call check-command, , ) define check-command set -e; if ! which $(1) >/dev/null; then \ echo "Missing command: $(1), install package: $(2)"; \ false; \ fi endef XSLT_DIR := xslt BIN_DIR := bin ASCIIDOC_DIR := asciidoc PO_DIR := po ##ifdef DEBMAKE_DOC_DEBUG .SECONDARY: ##endif endif debmake-doc-1.1/debhello-2.0-pkg2/0000775000175000017500000000000012613712701015456 5ustar osamuosamudebmake-doc-1.1/debhello-2.0-pkg2/step399.cmd0000775000175000017500000000034012613712701017363 0ustar osamuosamuL "mkdir -p debhello-3.3/debian" echo " $ vim debhello-3.3/debian/changelog" echo " ... hack, hack, hack, ..." cp -f ../../debhello-3.3/debian/changelog debhello-3.3/debian/changelog L "cat debhello-3.3/debian/changelog" debmake-doc-1.1/debhello-2.0-pkg2/step155.cmd0000775000175000017500000000030012613712701017345 0ustar osamuosamuecho " ... hack, hack, hack, ..." sed -i -e 's/printf(\([^)]*\))/printf(_(\1))/' \ -e 's/^int/#define _(string) gettext (string)\nint/' \ lib/sharedlib.c L "cat lib/sharedlib.c" debmake-doc-1.1/debhello-2.0-pkg2/step301.cmd0000775000175000017500000000026312613712701017346 0ustar osamuosamuecho " \$ vim debhello-3.3/debian/rules" echo " ... hack, hack, hack, ..." cp -f ${COMMONDIR}/${PROJECT}/debian/rules debhello-3.3/debian/rules L "cat debhello-3.3/debian/rules" debmake-doc-1.1/debhello-2.0-pkg2/step000.cmd0000775000175000017500000000042712613712701017344 0ustar osamuosamu# Fake download session echo " \$ wget http://www.example.org/download/debhello-2.0.tar.gz" echo " ..." # Reality behind scene cp -a ${COMMONDIR}/debhello-2.0.${TGZ} ${TESTDIR}/debhello-2.0.${TGZ} CD ${TESTDIR} >/dev/null cd ${TESTDIR} L "tar -xzmf debhello-2.0.tar.gz" L "tree" debmake-doc-1.1/debhello-2.0-pkg2/step202.cmd0000775000175000017500000000004312613712701017342 0ustar osamuosamuL "cat debhello-3.3/debian/rules" debmake-doc-1.1/debhello-2.0-pkg2/step161.cmd0000775000175000017500000000026512613712701017354 0ustar osamuosamuL "echo 'fr' > po/LINGUAS" L "cp po/debhello.pot po/fr.po" echo " $ vim po/fr.po" echo " ... hack, hack, hack, ..." cp -f ../../../debhello-3.3/po/fr.po po/fr.po L "cat po/fr.po" debmake-doc-1.1/debhello-2.0-pkg2/step158.cmd0000775000175000017500000000002412613712701017353 0ustar osamuosamuL "cat Makefile.am" debmake-doc-1.1/debhello-2.0-pkg2/step157.cmd0000775000175000017500000000026212613712701017356 0ustar osamuosamuecho " ... hack, hack, hack, ..." echo 'src/hello.c' >po/POTFILES.in echo 'lib/sharedlib.c' >>po/POTFILES.in echo 'data/hello.desktop.in' >>po/POTFILES.in L "cat po/POTFILES.in" debmake-doc-1.1/debhello-2.0-pkg2/step152.cmd0000775000175000017500000000021212613712701017344 0ustar osamuosamuecho " $ vim configure.ac" echo " ... hack, hack, hack, ..." cp -f ../../../debhello-3.3/configure.ac configure.ac L "cat configure.ac" debmake-doc-1.1/debhello-2.0-pkg2/step701.cmd0000775000175000017500000000032612613712701017352 0ustar osamuosamuFILE=$(ls *.tar.?z | \ grep -v 'orig.tar.gz' |\ grep -v 'orig.tar.xz' ) for f in $FILE ; do EXT=${f##*.} if [ "$EXT" = "gz" ]; then L "tar -tzf $f" elif [ "$EXT" = "xz" ]; then L "tar --xz -tf $f" else : fi done debmake-doc-1.1/debhello-2.0-pkg2/step154.cmd0000775000175000017500000000027012613712701017352 0ustar osamuosamuecho " ... hack, hack, hack, ..." sed -i -e 's/printf(\([^)]*\))/printf(_(\1))/' \ -e 's/^int/#define _(string) gettext (string)\nint/' \ src/hello.c L "cat src/hello.c" debmake-doc-1.1/debhello-2.0-pkg2/step299.cmd0000775000175000017500000000012012613712701017356 0ustar osamuosamu# make deb CD .. cd .. L "cp -a ${TESTDIR} debmake" CD ${TESTDIR} cd ${TESTDIR} debmake-doc-1.1/debhello-2.0-pkg2/step190.cmd0000775000175000017500000000014612613712701017354 0ustar osamuosamuL "tar -czf debhello-3.3.${TGZ} debhello-3.3" L "ln -sf debhello-3.3.${TGZ} debhello_3.3.orig.${TGZ}" debmake-doc-1.1/debhello-2.0-pkg2/step300.cmd0000775000175000017500000000046112613712701017345 0ustar osamuosamu# clean excess template files for f in \ clean \ debhello.doc-base \ debhello.docs \ debhello.examples \ debhello.info \ debhello.links \ debhello.manpages \ debhello.menu \ debhello.postinst \ debhello.postrm \ debhello.preinst \ debhello.prerm \ ; do L "rm -f debhello-3.3/debian/$f" done debmake-doc-1.1/debhello-2.0-pkg2/step600.cmd0000775000175000017500000000003312613712701017343 0ustar osamuosamuCD .. cd .. L "tree -FL 1" debmake-doc-1.1/debhello-2.0-pkg2/step102.cmd0000775000175000017500000000010712613712701017342 0ustar osamuosamuL "cat ${PROJECT}/lib/sharedlib.h" L "cat ${PROJECT}/lib/sharedlib.c" debmake-doc-1.1/debhello-2.0-pkg2/step499.cmd0000775000175000017500000000022012613712701017361 0ustar osamuosamu# make deb CD .. cd .. L "cp -a ${TESTDIR} package" CD ${TESTDIR} cd ${TESTDIR} # Chenge $(PROJECT} values after echo "debhello-3.3" > project debmake-doc-1.1/debhello-2.0-pkg2/step303.cmd0000775000175000017500000000040612613712701017347 0ustar osamuosamufor f in \ debhello.install \ libsharedlib1.install \ libsharedlib-dev.install \ ; do echo " \$ vim debhello-3.3/debian/$f" echo " ... hack, hack, hack, ..." cp -f ${COMMONDIR}/${PROJECT}/debian/$f debhello-3.3/debian/$f L "cat debhello-3.3/debian/$f" done debmake-doc-1.1/debhello-2.0-pkg2/step400.cmd0000775000175000017500000000003512613712701017343 0ustar osamuosamuL "tree debhello-3.3/debian" debmake-doc-1.1/debhello-2.0-pkg2/step201.cmd0000775000175000017500000000002512613712701017341 0ustar osamuosamuCD .. cd .. L "tree" debmake-doc-1.1/debhello-2.0-pkg2/step304.cmd0000775000175000017500000000027212613712701017351 0ustar osamuosamuecho " ... hack, hack, hack, ..." cp -f ${COMMONDIR}/${PROJECT}/debian/libsharedlib1.symbols debhello-3.3/debian/libsharedlib1.symbols L "cat debhello-3.3/debian/libsharedlib1.symbols" debmake-doc-1.1/debhello-2.0-pkg2/step203.cmd0000775000175000017500000000004512613712701017345 0ustar osamuosamuL "cat debhello-3.3/debian/control" debmake-doc-1.1/debhello-2.0-pkg2/step702.cmd0000775000175000017500000000013412613712701017350 0ustar osamuosamufor deb in *.deb; do L "dpkg -f ${deb} pre-depends depends recommends conflics breaks" done debmake-doc-1.1/debhello-2.0-pkg2/step160.cmd0000775000175000017500000000013212613712701017344 0ustar osamuosamuL "xgettext -f po/POTFILES.in -d debhello -o po/debhello.pot -k_" L "cat po/debhello.pot" debmake-doc-1.1/debhello-2.0-pkg2/step150.cmd0000775000175000017500000000037412613712701017353 0ustar osamuosamu# Gettextize (initial) CD ${PROJECT} cd ${PROJECT} # fool gettextize and timeout safely echo " $ gettextize" expect -c " set timeout 3 spawn gettextize expect \"^Press Return to acknowledge.*\" exit " | sed -e 1d -e 's/\r//' L "rm -rf m4 build-aux *~" debmake-doc-1.1/debhello-2.0-pkg2/step156.cmd0000775000175000017500000000017012613712701017353 0ustar osamuosamuL "fgrep -v '[ja]=' data/hello.desktop > data/hello.desktop.in" L "rm data/hello.desktop" L "cat data/hello.desktop.in" debmake-doc-1.1/debhello-2.0-pkg2/step390.cmd0000775000175000017500000000054712613712701017363 0ustar osamuosamu# update simple template files mkdir -p debhello-3.3/debian/source for f in \ README.Debian \ changelog \ watch \ compat \ copyright \ source/format \ source/local-options \ ; do echo " \$ vim debhello-3.3/debian/$f" echo " ... hack, hack, hack, ..." cp -f ${COMMONDIR}/${PROJECT}/debian/$f debhello-3.3/debian/$f L "cat debhello-3.3/debian/$f" done debmake-doc-1.1/debhello-2.0-pkg2/step200.cmd0000775000175000017500000000017512613712701017346 0ustar osamuosamu# Debianize (initial) CD debhello-3.3 cd debhello-3.3 L "debmake -b',libsharedlib1,libsharedlib-dev,-dbg,libsharedlib1-dbg'" debmake-doc-1.1/debhello-2.0-pkg2/step151.cmd0000775000175000017500000000001112613712701017340 0ustar osamuosamuls -l po debmake-doc-1.1/debhello-2.0-pkg2/step302.cmd0000775000175000017500000000027312613712701017350 0ustar osamuosamuecho " \$ vim debhello-3.3/debian/control" echo " ... hack, hack, hack, ..." cp -f ${COMMONDIR}/${PROJECT}/debian/control debhello-3.3/debian/control L "cat debhello-3.3/debian/control" debmake-doc-1.1/debhello-2.0-pkg2/step700.cmd0000775000175000017500000000016012613712701017345 0ustar osamuosamufor deb in *.deb; do L "dpkg -c ${deb}" | sed -e 's/root.root...............-..-.. ..:../root\/root ... /' done debmake-doc-1.1/debhello-2.0-pkg2/step103.cmd0000775000175000017500000000021112613712701017337 0ustar osamuosamuL "cat ${PROJECT}/Makefile.am" L "cat ${PROJECT}/man/Makefile.am" L "cat ${PROJECT}/lib/Makefile.am" L "cat ${PROJECT}/src/Makefile.am" debmake-doc-1.1/debhello-2.0-pkg2/step104.cmd0000775000175000017500000000004112613712701017341 0ustar osamuosamuL "cat ${PROJECT}/configure.ac" debmake-doc-1.1/debhello-2.0-pkg2/step101.cmd0000775000175000017500000000004012613712701017335 0ustar osamuosamuL "cat ${PROJECT}/src/hello.c" debmake-doc-1.1/debhello-2.0-pkg2/step500.cmd0000775000175000017500000000012112613712701017340 0ustar osamuosamu# make deb CD debhello-3.3 cd debhello-3.3 echo " \$ debuild" debuild -i -us -uc debmake-doc-1.1/debhello-2.0-pkg2/step153.cmd0000775000175000017500000000042312613712701017351 0ustar osamuosamuecho " ... hack, hack, hack, ..." sed -e 's/^PACKAGE_GNU.*/PACKAGE_GNU = no/' \ -e 's/^COPYRIGHT_HOLDER.*/COPYRIGHT_HOLDER = Osamu Aoki /' \ po/Makevars.template > po/Makevars L "diff -u po/Makevars.template po/Makevars" L "rm po/Makevars.template" debmake-doc-1.1/debhello-2.0-pkg2/step170.cmd0000775000175000017500000000014212613712701017346 0ustar osamuosamuCD .. cd .. L "mv ${PROJECT} debhello-3.3" L "tar -czf debhello-3.3.${TGZ} debhello-3.3" L "tree" debmake-doc-1.1/debhello-3.3/0000775000175000017500000000000012613712701014621 5ustar osamuosamudebmake-doc-1.1/debhello-3.3/Makefile.am0000664000175000017500000000022312613712701016652 0ustar osamuosamu# recursively process `Makefile.am` in SUBDIRS SUBDIRS = po lib src man ACLOCAL_AMFLAGS = -I m4 EXTRA_DIST = build-aux/config.rpath m4/ChangeLog debmake-doc-1.1/debhello-3.3/debian/0000775000175000017500000000000012613712701016043 5ustar osamuosamudebmake-doc-1.1/debhello-3.3/debian/control0000664000175000017500000000500312613712701017444 0ustar osamuosamuSource: debhello Section: devel Priority: extra Maintainer: Osamu Aoki Build-Depends: debhelper (>=9), dh-autoreconf Standards-Version: 3.9.6 Homepage: http://anonscm.debian.org/cgit/collab-maint/debmake-doc.git/ Package: debhello Architecture: any Multi-Arch: foreign Depends: libsharedlib1 (= ${binary:Version}), ${misc:Depends}, ${shlibs:Depends} Description: example executable package This is an example package to demonstrate the Debian packaging using the debmake command. . The generated Debian package uses the dh command offered by the debhelper package and the dpkg source format `3.0 (quilt)'. . This package provides the executable program. Package: libsharedlib1 Section: libs Architecture: any Multi-Arch: same Pre-Depends: ${misc:Pre-Depends} Depends: ${misc:Depends}, ${shlibs:Depends} Description: example shared library package This is an example package to demonstrate the Debian packaging using the debmake command. . The generated Debian package uses the dh command offered by the debhelper package and the dpkg source format `3.0 (quilt)'. . This package contains the shared library. Package: libsharedlib-dev Section: libdevel Architecture: any Multi-Arch: same Depends: libsharedlib1 (= ${binary:Version}), ${misc:Depends} Description: example development package This is an example package to demonstrate the Debian packaging using the debmake command. . The generated Debian package uses the dh command offered by the debhelper package and the dpkg source format `3.0 (quilt)'. . This package contains the development files. Package: debhello-dbg Section: debug Architecture: any Multi-Arch: same Depends: debhello (= ${binary:Version}), ${misc:Depends} Description: example debugging package for debhello This is an example package to demonstrate the Debian packaging using the debmake command. . The generated Debian package uses the dh command offered by the debhelper package and the dpkg source format `3.0 (quilt)'. . This package contains the debugging symbols for debhello. Package: libsharedlib1-dbg Section: debug Architecture: any Multi-Arch: same Depends: libsharedlib1 (= ${binary:Version}), ${misc:Depends} Description: example debugging package for libsharedlib1 This is an example package to demonstrate the Debian packaging using the debmake command. . The generated Debian package uses the dh command offered by the debhelper package and the dpkg source format `3.0 (quilt)'. . This package contains the debugging symbols for libsharedlib1. debmake-doc-1.1/debhello-3.3/debian/changelog0000664000175000017500000001015712613712701017721 0ustar osamuosamudebhello (3.3-1) unstable; urgency=low * New upstream release. - C source for an executable with a shared library. - Makefile generated from Makefile.am and configure.ac . - I18N with gettext (0.19). -- Osamu Aoki Mon, 12 Jan 2015 03:03:01 +0900 debhello (3.2-1) unstable; urgency=low * New upstream release. - C source for an executable. - Makefile generated from Makefile.in and ./configure . - I18N with gettext (0.19). -- Osamu Aoki Mon, 12 Jan 2015 03:02:01 +0900 debhello (3.1-1) unstable; urgency=low * New upstream release. - Python3 script with the graphical user interface. - Packaged in Python distutils with setup.py . - I18N with gettext / python3-distutils-extra . -- Osamu Aoki Mon, 12 Jan 2015 03:01:01 +0900 debhello (3.0-1) unstable; urgency=low * New upstream release. - POSIX shell script and data with the graphical user interface. - Makefile supporting $(DESTDIR) and $(prefix) . - I18N with gettext (0.19). -- Osamu Aoki Mon, 12 Jan 2015 03:00:01 +0900 debhello (2.1-2) unstable; urgency=low * Single -dbg package. -- Osamu Aoki Mon, 12 Jan 2015 02:02:01 +0900 debhello (2.1-1) unstable; urgency=low * New upstream release. - C source for an executable with a shared library. - Makefile generated from CMakeLists.txt . -- Osamu Aoki Mon, 12 Jan 2015 02:01:01 +0900 debhello (2.0-1) unstable; urgency=low * New upstream release. - C source for an executable with a shared library. - Makefile generated from Makefile.am and configure.ac . -- Osamu Aoki Mon, 12 Jan 2015 02:00:01 +0900 debhello (1.7-1) unstable; urgency=low * New upstream release. - C source for an executable. - Makefile generated from CMakeLists.txt . -- Osamu Aoki Mon, 12 Jan 2015 01:07:01 +0900 debhello (1.6-1) unstable; urgency=low * New upstream release. - C source for an executable. - Makefile generated from Makefile.am and configure.ac . -- Osamu Aoki Mon, 12 Jan 2015 01:06:01 +0900 debhello (1.5-1) unstable; urgency=low * New upstream release. - C source for an executable. - Makefile generated from Makefile.in and ./configure . -- Osamu Aoki Mon, 12 Jan 2015 01:05:01 +0900 debhello (1.4-1) unstable; urgency=low * New upstream release. - C source for an executable. - Makefile not supporting $(DESTDIR) and $(prefix) . -- Osamu Aoki Mon, 12 Jan 2015 01:04:01 +0900 debhello (1.3-1) unstable; urgency=low * New upstream release. - Python3 script with the graphical user interface. - Packaged in Python distutils with setup.py . -- Osamu Aoki Mon, 12 Jan 2015 01:03:01 +0900 debhello (1.2-1) unstable; urgency=low * New upstream release. - Python3 script with the command-line interface. - Packaged in Python distutils with setup.py . -- Osamu Aoki Mon, 12 Jan 2015 01:02:01 +0900 debhello (1.1-1) unstable; urgency=low * New upstream release. - POSIX shell script and data with the graphical user interface. - Makefile supporting $(DESTDIR) and $(prefix) . -- Osamu Aoki Mon, 12 Jan 2015 01:01:01 +0900 debhello (1.0-1) unstable; urgency=low * New upstream release. - POSIX shell script and data. - Makefile supporting $(DESTDIR) and $(prefix) . -- Osamu Aoki Mon, 12 Jan 2015 01:00:01 +0900 debhello (0.2-1) unstable; urgency=low * New upstream release. - POSIX shell script and data without Makefile. -- Osamu Aoki Mon, 12 Jan 2015 00:02:01 +0900 debhello (0.1-1) unstable; urgency=low * New upstream release. - Empty content. -- Osamu Aoki Mon, 12 Jan 2015 00:01:01 +0900 debhello (0.0-1) unstable; urgency=low * Initial release of debhello. Closes: #123456 - C source for an executable. - Makefile supporting $(DESTDIR) and $(prefix)=/usr . -- Osamu Aoki Mon, 12 Jan 2015 00:00:01 +0900 debmake-doc-1.1/debhello-3.3/debian/libsharedlib1.install0000664000175000017500000000002112613712701022131 0ustar osamuosamuusr/lib/*/*.so.* debmake-doc-1.1/debhello-3.3/debian/rules0000775000175000017500000000064012613712701017123 0ustar osamuosamu#!/usr/bin/make -f export DH_VERBOSE = 1 export DEB_BUILD_MAINT_OPTIONS = hardening=+all export DEB_CFLAGS_MAINT_APPEND = -Wall -pedantic export DEB_LDFLAGS_MAINT_APPEND = -Wl,--as-needed %: dh $@ --with autoreconf override_dh_install: dh_install --list-missing -X.la -X.pyc -X.pyo override_dh_strip: dh_strip -Xlibsharedlib1 --dbg-package=debhello-dbg dh_strip -Xdebhello --dbg-package=libsharedlib1-dbg debmake-doc-1.1/debhello-3.3/debian/libsharedlib-dev.install0000664000175000017500000000006712613712701022636 0ustar osamuosamu###usr/lib/*/pkgconfig/*.pc usr/include usr/lib/*/*.so debmake-doc-1.1/debhello-3.3/debian/source/0000775000175000017500000000000012613712701017343 5ustar osamuosamudebmake-doc-1.1/debhello-3.3/debian/source/format0000664000175000017500000000001512613712701020552 0ustar osamuosamu3.0 (quilt) debmake-doc-1.1/debhello-3.3/debian/source/local-options0000664000175000017500000000005212613712701022046 0ustar osamuosamuabort-on-upstream-changes unapply-patches debmake-doc-1.1/debhello-3.3/debian/debhello.install0000664000175000017500000000005512613712701021211 0ustar osamuosamuusr/bin/* usr/share/locale/* usr/share/man/* debmake-doc-1.1/debhello-3.3/debian/README.Debian0000664000175000017500000000031212613712701020100 0ustar osamuosamudebhello upstream package example This is an example upstream package to demonstrate the Debian packaging using the debmake command. -- Osamu Aoki Sun, 11 Jan 2015 00:00:00 +0000 debmake-doc-1.1/debhello-3.3/debian/compat0000664000175000017500000000000212613712701017241 0ustar osamuosamu9 debmake-doc-1.1/debhello-3.3/debian/libsharedlib1.symbols0000664000175000017500000000007512613712701022164 0ustar osamuosamulibsharedlib.so.1 libsharedlib1 #MINVER# sharedlib@Base 2.1 debmake-doc-1.1/debhello-3.3/debian/watch0000664000175000017500000000022412613712701017072 0ustar osamuosamu# When there is no appropriate upstream URL for uscan, it is # the best to have a watch file without any real content as # this file. See uscan(1). debmake-doc-1.1/debhello-3.3/debian/copyright0000664000175000017500000000241512613712701020000 0ustar osamuosamuFormat: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ Upstream-Name: debhello Source: http://anonscm.debian.org/cgit/collab-maint/debmake-doc.git/tree/base Files: * Copyright: 2015 Osamu Aoki License: MIT Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: . The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. . THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. debmake-doc-1.1/debhello-3.3/src/0000775000175000017500000000000012613712701015410 5ustar osamuosamudebmake-doc-1.1/debhello-3.3/src/Makefile.am0000664000175000017500000000070512613712701017446 0ustar osamuosamu# program executables to be produced bin_PROGRAMS = hello # source files used for bin_PROGRAMS hello_SOURCES = hello.c # C pre-processor flags used for bin_PROGRAMS AM_CPPFLAGS = -I$(srcdir) -I$(top_srcdir)/lib # Extra options for the linker for hello hello_LDFLAGS = $(LTLIBINTL) # Libraries the `hello` binary to be linked hello_LDADD = $(top_srcdir)/lib/libsharedlib.la # localedir = $(datadir)/locale DEFS = -DLOCALEDIR=\"$(localedir)\" @DEFS@ debmake-doc-1.1/debhello-3.3/src/hello.c0000664000175000017500000000053712613712701016664 0ustar osamuosamu#include "config.h" #include #include #include #include #define _(string) gettext (string) int main() { setlocale(LC_ALL,""); bindtextdomain(PACKAGE, LOCALEDIR); textdomain(PACKAGE); printf(_("Hello, I am %s!\n"), PACKAGE_AUTHOR); sharedlib(); return 0; } debmake-doc-1.1/debhello-3.3/configure.ac.new0000664000175000017500000000204112613712701017674 0ustar osamuosamu# -*- Autoconf -*- # Process this file with autoconf to produce a configure script. AC_PREREQ([2.69]) AC_INIT([debhello],[2.2],[foo@example.org]) AC_CONFIG_SRCDIR([src/hello.c]) AC_CONFIG_HEADERS([config.h]) echo "Standard customization chores" AC_CONFIG_AUX_DIR([build-aux]) AM_INIT_AUTOMAKE([foreign]) # Set default to --enable-shared --disable-static LT_INIT([shared disable-static]) # find the libltdl sources in the libltdl sub-directory LT_CONFIG_LTDL_DIR([libltdl]) # choose one LTDL_INIT([recursive]) #LTDL_INIT([subproject]) #LTDL_INIT([nonrecursive]) # Add #define PACKAGE_AUTHOR ... in config.h with a comment AC_DEFINE(PACKAGE_AUTHOR, ["Osamu Aoki"], [Define PACKAGE_AUTHOR]) # Checks for programs. AC_PROG_CC # desktop file support required AM_GNU_GETTEXT_VERSION([0.19.3]) AM_GNU_GETTEXT([external]) # only for the recursive case AC_CONFIG_FILES([Makefile po/Makefile.in lib/Makefile man/Makefile src/Makefile]) AC_OUTPUT debmake-doc-1.1/debhello-3.3/configure.ac0000664000175000017500000000204112613712701017104 0ustar osamuosamu# -*- Autoconf -*- # Process this file with autoconf to produce a configure script. AC_PREREQ([2.69]) AC_INIT([debhello],[2.2],[foo@example.org]) AC_CONFIG_SRCDIR([src/hello.c]) AC_CONFIG_HEADERS([config.h]) echo "Standard customization chores" AC_CONFIG_AUX_DIR([build-aux]) AM_INIT_AUTOMAKE([foreign]) # Set default to --enable-shared --disable-static LT_INIT([shared disable-static]) # find the libltdl sources in the libltdl sub-directory LT_CONFIG_LTDL_DIR([libltdl]) # choose one LTDL_INIT([recursive]) #LTDL_INIT([subproject]) #LTDL_INIT([nonrecursive]) # Add #define PACKAGE_AUTHOR ... in config.h with a comment AC_DEFINE(PACKAGE_AUTHOR, ["Osamu Aoki"], [Define PACKAGE_AUTHOR]) # Checks for programs. AC_PROG_CC # desktop file support required AM_GNU_GETTEXT_VERSION([0.19.3]) AM_GNU_GETTEXT([external]) # only for the recursive case AC_CONFIG_FILES([Makefile po/Makefile.in lib/Makefile man/Makefile src/Makefile]) AC_OUTPUT debmake-doc-1.1/debhello-3.3/po/0000775000175000017500000000000012613712701015237 5ustar osamuosamudebmake-doc-1.1/debhello-3.3/po/en@boldquot.header0000664000175000017500000000247112613712701020671 0ustar osamuosamu# All this catalog "translates" are quotation characters. # The msgids must be ASCII and therefore cannot contain real quotation # characters, only substitutes like grave accent (0x60), apostrophe (0x27) # and double quote (0x22). These substitutes look strange; see # http://www.cl.cam.ac.uk/~mgk25/ucs/quotes.html # # This catalog translates grave accent (0x60) and apostrophe (0x27) to # left single quotation mark (U+2018) and right single quotation mark (U+2019). # It also translates pairs of apostrophe (0x27) to # left single quotation mark (U+2018) and right single quotation mark (U+2019) # and pairs of quotation mark (0x22) to # left double quotation mark (U+201C) and right double quotation mark (U+201D). # # When output to an UTF-8 terminal, the quotation characters appear perfectly. # When output to an ISO-8859-1 terminal, the single quotation marks are # transliterated to apostrophes (by iconv in glibc 2.2 or newer) or to # grave/acute accent (by libiconv), and the double quotation marks are # transliterated to 0x22. # When output to an ASCII terminal, the single quotation marks are # transliterated to apostrophes, and the double quotation marks are # transliterated to 0x22. # # This catalog furthermore displays the text between the quotation marks in # bold face, assuming the VT100/XTerm escape sequences. # debmake-doc-1.1/debhello-3.3/po/boldquot.sed0000664000175000017500000000033112613712701017562 0ustar osamuosamus/"\([^"]*\)"/“\1”/g s/`\([^`']*\)'/‘\1’/g s/ '\([^`']*\)' / ‘\1’ /g s/ '\([^`']*\)'$/ ‘\1’/g s/^'\([^`']*\)' /‘\1’ /g s/“”/""/g s/“/“/g s/”/”/g s/‘/‘/g s/’/’/g debmake-doc-1.1/debhello-3.3/po/en@quot.header0000664000175000017500000000226312613712701020027 0ustar osamuosamu# All this catalog "translates" are quotation characters. # The msgids must be ASCII and therefore cannot contain real quotation # characters, only substitutes like grave accent (0x60), apostrophe (0x27) # and double quote (0x22). These substitutes look strange; see # http://www.cl.cam.ac.uk/~mgk25/ucs/quotes.html # # This catalog translates grave accent (0x60) and apostrophe (0x27) to # left single quotation mark (U+2018) and right single quotation mark (U+2019). # It also translates pairs of apostrophe (0x27) to # left single quotation mark (U+2018) and right single quotation mark (U+2019) # and pairs of quotation mark (0x22) to # left double quotation mark (U+201C) and right double quotation mark (U+201D). # # When output to an UTF-8 terminal, the quotation characters appear perfectly. # When output to an ISO-8859-1 terminal, the single quotation marks are # transliterated to apostrophes (by iconv in glibc 2.2 or newer) or to # grave/acute accent (by libiconv), and the double quotation marks are # transliterated to 0x22. # When output to an ASCII terminal, the single quotation marks are # transliterated to apostrophes, and the double quotation marks are # transliterated to 0x22. # debmake-doc-1.1/debhello-3.3/po/Rules-quot0000664000175000017500000000416512613712701017250 0ustar osamuosamu# This file, Rules-quot, can be copied and used freely without restrictions. # Special Makefile rules for English message catalogs with quotation marks. DISTFILES.common.extra1 = quot.sed boldquot.sed en@quot.header en@boldquot.header insert-header.sin Rules-quot .SUFFIXES: .insert-header .po-update-en en@quot.po-create: $(MAKE) en@quot.po-update en@boldquot.po-create: $(MAKE) en@boldquot.po-update en@quot.po-update: en@quot.po-update-en en@boldquot.po-update: en@boldquot.po-update-en .insert-header.po-update-en: @lang=`echo $@ | sed -e 's/\.po-update-en$$//'`; \ if test "$(PACKAGE)" = "gettext-tools"; then PATH=`pwd`/../src:$$PATH; GETTEXTLIBDIR=`cd $(top_srcdir)/src && pwd`; export GETTEXTLIBDIR; fi; \ tmpdir=`pwd`; \ echo "$$lang:"; \ ll=`echo $$lang | sed -e 's/@.*//'`; \ LC_ALL=C; export LC_ALL; \ cd $(srcdir); \ if $(MSGINIT) $(MSGINIT_OPTIONS) -i $(DOMAIN).pot --no-translator -l $$lang -o - 2>/dev/null \ | $(SED) -f $$tmpdir/$$lang.insert-header | $(MSGCONV) -t UTF-8 | \ { case `$(MSGFILTER) --version | sed 1q | sed -e 's,^[^0-9]*,,'` in \ '' | 0.[0-9] | 0.[0-9].* | 0.1[0-8] | 0.1[0-8].*) \ $(MSGFILTER) $(SED) -f `echo $$lang | sed -e 's/.*@//'`.sed \ ;; \ *) \ $(MSGFILTER) `echo $$lang | sed -e 's/.*@//'` \ ;; \ esac } 2>/dev/null > $$tmpdir/$$lang.new.po \ ; then \ if cmp $$lang.po $$tmpdir/$$lang.new.po >/dev/null 2>&1; then \ rm -f $$tmpdir/$$lang.new.po; \ else \ if mv -f $$tmpdir/$$lang.new.po $$lang.po; then \ :; \ else \ echo "creation of $$lang.po failed: cannot move $$tmpdir/$$lang.new.po to $$lang.po" 1>&2; \ exit 1; \ fi; \ fi; \ else \ echo "creation of $$lang.po failed!" 1>&2; \ rm -f $$tmpdir/$$lang.new.po; \ fi en@quot.insert-header: insert-header.sin sed -e '/^#/d' -e 's/HEADER/en@quot.header/g' $(srcdir)/insert-header.sin > en@quot.insert-header en@boldquot.insert-header: insert-header.sin sed -e '/^#/d' -e 's/HEADER/en@boldquot.header/g' $(srcdir)/insert-header.sin > en@boldquot.insert-header mostlyclean: mostlyclean-quot mostlyclean-quot: rm -f *.insert-header debmake-doc-1.1/debhello-3.3/po/LINGUAS0000664000175000017500000000000312613712701016255 0ustar osamuosamufr debmake-doc-1.1/debhello-3.3/po/ChangeLog0000664000175000017500000000073612613712701017017 0ustar osamuosamu2015-02-17 gettextize * Makefile.in.in: New file, from gettext-0.19.3. * Rules-quot: New file, from gettext-0.19.3. * boldquot.sed: New file, from gettext-0.19.3. * en@boldquot.header: New file, from gettext-0.19.3. * en@quot.header: New file, from gettext-0.19.3. * insert-header.sin: New file, from gettext-0.19.3. * quot.sed: New file, from gettext-0.19.3. * remove-potcdate.sin: New file, from gettext-0.19.3. * POTFILES.in: New file. debmake-doc-1.1/debhello-3.3/po/POTFILES.in0000664000175000017500000000006212613712701017012 0ustar osamuosamusrc/hello.c lib/sharedlib.c data/hello.desktop.in debmake-doc-1.1/debhello-3.3/po/Makefile.in.in0000664000175000017500000004155312613712701017721 0ustar osamuosamu# Makefile for PO directory in any package using GNU gettext. # Copyright (C) 1995-1997, 2000-2007, 2009-2010 by Ulrich Drepper # # This file can be copied and used freely without restrictions. It can # be used in projects which are not available under the GNU General Public # License but which still want to provide support for the GNU gettext # functionality. # Please note that the actual code of GNU gettext is covered by the GNU # General Public License and is *not* in the public domain. # # Origin: gettext-0.19 GETTEXT_MACRO_VERSION = 0.19 PACKAGE = @PACKAGE@ VERSION = @VERSION@ PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@ SED = @SED@ SHELL = /bin/sh @SET_MAKE@ srcdir = @srcdir@ top_srcdir = @top_srcdir@ VPATH = @srcdir@ prefix = @prefix@ exec_prefix = @exec_prefix@ datarootdir = @datarootdir@ datadir = @datadir@ localedir = @localedir@ gettextsrcdir = $(datadir)/gettext/po INSTALL = @INSTALL@ INSTALL_DATA = @INSTALL_DATA@ # We use $(mkdir_p). # In automake <= 1.9.x, $(mkdir_p) is defined either as "mkdir -p --" or as # "$(mkinstalldirs)" or as "$(install_sh) -d". For these automake versions, # @install_sh@ does not start with $(SHELL), so we add it. # In automake >= 1.10, @mkdir_p@ is derived from ${MKDIR_P}, which is defined # either as "/path/to/mkdir -p" or ".../install-sh -c -d". For these automake # versions, $(mkinstalldirs) and $(install_sh) are unused. mkinstalldirs = $(SHELL) @install_sh@ -d install_sh = $(SHELL) @install_sh@ MKDIR_P = @MKDIR_P@ mkdir_p = @mkdir_p@ GMSGFMT_ = @GMSGFMT@ GMSGFMT_no = @GMSGFMT@ GMSGFMT_yes = @GMSGFMT_015@ GMSGFMT = $(GMSGFMT_$(USE_MSGCTXT)) MSGFMT_ = @MSGFMT@ MSGFMT_no = @MSGFMT@ MSGFMT_yes = @MSGFMT_015@ MSGFMT = $(MSGFMT_$(USE_MSGCTXT)) XGETTEXT_ = @XGETTEXT@ XGETTEXT_no = @XGETTEXT@ XGETTEXT_yes = @XGETTEXT_015@ XGETTEXT = $(XGETTEXT_$(USE_MSGCTXT)) MSGMERGE = msgmerge MSGMERGE_UPDATE = @MSGMERGE@ --update MSGINIT = msginit MSGCONV = msgconv MSGFILTER = msgfilter POFILES = @POFILES@ GMOFILES = @GMOFILES@ UPDATEPOFILES = @UPDATEPOFILES@ DUMMYPOFILES = @DUMMYPOFILES@ DISTFILES.common = Makefile.in.in remove-potcdate.sin \ $(DISTFILES.common.extra1) $(DISTFILES.common.extra2) $(DISTFILES.common.extra3) DISTFILES = $(DISTFILES.common) Makevars POTFILES.in \ $(POFILES) $(GMOFILES) \ $(DISTFILES.extra1) $(DISTFILES.extra2) $(DISTFILES.extra3) POTFILES = \ CATALOGS = @CATALOGS@ POFILESDEPS_ = $(srcdir)/$(DOMAIN).pot POFILESDEPS_yes = $(POFILESDEPS_) POFILESDEPS_no = POFILESDEPS = $(POFILESDEPS_$(PO_DEPENDS_ON_POT)) DISTFILESDEPS_ = update-po DISTFILESDEPS_yes = $(DISTFILESDEPS_) DISTFILESDEPS_no = DISTFILESDEPS = $(DISTFILESDEPS_$(DIST_DEPENDS_ON_UPDATE_PO)) # Makevars gets inserted here. (Don't remove this line!) .SUFFIXES: .SUFFIXES: .po .gmo .mo .sed .sin .nop .po-create .po-update .po.mo: @echo "$(MSGFMT) -c -o $@ $<"; \ $(MSGFMT) -c -o t-$@ $< && mv t-$@ $@ .po.gmo: @lang=`echo $* | sed -e 's,.*/,,'`; \ test "$(srcdir)" = . && cdcmd="" || cdcmd="cd $(srcdir) && "; \ echo "$${cdcmd}rm -f $${lang}.gmo && $(GMSGFMT) -c --statistics --verbose -o $${lang}.gmo $${lang}.po"; \ cd $(srcdir) && rm -f $${lang}.gmo && $(GMSGFMT) -c --statistics --verbose -o t-$${lang}.gmo $${lang}.po && mv t-$${lang}.gmo $${lang}.gmo .sin.sed: sed -e '/^#/d' $< > t-$@ mv t-$@ $@ all: all-@USE_NLS@ all-yes: stamp-po all-no: # Ensure that the gettext macros and this Makefile.in.in are in sync. CHECK_MACRO_VERSION = \ test "$(GETTEXT_MACRO_VERSION)" = "@GETTEXT_MACRO_VERSION@" \ || { echo "*** error: gettext infrastructure mismatch: using a Makefile.in.in from gettext version $(GETTEXT_MACRO_VERSION) but the autoconf macros are from gettext version @GETTEXT_MACRO_VERSION@" 1>&2; \ exit 1; \ } # $(srcdir)/$(DOMAIN).pot is only created when needed. When xgettext finds no # internationalized messages, no $(srcdir)/$(DOMAIN).pot is created (because # we don't want to bother translators with empty POT files). We assume that # LINGUAS is empty in this case, i.e. $(POFILES) and $(GMOFILES) are empty. # In this case, stamp-po is a nop (i.e. a phony target). # stamp-po is a timestamp denoting the last time at which the CATALOGS have # been loosely updated. Its purpose is that when a developer or translator # checks out the package via CVS, and the $(DOMAIN).pot file is not in CVS, # "make" will update the $(DOMAIN).pot and the $(CATALOGS), but subsequent # invocations of "make" will do nothing. This timestamp would not be necessary # if updating the $(CATALOGS) would always touch them; however, the rule for # $(POFILES) has been designed to not touch files that don't need to be # changed. stamp-po: $(srcdir)/$(DOMAIN).pot @$(CHECK_MACRO_VERSION) test ! -f $(srcdir)/$(DOMAIN).pot || \ test -z "$(GMOFILES)" || $(MAKE) $(GMOFILES) @test ! -f $(srcdir)/$(DOMAIN).pot || { \ echo "touch stamp-po" && \ echo timestamp > stamp-poT && \ mv stamp-poT stamp-po; \ } # Note: Target 'all' must not depend on target '$(DOMAIN).pot-update', # otherwise packages like GCC can not be built if only parts of the source # have been downloaded. # This target rebuilds $(DOMAIN).pot; it is an expensive operation. # Note that $(DOMAIN).pot is not touched if it doesn't need to be changed. # The determination of whether the package xyz is a GNU one is based on the # heuristic whether some file in the top level directory mentions "GNU xyz". # If GNU 'find' is available, we avoid grepping through monster files. $(DOMAIN).pot-update: $(POTFILES) $(srcdir)/POTFILES.in remove-potcdate.sed package_gnu="$(PACKAGE_GNU)"; \ test -n "$$package_gnu" || { \ if { if (LC_ALL=C find --version) 2>/dev/null | grep GNU >/dev/null; then \ LC_ALL=C find -L $(top_srcdir) -maxdepth 1 -type f \ -size -10000000c -exec grep 'GNU @PACKAGE@' \ /dev/null '{}' ';' 2>/dev/null; \ else \ LC_ALL=C grep 'GNU @PACKAGE@' $(top_srcdir)/* 2>/dev/null; \ fi; \ } | grep -v 'libtool:' >/dev/null; then \ package_gnu=yes; \ else \ package_gnu=no; \ fi; \ }; \ if test "$$package_gnu" = "yes"; then \ package_prefix='GNU '; \ else \ package_prefix=''; \ fi; \ if test -n '$(MSGID_BUGS_ADDRESS)' || test '$(PACKAGE_BUGREPORT)' = '@'PACKAGE_BUGREPORT'@'; then \ msgid_bugs_address='$(MSGID_BUGS_ADDRESS)'; \ else \ msgid_bugs_address='$(PACKAGE_BUGREPORT)'; \ fi; \ case `$(XGETTEXT) --version | sed 1q | sed -e 's,^[^0-9]*,,'` in \ '' | 0.[0-9] | 0.[0-9].* | 0.1[0-5] | 0.1[0-5].* | 0.16 | 0.16.[0-1]*) \ $(XGETTEXT) --default-domain=$(DOMAIN) --directory=$(top_srcdir) \ --add-comments=TRANSLATORS: $(XGETTEXT_OPTIONS) @XGETTEXT_EXTRA_OPTIONS@ \ --files-from=$(srcdir)/POTFILES.in \ --copyright-holder='$(COPYRIGHT_HOLDER)' \ --msgid-bugs-address="$$msgid_bugs_address" \ ;; \ *) \ $(XGETTEXT) --default-domain=$(DOMAIN) --directory=$(top_srcdir) \ --add-comments=TRANSLATORS: $(XGETTEXT_OPTIONS) @XGETTEXT_EXTRA_OPTIONS@ \ --files-from=$(srcdir)/POTFILES.in \ --copyright-holder='$(COPYRIGHT_HOLDER)' \ --package-name="$${package_prefix}@PACKAGE@" \ --package-version='@VERSION@' \ --msgid-bugs-address="$$msgid_bugs_address" \ ;; \ esac test ! -f $(DOMAIN).po || { \ if test -f $(srcdir)/$(DOMAIN).pot; then \ sed -f remove-potcdate.sed < $(srcdir)/$(DOMAIN).pot > $(DOMAIN).1po && \ sed -f remove-potcdate.sed < $(DOMAIN).po > $(DOMAIN).2po && \ if cmp $(DOMAIN).1po $(DOMAIN).2po >/dev/null 2>&1; then \ rm -f $(DOMAIN).1po $(DOMAIN).2po $(DOMAIN).po; \ else \ rm -f $(DOMAIN).1po $(DOMAIN).2po $(srcdir)/$(DOMAIN).pot && \ mv $(DOMAIN).po $(srcdir)/$(DOMAIN).pot; \ fi; \ else \ mv $(DOMAIN).po $(srcdir)/$(DOMAIN).pot; \ fi; \ } # This rule has no dependencies: we don't need to update $(DOMAIN).pot at # every "make" invocation, only create it when it is missing. # Only "make $(DOMAIN).pot-update" or "make dist" will force an update. $(srcdir)/$(DOMAIN).pot: $(MAKE) $(DOMAIN).pot-update # This target rebuilds a PO file if $(DOMAIN).pot has changed. # Note that a PO file is not touched if it doesn't need to be changed. $(POFILES): $(POFILESDEPS) @lang=`echo $@ | sed -e 's,.*/,,' -e 's/\.po$$//'`; \ if test -f "$(srcdir)/$${lang}.po"; then \ test -f $(srcdir)/$(DOMAIN).pot || $(MAKE) $(srcdir)/$(DOMAIN).pot; \ test "$(srcdir)" = . && cdcmd="" || cdcmd="cd $(srcdir) && "; \ echo "$${cdcmd}$(MSGMERGE_UPDATE) $(MSGMERGE_OPTIONS) --lang=$${lang} $${lang}.po $(DOMAIN).pot"; \ cd $(srcdir) \ && { case `$(MSGMERGE_UPDATE) --version | sed 1q | sed -e 's,^[^0-9]*,,'` in \ '' | 0.[0-9] | 0.[0-9].* | 0.1[0-7] | 0.1[0-7].*) \ $(MSGMERGE_UPDATE) $(MSGMERGE_OPTIONS) $${lang}.po $(DOMAIN).pot;; \ *) \ $(MSGMERGE_UPDATE) $(MSGMERGE_OPTIONS) --lang=$${lang} $${lang}.po $(DOMAIN).pot;; \ esac; \ }; \ else \ $(MAKE) $${lang}.po-create; \ fi install: install-exec install-data install-exec: install-data: install-data-@USE_NLS@ if test "$(PACKAGE)" = "gettext-tools"; then \ $(mkdir_p) $(DESTDIR)$(gettextsrcdir); \ for file in $(DISTFILES.common) Makevars.template; do \ $(INSTALL_DATA) $(srcdir)/$$file \ $(DESTDIR)$(gettextsrcdir)/$$file; \ done; \ for file in Makevars; do \ rm -f $(DESTDIR)$(gettextsrcdir)/$$file; \ done; \ else \ : ; \ fi install-data-no: all install-data-yes: all @catalogs='$(CATALOGS)'; \ for cat in $$catalogs; do \ cat=`basename $$cat`; \ lang=`echo $$cat | sed -e 's/\.gmo$$//'`; \ dir=$(localedir)/$$lang/LC_MESSAGES; \ $(mkdir_p) $(DESTDIR)$$dir; \ if test -r $$cat; then realcat=$$cat; else realcat=$(srcdir)/$$cat; fi; \ $(INSTALL_DATA) $$realcat $(DESTDIR)$$dir/$(DOMAIN).mo; \ echo "installing $$realcat as $(DESTDIR)$$dir/$(DOMAIN).mo"; \ for lc in '' $(EXTRA_LOCALE_CATEGORIES); do \ if test -n "$$lc"; then \ if (cd $(DESTDIR)$(localedir)/$$lang && LC_ALL=C ls -l -d $$lc 2>/dev/null) | grep ' -> ' >/dev/null; then \ link=`cd $(DESTDIR)$(localedir)/$$lang && LC_ALL=C ls -l -d $$lc | sed -e 's/^.* -> //'`; \ mv $(DESTDIR)$(localedir)/$$lang/$$lc $(DESTDIR)$(localedir)/$$lang/$$lc.old; \ mkdir $(DESTDIR)$(localedir)/$$lang/$$lc; \ (cd $(DESTDIR)$(localedir)/$$lang/$$lc.old && \ for file in *; do \ if test -f $$file; then \ ln -s ../$$link/$$file $(DESTDIR)$(localedir)/$$lang/$$lc/$$file; \ fi; \ done); \ rm -f $(DESTDIR)$(localedir)/$$lang/$$lc.old; \ else \ if test -d $(DESTDIR)$(localedir)/$$lang/$$lc; then \ :; \ else \ rm -f $(DESTDIR)$(localedir)/$$lang/$$lc; \ mkdir $(DESTDIR)$(localedir)/$$lang/$$lc; \ fi; \ fi; \ rm -f $(DESTDIR)$(localedir)/$$lang/$$lc/$(DOMAIN).mo; \ ln -s ../LC_MESSAGES/$(DOMAIN).mo $(DESTDIR)$(localedir)/$$lang/$$lc/$(DOMAIN).mo 2>/dev/null || \ ln $(DESTDIR)$(localedir)/$$lang/LC_MESSAGES/$(DOMAIN).mo $(DESTDIR)$(localedir)/$$lang/$$lc/$(DOMAIN).mo 2>/dev/null || \ cp -p $(DESTDIR)$(localedir)/$$lang/LC_MESSAGES/$(DOMAIN).mo $(DESTDIR)$(localedir)/$$lang/$$lc/$(DOMAIN).mo; \ echo "installing $$realcat link as $(DESTDIR)$(localedir)/$$lang/$$lc/$(DOMAIN).mo"; \ fi; \ done; \ done install-strip: install installdirs: installdirs-exec installdirs-data installdirs-exec: installdirs-data: installdirs-data-@USE_NLS@ if test "$(PACKAGE)" = "gettext-tools"; then \ $(mkdir_p) $(DESTDIR)$(gettextsrcdir); \ else \ : ; \ fi installdirs-data-no: installdirs-data-yes: @catalogs='$(CATALOGS)'; \ for cat in $$catalogs; do \ cat=`basename $$cat`; \ lang=`echo $$cat | sed -e 's/\.gmo$$//'`; \ dir=$(localedir)/$$lang/LC_MESSAGES; \ $(mkdir_p) $(DESTDIR)$$dir; \ for lc in '' $(EXTRA_LOCALE_CATEGORIES); do \ if test -n "$$lc"; then \ if (cd $(DESTDIR)$(localedir)/$$lang && LC_ALL=C ls -l -d $$lc 2>/dev/null) | grep ' -> ' >/dev/null; then \ link=`cd $(DESTDIR)$(localedir)/$$lang && LC_ALL=C ls -l -d $$lc | sed -e 's/^.* -> //'`; \ mv $(DESTDIR)$(localedir)/$$lang/$$lc $(DESTDIR)$(localedir)/$$lang/$$lc.old; \ mkdir $(DESTDIR)$(localedir)/$$lang/$$lc; \ (cd $(DESTDIR)$(localedir)/$$lang/$$lc.old && \ for file in *; do \ if test -f $$file; then \ ln -s ../$$link/$$file $(DESTDIR)$(localedir)/$$lang/$$lc/$$file; \ fi; \ done); \ rm -f $(DESTDIR)$(localedir)/$$lang/$$lc.old; \ else \ if test -d $(DESTDIR)$(localedir)/$$lang/$$lc; then \ :; \ else \ rm -f $(DESTDIR)$(localedir)/$$lang/$$lc; \ mkdir $(DESTDIR)$(localedir)/$$lang/$$lc; \ fi; \ fi; \ fi; \ done; \ done # Define this as empty until I found a useful application. installcheck: uninstall: uninstall-exec uninstall-data uninstall-exec: uninstall-data: uninstall-data-@USE_NLS@ if test "$(PACKAGE)" = "gettext-tools"; then \ for file in $(DISTFILES.common) Makevars.template; do \ rm -f $(DESTDIR)$(gettextsrcdir)/$$file; \ done; \ else \ : ; \ fi uninstall-data-no: uninstall-data-yes: catalogs='$(CATALOGS)'; \ for cat in $$catalogs; do \ cat=`basename $$cat`; \ lang=`echo $$cat | sed -e 's/\.gmo$$//'`; \ for lc in LC_MESSAGES $(EXTRA_LOCALE_CATEGORIES); do \ rm -f $(DESTDIR)$(localedir)/$$lang/$$lc/$(DOMAIN).mo; \ done; \ done check: all info dvi ps pdf html tags TAGS ctags CTAGS ID: mostlyclean: rm -f remove-potcdate.sed rm -f stamp-poT rm -f core core.* $(DOMAIN).po $(DOMAIN).1po $(DOMAIN).2po *.new.po rm -fr *.o clean: mostlyclean distclean: clean rm -f Makefile Makefile.in POTFILES *.mo maintainer-clean: distclean @echo "This command is intended for maintainers to use;" @echo "it deletes files that may require special tools to rebuild." rm -f stamp-po $(GMOFILES) distdir = $(top_builddir)/$(PACKAGE)-$(VERSION)/$(subdir) dist distdir: test -z "$(DISTFILESDEPS)" || $(MAKE) $(DISTFILESDEPS) @$(MAKE) dist2 # This is a separate target because 'update-po' must be executed before. dist2: stamp-po $(DISTFILES) dists="$(DISTFILES)"; \ if test "$(PACKAGE)" = "gettext-tools"; then \ dists="$$dists Makevars.template"; \ fi; \ if test -f $(srcdir)/$(DOMAIN).pot; then \ dists="$$dists $(DOMAIN).pot stamp-po"; \ fi; \ if test -f $(srcdir)/ChangeLog; then \ dists="$$dists ChangeLog"; \ fi; \ for i in 0 1 2 3 4 5 6 7 8 9; do \ if test -f $(srcdir)/ChangeLog.$$i; then \ dists="$$dists ChangeLog.$$i"; \ fi; \ done; \ if test -f $(srcdir)/LINGUAS; then dists="$$dists LINGUAS"; fi; \ for file in $$dists; do \ if test -f $$file; then \ cp -p $$file $(distdir) || exit 1; \ else \ cp -p $(srcdir)/$$file $(distdir) || exit 1; \ fi; \ done update-po: Makefile $(MAKE) $(DOMAIN).pot-update test -z "$(UPDATEPOFILES)" || $(MAKE) $(UPDATEPOFILES) $(MAKE) update-gmo # General rule for creating PO files. .nop.po-create: @lang=`echo $@ | sed -e 's/\.po-create$$//'`; \ echo "File $$lang.po does not exist. If you are a translator, you can create it through 'msginit'." 1>&2; \ exit 1 # General rule for updating PO files. .nop.po-update: @lang=`echo $@ | sed -e 's/\.po-update$$//'`; \ if test "$(PACKAGE)" = "gettext-tools"; then PATH=`pwd`/../src:$$PATH; fi; \ tmpdir=`pwd`; \ echo "$$lang:"; \ test "$(srcdir)" = . && cdcmd="" || cdcmd="cd $(srcdir) && "; \ echo "$${cdcmd}$(MSGMERGE) $(MSGMERGE_OPTIONS) --lang=$$lang $$lang.po $(DOMAIN).pot -o $$lang.new.po"; \ cd $(srcdir); \ if { case `$(MSGMERGE) --version | sed 1q | sed -e 's,^[^0-9]*,,'` in \ '' | 0.[0-9] | 0.[0-9].* | 0.1[0-7] | 0.1[0-7].*) \ $(MSGMERGE) $(MSGMERGE_OPTIONS) -o $$tmpdir/$$lang.new.po $$lang.po $(DOMAIN).pot;; \ *) \ $(MSGMERGE) $(MSGMERGE_OPTIONS) --lang=$$lang -o $$tmpdir/$$lang.new.po $$lang.po $(DOMAIN).pot;; \ esac; \ }; then \ if cmp $$lang.po $$tmpdir/$$lang.new.po >/dev/null 2>&1; then \ rm -f $$tmpdir/$$lang.new.po; \ else \ if mv -f $$tmpdir/$$lang.new.po $$lang.po; then \ :; \ else \ echo "msgmerge for $$lang.po failed: cannot move $$tmpdir/$$lang.new.po to $$lang.po" 1>&2; \ exit 1; \ fi; \ fi; \ else \ echo "msgmerge for $$lang.po failed!" 1>&2; \ rm -f $$tmpdir/$$lang.new.po; \ fi $(DUMMYPOFILES): update-gmo: Makefile $(GMOFILES) @: # Recreate Makefile by invoking config.status. Explicitly invoke the shell, # because execution permission bits may not work on the current file system. # Use @SHELL@, which is the shell determined by autoconf for the use by its # scripts, not $(SHELL) which is hardwired to /bin/sh and may be deficient. Makefile: Makefile.in.in Makevars $(top_builddir)/config.status @POMAKEFILEDEPS@ cd $(top_builddir) \ && @SHELL@ ./config.status $(subdir)/$@.in po-directories force: # Tell versions [3.59,3.63) of GNU make not to export all variables. # Otherwise a system limit (for SysV at least) may be exceeded. .NOEXPORT: debmake-doc-1.1/debhello-3.3/po/remove-potcdate.sin0000664000175000017500000000066012613712701021052 0ustar osamuosamu# Sed script that remove the POT-Creation-Date line in the header entry # from a POT file. # # The distinction between the first and the following occurrences of the # pattern is achieved by looking at the hold space. /^"POT-Creation-Date: .*"$/{ x # Test if the hold space is empty. s/P/P/ ta # Yes it was empty. First occurrence. Remove the line. g d bb :a # The hold space was nonempty. Following occurrences. Do nothing. x :b } debmake-doc-1.1/debhello-3.3/po/fr.po0000664000175000017500000000165212613712701016212 0ustar osamuosamu# SOME DESCRIPTIVE TITLE. # This file is put in the public domain. # FIRST AUTHOR , YEAR. # msgid "" msgstr "" "Project-Id-Version: debhello 2.2\n" "Report-Msgid-Bugs-To: foo@example.org\n" "POT-Creation-Date: 2015-03-01 20:22+0900\n" "PO-Revision-Date: 2015-02-21 23:18+0900\n" "Last-Translator: Osamu Aoki \n" "Language-Team: French \n" "Language: ja\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" #: src/hello.c:34 #, c-format msgid "Hello, I am %s!\n" msgstr "Bonjour, je suis %s!\n" #: lib/sharedlib.c:29 #, c-format msgid "This is a shared library!\n" msgstr "Ceci est une bibliothèque partagée!\n" #: data/hello.desktop.in:3 msgid "Hello" msgstr "" #: data/hello.desktop.in:4 msgid "Greetings" msgstr "Salutations" #: data/hello.desktop.in:6 msgid "hello" msgstr "" #: data/hello.desktop.in:9 msgid "hello.png" msgstr "" debmake-doc-1.1/debhello-3.3/po/Makevars0000664000175000017500000000642412613712701016741 0ustar osamuosamu# Makefile variables for PO directory in any package using GNU gettext. # Usually the message domain is the same as the package name. DOMAIN = $(PACKAGE) # These two variables depend on the location of this directory. subdir = po top_builddir = .. # These options get passed to xgettext. XGETTEXT_OPTIONS = --keyword=_ --keyword=N_ # This is the copyright holder that gets inserted into the header of the # $(DOMAIN).pot file. Set this to the copyright holder of the surrounding # package. (Note that the msgstr strings, extracted from the package's # sources, belong to the copyright holder of the package.) Translators are # expected to transfer the copyright for their translations to this person # or entity, or to disclaim their copyright. The empty string stands for # the public domain; in this case the translators are expected to disclaim # their copyright. COPYRIGHT_HOLDER = # This tells whether or not to prepend "GNU " prefix to the package # name that gets inserted into the header of the $(DOMAIN).pot file. # Possible values are "yes", "no", or empty. If it is empty, try to # detect it automatically by scanning the files in $(top_srcdir) for # "GNU packagename" string. PACKAGE_GNU = no # This is the email address or URL to which the translators shall report # bugs in the untranslated strings: # - Strings which are not entire sentences, see the maintainer guidelines # in the GNU gettext documentation, section 'Preparing Strings'. # - Strings which use unclear terms or require additional context to be # understood. # - Strings which make invalid assumptions about notation of date, time or # money. # - Pluralisation problems. # - Incorrect English spelling. # - Incorrect formatting. # It can be your email address, or a mailing list address where translators # can write to without being subscribed, or the URL of a web page through # which the translators can contact you. MSGID_BUGS_ADDRESS = # This is the list of locale categories, beyond LC_MESSAGES, for which the # message catalogs shall be used. It is usually empty. EXTRA_LOCALE_CATEGORIES = # This tells whether the $(DOMAIN).pot file contains messages with an 'msgctxt' # context. Possible values are "yes" and "no". Set this to yes if the # package uses functions taking also a message context, like pgettext(), or # if in $(XGETTEXT_OPTIONS) you define keywords with a context argument. USE_MSGCTXT = no # These options get passed to msgmerge. # Useful options are in particular: # --previous to keep previous msgids of translated messages, # --quiet to reduce the verbosity. MSGMERGE_OPTIONS = # These options get passed to msginit. # If you want to disable line wrapping when writing PO files, add # --no-wrap to MSGMERGE_OPTIONS, XGETTEXT_OPTIONS, and # MSGINIT_OPTIONS. MSGINIT_OPTIONS = # This tells whether or not to regenerate a PO file when $(DOMAIN).pot # has changed. Possible values are "yes" and "no". Set this to no if # the POT file is checked in the repository and the version control # program ignores timestamps. PO_DEPENDS_ON_POT = yes # This tells whether or not to forcibly update $(DOMAIN).pot and # regenerate PO files on "make dist". Possible values are "yes" and # "no". Set this to no if the POT file and PO files are maintained # externally. DIST_DEPENDS_ON_UPDATE_PO = yes debmake-doc-1.1/debhello-3.3/po/insert-header.sin0000664000175000017500000000124012613712701020501 0ustar osamuosamu# Sed script that inserts the file called HEADER before the header entry. # # At each occurrence of a line starting with "msgid ", we execute the following # commands. At the first occurrence, insert the file. At the following # occurrences, do nothing. The distinction between the first and the following # occurrences is achieved by looking at the hold space. /^msgid /{ x # Test if the hold space is empty. s/m/m/ ta # Yes it was empty. First occurrence. Read the file. r HEADER # Output the file's contents by reading the next line. But don't lose the # current line while doing this. g N bb :a # The hold space was nonempty. Following occurrences. Do nothing. x :b } debmake-doc-1.1/debhello-3.3/po/quot.sed0000664000175000017500000000023112613712701016720 0ustar osamuosamus/"\([^"]*\)"/“\1”/g s/`\([^`']*\)'/‘\1’/g s/ '\([^`']*\)' / ‘\1’ /g s/ '\([^`']*\)'$/ ‘\1’/g s/^'\([^`']*\)' /‘\1’ /g s/“”/""/g debmake-doc-1.1/debhello-3.3/lib/0000775000175000017500000000000012613712701015367 5ustar osamuosamudebmake-doc-1.1/debhello-3.3/lib/Makefile.am0000664000175000017500000000063012613712701017422 0ustar osamuosamu# libtool librares to be produced lib_LTLIBRARIES = libsharedlib.la # source files used for lib_LTLIBRARIES libsharedlib_la_SOURCES = sharedlib.c # C pre-processor flags used for lib_LTLIBRARIES #libsharedlib_la_CPPFLAGS = # Headers files to be installed in /include include_HEADERS = sharedlib.h # Versioning Libtool Libraries with version triplets libsharedlib_la_LDFLAGS = -version-info 1:0:0 debmake-doc-1.1/debhello-3.3/lib/sharedlib.c0000664000175000017500000000026712613712701017475 0ustar osamuosamu#include #include #include #define _(string) gettext (string) int sharedlib() { printf(_("This is a shared library!\n")); return 0; } debmake-doc-1.1/debhello-3.3/lib/sharedlib.h0000664000175000017500000000002112613712701017466 0ustar osamuosamuint sharedlib(); debmake-doc-1.1/debhello-3.3/man/0000775000175000017500000000000012613712701015374 5ustar osamuosamudebmake-doc-1.1/debhello-3.3/man/Makefile.am0000664000175000017500000000010712613712701017426 0ustar osamuosamu# manpages (distributed in the source package) dist_man_MANS = hello.1 debmake-doc-1.1/debhello-3.3/man/hello.10000664000175000017500000000067612613712701016572 0ustar osamuosamu.\" Hey, EMACS: -*- nroff -*- .\" (C) Copyright 2015 "Osamu Aoki" , .TH HELLO 1 "2015-01-12" .SH NAME hello \- example executable program .SH SYNOPSIS .B hello .SH DESCRIPTION This is an example executable program to print a short text message to check how the Debian packaging went. .SH OPTIONS None available. .SH SEE ALSO .BR debmake (1) and documentation in the .BR debmake-doc package. debmake-doc-1.1/debhello-3.3/data/0000775000175000017500000000000012613712701015532 5ustar osamuosamudebmake-doc-1.1/debhello-3.3/data/hello.desktop.in0000664000175000017500000000021112613712701020627 0ustar osamuosamu[Desktop Entry] Name=Hello Comment=Greetings Type=Application Keywords=hello Exec=hello Terminal=true Icon=hello.png Categories=Utility; debmake-doc-1.1/debhello-3.3/data/hello.png0000664000175000017500000002225412613712701017350 0ustar osamuosamuPNG  IHDR@@iqbKGD pHYs  tIME(/SptEXtCommentCreated with GIMPW IDATxڽkYu[\9{zgg !gpb+JC8R)URv2iJ QNYX)\a┉U)d2 `0@\zOޞٷb, ~/ok%7 .w G9S&宴M+SR=_V[[i+1\q>{;OxgER?0śi+!YWcHׅr%o!e8y&eJw(sC`Yh+=|\[Bw`~6/}8:(oվ WdLY n馥^7pPo e-TjpB7V;ei zzg3=<|?X/uRayaot n/ ̂gWFOYܸ;.Ǎ5Y64f́lR(Tok@q9͟dotx㱓xUڱ+DJɒؑ&Qn!%-]@i b ;'IvBZΓ0HgFcT?c۲` fI, Ȼ 81L yjڣ;#7Y {-q?as+˿W߰M+bHUBVT(SƔBm`Wrdh%NJ Nre XMݨFO5Zf:c'K:s@6 c-a/ٹQS1ӦHN+}Ɔ_:|확$~pac35vuGQNJ :dUM;ƨ*$*)Wz.UJ48OԖ$3"K=p7M sjIOAKEe*Z*p~oforMw;G/~1?GOX~ [=aB-Fn ut(A$eOW & iMB5hHyΐrM;Zmx^[NtN U tE@ TBȴ]'nzGh/;?8<$}r _$׈fb*Q SQbQR ɡCCZdSDH)VfG (yJLCb̙T NÔ䖒ziN1s&]pyk%pRZbUA V3%#le>}-(yw |ptz -ϼ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x\iJ%P`au94 M$ב[rͨ1HRFq`;XlccNBp__ 1ӯ[<[WI_֠[G$ ̒Oc1/C+8c$ S'[3Br$ HB`CKmZT>?whſo#S?:q:7WxH4!  :֑2M2kTA'BDR6vR1 B/74>pݯ}k>w[.poGx^ ؼCDnf>o3fzJ4p`ǎ>{h4KPЪI `c<3QdNggmmWζ^/oFx~7p \s{Cb<޲bsdq۶G*qе8|on9tˠ?z1墧}ܻ$;'=1$00j 1ۉuB: gav yyYǀ'yȖ7=dJ6'f{8(U.88|v3ҜX6 R̵[;g{;f䣞Ҷ(/t7[h Build-Depends: debhelper (>=9) Standards-Version: 3.9.6 Homepage: http://anonscm.debian.org/cgit/collab-maint/debmake-doc.git/ Package: debhello Architecture: all Multi-Arch: foreign Depends: ${misc:Depends} Description: example package in the debmake-doc package This is an example package to demonstrate the Debian packaging using the debmake command. . The generated Debian package uses the dh command offered by the debhelper package and the dpkg source format `3.0 (quilt)'. debmake-doc-1.1/debhello-1.0/debian/changelog0000664000175000017500000000145712613712701017717 0ustar osamuosamudebhello (1.0-1) unstable; urgency=low * New upstream release. - POSIX shell script and data. - Makefile supporting $(DESTDIR) and $(prefix) . -- Osamu Aoki Mon, 12 Jan 2015 01:00:01 +0900 debhello (0.2-1) unstable; urgency=low * New upstream release. - POSIX shell script and data without Makefile. -- Osamu Aoki Mon, 12 Jan 2015 00:02:01 +0900 debhello (0.1-1) unstable; urgency=low * New upstream release. - Empty content. -- Osamu Aoki Mon, 12 Jan 2015 00:01:01 +0900 debhello (0.0-1) unstable; urgency=low * Initial release of debhello. Closes: #123456 - C source for an executable. - Makefile supporting $(DESTDIR) and $(prefix)=/usr . -- Osamu Aoki Mon, 12 Jan 2015 00:00:01 +0900 debmake-doc-1.1/debhello-1.0/debian/rules0000775000175000017500000000015712613712701017121 0ustar osamuosamu#!/usr/bin/make -f export DH_VERBOSE = 1 %: dh $@ override_dh_auto_install: dh_auto_install -- prefix=/usr debmake-doc-1.1/debhello-1.0/debian/source/0000775000175000017500000000000012613712701017336 5ustar osamuosamudebmake-doc-1.1/debhello-1.0/debian/source/format0000664000175000017500000000001512613712701020545 0ustar osamuosamu3.0 (quilt) debmake-doc-1.1/debhello-1.0/debian/source/local-options0000664000175000017500000000005212613712701022041 0ustar osamuosamuabort-on-upstream-changes unapply-patches debmake-doc-1.1/debhello-1.0/debian/README.Debian0000664000175000017500000000031212613712701020073 0ustar osamuosamudebhello upstream package example This is an example upstream package to demonstrate the Debian packaging using the debmake command. -- Osamu Aoki Sun, 11 Jan 2015 00:00:00 +0000 debmake-doc-1.1/debhello-1.0/debian/compat0000664000175000017500000000000212613712701017234 0ustar osamuosamu9 debmake-doc-1.1/debhello-1.0/debian/watch0000664000175000017500000000022412613712701017065 0ustar osamuosamu# When there is no appropriate upstream URL for uscan, it is # the best to have a watch file without any real content as # this file. See uscan(1). debmake-doc-1.1/debhello-1.0/debian/copyright0000664000175000017500000000241512613712701017773 0ustar osamuosamuFormat: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ Upstream-Name: debhello Source: http://anonscm.debian.org/cgit/collab-maint/debmake-doc.git/tree/base Files: * Copyright: 2015 Osamu Aoki License: MIT Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: . The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. . THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. debmake-doc-1.1/debhello-1.0/Makefile0000664000175000017500000000123612613712701016256 0ustar osamuosamuprefix = /usr/local all: : # do nothing install: install -D scripts/hello \ $(DESTDIR)$(prefix)/bin/hello install -m 644 -D data/hello.desktop \ $(DESTDIR)$(prefix)/share/applications/hello.desktop install -m 644 -D data/hello.png \ $(DESTDIR)$(prefix)/share/pixmaps/hello.png install -m 644 -D man/hello.1 \ $(DESTDIR)$(prefix)/share/man/man1/hello.1 clean: : # do nothing distclean: clean uninstall: -rm -f $(DESTDIR)$(prefix)/bin/hello -rm -f $(DESTDIR)$(prefix)/share/applications/hello.desktop -rm -f $(DESTDIR)$(prefix)/share/pixmaps/hello.png -rm -f $(DESTDIR)$(prefix)/share/man/man1/hello.1 .PHONY: all install clean distclean uninstall debmake-doc-1.1/debhello-1.0/LICENSE0000664000175000017500000000217712613712701015630 0ustar osamuosamuLicense: All files in this archive are licensed under the MIT License as below. Copyright 2015 Osamu Aoki Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. debmake-doc-1.1/debhello-1.0/man/0000775000175000017500000000000012613712701015367 5ustar osamuosamudebmake-doc-1.1/debhello-1.0/man/hello.10000664000175000017500000000062712613712701016561 0ustar osamuosamu.\" Hey, EMACS: -*- nroff -*- .\" (C) Copyright 2015 "Osamu Aoki" , .TH HELLO 1 "2015-01-12" .SH NAME hello \- example executable program .SH SYNOPSIS .B hello .SH DESCRIPTION This is an example executable program to print a short text message. .SH OPTIONS None available. .SH SEE ALSO .BR debmake (1) and documentation in the .BR debmake-doc package. debmake-doc-1.1/debhello-1.0/data/0000775000175000017500000000000012613712701015525 5ustar osamuosamudebmake-doc-1.1/debhello-1.0/data/hello.desktop0000664000175000017500000000026512613712701020226 0ustar osamuosamu[Desktop Entry] Name=Hello Name[ja]=こんにちは Comment=Greetings Comment[ja]=挨拶 Type=Application Keywords=hello Exec=hello Terminal=true Icon=hello.png Categories=Utility; debmake-doc-1.1/debhello-1.0/data/hello.png0000664000175000017500000002225412613712701017343 0ustar osamuosamuPNG  IHDR@@iqbKGD pHYs  tIME(/SptEXtCommentCreated with GIMPW IDATxڽkYu[\9{zgg !gpb+JC8R)URv2iJ QNYX)\a┉U)d2 `0@\zOޞٷb, ~/ok%7 .w G9S&宴M+SR=_V[[i+1\q>{;OxgER?0śi+!YWcHׅr%o!e8y&eJw(sC`Yh+=|\[Bw`~6/}8:(oվ WdLY n馥^7pPo e-TjpB7V;ei zzg3=<|?X/uRayaot n/ ̂gWFOYܸ;.Ǎ5Y64f́lR(Tok@q9͟dotx㱓xUڱ+DJɒؑ&Qn!%-]@i b ;'IvBZΓ0HgFcT?c۲` fI, Ȼ 81L yjڣ;#7Y {-q?as+˿W߰M+bHUBVT(SƔBm`Wrdh%NJ Nre XMݨFO5Zf:c'K:s@6 c-a/ٹQS1ӦHN+}Ɔ_:|확$~pac35vuGQNJ :dUM;ƨ*$*)Wz.UJ48OԖ$3"K=p7M sjIOAKEe*Z*p~oforMw;G/~1?GOX~ [=aB-Fn ut(A$eOW & iMB5hHyΐrM;Zmx^[NtN U tE@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ȇ#5U0"%ck̼t Jj*zX(dD&2)1hcImC5 R6:|4 N!"Nw\8qw 微{T ̧qkn)FGuoh%ۡ*mjqG1+?}5t7W;U'P(I7>)bڒEi錾x\iJ%P`au94 M$ב[rͨ1HRFq`;XlccNBp__ 1ӯ[<[WI_֠[G$ ̒Oc1/C+8c$ S'[3Br$ HB`CKmZT>?whſo#S?:q:7WxH4!  :֑2M2kTA'BDR6vR1 B/74>pݯ}k>w[.poGx^ ؼCDnf>o3fzJ4p`ǎ>{h4KPЪI `c<3QdNggmmWζ^/oFx~7p \s{Cb<޲bsdq۶G*qе8|on9tˠ?z1墧}ܻ$;'=1$00j 1ۉuB: gav yyYǀ'yȖ7=dJ6'f{8(U.88|v3ҜX6 R̵[;g{;f䣞Ҷ(/t7[h000-prefix-usr.patch" || true L "cat 000-prefix-usr.patch" L "rm -rf ${PROJECT}" L "mv -f ${PROJECT}.orig ${PROJECT}" debmake-doc-1.1/debhello-0.0-pkg2/step301.cmd0000775000175000017500000000025712613712701017347 0ustar osamuosamuecho " \$ vim ${PROJECT}/debian/rules" echo " ... hack, hack, hack, ..." cp -f ${COMMONDIR}/${PROJECT}/debian/rules-2 ${PROJECT}/debian/rules L "cat ${PROJECT}/debian/rules" debmake-doc-1.1/debhello-0.0-pkg2/step000.cmd0000775000175000017500000000037512613712701017344 0ustar osamuosamu# Fake download session echo " \$ wget http://www.example.org/download/${PROJECT}.tar.gz" echo " ..." # Reality behind scene cp -a ${COMMONDIR}/${PROJECT}.${TGZ} ${TESTDIR} CD ${TESTDIR} >/dev/null cd ${TESTDIR} L "tar -xzmf ${PROJECT}.tar.gz" L "tree" debmake-doc-1.1/debhello-0.0-pkg2/step202.cmd0000775000175000017500000000004112613712701017336 0ustar osamuosamuL "cat ${PROJECT}/debian/rules" debmake-doc-1.1/debhello-0.0-pkg2/step701.cmd0000775000175000017500000000032612613712701017350 0ustar osamuosamuFILE=$(ls *.tar.?z | \ grep -v 'orig.tar.gz' |\ grep -v 'orig.tar.xz' ) for f in $FILE ; do EXT=${f##*.} if [ "$EXT" = "gz" ]; then L "tar -tzf $f" elif [ "$EXT" = "xz" ]; then L "tar --xz -tf $f" else : fi done debmake-doc-1.1/debhello-0.0-pkg2/step299.cmd0000775000175000017500000000012012613712701017354 0ustar osamuosamu# make deb CD .. cd .. L "cp -a ${TESTDIR} debmake" CD ${TESTDIR} cd ${TESTDIR} debmake-doc-1.1/debhello-0.0-pkg2/step204.cmd0000775000175000017500000000004512613712701017344 0ustar osamuosamuL "cat ${PROJECT}/debian/copyright" debmake-doc-1.1/debhello-0.0-pkg2/step600.cmd0000775000175000017500000000003312613712701017341 0ustar osamuosamuCD .. cd .. L "tree -FL 1" debmake-doc-1.1/debhello-0.0-pkg2/step102.cmd0000775000175000017500000000003512613712701017340 0ustar osamuosamuL "cat ${PROJECT}/Makefile" debmake-doc-1.1/debhello-0.0-pkg2/step499.cmd0000775000175000017500000000012012613712701017356 0ustar osamuosamu# make deb CD .. cd .. L "cp -a ${TESTDIR} package" CD ${TESTDIR} cd ${TESTDIR} debmake-doc-1.1/debhello-0.0-pkg2/step303.cmd0000775000175000017500000000027512613712701017351 0ustar osamuosamuecho " \$ vim ${PROJECT}/debian/copyright" echo " ... hack, hack, hack, ..." cp -f ${COMMONDIR}/${PROJECT}/debian/copyright ${PROJECT}/debian/copyright L "cat ${PROJECT}/debian/copyright" debmake-doc-1.1/debhello-0.0-pkg2/step400.cmd0000775000175000017500000000003312613712701017337 0ustar osamuosamuL "tree ${PROJECT}/debian" debmake-doc-1.1/debhello-0.0-pkg2/step201.cmd0000775000175000017500000000002512613712701017337 0ustar osamuosamuCD .. cd .. L "tree" debmake-doc-1.1/debhello-0.0-pkg2/step304.cmd0000775000175000017500000000115012613712701017343 0ustar osamuosamuL "echo '000-prefix-usr.patch' >${PROJECT}/debian/patches/series" echo " \$ vim 000-prefix-usr.patch" echo " ... hack, hack, hack, ..." # add header echo "From: Osamu Aoki " > ${PROJECT}/debian/patches/000-prefix-usr.patch echo "Description: set prefix=/usr patch" >> ${PROJECT}/debian/patches/000-prefix-usr.patch # Remove date from patch cat 000-prefix-usr.patch | sed -e 's/Makefile\t[23].*$/Makefile/' >>${PROJECT}/debian/patches/000-prefix-usr.patch echo " \$ mv -f 000-prefix-usr.patch ${PROJECT}/debian/patches/000-prefix-usr.patch" L "cat ${PROJECT}/debian/patches/000-prefix-usr.patch" debmake-doc-1.1/debhello-0.0-pkg2/step203.cmd0000775000175000017500000000004312613712701017341 0ustar osamuosamuL "cat ${PROJECT}/debian/control" debmake-doc-1.1/debhello-0.0-pkg2/step702.cmd0000775000175000017500000000013412613712701017346 0ustar osamuosamufor deb in *.deb; do L "dpkg -f ${deb} pre-depends depends recommends conflics breaks" done debmake-doc-1.1/debhello-0.0-pkg2/step200.cmd0000775000175000017500000000007612613712701017344 0ustar osamuosamu# Debianize (initial) CD ${PROJECT} cd ${PROJECT} L "debmake" debmake-doc-1.1/debhello-0.0-pkg2/step302.cmd0000775000175000017500000000026512613712701017347 0ustar osamuosamuecho " \$ vim ${PROJECT}/debian/control" echo " ... hack, hack, hack, ..." cp -f ${COMMONDIR}/${PROJECT}/debian/control ${PROJECT}/debian/control L "cat ${PROJECT}/debian/control" debmake-doc-1.1/debhello-0.0-pkg2/step700.cmd0000775000175000017500000000016012613712701017343 0ustar osamuosamufor deb in *.deb; do L "dpkg -c ${deb}" | sed -e 's/root.root...............-..-.. ..:../root\/root ... /' done debmake-doc-1.1/debhello-0.0-pkg2/step101.cmd0000775000175000017500000000004012613712701017333 0ustar osamuosamuL "cat ${PROJECT}/src/hello.c" debmake-doc-1.1/debhello-0.0-pkg2/step500.cmd0000775000175000017500000000011512613712701017341 0ustar osamuosamu# make deb CD ${PROJECT} cd ${PROJECT} echo " \$ debuild" debuild -i -us -uc debmake-doc-1.1/debhello-2.1/0000775000175000017500000000000012613712701014616 5ustar osamuosamudebmake-doc-1.1/debhello-2.1/debian/0000775000175000017500000000000012613712701016040 5ustar osamuosamudebmake-doc-1.1/debhello-2.1/debian/patches/0000775000175000017500000000000012613712701017467 5ustar osamuosamudebmake-doc-1.1/debhello-2.1/debian/patches/series0000664000175000017500000000003212613712701020677 0ustar osamuosamu000-cmake-multiarch.patch debmake-doc-1.1/debhello-2.1/debian/patches/000-cmake-multiarch.patch0000664000175000017500000000120612613712701024052 0ustar osamuosamuFrom: "Osamu Aoki" Description: cmake multiarch patch This moves install path from /usr/lib to /usr/lib/. Set by cmake -DCMAKE_LIBRARY_ARCHITECTURE="$(DEB_HOST_MULTIARCH)". --- a/lib/CMakeLists.txt +++ b/lib/CMakeLists.txt @@ -4,5 +4,5 @@ # the RPATH of these targets so they are installed with an empty RPATH. set_property(TARGET sharedlib PROPERTY VERSION "1.0.0") set_property(TARGET sharedlib PROPERTY SOVERSION 1 ) -install(TARGETS sharedlib LIBRARY DESTINATION lib) +install(TARGETS sharedlib LIBRARY DESTINATION lib/${CMAKE_LIBRARY_ARCHITECTURE}) install(FILES sharedlib.h DESTINATION include) debmake-doc-1.1/debhello-2.1/debian/control0000664000175000017500000000477312613712701017456 0ustar osamuosamuSource: debhello Section: devel Priority: extra Maintainer: Osamu Aoki Build-Depends: cmake, debhelper (>=9) Standards-Version: 3.9.6 Homepage: http://anonscm.debian.org/cgit/collab-maint/debmake-doc.git/ Package: debhello Architecture: any Multi-Arch: foreign Depends: libsharedlib1 (= ${binary:Version}), ${misc:Depends}, ${shlibs:Depends} Description: example executable package This is an example package to demonstrate the Debian packaging using the debmake command. . The generated Debian package uses the dh command offered by the debhelper package and the dpkg source format `3.0 (quilt)'. . This package provides the executable program. Package: libsharedlib1 Section: libs Architecture: any Multi-Arch: same Pre-Depends: ${misc:Pre-Depends} Depends: ${misc:Depends}, ${shlibs:Depends} Description: example shared library package This is an example package to demonstrate the Debian packaging using the debmake command. . The generated Debian package uses the dh command offered by the debhelper package and the dpkg source format `3.0 (quilt)'. . This package contains the shared library. Package: libsharedlib-dev Section: libdevel Architecture: any Multi-Arch: same Depends: libsharedlib1 (= ${binary:Version}), ${misc:Depends} Description: example development package This is an example package to demonstrate the Debian packaging using the debmake command. . The generated Debian package uses the dh command offered by the debhelper package and the dpkg source format `3.0 (quilt)'. . This package contains the development files. Package: debhello-dbg Section: debug Architecture: any Multi-Arch: same Depends: debhello (= ${binary:Version}), ${misc:Depends} Description: example debugging package for debhello This is an example package to demonstrate the Debian packaging using the debmake command. . The generated Debian package uses the dh command offered by the debhelper package and the dpkg source format `3.0 (quilt)'. . This package contains the debugging symbols for debhello. Package: libsharedlib1-dbg Section: debug Architecture: any Multi-Arch: same Depends: libsharedlib1 (= ${binary:Version}), ${misc:Depends} Description: example debugging package for libsharedlib1 This is an example package to demonstrate the Debian packaging using the debmake command. . The generated Debian package uses the dh command offered by the debhelper package and the dpkg source format `3.0 (quilt)'. . This package contains the debugging symbols for libsharedlib1. debmake-doc-1.1/debhello-2.1/debian/changelog0000664000175000017500000000560112613712701017714 0ustar osamuosamudebhello (2.1-1) unstable; urgency=low * New upstream release. - C source for an executable with a shared library. - Makefile generated from CMakeLists.txt . -- Osamu Aoki Mon, 12 Jan 2015 02:01:01 +0900 debhello (2.0-1) unstable; urgency=low * New upstream release. - C source for an executable with a shared library. - Makefile generated from Makefile.am and configure.ac . -- Osamu Aoki Mon, 12 Jan 2015 02:00:01 +0900 debhello (1.7-1) unstable; urgency=low * New upstream release. - C source for an executable. - Makefile generated from CMakeLists.txt . -- Osamu Aoki Mon, 12 Jan 2015 01:07:01 +0900 debhello (1.6-1) unstable; urgency=low * New upstream release. - C source for an executable. - Makefile generated from Makefile.am and configure.ac . -- Osamu Aoki Mon, 12 Jan 2015 01:06:01 +0900 debhello (1.5-1) unstable; urgency=low * New upstream release. - C source for an executable. - Makefile generated from Makefile.in and ./configure . -- Osamu Aoki Mon, 12 Jan 2015 01:05:01 +0900 debhello (1.4-1) unstable; urgency=low * New upstream release. - C source for an executable. - Makefile not supporting $(DESTDIR) and $(prefix) . -- Osamu Aoki Mon, 12 Jan 2015 01:04:01 +0900 debhello (1.3-1) unstable; urgency=low * New upstream release. - Python3 script with the graphical user interface. - Packaged in Python distutils with setup.py . -- Osamu Aoki Mon, 12 Jan 2015 01:03:01 +0900 debhello (1.2-1) unstable; urgency=low * New upstream release. - Python3 script with the command-line interface. - Packaged in Python distutils with setup.py . -- Osamu Aoki Mon, 12 Jan 2015 01:02:01 +0900 debhello (1.1-1) unstable; urgency=low * New upstream release. - POSIX shell script and data with the graphical user interface. - Makefile supporting $(DESTDIR) and $(prefix) . -- Osamu Aoki Mon, 12 Jan 2015 01:01:01 +0900 debhello (1.0-1) unstable; urgency=low * New upstream release. - POSIX shell script and data. - Makefile supporting $(DESTDIR) and $(prefix) . -- Osamu Aoki Mon, 12 Jan 2015 01:00:01 +0900 debhello (0.2-1) unstable; urgency=low * New upstream release. - POSIX shell script and data without Makefile. -- Osamu Aoki Mon, 12 Jan 2015 00:02:01 +0900 debhello (0.1-1) unstable; urgency=low * New upstream release. - Empty content. -- Osamu Aoki Mon, 12 Jan 2015 00:01:01 +0900 debhello (0.0-1) unstable; urgency=low * Initial release of debhello. Closes: #123456 - C source for an executable. - Makefile supporting $(DESTDIR) and $(prefix)=/usr . -- Osamu Aoki Mon, 12 Jan 2015 00:00:01 +0900 debmake-doc-1.1/debhello-2.1/debian/libsharedlib1.install0000664000175000017500000000002112613712701022126 0ustar osamuosamuusr/lib/*/*.so.* debmake-doc-1.1/debhello-2.1/debian/rules0000775000175000017500000000105712613712701017123 0ustar osamuosamu#!/usr/bin/make -f export DH_VERBOSE = 1 export DEB_BUILD_MAINT_OPTIONS = hardening=+all export DEB_CFLAGS_MAINT_APPEND = -Wall -pedantic export DEB_LDFLAGS_MAINT_APPEND = -Wl,--as-needed DEB_HOST_MULTIARCH ?= $(shell dpkg-architecture -qDEB_HOST_MULTIARCH) %: dh $@ override_dh_auto_configure: dh_auto_configure -- \ -DCMAKE_LIBRARY_ARCHITECTURE="$(DEB_HOST_MULTIARCH)" override_dh_install: dh_install --list-missing override_dh_strip: dh_strip -Xlibsharedlib1 --dbg-package=debhello-dbg dh_strip -Xdebhello --dbg-package=libsharedlib1-dbg debmake-doc-1.1/debhello-2.1/debian/libsharedlib-dev.install0000664000175000017500000000006712613712701022633 0ustar osamuosamu###usr/lib/*/pkgconfig/*.pc usr/include usr/lib/*/*.so debmake-doc-1.1/debhello-2.1/debian/source/0000775000175000017500000000000012613712701017340 5ustar osamuosamudebmake-doc-1.1/debhello-2.1/debian/source/format0000664000175000017500000000001512613712701020547 0ustar osamuosamu3.0 (quilt) debmake-doc-1.1/debhello-2.1/debian/source/local-options0000664000175000017500000000005212613712701022043 0ustar osamuosamuabort-on-upstream-changes unapply-patches debmake-doc-1.1/debhello-2.1/debian/debhello.install0000664000175000017500000000003212613712701021201 0ustar osamuosamuusr/bin/* usr/share/man/* debmake-doc-1.1/debhello-2.1/debian/README.Debian0000664000175000017500000000031212613712701020075 0ustar osamuosamudebhello upstream package example This is an example upstream package to demonstrate the Debian packaging using the debmake command. -- Osamu Aoki Sun, 11 Jan 2015 00:00:00 +0000 debmake-doc-1.1/debhello-2.1/debian/compat0000664000175000017500000000000212613712701017236 0ustar osamuosamu9 debmake-doc-1.1/debhello-2.1/debian/libsharedlib1.symbols0000664000175000017500000000007512613712701022161 0ustar osamuosamulibsharedlib.so.1 libsharedlib1 #MINVER# sharedlib@Base 2.1 debmake-doc-1.1/debhello-2.1/debian/watch0000664000175000017500000000022412613712701017067 0ustar osamuosamu# When there is no appropriate upstream URL for uscan, it is # the best to have a watch file without any real content as # this file. See uscan(1). debmake-doc-1.1/debhello-2.1/debian/copyright0000664000175000017500000000241512613712701017775 0ustar osamuosamuFormat: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ Upstream-Name: debhello Source: http://anonscm.debian.org/cgit/collab-maint/debmake-doc.git/tree/base Files: * Copyright: 2015 Osamu Aoki License: MIT Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: . The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. . THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. debmake-doc-1.1/debhello-2.1/src/0000775000175000017500000000000012613712701015405 5ustar osamuosamudebmake-doc-1.1/debhello-2.1/src/config.h.in0000664000175000017500000000011312613712701017423 0ustar osamuosamu/* name of the package author */ #define PACKAGE_AUTHOR "@PACKAGE_AUTHOR@" debmake-doc-1.1/debhello-2.1/src/CMakeLists.txt0000664000175000017500000000064712613712701020154 0ustar osamuosamu# Always define HAVE_CONFIG_H add_definitions(-DHAVE_CONFIG_H) # Generate config.h from config.h.in configure_file( "${CMAKE_CURRENT_SOURCE_DIR}/config.h.in" "${CMAKE_CURRENT_BINARY_DIR}/config.h" ) include_directories("${CMAKE_CURRENT_BINARY_DIR}") include_directories("${CMAKE_SOURCE_DIR}/lib") add_executable(hello hello.c) target_link_libraries(hello sharedlib) install(TARGETS hello RUNTIME DESTINATION bin ) debmake-doc-1.1/debhello-2.1/src/hello.c0000664000175000017500000000025112613712701016652 0ustar osamuosamu#include "config.h" #include #include int main() { printf("Hello, I am " PACKAGE_AUTHOR "!\n"); sharedlib(); return 0; } debmake-doc-1.1/debhello-2.1/CMakeLists.txt0000664000175000017500000000023112613712701017352 0ustar osamuosamucmake_minimum_required(VERSION 2.8) project(debhello) set(PACKAGE_AUTHOR "Osamu Aoki") add_subdirectory(lib) add_subdirectory(src) add_subdirectory(man) debmake-doc-1.1/debhello-2.1/lib/0000775000175000017500000000000012613712701015364 5ustar osamuosamudebmake-doc-1.1/debhello-2.1/lib/CMakeLists.txt0000664000175000017500000000073512613712701020131 0ustar osamuosamuadd_library(sharedlib SHARED sharedlib.c) # CMake will link the executables and shared libraries with full RPATH to all # used libraries in the build tree by default. When installing, it will clear # the RPATH of these targets so they are installed with an empty RPATH. set_property(TARGET sharedlib PROPERTY VERSION "1.0.0") set_property(TARGET sharedlib PROPERTY SOVERSION 1 ) install(TARGETS sharedlib LIBRARY DESTINATION lib) install(FILES sharedlib.h DESTINATION include) debmake-doc-1.1/debhello-2.1/lib/sharedlib.c0000664000175000017500000000015012613712701017461 0ustar osamuosamu#include int sharedlib() { printf("This is a shared library!\n"); return 0; } debmake-doc-1.1/debhello-2.1/lib/sharedlib.h0000664000175000017500000000002112613712701017463 0ustar osamuosamuint sharedlib(); debmake-doc-1.1/debhello-2.1/man/0000775000175000017500000000000012613712701015371 5ustar osamuosamudebmake-doc-1.1/debhello-2.1/man/CMakeLists.txt0000664000175000017500000000012412613712701020126 0ustar osamuosamuinstall( FILES ${CMAKE_CURRENT_SOURCE_DIR}/hello.1 DESTINATION share/man/man1 ) debmake-doc-1.1/debhello-2.1/man/hello.10000664000175000017500000000067612613712701016567 0ustar osamuosamu.\" Hey, EMACS: -*- nroff -*- .\" (C) Copyright 2015 "Osamu Aoki" , .TH HELLO 1 "2015-01-12" .SH NAME hello \- example executable program .SH SYNOPSIS .B hello .SH DESCRIPTION This is an example executable program to print a short text message to check how the Debian packaging went. .SH OPTIONS None available. .SH SEE ALSO .BR debmake (1) and documentation in the .BR debmake-doc package. debmake-doc-1.1/debhello-2.1/data/0000775000175000017500000000000012613712701015527 5ustar osamuosamudebmake-doc-1.1/debhello-2.1/data/hello.desktop0000664000175000017500000000026512613712701020230 0ustar osamuosamu[Desktop Entry] Name=Hello Name[ja]=こんにちは Comment=Greetings Comment[ja]=挨拶 Type=Application Keywords=hello Exec=hello Terminal=true Icon=hello.png Categories=Utility; debmake-doc-1.1/debhello-2.1/data/hello.png0000664000175000017500000002225412613712701017345 0ustar osamuosamuPNG  IHDR@@iqbKGD pHYs  tIME(/SptEXtCommentCreated with GIMPW IDATxڽkYu[\9{zgg !gpb+JC8R)URv2iJ QNYX)\a┉U)d2 `0@\zOޞٷb, ~/ok%7 .w G9S&宴M+SR=_V[[i+1\q>{;OxgER?0śi+!YWcHׅr%o!e8y&eJw(sC`Yh+=|\[Bw`~6/}8:(oվ WdLY n馥^7pPo e-TjpB7V;ei zzg3=<|?X/uRayaot n/ ̂gWFOYܸ;.Ǎ5Y64f́lR(Tok@q9͟dotx㱓xUڱ+DJɒؑ&Qn!%-]@i b ;'IvBZΓ0HgFcT?c۲` fI, Ȼ 81L yjڣ;#7Y {-q?as+˿W߰M+bHUBVT(SƔBm`Wrdh%NJ Nre XMݨFO5Zf:c'K:s@6 c-a/ٹQS1ӦHN+}Ɔ_:|확$~pac35vuGQNJ :dUM;ƨ*$*)Wz.UJ48OԖ$3"K=p7M sjIOAKEe*Z*p~oforMw;G/~1?GOX~ [=aB-Fn ut(A$eOW & iMB5hHyΐrM;Zmx^[NtN U tE@ TBȴ]'nzGh/;?8<$}r _$׈fb*Q SQbQR ɡCCZdSDH)VfG (yJLCb̙T NÔ䖒ziN1s&]pyk%pRZbUA V3%#le>}-(yw |ptz -ϼ3r11$qL* LEE@l0 d@4 @N)Q!-ztjCtP[v5pMxV0U(ZP)@<ƲXJ7+d{?]+^q\'p)_}kOK4)MnƖa e ecK[+HYA^e**X qSH+`@ieN3FZV81 *(䤔\(%SpOGՖ@3-{|g3so˱dpä!E-h=֑P.7`to0Z$+Ct È"T hS yh,&\8XD %OIJ%j%1MI: kEE$l18j L&t2HmЬN1^fL7~4guV KG:^Te]1m,!C{{s Oi0L*  Gp lBB9PBH̋eiC9 dF %SB2` XLhmD{D[.uZ9)~$_Oiv#lyݐO[AO&S`a4`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䣞Ҷ(/t7[h\n" "Language-Team: LANGUAGE \n" "Language: ja\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "X-Generator: Poedit 1.6.10\n" #. Put one translator per line, in the form NAME , YEAR1, YEAR2 msgctxt "_" msgid "translator-credits" msgstr "" #. (itstool) path: bookinfo/title #: debmake-doc.en.xml:14 msgid "Guide for Debian Maintainers" msgstr "Debian Maintainer向け案内書" #. (itstool) path: bookinfo/author #: debmake-doc.en.xml:15 msgid " Osamu Aoki" msgstr " 青木 修 " #. (itstool) path: bookinfo/date #: debmake-doc.en.xml:18 msgid "2015-05-25" msgstr "2015-05-25" #. (itstool) path: abstract/simpara #: debmake-doc.en.xml:20 msgid "" "This tutorial document describes the building of the Debian package to " "ordinary Debian users and prospective developers using the debmake command." msgstr "" #. (itstool) path: abstract/simpara #: debmake-doc.en.xml:24 msgid "" "It is focused on the modern packaging style and comes with many simple " "examples." msgstr "" #. (itstool) path: listitem/simpara #: debmake-doc.en.xml:28 msgid "POSIX shell script packaging" msgstr "POSIX シェルスクリプトのパッケージング" #. (itstool) path: listitem/simpara #: debmake-doc.en.xml:33 msgid "Python3 script packaging" msgstr "Python3 スクリプトのパッケージング" #. (itstool) path: listitem/simpara #: debmake-doc.en.xml:38 msgid "C with Makefile/Autotools/CMake" msgstr "Makefile/Autotools/CMake を使う C" #. (itstool) path: listitem/simpara #: debmake-doc.en.xml:43 msgid "multiple binary package with shared library etc." msgstr "共有ライブラリー等を含む複数バイナリーパッケージ" #. (itstool) path: abstract/simpara #: debmake-doc.en.xml:49 msgid "" "This “Guide for Debian Maintainers” can be considered as the successor to " "the “Debian New Maintainers’ Guide”." msgstr "" #. (itstool) path: bookinfo/copyright #: debmake-doc.en.xml:51 msgid "2014-2015 Osamu Aoki" msgstr "" #. (itstool) path: legalnotice/simpara #: debmake-doc.en.xml:57 msgid "" "Permission is hereby granted, free of charge, to any person obtaining a copy " "of this software and associated documentation files (the \"Software\"), to " "deal in the Software without restriction, including without limitation the " "rights to use, copy, modify, merge, publish, distribute, sublicense, and/or " "sell copies of the Software, and to permit persons to whom the Software is " "furnished to do so, subject to the following conditions:" msgstr "" #. (itstool) path: legalnotice/simpara #: debmake-doc.en.xml:63 msgid "" "The above copyright notice and this permission notice shall be included in " "all copies or substantial portions of the Software." msgstr "" #. (itstool) path: legalnotice/simpara #: debmake-doc.en.xml:65 msgid "" "THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR " "IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, " "FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE " "AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER " "LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING " "FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS " "IN THE SOFTWARE." msgstr "" #. (itstool) path: legalnotice/simpara #: debmake-doc.en.xml:72 msgid "" "This guide was made using the following previous documents as its reference:" msgstr "" #. (itstool) path: listitem/simpara #: debmake-doc.en.xml:75 msgid "" "“Making a Debian Package (AKA the Debmake Manual)”, copyright © 1997 Jaldhar " "Vyas." msgstr "" #. (itstool) path: listitem/simpara #: debmake-doc.en.xml:80 msgid "" "“The New-Maintainer’s Debian Packaging Howto”, copyright © 1997 Will Lowe." msgstr "" #. (itstool) path: listitem/simpara #: debmake-doc.en.xml:85 msgid "" "“Debian New Maintainers’ Guide”, copyright © 1998-2002 Josip Rodin, " "2005-2014 Osamu Aoki, 2010 Craig Small, and 2010 Raphaël Hertzog." msgstr "" #. (itstool) path: legalnotice/simpara #: debmake-doc.en.xml:90 msgid "" "Newer versions of this guide should always be available in the debmake-doc package." msgstr "" #. (itstool) path: imageobject/imagedata #. This is a reference to an external file such as an image or video. When #. the file changes, the md5 hash will change to let you know you need to #. update your localized copy. The msgstr is not used at all. Set it to #. whatever you like once you have updated your copy of the file. #: debmake-doc.en.xml:95 msgctxt "_" msgid "external ref='debian-openlogo.png' md5='__failed__'" msgstr "" #. (itstool) path: preface/title #: debmake-doc.en.xml:102 msgid "Preface" msgstr "序文" #. (itstool) path: simpara/ulink #: debmake-doc.en.xml:103 msgid "Debian Reference" msgstr "Debian レファレンス" #. (itstool) path: footnote/simpara #: debmake-doc.en.xml:103 msgid "" "You do need to know a little about Unix programming but you certainly don’t " "need to be a wizard. You can learn about the basic handling of a Debian " "system from the <_:ulink-1/>. It contains some pointers to learn about Unix " "programming, too." msgstr "" "Unix プログラミングに関して少々の知識は必要ですが、熟練者である事は決してあり" "ません。Debian システムの基本操作は <_:ulink-1/> から学べます。Unix プログラ" "ミングに関して学習するヒントを含んでいます。" #. (itstool) path: preface/simpara #: debmake-doc.en.xml:103 msgid "" "If you are a somewhat experienced Debian user <_:footnote-1/>, you may have " "encountered following situations:" msgstr "" #. (itstool) path: listitem/simpara #: debmake-doc.en.xml:106 msgid "" "You wish to install a certain software package not yet found in the Debian " "archive." msgstr "" #. (itstool) path: listitem/simpara #: debmake-doc.en.xml:111 msgid "You wish to update a Debian package with the newer upstream release." msgstr "" #. (itstool) path: listitem/simpara #: debmake-doc.en.xml:116 msgid "You wish to fix bugs of a Debian package with some patches." msgstr "" #. (itstool) path: footnote/simpara #: debmake-doc.en.xml:121 msgid "" "If you are not interested in sharing the Debian package, you can certainly " "work around your local situation by compiling and installing the fixed " "upstream source package into /usr/local/." msgstr "" #. (itstool) path: preface/simpara #: debmake-doc.en.xml:121 msgid "" "If you wanted to create a Debian package to fulfill these wishes and to " "share your work with the community, you are the target audience of this " "guide as a prospective Debian maintainer. <_:footnote-1/> Welcome to the " "Debian community." msgstr "" #. (itstool) path: preface/simpara #: debmake-doc.en.xml:122 msgid "" "Debian has many social and technical rules and conventions to follow since " "it is a large volunteer organization with history. Debian also has developed " "huge array of packaging tools and archive maintenance tools to build " "consistent set of binary packages addressing many technical objectives:" msgstr "" #. (itstool) path: listitem/simpara #: debmake-doc.en.xml:125 msgid "clean build under clearly specified package dependencies and patches" msgstr "" #. (itstool) path: listitem/simpara #: debmake-doc.en.xml:130 msgid "packages build across many architectures" msgstr "" #. (itstool) path: listitem/simpara #: debmake-doc.en.xml:135 msgid "optimal splits into multiple binary packages" msgstr "" #. (itstool) path: listitem/simpara #: debmake-doc.en.xml:140 msgid "smooth library transitions" msgstr "" #. (itstool) path: listitem/simpara #: debmake-doc.en.xml:145 msgid "security enhancement using specific compiler flags" msgstr "" #. (itstool) path: listitem/simpara #: debmake-doc.en.xml:150 msgid "multiarch support" msgstr "" #. (itstool) path: listitem/simpara #: debmake-doc.en.xml:155 debmake-doc.en.xml:3534 msgid "…" msgstr "" #. (itstool) path: preface/simpara #: debmake-doc.en.xml:160 msgid "" "These make it somewhat overwhelming for many new prospective Debian " "maintainers to get involved with Debian. This guide tries to provide entry " "points for them to get started. It describes as follows:" msgstr "" #. (itstool) path: listitem/simpara #: debmake-doc.en.xml:163 msgid "" "What you should know before getting involved with Debian as a prospective " "maintainer." msgstr "" #. (itstool) path: listitem/simpara #: debmake-doc.en.xml:168 msgid "What it looks like to make a simple Debian package." msgstr "" #. (itstool) path: listitem/simpara #: debmake-doc.en.xml:173 msgid "What kind of rules exist for making the Debian package." msgstr "" #. (itstool) path: listitem/simpara #: debmake-doc.en.xml:178 msgid "Tips for making the Debian package." msgstr "" #. (itstool) path: listitem/simpara #: debmake-doc.en.xml:183 msgid "Examples of making Debian packages for several typical scenarios." msgstr "" #. (itstool) path: preface/simpara #: debmake-doc.en.xml:188 msgid "" "The author felt limitations of updating the original “New Maintainers' " "Guide” with the dh-make package and " "decided to create an alternative tool and its matching document to address " "modern requirements. The result is the debmake (version: 4.2.1) package and this updated “Guide for Debian " "Maintainers” in the debmake-doc " "(version: 1.0-1) package." msgstr "" #. (itstool) path: preface/simpara #: debmake-doc.en.xml:189 msgid "" "Many chores and tips have been integrated into the debmake command making this guide simple. This guide also " "offers many packaging examples." msgstr "" #. (itstool) path: caution/simpara #: debmake-doc.en.xml:190 msgid "" "It takes many hours to properly create and maintain Debian packages. The " "Debian maintainer must be both technically " "competent and diligent to take up this challenge." msgstr "" #. (itstool) path: preface/simpara #: debmake-doc.en.xml:191 msgid "" "Some important topics are explained in detail. Some of them may look " "irrelevant to you. Please be patient. Some corner cases are skipped. Some " "topics are only covered by the external pointers. These are intentional " "choices to keep this guide simple and maintainable." msgstr "" #. (itstool) path: chapter/title #: debmake-doc.en.xml:194 msgid "Overview" msgstr "" #. (itstool) path: simpara/ulink #: debmake-doc.en.xml:195 debmake-doc.en.xml:1193 msgid "GNU Coding Standards" msgstr "" #. (itstool) path: simpara/ulink #: debmake-doc.en.xml:195 debmake-doc.en.xml:1193 msgid "FHS" msgstr "" #. (itstool) path: chapter/simpara #: debmake-doc.en.xml:195 msgid "" "The Debian packaging of the package-1.0.tar.gz, containing a simple C source following the <_:" "ulink-1/> and <_:ulink-2/>, can be done with the debmake command as follows." msgstr "" #. (itstool) path: chapter/simpara #: debmake-doc.en.xml:201 msgid "" "If manual adjustments of generated configuration files are skipped, the " "generated binary package lacks meaningful package description but still " "functions well under the dpkg command " "to be used for your local deployment." msgstr "" #. (itstool) path: caution/simpara #: debmake-doc.en.xml:202 msgid "" "The debmake command only provides good " "template files. These template files must be manually adjusted to their " "perfection to comply with the strict quality requirements of the Debian " "archive, if the generated package is intended for the general consumption." msgstr "" #. (itstool) path: chapter/simpara #: debmake-doc.en.xml:203 msgid "" "If you are new to the Debian packaging, do not worry about the details and " "just get the big picture instead." msgstr "" #. (itstool) path: footnote/simpara #: debmake-doc.en.xml:204 msgid "" "The deb-make command was popular before " "the dh_make command. The current " "debmake package starts its version from " "4.0 to avoid version overlaps with " "obsolete debmake package which provided " "the deb-make command." msgstr "" #. (itstool) path: chapter/simpara #: debmake-doc.en.xml:204 msgid "" "If you have been exposed to the Debian packaging, this looks very much like " "the dh_make command. This is because " "the debmake command is intended to " "replace functions offered historically by the dh_make command. <_:footnote-1/>" msgstr "" #. (itstool) path: chapter/simpara #: debmake-doc.en.xml:205 msgid "" "The debmake command is designed with " "following features:" msgstr "" #. (itstool) path: listitem/simpara #: debmake-doc.en.xml:208 msgid "modern packaging style" msgstr "" #. (itstool) path: listitem/simpara #: debmake-doc.en.xml:213 msgid "" "debian/copyright: DEP-5 complient" msgstr "" #. (itstool) path: listitem/simpara #: debmake-doc.en.xml:218 msgid "" "debian/control: substvar support, multiarch support, multi binary packages, …" msgstr "" #. (itstool) path: listitem/simpara #: debmake-doc.en.xml:223 msgid "" "debian/rules: dh syntax, compiler hardening options, …" msgstr "" #. (itstool) path: listitem/simpara #: debmake-doc.en.xml:230 msgid "flexibility" msgstr "" #. (itstool) path: listitem/simpara #: debmake-doc.en.xml:235 msgid "" "many options (, , " ")" msgstr "" #. (itstool) path: listitem/simpara #: debmake-doc.en.xml:242 msgid "sane default actions" msgstr "" #. (itstool) path: listitem/simpara #: debmake-doc.en.xml:247 msgid "execute non-stop with clean results" msgstr "" #. (itstool) path: listitem/simpara #: debmake-doc.en.xml:252 msgid "" "generate the multiarch package, unless -m option is explicitly specified." msgstr "" #. (itstool) path: listitem/simpara #: debmake-doc.en.xml:257 msgid "" "generate the non-native Debian package with the “3.0 (quilt)” format, unless -n option is explicitly specified." msgstr "" #. (itstool) path: listitem/simpara #: debmake-doc.en.xml:264 msgid "extra utility" msgstr "" #. (itstool) path: listitem/simpara #: debmake-doc.en.xml:269 msgid "" "verification of the debian/copyright " "file against the current source ()" msgstr "" #. (itstool) path: chapter/simpara #: debmake-doc.en.xml:276 msgid "" "The debmake command delegates most of " "the heavy lifting to its back-end packages: debhelper, dpkg-dev, " "devscripts, pbuilder, etc." msgstr "" #. (itstool) path: tip/simpara #. (itstool) path: section/simpara #: debmake-doc.en.xml:277 debmake-doc.en.xml:8025 msgid "" "Make sure to protect the arguments of the -b, -f, -l, and -w options from " "the shell interference by quoting them properly." msgstr "" #. (itstool) path: tip/simpara #: debmake-doc.en.xml:278 msgid "The non-native Debian package is the normal Debian package." msgstr "" #. (itstool) path: note/simpara #: debmake-doc.en.xml:279 msgid "" "The generation of the debian/copyright " "file, and the outputs from the -c " "() and -k " "() options involve heuristic operations on the " "copyright and license information. They may produce some erroneous results." msgstr "" #. (itstool) path: chapter/title #: debmake-doc.en.xml:282 msgid "Prerequisites" msgstr "" #. (itstool) path: chapter/simpara #: debmake-doc.en.xml:283 msgid "" "Here are the prerequisites which you need to understand before you to get " "involved with Debian." msgstr "" #. (itstool) path: section/title #: debmake-doc.en.xml:285 msgid "People around Debian" msgstr "" #. (itstool) path: section/simpara #: debmake-doc.en.xml:286 msgid "" "There are several types of people interacting around Debian with different " "roles:" msgstr "" #. (itstool) path: listitem/simpara #: debmake-doc.en.xml:289 msgid "" "upstream author: the person who made " "the original program." msgstr "" #. (itstool) path: listitem/simpara #: debmake-doc.en.xml:294 msgid "" "upstream maintainer: the person who " "currently maintains the program." msgstr "" #. (itstool) path: listitem/simpara #: debmake-doc.en.xml:299 msgid "" "maintainer: the person making the " "Debian package of the program." msgstr "" #. (itstool) path: listitem/simpara #: debmake-doc.en.xml:304 msgid "" "sponsor: a person who helps maintainers " "to upload packages to the official Debian package archive (after checking " "their contents)." msgstr "" #. (itstool) path: listitem/simpara #: debmake-doc.en.xml:309 msgid "" "mentor: a person who helps novice " "maintainers with packaging etc." msgstr "" #. (itstool) path: listitem/simpara #: debmake-doc.en.xml:314 msgid "" "Debian Developer (DD): a member of the " "Debian project with full upload rights to the official Debian package " "archive." msgstr "" #. (itstool) path: listitem/simpara #: debmake-doc.en.xml:319 msgid "" "Debian Maintainer (DM): a person with " "limited upload rights to the official Debian package archive." msgstr "" #. (itstool) path: section/simpara #: debmake-doc.en.xml:324 msgid "" "Please note that you can’t become an official Debian Developer (DD) overnight, because it takes more than " "technical skill. Please do not be discouraged by this. If it is useful to " "others, you can still upload your package either as a maintainer through a sponsor or as a Debian Maintainer." msgstr "" #. (itstool) path: section/simpara #: debmake-doc.en.xml:325 msgid "" "Please note that you do not need to create any new packages to become an " "official Debian Developer. Contributing to the existing packages can provide " "a path to becoming an official Debian Developer too. There are many packages " "waiting for good maintainers (see )." msgstr "" #. (itstool) path: section/title #: debmake-doc.en.xml:328 msgid "How to contribute" msgstr "" #. (itstool) path: section/simpara #: debmake-doc.en.xml:329 msgid "Please refer to the following to learn how to contribute to Debian:" msgstr "" #. (itstool) path: simpara/ulink #: debmake-doc.en.xml:333 msgid "How can you help Debian?" msgstr "" #. (itstool) path: listitem/simpara #: debmake-doc.en.xml:332 debmake-doc.en.xml:347 msgid "<_:ulink-1/> (official)" msgstr "" #. (itstool) path: simpara/ulink #: debmake-doc.en.xml:338 msgid "" "The Debian GNU/Linux FAQ, Chapter 13 - \"Contributing to the Debian Project\"" msgstr "" #. (itstool) path: listitem/simpara #: debmake-doc.en.xml:337 msgid "<_:ulink-1/> (semi-official)" msgstr "" #. (itstool) path: simpara/ulink #: debmake-doc.en.xml:343 msgid "Debian Wiki, HelpDebian" msgstr "" #. (itstool) path: listitem/simpara #: debmake-doc.en.xml:342 debmake-doc.en.xml:352 msgid "<_:ulink-1/> (supplemental)" msgstr "" #. (itstool) path: simpara/ulink #: debmake-doc.en.xml:348 msgid "Debian New Member site" msgstr "" #. (itstool) path: simpara/ulink #: debmake-doc.en.xml:353 msgid "Debian Mentors FAQ" msgstr "" #. (itstool) path: section/title #: debmake-doc.en.xml:359 msgid "Social dynamics of Debian" msgstr "" #. (itstool) path: section/simpara #: debmake-doc.en.xml:360 msgid "" "Please understand Debian’s social dynamics to prepare yourself for " "interactions with Debian:" msgstr "" #. (itstool) path: listitem/simpara #: debmake-doc.en.xml:363 msgid "We all are volunteers." msgstr "" #. (itstool) path: listitem/simpara #: debmake-doc.en.xml:368 msgid "You can’t impose on others what to do." msgstr "" #. (itstool) path: listitem/simpara #: debmake-doc.en.xml:373 msgid "You should be motivated to do things by yourself." msgstr "" #. (itstool) path: listitem/simpara #: debmake-doc.en.xml:380 msgid "Friendly cooperation is the driving force." msgstr "" #. (itstool) path: listitem/simpara #: debmake-doc.en.xml:385 msgid "Your contribution should not over-strain others." msgstr "" #. (itstool) path: listitem/simpara #: debmake-doc.en.xml:390 msgid "Your contribution is valuable only when others appreciate it." msgstr "" #. (itstool) path: listitem/simpara #: debmake-doc.en.xml:397 msgid "" "Debian is not your school where you get automatic attention of teachers." msgstr "" #. (itstool) path: listitem/simpara #: debmake-doc.en.xml:402 msgid "You should be able to learn many things by yourself." msgstr "" #. (itstool) path: listitem/simpara #: debmake-doc.en.xml:407 msgid "Attention from other volunteers is a very scarce resource." msgstr "" #. (itstool) path: listitem/simpara #: debmake-doc.en.xml:414 msgid "Debian is constantly improving." msgstr "" #. (itstool) path: listitem/simpara #: debmake-doc.en.xml:419 msgid "You are expected to make high quality packages." msgstr "" #. (itstool) path: listitem/simpara #: debmake-doc.en.xml:424 msgid "You should adapt yourself to the change." msgstr "" #. (itstool) path: section/simpara #: debmake-doc.en.xml:431 msgid "" "Since we focus only on the technical aspects of the packaging in the rest of " "this guide, please refer to the following to understand the social dynamics " "of Debian:" msgstr "" #. (itstool) path: simpara/ulink #: debmake-doc.en.xml:435 msgid "Debian: 17 years of Free Software, “do-ocracy”, and democracy" msgstr "" #. (itstool) path: listitem/simpara #: debmake-doc.en.xml:434 msgid "<_:ulink-1/> (Introductory slides by the ex-DPL)" msgstr "" #. (itstool) path: section/title #: debmake-doc.en.xml:441 msgid "Technical reminders" msgstr "" #. (itstool) path: section/simpara #: debmake-doc.en.xml:442 msgid "" "Here are some technical reminders to accommodate other maintainers to work " "on your package easily and effectively to maximize the output of Debian as a " "whole." msgstr "" #. (itstool) path: listitem/simpara #: debmake-doc.en.xml:445 msgid "Make your package easy to debug." msgstr "" #. (itstool) path: listitem/simpara #: debmake-doc.en.xml:450 msgid "Keep your package simple." msgstr "" #. (itstool) path: listitem/simpara #: debmake-doc.en.xml:455 msgid "Don’t over-engineer your package." msgstr "" #. (itstool) path: listitem/simpara #: debmake-doc.en.xml:462 msgid "Keep your package well-documented." msgstr "" #. (itstool) path: listitem/simpara #: debmake-doc.en.xml:467 msgid "Use readable code style." msgstr "" #. (itstool) path: listitem/simpara #: debmake-doc.en.xml:472 msgid "Make comments in code." msgstr "" #. (itstool) path: listitem/simpara #: debmake-doc.en.xml:477 msgid "Format code consistently." msgstr "" #. (itstool) path: footnote/simpara #: debmake-doc.en.xml:483 msgid "" "The overwhelming number of Debian maintainers use git over other VCS systems such as hg, bzr, etc." msgstr "" #. (itstool) path: listitem/simpara #: debmake-doc.en.xml:482 msgid "Maintain the git repository <_:footnote-1/> of the package." msgstr "" #. (itstool) path: note/simpara #: debmake-doc.en.xml:489 msgid "" "Debugging of software tends to consume more time than writing the initial " "working software." msgstr "" #. (itstool) path: section/title #: debmake-doc.en.xml:492 msgid "Debian documentation" msgstr "" #. (itstool) path: section/simpara #: debmake-doc.en.xml:493 msgid "" "Please make yourself ready to read the pertinent part of the official Debian " "documentation together with this guide as needed to generate perfect Debian " "packages:" msgstr "" #. (itstool) path: listitem/simpara #: debmake-doc.en.xml:496 msgid "“Debian Policy Manual”" msgstr "" #. (itstool) path: simpara/ulink #: debmake-doc.en.xml:502 msgid "http://www.debian.org/doc/devel-manuals#policy" msgstr "" #. (itstool) path: listitem/simpara #: debmake-doc.en.xml:501 msgid "“must follow” rules (<_:ulink-1/>)" msgstr "" #. (itstool) path: listitem/simpara #: debmake-doc.en.xml:508 msgid "“Debian Developer’s Reference”" msgstr "" #. (itstool) path: simpara/ulink #: debmake-doc.en.xml:514 msgid "http://www.debian.org/doc/devel-manuals#devref" msgstr "" #. (itstool) path: listitem/simpara #: debmake-doc.en.xml:513 msgid "“best practice” document (<_:ulink-1/>)" msgstr "" #. (itstool) path: section/simpara #: debmake-doc.en.xml:520 msgid "" "If this guide contradicts with the official Debian documentation, they are " "correct. Please file a bug report on the debmake-" "doc package using the reportbug command." msgstr "" #. (itstool) path: section/simpara #: debmake-doc.en.xml:521 msgid "" "Here are alternative tutorial documents which you may read along with this " "guide:" msgstr "" #. (itstool) path: listitem/simpara #: debmake-doc.en.xml:524 #, fuzzy msgid "“Debian New Maintainers' Guide” (older)" msgstr "Debian メンテナーガイド (debmake使用版)" #. (itstool) path: simpara/ulink #: debmake-doc.en.xml:530 msgid "https://www.debian.org/doc/devel-manuals#maint-guide" msgstr "" #. (itstool) path: simpara/ulink #: debmake-doc.en.xml:535 msgid "https://packages.qa.debian.org/m/maint-guide.html" msgstr "" #. (itstool) path: listitem/simpara #: debmake-doc.en.xml:541 msgid "“Debian Packaging Tutorial”" msgstr "" #. (itstool) path: simpara/ulink #: debmake-doc.en.xml:547 msgid "https://www.debian.org/doc/devel-manuals#packaging-tutorial" msgstr "" #. (itstool) path: simpara/ulink #: debmake-doc.en.xml:552 msgid "https://packages.qa.debian.org/p/packaging-tutorial.html" msgstr "" #. (itstool) path: listitem/simpara #: debmake-doc.en.xml:558 msgid "“Ubuntu Packaging Guide” (Ubuntu is Debian based.)" msgstr "" #. (itstool) path: simpara/ulink #: debmake-doc.en.xml:564 msgid "http://packaging.ubuntu.com/html/" msgstr "" #. (itstool) path: tip/simpara #: debmake-doc.en.xml:570 msgid "" "When reading these tutorials, you should consider to use the debmake command in place of the dh_make command for better template files." msgstr "" #. (itstool) path: section/title #: debmake-doc.en.xml:573 msgid "Help resources" msgstr "" #. (itstool) path: section/simpara #: debmake-doc.en.xml:574 msgid "" "Before you decide to ask your question in some public place, please do your " "parts of efforts, i.e., read the fine documentation:" msgstr "" #. (itstool) path: listitem/simpara #: debmake-doc.en.xml:577 msgid "" "package information available through the aptitude, apt-cache, and " "dpkg commands." msgstr "" #. (itstool) path: listitem/simpara #: debmake-doc.en.xml:582 msgid "" "files in /usr/share/doc/package for all pertinent packages." msgstr "" #. (itstool) path: listitem/simpara #: debmake-doc.en.xml:587 msgid "" "contents of man command for all pertinent commands." msgstr "" #. (itstool) path: listitem/simpara #: debmake-doc.en.xml:592 msgid "" "contents of info command for all pertinent commands." msgstr "" #. (itstool) path: simpara/ulink #: debmake-doc.en.xml:598 msgid "debian-mentors@lists.debian.org mailing list archive" msgstr "" #. (itstool) path: listitem/simpara #: debmake-doc.en.xml:597 debmake-doc.en.xml:602 msgid "contents of <_:ulink-1/>." msgstr "" #. (itstool) path: simpara/ulink #: debmake-doc.en.xml:603 msgid "debian-devel@lists.debian.org mailing list archive" msgstr "" #. (itstool) path: section/simpara #: debmake-doc.en.xml:607 msgid "" "Your desired information can be found effectively by using the well-formend " "search string such as “keyword site:lists.debian." "org” to limit the search domain of the web search engine." msgstr "" #. (itstool) path: section/simpara #: debmake-doc.en.xml:608 msgid "" "Making a small test package is a good way to learn details of the packaging. " "Inspecting existing well maintained packages is the best way to learn how " "other people make packages." msgstr "" #. (itstool) path: section/simpara #: debmake-doc.en.xml:609 msgid "" "If you still have questions about the packaging, you can ask them " "interactively:" msgstr "" #. (itstool) path: simpara/ulink #: debmake-doc.en.xml:613 msgid "debian-mentors@lists.debian.org" msgstr "" #. (itstool) path: listitem/simpara #: debmake-doc.en.xml:612 msgid "<_:ulink-1/> mailing list. (This mailing list is for the novice.)" msgstr "" #. (itstool) path: simpara/ulink #: debmake-doc.en.xml:618 msgid "debian-devel@lists.debian.org" msgstr "" #. (itstool) path: listitem/simpara #: debmake-doc.en.xml:617 msgid "<_:ulink-1/> mailing list. (This mailing list is for the expert.)" msgstr "" #. (itstool) path: simpara/ulink #: debmake-doc.en.xml:623 msgid "IRC" msgstr "" #. (itstool) path: listitem/simpara #: debmake-doc.en.xml:622 msgid "<_:ulink-1/> such as #debian-mentors." msgstr "" #. (itstool) path: simpara/ulink #: debmake-doc.en.xml:628 msgid "https://wiki.debian.org/Teams" msgstr "" #. (itstool) path: listitem/simpara #: debmake-doc.en.xml:627 msgid "" "Teams focusing on a specific set of packages. (Full list at <_:ulink-1/>)" msgstr "" #. (itstool) path: listitem/simpara #: debmake-doc.en.xml:632 msgid "Language-specific mailing lists." msgstr "" #. (itstool) path: simpara/ulink #: debmake-doc.en.xml:638 msgid "debian-devel-{french,italian,portuguese,spanish}@lists.debian.org" msgstr "" #. (itstool) path: simpara/ulink #: debmake-doc.en.xml:643 msgid "debian-devel@debian.or.jp" msgstr "" #. (itstool) path: section/simpara #: debmake-doc.en.xml:649 msgid "" "The more experienced Debian developers will gladly help you, if you ask " "properly after making your required efforts." msgstr "" #. (itstool) path: caution/simpara #: debmake-doc.en.xml:650 msgid "" "Debian development is a moving target. Some information found on the web may " "be outdated, incorrect, and not-applicable. Please use them carefully." msgstr "" #. (itstool) path: section/title #: debmake-doc.en.xml:653 msgid "Archive situation" msgstr "" #. (itstool) path: section/simpara #: debmake-doc.en.xml:654 msgid "Please realize the situation of the Debian archive." msgstr "" #. (itstool) path: listitem/simpara #: debmake-doc.en.xml:657 msgid "Debian already has packages for most kinds of programs." msgstr "" #. (itstool) path: listitem/simpara #: debmake-doc.en.xml:662 msgid "" "The number of packages already in the Debian archive is several tens of " "times greater than that of active maintainers." msgstr "" #. (itstool) path: listitem/simpara #: debmake-doc.en.xml:667 msgid "" "Unfortunately, some packages lack appropriate level of attention by the " "maintainer." msgstr "" #. (itstool) path: section/simpara #: debmake-doc.en.xml:672 msgid "" "Thus, contributions to packages already in the archive are far more " "appreciated (and more likely to receive sponsorship for the uploading) by " "other maintainers." msgstr "" #. (itstool) path: tip/simpara #: debmake-doc.en.xml:673 msgid "" "The wnpp-alert command from the " "devscripts package can check for " "installed packages up for adoption or orphaned." msgstr "" #. (itstool) path: section/title #: debmake-doc.en.xml:676 msgid "Contribution approaches" msgstr "" #. (itstool) path: section/simpara #: debmake-doc.en.xml:677 msgid "" "Here is a pseudo-Python code for your contribution approaches to Debian with " "a program:" msgstr "" #. (itstool) path: section/simpara #: debmake-doc.en.xml:713 msgid "Here:" msgstr "" #. (itstool) path: listitem/simpara #: debmake-doc.en.xml:716 msgid "For exist_in_debian(), and is_team_maintained(); check:" msgstr "" #. (itstool) path: listitem/simpara #: debmake-doc.en.xml:721 msgid "the aptitude command" msgstr "" #. (itstool) path: simpara/ulink #: debmake-doc.en.xml:727 msgid "Debian packages" msgstr "" #. (itstool) path: listitem/simpara #: debmake-doc.en.xml:726 msgid "<_:ulink-1/> web page" msgstr "" #. (itstool) path: simpara/ulink #: debmake-doc.en.xml:732 msgid "Teams" msgstr "" #. (itstool) path: listitem/simpara #: debmake-doc.en.xml:738 msgid "For is_orphaned(), is_RFA(), and is_ITPed_by_others(); check:" msgstr "" #. (itstool) path: listitem/simpara #: debmake-doc.en.xml:743 msgid "" "The output of the wnpp-alert command." msgstr "" #. (itstool) path: simpara/ulink #: debmake-doc.en.xml:749 msgid "Work-Needing and Prospective Packages" msgstr "" #. (itstool) path: simpara/ulink #: debmake-doc.en.xml:754 msgid "Debian Bug report logs: Bugs in pseudo-package wnpp in unstable" msgstr "" #. (itstool) path: simpara/ulink #: debmake-doc.en.xml:759 msgid "Debian Packages that Need Lovin'" msgstr "" #. (itstool) path: simpara/ulink #: debmake-doc.en.xml:764 msgid "Browse wnpp bugs based on debtags" msgstr "" #. (itstool) path: listitem/simpara #: debmake-doc.en.xml:770 msgid "For is_good_program(), check:" msgstr "" #. (itstool) path: listitem/simpara #: debmake-doc.en.xml:775 msgid "The program should be useful." msgstr "" #. (itstool) path: listitem/simpara #: debmake-doc.en.xml:780 msgid "" "The program should not introduce security and maintenance concerns to the " "Debian system." msgstr "" #. (itstool) path: listitem/simpara #: debmake-doc.en.xml:785 msgid "" "The program should be well documented and its code needs to be " "understandable (i.e. not obfuscated)." msgstr "" #. (itstool) path: footnote/simpara #: debmake-doc.en.xml:791 msgid "" "This is not the absolute requirement. The hostile upstream may become major " "resource drains for us all. The friendly upstream can be consulted to solve " "any problems with the program." msgstr "" #. (itstool) path: listitem/simpara #: debmake-doc.en.xml:790 msgid "" "The program’s authors agree with the packaging and are amicable to Debian. " "<_:footnote-1/>" msgstr "" #. (itstool) path: listitem/simpara #: debmake-doc.en.xml:797 msgid "For is_it_DFSG(), and is_its_dependency_DFSG(); check:" msgstr "" #. (itstool) path: simpara/ulink #: debmake-doc.en.xml:803 msgid "Debian Free Software Guidelines" msgstr "" #. (itstool) path: listitem/simpara #: debmake-doc.en.xml:802 msgid "<_:ulink-1/> (DFSG)." msgstr "" #. (itstool) path: listitem/simpara #: debmake-doc.en.xml:809 msgid "For is_it_distributable(), check:" msgstr "" #. (itstool) path: listitem/simpara #: debmake-doc.en.xml:814 msgid "The software must have a license and it should allow its distribution." msgstr "" #. (itstool) path: section/simpara #: debmake-doc.en.xml:821 msgid "" "You either need to file an ITP or adopt a package to start working on it. " "See the “Debian Developer’s Reference”:" msgstr "" #. (itstool) path: simpara/ulink #: debmake-doc.en.xml:825 msgid "5.1. New packages" msgstr "" #. (itstool) path: listitem/simpara #: debmake-doc.en.xml:824 debmake-doc.en.xml:829 msgid "<_:ulink-1/>." msgstr "" #. (itstool) path: simpara/ulink #: debmake-doc.en.xml:830 msgid "" "5.9. Moving, removing, renaming, orphaning, adopting, and reintroducing " "packages" msgstr "" #. (itstool) path: section/title #: debmake-doc.en.xml:836 msgid "Novice maintainer" msgstr "" #. (itstool) path: section/simpara #: debmake-doc.en.xml:837 msgid "" "The novice maintainer should avoid packaging programs with the high security " "exposure:" msgstr "" #. (itstool) path: listitem/simpara #: debmake-doc.en.xml:840 msgid "" "setuid or setgid program" msgstr "" #. (itstool) path: listitem/simpara #: debmake-doc.en.xml:845 msgid "daemon program" msgstr "" #. (itstool) path: listitem/simpara #: debmake-doc.en.xml:850 msgid "" "program installed in the /sbin/ or " "/usr/sbin/ directories" msgstr "" #. (itstool) path: section/simpara #: debmake-doc.en.xml:855 msgid "" "When you gain more experience in packaging, you’ll be able to package such " "programs." msgstr "" #. (itstool) path: chapter/title #: debmake-doc.en.xml:859 msgid "Tool Setups" msgstr "" #. (itstool) path: chapter/simpara #: debmake-doc.en.xml:860 msgid "" "The build-essential package must be " "installed in the build environment." msgstr "" #. (itstool) path: chapter/simpara #: debmake-doc.en.xml:861 msgid "" "The devscripts package should be " "installed on the maintainer environment." msgstr "" #. (itstool) path: chapter/simpara #: debmake-doc.en.xml:862 msgid "" "Although this is not necessary the absolute requirement, it is a good idea " "to install and setup all of the popular set of packages mentioned in this " "chapter on the maintainer environment. This enables us to share the common " "baseline working environment." msgstr "" #. (itstool) path: simpara/ulink #: debmake-doc.en.xml:863 #, fuzzy msgid "Overview of Debian Maintainer Tools" msgstr "Debian Maintainer向け案内書" #. (itstool) path: chapter/simpara #: debmake-doc.en.xml:863 msgid "" "Please install the tools mentioned in the <_:ulink-1/> of the “Debian " "Developer’s Reference”, as needed, too." msgstr "" #. (itstool) path: footnote/simpara #: debmake-doc.en.xml:864 msgid "" "The cut-and-paste from the PDF format does not function well for U+0022 " "QUOTATION MARK (ASCII double quote), U+0027 APOSTROPHE (ASCII single quote), " "and U+0060 GRAVE ACCENT (ASCII back tick) since they are converted by the " "LaTeX to U+201D RIGHT DOUBLE QUOTATION MARK, U+2019 RIGHT SINGLE QUOTATION " "MARK, and U+2018 LEFT SINGLE QUOTATION MARK." msgstr "" #. (itstool) path: tip/simpara #: debmake-doc.en.xml:864 msgid "" "For the cut-and-paste from the code listing part, use this document in the " "HTML format. <_:footnote-1/>" msgstr "" #. (itstool) path: caution/simpara #: debmake-doc.en.xml:865 msgid "" "Tool setups presented here are only meant as an example and may not be up-to-" "date with the latest packages on the system. Debian development is a moving " "target. Please make sure to read the pertinent documentation and update the " "configuration as needed." msgstr "" #. (itstool) path: section/title #: debmake-doc.en.xml:867 msgid "Email address" msgstr "" #. (itstool) path: section/simpara #: debmake-doc.en.xml:868 msgid "" "Various Debian maintenance tools recognize your email address and name to " "use by the shell environment variables $DEBEMAIL and $DEBFULLNAME." msgstr "" #. (itstool) path: footnote/simpara #: debmake-doc.en.xml:869 msgid "" "This assumes you are using Bash as your login shell. If you use some other " "login shell such as Z shell, use their corresponding configuration files " "instead of ~/.bashrc." msgstr "" #. (itstool) path: section/simpara #: debmake-doc.en.xml:869 msgid "" "Let’s setup these packages by adding the following lines to ~/.bashrc <_:footnote-1/>." msgstr "" #. (itstool) path: formalpara/title #: debmake-doc.en.xml:870 debmake-doc.en.xml:879 debmake-doc.en.xml:902 msgid "Add to the ~/.bashrc file" msgstr "" #. (itstool) path: section/title #: debmake-doc.en.xml:877 msgid "mc" msgstr "" #. (itstool) path: section/simpara #: debmake-doc.en.xml:878 msgid "" "The mc command offers very easy ways to " "manage files. It can open the binary deb file to check its content by pressing the Enter key over the " "binary deb file. It uses the dpkg-deb command as its back-end. Let’s setup it " "to support easy chdir as follows." msgstr "" #. (itstool) path: section/title #: debmake-doc.en.xml:886 msgid "git" msgstr "" #. (itstool) path: section/simpara #: debmake-doc.en.xml:887 msgid "" "Nowadays, the git command is the " "essential tool to manage the source tree with history." msgstr "" #. (itstool) path: section/simpara #: debmake-doc.en.xml:888 msgid "" "The global user configuration for the git command such as your name and email address can be set in " "~/.gitconfig as follows." msgstr "" #. (itstool) path: section/simpara #: debmake-doc.en.xml:891 msgid "" "If you are too accustomed to the CVS or Subversion commands, you may wish to " "set several command aliases as follows." msgstr "" #. (itstool) path: section/simpara #: debmake-doc.en.xml:894 msgid "You can check your global configuration as follows." msgstr "" #. (itstool) path: tip/simpara #: debmake-doc.en.xml:896 msgid "" "It is essential to use the gitk command " "to work effectively with the history of the git repository." msgstr "" #. (itstool) path: section/title #: debmake-doc.en.xml:899 msgid "quilt" msgstr "" #. (itstool) path: section/simpara #: debmake-doc.en.xml:900 msgid "" "The quilt command offers a basic method " "for recording modifications. For the Debian packaging, it should be " "customized to record modifications in the debian/" "patches/ directory instead of its default patches/ directory." msgstr "" #. (itstool) path: section/simpara #: debmake-doc.en.xml:901 msgid "" "In order to avoid changing the behavior of the quilt command itself, let’s create an alias dquilt for the Debian packaging by adding the " "following lines to the ~/.bashrc file. " "The second line provides the same shell completion feature of the quilt command to the dquilt command." msgstr "" #. (itstool) path: section/simpara #: debmake-doc.en.xml:906 msgid "" "Then let’s create ~/.quiltrc-dpkg as " "follows." msgstr "" #. (itstool) path: simpara/ulink #: debmake-doc.en.xml:920 msgid "How To Survive With Many Patches or Introduction to Quilt" msgstr "" #. (itstool) path: section/simpara #: debmake-doc.en.xml:920 msgid "" "See quilt(1) and <_:ulink-1/> on how to " "use the quilt command." msgstr "" #. (itstool) path: section/simpara #: debmake-doc.en.xml:921 msgid "See for example usages." msgstr "" #. (itstool) path: section/title #: debmake-doc.en.xml:924 msgid "devscripts" msgstr "" #. (itstool) path: section/simpara #: debmake-doc.en.xml:925 msgid "" "The debsign command, included in the " "devscripts package, is used to sign the " "Debian package with your private GPG key." msgstr "" #. (itstool) path: section/simpara #: debmake-doc.en.xml:926 msgid "" "The debuild command, included in the " "devscripts package, builds the binary " "package and check them with the lintian " "command. It is useful to have verbose outputs from the lintian command." msgstr "" #. (itstool) path: section/simpara #: debmake-doc.en.xml:927 msgid "" "You can setup these by the ~/.devscripts as follows." msgstr "" #. (itstool) path: simpara/ulink #: debmake-doc.en.xml:931 msgid "Creating a new GPG key" msgstr "" #. (itstool) path: section/simpara #: debmake-doc.en.xml:931 msgid "Currently, RSA key with 4096 bits is good idea. See <_:ulink-1/>." msgstr "" #. (itstool) path: section/title #: debmake-doc.en.xml:934 msgid "pbuilder" msgstr "" #. (itstool) path: footnote/simpara #: debmake-doc.en.xml:935 msgid "" "The sbuild package provides an " "alternative chroot platform." msgstr "" #. (itstool) path: section/simpara #: debmake-doc.en.xml:935 msgid "" "The pbuilder package provides the clean " "room (chroot) build environment. <_:" "footnote-1/>" msgstr "" #. (itstool) path: section/simpara #: debmake-doc.en.xml:936 msgid "Let’s customize it with several helper packages." msgstr "" #. (itstool) path: listitem/simpara #: debmake-doc.en.xml:939 msgid "" "The cowbuilder package to boost the " "chroot creation speed." msgstr "" #. (itstool) path: listitem/simpara #: debmake-doc.en.xml:944 msgid "" "The lintian package to find bugs in the " "package." msgstr "" #. (itstool) path: listitem/simpara #: debmake-doc.en.xml:949 msgid "" "The bash, mc, and vim packages in case " "build fails." msgstr "" #. (itstool) path: listitem/simpara #: debmake-doc.en.xml:954 msgid "" "The ccache package to boost the " "gcc speed. (optional)" msgstr "" #. (itstool) path: listitem/simpara #: debmake-doc.en.xml:959 msgid "" "The libeatmydata1 package to boost the " "dpkg speed. (optional)" msgstr "" #. (itstool) path: listitem/simpara #: debmake-doc.en.xml:964 msgid "" "The parallel make to boost the build " "speed. (optional)" msgstr "" #. (itstool) path: warning/simpara #: debmake-doc.en.xml:969 msgid "" "The optional customization may cause negative effects. In case of doubts, " "disable them." msgstr "" #. (itstool) path: section/simpara #: debmake-doc.en.xml:970 msgid "" "Let’s create ~/.pbuilderrc as follows " "(all optional features are disabled)." msgstr "" #. (itstool) path: note/simpara #: debmake-doc.en.xml:991 msgid "" "A symlink from /root/.pbuilderrc to " "/home/<user>/.pbuilderrc may help " "for the consistent experience." msgstr "" #. (itstool) path: simpara/ulink #: debmake-doc.en.xml:992 msgid "Bug #606542" msgstr "" #. (itstool) path: note/simpara #: debmake-doc.en.xml:992 msgid "" "Due to <_:ulink-1/>, you may need to manually install packages listed in " "EXTRAPACKAGES into the chroot. See " "." msgstr "" #. (itstool) path: note/simpara #: debmake-doc.en.xml:993 msgid "" "Install libeatmydata1 (>=82-2) both " "inside and outside of the chroot or disable to use libeatmydata1. This may cause the race condition with some " "build systems." msgstr "" #. (itstool) path: note/simpara #: debmake-doc.en.xml:994 msgid "" "The parallel make may fail for some " "existing packages and may make the build log difficult to read." msgstr "" #. (itstool) path: section/simpara #: debmake-doc.en.xml:995 msgid "Let’s create a hook scripts as follows." msgstr "" #. (itstool) path: section/simpara #: debmake-doc.en.xml:996 msgid "" "/var/cache/pbuilder/hooks/A10ccache" msgstr "" #. (itstool) path: section/simpara #: debmake-doc.en.xml:1003 msgid "" "/var/cache/pbuilder/hooks/B90lintian" msgstr "" #. (itstool) path: section/simpara #: debmake-doc.en.xml:1010 msgid "/var/cache/pbuilder/hooks/C10shell" msgstr "" #. (itstool) path: note/simpara #: debmake-doc.en.xml:1017 msgid "" "All these scripts need to be set world executable: “-rwxr-xr-x 1 root root”." msgstr "" #. (itstool) path: note/simpara #: debmake-doc.en.xml:1018 msgid "" "The ccache cache directory /var/cache/pbuilder/ccache needs to be set world " "writable: “-rwxrwxrwx 1 root root” for " "the pbuilder command. You should be " "aware of associated security concerns." msgstr "" #. (itstool) path: section/title #: debmake-doc.en.xml:1021 debmake-doc.en.xml:4465 msgid "git-buildpackage" msgstr "" #. (itstool) path: section/simpara #: debmake-doc.en.xml:1022 msgid "" "You may wish to set several global configurations in ~/.gbp.conf" msgstr "" #. (itstool) path: tip/simpara #: debmake-doc.en.xml:1032 msgid "" "The gbp command is the alias of the " "git-buildpackage command." msgstr "" #. (itstool) path: section/title #: debmake-doc.en.xml:1035 msgid "HTTP proxy" msgstr "" #. (itstool) path: section/simpara #: debmake-doc.en.xml:1036 msgid "" "You should set up a local HTTP caching proxy to save the bandwidth for the " "Debian package repository access. There are several choices:" msgstr "" #. (itstool) path: listitem/simpara #: debmake-doc.en.xml:1039 msgid "" "Simple HTTP caching proxy using the squid package." msgstr "" #. (itstool) path: listitem/simpara #: debmake-doc.en.xml:1044 msgid "" "Specialized HTTP caching proxy using the apt-" "cacher-ng package." msgstr "" #. (itstool) path: section/title #: debmake-doc.en.xml:1051 msgid "Private Debian repository" msgstr "" #. (itstool) path: section/simpara #: debmake-doc.en.xml:1052 msgid "" "You can set up a private Debian package repository with the reprepro package." msgstr "" #. (itstool) path: chapter/title #: debmake-doc.en.xml:1056 msgid "Simple Example" msgstr "" #. (itstool) path: chapter/simpara #: debmake-doc.en.xml:1057 msgid "" "There is an old Latin saying: “Longum iter est per " "praecepta, breve et efficax per exempla” (“It’s a long way by the " "rules, but short and efficient with examples”)." msgstr "" #. (itstool) path: chapter/simpara #. (itstool) path: section/simpara #: debmake-doc.en.xml:1058 debmake-doc.en.xml:6243 msgid "" "Here is an example of creating a simple Debian package from a simple C " "source using the Makefile as its build " "system." msgstr "" #. (itstool) path: chapter/simpara #: debmake-doc.en.xml:1059 msgid "" "Let’s assume this upstream tarball to be debhello-0.0.tar.gz." msgstr "" #. (itstool) path: chapter/simpara #. (itstool) path: section/simpara #: debmake-doc.en.xml:1060 debmake-doc.en.xml:5606 debmake-doc.en.xml:5734 #: debmake-doc.en.xml:6246 msgid "This type of source is meant to be installed as a non-system file as:" msgstr "" #. (itstool) path: chapter/simpara #. (itstool) path: section/simpara #: debmake-doc.en.xml:1065 debmake-doc.en.xml:5610 debmake-doc.en.xml:6251 msgid "" "Debian packaging requires to change this “make " "install” process to install files to the target system image " "location instead of the normal location under /usr/" "local." msgstr "" #. (itstool) path: note/simpara #: debmake-doc.en.xml:1066 msgid "" "Examples of creating Debian package from other complicated build systems are " "described in ." msgstr "" #. (itstool) path: section/title #: debmake-doc.en.xml:1068 msgid "Big picture" msgstr "" #. (itstool) path: section/simpara #: debmake-doc.en.xml:1069 msgid "" "The big picture for building a single non-native Debian package from the " "upstream tarball debhello-0.0.tar.gz " "can be summarized as:" msgstr "" #. (itstool) path: listitem/simpara #: debmake-doc.en.xml:1072 msgid "The maintainer obtains the upstream tarball and untar its contents." msgstr "" #. (itstool) path: listitem/simpara #: debmake-doc.en.xml:1077 msgid "" "The debmake command debianize the " "upstream source tree by adding template files to it." msgstr "" #. (itstool) path: listitem/simpara #: debmake-doc.en.xml:1082 msgid "The maintainer customizes template files." msgstr "" #. (itstool) path: listitem/simpara #: debmake-doc.en.xml:1087 msgid "" "The debuild command builds the binary " "package from the debianized source tree." msgstr "" #. (itstool) path: formalpara/title #: debmake-doc.en.xml:1092 msgid "Big picture of package building" msgstr "" #. (itstool) path: tip/simpara #: debmake-doc.en.xml:1099 msgid "" "The debuild command in this and " "following examples may be substituted by the equivalent commands such as the " "pdebuild command." msgstr "" #. (itstool) path: section/title #: debmake-doc.en.xml:1102 msgid "What is debmake?" msgstr "" #. (itstool) path: section/simpara #: debmake-doc.en.xml:1103 msgid "" "The debmake command is the helper " "script for the Debian packaging." msgstr "" #. (itstool) path: listitem/simpara #: debmake-doc.en.xml:1106 msgid "" "It always sets most of the obvious option states and values to reasonable " "defaults." msgstr "" #. (itstool) path: listitem/simpara #: debmake-doc.en.xml:1111 msgid "" "It generates the upstream tarball and its required symlink if they are " "missing." msgstr "" #. (itstool) path: listitem/simpara #: debmake-doc.en.xml:1116 msgid "" "It doesn’t overwrite the existing configuration files in the debian/ directory." msgstr "" #. (itstool) path: listitem/simpara #: debmake-doc.en.xml:1121 msgid "It supports the multiarch package." msgstr "" #. (itstool) path: listitem/simpara #: debmake-doc.en.xml:1126 msgid "" "It creates good template files such as the debian/" "copyright file complaint to DEP-5." msgstr "" #. (itstool) path: section/simpara #: debmake-doc.en.xml:1131 msgid "" "These features make Debian packaging with debmake simple and modern." msgstr "" #. (itstool) path: section/title #: debmake-doc.en.xml:1134 msgid "What is debuild?" msgstr "" #. (itstool) path: section/simpara #: debmake-doc.en.xml:1135 msgid "" "Here is a summary of commands similar to the debuild command." msgstr "" #. (itstool) path: listitem/simpara #: debmake-doc.en.xml:1138 msgid "" "The debian/rules file defines how the " "Debian package is built." msgstr "" #. (itstool) path: listitem/simpara #: debmake-doc.en.xml:1143 msgid "" "The dpkg-buildpackage is the official " "command to invoke debian/rules to build " "the Debian package. Notably, it executes itself with the clean target before the binary one for the normal package build." msgstr "" #. (itstool) path: listitem/simpara #: debmake-doc.en.xml:1148 msgid "" "The debuild command is a wrapper script " "of dpkg-buidpackage to build a package " "under the proper environment variables." msgstr "" #. (itstool) path: listitem/simpara #: debmake-doc.en.xml:1153 msgid "" "The pdebuild command is a wrapper " "script to build a package under the proper chroot environment with the " "proper environment variables." msgstr "" #. (itstool) path: listitem/simpara #: debmake-doc.en.xml:1158 msgid "" "The git-pbuilder command is another " "wrapper script to build a package under the proper chroot environment with " "the proper environment variables. This provides an easier command line UI to " "switch among different build environments." msgstr "" #. (itstool) path: section/title #: debmake-doc.en.xml:1165 msgid "Step-by-step: upstream" msgstr "" #. (itstool) path: section/simpara #: debmake-doc.en.xml:1166 msgid "Let’s get the source." msgstr "" #. (itstool) path: formalpara/title #: debmake-doc.en.xml:1167 msgid "Download debhello-0.0.tar.gz" msgstr "" #. (itstool) path: section/simpara #: debmake-doc.en.xml:1182 msgid "" "Here, the C source hello.c is a very " "simple one." msgstr "" #. (itstool) path: formalpara/title #: debmake-doc.en.xml:1183 msgid "hello.c" msgstr "" #. (itstool) path: section/simpara #: debmake-doc.en.xml:1193 msgid "" "Here, the Makefile supports <_:ulink-1/" "> and <_:ulink-2/>. Notably:" msgstr "" #. (itstool) path: listitem/simpara #: debmake-doc.en.xml:1196 msgid "" "build binaries honoring $(CPPFLAGS), " "$(CFLAGS), " "$(LDFLAGS), etc." msgstr "" #. (itstool) path: listitem/simpara #: debmake-doc.en.xml:1201 msgid "" "install files with the $(DESTDIR) to " "the target system image" msgstr "" #. (itstool) path: listitem/simpara #: debmake-doc.en.xml:1206 msgid "" "install files with the $(prefix) which " "can be overridden to be /usr" msgstr "" #. (itstool) path: formalpara/title #: debmake-doc.en.xml:1211 msgid "Makefile" msgstr "" #. (itstool) path: note/simpara #: debmake-doc.en.xml:1237 msgid "" "The echo of the $(CFLAGS) is used to verify the proper setting of the build " "flag in the following example." msgstr "" #. (itstool) path: section/title #: debmake-doc.en.xml:1240 msgid "Step-by-step: debmake" msgstr "" #. (itstool) path: tip/simpara #: debmake-doc.en.xml:1241 msgid "" "If the debmake command is invoked with " "the -T option, more verbose comments " "are generated for the template files." msgstr "" #. (itstool) path: section/simpara #: debmake-doc.en.xml:1242 msgid "" "The output from the debmake command is " "very verbose and explains what it does as follows." msgstr "" #. (itstool) path: section/simpara #: debmake-doc.en.xml:1287 msgid "" "The debmake command generates all these " "template files based on the command line option. Since no options are " "specified, the debmake command choses " "reasonable default values for you:" msgstr "" #. (itstool) path: listitem/simpara #: debmake-doc.en.xml:1290 msgid "The source package name: debhello" msgstr "" #. (itstool) path: listitem/simpara #: debmake-doc.en.xml:1295 msgid "The upstream version: 0.0" msgstr "" #. (itstool) path: listitem/simpara #: debmake-doc.en.xml:1300 msgid "The binary package name: debhello" msgstr "" #. (itstool) path: listitem/simpara #: debmake-doc.en.xml:1305 msgid "The Debian revision: 1" msgstr "" #. (itstool) path: listitem/simpara #: debmake-doc.en.xml:1310 msgid "" "The package type: bin (the ELF binary " "executable package)" msgstr "" #. (itstool) path: listitem/simpara #: debmake-doc.en.xml:1315 msgid "" "The -x option: -x1 (default for the single binary package)" msgstr "" #. (itstool) path: section/simpara #: debmake-doc.en.xml:1320 debmake-doc.en.xml:5259 msgid "Let’s inspect generated template files." msgstr "" #. (itstool) path: formalpara/title #: debmake-doc.en.xml:1321 msgid "" "The source tree after the basic debmake " "execution." msgstr "" #. (itstool) path: section/simpara #: debmake-doc.en.xml:1348 msgid "" "The debian/rules file is the build " "script provided by the package maintainer. Here is its template file " "generated by the debmake command." msgstr "" #. (itstool) path: formalpara/title #: debmake-doc.en.xml:1349 msgid "debian/rules (template file):" msgstr "" #. (itstool) path: section/simpara #: debmake-doc.en.xml:1367 msgid "" "This is essentially the standard debian/rules file with the dh command. " "(There are some commented out contents for you to customize it.)" msgstr "" #. (itstool) path: section/simpara #: debmake-doc.en.xml:1368 msgid "" "The debian/control file provides the " "main meta data for the Debian package. Here is its template file generated " "by the debmake command." msgstr "" #. (itstool) path: formalpara/title #: debmake-doc.en.xml:1369 msgid "debian/control (template file):" msgstr "" #. (itstool) path: section/simpara #: debmake-doc.en.xml:1387 msgid "" "Since this is the ELF binary executable package, the debmake command sets “Architecture: " "any” and “Multi-Arch: foreign”. Also, it sets required substvar parameters as “Depends: ${shlibs:" "Depends}, ${misc:Depends}”. These are explained in ." msgstr "" #. (itstool) path: simpara/ulink #: debmake-doc.en.xml:1388 msgid "5.2 Source package control files — debian/control" msgstr "" #. (itstool) path: note/simpara #: debmake-doc.en.xml:1388 msgid "" "Please note this debian/control file " "uses the RFC-822 style as documented in <_:ulink-1/> of the “Debian Policy " "Manual”. The use of the empty line and the leading space are significant." msgstr "" #. (itstool) path: section/simpara #: debmake-doc.en.xml:1389 msgid "" "The debian/copyright file provides the " "copyright summary data of the Debian package. Here is its template file " "generated by the debmake command." msgstr "" #. (itstool) path: formalpara/title #: debmake-doc.en.xml:1390 msgid "debian/copyright (template file):" msgstr "" #. (itstool) path: section/title #: debmake-doc.en.xml:1433 msgid "Step-by-step: maintainer" msgstr "" #. (itstool) path: section/simpara #: debmake-doc.en.xml:1434 msgid "" "Some manual modification is required to make the proper Debian package as a " "maintainer." msgstr "" #. (itstool) path: section/simpara #: debmake-doc.en.xml:1435 msgid "" "In order to install files as a part of the system files, the $(prefix) value of /usr/" "local in the Makefile should " "be overridden to be /usr. This can be " "accommodated by the following the debian/rules file with the override_dh_auto_install target setting “prefix=/usr”." msgstr "" #. (itstool) path: formalpara/title #: debmake-doc.en.xml:1436 msgid "debian/rules (maintainer version):" msgstr "" #. (itstool) path: section/simpara #: debmake-doc.en.xml:1452 msgid "" "Exporting the DH_VERBOSE in the " "debian/rules file as above forces the " "debhelper tool to make a fine grained " "build report." msgstr "" #. (itstool) path: footnote/simpara #: debmake-doc.en.xml:1453 msgid "" "This is a cliché to force read-only relocation link for the hardening and to " "prevent the lintian warning “W: debhello: " "hardening-no-relro usr/bin/hello”. This is not really needed for " "this example but should be harmless. The lintian seems to produce false " "positive warning for this case which has no linked library." msgstr "" #. (itstool) path: section/simpara #: debmake-doc.en.xml:1453 msgid "" "Exporting the DEB_BUILD_MAINT_OPTION as " "above sets the hardening options as described in the “FEATURE AREAS/" "ENVIRONMENT” in dpkg-buildflags(1). <_:" "footnote-1/>" msgstr "" #. (itstool) path: section/simpara #: debmake-doc.en.xml:1454 msgid "" "Exporting the DEB_CFLAGS_MAINT_APPEND " "as above forces C compiler to emit all the warnings." msgstr "" #. (itstool) path: footnote/simpara #: debmake-doc.en.xml:1455 msgid "" "This is a cliché to prevent overlinking for the complex library dependency " "case such as Gnome programs. This is not really needed for this simple " "example but should be harmless." msgstr "" #. (itstool) path: section/simpara #: debmake-doc.en.xml:1455 msgid "" "Exporting the DEB_LDFLAGS_MAINT_APPEND " "as above forces linker to link only when the library is actually needed. <_:" "footnote-1/>" msgstr "" #. (itstool) path: section/simpara #: debmake-doc.en.xml:1456 msgid "" "The dh_auto_install command for the " "Makefile based build system does essentially “" "$(MAKE) install DESTDIR=debian/debhello”. The creation of this " "override_dh_auto_install target changes " "its behavior to “$(MAKE) install DESTDIR=debian/" "debhello prefix=/usr”." msgstr "" #. (itstool) path: section/simpara #: debmake-doc.en.xml:1457 msgid "" "Here are the maintainer version of the debian/" "control and debian/copyright " "files." msgstr "" #. (itstool) path: formalpara/title #: debmake-doc.en.xml:1458 msgid "" "debian/control (maintainer version):" msgstr "" #. (itstool) path: formalpara/title #: debmake-doc.en.xml:1481 msgid "" "debian/copyright (maintainer version):" msgstr "" #. (itstool) path: section/simpara #: debmake-doc.en.xml:1510 debmake-doc.en.xml:5463 debmake-doc.en.xml:5709 #: debmake-doc.en.xml:5906 debmake-doc.en.xml:6041 debmake-doc.en.xml:6343 #: debmake-doc.en.xml:6553 debmake-doc.en.xml:6714 debmake-doc.en.xml:6899 #: debmake-doc.en.xml:7231 debmake-doc.en.xml:7540 msgid "" "There are several other template files under the debian/ directory. These also needs to be updated." msgstr "" #. (itstool) path: formalpara/title #: debmake-doc.en.xml:1511 msgid "" "Template files under debian/. (v=0.0):" msgstr "" #. (itstool) path: tip/simpara #: debmake-doc.en.xml:1529 msgid "" "Configuration files used by the dh_* " "commands from the debhelper package " "usually treat # as the start of the " "comment line." msgstr "" #. (itstool) path: section/title #: debmake-doc.en.xml:1532 msgid "Step-by-step: debuild" msgstr "" #. (itstool) path: section/simpara #: debmake-doc.en.xml:1533 debmake-doc.en.xml:5484 msgid "" "You can create a non-native Debian package using the debuild command (or its equivalents) in this source tree. The " "command output is very verbose and explains what it does as follows." msgstr "" #. (itstool) path: section/simpara #: debmake-doc.en.xml:1564 msgid "" "You can verify CFLAGS is updated " "properly with -Wall and -pedantic by the DEB_CFLAGS_MAINT_APPEND variable." msgstr "" #. (itstool) path: section/simpara #: debmake-doc.en.xml:1565 msgid "" "The manpage should be added to the package as reported by the lintian package as shown in the later examples (see " "). Let’s move on for now." msgstr "" #. (itstool) path: section/simpara #: debmake-doc.en.xml:1566 debmake-doc.en.xml:5508 msgid "Let’s inspect the result." msgstr "" #. (itstool) path: formalpara/title #: debmake-doc.en.xml:1567 msgid "" "The generated files of debhello version " "0.0 by the debuild command:" msgstr "" #. (itstool) path: section/simpara #: debmake-doc.en.xml:1582 debmake-doc.en.xml:5524 msgid "You see all the generated files." msgstr "" #. (itstool) path: listitem/simpara #: debmake-doc.en.xml:1585 msgid "" "The debhello_0.0.orig.tar.gz is a " "symlink to the upstream tarball." msgstr "" #. (itstool) path: listitem/simpara #: debmake-doc.en.xml:1590 msgid "" "The debhello_0.0-1.debian.tar.xz " "contains the maintainer generated contents." msgstr "" #. (itstool) path: listitem/simpara #: debmake-doc.en.xml:1595 msgid "" "The debhello_0.0-1.dsc is the meta data " "file for the Debian source package." msgstr "" #. (itstool) path: listitem/simpara #: debmake-doc.en.xml:1600 msgid "" "The debhello_0.0-1_amd64.deb is the " "Debian binary package." msgstr "" #. (itstool) path: listitem/simpara #: debmake-doc.en.xml:1605 msgid "" "The debhello_0.0-1_amd64.changes is the " "meta data file for the Debian binary package." msgstr "" #. (itstool) path: section/simpara #: debmake-doc.en.xml:1610 msgid "" "The debhello_0.0-1.debian.tar.xz " "contains the Debian changes to the upstream source as follows." msgstr "" #. (itstool) path: formalpara/title #: debmake-doc.en.xml:1611 msgid "" "The compressed archive contents of debhello_0.0-1." "debian.tar.xz:" msgstr "" #. (itstool) path: section/simpara #: debmake-doc.en.xml:1632 msgid "" "The debhello_0.0-1_amd64.deb contains " "the files to be installed as follows." msgstr "" #. (itstool) path: formalpara/title #: debmake-doc.en.xml:1633 msgid "" "The binary package contents of debhello_0.0-1_amd64.deb:" msgstr "" #. (itstool) path: section/simpara #: debmake-doc.en.xml:1646 msgid "" "The generated dependency of debhello_0.0-1_amd64." "deb is as follows." msgstr "" #. (itstool) path: formalpara/title #: debmake-doc.en.xml:1647 msgid "" "The generated dependency of debhello_0.0-1_amd64." "deb:" msgstr "" #. (itstool) path: caution/simpara #: debmake-doc.en.xml:1651 msgid "" "Much more details need to be addressed before uploading the package to the " "Debian archive." msgstr "" #. (itstool) path: note/simpara #: debmake-doc.en.xml:1652 msgid "" "If manual adjustments of auto-generated configuration files are skipped, the " "generated binary package may lack meaningful package description and some of " "the policy requirements may be missed. This sloppy package functions well " "under the dpkg command, and may be good " "enough for your local deployment." msgstr "" #. (itstool) path: section/title #: debmake-doc.en.xml:1655 msgid "Alternative: patch files" msgstr "" #. (itstool) path: section/simpara #: debmake-doc.en.xml:1656 msgid "" "The above step-by-step example did not touch the upstream source to make the " "proper Debian package." msgstr "" #. (itstool) path: section/simpara #: debmake-doc.en.xml:1657 msgid "" "An alternative approach is to change the upstream source by creating the " "patch 000-prefix-usr.patch which " "modifies the upstream Makefile to set " "the $(prefix) value to /usr in advance." msgstr "" #. (itstool) path: formalpara/title #: debmake-doc.en.xml:1658 msgid "" "create 000-prefix-usr.patch by the " "diff command:" msgstr "" #. (itstool) path: section/simpara #: debmake-doc.en.xml:1676 msgid "" "Please note that the upstream source tree is restored to the original state." msgstr "" #. (itstool) path: section/simpara #: debmake-doc.en.xml:1677 msgid "" "The packaging is practically the same as the above step-by-step example " "except for 2 points of the maintainer modification." msgstr "" #. (itstool) path: section/simpara #: debmake-doc.en.xml:1678 msgid "" "The maintainer modification to the debian/rules file doesn’t have the override_dh_auto_install target as follows:" msgstr "" #. (itstool) path: formalpara/title #: debmake-doc.en.xml:1679 msgid "" "debian/rules (alternative maintainer " "version):" msgstr "" #. (itstool) path: section/simpara #: debmake-doc.en.xml:1692 msgid "" "The maintainer modification to the upstream source during the package " "building process is enabled by adding the corresponding patch file in the " "debian/patches/ directory and listing " "its file names in the debian/patches/series file." msgstr "" #. (itstool) path: formalpara/title #: debmake-doc.en.xml:1693 msgid "" "Set of files to modify the upstream Makefile:" msgstr "" #. (itstool) path: section/simpara #: debmake-doc.en.xml:1710 msgid "The rest of the packaging is the same as the step-by-step example." msgstr "" #. (itstool) path: section/simpara #: debmake-doc.en.xml:1711 msgid "" "As indicated in , there are several tools " "other than the diff command which " "generate patch files used for this alternative approach of packaging. Most " "frequently used ones are the dquilt or " "gbp-pq commands." msgstr "" #. (itstool) path: section/simpara #: debmake-doc.en.xml:1712 msgid "" "There is no need to create the patch file in advance for these commands " "since it can be generated as you make the maintainer modification. Here is " "an example for the dquilt command." msgstr "" #. (itstool) path: formalpara/title #: debmake-doc.en.xml:1713 msgid "" "patch file generation using the dquilt " "command:" msgstr "" #. (itstool) path: tip/simpara #: debmake-doc.en.xml:1749 msgid "" "If the package is maintained in the git repository using the gbp command, please use the gbp-pq command to manage patches." msgstr "" #. (itstool) path: section/simpara #: debmake-doc.en.xml:1750 msgid "" "This alternative approach to the Debian packaging using a series of patch " "files may be less robust for the future upstream changes but more flexible " "to cope with the difficult upstream source. (See .)" msgstr "" #. (itstool) path: chapter/title #: debmake-doc.en.xml:1754 msgid "Basics" msgstr "" #. (itstool) path: chapter/simpara #: debmake-doc.en.xml:1755 msgid "It’s time to learn the basic rules of the Debian packaging." msgstr "" #. (itstool) path: chapter/simpara #: debmake-doc.en.xml:1756 msgid "" "The Debian source package is a set of input files used to build the Debian " "binary package and is not a single file." msgstr "" #. (itstool) path: chapter/simpara #: debmake-doc.en.xml:1757 msgid "" "The Debian binary package is a special archive file which holds a set of " "installable binary data with their associated information." msgstr "" #. (itstool) path: chapter/simpara #: debmake-doc.en.xml:1758 msgid "" "A single Debian source package may generate multiple Debian binary packages " "defined in the debian/control file." msgstr "" #. (itstool) path: chapter/simpara #: debmake-doc.en.xml:1759 msgid "" "The non-native Debian package in the “3.0 (quilt)” format is the most normal Debian binary package format." msgstr "" #. (itstool) path: note/simpara #: debmake-doc.en.xml:1760 msgid "" "There are many wrapper scripts. Use them to streamline your workflow but " "make sure to understand the basics of their internals." msgstr "" #. (itstool) path: section/title #: debmake-doc.en.xml:1762 msgid "Packaging workflow" msgstr "" #. (itstool) path: section/simpara #: debmake-doc.en.xml:1763 msgid "" "The Debian packaging workflow to create the Debian binary package involves " "generating several specifically named files (see ) as defined in the “Debian Policy Manual”." msgstr "" #. (itstool) path: section/simpara #: debmake-doc.en.xml:1764 msgid "" "The oversimplified method for the Debian packaging workflow can be " "summarized in 5 steps as follows." msgstr "" #. (itstool) path: listitem/simpara #: debmake-doc.en.xml:1767 debmake-doc.en.xml:8000 msgid "" "The upstream tarball is downloaded as the package-version.tar.gz file." msgstr "" #. (itstool) path: listitem/simpara #: debmake-doc.en.xml:1772 msgid "" "The upstream tarball is untarred to create many files under the " "package-version/ " "directory." msgstr "" #. (itstool) path: listitem/simpara #: debmake-doc.en.xml:1777 msgid "" "The upstream tarball is copied (or symlinked) to the particular filename " "packagename_version.orig.tar." "gz." msgstr "" #. (itstool) path: listitem/simpara #: debmake-doc.en.xml:1782 msgid "" "the character separating package and version is changed from - (hyphen) to " "_ (underscore)" msgstr "" #. (itstool) path: listitem/simpara #: debmake-doc.en.xml:1787 msgid "" ".orig is added in the file extension." msgstr "" #. (itstool) path: listitem/simpara #: debmake-doc.en.xml:1794 msgid "" "The Debian package specification files are added to the upstream source " "under the package-version/" "debian/ directory." msgstr "" #. (itstool) path: listitem/simpara #: debmake-doc.en.xml:1799 msgid "" "Required specification files under the debian/*:" msgstr "" #. (itstool) path: varlistentry/term #: debmake-doc.en.xml:1804 msgid "debian/rules" msgstr "" #. (itstool) path: listitem/simpara #: debmake-doc.en.xml:1808 msgid "" "The executable script for building the Debian package (see )" msgstr "" #. (itstool) path: varlistentry/term #: debmake-doc.en.xml:1814 msgid "debian/control" msgstr "" #. (itstool) path: listitem/simpara #: debmake-doc.en.xml:1818 msgid "" "The package configuration file containing the source package name, the " "source build dependency, the binary package name, the binary dependency, " "etc. (see )" msgstr "" #. (itstool) path: varlistentry/term #: debmake-doc.en.xml:1824 msgid "debian/changelog" msgstr "" #. (itstool) path: listitem/simpara #: debmake-doc.en.xml:1828 msgid "" "The Debian package history file defining the upstream package version and " "the Debian revision in its first line (see )" msgstr "" #. (itstool) path: varlistentry/term #: debmake-doc.en.xml:1834 msgid "debian/copyright" msgstr "" #. (itstool) path: listitem/simpara #: debmake-doc.en.xml:1838 msgid "The copyright and license summary (see )" msgstr "" #. (itstool) path: listitem/simpara #: debmake-doc.en.xml:1846 msgid "" "Optional specification files under the debian/* (see ):" msgstr "" #. (itstool) path: listitem/simpara #: debmake-doc.en.xml:1851 msgid "" "The debmake command invoked in the " "package-version/ directory provides the initial set of " "these template configuration files." msgstr "" #. (itstool) path: listitem/simpara #: debmake-doc.en.xml:1856 msgid "" "Required specification files are generated even with the -x0 option." msgstr "" #. (itstool) path: listitem/simpara #: debmake-doc.en.xml:1861 msgid "" "The debmake command does not overwrite " "any existing configuration files." msgstr "" #. (itstool) path: listitem/simpara #: debmake-doc.en.xml:1868 msgid "" "These files must be manually edited to their perfection according to the " "“Debian Policy Manual” and “Debian Developer’s Reference”." msgstr "" #. (itstool) path: listitem/simpara #: debmake-doc.en.xml:1875 msgid "" "The dpkg-buildpackage command (usually " "from its wrapper debuild or pdebuild) is invoked in the package-" "version/ directory to make the Debian source and binary packages " "by invoking the debian/rules script." msgstr "" #. (itstool) path: listitem/simpara #: debmake-doc.en.xml:1880 msgid "" "The current directory is set as: $(CURDIR)=/path/to/package-version/" msgstr "" #. (itstool) path: listitem/simpara #: debmake-doc.en.xml:1885 msgid "" "Create the Debian source package in the “3.0 " "(quilt)” format using dpkg-source(1)" msgstr "" #. (itstool) path: listitem/simpara #: debmake-doc.en.xml:1890 msgid "" "package_version.orig.tar.gz (copy or symlink of package-version.tar.gz)" msgstr "" #. (itstool) path: listitem/simpara #: debmake-doc.en.xml:1895 msgid "" "package_version-revision.debian.tar.xz (tarball of package-version/" "debian/*)" msgstr "" #. (itstool) path: listitem/simpara #: debmake-doc.en.xml:1900 msgid "" "package_version-revision.dsc" msgstr "" #. (itstool) path: listitem/simpara #: debmake-doc.en.xml:1907 msgid "" "Build the source using “debian/rules build” into $(DESTDIR)" msgstr "" #. (itstool) path: listitem/simpara #: debmake-doc.en.xml:1912 msgid "" "DESTDIR=debian/binarypackage/" " (single binary package)" msgstr "" #. (itstool) path: listitem/simpara #: debmake-doc.en.xml:1917 msgid "" "DESTDIR=debian/tmp/ (multi binary " "package)" msgstr "" #. (itstool) path: listitem/simpara #: debmake-doc.en.xml:1924 msgid "" "Create the Debian binary package using dpkg-deb(1), and dpkg-genchanges(1)." msgstr "" #. (itstool) path: listitem/simpara #: debmake-doc.en.xml:1929 msgid "" "binarypackage_version-revision_arch.deb" msgstr "" #. (itstool) path: listitem/simpara #: debmake-doc.en.xml:1934 msgid "… (There may be multiple Debian binary package files.)" msgstr "" #. (itstool) path: listitem/simpara #: debmake-doc.en.xml:1939 msgid "" "package_version-revision_arch.changes" msgstr "" #. (itstool) path: listitem/simpara #: debmake-doc.en.xml:1948 msgid "" "Check the quality of the Debian package with the lintian command. (recommended)" msgstr "" #. (itstool) path: simpara/ulink #: debmake-doc.en.xml:1954 msgid "ftp-master" msgstr "" #. (itstool) path: listitem/simpara #: debmake-doc.en.xml:1953 msgid "Follow the rejection guideline from <_:ulink-1/>." msgstr "" #. (itstool) path: simpara/ulink #: debmake-doc.en.xml:1959 msgid "REJECT-FAQ" msgstr "" #. (itstool) path: simpara/ulink #: debmake-doc.en.xml:1964 msgid "NEW checklist" msgstr "" #. (itstool) path: simpara/ulink #: debmake-doc.en.xml:1969 msgid "Lintian Autorejects" msgstr "" #. (itstool) path: simpara/ulink #: debmake-doc.en.xml:1969 msgid "lintian tag list" msgstr "" #. (itstool) path: listitem/simpara #: debmake-doc.en.xml:1968 msgid "<_:ulink-1/> (<_:ulink-2/>)" msgstr "" #. (itstool) path: listitem/simpara #: debmake-doc.en.xml:1977 msgid "" "Sign the package_version-revision.dsc and package_version-revision_arch.changes with the debsign command using your private GPG key." msgstr "" #. (itstool) path: listitem/simpara #: debmake-doc.en.xml:1982 msgid "" "Upload the set of the Debian source and binary package files with the " "dput command to the Debian archive." msgstr "" #. (itstool) path: section/simpara #: debmake-doc.en.xml:1987 msgid "Here, please replace each part of the filename as:" msgstr "" #. (itstool) path: listitem/simpara #: debmake-doc.en.xml:1990 msgid "" "the package part with the Debian source package name" msgstr "" #. (itstool) path: listitem/simpara #: debmake-doc.en.xml:1995 msgid "" "the binarypackage part with the Debian binary package " "name" msgstr "" #. (itstool) path: listitem/simpara #: debmake-doc.en.xml:2000 msgid "the version part with the upstream version" msgstr "" #. (itstool) path: listitem/simpara #: debmake-doc.en.xml:2005 msgid "the revision part with the Debian revision" msgstr "" #. (itstool) path: listitem/simpara #: debmake-doc.en.xml:2010 msgid "the arch part with the package architecture" msgstr "" #. (itstool) path: simpara/ulink #: debmake-doc.en.xml:2015 msgid "Chapter 6. Best Packaging Practices" msgstr "" #. (itstool) path: tip/simpara #: debmake-doc.en.xml:2015 msgid "" "There is very extensive documentation in <_:ulink-1/> of the “Debian " "Developer’s Reference”. Please read it." msgstr "" #. (itstool) path: section/title #: debmake-doc.en.xml:2018 msgid "Package name and version" msgstr "" #. (itstool) path: section/simpara #: debmake-doc.en.xml:2019 msgid "" "If the upstream source comes as hello-0.9.12.tar." "gz, you can take hello as " "the upstream source package name and 0.9.12 as the upstream version." msgstr "" #. (itstool) path: section/simpara #: debmake-doc.en.xml:2020 debmake-doc.en.xml:8532 msgid "" "debmake is meant to provide template " "files for the package maintainer to work on. Comment lines started by " "# contain the tutorial text. You must " "remove or edit such comment lines before uploading to the Debian archive." msgstr "" #. (itstool) path: section/simpara #: debmake-doc.en.xml:2021 debmake-doc.en.xml:8533 msgid "" "There are some limitations for what characters may be used as a part of the " "Debian package. The most notable limitation is the prohibition of uppercase " "letters in the package name. Here is the summary in the regular expression." msgstr "" #. (itstool) path: listitem/simpara #: debmake-doc.en.xml:2024 debmake-doc.en.xml:8536 msgid "" "Upstream package name (-p): [-+.a-z0-9]" "{2,}" msgstr "" #. (itstool) path: listitem/simpara #: debmake-doc.en.xml:2029 debmake-doc.en.xml:8541 msgid "" "Binary package name (-b): [-+.a-z0-9]" "{2,}" msgstr "" #. (itstool) path: listitem/simpara #: debmake-doc.en.xml:2034 debmake-doc.en.xml:8546 msgid "" "Upstream version (-u): [0-9][-+.:~a-" "z0-9A-Z]*" msgstr "" #. (itstool) path: listitem/simpara #: debmake-doc.en.xml:2039 debmake-doc.en.xml:8551 msgid "" "Debian revision (-r): [0-9][+.~a-z0-9A-" "Z]*" msgstr "" #. (itstool) path: simpara/ulink #: debmake-doc.en.xml:2044 debmake-doc.en.xml:2324 debmake-doc.en.xml:8556 msgid "Chapter 5 - Control files and their fields" msgstr "" #. (itstool) path: section/simpara #: debmake-doc.en.xml:2044 debmake-doc.en.xml:8556 msgid "See the exact definition in <_:ulink-1/> of the “Debian Policy Manual”." msgstr "" #. (itstool) path: section/simpara #: debmake-doc.en.xml:2045 msgid "" "You must adjust the package name and upstream version accordingly for the " "Debian packaging." msgstr "" #. (itstool) path: footnote/simpara #: debmake-doc.en.xml:2046 msgid "" "For more than 90% of packages, the package name is equal or less than 24 " "characters; the upstream version is equal or less than 10 characters and the " "Debian revision is equal or less than 3 characters." msgstr "" #. (itstool) path: section/simpara #: debmake-doc.en.xml:2046 msgid "" "In order to manage the package name and version information effectively " "under popular tools such as the aptitude command, it is a good idea to keep the length of package name to " "be equal or less than 30 characters; and the total length of version and " "revision to be equal or less than 14 characters. <_:footnote-1/>" msgstr "" #. (itstool) path: section/simpara #: debmake-doc.en.xml:2047 msgid "" "In order to avoid name collisions, the user visible binary package name " "should not be chosen from any generic words." msgstr "" #. (itstool) path: section/simpara #: debmake-doc.en.xml:2048 msgid "" "If upstream does not use a normal versioning scheme such as 2.30.32 but uses some kind of date such as 11Apr29, a random codename string, or a VCS hash " "value as part of the version, make sure to remove them from the upstream " "version. Such information can be recorded in the debian/changelog file. If you need to invent a version string, " "use the YYYYMMDD format such as " "20110429 as upstream version. This " "ensures that dpkg interprets later versions correctly as upgrades. If you " "need to ensure smooth transition to the normal version scheme such as " "0.1 in future, use the 0~YYMMDD format such as 0~110429 as upstream version, instead." msgstr "" #. (itstool) path: section/simpara #: debmake-doc.en.xml:2049 msgid "" "Version strings can be compared using the dpkg command as follows." msgstr "" #. (itstool) path: section/simpara #: debmake-doc.en.xml:2051 msgid "The version comparison rule can be summarized as:" msgstr "" #. (itstool) path: listitem/simpara #: debmake-doc.en.xml:2054 msgid "Strings are compared from the head to the tail." msgstr "" #. (itstool) path: listitem/simpara #: debmake-doc.en.xml:2059 msgid "Letters are larger than digits." msgstr "" #. (itstool) path: listitem/simpara #: debmake-doc.en.xml:2064 msgid "Numbers are compared as integers." msgstr "" #. (itstool) path: listitem/simpara #: debmake-doc.en.xml:2069 msgid "Letters are compared in ASCII code order." msgstr "" #. (itstool) path: section/simpara #: debmake-doc.en.xml:2074 msgid "" "There are special rules for period (.), " "plus (+), and tilde (~) characters, as follows." msgstr "" #. (itstool) path: section/simpara #: debmake-doc.en.xml:2076 msgid "" "One tricky case occurs when upstream releases hello-0.9.12-ReleaseCandidate-99.tar.gz as the pre-release of " "hello-0.9.12.tar.gz. You can ensure the " "upgrade to work properly by renaming the upstream source to hello-0.9.12~rc99.tar.gz having the proper version " "order." msgstr "" #. (itstool) path: section/title #: debmake-doc.en.xml:2079 msgid "Native Debian package" msgstr "" #. (itstool) path: section/simpara #: debmake-doc.en.xml:2080 msgid "" "The non-native Debian package in the “3.0 (quilt)” format is the most normal Debian binary package format. The above " "workflow and the following packaging examples always use this format." msgstr "" #. (itstool) path: section/simpara #: debmake-doc.en.xml:2081 msgid "" "The native Debian package is the rare Debian binary package format. It may " "be used only when the package is useful and valuable only for Debian. Thus, " "its use is generally deprecated." msgstr "" #. (itstool) path: caution/simpara #: debmake-doc.en.xml:2082 msgid "" "The native debian package is often accidentally built when its upstream " "tarball is not accessible from the dpkg-" "buildpackage command with its correct name " "package_version.orig.tar.gz . A typical newbie mistake is to make a symlink name with " "“-” instead of the correct one with " "“_”." msgstr "" #. (itstool) path: section/simpara #: debmake-doc.en.xml:2083 msgid "" "The native Debian package has no separation between the upstream code and the Debian " "changes and consists only with the following:" msgstr "" #. (itstool) path: listitem/simpara #: debmake-doc.en.xml:2086 msgid "" "package_version.tar.gz (copy or symlink of package-version.tar.gz with debian/* files.)" msgstr "" #. (itstool) path: listitem/simpara #: debmake-doc.en.xml:2091 msgid "" "package_version.dsc" msgstr "" #. (itstool) path: section/simpara #: debmake-doc.en.xml:2096 msgid "" "If you need to create the native Debian package, create it in the “3.0 (native)” format using dpkg-source(1)." msgstr "" #. (itstool) path: footnote/simpara #: debmake-doc.en.xml:2097 msgid "" "Use of the “debameke -t …” command can " "help this workflow. See ." msgstr "" #. (itstool) path: tip/simpara #: debmake-doc.en.xml:2097 msgid "" "Some people promote to package even programs which have been written only " "for Debian in the non-native package format. The required tarball without " "debian/* files needs to be manually " "generated in advance before the standard workflow in . <_:footnote-1/> They claim that the use of non-native package format " "eases communication with the downstream distributions." msgstr "" #. (itstool) path: section/title #: debmake-doc.en.xml:2100 msgid "debian/rules" msgstr "" #. (itstool) path: section/simpara #: debmake-doc.en.xml:2101 msgid "" "The debian/rules script is the " "executable script to build the Debian package." msgstr "" #. (itstool) path: listitem/simpara #: debmake-doc.en.xml:2104 msgid "" "The debian/rules script re-targets the " "upstream build system (see ) to install files in " "the $(DESTDIR) and creates the archive " "file of the generated files as the deb " "file." msgstr "" #. (itstool) path: listitem/simpara #: debmake-doc.en.xml:2109 msgid "" "The deb file is used for the binary " "distribution and installed to the system using the dpkg command." msgstr "" #. (itstool) path: listitem/simpara #: debmake-doc.en.xml:2116 msgid "" "The dh command is normally used as the " "front-end to the build system inside the debian/" "rules script." msgstr "" #. (itstool) path: listitem/simpara #: debmake-doc.en.xml:2121 msgid "" "$(DESTDIR) path depends on the build " "type." msgstr "" #. (itstool) path: listitem/simpara #: debmake-doc.en.xml:2126 msgid "" "$(DESTDIR)=debian/binarypackage (single binary package)" msgstr "" #. (itstool) path: listitem/simpara #: debmake-doc.en.xml:2131 msgid "" "$(DESTDIR)=debian/tmp (multiple binary " "package)" msgstr "" #. (itstool) path: section/title #: debmake-doc.en.xml:2139 msgid "dh" msgstr "" #. (itstool) path: section/simpara #: debmake-doc.en.xml:2140 msgid "" "The dh command from the debhelper package with the help from its associated " "packages functions as the wrapper to the typical upstream build systems and " "offers us with the uniform access to them by supporting all the Debian " "policy stipulated targets of the debian/rules file." msgstr "" #. (itstool) path: listitem/simpara #: debmake-doc.en.xml:2143 msgid "" "dh clean : clean files in the source " "tree." msgstr "" #. (itstool) path: listitem/simpara #: debmake-doc.en.xml:2148 msgid "dh build : build the source tree" msgstr "" #. (itstool) path: listitem/simpara #: debmake-doc.en.xml:2153 msgid "" "dh build-arch : build the source tree " "for architecture dependent packages" msgstr "" #. (itstool) path: listitem/simpara #: debmake-doc.en.xml:2158 msgid "" "dh build-indep : build the source tree " "for architecture independent packages" msgstr "" #. (itstool) path: listitem/simpara #: debmake-doc.en.xml:2163 msgid "" "dh install : install the binary files " "to $(DESTDIR)" msgstr "" #. (itstool) path: listitem/simpara #: debmake-doc.en.xml:2168 msgid "" "dh install-arch : install the binary " "files to $(DESTDIR) for architecture " "dependent packages" msgstr "" #. (itstool) path: listitem/simpara #: debmake-doc.en.xml:2173 msgid "" "dh install-indep : install the binary " "files to $(DESTDIR) for architecture " "independent packages" msgstr "" #. (itstool) path: listitem/simpara #: debmake-doc.en.xml:2178 msgid "" "dh binary : generate the deb file" msgstr "" #. (itstool) path: listitem/simpara #: debmake-doc.en.xml:2183 msgid "" "dh binary-arch : generate the deb file for architecture dependent packages" msgstr "" #. (itstool) path: listitem/simpara #: debmake-doc.en.xml:2188 msgid "" "dh binary-indep : generate the " "deb file for architecture independent " "packages" msgstr "" #. (itstool) path: note/simpara #: debmake-doc.en.xml:2193 msgid "" "For debhelper “compat >= 9”, the " "dh command exports compiler flags " "(CFLAGS, CXXFLAGS, FFLAGS, " "CPPFLAGS and LDFLAGS) with values as returned by dpkg-buildflags if they are not set previously. (The dh command calls set_buildflags defined in the Debian::Debhelper::Dh_Lib module.)" msgstr "" #. (itstool) path: section/title #: debmake-doc.en.xml:2196 msgid "Simple debian/rules" msgstr "" #. (itstool) path: footnote/simpara #: debmake-doc.en.xml:2197 msgid "" "This simplicity is available since the version 7 of the debhelper package. This guide assumes the use of the " "debhelper version 9 or newer." msgstr "" #. (itstool) path: footnote/simpara #: debmake-doc.en.xml:2197 msgid "" "The debmake command generates a bit " "more complicated debian/rules file. But " "this is the core part." msgstr "" #. (itstool) path: section/simpara #: debmake-doc.en.xml:2197 msgid "" "Thanks to this abstraction of the dh " "command <_:footnote-1/>, the Debian policy compliant debian/rules file supporting all the required targets can be " "written as simple as <_:footnote-2/>:" msgstr "" #. (itstool) path: formalpara/title #: debmake-doc.en.xml:2198 msgid "Simple debian/rules:" msgstr "" #. (itstool) path: section/simpara #: debmake-doc.en.xml:2205 msgid "" "Essentially, this dh command functions " "as the sequencer to call all required dh_* commands at the right moment." msgstr "" #. (itstool) path: note/simpara #: debmake-doc.en.xml:2206 msgid "" "The debmake command sets the debian/control file with “Build-Depends: debhelper (>=9)” and the debian/compat file with “9”." msgstr "" #. (itstool) path: tip/simpara #: debmake-doc.en.xml:2207 msgid "" "Setting “export DH_VERBOSE = 1” outputs " "every command that modifies files on the build system. Also it enables " "verbose build logs for some build systems." msgstr "" #. (itstool) path: section/title #: debmake-doc.en.xml:2210 msgid "Customized debian/rules" msgstr "" #. (itstool) path: section/simpara #: debmake-doc.en.xml:2211 msgid "" "Flexible customization of the debian/rules is realized by adding appropriate override_dh_* targets and their rules." msgstr "" #. (itstool) path: section/simpara #: debmake-doc.en.xml:2212 msgid "" "Whenever some special operation is required for a certain dh_foo command invoked by the " "dh command, any automatic execution of " "it can be overridden by adding the makefile target override_dh_foo in the debian/rules file." msgstr "" #. (itstool) path: section/simpara #: debmake-doc.en.xml:2213 msgid "" "The debmake command creates the initial " "template file taking advantage of the above simple debian/rules while adding some extra customizations for the " "package hardening, etc." msgstr "" #. (itstool) path: section/simpara #: debmake-doc.en.xml:2214 msgid "" "You need to know how underlying build systems work under the hood (see ) to address their irregularities using the package " "customization." msgstr "" #. (itstool) path: section/simpara #: debmake-doc.en.xml:2215 msgid "" "See for the actual simple debian/rules generated by the debmake command which comes with the commented out parts " "addressing the hardening via compile options (see ) and the multiarch customization (see )." msgstr "" #. (itstool) path: section/title #: debmake-doc.en.xml:2218 msgid "Variables for debian/rules" msgstr "" #. (itstool) path: section/simpara #: debmake-doc.en.xml:2219 msgid "" "Some variable definitions useful for customizing debian/rules can be found in files under /usr/share/dpkg/. Notably:" msgstr "" #. (itstool) path: varlistentry/term #: debmake-doc.en.xml:2222 msgid "pkg-info.mk" msgstr "" #. (itstool) path: listitem/simpara #: debmake-doc.en.xml:2226 msgid "" "DEB_SOURCE, DEB_VERSION, DEB_VERSION_EPOCH_UPSTREAM, DEB_VERSION_UPSTREAM_REVISION, DEB_VERSION_UPSTREAM, and DEB_DISTRIBUTION variables. These are useful for the backport " "support etc.." msgstr "" #. (itstool) path: varlistentry/term #: debmake-doc.en.xml:2234 msgid "vender.mk" msgstr "" #. (itstool) path: listitem/simpara #: debmake-doc.en.xml:2238 msgid "" "DEB_VENDOR and DEB_PARENT_VENDOR variables; and dpkg_vendor_derives_from macro. These are useful for the " "vendor support (Debian, Ubuntu, …)." msgstr "" #. (itstool) path: varlistentry/term #: debmake-doc.en.xml:2246 msgid "architecture.mk" msgstr "" #. (itstool) path: listitem/simpara #: debmake-doc.en.xml:2250 msgid "" "Set DEB_HOST_* and DEB_BUILD_* variables. Only variables used explicitly " "in debian/rules need to be defined " "using dpkg-architecture. So there is no " "need to include architecture.mk in " "debian/rules." msgstr "" #. (itstool) path: varlistentry/term #: debmake-doc.en.xml:2258 msgid "buildflags.mk" msgstr "" #. (itstool) path: listitem/simpara #: debmake-doc.en.xml:2262 msgid "" "Set CFLAGS, CPPFLAGS, CXXFLAGS, " "OBJCFLAGS, OBJCXXFLAGS, GCJFLAGS, " "FFLAGS, FCFLAGS, and LDFLAGS " "build flags." msgstr "" #. (itstool) path: section/simpara #: debmake-doc.en.xml:2268 msgid "" "If you wish to use some of these useful variables in debian/rules, copy relevant codes to debian/rules or write a simpler alternative in it. Please keep " "debian/rules simple." msgstr "" #. (itstool) path: section/simpara #: debmake-doc.en.xml:2269 msgid "" "For example, you can add an extra option to CONFIGURE_FLAGS for linux-any target architectures by adding the followings to debian/rules:" msgstr "" #. (itstool) path: tip/simpara #: debmake-doc.en.xml:2275 msgid "" "It was useful to include buildflags.mk " "in the debian/rules to set the build " "flags such as CPPFLAGS, CFLAGS, LDFLAGS, " "etc. properly while honoring DEB_CFLAGS_MAINT_APPEND, DEB_BUILD_MAINT_OPTIONS, etc. for the debhelper “compat <= 8”. Now you should use the debhelper “compat >= 9”, should not include " "buildflags.mk without specific reasons, " "and should let the dh command set these " "build flags." msgstr "" #. (itstool) path: section/simpara #: debmake-doc.en.xml:2276 msgid "" "See , dpkg-" "architecture(1) and dpkg-buildflags(1)." msgstr "" #. (itstool) path: section/title #: debmake-doc.en.xml:2279 msgid "Reproducible build" msgstr "" #. (itstool) path: section/simpara #: debmake-doc.en.xml:2280 msgid "Here are some recommendations to attain the reproducible build result." msgstr "" #. (itstool) path: listitem/simpara #: debmake-doc.en.xml:2283 msgid "Don’t embed the timestamp based on the system time." msgstr "" #. (itstool) path: listitem/simpara #: debmake-doc.en.xml:2288 msgid "" "Use “dh $@” in the debian/rules to access the latest debhelper features." msgstr "" #. (itstool) path: listitem/simpara #: debmake-doc.en.xml:2293 msgid "" "Export the build environment as “LC_ALL=C.UTF-8” (see )." msgstr "" #. (itstool) path: simpara/ulink #: debmake-doc.en.xml:2299 msgid "ReproducibleBuilds" msgstr "" #. (itstool) path: listitem/simpara #: debmake-doc.en.xml:2298 msgid "Read more at <_:ulink-1/>." msgstr "" #. (itstool) path: section/simpara #: debmake-doc.en.xml:2303 msgid "" "If the timestamp is needed, please consider to patch the upstream source to " "obtain the timestamp from the last entry in debian/" "changelog." msgstr "" #. (itstool) path: formalpara/title #: debmake-doc.en.xml:2304 msgid "Shell code snippet example to obtain a formatted timestamp string:" msgstr "" #. (itstool) path: section/title #: debmake-doc.en.xml:2310 msgid "debian/control" msgstr "" #. (itstool) path: section/simpara #: debmake-doc.en.xml:2311 msgid "" "The debian/control file consists of " "blocks of meta data separated by the blank line. Each block of meta data " "defines the following in this order:" msgstr "" #. (itstool) path: listitem/simpara #: debmake-doc.en.xml:2314 msgid "meta data for the Debian source package" msgstr "" #. (itstool) path: listitem/simpara #: debmake-doc.en.xml:2319 msgid "meta data for the Debian binary packages" msgstr "" #. (itstool) path: section/simpara #: debmake-doc.en.xml:2324 msgid "" "See <_:ulink-1/> of the “Debian Policy Manual” for the definition of each " "meta data." msgstr "" #. (itstool) path: section/simpara #: debmake-doc.en.xml:2325 msgid "" "The debmake command with the -b option (see ) " "creates the initial template debian/control file with followings:" msgstr "" #. (itstool) path: listitem/simpara #: debmake-doc.en.xml:2328 msgid "" "a set of Package stanzas defining the " "split of the Debian binary packages" msgstr "" #. (itstool) path: listitem/simpara #: debmake-doc.en.xml:2333 msgid "a basic set of substvar used in each pertinent stanza" msgstr "" #. (itstool) path: section/title #: debmake-doc.en.xml:2339 msgid "Split of the Debian binary package" msgstr "" #. (itstool) path: section/simpara #: debmake-doc.en.xml:2340 msgid "" "For well behaving build systems, the split of the Debian binary package into " "small ones can be realized as follows." msgstr "" #. (itstool) path: listitem/simpara #: debmake-doc.en.xml:2343 msgid "" "Create binary package entries for all binary packages in the debian/control file." msgstr "" #. (itstool) path: listitem/simpara #: debmake-doc.en.xml:2348 msgid "" "List all file paths (relative to debian/tmp) in the corresponding debian/binarypackage." "install files." msgstr "" #. (itstool) path: section/simpara #: debmake-doc.en.xml:2353 msgid "Please check examples in this guide:" msgstr "" #. (itstool) path: listitem/simpara #: debmake-doc.en.xml:2356 msgid " (Autotools based)" msgstr "" #. (itstool) path: listitem/simpara #: debmake-doc.en.xml:2361 msgid " (CMake based)" msgstr "" #. (itstool) path: section/title #: debmake-doc.en.xml:2368 msgid "Substvar" msgstr "" #. (itstool) path: simpara/ulink #: debmake-doc.en.xml:2369 msgid "variable substitutions mechanism" msgstr "" #. (itstool) path: section/simpara #: debmake-doc.en.xml:2369 msgid "" "The debian/control file also defines " "the package dependency in which the <_:ulink-1/> (substvar) may be used to " "free package maintainers from chores of tracking most of the simple package " "dependency cases. See deb-substvars(5)." msgstr "" #. (itstool) path: section/simpara #: debmake-doc.en.xml:2370 msgid "" "The debmake command supports following " "substvars." msgstr "" #. (itstool) path: listitem/simpara #: debmake-doc.en.xml:2373 msgid "" "${misc:Depends} for all binary packages" msgstr "" #. (itstool) path: listitem/simpara #: debmake-doc.en.xml:2378 msgid "" "${misc:Pre-Depends} for all multiarch " "packages" msgstr "" #. (itstool) path: listitem/simpara #: debmake-doc.en.xml:2383 msgid "" "${shlibs:Depends} for all binary " "executable and library packages" msgstr "" #. (itstool) path: listitem/simpara #: debmake-doc.en.xml:2388 msgid "" "${python:Depends} for all Python " "packages" msgstr "" #. (itstool) path: listitem/simpara #: debmake-doc.en.xml:2393 msgid "" "${python3:Depends} for all Python3 " "packages" msgstr "" #. (itstool) path: listitem/simpara #: debmake-doc.en.xml:2398 msgid "" "${perl:Depends} for all Perl packages" msgstr "" #. (itstool) path: listitem/simpara #: debmake-doc.en.xml:2403 msgid "" "${ruby:Depends} for all Ruby packages" msgstr "" #. (itstool) path: section/simpara #: debmake-doc.en.xml:2408 msgid "" "For the shared library, required libraries found simply by \"objdump -p /path/to/program " "| grep NEEDED\" are covered by the " "shlib substvar." msgstr "" #. (itstool) path: section/simpara #: debmake-doc.en.xml:2409 msgid "" "For the Python and other interpreters, required modules found simply looking " "for lines with “import”, “use”, “require”, etc., are covered by the corresponding substvar." msgstr "" #. (itstool) path: section/simpara #: debmake-doc.en.xml:2410 msgid "" "For other programs which do not deploy their own substvar, the misc substvar covers their dependency." msgstr "" #. (itstool) path: section/simpara #: debmake-doc.en.xml:2411 msgid "" "For POSIX shell programs, there is no easy way to identify the dependency " "and no substvar covers their dependency." msgstr "" #. (itstool) path: simpara/ulink #: debmake-doc.en.xml:2412 msgid "GObject introspection" msgstr "" #. (itstool) path: section/simpara #: debmake-doc.en.xml:2412 msgid "" "For libraries and modules required via the dynamic loading mechanism " "including the <_:ulink-1/> mechanism, there is no easy way to identify the " "dependency and no substvar covers their dependency." msgstr "" #. (itstool) path: section/title #: debmake-doc.en.xml:2415 msgid "binNMU safe" msgstr "" #. (itstool) path: simpara/ulink #: debmake-doc.en.xml:2416 msgid "binNMU" msgstr "" #. (itstool) path: section/simpara #: debmake-doc.en.xml:2416 msgid "" "For the safe <_:ulink-1/>, the dependency among binary packages from a same " "source package needs attention if there are both “Architecture: any” and “Architecture: all” packages involved in it." msgstr "" #. (itstool) path: listitem/simpara #: debmake-doc.en.xml:2419 msgid "" "“Architecture: any” package depends on " "“Architecture: anyfoo package" msgstr "" #. (itstool) path: listitem/simpara #: debmake-doc.en.xml:2424 msgid "" "Depends: foo " "(== ${binary:Version})" msgstr "" #. (itstool) path: listitem/simpara #: debmake-doc.en.xml:2431 msgid "" "“Architecture: any” package depends on " "“Architecture: allbar package" msgstr "" #. (itstool) path: listitem/simpara #: debmake-doc.en.xml:2436 msgid "" "Depends: bar " "(== ${source:Version}" msgstr "" #. (itstool) path: listitem/simpara #: debmake-doc.en.xml:2443 msgid "" "“Architecture: all” package depends on " "“Architecture: anybaz package" msgstr "" #. (itstool) path: listitem/simpara #: debmake-doc.en.xml:2448 msgid "" "Depends: baz " "(>= ${source:Version}), " "baz (<< ${source:" "Upstream-Version}.0~)" msgstr "" #. (itstool) path: section/title #: debmake-doc.en.xml:2457 msgid "The library package name" msgstr "" #. (itstool) path: section/simpara #: debmake-doc.en.xml:2458 msgid "" "Let’s consider that the upstream source tarball of the libfoo library is updated from " "libfoo-7.0.tar.gz to libfoo-8.0.tar.gz with the new SONAME major version which affects other " "packages." msgstr "" #. (itstool) path: section/simpara #: debmake-doc.en.xml:2459 msgid "" "The binary library package must be renamed from libfoo7 to libfoo8 to keep the unstable suite system working for all dependent packages after " "the upload of the package based on the libfoo-8.0.tar.gz." msgstr "" #. (itstool) path: warning/simpara #: debmake-doc.en.xml:2460 msgid "" "If the binary library package isn’t renamed, many dependent packages in the " "unstable suite become broken just after " "the library upload even if the binNMU is requested. The binNMU may not " "happen immediately after the upload due to several reasons." msgstr "" #. (itstool) path: section/simpara #: debmake-doc.en.xml:2461 msgid "" "The -dev package must follow one of the " "following naming rules:" msgstr "" #. (itstool) path: listitem/simpara #: debmake-doc.en.xml:2464 msgid "" "Use the unversioned -dev package name: " "libfoo-dev" msgstr "" #. (itstool) path: listitem/simpara #: debmake-doc.en.xml:2469 msgid "This is the normal case." msgstr "" #. (itstool) path: listitem/simpara #: debmake-doc.en.xml:2474 msgid "" "Only one version of the library source package is allowed in the archive." msgstr "" #. (itstool) path: listitem/simpara #: debmake-doc.en.xml:2479 msgid "" "The associated library package needs to be renamed from libfoo7 to libfoo8 to prevent the dependency " "breakage in the unstable archive during " "the library transition." msgstr "" #. (itstool) path: simpara/ulink #: debmake-doc.en.xml:2487 msgid "ABI" msgstr "" #. (itstool) path: listitem/simpara #: debmake-doc.en.xml:2486 msgid "" "This approach must be used if the simple binNMU resolves the library " "dependency. (<_:ulink-1/> change)" msgstr "" #. (itstool) path: simpara/ulink #: debmake-doc.en.xml:2492 debmake-doc.en.xml:2541 msgid "API" msgstr "" #. (itstool) path: listitem/simpara #: debmake-doc.en.xml:2491 msgid "" "This approach is still a good idea if manual code updates, etc. can be " "coordinated. (<_:ulink-1/> change)" msgstr "" #. (itstool) path: listitem/simpara #: debmake-doc.en.xml:2498 msgid "" "Use the versioned -dev package names: " "libfoo7-dev and libfoo8-dev" msgstr "" #. (itstool) path: listitem/simpara #: debmake-doc.en.xml:2503 msgid "This is the special case." msgstr "" #. (itstool) path: listitem/simpara #: debmake-doc.en.xml:2508 msgid "" "Two versions of the library source packages are allowed simultaneously in " "the archive." msgstr "" #. (itstool) path: listitem/simpara #: debmake-doc.en.xml:2513 msgid "" "Make all dependent packages depend on libfoo-dev." msgstr "" #. (itstool) path: listitem/simpara #: debmake-doc.en.xml:2518 msgid "" "Make both libfoo7-dev and libfoo8-" "dev provide libfoo-dev." msgstr "" #. (itstool) path: listitem/simpara #: debmake-doc.en.xml:2523 msgid "" "The source package needs to be renamed as libfoo7-7.0.tar.gz and libfoo8-8.0.tar.gz respectively from " "libfoo-?.0.tar.gz." msgstr "" #. (itstool) path: listitem/simpara #: debmake-doc.en.xml:2528 msgid "" "The package specific install file path including libfoo7 and libfoo8 respectively for header files " "etc. needs to be chosen to make them co-installable." msgstr "" #. (itstool) path: listitem/simpara #: debmake-doc.en.xml:2535 msgid "Do not use this approach, if possible." msgstr "" #. (itstool) path: listitem/simpara #: debmake-doc.en.xml:2540 msgid "" "This approach may be useful if the update of dependent packages require " "major manual code updates, etc. (<_:ulink-1/> change)" msgstr "" #. (itstool) path: section/simpara #: debmake-doc.en.xml:2547 msgid "See ." msgstr "" #. (itstool) path: section/title #: debmake-doc.en.xml:2551 msgid "debmake -b" msgstr "" #. (itstool) path: section/simpara #: debmake-doc.en.xml:2552 msgid "" "The -b option of the debmake command provides intuitive and flexible " "methods to customize packaging parameters in the debian/control file. It sets the following stanza values." msgstr "" #. (itstool) path: listitem/simpara #: debmake-doc.en.xml:2555 msgid "Package:" msgstr "" #. (itstool) path: listitem/simpara #. (itstool) path: row/entry #: debmake-doc.en.xml:2560 debmake-doc.en.xml:2685 msgid "Architecture:" msgstr "" #. (itstool) path: listitem/simpara #. (itstool) path: row/entry #: debmake-doc.en.xml:2565 debmake-doc.en.xml:2686 msgid "Multi-Arch:" msgstr "" #. (itstool) path: listitem/simpara #: debmake-doc.en.xml:2570 msgid "Depends:" msgstr "" #. (itstool) path: listitem/simpara #: debmake-doc.en.xml:2575 msgid "Pre-Depends:" msgstr "" #. (itstool) path: section/simpara #: debmake-doc.en.xml:2580 msgid "" "Let’s quote the pertinent part from the debmake manpage here." msgstr "" #. (itstool) path: varlistentry/term #: debmake-doc.en.xml:2584 debmake-doc.en.xml:8176 msgid "" "-b \"binarypackage[:type],…\", --binaryspec " "\"binarypackage[:type],…\"" msgstr "" #. (itstool) path: listitem/simpara #: debmake-doc.en.xml:2588 debmake-doc.en.xml:8180 msgid "" "set binary package specs by the comma separated list of " "binarypackage:type pairs, e.g., in full form “foo:bin,foo-doc:doc,libfoo1:lib,libfoo1-dbg:dbg,libfoo-dev:" "dev” or in short form “,-doc,libfoo1," "libfoo1-dbg, libfoo-dev”." msgstr "" #. (itstool) path: listitem/simpara #: debmake-doc.en.xml:2591 debmake-doc.en.xml:8183 msgid "" "Here, binarypackage is the binary package name; and " "optional type is chosen from the following " "type values:" msgstr "" #. (itstool) path: listitem/simpara #: debmake-doc.en.xml:2594 debmake-doc.en.xml:8186 msgid "" "bin: C/C++ compiled ELF binary code " "package (any, foreign) (default, alias: \"\", i.e., null-string)" msgstr "" #. (itstool) path: listitem/simpara #: debmake-doc.en.xml:2599 debmake-doc.en.xml:8191 msgid "" "data: Data (fonts, graphics, …) package " "(all, foreign) (alias: da)" msgstr "" #. (itstool) path: listitem/simpara #: debmake-doc.en.xml:2604 debmake-doc.en.xml:8196 msgid "" "dbg: Debug symbol package (any, same) " "(alias: db)" msgstr "" #. (itstool) path: listitem/simpara #: debmake-doc.en.xml:2609 debmake-doc.en.xml:8201 msgid "" "dev: Library development package (any, " "same) (alias: de)" msgstr "" #. (itstool) path: listitem/simpara #: debmake-doc.en.xml:2614 debmake-doc.en.xml:8206 msgid "" "doc: Documentation package (all, " "foreign) (alias: do)" msgstr "" #. (itstool) path: listitem/simpara #: debmake-doc.en.xml:2619 debmake-doc.en.xml:8211 msgid "" "lib: Library package (any, same) " "(alias: l)" msgstr "" #. (itstool) path: listitem/simpara #: debmake-doc.en.xml:2624 debmake-doc.en.xml:8216 msgid "" "perl: Perl script package (all, " "foreign) (alias: pl)" msgstr "" #. (itstool) path: listitem/simpara #: debmake-doc.en.xml:2629 debmake-doc.en.xml:8221 msgid "" "python: Python script package (all, " "foreign) (alias: py)" msgstr "" #. (itstool) path: listitem/simpara #: debmake-doc.en.xml:2634 debmake-doc.en.xml:8226 msgid "" "python3: Python3 script package (all, " "foreign) (alias: py3)" msgstr "" #. (itstool) path: listitem/simpara #: debmake-doc.en.xml:2639 debmake-doc.en.xml:8231 msgid "" "ruby: Ruby script package (all, " "foreign) (alias: rb)" msgstr "" #. (itstool) path: listitem/simpara #: debmake-doc.en.xml:2644 debmake-doc.en.xml:8236 msgid "" "script: Shell script package (all, " "foreign) (alias: sh)" msgstr "" #. (itstool) path: listitem/simpara #: debmake-doc.en.xml:2649 debmake-doc.en.xml:8241 msgid "" "The pair values in the parentheses, such as (any, foreign), are the " "Architecture and Multi-Arch stanza values set in the debian/control file." msgstr "" #. (itstool) path: listitem/simpara #: debmake-doc.en.xml:2650 debmake-doc.en.xml:8242 msgid "" "In many cases, the debmake command " "makes good guesses for type from " "binarypackage. If type is not " "obvious, type is set to bin. For example, libfoo sets " "type to lib, and " "font-bar sets type " "to data, …" msgstr "" #. (itstool) path: listitem/simpara #: debmake-doc.en.xml:2651 debmake-doc.en.xml:8243 msgid "" "If the source tree contents do not match settings for type, debmake warns you." msgstr "" #. (itstool) path: section/simpara #: debmake-doc.en.xml:2656 msgid "" "Here are some typical multiarch package split scenarios for the following " "upstream source examples:" msgstr "" #. (itstool) path: listitem/simpara #: debmake-doc.en.xml:2659 msgid "" "a library source libfoo-1.0." "tar.gz" msgstr "" #. (itstool) path: listitem/simpara #: debmake-doc.en.xml:2664 msgid "" "a tool source bar-1.0.tar.gz written in a compiled language" msgstr "" #. (itstool) path: listitem/simpara #: debmake-doc.en.xml:2669 msgid "" "a tool source baz-1.0.tar.gz written in an interpreted language" msgstr "" #. (itstool) path: row/entry #: debmake-doc.en.xml:2683 msgid "binarypackage" msgstr "" #. (itstool) path: row/entry #: debmake-doc.en.xml:2684 msgid "type" msgstr "" #. (itstool) path: row/entry #: debmake-doc.en.xml:2687 msgid "Package content" msgstr "" #. (itstool) path: entry/simpara #: debmake-doc.en.xml:2692 msgid "libfoo1" msgstr "" #. (itstool) path: entry/simpara #: debmake-doc.en.xml:2693 msgid "lib*" msgstr "" #. (itstool) path: entry/simpara #: debmake-doc.en.xml:2694 debmake-doc.en.xml:2701 debmake-doc.en.xml:2708 #: debmake-doc.en.xml:2715 debmake-doc.en.xml:2729 msgid "any" msgstr "" #. (itstool) path: entry/simpara #: debmake-doc.en.xml:2695 debmake-doc.en.xml:2702 debmake-doc.en.xml:2709 msgid "same" msgstr "" #. (itstool) path: entry/simpara #: debmake-doc.en.xml:2696 msgid "the shared library, co-installable" msgstr "" #. (itstool) path: entry/simpara #: debmake-doc.en.xml:2699 msgid "" "libfoo1-dbg" msgstr "" #. (itstool) path: entry/simpara #: debmake-doc.en.xml:2700 msgid "dbg*" msgstr "" #. (itstool) path: entry/simpara #: debmake-doc.en.xml:2703 msgid "the shared library debug symbols, co-installable" msgstr "" #. (itstool) path: entry/simpara #: debmake-doc.en.xml:2706 msgid "" "libfoo-dev" msgstr "" #. (itstool) path: entry/simpara #: debmake-doc.en.xml:2707 msgid "dev*" msgstr "" #. (itstool) path: entry/simpara #: debmake-doc.en.xml:2710 msgid "the shared library header files etc., co-installable" msgstr "" #. (itstool) path: entry/simpara #: debmake-doc.en.xml:2713 msgid "" "libfoo-tools" msgstr "" #. (itstool) path: entry/simpara #: debmake-doc.en.xml:2714 debmake-doc.en.xml:2728 msgid "bin*" msgstr "" #. (itstool) path: entry/simpara #: debmake-doc.en.xml:2716 debmake-doc.en.xml:2723 debmake-doc.en.xml:2730 #: debmake-doc.en.xml:2737 debmake-doc.en.xml:2744 msgid "foreign" msgstr "" #. (itstool) path: entry/simpara #: debmake-doc.en.xml:2717 msgid "the run-time support programs, not co-installable" msgstr "" #. (itstool) path: entry/simpara #: debmake-doc.en.xml:2720 msgid "" "libfoo-doc" msgstr "" #. (itstool) path: entry/simpara #: debmake-doc.en.xml:2721 debmake-doc.en.xml:2735 msgid "doc*" msgstr "" #. (itstool) path: entry/simpara #: debmake-doc.en.xml:2722 debmake-doc.en.xml:2736 debmake-doc.en.xml:2743 msgid "all" msgstr "" #. (itstool) path: entry/simpara #: debmake-doc.en.xml:2724 msgid "the shared library documentation files" msgstr "" #. (itstool) path: entry/simpara #: debmake-doc.en.xml:2727 msgid "bar" msgstr "" #. (itstool) path: entry/simpara #: debmake-doc.en.xml:2731 msgid "the compiled program files, not co-installable" msgstr "" #. (itstool) path: entry/simpara #: debmake-doc.en.xml:2734 msgid "bar-doc" msgstr "" #. (itstool) path: entry/simpara #: debmake-doc.en.xml:2738 msgid "the documentation files for the program" msgstr "" #. (itstool) path: entry/simpara #: debmake-doc.en.xml:2741 msgid "baz" msgstr "" #. (itstool) path: entry/simpara #: debmake-doc.en.xml:2742 msgid "script" msgstr "" #. (itstool) path: entry/simpara #: debmake-doc.en.xml:2745 msgid "the interpreted program files" msgstr "" #. (itstool) path: tip/simpara #: debmake-doc.en.xml:2750 msgid "" "The binary package name starting with a “-” (hyphen) is treated as the abbreviated name. The real binary " "package name is generated by attaching it to the source package name." msgstr "" #. (itstool) path: section/simpara #: debmake-doc.en.xml:2751 msgid "" "For the cases marked with * in the above table, " "the type values are guessed right from the package " "names." msgstr "" #. (itstool) path: section/simpara #: debmake-doc.en.xml:2752 msgid "" "The default type is the bin type which " "means the compiled ELF binary executables. This is why the example in does not specify -b option." msgstr "" #. (itstool) path: section/simpara #: debmake-doc.en.xml:2753 msgid "" "For programs written in other compiled languages, you may need to add its " "run-time library package dependency to the resulting binary package by " "adjusting the Depends: stanza of the " "debian/control file." msgstr "" #. (itstool) path: section/simpara #: debmake-doc.en.xml:2754 msgid "" "The development package for the shared library should depend on it and " "should contain a version numberless symlink to it. E.g.: /usr/lib/x86_64-linux-gnu/libfoo.solibfoo.so.1" msgstr "" #. (itstool) path: note/simpara #: debmake-doc.en.xml:2755 msgid "" "The dbg type package can be made either " "one-on-one for each bin and lib type package or one-on-all for all bin and lib " "type packages." msgstr "" #. (itstool) path: section/title #: debmake-doc.en.xml:2758 msgid "debian/changelog" msgstr "" #. (itstool) path: section/simpara #: debmake-doc.en.xml:2759 msgid "" "The debian/changelog file records the " "Debian package history and defines the upstream package version and the " "Debian revision in its first line." msgstr "" #. (itstool) path: section/simpara #: debmake-doc.en.xml:2760 msgid "" "The debmake command creates the initial " "template file with the upstream package version and the Debian revision. The " "distribution is set to UNRELEASED to " "prevent accidental upload to the Debian archive." msgstr "" #. (itstool) path: section/simpara #: debmake-doc.en.xml:2761 msgid "" "The debchange command (alias dch) is used to edit this." msgstr "" #. (itstool) path: tip/simpara #: debmake-doc.en.xml:2762 msgid "" "The date string used in the debian/changelog file can be manually generated by “LC_ALL=C date -R”." msgstr "" #. (itstool) path: section/simpara #: debmake-doc.en.xml:2763 msgid "" "This is installed in the /usr/share/doc/binarypackage directory as changelog.Debian.gz by the dh_installchangelogs." msgstr "" #. (itstool) path: section/simpara #: debmake-doc.en.xml:2764 msgid "" "The upstream changelog is installed in the /usr/" "share/doc/binarypackage directory as " "changelog.gz." msgstr "" #. (itstool) path: section/simpara #: debmake-doc.en.xml:2765 msgid "" "The upstream changelog is automatically found by the dh_installchangelogs using the case insensitive match of its " "file name to changelog, changes, changelog.txt, changes.txt, history, history.txt, or changelog.md and searched " "in the ./ doc/" ", or docs/ directories." msgstr "" #. (itstool) path: footnote/simpara #: debmake-doc.en.xml:2766 msgid "" "If you are using the vim editor, make " "sure to save this with the “:wq” " "command." msgstr "" #. (itstool) path: section/simpara #: debmake-doc.en.xml:2766 msgid "" "After finishing your packaging and verifying its quality, please execute the " "“dch -r” and save the finalized " "debian/changelog file with the " "distribution normally set to unstable. " "<_:footnote-1/> If you are packaging for the backports, security updates, " "LTS, etc., please use the appropriate distribution names, instead." msgstr "" #. (itstool) path: section/title #: debmake-doc.en.xml:2769 msgid "debian/copyright" msgstr "" #. (itstool) path: section/simpara #: debmake-doc.en.xml:2770 msgid "" "Debian takes the copyright and license matters very seriously. The “Debian " "Policy Manual” enforces to have summary of them in the debian/copyright file in the package." msgstr "" #. (itstool) path: simpara/ulink #: debmake-doc.en.xml:2771 msgid "machine-readable debian/copyright file" msgstr "" #. (itstool) path: section/simpara #: debmake-doc.en.xml:2771 msgid "You should format it as the <_:ulink-1/> (DEP-5)." msgstr "" #. (itstool) path: caution/simpara #: debmake-doc.en.xml:2772 msgid "" "The debian/copyright file should be " "sorted to keep the generic file patterns at the top of the list. See ." msgstr "" #. (itstool) path: footnote/simpara #: debmake-doc.en.xml:2773 msgid "" "The licensecheck command from the " "devscripts package was referenced to " "make this internal checker." msgstr "" #. (itstool) path: section/simpara #: debmake-doc.en.xml:2773 msgid "" "The debmake command creates the initial " "DEP-5 compatible template file by scanning the entire source tree. It uses " "an internal license checker to classify each license text. <_:footnote-1/>" msgstr "" #. (itstool) path: section/simpara #: debmake-doc.en.xml:2774 msgid "" "Unless specifically requested to be pedantic with the -P option, the debmake " "command skips reporting for auto-generated files with permissive licenses to " "be practical." msgstr "" #. (itstool) path: note/simpara #: debmake-doc.en.xml:2775 msgid "" "If you find issues with this license checker, please file a bug report to " "the debmake package with the " "problematic part of text containing the copyright and license." msgstr "" #. (itstool) path: section/title #. (itstool) path: simpara/ulink #: debmake-doc.en.xml:2778 debmake-doc.en.xml:2779 debmake-doc.en.xml:2780 msgid "DFSG" msgstr "" #. (itstool) path: section/simpara #: debmake-doc.en.xml:2779 msgid "Debian takes software freedom seriously and follows the <_:ulink-1/>." msgstr "" #. (itstool) path: section/simpara #: debmake-doc.en.xml:2780 msgid "" "The non-<_:ulink-1/> components in the upstream source tarball can be easily " "removed when the uscan command is used " "to update the Debian package." msgstr "" #. (itstool) path: listitem/simpara #: debmake-doc.en.xml:2783 msgid "" "List the files to be removed in the Files-" "Excluded stanza of the debian/" "copyright file." msgstr "" #. (itstool) path: listitem/simpara #: debmake-doc.en.xml:2788 msgid "" "List the URL to download the upstream tarball in the debian/watch file." msgstr "" #. (itstool) path: listitem/simpara #: debmake-doc.en.xml:2793 msgid "" "Run the uscan command to download the " "new upstream tarball." msgstr "" #. (itstool) path: listitem/simpara #: debmake-doc.en.xml:2798 msgid "" "Alternatively, use the “gbp import-orig --uscan --" "pristine-tar” command." msgstr "" #. (itstool) path: listitem/simpara #: debmake-doc.en.xml:2805 msgid "" "The resulting tarball has the version number with an additional suffix " "+dfsg." msgstr "" #. (itstool) path: section/title #: debmake-doc.en.xml:2812 msgid "Other debian/*" msgstr "" #. (itstool) path: section/simpara #: debmake-doc.en.xml:2813 msgid "" "Optional configuration files may be added under the debian/ directory. Most of them are to control dh_* commands offered by the debhelper package but there are some for lintian and gbp " "commands. Here is the alphabetical list of notable optional configuration " "files." msgstr "" #. (itstool) path: varlistentry/term #: debmake-doc.en.xml:2816 msgid "" "binarypackage.bug-control -x3" msgstr "" #. (itstool) path: listitem/simpara #: debmake-doc.en.xml:2820 msgid "" "installed as usr/share/bug/binarypackage/" "control in binarypackage. See ." msgstr "" #. (itstool) path: varlistentry/term #: debmake-doc.en.xml:2826 msgid "" "binarypackage.bug-presubj -x3" msgstr "" #. (itstool) path: listitem/simpara #: debmake-doc.en.xml:2830 msgid "" "installed as usr/share/bug/binarypackage/" "presubj in binarypackage. See ." msgstr "" #. (itstool) path: varlistentry/term #: debmake-doc.en.xml:2836 msgid "" "binarypackage.bug-script -x3" msgstr "" #. (itstool) path: listitem/simpara #: debmake-doc.en.xml:2840 msgid "" "installed as usr/share/bug/binarypackage or usr/" "share/bug/binarypackage/script in binarypackage. See " "." msgstr "" #. (itstool) path: varlistentry/term #: debmake-doc.en.xml:2846 msgid "" "clean -x2" msgstr "" #. (itstool) path: listitem/simpara #: debmake-doc.en.xml:2850 msgid "" "List files which should be removed but are not cleaned by the dh_auto_clean command." msgstr "" #. (itstool) path: listitem/simpara #: debmake-doc.en.xml:2853 msgid "" "See dh_auto_clean(1) and dh_clean(1)." msgstr "" #. (itstool) path: varlistentry/term #: debmake-doc.en.xml:2857 msgid "" "compat -x1" msgstr "" #. (itstool) path: listitem/simpara #: debmake-doc.en.xml:2861 msgid "" "Set the debhelper compatibility level " "(currently, “9”)." msgstr "" #. (itstool) path: listitem/simpara #: debmake-doc.en.xml:2864 msgid "" "See “COMPATIBILITY LEVELS” in debhelper(8)." msgstr "" #. (itstool) path: varlistentry/term #: debmake-doc.en.xml:2868 msgid "" "binarypackage.conffile" msgstr "" #. (itstool) path: listitem/simpara #: debmake-doc.en.xml:2872 msgid "" "No need for this file under “compat >= 3” since all files in the " "etc/ directory are conffiles." msgstr "" #. (itstool) path: listitem/simpara #: debmake-doc.en.xml:2875 msgid "See dh_installdeb(1)." msgstr "" #. (itstool) path: listitem/simpara #: debmake-doc.en.xml:2876 msgid "" "If the program you’re packaging requires every user to modify the " "configuration files in the /etc " "directory, there are two popular ways to arrange for them to not be " "conffiles, keeping the dpkg command " "happy and quiet." msgstr "" #. (itstool) path: listitem/simpara #: debmake-doc.en.xml:2879 msgid "" "Create a symlink under the /etc " "directory pointing to a file under the /var directory generated by the maintainer scripts." msgstr "" #. (itstool) path: listitem/simpara #: debmake-doc.en.xml:2884 msgid "" "Create a file generated by the maintainer scripts under the /etc directory." msgstr "" #. (itstool) path: varlistentry/term #: debmake-doc.en.xml:2892 msgid "" "binarypackage.config" msgstr "" #. (itstool) path: listitem/simpara #: debmake-doc.en.xml:2896 msgid "" "This is the debconf config script used for asking any questions necessary " "to configure the package. See ." msgstr "" #. (itstool) path: varlistentry/term #: debmake-doc.en.xml:2902 msgid "" "binarypackage.cron.hourly -x3" msgstr "" #. (itstool) path: listitem/simpara #: debmake-doc.en.xml:2906 msgid "" "Installed into the etc/cron/hourly/binarypackage file in binarypackage." msgstr "" #. (itstool) path: listitem/simpara #: debmake-doc.en.xml:2909 debmake-doc.en.xml:2920 debmake-doc.en.xml:2931 msgid "" "See dh_installcron(1) and cron(8)." msgstr "" #. (itstool) path: varlistentry/term #: debmake-doc.en.xml:2913 msgid "" "binarypackage.cron.daily -x3" msgstr "" #. (itstool) path: listitem/simpara #: debmake-doc.en.xml:2917 msgid "" "Installed into the etc/cron/daily/binarypackage file in binarypackage." msgstr "" #. (itstool) path: varlistentry/term #: debmake-doc.en.xml:2924 msgid "" "binarypackage.cron.weekly -x3" msgstr "" #. (itstool) path: listitem/simpara #: debmake-doc.en.xml:2928 msgid "" "Installed into the etc/cron/weekly/binarypackage file in binarypackage." msgstr "" #. (itstool) path: varlistentry/term #: debmake-doc.en.xml:2935 msgid "" "binarypackage.cron.monthly -x3" msgstr "" #. (itstool) path: listitem/simpara #: debmake-doc.en.xml:2939 msgid "" "Installed into the etc/cron/monthly/binarypackage file in binarypackage." msgstr "" #. (itstool) path: listitem/simpara #: debmake-doc.en.xml:2942 msgid "" "See dh_installcro*(1) and cron(8)." msgstr "" #. (itstool) path: varlistentry/term #: debmake-doc.en.xml:2946 msgid "" "binarypackage.cron.d -x3" msgstr "" #. (itstool) path: listitem/simpara #: debmake-doc.en.xml:2950 msgid "" "Installed into the etc/cron.d/binarypackage file in binarypackage." msgstr "" #. (itstool) path: listitem/simpara #: debmake-doc.en.xml:2953 msgid "" "See dh_installcron(1), cron(8), and crontab(5)." msgstr "" #. (itstool) path: varlistentry/term #: debmake-doc.en.xml:2957 msgid "" "binarypackage.default -x3" msgstr "" #. (itstool) path: listitem/simpara #: debmake-doc.en.xml:2961 msgid "" "If this exists, it is installed into etc/default/binarypackage in binarypackage." msgstr "" #. (itstool) path: listitem/simpara #: debmake-doc.en.xml:2964 debmake-doc.en.xml:3086 msgid "See dh_installinit(1)." msgstr "" #. (itstool) path: varlistentry/term #: debmake-doc.en.xml:2968 msgid "" "binarypackage.dirs " "-x3" msgstr "" #. (itstool) path: listitem/simpara #: debmake-doc.en.xml:2972 msgid "List directories to be created in binarypackage." msgstr "" #. (itstool) path: listitem/simpara #: debmake-doc.en.xml:2975 msgid "See dh_installdirs(1)." msgstr "" #. (itstool) path: listitem/simpara #: debmake-doc.en.xml:2976 msgid "" "Usually, this is not needed since all dh_install* commands create required directories automatically. Use this only " "when you run into trouble." msgstr "" #. (itstool) path: varlistentry/term #: debmake-doc.en.xml:2980 msgid "" "binarypackage.doc-base -x2" msgstr "" #. (itstool) path: listitem/simpara #: debmake-doc.en.xml:2984 msgid "" "Installed as the doc-base control file " "in binarypackage." msgstr "" #. (itstool) path: simpara/ulink #: debmake-doc.en.xml:2987 msgid "Debian doc-base Manual" msgstr "" #. (itstool) path: listitem/simpara #: debmake-doc.en.xml:2987 msgid "" "See dh_installdocs(1) and <_:ulink-1/> " "provided by the doc-base package." msgstr "" #. (itstool) path: varlistentry/term #: debmake-doc.en.xml:2991 msgid "" "binarypackage.docs " "-x2" msgstr "" #. (itstool) path: listitem/simpara #: debmake-doc.en.xml:2995 msgid "" "List documentation files to be installed in binarypackage." msgstr "" #. (itstool) path: listitem/simpara #: debmake-doc.en.xml:2998 debmake-doc.en.xml:3230 debmake-doc.en.xml:3340 msgid "See dh_installdocs(1)." msgstr "" #. (itstool) path: varlistentry/term #: debmake-doc.en.xml:3002 msgid "" "binarypackage.emacsen-compat -x3" msgstr "" #. (itstool) path: listitem/simpara #: debmake-doc.en.xml:3006 msgid "" "Installed into usr/lib/emacsen-common/packages/" "compat/binarypackage in " "binarypackage." msgstr "" #. (itstool) path: listitem/simpara #: debmake-doc.en.xml:3009 debmake-doc.en.xml:3020 debmake-doc.en.xml:3031 #: debmake-doc.en.xml:3042 msgid "See dh_installemacsen(1)." msgstr "" #. (itstool) path: varlistentry/term #: debmake-doc.en.xml:3013 msgid "" "binarypackage.emacsen-" "install -x3" msgstr "" #. (itstool) path: listitem/simpara #: debmake-doc.en.xml:3017 msgid "" "Installed into usr/lib/emacsen-common/packages/" "install/binarypackage in " "binarypackage." msgstr "" #. (itstool) path: varlistentry/term #: debmake-doc.en.xml:3024 msgid "" "binarypackage.emacsen-remove -x3" msgstr "" #. (itstool) path: listitem/simpara #: debmake-doc.en.xml:3028 msgid "" "Installed into usr/lib/emacsen-common/packages/" "remove/binarypackage in " "binarypackage." msgstr "" #. (itstool) path: varlistentry/term #: debmake-doc.en.xml:3035 msgid "" "binarypackage.emacsen-" "startup -x3" msgstr "" #. (itstool) path: listitem/simpara #: debmake-doc.en.xml:3039 msgid "" "Installed into usr/lib/emacsen-common/packages/" "startup/binarypackage in " "binarypackage." msgstr "" #. (itstool) path: varlistentry/term #: debmake-doc.en.xml:3046 msgid "" "binarypackage.examples -x2" msgstr "" #. (itstool) path: listitem/simpara #: debmake-doc.en.xml:3050 msgid "" "List example files or directories to be installed into usr/share/doc/binarypackage/examples/ in " "binarypackage." msgstr "" #. (itstool) path: listitem/simpara #: debmake-doc.en.xml:3053 msgid "See dh_installexamples(1)." msgstr "" #. (itstool) path: varlistentry/term #: debmake-doc.en.xml:3057 msgid "gbp.conf" msgstr "" #. (itstool) path: listitem/simpara #: debmake-doc.en.xml:3061 msgid "" "If this exists, it functions as the configuration file for the gbp command." msgstr "" #. (itstool) path: listitem/simpara #: debmake-doc.en.xml:3064 msgid "" "See gbp.conf(5), gbp(1), and git-buildpackage(1)." msgstr "" #. (itstool) path: varlistentry/term #: debmake-doc.en.xml:3068 msgid "" "binarypackage.info " "-x2" msgstr "" #. (itstool) path: listitem/simpara #: debmake-doc.en.xml:3072 msgid "List info files to be installed in binarypackage." msgstr "" #. (itstool) path: listitem/simpara #: debmake-doc.en.xml:3075 msgid "See dh_installinfo(1)." msgstr "" #. (itstool) path: varlistentry/term #: debmake-doc.en.xml:3079 msgid "" "binarypackage.init " "-x3" msgstr "" #. (itstool) path: listitem/simpara #: debmake-doc.en.xml:3083 msgid "" "Installed into etc/init.d/binarypackage in binarypackage." msgstr "" #. (itstool) path: varlistentry/term #: debmake-doc.en.xml:3090 msgid "" "binarypackage.install -x2" msgstr "" #. (itstool) path: listitem/simpara #: debmake-doc.en.xml:3094 msgid "" "List files which should be installed but are not installed by the dh_auto_install command." msgstr "" #. (itstool) path: listitem/simpara #: debmake-doc.en.xml:3097 msgid "" "See dh_install(1) and dh_auto_install(1)." msgstr "" #. (itstool) path: varlistentry/term #: debmake-doc.en.xml:3101 msgid "" "license-examples/* " "-x4" msgstr "" #. (itstool) path: listitem/simpara #: debmake-doc.en.xml:3105 msgid "" "These are copyright file examples generated by the debmake command. Use these as the reference for making " "copyright file." msgstr "" #. (itstool) path: listitem/simpara #: debmake-doc.en.xml:3108 msgid "Please make sure to erase these files." msgstr "" #. (itstool) path: varlistentry/term #: debmake-doc.en.xml:3112 msgid "" "binarypackage.links -x2" msgstr "" #. (itstool) path: listitem/simpara #: debmake-doc.en.xml:3116 msgid "" "List pairs of source and destination files to be symlinked. Each pair should " "be put on its own line, with the source and destination separated by the " "whitespace." msgstr "" #. (itstool) path: listitem/simpara #: debmake-doc.en.xml:3119 msgid "See dh_link(1)." msgstr "" #. (itstool) path: varlistentry/term #: debmake-doc.en.xml:3123 msgid "" "binarypackage.lintian-" "overrides -x3" msgstr "" #. (itstool) path: listitem/simpara #: debmake-doc.en.xml:3127 msgid "" "Installed into usr/share/lintian/overrides/binarypackage in the package build directory. " "This file is used to suppress erroneous lintian diagnostics." msgstr "" #. (itstool) path: listitem/simpara #: debmake-doc.en.xml:3130 debmake-doc.en.xml:3276 msgid "" "See dh_lintian(1) and lintian(1)." msgstr "" #. (itstool) path: varlistentry/term #: debmake-doc.en.xml:3134 msgid "" "manpage.* -x3" msgstr "" #. (itstool) path: listitem/simpara #: debmake-doc.en.xml:3138 msgid "" "These are manpage template files generated by the debmake command. Please rename these to appropriate file names " "and update their contents." msgstr "" #. (itstool) path: listitem/simpara #: debmake-doc.en.xml:3141 msgid "" "Debian Policy requires that each program, utility, and function should have " "an associated manual page included in the same package. Manual pages are " "written in nroff(1)." msgstr "" #. (itstool) path: listitem/simpara #: debmake-doc.en.xml:3142 msgid "" "If you are new to making manpage, use manpage." "asciidoc or manpage.1 as the " "starting point." msgstr "" #. (itstool) path: varlistentry/term #: debmake-doc.en.xml:3146 msgid "" "binarypackage.manpages -x2" msgstr "" #. (itstool) path: listitem/simpara #: debmake-doc.en.xml:3150 msgid "List man pages to be installed." msgstr "" #. (itstool) path: listitem/simpara #: debmake-doc.en.xml:3153 msgid "See dh_installman(1)." msgstr "" #. (itstool) path: varlistentry/term #: debmake-doc.en.xml:3157 msgid "" "binarypackage.menu " "-x2" msgstr "" #. (itstool) path: listitem/simpara #: debmake-doc.en.xml:3161 msgid "" "Debian menu file installed into usr/share/menu/binarypackage in binarypackage." msgstr "" #. (itstool) path: listitem/simpara #: debmake-doc.en.xml:3164 msgid "" "See menufile(5) for its format. See " "dh_installmenu(1)." msgstr "" #. (itstool) path: varlistentry/term #: debmake-doc.en.xml:3168 msgid "NEWS" msgstr "" #. (itstool) path: listitem/simpara #: debmake-doc.en.xml:3172 msgid "" "Installed into usr/share/doc/binarypackage/NEWS." "Debian." msgstr "" #. (itstool) path: listitem/simpara #: debmake-doc.en.xml:3175 msgid "See dh_installchangelogs(1)." msgstr "" #. (itstool) path: varlistentry/term #: debmake-doc.en.xml:3179 msgid "patches/*" msgstr "" #. (itstool) path: listitem/simpara #: debmake-doc.en.xml:3183 msgid "" "Collection of -p1 patch files which are " "applied to the upstream source before building the source." msgstr "" #. (itstool) path: listitem/simpara #: debmake-doc.en.xml:3186 msgid "" "See dpkg-source(8), and ." msgstr "" #. (itstool) path: listitem/simpara #: debmake-doc.en.xml:3187 msgid "" "No patch files are generated by the debmake command." msgstr "" #. (itstool) path: varlistentry/term #: debmake-doc.en.xml:3191 msgid "" "patches/series -x1" msgstr "" #. (itstool) path: listitem/simpara #: debmake-doc.en.xml:3195 msgid "" "The application sequence of the patches/* patch files." msgstr "" #. (itstool) path: varlistentry/term #: debmake-doc.en.xml:3201 msgid "" "binarypackage.preinst -x2" msgstr "" #. (itstool) path: varlistentry/term #: debmake-doc.en.xml:3204 msgid "" "binarypackage.postinst -x2" msgstr "" #. (itstool) path: varlistentry/term #: debmake-doc.en.xml:3207 msgid "" "binarypackage.prerm -x2" msgstr "" #. (itstool) path: varlistentry/term #: debmake-doc.en.xml:3210 msgid "" "binarypackage.postrm -x2" msgstr "" #. (itstool) path: listitem/simpara #: debmake-doc.en.xml:3214 msgid "" "These maintainer scripts are installed into the DEBIAN directory." msgstr "" #. (itstool) path: listitem/simpara #: debmake-doc.en.xml:3217 msgid "" "Inside the scripts, the token #DEBHELPER# is replaced with shell script snippets generated by other " "debhelper commands." msgstr "" #. (itstool) path: simpara/ulink #: debmake-doc.en.xml:3218 msgid "Chapter 6 - Package maintainer scripts and installation procedure" msgstr "" #. (itstool) path: listitem/simpara #: debmake-doc.en.xml:3218 msgid "" "See dh_installdeb(1) and <_:ulink-1/> " "of the “Debian Policy Manual”." msgstr "" #. (itstool) path: simpara/ulink #: debmake-doc.en.xml:3219 debmake-doc.en.xml:4271 msgid "3.9.1 Prompting in maintainer scripts" msgstr "" #. (itstool) path: listitem/simpara #: debmake-doc.en.xml:3219 msgid "" "See also debconf-devel(7) and <_:" "ulink-1/> of the “Debian Policy Manual”." msgstr "" #. (itstool) path: varlistentry/term #: debmake-doc.en.xml:3223 msgid "" "README.Debian -x1" msgstr "" #. (itstool) path: listitem/simpara #: debmake-doc.en.xml:3227 msgid "" "Installed into the first binary package listed in the debian/control file as usr/share/doc/" "binarypackage/" "README.Debian." msgstr "" #. (itstool) path: listitem/simpara #: debmake-doc.en.xml:3231 msgid "This file provides the information specific to the Debian package." msgstr "" #. (itstool) path: varlistentry/term #: debmake-doc.en.xml:3235 msgid "" "binarypackage.service -x3" msgstr "" #. (itstool) path: listitem/simpara #: debmake-doc.en.xml:3239 msgid "" "If this exists, it is installed into lib/systemd/" "system/binarypackage.service in binarypackage." msgstr "" #. (itstool) path: listitem/simpara #: debmake-doc.en.xml:3242 debmake-doc.en.xml:3351 msgid "" "See dh_systemd_enable(1), dh_systemd_start(1), and dh_installinit(1)." msgstr "" #. (itstool) path: varlistentry/term #: debmake-doc.en.xml:3246 msgid "" "source/format -x1" msgstr "" #. (itstool) path: listitem/simpara #: debmake-doc.en.xml:3250 msgid "The Debian package format." msgstr "" #. (itstool) path: listitem/simpara #: debmake-doc.en.xml:3255 msgid "" "Use “3.0 (quilt)” to make this non-" "native package (recommended)" msgstr "" #. (itstool) path: listitem/simpara #: debmake-doc.en.xml:3260 msgid "" "Use “3.0 (native)” to make this native " "package" msgstr "" #. (itstool) path: listitem/simpara #: debmake-doc.en.xml:3263 msgid "" "See “SOURCE PACKAGE FORMATS” in dpkg-source(8)." msgstr "" #. (itstool) path: varlistentry/term #: debmake-doc.en.xml:3269 msgid "" "source/lintian-overrides or source.lintian-overrides -x3" msgstr "" #. (itstool) path: listitem/simpara #: debmake-doc.en.xml:3273 msgid "" "These files are not installed, but will be scanned by the lintian command to provide overrides for the source " "package." msgstr "" #. (itstool) path: varlistentry/term #: debmake-doc.en.xml:3280 msgid "" "source/local-options " "-x1" msgstr "" #. (itstool) path: listitem/simpara #: debmake-doc.en.xml:3284 msgid "" "This is not included in the generated source package but committed to the " "VCS for its smooth operation." msgstr "" #. (itstool) path: listitem/simpara #: debmake-doc.en.xml:3287 debmake-doc.en.xml:3298 msgid "" "See “FILE FORMATS” in dpkg-source(8)." msgstr "" #. (itstool) path: varlistentry/term #: debmake-doc.en.xml:3291 msgid "source/options" msgstr "" #. (itstool) path: listitem/simpara #: debmake-doc.en.xml:3295 msgid "" "See the dpkg-source(1) manpage under " "\"FILE FORMATS\" to learn about the package formats and the patch mechanisms." msgstr "" #. (itstool) path: varlistentry/term #: debmake-doc.en.xml:3302 msgid "" "binarypackage.symbols -x2" msgstr "" #. (itstool) path: listitem/simpara #: debmake-doc.en.xml:3306 msgid "" "The symbols files, if present, are passed to the dpkg-gensymbols command to be processed and installed." msgstr "" #. (itstool) path: listitem/simpara #: debmake-doc.en.xml:3309 msgid "" "See dh_makeshlibs(1) and .." msgstr "" #. (itstool) path: varlistentry/term #: debmake-doc.en.xml:3313 msgid "" "binarypackage.templates" msgstr "" #. (itstool) path: listitem/simpara #: debmake-doc.en.xml:3317 msgid "" "This is the debconf templates file used for asking any questions necessary " "to configure the package. See ." msgstr "" #. (itstool) path: varlistentry/term #: debmake-doc.en.xml:3323 msgid "tests/control" msgstr "" #. (itstool) path: simpara/ulink #: debmake-doc.en.xml:3328 debmake-doc.en.xml:4275 msgid "DEP-8" msgstr "" #. (itstool) path: listitem/simpara #: debmake-doc.en.xml:3327 msgid "" "This is the RFC822-style test metadata file defined in <_:ulink-1/>. See " "adt-run(1) and ." msgstr "" #. (itstool) path: varlistentry/term #: debmake-doc.en.xml:3333 msgid "TODO" msgstr "" #. (itstool) path: listitem/simpara #: debmake-doc.en.xml:3337 msgid "" "Installed into the first binary package listed in the debian/control file as usr/share/doc/" "binarypackage/TODO." "Debian." msgstr "" #. (itstool) path: varlistentry/term #: debmake-doc.en.xml:3344 msgid "" "binarypackage.tmpfile -x3" msgstr "" #. (itstool) path: listitem/simpara #: debmake-doc.en.xml:3348 msgid "" "If this exists, it is installed into usr/lib/" "tmpfiles.d/binarypackage.conf in binarypackage." msgstr "" #. (itstool) path: varlistentry/term #: debmake-doc.en.xml:3355 msgid "" "binarypackage.upstart -x3" msgstr "" #. (itstool) path: listitem/simpara #: debmake-doc.en.xml:3359 msgid "" "If this exists, it is installed into etc/init/package.conf in the package " "build directory." msgstr "" #. (itstool) path: listitem/simpara #: debmake-doc.en.xml:3362 msgid "" "See dh_installinit(1) and ." msgstr "" #. (itstool) path: varlistentry/term #: debmake-doc.en.xml:3366 msgid "" "watch -x1" msgstr "" #. (itstool) path: listitem/simpara #: debmake-doc.en.xml:3370 msgid "" "The control file for the uscan command " "to download the latest upstream version" msgstr "" #. (itstool) path: listitem/simpara #: debmake-doc.en.xml:3373 msgid "" "This control file may be configured to verify the authenticity of the " "tarball using its GPG signature (see )." msgstr "" #. (itstool) path: listitem/simpara #: debmake-doc.en.xml:3374 msgid "" "See and uscan(1)." msgstr "" #. (itstool) path: section/simpara #: debmake-doc.en.xml:3378 msgid "Here are a few reminders to the above list." msgstr "" #. (itstool) path: listitem/simpara #: debmake-doc.en.xml:3381 msgid "" "For the single binary package, binarypackage. part of the filename in the list may be removed." msgstr "" #. (itstool) path: listitem/simpara #: debmake-doc.en.xml:3386 msgid "" "For the multi binary package, configuration file missing " "binarypackage. " "part of the filename is applied to the first binary package listed in the " "debian/control." msgstr "" #. (itstool) path: listitem/simpara #: debmake-doc.en.xml:3391 msgid "" "When there are many binary packages, their configurations can be specified " "independently by prefixing their name to their configuration filenames such " "as package-1.install, package-2.install, etc." msgstr "" #. (itstool) path: listitem/simpara #: debmake-doc.en.xml:3396 msgid "" "Configuration template filenames with -x1, -x2, -x3, or -x4 in the above mean that they are generated by the " "debmake command with that -x option (see )." msgstr "" #. (itstool) path: listitem/simpara #: debmake-doc.en.xml:3401 msgid "" "Some template configuration files may not be created by the debmake command. In such cases, you need to create " "them with an editor." msgstr "" #. (itstool) path: listitem/simpara #: debmake-doc.en.xml:3406 msgid "" "Unusual configuration template files generated by the debmake command with the extra .ex suffix needs to be activated by removing that suffix." msgstr "" #. (itstool) path: listitem/simpara #: debmake-doc.en.xml:3411 msgid "" "Unused configuration template files generated by the debmake command should be removed." msgstr "" #. (itstool) path: listitem/simpara #: debmake-doc.en.xml:3416 msgid "" "Copy configuration template files as needed to the filenames matching their " "pertinent binary package names." msgstr "" #. (itstool) path: section/title #: debmake-doc.en.xml:3423 msgid "signing-key.pgp" msgstr "" #. (itstool) path: section/simpara #: debmake-doc.en.xml:3424 msgid "Some packages are signed by the GPG key." msgstr "" #. (itstool) path: simpara/ulink #: debmake-doc.en.xml:3425 msgid "GNU hello" msgstr "" #. (itstool) path: simpara/ulink #: debmake-doc.en.xml:3425 msgid "http://ftp.gnu.org/gnu/hello/" msgstr "" #. (itstool) path: section/simpara #: debmake-doc.en.xml:3425 msgid "" "For example, <_:ulink-1/> can be downloaded via HTTP from <_:ulink-2/> . " "There are sets of files:" msgstr "" #. (itstool) path: listitem/simpara #: debmake-doc.en.xml:3428 msgid "" "hello-version.tar.gz (upstream source)" msgstr "" #. (itstool) path: listitem/simpara #: debmake-doc.en.xml:3433 msgid "" "hello-version.tar.gz.sig (detached " "signature)" msgstr "" #. (itstool) path: section/simpara #: debmake-doc.en.xml:3438 msgid "Let’s pick the latest version set." msgstr "" #. (itstool) path: simpara/ulink #: debmake-doc.en.xml:3446 msgid "web of trust" msgstr "" #. (itstool) path: section/simpara #: debmake-doc.en.xml:3446 msgid "" "If you know the public GPG key of the upstream from the mailing list, use it " "as the debian/upstream/signing-key.pgp " "file. Otherwise, use the hkp keyserver and check it via your <_:ulink-1/>." msgstr "" #. (itstool) path: tip/simpara #: debmake-doc.en.xml:3458 msgid "" "If your network environment blocks access to the HPK port 11371, use “hkp://keyserver." "ubuntu.com:80” instead." msgstr "" #. (itstool) path: section/simpara #: debmake-doc.en.xml:3459 msgid "" "After confirming the key ID 80EE4A00 is " "trust worthy one, download its public key into the debian/upstream/signing-key.pgp file." msgstr "" #. (itstool) path: section/simpara #: debmake-doc.en.xml:3461 msgid "" "Then set the corresponding debian/watch " "file as follows." msgstr "" #. (itstool) path: section/simpara #: debmake-doc.en.xml:3464 msgid "" "Now the uscan command will check the " "authenticity of the package using the GPG signature." msgstr "" #. (itstool) path: section/title #: debmake-doc.en.xml:3467 msgid "Package customization" msgstr "" #. (itstool) path: section/simpara #: debmake-doc.en.xml:3468 msgid "" "Some upstream sources do not behave well and you may need to add " "customization to the build system of those upstream sources." msgstr "" #. (itstool) path: section/simpara #: debmake-doc.en.xml:3469 msgid "" "The package should be customized by the least invasive way to address the " "root cause of the Debian packaging problem. Your packaging shall be more " "robust for the future upgrades in this way. (You should also solve the root " "cause of the problem and send its patch to the upstream.)" msgstr "" #. (itstool) path: section/simpara #: debmake-doc.en.xml:3470 msgid "" "Here, there are a few technical approaches to customize the build system:" msgstr "" #. (itstool) path: listitem/simpara #: debmake-doc.en.xml:3473 msgid "debian/rules approach" msgstr "" #. (itstool) path: listitem/simpara #: debmake-doc.en.xml:3478 msgid "" "debian/bianrypackage.* approach" msgstr "" #. (itstool) path: listitem/simpara #: debmake-doc.en.xml:3483 msgid "patches/* approach" msgstr "" #. (itstool) path: section/title #: debmake-doc.en.xml:3489 msgid "debian/rules approach" msgstr "" #. (itstool) path: section/simpara #: debmake-doc.en.xml:3490 msgid "" "The customization to the Debian package build system can be done through the " "debian/rules file." msgstr "" #. (itstool) path: section/simpara #: debmake-doc.en.xml:3491 msgid "See ." msgstr "" #. (itstool) path: section/title #: debmake-doc.en.xml:3494 msgid "debian/binarypackage.* approach" msgstr "" #. (itstool) path: section/simpara #: debmake-doc.en.xml:3495 msgid "" "Add customized configuration files for the dh_* command from the debhelper " "package in the debian/ directory." msgstr "" #. (itstool) path: section/simpara #: debmake-doc.en.xml:3496 msgid "See ." msgstr "" #. (itstool) path: section/title #: debmake-doc.en.xml:3499 msgid "patches/* approach" msgstr "" #. (itstool) path: section/simpara #: debmake-doc.en.xml:3500 msgid "" "Modifications to the upstream source before building it can be done by " "placing the collection of the -p1 " "patches in the patches/ directory and " "applying them in sequence defined in the patches/" "series file." msgstr "" #. (itstool) path: section/simpara #: debmake-doc.en.xml:3501 msgid "" "There are several methods to prepare the required -" "p1 patches for this." msgstr "" #. (itstool) path: listitem/simpara #: debmake-doc.en.xml:3504 msgid "The diff command (manual)" msgstr "" #. (itstool) path: listitem/simpara #: debmake-doc.en.xml:3509 msgid "" "The “git format-patches” command " "(manual for the git repository)" msgstr "" #. (itstool) path: listitem/simpara #: debmake-doc.en.xml:3514 msgid "" "The dquilt command (manual, elegant) " "(alias of the quilt command, see )" msgstr "" #. (itstool) path: listitem/simpara #: debmake-doc.en.xml:3519 msgid "" "The gbp-pq command (specialized, simple)" msgstr "" #. (itstool) path: listitem/simpara #: debmake-doc.en.xml:3524 msgid "" "The git-dpm command (specialized, " "elegant)" msgstr "" #. (itstool) path: listitem/simpara #: debmake-doc.en.xml:3529 msgid "Patches used in other distros and floating on the mailing list" msgstr "" #. (itstool) path: simpara/ulink #: debmake-doc.en.xml:3539 msgid "DEP-3" msgstr "" #. (itstool) path: section/simpara #: debmake-doc.en.xml:3539 msgid "" "Wherever these patches come from, it is good idea to tag them with <_:" "ulink-1/> compatible header." msgstr "" #. (itstool) path: section/simpara #: debmake-doc.en.xml:3540 msgid "" "These patches should apply cleanly. For new upstream releases, you must " "normalize them by the dquilt command " "(see )." msgstr "" #. (itstool) path: caution/simpara #: debmake-doc.en.xml:3543 msgid "" "Don’t forget to normalize patches when you upgrade to the new upstream " "source or import the externally generated patches." msgstr "" #. (itstool) path: section/simpara #: debmake-doc.en.xml:3544 msgid "See for example." msgstr "" #. (itstool) path: section/title #: debmake-doc.en.xml:3548 msgid "Upstream build systems" msgstr "" #. (itstool) path: section/simpara #: debmake-doc.en.xml:3549 msgid "" "Upstream build systems are designed to go through several steps to install " "generated binary files to the system from the source distribution." msgstr "" #. (itstool) path: section/title #: debmake-doc.en.xml:3551 msgid "Autotools" msgstr "" #. (itstool) path: section/simpara #: debmake-doc.en.xml:3552 msgid "" "Autotools (autoconf + automake) has 4 steps." msgstr "" #. (itstool) path: listitem/simpara #: debmake-doc.en.xml:3555 msgid "" "setup the build system (“vim configure.ac Makefile." "am” and “autoreconf -ivf”)" msgstr "" #. (itstool) path: listitem/simpara #: debmake-doc.en.xml:3560 msgid "" "configure the build system (“./configure”)" msgstr "" #. (itstool) path: listitem/simpara #: debmake-doc.en.xml:3565 debmake-doc.en.xml:3622 msgid "build the source tree (“make”)" msgstr "" #. (itstool) path: listitem/simpara #: debmake-doc.en.xml:3570 debmake-doc.en.xml:3627 msgid "" "install the binary files (“make install”)" msgstr "" #. (itstool) path: section/simpara #: debmake-doc.en.xml:3575 msgid "" "The upstream usually performs the step 1 and builds the upstream tarball for " "distribution using the “make dist” " "command. (The generated tarball contains not only the pristine upstream VCS " "contents but also other generated files.)" msgstr "" #. (itstool) path: section/simpara #: debmake-doc.en.xml:3576 msgid "" "The package maintainer needs to take care steps 2 to 4 at least. This is " "realized by the “dh $@ --with autotools-dev” command used in the debian/rules file." msgstr "" #. (itstool) path: section/simpara #: debmake-doc.en.xml:3577 msgid "" "The package maintainer may wish to take care all steps 1 to 4. This is " "realized by the “dh $@ --with autoreconf” command used in the debian/rules file. This rebuilds all auto-generated files to the latest version " "ones and provides better supports for the porting to the newer architectures." msgstr "" #. (itstool) path: section/simpara #: debmake-doc.en.xml:3578 msgid "If you wish to learn more on the Autotools, please see:" msgstr "" #. (itstool) path: simpara/ulink #: debmake-doc.en.xml:3582 msgid "GNU Automake documentation" msgstr "" #. (itstool) path: simpara/ulink #: debmake-doc.en.xml:3587 msgid "GNU Autoconf documentation" msgstr "" #. (itstool) path: simpara/ulink #: debmake-doc.en.xml:3592 msgid "Autotools Tutorial" msgstr "" #. (itstool) path: simpara/ulink #: debmake-doc.en.xml:3597 msgid "Introduction to the autotools (autoconf, automake, and libtool)" msgstr "" #. (itstool) path: simpara/ulink #: debmake-doc.en.xml:3602 msgid "Autotools Mythbuster" msgstr "" #. (itstool) path: section/title #. (itstool) path: simpara/ulink #: debmake-doc.en.xml:3608 debmake-doc.en.xml:3638 msgid "CMake" msgstr "" #. (itstool) path: section/simpara #: debmake-doc.en.xml:3609 msgid "CMake has 4 steps." msgstr "" #. (itstool) path: listitem/simpara #: debmake-doc.en.xml:3612 msgid "" "setup the build system (“vim CMakeLists.txt config." "h.in”)" msgstr "" #. (itstool) path: listitem/simpara #: debmake-doc.en.xml:3617 msgid "" "configure the build system (“cmake”)" msgstr "" #. (itstool) path: section/simpara #: debmake-doc.en.xml:3632 msgid "" "The upstream tarball contains no auto-generated files and is generated by " "the tar command after the step 1." msgstr "" #. (itstool) path: section/simpara #: debmake-doc.en.xml:3633 msgid "The package maintainer needs to take care steps 2 to 4." msgstr "" #. (itstool) path: section/simpara #: debmake-doc.en.xml:3634 msgid "If you wish to learn more on the CMake, please see:" msgstr "" #. (itstool) path: simpara/ulink #: debmake-doc.en.xml:3643 msgid "CMake tutorial" msgstr "" #. (itstool) path: section/title #: debmake-doc.en.xml:3649 msgid "Python distutils" msgstr "" #. (itstool) path: section/simpara #: debmake-doc.en.xml:3650 msgid "Python distutils has 3 steps." msgstr "" #. (itstool) path: listitem/simpara #: debmake-doc.en.xml:3653 msgid "" "setup and configure the build system (“vim setup." "py”)" msgstr "" #. (itstool) path: listitem/simpara #: debmake-doc.en.xml:3658 msgid "" "build the source tree (“python setup.py build”)" msgstr "" #. (itstool) path: listitem/simpara #: debmake-doc.en.xml:3663 msgid "" "install the binary files (“python setup.py " "install”)" msgstr "" #. (itstool) path: section/simpara #: debmake-doc.en.xml:3668 msgid "" "The upstream usually performs the step 1 and builds the upstream tarball for " "distribution using the “python setup.py sdist” command." msgstr "" #. (itstool) path: section/simpara #: debmake-doc.en.xml:3669 msgid "" "The package maintainer needs to take care the step 2. This is realized " "simply by the “dh $@” command used in " "the debian/rules file, after jessie." msgstr "" #. (itstool) path: section/simpara #: debmake-doc.en.xml:3670 msgid "" "The situation of other build systems, such as CMake, are very similar to " "this Python one." msgstr "" #. (itstool) path: section/simpara #: debmake-doc.en.xml:3671 msgid "" "If you wish to learn more on the Python3 and distutils, please see:" msgstr "" #. (itstool) path: simpara/ulink #: debmake-doc.en.xml:3675 msgid "Python3" msgstr "" #. (itstool) path: simpara/ulink #: debmake-doc.en.xml:3680 debmake-doc.en.xml:5779 msgid "distutils" msgstr "" #. (itstool) path: section/title #: debmake-doc.en.xml:3687 msgid "Debugging information" msgstr "" #. (itstool) path: simpara/ulink #: debmake-doc.en.xml:3688 msgid "Chapter 10 - Files" msgstr "" #. (itstool) path: section/simpara #: debmake-doc.en.xml:3688 msgid "" "The Debian package is built with the debugging information but packaged into " "the binary package after stripping the debugging information as required by " "<_:ulink-1/> of the “Debian Policy Manual”." msgstr "" #. (itstool) path: section/simpara #: debmake-doc.en.xml:3689 msgid "" "The debugging information can be packaged separately as the debug package " "using the “dh_strip --dbg-package=package” command in the override_dh_strip: target of the debian/rules file. The name of such debug package normally has " "the -dbg suffix." msgstr "" #. (itstool) path: note/simpara #: debmake-doc.en.xml:3690 msgid "" "The creation of the -dbg package is " "optional. In future, it may be superseded by some new mechanism to provide " "the debugging information." msgstr "" #. (itstool) path: section/simpara #: debmake-doc.en.xml:3691 msgid "" "The installation path of the debugging information is as follows to enable " "auto-loading of it by the gdb command." msgstr "" #. (itstool) path: listitem/simpara #: debmake-doc.en.xml:3694 msgid "" "/usr/lib/debug/.build-id/12/3456… (compat>=9, for buildID=123456…)" msgstr "" #. (itstool) path: listitem/simpara #: debmake-doc.en.xml:3699 msgid "" "/usr/lib/debug/path/to/" "binary (compat<<9, for /path/to/binary)" msgstr "" #. (itstool) path: section/simpara #: debmake-doc.en.xml:3704 msgid "See" msgstr "" #. (itstool) path: simpara/ulink #: debmake-doc.en.xml:3708 msgid "6.7.9. Best practices for debug packages" msgstr "" #. (itstool) path: listitem/simpara #: debmake-doc.en.xml:3707 msgid "<_:ulink-1/> of the “Debian Developer’s Reference”." msgstr "" #. (itstool) path: simpara/ulink #: debmake-doc.en.xml:3713 msgid "18.2 Debugging Information in Separate Files" msgstr "" #. (itstool) path: listitem/simpara #: debmake-doc.en.xml:3712 msgid "<_:ulink-1/> of the “Debugging with gdb”" msgstr "" #. (itstool) path: listitem/simpara #: debmake-doc.en.xml:3717 msgid "dh_strip(1)" msgstr "" #. (itstool) path: listitem/simpara #: debmake-doc.en.xml:3722 msgid "strip(1)" msgstr "" #. (itstool) path: listitem/simpara #: debmake-doc.en.xml:3727 msgid "readelf(1)" msgstr "" #. (itstool) path: listitem/simpara #: debmake-doc.en.xml:3732 msgid "objcopy(1)" msgstr "" #. (itstool) path: simpara/ulink #: debmake-doc.en.xml:3738 msgid "DebugPackage" msgstr "" #. (itstool) path: listitem/simpara #: debmake-doc.en.xml:3737 debmake-doc.en.xml:3742 debmake-doc.en.xml:4101 #: debmake-doc.en.xml:4106 debmake-doc.en.xml:4134 debmake-doc.en.xml:4139 msgid "Debian wiki <_:ulink-1/>" msgstr "" #. (itstool) path: simpara/ulink #: debmake-doc.en.xml:3743 msgid "AutomaticDebugPackages" msgstr "" #. (itstool) path: section/title #: debmake-doc.en.xml:3749 msgid "Library package" msgstr "" #. (itstool) path: section/simpara #: debmake-doc.en.xml:3750 msgid "" "Packaging the library software requires you to perform much more work than " "usual. Here are some reminders for packaging the library software:" msgstr "" #. (itstool) path: listitem/simpara #: debmake-doc.en.xml:3753 msgid "" "The library binary package must be named as ." msgstr "" #. (itstool) path: listitem/simpara #: debmake-doc.en.xml:3758 msgid "" "Debian ships shared library such as /usr/lib/<" "triplet>/libfoo-0.1.so.1.0.0 (see )." msgstr "" #. (itstool) path: listitem/simpara #: debmake-doc.en.xml:3763 msgid "" "Debian encourages to use versioned symbols in the shared library (see )." msgstr "" #. (itstool) path: listitem/simpara #: debmake-doc.en.xml:3768 msgid "" "Debian doesn’t ship *.la libtool " "library archive files." msgstr "" #. (itstool) path: listitem/simpara #: debmake-doc.en.xml:3773 msgid "" "Debian discourages to use and ship *.a " "static library files." msgstr "" #. (itstool) path: section/simpara #: debmake-doc.en.xml:3778 msgid "Before packaging the shared library software, see:" msgstr "" #. (itstool) path: simpara/ulink #: debmake-doc.en.xml:3782 msgid "Chapter 8 - Shared libraries" msgstr "" #. (itstool) path: listitem/simpara #: debmake-doc.en.xml:3781 debmake-doc.en.xml:3786 debmake-doc.en.xml:4073 msgid "<_:ulink-1/> of the “Debian Policy Manual”" msgstr "" #. (itstool) path: simpara/ulink #: debmake-doc.en.xml:3787 msgid "10.2 Libraries" msgstr "" #. (itstool) path: simpara/ulink #: debmake-doc.en.xml:3792 msgid "6.7.2. Libraries" msgstr "" #. (itstool) path: listitem/simpara #: debmake-doc.en.xml:3791 msgid "<_:ulink-1/> of the “Debian Developer’s Reference”" msgstr "" #. (itstool) path: section/simpara #: debmake-doc.en.xml:3796 msgid "For the historic background study, see:" msgstr "" #. (itstool) path: simpara/ulink #: debmake-doc.en.xml:3800 msgid "Escaping the Dependency Hell" msgstr "" #. (itstool) path: footnote/simpara #: debmake-doc.en.xml:3800 msgid "" "This document was written before the introduction of the symbols file." msgstr "" #. (itstool) path: listitem/simpara #: debmake-doc.en.xml:3804 msgid "This encourages to have versioned symbols in the shared library." msgstr "" #. (itstool) path: simpara/ulink #: debmake-doc.en.xml:3812 msgid "Debian Library Packaging guide" msgstr "" #. (itstool) path: simpara/ulink #: debmake-doc.en.xml:3812 msgid "Chapter 6. Development (-DEV) packages" msgstr "" #. (itstool) path: footnote/simpara #: debmake-doc.en.xml:3812 msgid "" "The strong preference to use the SONAME versioned -" "dev package names over the single -dev package name in its <_:ulink-1/> does not seem to be shared by the " "former ftp-master (Steve Langasek). This document was written before the " "introduction of the multiarch system " "and the symbols file." msgstr "" #. (itstool) path: simpara/ulink #: debmake-doc.en.xml:3817 msgid "its announcenent" msgstr "" #. (itstool) path: listitem/simpara #: debmake-doc.en.xml:3816 msgid "Please read the discussion thread following <_:ulink-1/>, too." msgstr "" #. (itstool) path: section/title #: debmake-doc.en.xml:3825 msgid "Multiarch" msgstr "" #. (itstool) path: section/simpara #: debmake-doc.en.xml:3826 msgid "" "The multiarch support for cross-architecture installation of binary packages " "(particularly i386 and amd64, but also other combinations) in the dpkg and apt " "packages introduced to Debian wheezy " "(7.0, May 2013) demands us to pay extra attention for the packaging." msgstr "" #. (itstool) path: section/simpara #: debmake-doc.en.xml:3827 debmake-doc.en.xml:4131 msgid "You should read the following references in detail." msgstr "" #. (itstool) path: listitem/simpara #: debmake-doc.en.xml:3830 msgid "Ubuntu wiki (upstream)" msgstr "" #. (itstool) path: simpara/ulink #: debmake-doc.en.xml:3836 msgid "MultiarchSpec" msgstr "" #. (itstool) path: listitem/simpara #: debmake-doc.en.xml:3842 msgid "Debian wiki (Debian situation)" msgstr "" #. (itstool) path: simpara/ulink #: debmake-doc.en.xml:3848 msgid "Debian multiarch support" msgstr "" #. (itstool) path: simpara/ulink #: debmake-doc.en.xml:3853 msgid "Multiarch/Implementation" msgstr "" #. (itstool) path: section/simpara #: debmake-doc.en.xml:3859 msgid "" "The multiarch is enabled by using the <" "triplet> value such as i386-linux-" "gnu and x86_64-linux-gnu in " "the install path of shared libraries as /usr/lib/" "<triplet>/, etc.." msgstr "" #. (itstool) path: listitem/simpara #: debmake-doc.en.xml:3862 msgid "" "The <triplet> value required " "internally by debhelper scripts is " "implicitly set in themselves. The maintainer doesn’t need to worry." msgstr "" #. (itstool) path: listitem/simpara #: debmake-doc.en.xml:3867 msgid "" "The <triplet> value used in " "override_dh_* target scripts must be " "explicitly set in the debian/rules by " "the maintainer. The <triplet> " "value is stored in $(DEB_HOST_MULTIARCH) variable in the following debian/rules snippet example:" msgstr "" #. (itstool) path: section/simpara #: debmake-doc.en.xml:3877 msgid "" "See and dpkg-" "architecture." msgstr "" #. (itstool) path: section/title #: debmake-doc.en.xml:3879 msgid "The multiarch library path" msgstr "" #. (itstool) path: simpara/ulink #: debmake-doc.en.xml:3880 debmake-doc.en.xml:3881 msgid "Filesystem Hierarchy Standard" msgstr "" #. (itstool) path: simpara/ulink #: debmake-doc.en.xml:3880 msgid "/usr/lib : Libraries for programming and packages" msgstr "" #. (itstool) path: section/simpara #: debmake-doc.en.xml:3880 msgid "" "Debian policy requires to follow <_:ulink-1/>. Its <_:ulink-2/> states " "\"/usr/lib includes object files, " "libraries, and internal binaries that are not intended to be executed " "directly by users or shell scripts.\"" msgstr "" #. (itstool) path: section/simpara #: debmake-doc.en.xml:3881 msgid "" "Debian policy makes an exception to <_:ulink-1/> to use /usr/lib/<triplet>/ instead of /usr/lib<qual>/ (e.g., /lib32/ and /lib64/) to " "support the multiarch library." msgstr "" #. (itstool) path: table/title #: debmake-doc.en.xml:3883 msgid "The multiarch library path options" msgstr "" #. (itstool) path: row/entry #: debmake-doc.en.xml:3890 debmake-doc.en.xml:3940 debmake-doc.en.xml:3978 msgid "Classic path" msgstr "" #. (itstool) path: row/entry #: debmake-doc.en.xml:3891 debmake-doc.en.xml:3941 debmake-doc.en.xml:3979 msgid "i386 multiarch path" msgstr "" #. (itstool) path: row/entry #: debmake-doc.en.xml:3892 debmake-doc.en.xml:3942 debmake-doc.en.xml:3980 msgid "amd64 multiarch path" msgstr "" #. (itstool) path: entry/simpara #: debmake-doc.en.xml:3897 msgid "/lib/" msgstr "" #. (itstool) path: entry/simpara #: debmake-doc.en.xml:3898 msgid "/lib/i386-linux-gnu/" msgstr "" #. (itstool) path: entry/simpara #: debmake-doc.en.xml:3899 msgid "/lib/x86_64-linux-gnu/" msgstr "" #. (itstool) path: entry/simpara #: debmake-doc.en.xml:3902 msgid "/usr/lib/" msgstr "" #. (itstool) path: entry/simpara #: debmake-doc.en.xml:3903 msgid "/usr/lib/i386-linux-gnu/" msgstr "" #. (itstool) path: entry/simpara #: debmake-doc.en.xml:3904 msgid "/usr/lib/x86_64-linux-gnu/" msgstr "" #. (itstool) path: section/simpara #: debmake-doc.en.xml:3909 msgid "" "For Autotools based packages under the debhelper package (compat>=9), this path setting is automatically taken " "care by the dh_auto_configure command." msgstr "" #. (itstool) path: section/simpara #: debmake-doc.en.xml:3910 msgid "" "For other packages with non-supported build systems, you need to manually " "adjust the install path as follows." msgstr "" #. (itstool) path: listitem/simpara #: debmake-doc.en.xml:3913 msgid "" "If ./configure is used in the part of " "override_dh_auto_configure target in " "debian/rules, make sure to replace it " "with “dh_auto_configure --” while re-" "targeting the install path from /usr/lib/ to /usr/lib/$(DEB_HOST_MULTIARCH)/." msgstr "" #. (itstool) path: listitem/simpara #: debmake-doc.en.xml:3918 msgid "" "Replace all occurrences of /usr/lib/ " "with /usr/lib/*/ in debian/foo.install files." msgstr "" #. (itstool) path: section/simpara #: debmake-doc.en.xml:3923 msgid "" "All files installed simultaneously as the multiarch package to the same file " "path should have exactly the same file content. You must be careful on " "differences generated by the data byte order and by the compression " "algorithm." msgstr "" #. (itstool) path: simpara/ulink #: debmake-doc.en.xml:3924 msgid "GNU Coding Standards: 7.2.5 Variables for Installation Directories" msgstr "" #. (itstool) path: note/simpara #: debmake-doc.en.xml:3924 msgid "" "The --libexecdir option of the " "./configure command specifies the " "default path to install executable programs run by other programs rather " "than by users. Its Autotools default is /usr/" "libexec/ but its Debian non-multi-arch default is /usr/lib/. If such executables are a part of a \"Multi-" "arch: foreign\" package, path such as /usr/lib/ or /usr/lib/packagename may be more desirable than " "/usr/lib/<triplet>/ which " "dh_auto_configure uses. The <_:ulink-1/" "> has description for libexecdir as " "\"The definition of libexecdir is the " "same for all packages, so you should install your data in a subdirectory " "thereof. Most packages install their data under " "$(libexecdir)/package-name/ …\". (It is always good idea to " "follow GNU unless it conflicts with the Debian policy)" msgstr "" #. (itstool) path: section/simpara #: debmake-doc.en.xml:3925 msgid "" "The shared library files in the default path /usr/" "lib/ and /usr/lib/<triplet>/ are loaded automatically." msgstr "" #. (itstool) path: section/simpara #: debmake-doc.en.xml:3926 msgid "" "For the shared library files in the other path, GCC option -l must be set by the pkg-" "config command to make them loaded properly." msgstr "" #. (itstool) path: section/title #: debmake-doc.en.xml:3929 msgid "The multiarch header file path" msgstr "" #. (itstool) path: section/simpara #: debmake-doc.en.xml:3930 msgid "" "GCC includes both /usr/include/ and " "/usr/include/<triplet>/ by " "default on the multiarch Debian system." msgstr "" #. (itstool) path: section/simpara #: debmake-doc.en.xml:3931 msgid "" "If the header file is not in those paths, GCC option -I must be set by the pkg-config command to make \"#include <foo.h>" "\" work properly." msgstr "" #. (itstool) path: table/title #: debmake-doc.en.xml:3933 msgid "The multiarch header file path options" msgstr "" #. (itstool) path: entry/simpara #: debmake-doc.en.xml:3947 msgid "/usr/include/" msgstr "" #. (itstool) path: entry/simpara #: debmake-doc.en.xml:3948 msgid "/usr/include/i386-linux-gnu/" msgstr "" #. (itstool) path: entry/simpara #: debmake-doc.en.xml:3949 msgid "/usr/include/x86_64-linux-gnu/" msgstr "" #. (itstool) path: entry/simpara #: debmake-doc.en.xml:3952 msgid "" "/usr/include/packagename/" msgstr "" #. (itstool) path: entry/simpara #: debmake-doc.en.xml:3953 msgid "" "/usr/include/i386-linux-gnu/packagename/" msgstr "" #. (itstool) path: entry/simpara #: debmake-doc.en.xml:3954 msgid "" "/usr/include/x86_64-linux-gnu/packagename/" msgstr "" #. (itstool) path: entry/simpara #: debmake-doc.en.xml:3958 msgid "" "/usr/lib/i386-linux-gnu/packagename/" msgstr "" #. (itstool) path: entry/simpara #: debmake-doc.en.xml:3959 msgid "" "/usr/lib/x86_64-linux-gnu/packagename/" msgstr "" #. (itstool) path: simpara/ulink #: debmake-doc.en.xml:3964 msgid "" "Filesystem Hierarchy Standard: /usr/lib : Libraries for programming and " "packages" msgstr "" #. (itstool) path: footnote/simpara #: debmake-doc.en.xml:3964 msgid "" "This path is compliant to the FHS. <_:ulink-1/> states \"Applications may " "use a single subdirectory under /usr/lib. If an application uses a subdirectory, all architecture-dependent " "data exclusively used by the application must be placed within that " "subdirectory.\"" msgstr "" #. (itstool) path: section/simpara #: debmake-doc.en.xml:3964 msgid "" "The use if the /usr/lib/<triplet>/packagename/ path for the header files allows the upstream to use the same " "install script for the multiatch system with /usr/" "lib/<triplet> and the biarch system with /usr/lib<qual>/. <_:footnote-1/>" msgstr "" #. (itstool) path: section/simpara #: debmake-doc.en.xml:3965 msgid "" "The use of the file path containing packagename enables " "to have more than 2 development libraries simultaneously installed on a " "system." msgstr "" #. (itstool) path: section/title #: debmake-doc.en.xml:3968 msgid "The multiarch *.pc file path" msgstr "" #. (itstool) path: section/simpara #: debmake-doc.en.xml:3969 msgid "" "The pkg-config program is used to " "retrieve information about installed libraries in the system. It stores its " "configuration parameters in the *.pc " "file and is used for setting the -I and " "-l options for GCC." msgstr "" #. (itstool) path: table/title #: debmake-doc.en.xml:3971 msgid "The *.pc file path options" msgstr "" #. (itstool) path: entry/simpara #: debmake-doc.en.xml:3985 msgid "/usr/lib/pkgconfig/" msgstr "" #. (itstool) path: entry/simpara #: debmake-doc.en.xml:3986 msgid "/usr/lib/i386-linux-gnu/pkgconfig/" msgstr "" #. (itstool) path: entry/simpara #: debmake-doc.en.xml:3987 msgid "" "/usr/lib/x86_64-linux-gnu/pkgconfig/" msgstr "" #. (itstool) path: section/title #: debmake-doc.en.xml:3995 msgid "Library symbols" msgstr "" #. (itstool) path: section/simpara #: debmake-doc.en.xml:3996 msgid "" "The symbols support in the dpkg " "introduced to Debian lenny (5.0, May " "2009) helps us to manage the backward ABI compatibility of the library " "package with the same package name. The DEBIAN/" "symbols file in the binary package provides the minimal version " "associated to each symbol." msgstr "" #. (itstool) path: section/simpara #: debmake-doc.en.xml:3997 msgid "The oversimplified method for the library packaging is as follows." msgstr "" #. (itstool) path: listitem/simpara #: debmake-doc.en.xml:4000 msgid "" "Extract the old DEBIAN/symbols file of " "the immediate previous binary package with the “dpkg-deb -e” command." msgstr "" #. (itstool) path: listitem/simpara #: debmake-doc.en.xml:4005 msgid "" "Alternatively, the mc command may be " "used to extract the DEBIAN/symbols file." msgstr "" #. (itstool) path: listitem/simpara #: debmake-doc.en.xml:4012 debmake-doc.en.xml:4044 msgid "" "Copy it to the debian/binarypackage." "symbols file." msgstr "" #. (itstool) path: listitem/simpara #: debmake-doc.en.xml:4017 msgid "If this is the first package, use an empty content file instead." msgstr "" #. (itstool) path: listitem/simpara #: debmake-doc.en.xml:4024 msgid "Build the binary package." msgstr "" #. (itstool) path: listitem/simpara #: debmake-doc.en.xml:4029 msgid "" "If the dpkg-gensymbols command warns " "some new symbols:" msgstr "" #. (itstool) path: listitem/simpara #: debmake-doc.en.xml:4034 msgid "" "Extract the updated DEBIAN/symbols file " "with the “dpkg-deb -e” command." msgstr "" #. (itstool) path: listitem/simpara #: debmake-doc.en.xml:4039 msgid "" "Trim the Debian revision such as -1 in " "it." msgstr "" #. (itstool) path: listitem/simpara #: debmake-doc.en.xml:4049 msgid "Re-build the binary package." msgstr "" #. (itstool) path: listitem/simpara #: debmake-doc.en.xml:4056 msgid "" "If the dpkg-gensymbols command does not " "warn new symbols:" msgstr "" #. (itstool) path: listitem/simpara #: debmake-doc.en.xml:4061 msgid "You are done with the library packaging." msgstr "" #. (itstool) path: section/simpara #: debmake-doc.en.xml:4070 msgid "For the details, you should read the following primary references." msgstr "" #. (itstool) path: simpara/ulink #: debmake-doc.en.xml:4074 msgid "8.6.3 The symbols system" msgstr "" #. (itstool) path: listitem/simpara #: debmake-doc.en.xml:4078 msgid "dh_makeshlibs(1)" msgstr "" #. (itstool) path: listitem/simpara #: debmake-doc.en.xml:4083 msgid "dpkg-gensymbols(1)" msgstr "" #. (itstool) path: listitem/simpara #: debmake-doc.en.xml:4088 msgid "dpkg-shlibdeps(1)" msgstr "" #. (itstool) path: listitem/simpara #: debmake-doc.en.xml:4093 msgid "deb-symbols(5)" msgstr "" #. (itstool) path: section/simpara #: debmake-doc.en.xml:4098 msgid "Yous should also check:" msgstr "" #. (itstool) path: simpara/ulink #: debmake-doc.en.xml:4102 msgid "UsingSymbolsFiles" msgstr "" #. (itstool) path: simpara/ulink #: debmake-doc.en.xml:4107 msgid "Projects/ImprovedDpkgShlibdeps" msgstr "" #. (itstool) path: simpara/ulink #: debmake-doc.en.xml:4112 msgid "Working with symbols files" msgstr "" #. (itstool) path: listitem/simpara #: debmake-doc.en.xml:4111 msgid "Debian kde team <_:ulink-1/>" msgstr "" #. (itstool) path: simpara/ulink #: debmake-doc.en.xml:4126 msgid "8.6.4 The shlibs system" msgstr "" #. (itstool) path: tip/simpara #: debmake-doc.en.xml:4126 msgid "" "For C++ libraries and other cases where the tracking of the symbols is " "problematic, follow <_:ulink-1/> of the “Debian Policy Manual”, instead. " "Please make sure to erase the empty debian/binarypackage." "symbols file generated by the debmake command. For this case, the DEBIAN/" "shlibs file is used." msgstr "" #. (itstool) path: section/title #: debmake-doc.en.xml:4129 msgid "Compiler hardening" msgstr "" #. (itstool) path: section/simpara #: debmake-doc.en.xml:4130 msgid "" "The compiler hardening support spreading for Debian jessie (8.0, TBA) demands us to pay extra attention for the " "packaging." msgstr "" #. (itstool) path: simpara/ulink #: debmake-doc.en.xml:4135 msgid "Hardening" msgstr "" #. (itstool) path: simpara/ulink #: debmake-doc.en.xml:4140 msgid "Hardening Walkthrough" msgstr "" #. (itstool) path: section/simpara #: debmake-doc.en.xml:4144 msgid "" "The debmake command adds template " "comments to the debian/rules file as " "needed for DEB_BUILD_MAINT_OPTIONS, " "DEB_CFLAGS_MAINT_APPEND, and DEB_LDFLAGS_MAINT_APPEND (see and dpkg-buildflags(1))." msgstr "" #. (itstool) path: section/title #: debmake-doc.en.xml:4147 msgid "Bug report" msgstr "" #. (itstool) path: section/simpara #: debmake-doc.en.xml:4148 msgid "" "The reportbug command used for the bug " "report of binarypackage can be customized by the files " "in usr/share/bug/binarypackage/." msgstr "" #. (itstool) path: section/simpara #: debmake-doc.en.xml:4149 msgid "" "The dh_bugfiles command installs these " "files from the template files in the debian/ directory." msgstr "" #. (itstool) path: listitem/simpara #: debmake-doc.en.xml:4152 msgid "" "debian/binarypackage.bug-controlusr/share/bug/binarypackage/control" msgstr "" #. (itstool) path: listitem/simpara #: debmake-doc.en.xml:4157 msgid "" "This file contains some directions such as redirecting the bug report to " "another package." msgstr "" #. (itstool) path: listitem/simpara #: debmake-doc.en.xml:4164 msgid "" "debian/binarypackage.bug-presubjusr/share/bug/binarypackage/presubj" msgstr "" #. (itstool) path: listitem/simpara #: debmake-doc.en.xml:4169 msgid "" "This file is displayed to the user by the reportbug command." msgstr "" #. (itstool) path: listitem/simpara #: debmake-doc.en.xml:4176 msgid "" "debian/binarypackage.bug-scriptusr/share/bug/binarypackage or " "usr/share/bug/binarypackage/script" msgstr "" #. (itstool) path: listitem/simpara #: debmake-doc.en.xml:4181 msgid "" "The reportbug command runs this script " "to generate a template file for the bug report." msgstr "" #. (itstool) path: simpara/ulink #: debmake-doc.en.xml:4188 msgid "reportbug’s Features for Developers" msgstr "" #. (itstool) path: section/simpara #: debmake-doc.en.xml:4188 msgid "" "See dh_bugfiles(1) and <_:ulink-1/>" msgstr "" #. (itstool) path: section/title #: debmake-doc.en.xml:4191 msgid "debconf" msgstr "" #. (itstool) path: section/simpara #: debmake-doc.en.xml:4192 msgid "" "The debconf package enables us to " "configure packages during their installation in 2 main ways:" msgstr "" #. (itstool) path: listitem/simpara #: debmake-doc.en.xml:4195 msgid "" "non-interactively from the debian-installer pre-seeding." msgstr "" #. (itstool) path: listitem/simpara #: debmake-doc.en.xml:4200 msgid "" "interactively from the menu interface (dialog, gnome, kde, …)" msgstr "" #. (itstool) path: listitem/simpara #: debmake-doc.en.xml:4205 msgid "" "the package installation: invoked by the dpkg command" msgstr "" #. (itstool) path: listitem/simpara #: debmake-doc.en.xml:4210 msgid "" "the installed package: invoked by the dpkg-" "reconfigure command" msgstr "" #. (itstool) path: section/simpara #: debmake-doc.en.xml:4217 msgid "" "All user interactions for the package installation must be handled by this " "debconf system using the following " "files." msgstr "" #. (itstool) path: listitem/simpara #: debmake-doc.en.xml:4220 msgid "" "debian/binarypackage.cofig" msgstr "" #. (itstool) path: listitem/simpara #: debmake-doc.en.xml:4225 msgid "" "This is the debconf config script used for asking any questions necessary " "to configure the package." msgstr "" #. (itstool) path: listitem/simpara #: debmake-doc.en.xml:4232 msgid "" "debian/binarypackage.template" msgstr "" #. (itstool) path: listitem/simpara #: debmake-doc.en.xml:4237 msgid "" "This is the debconf templates file used for asking any questions necessary " "to configure the package." msgstr "" #. (itstool) path: listitem/simpara #: debmake-doc.en.xml:4244 msgid "package configuration scripts" msgstr "" #. (itstool) path: listitem/simpara #: debmake-doc.en.xml:4249 msgid "" "debian/binarypackage.preinst" msgstr "" #. (itstool) path: listitem/simpara #: debmake-doc.en.xml:4254 msgid "" "debian/binarypackage.prerm" msgstr "" #. (itstool) path: listitem/simpara #: debmake-doc.en.xml:4259 msgid "" "debian/binarypackage.postinst" msgstr "" #. (itstool) path: listitem/simpara #: debmake-doc.en.xml:4264 msgid "" "debian/binarypackage.postrm" msgstr "" #. (itstool) path: section/simpara #: debmake-doc.en.xml:4271 msgid "" "See dh_installdebconf(1), debconf(7), debconf-" "devel(7) and <_:ulink-1/> of the “Debian Policy Manual”." msgstr "" #. (itstool) path: section/title #: debmake-doc.en.xml:4274 msgid "Continuous integration" msgstr "" #. (itstool) path: simpara/ulink #: debmake-doc.en.xml:4275 msgid "continuous integration" msgstr "" #. (itstool) path: section/simpara #: debmake-doc.en.xml:4275 msgid "" "<_:ulink-1/> defines the debian/tests/control file as the RFC822-style test metadata file for the <_:ulink-2/> " "(CI) of the Debian package." msgstr "" #. (itstool) path: section/simpara #: debmake-doc.en.xml:4276 msgid "" "It is used after building the binary packages from the source package " "containing this debian/tests/control " "file. When the adt-run command provided " "by the autopkgtest package is run, the " "generated binary packages are installed and tested in the virtual " "environment according to this file." msgstr "" #. (itstool) path: simpara/ulink #: debmake-doc.en.xml:4277 msgid "3. autopkgtest: Automatic testing for packages" msgstr "" #. (itstool) path: section/simpara #: debmake-doc.en.xml:4277 msgid "" "See documents in the /usr/share/doc/autopkgtest/ directory and <_:ulink-1/> of the “Ubuntu Packaging Guide”." msgstr "" #. (itstool) path: section/simpara #: debmake-doc.en.xml:4278 msgid "There are several other CI tools on Debian for you to explore." msgstr "" #. (itstool) path: listitem/simpara #: debmake-doc.en.xml:4281 msgid "" "The debci package: CI platform on the " "top of the autopkgtest package" msgstr "" #. (itstool) path: listitem/simpara #: debmake-doc.en.xml:4286 msgid "" "The jenkins package: generic CI platform" msgstr "" #. (itstool) path: chapter/title #: debmake-doc.en.xml:4294 msgid "Options" msgstr "" #. (itstool) path: chapter/simpara #: debmake-doc.en.xml:4295 msgid "" "Here are some notable options for the debmake command." msgstr "" #. (itstool) path: section/title #: debmake-doc.en.xml:4297 msgid "Shortcut options (-a, -i)" msgstr "" #. (itstool) path: section/simpara #: debmake-doc.en.xml:4298 msgid "" "The debmake command offers 2 shortcut " "options." msgstr "" #. (itstool) path: listitem/simpara #: debmake-doc.en.xml:4301 msgid "-a : open the upstream tarball" msgstr "" #. (itstool) path: listitem/simpara #: debmake-doc.en.xml:4306 msgid "" "-i : execute script to build the binary " "package" msgstr "" #. (itstool) path: section/simpara #: debmake-doc.en.xml:4311 msgid "" "The example in the above can be done simply as " "follows." msgstr "" #. (itstool) path: tip/simpara #: debmake-doc.en.xml:4313 msgid "" "URL such as “http://www.example.org/DL/package-1.0." "tar.gz” may be used for the -a option." msgstr "" #. (itstool) path: tip/simpara #: debmake-doc.en.xml:4314 msgid "" "URL such as “http://arm.koji.fedoraproject.org/" "packages/ibus/1.5.7/3.fc21/src/ibus-1.5.7-3.fc21.src.rpm” may be " "used for the -a option, too." msgstr "" #. (itstool) path: section/title #: debmake-doc.en.xml:4317 msgid "Upstream snapshot (-d, -t)" msgstr "" #. (itstool) path: section/simpara #: debmake-doc.en.xml:4318 msgid "" "The upstream snapshot from the upstream source tree in VCS can be made with " "the -d option if the upstream supports " "the “make dist” equivalence." msgstr "" #. (itstool) path: section/simpara #: debmake-doc.en.xml:4321 msgid "" "Alternatively, the same can be made with the -t option if the upstream tarball can be made with the tar command." msgstr "" #. (itstool) path: section/simpara #: debmake-doc.en.xml:4324 msgid "" "Unless you provide the upstream version with the -" "u option or with the debian/changelog file, a snapshot upstream version is generated in the 0~%y%m%d%H%M format, e.g., " "0~1403012359, from the UTC date and time." msgstr "" #. (itstool) path: section/simpara #: debmake-doc.en.xml:4325 msgid "" "If the upstream VCS is hosted in the package/ directory " "instead of the upstream-vcs/ directory, the “-p package” can be skipped." msgstr "" #. (itstool) path: section/simpara #: debmake-doc.en.xml:4326 msgid "" "If the upstream source tree in the VCS contains the debian/* files, the debmake command with either the -d " "option or the -t option combined with " "the -i option automates making of the " "non-native Debian packages from the VCS snapshot while using these debian/* files." msgstr "" #. (itstool) path: section/simpara #: debmake-doc.en.xml:4332 msgid "" "This Debian non-native binary package " "building scheme using the “debmake -t -i debuild” command may be considered as the quasi-" "native Debian package scheme since the packaging situation " "resembles the Debian native binary " "package building case using the debuild " "command without the upstream tarball." msgstr "" #. (itstool) path: section/simpara #: debmake-doc.en.xml:4333 msgid "" "Use of the non-native Debian package " "helps to ease communication with the downstream distros such as Ubuntu for " "bug fixes etc." msgstr "" #. (itstool) path: section/title #: debmake-doc.en.xml:4336 msgid "Python module" msgstr "" #. (itstool) path: section/simpara #: debmake-doc.en.xml:4337 msgid "" "You can generate a functioning single binary Debian package with a " "reasonable package description directly from the Python module package " "offered as a tarball pythonmodule-1.0.tar.gz. The -b " "option specifying the package type python and the -s option to copy the " "package description from the upstream package need to be specified." msgstr "" #. (itstool) path: section/simpara #: debmake-doc.en.xml:4339 msgid "" "For other interpreted languages with the -b option support, specify the pertinent type " "for the -b option." msgstr "" #. (itstool) path: section/simpara #: debmake-doc.en.xml:4340 msgid "" "For interpreted languages without the -b option support, specify the script type instead and add the interpreter package as the dependency of " "the resulting binary package by adjusting the debian/control file." msgstr "" #. (itstool) path: section/title #: debmake-doc.en.xml:4343 msgid "debmake -cc" msgstr "" #. (itstool) path: section/simpara #: debmake-doc.en.xml:4344 msgid "" "The debmake command with the -cc option can make a summary of the copyright " "and license for the entire source tree to the standard output." msgstr "" #. (itstool) path: section/simpara #: debmake-doc.en.xml:4348 msgid "" "With -c, this provides shorter report." msgstr "" #. (itstool) path: section/title #: debmake-doc.en.xml:4351 msgid "debmake -k" msgstr "" #. (itstool) path: section/simpara #: debmake-doc.en.xml:4352 msgid "" "When updating a package for the new upstream release, the debmake command can verify the content of the existing " "debian/copyright file against the " "copyright and license situation of the entire updated source tree." msgstr "" #. (itstool) path: section/simpara #: debmake-doc.en.xml:4357 msgid "" "The “debmake -k” command parses the " "debian/copyright file from the top to " "the bottom and compare the license of all the non-binary files in the " "current package with the license described in the last matching file pattern " "entry of the debian/copyright file." msgstr "" #. (itstool) path: section/simpara #: debmake-doc.en.xml:4358 msgid "" "When editing the auto-generated debian/copyright file, please make sure to keep the generic file patterns at the " "top of the list." msgstr "" #. (itstool) path: tip/simpara #: debmake-doc.en.xml:4359 msgid "" "For all new upstream releases, run the “debmake -" "k” command to ensure that the debian/" "copyright file is current." msgstr "" #. (itstool) path: section/title #: debmake-doc.en.xml:4362 msgid "debmake -j" msgstr "" #. (itstool) path: section/simpara #: debmake-doc.en.xml:4363 msgid "" "The generation of the functioning multi binary package always requires extra " "manual works than that of the functioning single binary package. The test " "build of the source package is essential part of it." msgstr "" #. (itstool) path: section/simpara #: debmake-doc.en.xml:4364 msgid "" "For example, let’s package the same package-1.0.tar.gz (see ) into a multi binary package. At the line invoking the " "debmake command, let’s invoke it with " "the -j option instead for the test " "building and the report generation." msgstr "" #. (itstool) path: note/simpara #: debmake-doc.en.xml:4366 msgid "" "The -j option for debmake invokes dpkg-" "depcheck(1) to run debian/rules under strace(1) to obtain " "library dependencies. Unfortunately, this is very slow. If you know the " "library package dependencies from other sources such as the SPEC file in the " "source, you may just run \"debmake …\" " "without -j and “debian/rules install” to check the install paths of the " "generated files." msgstr "" #. (itstool) path: listitem/simpara #: debmake-doc.en.xml:4369 msgid "" "Check the last lines of package.build-dep.log to judge build dependencies for Build-Depends. (You do not need to list packages used " "by debhelper, perl, or fakeroot " "explicitly in Build-Depends. This " "technique is useful for the generation of the single binary package, too.)" msgstr "" #. (itstool) path: listitem/simpara #: debmake-doc.en.xml:4374 msgid "" "Check the contents of package." "install.log to identify the install paths for files to decide how " "you split them into multiple packages." msgstr "" #. (itstool) path: listitem/simpara #: debmake-doc.en.xml:4385 msgid "" "Update debian/control and debian/binarypackage.install files using the above " "information." msgstr "" #. (itstool) path: listitem/simpara #: debmake-doc.en.xml:4390 msgid "" "Update other debian/* files as needed." msgstr "" #. (itstool) path: listitem/simpara #: debmake-doc.en.xml:4398 msgid "" "Each binarypackage_version-revision_arch.deb has files specified by the debian/binarypackage.install file." msgstr "" #. (itstool) path: section/title #: debmake-doc.en.xml:4405 msgid "debmake -x" msgstr "" #. (itstool) path: section/simpara #: debmake-doc.en.xml:4406 msgid "" "The amount of template files generated by the debmake command depends on the -x[01234] option." msgstr "" #. (itstool) path: listitem/simpara #: debmake-doc.en.xml:4409 msgid "" "See for the cherry-picking of the template " "files." msgstr "" #. (itstool) path: note/simpara #: debmake-doc.en.xml:4414 msgid "" "None of the existing configuration files are modified by the debmake command." msgstr "" #. (itstool) path: section/title #: debmake-doc.en.xml:4417 msgid "debmake -T" msgstr "" #. (itstool) path: section/simpara #: debmake-doc.en.xml:4418 msgid "" "The debmake command invoked with the " "-T option additionally prints the " "verbose tutorial comment lines. The lines marked with ### in the template files are part of the verbose tutorial " "comment lines." msgstr "" #. (itstool) path: chapter/title #: debmake-doc.en.xml:4422 msgid "Tips" msgstr "" #. (itstool) path: chapter/simpara #: debmake-doc.en.xml:4423 msgid "Here are some notable tips around the Debian packaging." msgstr "" #. (itstool) path: section/title #: debmake-doc.en.xml:4425 msgid "debdiff" msgstr "" #. (itstool) path: section/simpara #: debmake-doc.en.xml:4426 msgid "" "You can compare file contents in two source Debian packages with the " "debdiff command." msgstr "" #. (itstool) path: section/simpara #: debmake-doc.en.xml:4428 msgid "" "You can also compare file lists in two sets of binary Debian packages with " "the debdiff command." msgstr "" #. (itstool) path: section/simpara #: debmake-doc.en.xml:4430 msgid "" "These are useful to identify what has been changed in the source packages " "and to check for inadvertent changes made when updating binary packages, " "such as unintentionally misplacing or removing files." msgstr "" #. (itstool) path: section/title #: debmake-doc.en.xml:4433 msgid "dget" msgstr "" #. (itstool) path: section/simpara #: debmake-doc.en.xml:4434 msgid "" "You can download the set of files for the Debian source package with the " "dget command." msgstr "" #. (itstool) path: section/title #: debmake-doc.en.xml:4438 msgid "debc" msgstr "" #. (itstool) path: section/simpara #: debmake-doc.en.xml:4439 msgid "" "You should install generated packages with the debc command to test it locally." msgstr "" #. (itstool) path: section/title #: debmake-doc.en.xml:4443 msgid "piuparts" msgstr "" #. (itstool) path: section/simpara #: debmake-doc.en.xml:4444 msgid "" "You should install generated packages with the piuparts command to test it automatically." msgstr "" #. (itstool) path: note/simpara #: debmake-doc.en.xml:4446 msgid "This is very slow proess with the remote APT package repository access." msgstr "" #. (itstool) path: section/title #: debmake-doc.en.xml:4449 msgid "debsign" msgstr "" #. (itstool) path: section/simpara #: debmake-doc.en.xml:4450 msgid "" "After completing the test of the package, you can sign it with the debsign command." msgstr "" #. (itstool) path: section/title #: debmake-doc.en.xml:4454 msgid "dput" msgstr "" #. (itstool) path: section/simpara #: debmake-doc.en.xml:4455 msgid "" "After signing the package with the debsign command, you can upload the set of files for the Debian source and " "binary package with the dput command." msgstr "" #. (itstool) path: section/title #: debmake-doc.en.xml:4459 msgid "bts" msgstr "" #. (itstool) path: simpara/ulink #: debmake-doc.en.xml:4460 msgid "5.8. Handling bugs" msgstr "" #. (itstool) path: section/simpara #: debmake-doc.en.xml:4460 msgid "" "After uploading the package, you will receive bug reports. It is an " "important duty of a package maintainer to manage these bugs properly as " "described in <_:ulink-1/> of the “Debian Developer’s Reference”." msgstr "" #. (itstool) path: simpara/ulink #: debmake-doc.en.xml:4461 msgid "Debian Bug Tracking System" msgstr "" #. (itstool) path: section/simpara #: debmake-doc.en.xml:4461 msgid "" "The bts command is a handy tool to " "manage bugs on <_:ulink-1/>." msgstr "" #. (itstool) path: section/simpara #: debmake-doc.en.xml:4466 msgid "" "The git-buildpackage package offers " "many commands to automate packaging activities using the git repository." msgstr "" #. (itstool) path: listitem/simpara #: debmake-doc.en.xml:4469 msgid "" "git-import-dsc: import the previous " "Debian source package to the git repository." msgstr "" #. (itstool) path: listitem/simpara #: debmake-doc.en.xml:4474 msgid "" "git-import-orig: import the new " "upstream tar to the git repository." msgstr "" #. (itstool) path: listitem/simpara #: debmake-doc.en.xml:4479 msgid "" "git-dch: generate the Debian changelog " "from the git commit messages." msgstr "" #. (itstool) path: listitem/simpara #: debmake-doc.en.xml:4484 msgid "" "git-buildpackage: build the Debian " "binary package from the git repository. (alias gbp)" msgstr "" #. (itstool) path: listitem/simpara #: debmake-doc.en.xml:4489 msgid "" "The --pristine-tar option for the " "git-buildpackage command enables to " "store the upstream tarball in the same git repository." msgstr "" #. (itstool) path: listitem/simpara #: debmake-doc.en.xml:4494 msgid "" "The --uscan option for the git-buildpackage command enables to download and " "commit the new upstream tarball into the git repository." msgstr "" #. (itstool) path: listitem/simpara #: debmake-doc.en.xml:4499 msgid "" "The “gbp pull” command updates the " "debian, upstream and pristine-tar " "branches safely from the remote repository." msgstr "" #. (itstool) path: listitem/simpara #: debmake-doc.en.xml:4506 msgid "" "git-pbuilder: build the Debian binary " "package from the git repository using the pbuilder package." msgstr "" #. (itstool) path: listitem/simpara #: debmake-doc.en.xml:4511 msgid "" "The cowbuilder package is used as its " "backend." msgstr "" #. (itstool) path: listitem/simpara #: debmake-doc.en.xml:4518 msgid "" "The gbp-pq, git-dpm or quilt (or " "alias dquilt) commands are used to " "manage quilt patches." msgstr "" #. (itstool) path: listitem/simpara #: debmake-doc.en.xml:4523 msgid "" "The use of the dquilt command is the " "simplest to learn and requires you to commit the resulting files manually " "with the git command to the master branch." msgstr "" #. (itstool) path: listitem/simpara #: debmake-doc.en.xml:4528 msgid "" "The use of the “gbp pq” command " "provides the equivalent functionality of the patch set management without " "using dquilt and eases including " "upstream git repository changes by the cherry-picking." msgstr "" #. (itstool) path: listitem/simpara #: debmake-doc.en.xml:4533 msgid "" "The use of the “gbp dpm” command " "provides the more enhanced functionality than that of the ‘gbp pq’' command." msgstr "" #. (itstool) path: section/simpara #: debmake-doc.en.xml:4540 msgid "" "The package history management with the git-" "buildpackage package is becoming the standard practice for most " "Debian maintainers." msgstr "" #. (itstool) path: section/simpara #: debmake-doc.en.xml:4541 msgid "See:" msgstr "" #. (itstool) path: simpara/ulink #: debmake-doc.en.xml:4545 msgid "Building Debian Packages with git-buildpackage" msgstr "" #. (itstool) path: simpara/ulink #: debmake-doc.en.xml:4550 msgid "https://wiki.debian.org/GitPackagingWorkflow" msgstr "" #. (itstool) path: simpara/ulink #: debmake-doc.en.xml:4555 msgid "https://wiki.debian.org/GitPackagingWorkflow/DebConf11BOF" msgstr "" #. (itstool) path: simpara/ulink #: debmake-doc.en.xml:4560 msgid "" "http://raphaelhertzog.com/2010/11/18/4-tips-to-maintain-a-3-0-quilt-debian-" "source-package-in-a-vcs/" msgstr "" #. (itstool) path: simpara/ulink #: debmake-doc.en.xml:4565 msgid "Building from source" msgstr "" #. (itstool) path: listitem/simpara #: debmake-doc.en.xml:4564 msgid "" "The systemd packaging practice " "documentation on <_:ulink-1/>." msgstr "" #. (itstool) path: tip/simpara #: debmake-doc.en.xml:4569 msgid "" "Relax. You don’t need to use all the wrapper tools. Use only ones which " "match your needs." msgstr "" #. (itstool) path: section/title #: debmake-doc.en.xml:4572 msgid "Package history" msgstr "" #. (itstool) path: simpara/ulink #: debmake-doc.en.xml:4573 msgid "snapshot.debian.org" msgstr "" #. (itstool) path: section/simpara #: debmake-doc.en.xml:4573 msgid "" "For Debian source packages named <source-package> " "recorded in the <_:ulink-1/> archive, an initial git repository with all of " "the Debian version history can be generated as follows." msgstr "" #. (itstool) path: section/title #: debmake-doc.en.xml:4577 msgid "Upstream git repository" msgstr "" #. (itstool) path: section/simpara #: debmake-doc.en.xml:4578 msgid "" "For the Debian packaging with the git-" "buildpackage package, the upstream branch on the remote repository origin is normally used to track the content of the released upstream " "tarball." msgstr "" #. (itstool) path: section/simpara #: debmake-doc.en.xml:4579 msgid "" "The upstream git repository can also be tracked by naming its remote " "repository as upstream instead of the " "default origin. Then you can easily " "cherry-pick recent upstream changes into the Debian revision by cherry-" "picking with the gitk command and using " "the gbp-pq command." msgstr "" #. (itstool) path: tip/simpara #: debmake-doc.en.xml:4580 msgid "" "The git-import-orig command with the " "--upstream-vcs-tag option can create a " "nice packaging history by making a merge commit into upstream branch from the specified tag on the upstream git " "repository." msgstr "" #. (itstool) path: caution/simpara #: debmake-doc.en.xml:4581 msgid "" "The content of the released upstream tarball may not match exactly with the " "corresponding content of the upstream git repository. It may contain some " "auto-generated files or miss some files. (Autotools, distutils, …)" msgstr "" #. (itstool) path: section/title #. (itstool) path: simpara/ulink #: debmake-doc.en.xml:4584 debmake-doc.en.xml:4585 msgid "chroot" msgstr "" #. (itstool) path: simpara/ulink #: debmake-doc.en.xml:4586 msgid "https://wiki.debian.org/git-pbuilder" msgstr "" #. (itstool) path: footnote/simpara #: debmake-doc.en.xml:4586 msgid "" "The git-pbuilder style organization is " "deployed here. See <_:ulink-1/> . Be careful since many HOWTOs use different " "organization." msgstr "" #. (itstool) path: section/simpara #: debmake-doc.en.xml:4585 msgid "" "The <_:ulink-1/> for the clean package build environment can be created and " "managed using the tools described in . <_:" "footnote-2/>" msgstr "" #. (itstool) path: section/simpara #: debmake-doc.en.xml:4587 msgid "" "Here is a quick summary of available package build commands. There are many " "ways to do the same thing." msgstr "" #. (itstool) path: listitem/simpara #: debmake-doc.en.xml:4590 msgid "" "dpkg-buildpackage = core of package " "building tool" msgstr "" #. (itstool) path: listitem/simpara #: debmake-doc.en.xml:4595 msgid "" "debuild = dpkg-buildpackage + lintian (build under the sanitized environment variables)" msgstr "" #. (itstool) path: listitem/simpara #: debmake-doc.en.xml:4600 msgid "" "pbuilder = core of the Debian chroot " "environment tool" msgstr "" #. (itstool) path: listitem/simpara #: debmake-doc.en.xml:4605 msgid "" "pdebuild = pbuilder + dpkg-buildpackage (build in the chroot)" msgstr "" #. (itstool) path: listitem/simpara #: debmake-doc.en.xml:4610 msgid "" "cowbuilder = speed up the pbuilder execution" msgstr "" #. (itstool) path: listitem/simpara #: debmake-doc.en.xml:4615 msgid "" "git-pbuilder = the easy-to-use command " "line syntax for pdebuild (used by " "gbp buildpackge)" msgstr "" #. (itstool) path: listitem/simpara #: debmake-doc.en.xml:4620 msgid "" "gbp = manage the Debian source under " "the git" msgstr "" #. (itstool) path: listitem/simpara #: debmake-doc.en.xml:4625 msgid "" "gbp buildpackge = pbuilder + dpkg-" "buildpackage + gbp" msgstr "" #. (itstool) path: section/simpara #: debmake-doc.en.xml:4630 msgid "" "A clean sid distribution chroot " "environment can be used as follows." msgstr "" #. (itstool) path: listitem/simpara #: debmake-doc.en.xml:4633 msgid "" "The chroot filesystem creation command for the sid distribution" msgstr "" #. (itstool) path: listitem/simpara #: debmake-doc.en.xml:4638 msgid "pbuilder create" msgstr "" #. (itstool) path: listitem/simpara #: debmake-doc.en.xml:4643 msgid "git-pbuilder create" msgstr "" #. (itstool) path: listitem/simpara #: debmake-doc.en.xml:4650 msgid "" "The master chroot filesystem path for the sid distribution chroot" msgstr "" #. (itstool) path: listitem/simpara #: debmake-doc.en.xml:4655 msgid "/var/cache/pbuilder/base.cow" msgstr "" #. (itstool) path: listitem/simpara #: debmake-doc.en.xml:4662 msgid "" "The package build command for the sid " "distribution chroot" msgstr "" #. (itstool) path: listitem/simpara #: debmake-doc.en.xml:4667 msgid "pdebuild" msgstr "" #. (itstool) path: listitem/simpara #: debmake-doc.en.xml:4672 msgid "git-pbuilder" msgstr "" #. (itstool) path: listitem/simpara #: debmake-doc.en.xml:4677 msgid "gbp buildpackage" msgstr "" #. (itstool) path: listitem/simpara #: debmake-doc.en.xml:4684 msgid "" "The command to update the sid chroot" msgstr "" #. (itstool) path: listitem/simpara #: debmake-doc.en.xml:4689 msgid "pbuilder --update" msgstr "" #. (itstool) path: listitem/simpara #: debmake-doc.en.xml:4694 msgid "git-pbuilder update" msgstr "" #. (itstool) path: listitem/simpara #: debmake-doc.en.xml:4701 debmake-doc.en.xml:4784 msgid "" "The command to login to the sid chroot " "to modify it" msgstr "" #. (itstool) path: listitem/simpara #: debmake-doc.en.xml:4706 msgid "" "git-pbuilder login --save-after-login" msgstr "" #. (itstool) path: section/simpara #: debmake-doc.en.xml:4713 msgid "" "An arbitrary dist distribution environment can be used " "as follows." msgstr "" #. (itstool) path: listitem/simpara #: debmake-doc.en.xml:4716 msgid "" "The chroot filesystem creation command for the dist " "distribution" msgstr "" #. (itstool) path: listitem/simpara #: debmake-doc.en.xml:4721 msgid "" "pbuilder create --distribution " "dist" msgstr "" #. (itstool) path: listitem/simpara #: debmake-doc.en.xml:4726 msgid "" "DIST=dist " "git-pbuilder create" msgstr "" #. (itstool) path: listitem/simpara #: debmake-doc.en.xml:4733 msgid "" "The master chroot filesystem path for the dist " "distribution chroot" msgstr "" #. (itstool) path: listitem/simpara #: debmake-doc.en.xml:4738 msgid "" "path: /var/cache/pbuilder/base-dist.cow" msgstr "" #. (itstool) path: listitem/simpara #: debmake-doc.en.xml:4745 msgid "" "The package build command for the dist distribution " "chroot" msgstr "" #. (itstool) path: listitem/simpara #: debmake-doc.en.xml:4750 msgid "" "pdebuild -- --basepath=/var/cache/pbuilder/base-dist.cow" msgstr "" #. (itstool) path: listitem/simpara #: debmake-doc.en.xml:4755 msgid "" "DIST=dist " "git-pbuilder" msgstr "" #. (itstool) path: listitem/simpara #: debmake-doc.en.xml:4760 msgid "" "gbp buildpackage --git-dist=dist" msgstr "" #. (itstool) path: listitem/simpara #: debmake-doc.en.xml:4767 msgid "The command to update the dist chroot" msgstr "" #. (itstool) path: listitem/simpara #: debmake-doc.en.xml:4772 msgid "" "pbuilder update --basepath=/var/cache/pbuilder/" "base-dist.cow" msgstr "" #. (itstool) path: listitem/simpara #: debmake-doc.en.xml:4777 msgid "" "DIST=dist " "git-pbuilder update" msgstr "" #. (itstool) path: listitem/simpara #: debmake-doc.en.xml:4789 msgid "" "pbuilder --login --basepath=/var/cache/pbuilder/" "base-dist.cow --" "save-after-login" msgstr "" #. (itstool) path: listitem/simpara #: debmake-doc.en.xml:4794 msgid "" "DIST=dist " "git-pbuilder login --save-after-login" msgstr "" #. (itstool) path: tip/simpara #: debmake-doc.en.xml:4801 msgid "" "A custom environment with some pre-loaded packages needed for the new " "experimental packages, this “git-pbuilder login --" "save-after-login” command is quite handy." msgstr "" #. (itstool) path: tip/simpara #: debmake-doc.en.xml:4802 msgid "" "If your old chroot is missing packages such as libeatmydata1, ccache, " "and lintian, you may want to install " "these with the “git-pbuilder login --save-after-" "login” command." msgstr "" #. (itstool) path: tip/simpara #: debmake-doc.en.xml:4803 msgid "" "The chroot filesystem can be cloned simply by copying with “cp -a base-dist.cow base-customdist.cow”. The new chroot can be accessed as " "“gbp buildpackage --git-dist=customdist” and “DIST=customdist git-pbuilder …”." msgstr "" #. (itstool) path: tip/simpara #: debmake-doc.en.xml:4804 msgid "" "When the orig.tar.gz file needs to be " "upload for the Debian revision other than 0 and 1 (e.g., for the security " "upload), add the -sa option to the end " "of dpkg-buildpackage, debuild, pdebuild, and git-pbuilder commands. " "For the “gbp buildpackage” command, " "temporarily modify the builder setting " "of ~/.gbp.conf." msgstr "" #. (itstool) path: note/simpara #: debmake-doc.en.xml:4805 msgid "" "The description in this section is too terse to be useful for most of the " "prospective maintainers. This is the intentional choice of the author. You " "are highly encouraged to search and read all the pertinent documents " "associated with the commands used." msgstr "" #. (itstool) path: section/title #: debmake-doc.en.xml:4808 msgid "New Debian revision" msgstr "" #. (itstool) path: section/simpara #: debmake-doc.en.xml:4809 msgid "" "Let’s assume that a bug report #bug_number was filed against your package, and " "it describes a problem that you can solve by editing buggy file in the upstream source. Here’s what you need to do " "to create a new Debian revision of the package with the bugname.patch file recording the fix." msgstr "" #. (itstool) path: formalpara/title #: debmake-doc.en.xml:4810 msgid "" "New Debian revision with the dquilt " "command" msgstr "" #. (itstool) path: section/simpara #: debmake-doc.en.xml:4821 msgid "" "Alternatively if the package is managed in the git repository using the " "git-buildpackage command with its " "default configuration." msgstr "" #. (itstool) path: formalpara/title #: debmake-doc.en.xml:4822 msgid "" "New Debian revision with the gbp-pq " "command" msgstr "" #. (itstool) path: section/simpara #: debmake-doc.en.xml:4835 msgid "" "Please make sure to describe concisely the changes that fix reported bugs " "and close those bugs by adding “Closes: #<bug_number>” in the debian/changelog file." msgstr "" #. (itstool) path: tip/simpara #: debmake-doc.en.xml:4836 msgid "" "Use a debian/changelog entry with a " "version string such as 1.0.1-1~rc1 when " "you experiment. Then, unclutter such changelog entries into a single entry for the official package." msgstr "" #. (itstool) path: section/title #: debmake-doc.en.xml:4839 msgid "New upstream release" msgstr "" #. (itstool) path: footnote/simpara #: debmake-doc.en.xml:4840 msgid "" "If a package foo is packaged in the old " "1.0 format, this can be done by running " "“zcat /path/to/" "foo_oldversion.diff.gz|patch -p1” in the new extracted source, instead." msgstr "" #. (itstool) path: section/simpara #: debmake-doc.en.xml:4840 msgid "" "If a package foo is properly packaged " "in the modern “3.0 (native)” or " "“3.0 (quilt)” formats, packaging a new " "upstream release is essentially moving the old debian/ directory to the new source. This can be done by " "running “tar -xvzf /path/to/" "foo_oldversion.debian.tar.gz” in the new extracted source. <_:footnote-1/> Of course, you need " "to do some obvious chores." msgstr "" #. (itstool) path: section/simpara #: debmake-doc.en.xml:4841 msgid "" "There are several tools to handle this situation. After updating to the new " "upstream release with these tools, please make sure to describe concisely " "the changes in the new upstream release that fix reported bugs and close " "those bugs by adding “Closes: #bug_number” in the debian/changelog file." msgstr "" #. (itstool) path: section/title #: debmake-doc.en.xml:4843 msgid "uupdate + tarball" msgstr "" #. (itstool) path: section/simpara #: debmake-doc.en.xml:4844 msgid "" "You can update to the new upstream source with the uupdate command from the devscripts package. It requires to have the old Debian source package and the " "new upstream tarball." msgstr "" #. (itstool) path: section/title #: debmake-doc.en.xml:4854 msgid "uscan" msgstr "" #. (itstool) path: section/simpara #: debmake-doc.en.xml:4855 msgid "" "You can update to the new upstream source with the uscan command from the devscripts package. It requires to have the old Debian source package and the " "debian/watch file in it." msgstr "" #. (itstool) path: section/title #: debmake-doc.en.xml:4863 msgid "gbp" msgstr "" #. (itstool) path: section/simpara #: debmake-doc.en.xml:4864 msgid "" "You can update to the new upstream source with the “gbp import-orig --pristine-tar” command from the git-buildpackage package. It requires to have the " "old Debian source in the git repository and the new upstream tarball." msgstr "" #. (itstool) path: tip/simpara #: debmake-doc.en.xml:4879 debmake-doc.en.xml:4897 msgid "" "If upstream uses the git repository, please also use --upstream-vcs-tag option for the gbp import-orig command." msgstr "" #. (itstool) path: section/title #: debmake-doc.en.xml:4882 msgid "gbp + uscan" msgstr "" #. (itstool) path: section/simpara #: debmake-doc.en.xml:4883 msgid "" "You can update to the new upstream source with the “gbp import-orig --pristine-tar --uscan” command from the " "git-buildpackage package. It requires " "to have the old Debian source in the git repository and the debian/watch file in it." msgstr "" #. (itstool) path: section/title #: debmake-doc.en.xml:4901 msgid "Library transition" msgstr "" #. (itstool) path: simpara/ulink #: debmake-doc.en.xml:4902 msgid "ben file" msgstr "" #. (itstool) path: simpara/ulink #: debmake-doc.en.xml:4902 msgid "Release Team" msgstr "" #. (itstool) path: section/simpara #: debmake-doc.en.xml:4902 msgid "" "When you package a new library package version which affects other packages, " "you must file a transition bug report against the release.debian.org psuedo package using the reportbug command with the <_:ulink-1/> and wait for " "the approval for its upload from the <_:ulink-2/>." msgstr "" #. (itstool) path: simpara/ulink #: debmake-doc.en.xml:4903 msgid "transition tracker" msgstr "" #. (itstool) path: simpara/ulink #: debmake-doc.en.xml:4903 msgid "Transitions" msgstr "" #. (itstool) path: section/simpara #: debmake-doc.en.xml:4903 msgid "Release team has the <_:ulink-1/>. See <_:ulink-2/>." msgstr "" #. (itstool) path: caution/simpara #: debmake-doc.en.xml:4904 msgid "" "Please make sure to rename binary packages as ." msgstr "" #. (itstool) path: section/title #: debmake-doc.en.xml:4907 msgid "3.0 source format" msgstr "" #. (itstool) path: section/simpara #: debmake-doc.en.xml:4908 msgid "" "Updating the package style is not a required activity for the update of a " "package. However, doing so lets you use the full capabilities of the modern " "debhelper system and the 3.0 source format." msgstr "" #. (itstool) path: listitem/simpara #: debmake-doc.en.xml:4911 msgid "" "If you need to recreate deleted template files for any reason, you can run " "debmake again in the same Debian " "package source tree. Then edit them appropriately." msgstr "" #. (itstool) path: listitem/simpara #: debmake-doc.en.xml:4916 msgid "" "If the package has not been updated to use the dh command for the debian/rules " "file, update it to use it (see ). Update the " "debian/control file accordingly." msgstr "" #. (itstool) path: footnote/simpara #: debmake-doc.en.xml:4922 msgid "" "You can split big.diff into many small " "incremental patches using the splitdiff " "command." msgstr "" #. (itstool) path: listitem/simpara #: debmake-doc.en.xml:4921 msgid "" "If you have a 1.0 source package with " "the foo.diff.gz file, you can update it " "to the newer “3.0 (quilt)” source " "format by creating debian/source/format " "with “3.0 (quilt)”. The rest of the " "debian/* files can just be copied. " "Import the big.diff file generated by " "the command “filterdiff -z -x /debian/ foo.diff.gz > big.diff” to your quilt system, if needed. <_:footnote-1/>" msgstr "" #. (itstool) path: listitem/simpara #: debmake-doc.en.xml:4926 msgid "" "If it was packaged using another patch system such as dpatch, dbs, or cdbs with -p0, -p1, or -p2, convert it to the quilt command using the " "deb3 script in the quilt package." msgstr "" #. (itstool) path: listitem/simpara #: debmake-doc.en.xml:4931 msgid "" "If it was packaged with the dh command " "with the “--with quilt” option or with " "the dh_quilt_patch and dh_quilt_unpatch commands, remove these and make it " "use the newer “3.0 (quilt)” source " "format." msgstr "" #. (itstool) path: listitem/simpara #: debmake-doc.en.xml:4936 msgid "" "If you have a 1.0 source package " "without the foo.diff.gz file, you can " "update it to the newer “3.0 (native)” " "source format by creating debian/source/format with “3.0 (native)”. The rest " "of the debian/* files can just be " "copied." msgstr "" #. (itstool) path: simpara/ulink #: debmake-doc.en.xml:4941 msgid "DEP - Debian Enhancement Proposals" msgstr "" #. (itstool) path: section/simpara #: debmake-doc.en.xml:4941 msgid "You should check <_:ulink-1/> and adopt ACCEPTED proposals." msgstr "" #. (itstool) path: simpara/ulink #: debmake-doc.en.xml:4942 msgid "ProjectsDebSrc3.0" msgstr "" #. (itstool) path: section/simpara #: debmake-doc.en.xml:4942 msgid "" "See <_:ulink-1/> to check the support status of the new Debian source " "formats by the Debian tool chains." msgstr "" #. (itstool) path: section/title #: debmake-doc.en.xml:4945 msgid "CDBS" msgstr "" #. (itstool) path: section/simpara #: debmake-doc.en.xml:4946 msgid "" "The Common Debian Build System (CDBS) " "is a wrapper system over the debhelper " "package. The CDBS is based on the " "Makefile inclusion mechanism and configured by the DEB_* configuration variables set in the debian/rules file." msgstr "" #. (itstool) path: section/simpara #: debmake-doc.en.xml:4947 msgid "" "Before the introduction of the dh " "command to the debhelper package at the " "version 7, the CDBS was the only " "approach to create a simple and clean debian/" "rules file." msgstr "" #. (itstool) path: section/simpara #: debmake-doc.en.xml:4948 msgid "" "For many simple packages, the dh " "command alone allows us to make a simple and clean debian/rules file, now. It is desirable to keep the build " "system simple and clean by not using the superfluous CDBS." msgstr "" #. (itstool) path: note/simpara #: debmake-doc.en.xml:4949 msgid "" "“The CDBS magically does the job for me " "with less typing” nor “I don’t understand the new dh syntax” can’t be the excuse to keep using the CDBS system." msgstr "" #. (itstool) path: section/simpara #: debmake-doc.en.xml:4950 msgid "" "For some complicated packages such as GNOME related ones, the CDBS is leveraged to automate their uniform packaging " "by the current maintainers with reasons. If this is the case, please do not " "bother converting from the CDBS to the " "dh syntax." msgstr "" #. (itstool) path: simpara/ulink #: debmake-doc.en.xml:4951 msgid "team" msgstr "" #. (itstool) path: note/simpara #: debmake-doc.en.xml:4951 msgid "" "If you are working with a <_:ulink-1/> of maintainers, please follow the " "established practice of the team." msgstr "" #. (itstool) path: section/simpara #: debmake-doc.en.xml:4952 msgid "" "When converting packages from the CDBS " "to the dh syntax, please use the " "following as your reference:" msgstr "" #. (itstool) path: simpara/ulink #: debmake-doc.en.xml:4956 msgid "CDBS Documentation" msgstr "" #. (itstool) path: simpara/ulink #: debmake-doc.en.xml:4961 msgid "The Common Debian Build System (CDBS), FOSDEM 2009" msgstr "" #. (itstool) path: section/title #: debmake-doc.en.xml:4967 msgid "Build under UTF-8" msgstr "" #. (itstool) path: section/simpara #: debmake-doc.en.xml:4968 msgid "" "The default locale of the build environment is C." msgstr "" #. (itstool) path: section/simpara #: debmake-doc.en.xml:4969 msgid "" "Some programs such as the read function " "of Python3 change their behavior depending on the locale." msgstr "" #. (itstool) path: section/simpara #: debmake-doc.en.xml:4970 msgid "" "Adding the following code to the debian/rules file ensures to build the program under the C.UTF-8 locale." msgstr "" #. (itstool) path: section/title #: debmake-doc.en.xml:4975 msgid "UTF-8 conversion" msgstr "" #. (itstool) path: simpara/ulink #: debmake-doc.en.xml:4976 msgid "UTF-8" msgstr "" #. (itstool) path: section/simpara #: debmake-doc.en.xml:4976 msgid "" "If upstream documents are encoded in old encoding schemes, converting them " "to <_:ulink-1/> is a good idea." msgstr "" #. (itstool) path: section/simpara #: debmake-doc.en.xml:4977 msgid "" "Use the iconv command in the libc-bin package to convert encodings of plain " "text files." msgstr "" #. (itstool) path: section/simpara #: debmake-doc.en.xml:4979 msgid "" "Use w3m(1) to convert from HTML files " "to UTF-8 plain text files. When you do this, make sure to execute it under " "UTF-8 locale." msgstr "" #. (itstool) path: section/simpara #: debmake-doc.en.xml:4983 msgid "" "Run these scripts in the override_dh_* " "target of the debian/rules file." msgstr "" #. (itstool) path: section/title #: debmake-doc.en.xml:4986 msgid "Upload orig.tar.gz" msgstr "" #. (itstool) path: section/simpara #: debmake-doc.en.xml:4987 msgid "" "When you first upload the package to the archive, you need to include the " "original orig.tar.gz source, too." msgstr "" #. (itstool) path: section/simpara #: debmake-doc.en.xml:4988 msgid "" "If the Debian revision number of the package is either 1 or 0, this is " "the default. Otherwise, you must provide the dpkg-" "buildpackage option -sa to " "the dpkg-buildpackage command." msgstr "" #. (itstool) path: listitem/simpara #: debmake-doc.en.xml:4991 msgid "dpkg-buildpackage -sa" msgstr "" #. (itstool) path: listitem/simpara #: debmake-doc.en.xml:4996 msgid "debuild -sa" msgstr "" #. (itstool) path: listitem/simpara #: debmake-doc.en.xml:5001 msgid "pdebuild --debbuildopts -sa" msgstr "" #. (itstool) path: listitem/simpara #: debmake-doc.en.xml:5006 msgid "git-pbuilder -sa" msgstr "" #. (itstool) path: listitem/simpara #: debmake-doc.en.xml:5011 debmake-doc.en.xml:5044 msgid "" "For gbp buildpackage, edit the " "~/.gbp.conf file." msgstr "" #. (itstool) path: tip/simpara #: debmake-doc.en.xml:5016 msgid "" "On the other hand, the -sd option will " "force the exclusion of the original orig.tar.gz source." msgstr "" #. (itstool) path: tip/simpara #: debmake-doc.en.xml:5017 msgid "" "Security uploads require to include the orig.tar." "gz." msgstr "" #. (itstool) path: section/title #: debmake-doc.en.xml:5020 msgid "Skipped uploads" msgstr "" #. (itstool) path: section/simpara #: debmake-doc.en.xml:5021 msgid "" "If you created multiple entries in the debian/" "changelog while skipping uploads, you must create a proper " "*_.changes file which includes all " "changes since the last upload. This can be done by specifying the dpkg-" "buildpackage option -v with the last " "uploaded version, e.g., 1.2." msgstr "" #. (itstool) path: listitem/simpara #: debmake-doc.en.xml:5024 msgid "" "dpkg-buildpackage -v1.2" msgstr "" #. (itstool) path: listitem/simpara #: debmake-doc.en.xml:5029 msgid "debuild -v1.2" msgstr "" #. (itstool) path: listitem/simpara #: debmake-doc.en.xml:5034 msgid "" "pdebuild --debbuildopts -v1.2" msgstr "" #. (itstool) path: listitem/simpara #: debmake-doc.en.xml:5039 msgid "" "git-pbuilder -v1.2" msgstr "" #. (itstool) path: section/title #: debmake-doc.en.xml:5051 msgid "Advanced packaging" msgstr "" #. (itstool) path: section/simpara #: debmake-doc.en.xml:5052 msgid "" "Hints for the following can be found in the debhelper(7) manpage:" msgstr "" #. (itstool) path: listitem/simpara #: debmake-doc.en.xml:5055 msgid "" "differences of the debhelper tool behavior under “compat <= 8”" msgstr "" #. (itstool) path: listitem/simpara #: debmake-doc.en.xml:5060 msgid "" "building several binary packages with several different build conditions" msgstr "" #. (itstool) path: listitem/simpara #: debmake-doc.en.xml:5065 msgid "making multiple copies of the upstream source" msgstr "" #. (itstool) path: listitem/simpara #: debmake-doc.en.xml:5070 msgid "" "invoking multiple “dh_auto_configure -S …” commands in the override_dh_auto_configure target" msgstr "" #. (itstool) path: listitem/simpara #: debmake-doc.en.xml:5075 msgid "" "invoking multiple “dh_auto_build -S …” " "commands in the override_dh_auto_build " "target" msgstr "" #. (itstool) path: listitem/simpara #: debmake-doc.en.xml:5080 msgid "" "invoking multiple “dh_auto_install -S …” commands in the override_dh_auto_install target" msgstr "" #. (itstool) path: simpara/ulink #: debmake-doc.en.xml:5088 msgid "Package-Type" msgstr "" #. (itstool) path: listitem/simpara #: debmake-doc.en.xml:5087 msgid "" "building udeb packages with “Package-Type: udeb” in debian/control (see <_:ulink-1/>)" msgstr "" #. (itstool) path: simpara/ulink #: debmake-doc.en.xml:5093 msgid "BuildProfileSpec" msgstr "" #. (itstool) path: listitem/simpara #: debmake-doc.en.xml:5092 msgid "excluding some packages for the bootstrapping (see also <_:ulink-1/>)" msgstr "" #. (itstool) path: listitem/simpara #: debmake-doc.en.xml:5097 msgid "" "adding the Build-Profiles fields in " "binary package stanzas in debian/control" msgstr "" #. (itstool) path: listitem/simpara #: debmake-doc.en.xml:5102 msgid "" "building packages with the DEB_BUILD_PROFILES environment variable set to the pertinent profile name" msgstr "" #. (itstool) path: section/simpara #: debmake-doc.en.xml:5109 msgid "" "Hints for the following can be found in the dpkg-" "source(1) manpage:" msgstr "" #. (itstool) path: listitem/simpara #: debmake-doc.en.xml:5112 msgid "naming convention for the multiple upstream source tarballs" msgstr "" #. (itstool) path: listitem/simpara #: debmake-doc.en.xml:5117 msgid "" "packagename_version.orig.tar." "gz" msgstr "" #. (itstool) path: listitem/simpara #: debmake-doc.en.xml:5122 msgid "" "packagename_version.orig-componentname.tar." "gz" msgstr "" #. (itstool) path: listitem/simpara #: debmake-doc.en.xml:5129 msgid "recording the Debian changes to the upstream binary file" msgstr "" #. (itstool) path: listitem/simpara #: debmake-doc.en.xml:5134 msgid "dpkg-source --commit" msgstr "" #. (itstool) path: section/title #: debmake-doc.en.xml:5143 msgid "Other distros" msgstr "" #. (itstool) path: section/simpara #: debmake-doc.en.xml:5144 msgid "" "Although the upstream tarball has all the information to build the Debian " "package, it is not always easy to figure out which combination of options to " "use." msgstr "" #. (itstool) path: section/simpara #: debmake-doc.en.xml:5145 msgid "" "Also, the upstream may be more focused on the feature enhancements and may " "be less eager for backward compatibilities etc. which are important aspect " "of the Debian packaging practice." msgstr "" #. (itstool) path: section/simpara #: debmake-doc.en.xml:5146 msgid "" "The leveraging of information from other distributions is an option to " "address above issues." msgstr "" #. (itstool) path: section/simpara #: debmake-doc.en.xml:5147 msgid "" "If the other distribution in interest is a Debian derivative one, it is " "trivial to reuse it." msgstr "" #. (itstool) path: simpara/ulink #: debmake-doc.en.xml:5148 msgid "RPM" msgstr "" #. (itstool) path: simpara/ulink #: debmake-doc.en.xml:5148 msgid "Repackage src.rpm" msgstr "" #. (itstool) path: section/simpara #: debmake-doc.en.xml:5148 msgid "" "If the other distribution in interest is a <_:ulink-1/> based distribution, " "see <_:ulink-2/>." msgstr "" #. (itstool) path: section/simpara #: debmake-doc.en.xml:5149 msgid "" "Downloading and opening of the src.rpm " "file can be done with the rget command. " "(Place the rget script in your PATH.)" msgstr "" #. (itstool) path: formalpara/title #: debmake-doc.en.xml:5150 msgid "rget script" msgstr "" #. (itstool) path: section/simpara #: debmake-doc.en.xml:5157 msgid "" "Many upstream tarballs contain the SPEC file named as packagename.spec or " "packagename.spec.in used by the RPM system. This can be used as the baseline for the " "Debian package, too." msgstr "" #. (itstool) path: chapter/title #: debmake-doc.en.xml:5161 msgid "More Examples" msgstr "" #. (itstool) path: chapter/simpara #: debmake-doc.en.xml:5162 msgid "" "There is an old Latin saying: “fabricando fit " "faber” (“practice makes perfect”)." msgstr "" #. (itstool) path: chapter/simpara #: debmake-doc.en.xml:5163 msgid "" "It is highly recommended to practice and experiment with all the steps of " "Debian packaging with simple packages. This chapter provides you with the " "many upstream cases for your practice." msgstr "" #. (itstool) path: chapter/simpara #: debmake-doc.en.xml:5164 msgid "" "This should also serve as introductory examples for many programing topics." msgstr "" #. (itstool) path: listitem/simpara #: debmake-doc.en.xml:5167 msgid "Programing in the POSIX shell, Python3, and C." msgstr "" #. (itstool) path: listitem/simpara #: debmake-doc.en.xml:5172 msgid "" "Method to create the desktop GUI program launcher with the icon graphics." msgstr "" #. (itstool) path: simpara/ulink #: debmake-doc.en.xml:5178 msgid "CLI" msgstr "" #. (itstool) path: simpara/ulink #: debmake-doc.en.xml:5178 msgid "GUI" msgstr "" #. (itstool) path: listitem/simpara #: debmake-doc.en.xml:5177 msgid "Conversion of command from <_:ulink-1/> to <_:ulink-2/>." msgstr "" #. (itstool) path: simpara/ulink #: debmake-doc.en.xml:5183 msgid "internationalization and localization" msgstr "" #. (itstool) path: listitem/simpara #: debmake-doc.en.xml:5182 msgid "" "Conversion of program to use gettext " "for <_:ulink-1/>: POSIX shell, Python3, and C sources." msgstr "" #. (itstool) path: listitem/simpara #: debmake-doc.en.xml:5187 msgid "" "Overview of many build systems: Makefile, Python distutils, Autotools, and " "CMake." msgstr "" #. (itstool) path: chapter/simpara #: debmake-doc.en.xml:5192 msgid "Please note Debian takes few things serious." msgstr "" #. (itstool) path: listitem/simpara #: debmake-doc.en.xml:5195 msgid "Free software (a.k.a. Libre software)" msgstr "" #. (itstool) path: listitem/simpara #: debmake-doc.en.xml:5200 msgid "Stability and security of OS." msgstr "" #. (itstool) path: listitem/simpara #: debmake-doc.en.xml:5205 msgid "Universal OS realized via:" msgstr "" #. (itstool) path: listitem/simpara #: debmake-doc.en.xml:5210 msgid "free choice for upstream sources," msgstr "" #. (itstool) path: listitem/simpara #: debmake-doc.en.xml:5215 msgid "free choice of CPU architectures, and" msgstr "" #. (itstool) path: listitem/simpara #: debmake-doc.en.xml:5220 msgid "free choice of UI languages." msgstr "" #. (itstool) path: chapter/simpara #: debmake-doc.en.xml:5227 msgid "" "The typical packaging example presented in is the " "prerequisite for this chapter." msgstr "" #. (itstool) path: chapter/simpara #: debmake-doc.en.xml:5228 msgid "" "Some details are intentionally left vague in the following. Please try to " "read the pertinent documentation and practice yourself to find them out." msgstr "" #. (itstool) path: tip/simpara #: debmake-doc.en.xml:5229 msgid "" "The detailed log of all the package build examples can be obtained by " "following the instruction in ." msgstr "" #. (itstool) path: simpara/ulink #: debmake-doc.en.xml:5230 #, fuzzy msgid "Debian Code Search" msgstr "Debian レファレンス" #. (itstool) path: tip/simpara #: debmake-doc.en.xml:5230 msgid "" "The best source of the packaging example is the current Debian archive " "itself. Please use the “<_:ulink-1/>” service to find pertinent examples." msgstr "" #. (itstool) path: section/title #: debmake-doc.en.xml:5232 msgid "Cherry-pick templates" msgstr "" #. (itstool) path: section/simpara #: debmake-doc.en.xml:5233 msgid "" "Here is an example of creating a simple Debian package from a zero content " "source on an empty directory." msgstr "" #. (itstool) path: section/simpara #: debmake-doc.en.xml:5234 msgid "" "This is a good platform to get all the template files without making mess in " "the upstream source tree you are working on." msgstr "" #. (itstool) path: section/simpara #: debmake-doc.en.xml:5235 msgid "" "Let’s assume this empty directory to be debhello-0.1." msgstr "" #. (itstool) path: section/simpara #: debmake-doc.en.xml:5242 msgid "" "Let’s generate the maximum amount of template files by specifying the " "-x4 option." msgstr "" #. (itstool) path: section/simpara #: debmake-doc.en.xml:5243 msgid "" "Let’s also use the “-p " "debhello -t -u " "0.1 -r " "1” options to make missing upstream tarball." msgstr "" #. (itstool) path: section/simpara #: debmake-doc.en.xml:5282 msgid "" "Now you can copy any of these generated template files in the " "debhello-0.1/debian/ directory to your package as needed while renaming them as needed." msgstr "" #. (itstool) path: tip/simpara #: debmake-doc.en.xml:5283 msgid "" "The generated template files can be made more verbose ones by invoking the " "debmake command with the -T option (tutorial mode)." msgstr "" #. (itstool) path: section/title #: debmake-doc.en.xml:5286 msgid "No Makefile (shell, CLI)" msgstr "" #. (itstool) path: section/simpara #: debmake-doc.en.xml:5287 msgid "" "Here is an example of creating a simple Debian package from a POSIX shell " "CLI program without its build system." msgstr "" #. (itstool) path: section/simpara #: debmake-doc.en.xml:5288 msgid "" "Let’s assume this upstream tarball to be debhello-0.2.tar.gz." msgstr "" #. (itstool) path: section/simpara #: debmake-doc.en.xml:5289 msgid "" "This type of source has no automated means and files must be installed " "manually." msgstr "" #. (itstool) path: section/simpara #: debmake-doc.en.xml:5294 debmake-doc.en.xml:5611 debmake-doc.en.xml:5739 #: debmake-doc.en.xml:5939 debmake-doc.en.xml:6072 debmake-doc.en.xml:6252 #: debmake-doc.en.xml:6380 debmake-doc.en.xml:6569 debmake-doc.en.xml:6730 #: debmake-doc.en.xml:6914 debmake-doc.en.xml:7281 debmake-doc.en.xml:7584 msgid "Let’s get the source and make the Debian package." msgstr "" #. (itstool) path: formalpara/title #: debmake-doc.en.xml:5295 msgid "Download debhello-0.2.tar.gz" msgstr "" #. (itstool) path: section/simpara #: debmake-doc.en.xml:5314 msgid "" "Here, the POSIX shell script hello is a " "very simple one." msgstr "" #. (itstool) path: formalpara/title #: debmake-doc.en.xml:5315 msgid "hello (v=0.2)" msgstr "" #. (itstool) path: simpara/ulink #: debmake-doc.en.xml:5323 msgid "Desktop Entry Specification" msgstr "" #. (itstool) path: section/simpara #: debmake-doc.en.xml:5323 msgid "" "Here, the hello.desktop supports <_:" "ulink-1/>." msgstr "" #. (itstool) path: formalpara/title #: debmake-doc.en.xml:5324 msgid "hello.desktop (v=0.2)" msgstr "" #. (itstool) path: section/simpara #: debmake-doc.en.xml:5338 msgid "" "Here, the hello.png is the icon " "graphics file." msgstr "" #. (itstool) path: section/simpara #: debmake-doc.en.xml:5339 debmake-doc.en.xml:5663 debmake-doc.en.xml:5982 msgid "" "Let’s package this with the debmake " "command. Here, the -b':sh' option is " "used to specify the generated binary package is a shell script." msgstr "" #. (itstool) path: section/simpara #: debmake-doc.en.xml:5353 debmake-doc.en.xml:5677 debmake-doc.en.xml:5829 #: debmake-doc.en.xml:5996 debmake-doc.en.xml:6521 debmake-doc.en.xml:6680 #: debmake-doc.en.xml:6824 debmake-doc.en.xml:7088 debmake-doc.en.xml:7384 msgid "Let’s inspect notable template files generated." msgstr "" #. (itstool) path: formalpara/title #: debmake-doc.en.xml:5354 msgid "" "The source tree after the basic debmake " "execution. (v=0.2)" msgstr "" #. (itstool) path: formalpara/title #: debmake-doc.en.xml:5385 msgid "" "debian/rules (template file, v=0.2):" msgstr "" #. (itstool) path: section/simpara #: debmake-doc.en.xml:5394 msgid "" "This is essentially the standard debian/rules file with the dh command. " "Since this is the script package, this template debian/rules file has no build flag related contents." msgstr "" #. (itstool) path: formalpara/title #: debmake-doc.en.xml:5395 msgid "" "debian/control (template file, v=0.2):" msgstr "" #. (itstool) path: section/simpara #: debmake-doc.en.xml:5413 msgid "" "Since this is the shell script package, the debmake command sets “Architecture: " "all” and “Multi-Arch: foreign”. Also, it sets required substvar parameters as “Depends: ${misc:Depends}”. These are explained in ." msgstr "" #. (itstool) path: section/simpara #: debmake-doc.en.xml:5414 msgid "" "Since this upstream source lacks the upstream Makefile, that functionality needs to be provided by the " "maintainer. This upstream contains only a script file and data files and no " "C source files, the build process can " "be skipped but the install process " "needs to be implemented. For this case, this is achieved cleanly by adding " "the debian/install and debian/manpages files without complicating the " "debian/rules file." msgstr "" #. (itstool) path: section/simpara #: debmake-doc.en.xml:5415 debmake-doc.en.xml:5693 debmake-doc.en.xml:5862 #: debmake-doc.en.xml:6015 debmake-doc.en.xml:6197 debmake-doc.en.xml:6534 #: debmake-doc.en.xml:6696 debmake-doc.en.xml:6859 debmake-doc.en.xml:7108 #: debmake-doc.en.xml:7405 msgid "Let’s make this Debian package better as the maintainer." msgstr "" #. (itstool) path: formalpara/title #: debmake-doc.en.xml:5416 msgid "" "debian/rules (maintainer version, " "v=0.2):" msgstr "" #. (itstool) path: formalpara/title #: debmake-doc.en.xml:5426 msgid "" "debian/control (maintainer version, " "v=0.2):" msgstr "" #. (itstool) path: formalpara/title #: debmake-doc.en.xml:5449 msgid "" "debian/install (maintainer version, " "v=0.2):" msgstr "" #. (itstool) path: formalpara/title #: debmake-doc.en.xml:5457 msgid "" "debian/manpages (maintainer version, " "v=0.2):" msgstr "" #. (itstool) path: formalpara/title #: debmake-doc.en.xml:5464 msgid "" "Template files under debian/. (v=0.2):" msgstr "" #. (itstool) path: formalpara/title #: debmake-doc.en.xml:5509 msgid "" "The generated files of debhello version " "0.2 by the debuild command:" msgstr "" #. (itstool) path: listitem/simpara #: debmake-doc.en.xml:5527 msgid "" "The debhello_0.2.orig.tar.gz is a " "symlink to the upstream tarball." msgstr "" #. (itstool) path: listitem/simpara #: debmake-doc.en.xml:5532 msgid "" "The debhello_0.2-1.debian.tar.xz " "contains the maintainer generated contents." msgstr "" #. (itstool) path: listitem/simpara #: debmake-doc.en.xml:5537 msgid "" "The debhello_0.2-1.dsc is the meta data " "file for the Debian source package." msgstr "" #. (itstool) path: listitem/simpara #: debmake-doc.en.xml:5542 msgid "" "The debhello_0.2-1_amd64.deb is the " "Debian binary package." msgstr "" #. (itstool) path: listitem/simpara #: debmake-doc.en.xml:5547 msgid "" "The debhello_0.2-1_amd64.changes is the " "meta data file for the Debian binary package." msgstr "" #. (itstool) path: section/simpara #: debmake-doc.en.xml:5552 msgid "" "The debhello_0.2-1.debian.tar.xz " "contains the Debian changes to the upstream source as follows." msgstr "" #. (itstool) path: formalpara/title #: debmake-doc.en.xml:5553 msgid "" "The compressed archive contents of debhello_0.2-1." "debian.tar.xz:" msgstr "" #. (itstool) path: section/simpara #: debmake-doc.en.xml:5580 msgid "" "The debhello_0.2-1_amd64.deb contains " "the files to be installed as follows." msgstr "" #. (itstool) path: formalpara/title #: debmake-doc.en.xml:5581 msgid "" "The binary package contents of debhello_0.2-1_amd64.deb:" msgstr "" #. (itstool) path: section/title #: debmake-doc.en.xml:5603 msgid "Makefile (shell, CLI)" msgstr "" #. (itstool) path: section/simpara #: debmake-doc.en.xml:5604 msgid "" "Here is an example of creating a simple Debian package from a POSIX shell " "CLI program using the Makefile as its " "build system." msgstr "" #. (itstool) path: section/simpara #: debmake-doc.en.xml:5605 msgid "" "Let’s assume its upstream tarball to be debhello-1.0.tar.gz." msgstr "" #. (itstool) path: formalpara/title #: debmake-doc.en.xml:5612 msgid "Download debhello-1.0.tar.gz" msgstr "" #. (itstool) path: section/simpara #: debmake-doc.en.xml:5632 msgid "" "Here, the Makefile uses $(DESTDIR) and $(prefix) properly. All other files are the same as and most of the packaging activities are the same." msgstr "" #. (itstool) path: formalpara/title #: debmake-doc.en.xml:5633 msgid "Makefile (v=1.0)" msgstr "" #. (itstool) path: formalpara/title #: debmake-doc.en.xml:5678 msgid "" "debian/rules (template file, v=1.0):" msgstr "" #. (itstool) path: formalpara/title #: debmake-doc.en.xml:5694 msgid "" "debian/rules (maintainer version, " "v=1.0):" msgstr "" #. (itstool) path: section/simpara #: debmake-doc.en.xml:5707 msgid "" "Since this upstream source has the proper upstream Makefile, there are no needs to create debian/install and debian/manpages files." msgstr "" #. (itstool) path: section/simpara #: debmake-doc.en.xml:5708 msgid "" "The debian/control file is exactly the " "same as the one in ." msgstr "" #. (itstool) path: formalpara/title #: debmake-doc.en.xml:5710 msgid "" "Template files under debian/. (v=1.0):" msgstr "" #. (itstool) path: section/simpara #: debmake-doc.en.xml:5728 msgid "" "The rest of the packaging activities are practically the same as the one in " "." msgstr "" #. (itstool) path: section/title #: debmake-doc.en.xml:5731 msgid "setup.py (Python3, CLI)" msgstr "" #. (itstool) path: section/simpara #: debmake-doc.en.xml:5732 msgid "" "Here is an example of creating a simple Debian package from a Python3 CLI " "program using the setup.py as its build " "system." msgstr "" #. (itstool) path: section/simpara #: debmake-doc.en.xml:5733 msgid "" "Let’s assume its upstream tarball to be debhello-1.1.tar.gz." msgstr "" #. (itstool) path: section/simpara #: debmake-doc.en.xml:5738 msgid "" "Debian packaging requires to change the last line to “python3 setup.py install --install-layout=deb” to install " "files to the target system image location. This issue is automatically " "addressed when using the dh command for " "the Debian packaging." msgstr "" #. (itstool) path: formalpara/title #: debmake-doc.en.xml:5740 msgid "Download debhello-1.1.tar.gz" msgstr "" #. (itstool) path: section/simpara #: debmake-doc.en.xml:5759 msgid "" "Here, the hello script and its " "associated hello_py module are as " "follows." msgstr "" #. (itstool) path: formalpara/title #: debmake-doc.en.xml:5760 msgid "hello (v=1.1)" msgstr "" #. (itstool) path: formalpara/title #: debmake-doc.en.xml:5768 msgid "hello_py/__init__.py (v=1.1)" msgstr "" #. (itstool) path: section/simpara #: debmake-doc.en.xml:5779 msgid "" "These are packaged using the Python <_:ulink-1/> with the setup.py and MANIFEST.in files." msgstr "" #. (itstool) path: formalpara/title #: debmake-doc.en.xml:5780 msgid "setup.py (v=1.1)" msgstr "" #. (itstool) path: formalpara/title #: debmake-doc.en.xml:5809 msgid "MANIFEST.in (v=1.1)" msgstr "" #. (itstool) path: simpara/ulink #: debmake-doc.en.xml:5814 msgid "setuptools" msgstr "" #. (itstool) path: tip/simpara #: debmake-doc.en.xml:5814 msgid "" "Many modern Python packages are distributed using <_:ulink-1/>. Since " "setuptools is an enhanced alternative to distutils, this example is useful " "for them." msgstr "" #. (itstool) path: section/simpara #: debmake-doc.en.xml:5815 debmake-doc.en.xml:6182 msgid "" "Let’s package this with the debmake " "command. Here, the -b':py3' option is " "used to specify the generated binary package contain Python3 script and " "module files." msgstr "" #. (itstool) path: formalpara/title #: debmake-doc.en.xml:5830 msgid "" "debian/rules (template file, v=1.1):" msgstr "" #. (itstool) path: section/simpara #: debmake-doc.en.xml:5839 msgid "" "This is essentially the standard debian/rules file with the dh command." msgstr "" #. (itstool) path: section/simpara #: debmake-doc.en.xml:5840 msgid "" "The use of “--with python3” option " "invokes dh_python3 to calculate Python " "dependencies, adds maintainer scripts to byte compile files, etc. See " "dh_python3(1)." msgstr "" #. (itstool) path: section/simpara #: debmake-doc.en.xml:5841 msgid "" "The use of “--buildsystem=pybuild” " "option invokes various build systems for requested Python versions in order " "to build modules and extensions. See pybuild(1)." msgstr "" #. (itstool) path: formalpara/title #: debmake-doc.en.xml:5842 msgid "" "debian/control (template file, v=1.1):" msgstr "" #. (itstool) path: section/simpara #: debmake-doc.en.xml:5861 msgid "" "Since this is the Python3 package, the debmake command sets “Architecture: all” and “Multi-Arch: foreign”. " "Also, it sets required substvar " "parameters as “Depends: ${python3:Depends}, ${misc:" "Depends}”. These are explained in ." msgstr "" #. (itstool) path: formalpara/title #: debmake-doc.en.xml:5863 msgid "" "debian/rules (maintainer version, " "v=1.1):" msgstr "" #. (itstool) path: formalpara/title #: debmake-doc.en.xml:5873 msgid "" "debian/control (maintainer version, " "v=1.1):" msgstr "" #. (itstool) path: section/simpara #: debmake-doc.en.xml:5897 msgid "" "The hello command does not come with " "the upstream provided manpage, let’s add it as the maintainer." msgstr "" #. (itstool) path: formalpara/title #: debmake-doc.en.xml:5898 msgid "" "debian/manpages etc. (maintainer " "version, v=1.1):" msgstr "" #. (itstool) path: section/simpara #: debmake-doc.en.xml:5907 debmake-doc.en.xml:6060 msgid "" "The rest of the packaging activities are practically the same as the one in " "." msgstr "" #. (itstool) path: formalpara/title #: debmake-doc.en.xml:5908 msgid "" "Template files under debian/. (v=1.1):" msgstr "" #. (itstool) path: section/simpara #: debmake-doc.en.xml:5928 debmake-doc.en.xml:6061 debmake-doc.en.xml:6235 #: debmake-doc.en.xml:6363 msgid "Here is the generated dependency list of binary packages." msgstr "" #. (itstool) path: formalpara/title #: debmake-doc.en.xml:5929 msgid "The generated dependency list of binary packages (v=1.1):" msgstr "" #. (itstool) path: section/title #: debmake-doc.en.xml:5935 msgid "Makefile (shell, GUI)" msgstr "" #. (itstool) path: section/simpara #: debmake-doc.en.xml:5936 msgid "" "Here is an example of creating a simple Debian package from a POSIX shell " "GUI program using the Makefile as its " "build system." msgstr "" #. (itstool) path: section/simpara #: debmake-doc.en.xml:5937 msgid "" "This upstream is based in with enhanced GUI " "support." msgstr "" #. (itstool) path: section/simpara #: debmake-doc.en.xml:5938 msgid "" "Let’s assume its upstream tarball to be debhello-1.2.tar.gz." msgstr "" #. (itstool) path: formalpara/title #: debmake-doc.en.xml:5940 msgid "Download debhello-1.2.tar.gz" msgstr "" #. (itstool) path: section/simpara #: debmake-doc.en.xml:5960 msgid "" "Here, the hello has been re-written to " "use the zenity command to make this a " "GTK+ GUI program." msgstr "" #. (itstool) path: formalpara/title #: debmake-doc.en.xml:5961 msgid "hello (v=1.2)" msgstr "" #. (itstool) path: section/simpara #: debmake-doc.en.xml:5966 msgid "" "Here, the desktop file is updated to be Terminal=false as a GUI program." msgstr "" #. (itstool) path: formalpara/title #: debmake-doc.en.xml:5967 msgid "hello.desktop (v=1.2)" msgstr "" #. (itstool) path: section/simpara #: debmake-doc.en.xml:5981 msgid "All other files are the same as ." msgstr "" #. (itstool) path: formalpara/title #: debmake-doc.en.xml:5997 msgid "" "debian/control (template file, v=1.2):" msgstr "" #. (itstool) path: formalpara/title #: debmake-doc.en.xml:6016 msgid "" "debian/control (maintainer version, " "v=1.2):" msgstr "" #. (itstool) path: section/simpara #: debmake-doc.en.xml:6039 msgid "Please note manually added zenity." msgstr "" #. (itstool) path: section/simpara #: debmake-doc.en.xml:6040 msgid "" "The debian/rules file is exactly the " "same as the one in ." msgstr "" #. (itstool) path: formalpara/title #: debmake-doc.en.xml:6042 msgid "" "Template files under debian/. (v=1.2):" msgstr "" #. (itstool) path: formalpara/title #: debmake-doc.en.xml:6062 msgid "The generated dependency list of binary packages (v=1.2):" msgstr "" #. (itstool) path: section/title #: debmake-doc.en.xml:6068 msgid "setup.py (Python3, GUI)" msgstr "" #. (itstool) path: section/simpara #: debmake-doc.en.xml:6069 msgid "" "Here is an example of creating a simple Debian package from a Python3 GUI " "program using the setup.py as its build " "system." msgstr "" #. (itstool) path: section/simpara #: debmake-doc.en.xml:6070 msgid "" "This upstream is based in with enhanced GUI, " "desktop icon, and manpage supports." msgstr "" #. (itstool) path: section/simpara #: debmake-doc.en.xml:6071 msgid "" "Let’s assume this upstream tarball to be debhello-1.3.tar.gz." msgstr "" #. (itstool) path: formalpara/title #: debmake-doc.en.xml:6073 msgid "Download debhello-1.3.tar.gz" msgstr "" #. (itstool) path: section/simpara #: debmake-doc.en.xml:6097 msgid "Here are the upstream sources." msgstr "" #. (itstool) path: formalpara/title #: debmake-doc.en.xml:6098 msgid "hello (v=1.3)" msgstr "" #. (itstool) path: formalpara/title #: debmake-doc.en.xml:6106 msgid "hello_py/__init__.py (v=1.3)" msgstr "" #. (itstool) path: formalpara/title #: debmake-doc.en.xml:6140 msgid "setup.py (v=1.3)" msgstr "" #. (itstool) path: formalpara/title #: debmake-doc.en.xml:6174 msgid "MANIFEST.in (v=1.3)" msgstr "" #. (itstool) path: section/simpara #: debmake-doc.en.xml:6196 msgid "The result is practically the same as ." msgstr "" #. (itstool) path: formalpara/title #: debmake-doc.en.xml:6198 msgid "" "debian/rules (maintainer version, " "v=1.3):" msgstr "" #. (itstool) path: formalpara/title #: debmake-doc.en.xml:6208 msgid "" "debian/control (maintainer version, " "v=1.3):" msgstr "" #. (itstool) path: section/simpara #: debmake-doc.en.xml:6232 msgid "" "Please note manually added python3-gi " "and gir1.2-gtk-3.0." msgstr "" #. (itstool) path: section/simpara #: debmake-doc.en.xml:6233 msgid "" "Since this upstream source has manpage and other files with matching entries " "in the setup.py file, there are no " "needs to create them and add debian/install and debian/manpages files " "which was required in ." msgstr "" #. (itstool) path: section/simpara #: debmake-doc.en.xml:6234 msgid "" "The rest of the packaging activities are practically the same as the one in " "." msgstr "" #. (itstool) path: formalpara/title #: debmake-doc.en.xml:6236 msgid "The generated dependency list of binary packages (v=1.3):" msgstr "" #. (itstool) path: section/title #: debmake-doc.en.xml:6242 msgid "Makefile (single-binary)" msgstr "" #. (itstool) path: section/simpara #: debmake-doc.en.xml:6244 msgid "" "This is an enhanced upstream source example for . " "This comes with the manpage, the desktop file, and the desktop icon. This " "also links to an external library libm " "to be a more practical example." msgstr "" #. (itstool) path: section/simpara #: debmake-doc.en.xml:6245 msgid "" "Let’s assume this upstream tarball to be debhello-1.4.tar.gz." msgstr "" #. (itstool) path: formalpara/title #: debmake-doc.en.xml:6253 msgid "Download debhello-1.4.tar.gz" msgstr "" #. (itstool) path: section/simpara #: debmake-doc.en.xml:6274 debmake-doc.en.xml:6402 debmake-doc.en.xml:6592 #: debmake-doc.en.xml:6753 debmake-doc.en.xml:6941 debmake-doc.en.xml:7308 msgid "Here, the contents of this source are as follows." msgstr "" #. (itstool) path: formalpara/title #: debmake-doc.en.xml:6275 msgid "src/hello.c (v=1.4):" msgstr "" #. (itstool) path: formalpara/title #: debmake-doc.en.xml:6288 msgid "src/config.h (v=1.4):" msgstr "" #. (itstool) path: formalpara/title #: debmake-doc.en.xml:6292 msgid "Makefile (v=1.4):" msgstr "" #. (itstool) path: section/simpara #: debmake-doc.en.xml:6324 msgid "" "Please note that this Makefile has the " "proper install target for the manpage, " "the desktop file, and the desktop icon." msgstr "" #. (itstool) path: section/simpara #: debmake-doc.en.xml:6325 debmake-doc.en.xml:6506 debmake-doc.en.xml:6665 #: debmake-doc.en.xml:6809 debmake-doc.en.xml:7369 msgid "" "Let’s package this with the debmake " "command." msgstr "" #. (itstool) path: section/simpara #: debmake-doc.en.xml:6339 msgid "The result is practically the same as ." msgstr "" #. (itstool) path: section/simpara #: debmake-doc.en.xml:6340 msgid "" "Let’s make this Debian package better as the maintainer which is practically " "the same as ." msgstr "" #. (itstool) path: section/simpara #: debmake-doc.en.xml:6341 msgid "" "If the DEB_BUILD_MAINT_OPTIONS is not " "exported in the debian/rules, the " "lintian warns \"W: debhello: hardening-no-relro usr/bin/hello\" for the " "linking of the libm." msgstr "" #. (itstool) path: section/simpara #: debmake-doc.en.xml:6342 msgid "" "The debian/control file making it " "exactly the same as one in , since the " "libm library is always available as a " "part of the libc6 (Priority: required)." msgstr "" #. (itstool) path: formalpara/title #: debmake-doc.en.xml:6344 msgid "" "Template files under debian/. (v=1.4):" msgstr "" #. (itstool) path: section/simpara #: debmake-doc.en.xml:6362 debmake-doc.en.xml:6554 debmake-doc.en.xml:6715 msgid "" "The rest of the packaging activities are practically the same as the one in " "." msgstr "" #. (itstool) path: formalpara/title #: debmake-doc.en.xml:6364 msgid "The generated dependency list of binary packages (v=1.4):" msgstr "" #. (itstool) path: section/title #: debmake-doc.en.xml:6370 msgid "Makefile.in + configure (single-binary)" msgstr "" #. (itstool) path: section/simpara #: debmake-doc.en.xml:6371 msgid "" "Here is an example of creating a simple Debian package from a simple C " "source using the Makefile.in and " "configure as its build system." msgstr "" #. (itstool) path: section/simpara #: debmake-doc.en.xml:6372 msgid "" "This is an enhanced upstream source example for . This also links to an external library libm and this source is configurable using arguments to the " "configure script which generates the " "Makefile and src/config.h files." msgstr "" #. (itstool) path: section/simpara #: debmake-doc.en.xml:6373 msgid "" "Let’s assume this upstream tarball to be debhello-1.5.tar.gz." msgstr "" #. (itstool) path: section/simpara #: debmake-doc.en.xml:6374 debmake-doc.en.xml:6562 debmake-doc.en.xml:6722 #: debmake-doc.en.xml:6907 debmake-doc.en.xml:7273 msgid "" "This type of source is meant to be installed as a non-system file, for " "example, as:" msgstr "" #. (itstool) path: formalpara/title #: debmake-doc.en.xml:6381 msgid "Download debhello-1.5.tar.gz" msgstr "" #. (itstool) path: formalpara/title #: debmake-doc.en.xml:6403 msgid "src/hello.c (v=1.5):" msgstr "" #. (itstool) path: formalpara/title #: debmake-doc.en.xml:6422 msgid "Makefile.in (v=1.5):" msgstr "" #. (itstool) path: formalpara/title #: debmake-doc.en.xml:6459 msgid "configure (v=1.5):" msgstr "" #. (itstool) path: section/simpara #: debmake-doc.en.xml:6505 msgid "" "Please note that the configure command " "replaces strings with @…@ in the " "Makefile.in to produce Makefile and creates src/" "config.h." msgstr "" #. (itstool) path: section/simpara #: debmake-doc.en.xml:6520 msgid "" "The result is similar to but not exactly " "the same." msgstr "" #. (itstool) path: formalpara/title #: debmake-doc.en.xml:6522 msgid "" "debian/rules (template file, v=1.5):" msgstr "" #. (itstool) path: formalpara/title #: debmake-doc.en.xml:6535 msgid "" "debian/rules (maintainer version, " "v=1.5):" msgstr "" #. (itstool) path: section/title #: debmake-doc.en.xml:6557 msgid "Autotools (single-binary)" msgstr "" #. (itstool) path: section/simpara #: debmake-doc.en.xml:6558 msgid "" "Here is an example of creating a simple Debian package from a simple C " "source using the Autotools = Autoconf and Automake (Makefile.am and configure.ac) as its build system. See ." msgstr "" #. (itstool) path: section/simpara #: debmake-doc.en.xml:6559 msgid "" "This source usually comes with the upstream auto-generated Makefile.in and configure files, too. This source can be packaged using these files as with the help of the autotools-dev package." msgstr "" #. (itstool) path: section/simpara #: debmake-doc.en.xml:6560 msgid "" "The better alternative is to regenerate these files using the latest " "Autoconf and Automake packages if the upstream provided Makefile.am and configure." "ac are compatible with the latest version. This is advantageous " "for the porting to the new CPU architectures etc. This can be automated by " "using the “--with autoreconf” option " "for the dh command." msgstr "" #. (itstool) path: section/simpara #: debmake-doc.en.xml:6561 msgid "" "Let’s assume this upstream tarball to be debhello-1.6.tar.gz." msgstr "" #. (itstool) path: formalpara/title #: debmake-doc.en.xml:6570 msgid "Download debhello-1.6.tar.gz" msgstr "" #. (itstool) path: formalpara/title #: debmake-doc.en.xml:6593 msgid "src/hello.c (v=1.6):" msgstr "" #. (itstool) path: formalpara/title #: debmake-doc.en.xml:6612 msgid "Makefile.am (v=1.6):" msgstr "" #. (itstool) path: formalpara/title #: debmake-doc.en.xml:6621 msgid "configure.ac (v=1.6):" msgstr "" #. (itstool) path: section/simpara #: debmake-doc.en.xml:6679 debmake-doc.en.xml:6823 debmake-doc.en.xml:7383 msgid "" "The result is similar to but not " "exactly the same." msgstr "" #. (itstool) path: formalpara/title #: debmake-doc.en.xml:6681 msgid "" "debian/rules (template file, v=1.6):" msgstr "" #. (itstool) path: formalpara/title #: debmake-doc.en.xml:6697 msgid "" "debian/rules (maintainer version, " "v=1.6):" msgstr "" #. (itstool) path: section/title #: debmake-doc.en.xml:6718 msgid "CMake (single-binary)" msgstr "" #. (itstool) path: section/simpara #: debmake-doc.en.xml:6719 msgid "" "Here is an example of creating a simple Debian package from a simple C " "source using the CMake (CMakeLists.txt " "and some files such as config.h.in) as " "its build system. See ." msgstr "" #. (itstool) path: section/simpara #: debmake-doc.en.xml:6720 msgid "" "The cmake command generates the " "Makefile file based on the CMakeLists.txt file and its -D option. It also configure the file as specified in " "its configure_file(…) by replacing " "strings with @…@ and changing #cmakedefine … line." msgstr "" #. (itstool) path: section/simpara #: debmake-doc.en.xml:6721 msgid "" "Let’s assume this upstream tarball to be debhello-1.7.tar.gz." msgstr "" #. (itstool) path: formalpara/title #: debmake-doc.en.xml:6731 msgid "Download debhello-1.7.tar.gz" msgstr "" #. (itstool) path: formalpara/title #: debmake-doc.en.xml:6754 msgid "src/hello.c (v=1.7):" msgstr "" #. (itstool) path: formalpara/title #: debmake-doc.en.xml:6773 msgid "src/config.h.in (v=1.7):" msgstr "" #. (itstool) path: formalpara/title #: debmake-doc.en.xml:6780 msgid "CMakeLists.txt (v=1.7):" msgstr "" #. (itstool) path: formalpara/title #: debmake-doc.en.xml:6825 msgid "" "debian/rules (template file, v=1.7):" msgstr "" #. (itstool) path: formalpara/title #: debmake-doc.en.xml:6841 msgid "" "debian/control (template file, v=1.7):" msgstr "" #. (itstool) path: formalpara/title #: debmake-doc.en.xml:6860 msgid "" "debian/rules (maintainer version, " "v=1.7):" msgstr "" #. (itstool) path: formalpara/title #: debmake-doc.en.xml:6876 msgid "" "debian/control (maintainer version, " "v=1.7):" msgstr "" #. (itstool) path: section/simpara #: debmake-doc.en.xml:6900 debmake-doc.en.xml:7254 debmake-doc.en.xml:7564 msgid "" "The rest of the packaging activities are practically the same as the one in " "." msgstr "" #. (itstool) path: section/title #: debmake-doc.en.xml:6903 msgid "Autotools (multi-binary)" msgstr "" #. (itstool) path: section/simpara #: debmake-doc.en.xml:6904 msgid "" "Here is an example of creating a set of Debian binary packages including the " "executable package, the shared library package, the development file " "package, and the debug symbol package from a simple C source using the " "Autotools = Autoconf and Automake (Makefile.am and configure.ac) as its " "build system. See ." msgstr "" #. (itstool) path: section/simpara #: debmake-doc.en.xml:6905 msgid "" "Let’s package this in the same way as ." msgstr "" #. (itstool) path: section/simpara #: debmake-doc.en.xml:6906 msgid "" "Let’s assume this upstream tarball to be debhello-2.0.tar.gz." msgstr "" #. (itstool) path: formalpara/title #: debmake-doc.en.xml:6915 msgid "Download debhello-2.0.tar.gz" msgstr "" #. (itstool) path: formalpara/title #: debmake-doc.en.xml:6942 msgid "src/hello.c (v=2.0):" msgstr "" #. (itstool) path: formalpara/title #: debmake-doc.en.xml:6955 msgid "" "lib/sharedlib.h and lib/sharedlib.c (v=1.6):" msgstr "" #. (itstool) path: formalpara/title #: debmake-doc.en.xml:6967 msgid "Makefile.am (v=2.0):" msgstr "" #. (itstool) path: formalpara/title #: debmake-doc.en.xml:7005 msgid "configure.ac (v=2.0):" msgstr "" #. (itstool) path: section/simpara #: debmake-doc.en.xml:7041 msgid "" "Let’s package this with the debmake " "command into multiple packages:" msgstr "" #. (itstool) path: listitem/simpara #: debmake-doc.en.xml:7044 msgid "" "debhello: type = bin" msgstr "" #. (itstool) path: listitem/simpara #: debmake-doc.en.xml:7049 msgid "" "libsharedlib1: type = lib" msgstr "" #. (itstool) path: listitem/simpara #: debmake-doc.en.xml:7054 msgid "" "libsharedlib-dev: type = dev" msgstr "" #. (itstool) path: listitem/simpara #: debmake-doc.en.xml:7059 msgid "" "debhello-dbg: type = dbg" msgstr "" #. (itstool) path: listitem/simpara #: debmake-doc.en.xml:7064 msgid "" "libsharedlib1-dbg: type = dbg" msgstr "" #. (itstool) path: section/simpara #: debmake-doc.en.xml:7069 msgid "" "Here, the -b',libsharedlib1,libsharedlib-dev,-dbg," "libsharedlib1-dbg' option is used to specify the generated binary " "packages." msgstr "" #. (itstool) path: section/simpara #: debmake-doc.en.xml:7087 msgid "" "The result is similar to but with more " "template files." msgstr "" #. (itstool) path: formalpara/title #: debmake-doc.en.xml:7089 msgid "" "debian/rules (template file, v=2.0):" msgstr "" #. (itstool) path: formalpara/title #: debmake-doc.en.xml:7109 msgid "" "debian/rules (maintainer version, " "v=2.0):" msgstr "" #. (itstool) path: formalpara/title #: debmake-doc.en.xml:7129 msgid "" "debian/control (maintainer version, " "v=2.0):" msgstr "" #. (itstool) path: formalpara/title #: debmake-doc.en.xml:7213 msgid "" "debian/*.install (maintainer version, " "v=2.0):" msgstr "" #. (itstool) path: section/simpara #: debmake-doc.en.xml:7230 debmake-doc.en.xml:7539 msgid "" "Since this upstream source creates the proper auto-generated Makefile, there are no needs to create debian/install and debian/" "manpages files." msgstr "" #. (itstool) path: formalpara/title #: debmake-doc.en.xml:7232 msgid "" "Template files under debian/. (v=2.0):" msgstr "" #. (itstool) path: section/simpara #: debmake-doc.en.xml:7255 debmake-doc.en.xml:7565 msgid "Here are the generated dependency lists of binary packages." msgstr "" #. (itstool) path: formalpara/title #: debmake-doc.en.xml:7256 msgid "The generated dependency lists of binary packages (v=2.0):" msgstr "" #. (itstool) path: section/title #: debmake-doc.en.xml:7270 msgid "CMake (multi-binary)" msgstr "" #. (itstool) path: section/simpara #: debmake-doc.en.xml:7271 msgid "" "Here is an example of creating a set of Debian binary packages including the " "executable package, the shared library package, the development file " "package, and the debug symbol package from a simple C source using the CMake " "(CMakeLists.txt and some files such as " "config.h.in) as its build system. See " "." msgstr "" #. (itstool) path: section/simpara #: debmake-doc.en.xml:7272 msgid "" "Let’s assume this upstream tarball to be debhello-2.1.tar.gz." msgstr "" #. (itstool) path: formalpara/title #: debmake-doc.en.xml:7282 msgid "Download debhello-2.1.tar.gz" msgstr "" #. (itstool) path: formalpara/title #: debmake-doc.en.xml:7309 msgid "src/hello.c (v=2.1):" msgstr "" #. (itstool) path: formalpara/title #: debmake-doc.en.xml:7322 msgid "src/config.h.in (v=2.1):" msgstr "" #. (itstool) path: formalpara/title #: debmake-doc.en.xml:7327 msgid "" "lib/sharedlib.c and lib/sharedlib.h (v=2.1):" msgstr "" #. (itstool) path: formalpara/title #: debmake-doc.en.xml:7339 msgid "CMakeLists.txt (v=2.1):" msgstr "" #. (itstool) path: formalpara/title #: debmake-doc.en.xml:7385 msgid "" "debian/rules (template file, v=2.1):" msgstr "" #. (itstool) path: formalpara/title #: debmake-doc.en.xml:7406 msgid "" "debian/rules (maintainer version, " "v=2.1):" msgstr "" #. (itstool) path: formalpara/title #: debmake-doc.en.xml:7431 msgid "" "debian/control (maintainer version, " "v=2.1):" msgstr "" #. (itstool) path: formalpara/title #: debmake-doc.en.xml:7515 msgid "" "debian/*.install (maintainer version, " "v=2.1):" msgstr "" #. (itstool) path: section/simpara #: debmake-doc.en.xml:7532 msgid "" "This upstream CMakeList.txt needs to be patched to cope with the multiarch " "path." msgstr "" #. (itstool) path: formalpara/title #: debmake-doc.en.xml:7533 msgid "" "debian/patches/* (maintainer version, " "v=2.1):" msgstr "" #. (itstool) path: formalpara/title #: debmake-doc.en.xml:7541 msgid "" "Template files under debian/. (v=2.1):" msgstr "" #. (itstool) path: formalpara/title #: debmake-doc.en.xml:7566 msgid "The generated dependency lists of binary packages (v=2.1):" msgstr "" #. (itstool) path: section/title #: debmake-doc.en.xml:7580 msgid "Internationalization" msgstr "" #. (itstool) path: section/simpara #: debmake-doc.en.xml:7581 msgid "" "Here is an example of updating the simple upstream C source debhello-2.0.tar.gz presented in for the internationalization (i18n) and creating the " "updated upstream C source debhello-2.0.tar.gz." msgstr "" #. (itstool) path: section/simpara #: debmake-doc.en.xml:7582 msgid "" "In the real situation, the package should be already internationalized. So " "this example is educational for you to understand how this " "internationalization is implemented." msgstr "" #. (itstool) path: tip/simpara #: debmake-doc.en.xml:7583 msgid "" "The routine maintainer activity for the i18n is simply to add translation po " "files reported to you via BTS system to the po/ directory and to update the language list in the po/LINGUAS." msgstr "" #. (itstool) path: formalpara/title #: debmake-doc.en.xml:7585 msgid "" "Download debhello-2.0.tar.gz (i18n)" msgstr "" #. (itstool) path: section/simpara #: debmake-doc.en.xml:7611 msgid "" "Internationalize this source tree with the gettextize command and remove files auto-generated by the " "Autotools." msgstr "" #. (itstool) path: formalpara/title #: debmake-doc.en.xml:7612 msgid "run gettextize (i18n):" msgstr "" #. (itstool) path: section/simpara #: debmake-doc.en.xml:7671 msgid "" "Let’s check generated files under the po/ directory." msgstr "" #. (itstool) path: formalpara/title #: debmake-doc.en.xml:7672 msgid "files in po (i18n):" msgstr "" #. (itstool) path: section/simpara #: debmake-doc.en.xml:7686 msgid "" "Let’s update the configure.ac by adding " "“AM_GNU_GETTEXT([external])”, etc.." msgstr "" #. (itstool) path: formalpara/title #: debmake-doc.en.xml:7687 msgid "configure.ac (i18n):" msgstr "" #. (itstool) path: section/simpara #: debmake-doc.en.xml:7730 msgid "" "Let’s create the po/Makevars from the " "po/Makevars.template." msgstr "" #. (itstool) path: formalpara/title #: debmake-doc.en.xml:7731 msgid "po/Makevars (i18n):" msgstr "" #. (itstool) path: section/simpara #: debmake-doc.en.xml:7755 msgid "" "Let’s update C sources for the i18n by wrapping strings with _(…)." msgstr "" #. (itstool) path: formalpara/title #: debmake-doc.en.xml:7756 msgid "src/hello.c (i18n):" msgstr "" #. (itstool) path: formalpara/title #: debmake-doc.en.xml:7771 msgid "lib/sharedlib.c (i18n):" msgstr "" #. (itstool) path: section/simpara #: debmake-doc.en.xml:7783 msgid "" "The new gettext (v=0.19) can handle the " "i18n of the desktop file directly." msgstr "" #. (itstool) path: formalpara/title #: debmake-doc.en.xml:7784 msgid "data/hello.desktop.in (i18n):" msgstr "" #. (itstool) path: section/simpara #: debmake-doc.en.xml:7798 msgid "" "Let’s list the input files to extract translatable strings in po/POTFILES.in." msgstr "" #. (itstool) path: formalpara/title #: debmake-doc.en.xml:7799 msgid "po/POTFILES.in (i18n):" msgstr "" #. (itstool) path: section/simpara #: debmake-doc.en.xml:7806 msgid "" "Here is the updated root Makefile.am " "with po added to the SUBDIRS." msgstr "" #. (itstool) path: formalpara/title #: debmake-doc.en.xml:7807 msgid "Makefile.am (i18n):" msgstr "" #. (itstool) path: section/simpara #: debmake-doc.en.xml:7816 msgid "" "Let’s make a translation template file debhello." "pot." msgstr "" #. (itstool) path: formalpara/title #: debmake-doc.en.xml:7817 msgid "po/debhello.pot (i18n):" msgstr "" #. (itstool) path: section/simpara #: debmake-doc.en.xml:7865 msgid "Let’s add Japanese translation." msgstr "" #. (itstool) path: formalpara/title #: debmake-doc.en.xml:7866 msgid "" "po/LINGUAS and po/fr.po (i18n):" msgstr "" #. (itstool) path: section/simpara #: debmake-doc.en.xml:7915 msgid "" "The packaging activities are practically the same as the one in ." msgstr "" #. (itstool) path: section/simpara #: debmake-doc.en.xml:7916 msgid "You can find more i18n examples in for" msgstr "" #. (itstool) path: listitem/simpara #: debmake-doc.en.xml:7919 msgid "the POSIX shell script with the Makefile (v=3.0)," msgstr "" #. (itstool) path: listitem/simpara #: debmake-doc.en.xml:7924 msgid "the Python3 script with the distutils (v=3.1)," msgstr "" #. (itstool) path: listitem/simpara #: debmake-doc.en.xml:7929 msgid "the C source with the Makefile.in + configure (v=3.2)," msgstr "" #. (itstool) path: listitem/simpara #: debmake-doc.en.xml:7934 msgid "the C source with the Autotools (v=3.3), and" msgstr "" #. (itstool) path: listitem/simpara #: debmake-doc.en.xml:7939 msgid "the C source with the CMake (v=3.4)." msgstr "" #. (itstool) path: section/title #: debmake-doc.en.xml:7946 msgid "Details" msgstr "" #. (itstool) path: section/simpara #: debmake-doc.en.xml:7947 msgid "" "Actual details of the examples presented and their variants can be obtained " "by the following." msgstr "" #. (itstool) path: formalpara/title #: debmake-doc.en.xml:7948 msgid "How to get details" msgstr "" #. (itstool) path: section/simpara #: debmake-doc.en.xml:7955 msgid "" "Each directory with the -pkg[0-9] " "suffix contains the Debian packaging example." msgstr "" #. (itstool) path: listitem/simpara #: debmake-doc.en.xml:7958 msgid "" "emulated console command line activity log: the ." "log file" msgstr "" #. (itstool) path: listitem/simpara #: debmake-doc.en.xml:7963 msgid "" "emulated console command line activity log (short): the .slog file" msgstr "" #. (itstool) path: listitem/simpara #: debmake-doc.en.xml:7968 msgid "" "snapshot source tree image after the debmake command: the debmake directory" msgstr "" #. (itstool) path: listitem/simpara #: debmake-doc.en.xml:7973 msgid "" "snapshot source tree image after the properly packaging: the packge directory" msgstr "" #. (itstool) path: listitem/simpara #: debmake-doc.en.xml:7978 msgid "" "snapshot source tree image after the debuild command: the test directory" msgstr "" #. (itstool) path: appendix/title #: debmake-doc.en.xml:7986 msgid "debmake(1) manpage" msgstr "" #. (itstool) path: section/title #: debmake-doc.en.xml:7988 msgid "NAME" msgstr "" #. (itstool) path: section/simpara #: debmake-doc.en.xml:7989 msgid "debmake - program to make the Debian source package" msgstr "" #. (itstool) path: section/title #: debmake-doc.en.xml:7992 msgid "SYNOPSIS" msgstr "" #. (itstool) path: section/simpara #: debmake-doc.en.xml:7993 msgid "" "debmake [-h] [-c | -k] [-n | -a package-version.orig.tar.gz | -d " "| -t ] [-p package] [-u version] [-r revision] [-z extension] [-b \"binarypackage, …]\" [-e foo@example.org] [-" "f \"firstname lastname\"] [-i \"buildtool\" | -j] [-l " "license_file] [-m] " "[-o file] " "[-q] [-s] [-v] [-w \"addon, …\"] [-x [01234]] [-y] " "[-P] [-T]" msgstr "" #. (itstool) path: section/title #: debmake-doc.en.xml:7996 msgid "DESCRIPTION" msgstr "" #. (itstool) path: section/simpara #: debmake-doc.en.xml:7997 msgid "" "debmake helps to build the Debian " "package from the upstream source. Normally, this is done as follows:" msgstr "" #. (itstool) path: listitem/simpara #: debmake-doc.en.xml:8005 msgid "" "It is untared to create many files under the package-version/ directory." msgstr "" #. (itstool) path: listitem/simpara #: debmake-doc.en.xml:8010 msgid "" "debmake is invoked in the package-version/ directory " "possibly without any arguments." msgstr "" #. (itstool) path: listitem/simpara #: debmake-doc.en.xml:8015 msgid "" "Files in the package-version/" "debian/ directory are manually adjusted." msgstr "" #. (itstool) path: listitem/simpara #: debmake-doc.en.xml:8020 msgid "" "dpkg-buildpackage (usually from its " "wrapper debuild or pdebuild) is invoked in the package-version/" " directory to make debian packages." msgstr "" #. (itstool) path: section/title #: debmake-doc.en.xml:8027 msgid "optional arguments:" msgstr "" #. (itstool) path: varlistentry/term #: debmake-doc.en.xml:8030 msgid "" "-h, --help" msgstr "" #. (itstool) path: listitem/simpara #: debmake-doc.en.xml:8034 msgid "show this help message and exit." msgstr "" #. (itstool) path: varlistentry/term #: debmake-doc.en.xml:8040 msgid "" "-c, --" "copyright" msgstr "" #. (itstool) path: listitem/simpara #: debmake-doc.en.xml:8044 msgid "scan source for copyright+license text and exit." msgstr "" #. (itstool) path: listitem/simpara #: debmake-doc.en.xml:8049 msgid "-c: sinple output style" msgstr "" #. (itstool) path: listitem/simpara #: debmake-doc.en.xml:8054 msgid "" "-cc: normal output style (similar to " "the debian/copyright file)" msgstr "" #. (itstool) path: listitem/simpara #: debmake-doc.en.xml:8059 msgid "-ccc: debug output style" msgstr "" #. (itstool) path: varlistentry/term #: debmake-doc.en.xml:8067 msgid "" "-k, --kludge" msgstr "" #. (itstool) path: listitem/simpara #: debmake-doc.en.xml:8071 msgid "" "compare the debian/copyright file with " "the source and exit." msgstr "" #. (itstool) path: listitem/simpara #: debmake-doc.en.xml:8074 msgid "" "The debian/copyright file must be " "organized to list the generic file patterns before the specific exceptions." msgstr "" #. (itstool) path: listitem/simpara #: debmake-doc.en.xml:8077 msgid "-k: basic output style" msgstr "" #. (itstool) path: listitem/simpara #: debmake-doc.en.xml:8082 msgid "-kk: verbose output style" msgstr "" #. (itstool) path: varlistentry/term #: debmake-doc.en.xml:8090 msgid "" "-n, --native" msgstr "" #. (itstool) path: listitem/simpara #: debmake-doc.en.xml:8094 msgid "" "make a native Debian source package without .orig." "tar.gz. This makes the “3.0 (native)” format package." msgstr "" #. (itstool) path: listitem/simpara #: debmake-doc.en.xml:8097 msgid "" "If you are thinking to package a Debian specific source tree with debian/* in it into a native Debian package, " "please think otherwise. You can use “debmake -d -i " "debuild” or “debmake -t -i debuild” to make the “3.0 (quilt)” " "format non-native Debian package. The only difference is that the debian/changelog file must use the non-native " "version scheme: version-revision. The non-native " "package is more friendly to the downstream distributions." msgstr "" #. (itstool) path: varlistentry/term #: debmake-doc.en.xml:8101 msgid "" "-a package-version.tar.gz, --archive package-version.tar.gz" msgstr "" #. (itstool) path: listitem/simpara #: debmake-doc.en.xml:8105 msgid "" "use the upstream source tarball directly. (-p, -u, -z: overridden)" msgstr "" #. (itstool) path: listitem/simpara #: debmake-doc.en.xml:8108 msgid "" "The upstream tarball may be specified as package_version.orig.tar.gz and tar.gz for all cases may be tar.bz2, or tar.xz." msgstr "" #. (itstool) path: listitem/simpara #: debmake-doc.en.xml:8109 msgid "" "If the specified upstream tarball name contains uppercase letters, the " "Debian package name is generated by converting them to lowercase letters." msgstr "" #. (itstool) path: listitem/simpara #: debmake-doc.en.xml:8110 msgid "" "If the specified argument is the URL (http://, https://, or ftp://) to the " "upstream tarball, the upstream tarball is downloaded from the URL using " "wget or curl." msgstr "" #. (itstool) path: varlistentry/term #: debmake-doc.en.xml:8114 msgid "" "-d, --dist" msgstr "" #. (itstool) path: listitem/simpara #: debmake-doc.en.xml:8118 msgid "" "run “make dist” equivalent first to generate upstream tarball and use it." msgstr "" #. (itstool) path: listitem/simpara #: debmake-doc.en.xml:8121 msgid "" "“debmake -d” is designed to run in the " "package/ directory hosting the upstream VCS with the " "build system supporting “make dist” " "equivalents. (automake/autoconf, Python distutils, …)" msgstr "" #. (itstool) path: varlistentry/term #: debmake-doc.en.xml:8125 msgid "" "-t, --tar" msgstr "" #. (itstool) path: listitem/simpara #: debmake-doc.en.xml:8129 msgid "" "run “tar” to generate upstream tarball " "and use it" msgstr "" #. (itstool) path: listitem/simpara #: debmake-doc.en.xml:8132 msgid "" "“debmake -t” is designed to run in the " "package/ directory hosting the upstream VCS. Unless you " "provide the upstream version with the -u option or with the debian/changelog file, a snapshot upstream version is generated in the 0~%y%m%d%H%M format, e.g., " "0~1403012359, from the UTC date and time. The generated " "tarball excludes the debian/ directory " "found in the upstream VCS. (It also excludes typical VCS directories: " ".git/ .hg/ .svn/ .CVS/)" msgstr "" #. (itstool) path: varlistentry/term #: debmake-doc.en.xml:8136 msgid "" "-p package, " "--package package" msgstr "" #. (itstool) path: listitem/simpara #: debmake-doc.en.xml:8140 msgid "set the Debian package name." msgstr "" #. (itstool) path: varlistentry/term #: debmake-doc.en.xml:8146 msgid "" "-u version, " "--upstreamversion version" msgstr "" #. (itstool) path: listitem/simpara #: debmake-doc.en.xml:8150 msgid "set the upstream package version." msgstr "" #. (itstool) path: varlistentry/term #: debmake-doc.en.xml:8156 msgid "" "-r revision, " "--revision revision" msgstr "" #. (itstool) path: listitem/simpara #: debmake-doc.en.xml:8160 msgid "set the Debian package revision." msgstr "" #. (itstool) path: varlistentry/term #: debmake-doc.en.xml:8166 msgid "" "-z extension, " "--targz extension" msgstr "" #. (itstool) path: listitem/simpara #: debmake-doc.en.xml:8170 msgid "" "set the tarball type, extension=(tar.gz|tar.bz2|tar.xz) (alias: z, b, x)" msgstr "" #. (itstool) path: varlistentry/term #: debmake-doc.en.xml:8247 msgid "" "-e foo@example.org, --email " "foo@example.org" msgstr "" #. (itstool) path: listitem/simpara #: debmake-doc.en.xml:8251 msgid "set e-mail address." msgstr "" #. (itstool) path: listitem/simpara #: debmake-doc.en.xml:8254 msgid "" "The default is taken from the value of the environment variable $DEBEMAIL." msgstr "" #. (itstool) path: varlistentry/term #: debmake-doc.en.xml:8258 msgid "" "-f \"firstname lastname\", --fullname " "\"firstname lastname\"" msgstr "" #. (itstool) path: listitem/simpara #: debmake-doc.en.xml:8262 msgid "set the fullname." msgstr "" #. (itstool) path: listitem/simpara #: debmake-doc.en.xml:8265 msgid "" "The default is taken from the value of the environment variable $DEBFULLNAME." msgstr "" #. (itstool) path: varlistentry/term #: debmake-doc.en.xml:8269 msgid "" "-i \"buildtool\", " "--invoke \"buildtool\"" msgstr "" #. (itstool) path: listitem/simpara #: debmake-doc.en.xml:8273 msgid "" "invoke \"buildtool\" at the end of execution. " "buildtool may be “dpkg-" "buildpackage”, “debuild”, " "“pdebuild”, “pdebuild --pbuilder cowbuilder”, etc.." msgstr "" #. (itstool) path: listitem/simpara #: debmake-doc.en.xml:8276 msgid "The default is not to execute any program." msgstr "" #. (itstool) path: varlistentry/term #: debmake-doc.en.xml:8280 msgid "" "-j, --judge" msgstr "" #. (itstool) path: listitem/simpara #: debmake-doc.en.xml:8284 msgid "" "run dpkg-depcheck to judge build " "dependencies and identify file paths. Log files are in the parent directory." msgstr "" #. (itstool) path: listitem/simpara #: debmake-doc.en.xml:8289 msgid "" "package.build-dep.log: Log file for dpkg-depcheck." msgstr "" #. (itstool) path: listitem/simpara #: debmake-doc.en.xml:8294 msgid "" "package.install.log: Log file recording files in the debian/" "tmp directory." msgstr "" #. (itstool) path: varlistentry/term #: debmake-doc.en.xml:8302 msgid "" "-l \"license_file,…" "\", --license \"license_file,…" "\"" msgstr "" #. (itstool) path: listitem/simpara #: debmake-doc.en.xml:8306 msgid "" "add formatted license text to the end of the debian/copyright file holding license scan results" msgstr "" #. (itstool) path: listitem/simpara #: debmake-doc.en.xml:8309 msgid "" "The default is add COPYING and " "LICENSE and license_file needs to list only the additional file names all separated by " "“,”." msgstr "" #. (itstool) path: varlistentry/term #: debmake-doc.en.xml:8313 msgid "" "-m, --" "monoarch" msgstr "" #. (itstool) path: listitem/simpara #: debmake-doc.en.xml:8317 msgid "force packages to be non-multiarch." msgstr "" #. (itstool) path: varlistentry/term #: debmake-doc.en.xml:8323 msgid "" "-o file, --option file" msgstr "" #. (itstool) path: listitem/simpara #: debmake-doc.en.xml:8327 msgid "" "read optional parameters from the file. (This is not " "for everyday use.)" msgstr "" #. (itstool) path: listitem/simpara #: debmake-doc.en.xml:8330 msgid "" "The file is sourced as the Python3 code at the end of " "para.py. For example, the package " "description can be specified by the following file." msgstr "" #. (itstool) path: varlistentry/term #: debmake-doc.en.xml:8343 msgid "" "-q, --" "quitearly" msgstr "" #. (itstool) path: listitem/simpara #: debmake-doc.en.xml:8347 msgid "" "quit early before creating files in the debian/ directory." msgstr "" #. (itstool) path: varlistentry/term #: debmake-doc.en.xml:8353 msgid "" "-s, --spec" msgstr "" #. (itstool) path: listitem/simpara #: debmake-doc.en.xml:8357 msgid "" "use upstream spec (setup.py for Python, etc.) for the package description." msgstr "" #. (itstool) path: varlistentry/term #: debmake-doc.en.xml:8363 msgid "" "-v, --" "version" msgstr "" #. (itstool) path: listitem/simpara #: debmake-doc.en.xml:8367 msgid "show version information." msgstr "" #. (itstool) path: varlistentry/term #: debmake-doc.en.xml:8373 msgid "" "-w \"addon,…\", " "--with \"addon,…\"" msgstr "" #. (itstool) path: listitem/simpara #: debmake-doc.en.xml:8377 msgid "" "add extra arguments to the --with " "option of the dh(1) command as " "addon in debian/rules." msgstr "" #. (itstool) path: listitem/simpara #: debmake-doc.en.xml:8380 msgid "" "The addon values are listed all separated by “,”, e.g., “-w \"python2," "autoreconf\"”." msgstr "" #. (itstool) path: listitem/simpara #: debmake-doc.en.xml:8381 msgid "" "For Autotools based packages, setting autoreconf as addon forces to run “autoreconf -i -v -f” for every package building. " "Otherwise, autotools-dev as " "addon is used as default." msgstr "" #. (itstool) path: listitem/simpara #: debmake-doc.en.xml:8382 msgid "" "For Autotools based packages, if they install Python programs, python2 as addon is needed for packages with " "“compat < 9” since this is non-" "obvious. But for setup.py based " "packages, python2 as addon is not needed since this is obvious and it is automatically set " "for the dh(1) command by the debmake command when it is required." msgstr "" #. (itstool) path: varlistentry/term #: debmake-doc.en.xml:8386 msgid "" "-x n, --extra n" msgstr "" #. (itstool) path: listitem/simpara #: debmake-doc.en.xml:8390 msgid "generate extra configuration files as templates." msgstr "" #. (itstool) path: listitem/simpara #: debmake-doc.en.xml:8393 msgid "" "The number n changes which configuration templates are " "generated." msgstr "" #. (itstool) path: listitem/simpara #: debmake-doc.en.xml:8396 msgid "" "-x0: bare minimum configuration files. " "(default if these files exist already)" msgstr "" #. (itstool) path: listitem/simpara #: debmake-doc.en.xml:8401 msgid "" "-x1: ,, + desirable configuration " "files. (default for new packages)" msgstr "" #. (itstool) path: listitem/simpara #: debmake-doc.en.xml:8406 msgid "" "-x2: ,, + interesting configuration " "files. (recommended for experts, multi binary aware)" msgstr "" #. (itstool) path: listitem/simpara #: debmake-doc.en.xml:8411 msgid "" "-x3: ,, + unusual configuration " "template files with the extra .ex " "suffix to ease their removal. (recommended for new users) To use these as " "configuration files, rename their file names into ones without the .ex suffix." msgstr "" #. (itstool) path: listitem/simpara #: debmake-doc.en.xml:8416 msgid "-x4: ,, + copyright file examples." msgstr "" #. (itstool) path: varlistentry/term #: debmake-doc.en.xml:8424 msgid "" "-y, --yes" msgstr "" #. (itstool) path: listitem/simpara #: debmake-doc.en.xml:8428 msgid "" "“force yes” for all prompts. (without option: “ask [Y/n]”; doubled option: " "“force no”)" msgstr "" #. (itstool) path: varlistentry/term #: debmake-doc.en.xml:8434 msgid "" "-P, --" "pedantic" msgstr "" #. (itstool) path: listitem/simpara #: debmake-doc.en.xml:8438 msgid "pedantically check auto-generated files." msgstr "" #. (itstool) path: varlistentry/term #: debmake-doc.en.xml:8444 msgid "" "-T, --" "tutorial" msgstr "" #. (itstool) path: listitem/simpara #: debmake-doc.en.xml:8448 msgid "output tutorial comment lines in template files." msgstr "" #. (itstool) path: section/title #: debmake-doc.en.xml:8457 msgid "EXAMPLES" msgstr "" #. (itstool) path: section/simpara #: debmake-doc.en.xml:8458 msgid "" "For a well behaving source, you can build a good-for-local-use installable " "single Debian binary package easily with one command. Test install of such a " "package generated in this way offers a good alternative to traditional " "“make install” to the /usr/local directory since the Debian package can be " "removed cleanly by the “dpkg -P " "…” command. Here are some examples of how to build such " "test packages. (These should work in most cases. If the -d does not work, try -t instead.)" msgstr "" #. (itstool) path: section/simpara #: debmake-doc.en.xml:8461 msgid "For a typical C program source tree packaged with autoconf/automake:" msgstr "" #. (itstool) path: listitem/simpara #: debmake-doc.en.xml:8464 msgid "debmake -d -i debuild" msgstr "" #. (itstool) path: section/simpara #: debmake-doc.en.xml:8469 msgid "For a typical python module source tree:" msgstr "" #. (itstool) path: listitem/simpara #: debmake-doc.en.xml:8472 msgid "" "debmake -s -d -b\":python\" -i debuild" msgstr "" #. (itstool) path: section/simpara #: debmake-doc.en.xml:8477 msgid "" "For a typical python module in the package-version.tar.gz archive:" msgstr "" #. (itstool) path: listitem/simpara #: debmake-doc.en.xml:8480 msgid "" "debmake -s -a package-version." "tar.gz -b\":python\" -i debuild" msgstr "" #. (itstool) path: section/simpara #: debmake-doc.en.xml:8485 msgid "" "For a typical perl module in the Package-version.tar.gz archive:" msgstr "" #. (itstool) path: listitem/simpara #: debmake-doc.en.xml:8488 msgid "" "debmake -a Package-version." "tar.gz -b\":perl\" -i debuild" msgstr "" #. (itstool) path: section/title #: debmake-doc.en.xml:8495 msgid "HELPER PACKAGES" msgstr "" #. (itstool) path: section/simpara #: debmake-doc.en.xml:8496 msgid "" "Packaging may require installation of some additional specialty helper " "packages." msgstr "" #. (itstool) path: listitem/simpara #: debmake-doc.en.xml:8499 msgid "" "Python3 program may require the dh-python package." msgstr "" #. (itstool) path: listitem/simpara #: debmake-doc.en.xml:8504 msgid "" "Autotools (Autoconf + Automake) build system may require autotools-dev or dh-" "autoreconf package." msgstr "" #. (itstool) path: listitem/simpara #: debmake-doc.en.xml:8509 msgid "" "Ruby program may require the gem2deb " "package." msgstr "" #. (itstool) path: listitem/simpara #: debmake-doc.en.xml:8514 msgid "" "Java program may require the javahelper " "package." msgstr "" #. (itstool) path: listitem/simpara #: debmake-doc.en.xml:8519 msgid "" "Gnome programs may require the gobject-" "introspection package." msgstr "" #. (itstool) path: listitem/simpara #: debmake-doc.en.xml:8524 msgid "etc." msgstr "" #. (itstool) path: section/title #: debmake-doc.en.xml:8531 msgid "CAVEAT" msgstr "" #. (itstool) path: section/title #: debmake-doc.en.xml:8559 msgid "DEBUG" msgstr "" #. (itstool) path: section/simpara #: debmake-doc.en.xml:8560 msgid "" "The character set in the environment variable " "$DEBUG determines the logging output level." msgstr "" #. (itstool) path: listitem/simpara #: debmake-doc.en.xml:8563 msgid "i: print information" msgstr "" #. (itstool) path: listitem/simpara #: debmake-doc.en.xml:8568 msgid "p: list all global parameters" msgstr "" #. (itstool) path: listitem/simpara #: debmake-doc.en.xml:8573 msgid "" "d: list parsed parameters for all " "binary packages" msgstr "" #. (itstool) path: listitem/simpara #: debmake-doc.en.xml:8578 msgid "" "f: input filename for the copyright scan" msgstr "" #. (itstool) path: listitem/simpara #: debmake-doc.en.xml:8583 msgid "" "y: year/name split of copyright line" msgstr "" #. (itstool) path: listitem/simpara #: debmake-doc.en.xml:8588 msgid "s: line scanner for format_state" msgstr "" #. (itstool) path: listitem/simpara #: debmake-doc.en.xml:8593 msgid "" "b: content_state scan loop: begin-loop" msgstr "" #. (itstool) path: listitem/simpara #: debmake-doc.en.xml:8598 msgid "" "m: content_state scan loop: after regex " "match" msgstr "" #. (itstool) path: listitem/simpara #: debmake-doc.en.xml:8603 msgid "" "e: content_state scan loop: end-loop" msgstr "" #. (itstool) path: listitem/simpara #: debmake-doc.en.xml:8608 msgid "c: print copyright section text" msgstr "" #. (itstool) path: listitem/simpara #: debmake-doc.en.xml:8613 msgid "l: print license section text" msgstr "" #. (itstool) path: listitem/simpara #: debmake-doc.en.xml:8618 msgid "" "a: print author/translator section text" msgstr "" #. (itstool) path: listitem/simpara #: debmake-doc.en.xml:8623 msgid "" "k: sort key for debian/copyright stanza" msgstr "" #. (itstool) path: listitem/simpara #: debmake-doc.en.xml:8628 msgid "" "n: scan result of debian/copyright " "(“debmake -k”)" msgstr "" #. (itstool) path: section/simpara #: debmake-doc.en.xml:8633 msgid "Use this as:" msgstr "" #. (itstool) path: section/title #: debmake-doc.en.xml:8637 msgid "AUTHOR" msgstr "" #. (itstool) path: simpara/ulink #: debmake-doc.en.xml:8638 msgid "osamu@debian.org" msgstr "" #. (itstool) path: section/simpara #: debmake-doc.en.xml:8638 msgid "Copyright © 2014-2015 Osamu Aoki <<_:ulink-1/>>" msgstr "" #. (itstool) path: section/title #: debmake-doc.en.xml:8641 msgid "LICENSE" msgstr "" #. (itstool) path: section/simpara #: debmake-doc.en.xml:8642 msgid "MIT License" msgstr "" #. (itstool) path: section/title #: debmake-doc.en.xml:8645 msgid "SEE ALSO" msgstr "" #. (itstool) path: section/simpara #: debmake-doc.en.xml:8646 msgid "" "The debmake-doc package provides the " "“Guide for Debian Maintainers” in the plain text, HTML and PDF formats under " "the /usr/share/doc/debmake-doc/ " "directory." msgstr "" #. (itstool) path: simpara/ulink #: debmake-doc.en.xml:8647 #, fuzzy msgid "Debian New Maintainers’ Guide" msgstr "Debian メンテナーガイド (debmake使用版)" #. (itstool) path: section/simpara #: debmake-doc.en.xml:8647 msgid "" "Also, please read the original <_:ulink-1/> provided by the the maint-guide package." msgstr "" #. (itstool) path: section/simpara #: debmake-doc.en.xml:8648 msgid "" "See also dpkg-source(1), deb-control(5), debhelper(7), dh(1), dpkg-buildpackage(1), debuild(1), quilt(1), " "dpkg-depcheck(1), pdebuild(1), pbuilder(8), cowbuilder(8), gbp-buildpackage(1), gbp-pq(1), and git-pbuilder(1) manpages." msgstr "" debmake-doc-1.1/po/ja.tex0000664000175000017500000000000012613712701014262 0ustar osamuosamudebmake-doc-1.1/debhello-1.7/0000775000175000017500000000000012613712701014623 5ustar osamuosamudebmake-doc-1.1/debhello-1.7/debian/0000775000175000017500000000000012613712701016045 5ustar osamuosamudebmake-doc-1.1/debhello-1.7/debian/control0000664000175000017500000000113212613712701017445 0ustar osamuosamuSource: debhello Section: devel Priority: extra Maintainer: Osamu Aoki Build-Depends: cmake, debhelper (>=9) Standards-Version: 3.9.6 Homepage: http://anonscm.debian.org/cgit/collab-maint/debmake-doc.git/ Package: debhello Architecture: any Multi-Arch: foreign Depends: ${misc:Depends}, ${shlibs:Depends} Description: example package in the debmake-doc package This is an example package to demonstrate the Debian packaging using the debmake command. . The generated Debian package uses the dh command offered by the debhelper package and the dpkg source format `3.0 (quilt)'. debmake-doc-1.1/debhello-1.7/debian/changelog0000664000175000017500000000462712613712701017730 0ustar osamuosamudebhello (1.7-1) unstable; urgency=low * New upstream release. - C source for an executable. - Makefile generated from CMakeLists.txt . -- Osamu Aoki Mon, 12 Jan 2015 01:07:01 +0900 debhello (1.6-1) unstable; urgency=low * New upstream release. - C source for an executable. - Makefile generated from Makefile.am and configure.ac . -- Osamu Aoki Mon, 12 Jan 2015 01:06:01 +0900 debhello (1.5-1) unstable; urgency=low * New upstream release. - C source for an executable. - Makefile generated from Makefile.in and ./configure . -- Osamu Aoki Mon, 12 Jan 2015 01:05:01 +0900 debhello (1.4-1) unstable; urgency=low * New upstream release. - C source for an executable. - Makefile not supporting $(DESTDIR) and $(prefix) . -- Osamu Aoki Mon, 12 Jan 2015 01:04:01 +0900 debhello (1.3-1) unstable; urgency=low * New upstream release. - Python3 script with the graphical user interface. - Packaged in Python distutils with setup.py . -- Osamu Aoki Mon, 12 Jan 2015 01:03:01 +0900 debhello (1.2-1) unstable; urgency=low * New upstream release. - Python3 script with the command-line interface. - Packaged in Python distutils with setup.py . -- Osamu Aoki Mon, 12 Jan 2015 01:02:01 +0900 debhello (1.1-1) unstable; urgency=low * New upstream release. - POSIX shell script and data with the graphical user interface. - Makefile supporting $(DESTDIR) and $(prefix) . -- Osamu Aoki Mon, 12 Jan 2015 01:01:01 +0900 debhello (1.0-1) unstable; urgency=low * New upstream release. - POSIX shell script and data. - Makefile supporting $(DESTDIR) and $(prefix) . -- Osamu Aoki Mon, 12 Jan 2015 01:00:01 +0900 debhello (0.2-1) unstable; urgency=low * New upstream release. - POSIX shell script and data without Makefile. -- Osamu Aoki Mon, 12 Jan 2015 00:02:01 +0900 debhello (0.1-1) unstable; urgency=low * New upstream release. - Empty content. -- Osamu Aoki Mon, 12 Jan 2015 00:01:01 +0900 debhello (0.0-1) unstable; urgency=low * Initial release of debhello. Closes: #123456 - C source for an executable. - Makefile supporting $(DESTDIR) and $(prefix)=/usr . -- Osamu Aoki Mon, 12 Jan 2015 00:00:01 +0900 debmake-doc-1.1/debhello-1.7/debian/rules0000775000175000017500000000041112613712701017121 0ustar osamuosamu#!/usr/bin/make -f export DH_VERBOSE = 1 export DEB_BUILD_MAINT_OPTIONS = hardening=+all export DEB_CFLAGS_MAINT_APPEND = -Wall -pedantic export DEB_LDFLAGS_MAINT_APPEND = -Wl,--as-needed %: dh $@ override_dh_auto_configure: dh_auto_configure -- -DWITH-MATH=1 debmake-doc-1.1/debhello-1.7/debian/source/0000775000175000017500000000000012613712701017345 5ustar osamuosamudebmake-doc-1.1/debhello-1.7/debian/source/format0000664000175000017500000000001512613712701020554 0ustar osamuosamu3.0 (quilt) debmake-doc-1.1/debhello-1.7/debian/source/local-options0000664000175000017500000000005212613712701022050 0ustar osamuosamuabort-on-upstream-changes unapply-patches debmake-doc-1.1/debhello-1.7/debian/README.Debian0000664000175000017500000000031212613712701020102 0ustar osamuosamudebhello upstream package example This is an example upstream package to demonstrate the Debian packaging using the debmake command. -- Osamu Aoki Sun, 11 Jan 2015 00:00:00 +0000 debmake-doc-1.1/debhello-1.7/debian/compat0000664000175000017500000000000212613712701017243 0ustar osamuosamu9 debmake-doc-1.1/debhello-1.7/debian/watch0000664000175000017500000000022412613712701017074 0ustar osamuosamu# When there is no appropriate upstream URL for uscan, it is # the best to have a watch file without any real content as # this file. See uscan(1). debmake-doc-1.1/debhello-1.7/debian/copyright0000664000175000017500000000241512613712701020002 0ustar osamuosamuFormat: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ Upstream-Name: debhello Source: http://anonscm.debian.org/cgit/collab-maint/debmake-doc.git/tree/base Files: * Copyright: 2015 Osamu Aoki License: MIT Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: . The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. . THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. debmake-doc-1.1/debhello-1.7/src/0000775000175000017500000000000012613712701015412 5ustar osamuosamudebmake-doc-1.1/debhello-1.7/src/config.h.in0000664000175000017500000000017512613712701017440 0ustar osamuosamu/* name of the package author */ #define PACKAGE_AUTHOR "@PACKAGE_AUTHOR@" /* math library support */ #cmakedefine WITH_MATH debmake-doc-1.1/debhello-1.7/src/CMakeLists.txt0000664000175000017500000000067212613712701020157 0ustar osamuosamu# Always define HAVE_CONFIG_H add_definitions(-DHAVE_CONFIG_H) # Interactively define WITH_MATH option(WITH_MATH "Build with math support" OFF) #variable_watch(WITH_MATH) # Generate config.h from config.h.in configure_file( "${CMAKE_CURRENT_SOURCE_DIR}/config.h.in" "${CMAKE_CURRENT_BINARY_DIR}/config.h" ) include_directories("${CMAKE_CURRENT_BINARY_DIR}") add_executable(hello hello.c) install(TARGETS hello RUNTIME DESTINATION bin ) debmake-doc-1.1/debhello-1.7/src/hello.c0000664000175000017500000000045112613712701016661 0ustar osamuosamu#include "config.h" #ifdef WITH_MATH # include #endif #include int main() { printf("Hello, I am " PACKAGE_AUTHOR "!\n"); #ifdef WITH_MATH printf("4.0 * atan(1.0) = %10f8\n", 4.0*atan(1.0)); #else printf("I can't do MATH!\n"); #endif return 0; } debmake-doc-1.1/debhello-1.7/CMakeLists.txt0000664000175000017500000000020312613712701017356 0ustar osamuosamucmake_minimum_required(VERSION 2.8) project(debhello) set(PACKAGE_AUTHOR "Osamu Aoki") add_subdirectory(src) add_subdirectory(man) debmake-doc-1.1/debhello-1.7/man/0000775000175000017500000000000012613712701015376 5ustar osamuosamudebmake-doc-1.1/debhello-1.7/man/CMakeLists.txt0000664000175000017500000000012412613712701020133 0ustar osamuosamuinstall( FILES ${CMAKE_CURRENT_SOURCE_DIR}/hello.1 DESTINATION share/man/man1 ) debmake-doc-1.1/debhello-1.7/man/hello.10000664000175000017500000000067612613712701016574 0ustar osamuosamu.\" Hey, EMACS: -*- nroff -*- .\" (C) Copyright 2015 "Osamu Aoki" , .TH HELLO 1 "2015-01-12" .SH NAME hello \- example executable program .SH SYNOPSIS .B hello .SH DESCRIPTION This is an example executable program to print a short text message to check how the Debian packaging went. .SH OPTIONS None available. .SH SEE ALSO .BR debmake (1) and documentation in the .BR debmake-doc package. debmake-doc-1.1/debhello-1.7/data/0000775000175000017500000000000012613712701015534 5ustar osamuosamudebmake-doc-1.1/debhello-1.7/data/hello.desktop0000664000175000017500000000026512613712701020235 0ustar osamuosamu[Desktop Entry] Name=Hello Name[ja]=こんにちは Comment=Greetings Comment[ja]=挨拶 Type=Application Keywords=hello Exec=hello Terminal=true Icon=hello.png Categories=Utility; debmake-doc-1.1/debhello-1.7/data/hello.png0000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A`9Z[>"I4iK1&!!aD3-"rHhSei KiiaituBEa-0Sd "RfrN$T!J1B,Fj<섑rK1*)cl 2JjP!dA08 mUY8a(Fb fFS:C!AhSGW轣:ھoh pw3,a޵l;;%P*sv\ Vm"b&jƓ6vsРմ$Q*>VXa^YQX=&FSQSCCc_*xxfAgvy.=< \H Ⱥ=+?nyo9Rc!B-3Zl)N()TkSQ)ʉN.BԀ茦i&!6#Ε¡^X8"' (EZɪB/4,k-}_3L~V|{۵~WIPwf<hu\J8jDI 26SSULI03T&p-3k8¬B*󤴀QT ®fƪH8üZXY30;oλ_ g۹}yp/x x ;֎ʿ}چX> L)XN2Bd-Q>i [ UR^<]pʼn@-Z-eYG'FQ*lp+7KfLC¨Ҫe-lZ;`ks}?cu' Qp Oߞ}Ӯ<3%?60m)SB2ʮv]ĶE"livǤ=yq9k9c YETL&?f,I$YC`KJ`悽c w²yM.2m!K;; uZbT_^{G-dE3:)S+U[9 YfH1 bYOC#̍`}XƊJra#63*A*{uK0`{%ؾ'i>| b}aşgO׸ vѼ3f^}SWj n4Qb|6#1lBY肰Ȇ#5U0"%ck̼t Jj*zX(dD&2)1hcImC5 R6:|4 N!"Nw\8qw 微{T ̧qkn)FGuoh%ۡ*mjqG1+?}5t7W;U'P(I7>)bڒEi錾x\iJ%P`au94 M$ב[rͨ1HRFq`;XlccNBp__ 1ӯ[<[WI_֠[G$ ̒Oc1/C+8c$ S'[3Br$ HB`CKmZT>?whſo#S?:q:7WxH4!  :֑2M2kTA'BDR6vR1 B/74>pݯ}k>w[.poGx^ ؼCDnf>o3fzJ4p`ǎ>{h4KPЪI `c<3QdNggmmWζ^/oFx~7p \s{Cb<޲bsdq۶G*qе8|on9tˠ?z1墧}ܻ$;'=1$00j 1ۉuB: gav yyYǀ'yȖ7=dJ6'f{8(U.88|v3ҜX6 R̵[;g{;f䣞Ҷ(/t7[h contents and url attribute of . This is done by the itstool (not po4a). == debian-template/ This directory contains a set of template files used to be copied to debian/* files of many examples of the packaged source tree. The changelog file is for the latest version of the package example which is split up properly for each version and copied accordingly. == debhello-/ Each of these contains an entire set of an example source tree with properly packaged debian/* files. The upstream tarball used in the packaging example are generated by the tar command while excluding the debian/ directory. == debhello--pkg/ These are used to generate the packaging process example. These contain step.cmd files which are executed sequentially and the results are logged to the step.raw files. Since the step.raw files are terminated by , may contain , and may be too long, the filtered step.log files are generated. The is usually 1 and it matches the Debian revison of the binary packages generated. == .stamp The existance of .stamp file in each directory indicates all the files in the directory has been generated via Makefile and up-to-date. This is not commited to the VCS. == asciidoc/ This contain the source text files written in the asciidoc markup. Their extenstion is usually .txt . // vim:se tw=78 sts=4 ts=4 et ai: debmake-doc-1.1/debhello-0.1/0000775000175000017500000000000012525116720014615 5ustar osamuosamudebmake-doc-1.1/debhello-0.1/debian/0000775000175000017500000000000012613712701016036 5ustar osamuosamudebmake-doc-1.1/debhello-0.1/debian/changelog0000664000175000017500000000062512613712701017713 0ustar osamuosamudebhello (0.1-1) unstable; urgency=low * New upstream release. - Empty content. -- Osamu Aoki Mon, 12 Jan 2015 00:01:01 +0900 debhello (0.0-1) unstable; urgency=low * Initial release of debhello. Closes: #123456 - C source for an executable. - Makefile supporting $(DESTDIR) and $(prefix)=/usr . -- Osamu Aoki Mon, 12 Jan 2015 00:00:01 +0900 debmake-doc-1.1/debhello-0.1/debian/source/0000775000175000017500000000000012613712701017336 5ustar osamuosamudebmake-doc-1.1/debhello-0.1/debian/source/format0000664000175000017500000000001512613712701020545 0ustar osamuosamu3.0 (quilt) debmake-doc-1.1/debhello-0.1/debian/source/local-options0000664000175000017500000000005212613712701022041 0ustar osamuosamuabort-on-upstream-changes unapply-patches debmake-doc-1.1/debhello-0.1/debian/README.Debian0000664000175000017500000000031212613712701020073 0ustar osamuosamudebhello upstream package example This is an example upstream package to demonstrate the Debian packaging using the debmake command. -- Osamu Aoki Sun, 11 Jan 2015 00:00:00 +0000 debmake-doc-1.1/debhello-0.1/debian/compat0000664000175000017500000000000212613712701017234 0ustar osamuosamu9 debmake-doc-1.1/debhello-0.1/debian/watch0000664000175000017500000000022412613712701017065 0ustar osamuosamu# When there is no appropriate upstream URL for uscan, it is # the best to have a watch file without any real content as # this file. See uscan(1). debmake-doc-1.1/debhello-0.1/debian/copyright0000664000175000017500000000241512613712701017773 0ustar osamuosamuFormat: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ Upstream-Name: debhello Source: http://anonscm.debian.org/cgit/collab-maint/debmake-doc.git/tree/base Files: * Copyright: 2015 Osamu Aoki License: MIT Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: . The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. . THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. debmake-doc-1.1/bin/0000775000175000017500000000000012613712701013312 5ustar osamuosamudebmake-doc-1.1/bin/dquilt0000775000175000017500000000121112613712701014535 0ustar osamuosamu#!/bin/bash d=. ; while [ ! -d $d/debian -a `readlink -e $d` != / ]; do d=$d/..; done if [ -d $d/debian ]; then # if in Debian packaging tree with unset $QUILT_PATCHES QUILT_PATCHES="debian/patches" QUILT_PATCH_OPTS="--reject-format=unified" QUILT_DIFF_ARGS="-p ab --no-timestamps --no-index --color=auto" QUILT_REFRESH_ARGS="-p ab --no-timestamps --no-index" QUILT_COLORS="diff_hdr=1;32:diff_add=1;34:diff_rem=1;31:diff_hunk=1;33:diff_ctx=35:diff_cctx=33" if ! [ -d $d/debian/patches ]; then mkdir $d/debian/patches; fi fi export QUILT_PATCHES QUILT_PATCH_OPTS QUILT_DIFF_ARGS QUILT_REFRESH_ARGS QUILT_COLORS quilt "$@" debmake-doc-1.1/bin/replace0000664000175000017500000000160212613712701014647 0ustar osamuosamu# SED post processing rule # # These are used to avoid asciidoc formating conflict # s/@@@amp@@@/\&/g s/@@@dlt@@@/\<\</g # bare caracters s/@@@(@@@/{/g s/@@@)@@@/}/g s/@@@ampbare@@@/\&/g s/@@@plus@@@/+/g s/@@@slash@@@/\//g s/@@@grave@@@/`/g s/@@@star@@@/*/g s/@@@hat@@@/^/g s/@@@ul@@@/_/g s/@@@sq@@@/'/g s/@@@dq@@@/"/g s/@@@lt@@@//g # # Fix funny conversion # convert <=> properly to ⇔ via <⇒ s/<→/↔/g s/<⇒/⇔/g # -- with no space following are used for leading command line options s/—\([^ ]\)/--\1/g # # Other possible ones (not used) # #s/@@@quot@@@/"/g #s/@@@bar@@@/|/g #s/@@@bang@@@/!/g #s/@@@hash@@@/#/g #s/@@@doller@@@/$/g #s/@@@percent@@@/%/g #s/@@@tilda@@@/~/g #s/@@@minus@@@/-/g #s/@@@equal@@@/=/g # # manpages s,\([^<]*\)(\([^)]*\)),\1\2,g debmake-doc-1.1/bin/CD0000775000175000017500000000017712613712701013533 0ustar osamuosamu#!/bin/bash # echo command and record pwd for next shell echo " \$ cd $1" echo "$(cd $1 >/dev/null;pwd)" > ${ROOTDIR}/next.dir debmake-doc-1.1/bin/L0000775000175000017500000000012312613712701013427 0ustar osamuosamu#!/bin/bash # echo command and execute for logging echo " \$ $*" eval "$*" exit $? debmake-doc-1.1/debhello-1.6/0000775000175000017500000000000012613712701014622 5ustar osamuosamudebmake-doc-1.1/debhello-1.6/Makefile.am0000664000175000017500000000002212613712701016650 0ustar osamuosamuSUBDIRS = src man debmake-doc-1.1/debhello-1.6/debian/0000775000175000017500000000000012613712701016044 5ustar osamuosamudebmake-doc-1.1/debhello-1.6/debian/control0000664000175000017500000000114212613712701017445 0ustar osamuosamuSource: debhello Section: devel Priority: extra Maintainer: Osamu Aoki Build-Depends: debhelper (>=9), dh-autoreconf Standards-Version: 3.9.6 Homepage: http://anonscm.debian.org/cgit/collab-maint/debmake-doc.git/ Package: debhello Architecture: any Multi-Arch: foreign Depends: ${misc:Depends}, ${shlibs:Depends} Description: example package in the debmake-doc package This is an example package to demonstrate the Debian packaging using the debmake command. . The generated Debian package uses the dh command offered by the debhelper package and the dpkg source format `3.0 (quilt)'. debmake-doc-1.1/debhello-1.6/debian/changelog0000664000175000017500000000427712613712701017730 0ustar osamuosamudebhello (1.6-1) unstable; urgency=low * New upstream release. - C source for an executable. - Makefile generated from Makefile.am and configure.ac . -- Osamu Aoki Mon, 12 Jan 2015 01:06:01 +0900 debhello (1.5-1) unstable; urgency=low * New upstream release. - C source for an executable. - Makefile generated from Makefile.in and ./configure . -- Osamu Aoki Mon, 12 Jan 2015 01:05:01 +0900 debhello (1.4-1) unstable; urgency=low * New upstream release. - C source for an executable. - Makefile not supporting $(DESTDIR) and $(prefix) . -- Osamu Aoki Mon, 12 Jan 2015 01:04:01 +0900 debhello (1.3-1) unstable; urgency=low * New upstream release. - Python3 script with the graphical user interface. - Packaged in Python distutils with setup.py . -- Osamu Aoki Mon, 12 Jan 2015 01:03:01 +0900 debhello (1.2-1) unstable; urgency=low * New upstream release. - Python3 script with the command-line interface. - Packaged in Python distutils with setup.py . -- Osamu Aoki Mon, 12 Jan 2015 01:02:01 +0900 debhello (1.1-1) unstable; urgency=low * New upstream release. - POSIX shell script and data with the graphical user interface. - Makefile supporting $(DESTDIR) and $(prefix) . -- Osamu Aoki Mon, 12 Jan 2015 01:01:01 +0900 debhello (1.0-1) unstable; urgency=low * New upstream release. - POSIX shell script and data. - Makefile supporting $(DESTDIR) and $(prefix) . -- Osamu Aoki Mon, 12 Jan 2015 01:00:01 +0900 debhello (0.2-1) unstable; urgency=low * New upstream release. - POSIX shell script and data without Makefile. -- Osamu Aoki Mon, 12 Jan 2015 00:02:01 +0900 debhello (0.1-1) unstable; urgency=low * New upstream release. - Empty content. -- Osamu Aoki Mon, 12 Jan 2015 00:01:01 +0900 debhello (0.0-1) unstable; urgency=low * Initial release of debhello. Closes: #123456 - C source for an executable. - Makefile supporting $(DESTDIR) and $(prefix)=/usr . -- Osamu Aoki Mon, 12 Jan 2015 00:00:01 +0900 debmake-doc-1.1/debhello-1.6/debian/rules0000775000175000017500000000043512613712701017126 0ustar osamuosamu#!/usr/bin/make -f export DH_VERBOSE = 1 export DEB_BUILD_MAINT_OPTIONS = hardening=+all export DEB_CFLAGS_MAINT_APPEND = -Wall -pedantic export DEB_LDFLAGS_MAINT_APPEND = -Wl,--as-needed %: dh $@ --with autoreconf override_dh_auto_configure: dh_auto_configure -- \ --with-math debmake-doc-1.1/debhello-1.6/debian/source/0000775000175000017500000000000012613712701017344 5ustar osamuosamudebmake-doc-1.1/debhello-1.6/debian/source/format0000664000175000017500000000001512613712701020553 0ustar osamuosamu3.0 (quilt) debmake-doc-1.1/debhello-1.6/debian/source/local-options0000664000175000017500000000005212613712701022047 0ustar osamuosamuabort-on-upstream-changes unapply-patches debmake-doc-1.1/debhello-1.6/debian/README.Debian0000664000175000017500000000031212613712701020101 0ustar osamuosamudebhello upstream package example This is an example upstream package to demonstrate the Debian packaging using the debmake command. -- Osamu Aoki Sun, 11 Jan 2015 00:00:00 +0000 debmake-doc-1.1/debhello-1.6/debian/compat0000664000175000017500000000000212613712701017242 0ustar osamuosamu9 debmake-doc-1.1/debhello-1.6/debian/watch0000664000175000017500000000022412613712701017073 0ustar osamuosamu# When there is no appropriate upstream URL for uscan, it is # the best to have a watch file without any real content as # this file. See uscan(1). debmake-doc-1.1/debhello-1.6/debian/copyright0000664000175000017500000000241512613712701020001 0ustar osamuosamuFormat: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ Upstream-Name: debhello Source: http://anonscm.debian.org/cgit/collab-maint/debmake-doc.git/tree/base Files: * Copyright: 2015 Osamu Aoki License: MIT Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: . The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. . THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. debmake-doc-1.1/debhello-1.6/src/0000775000175000017500000000000012613712701015411 5ustar osamuosamudebmake-doc-1.1/debhello-1.6/src/Makefile.am0000664000175000017500000000005512613712701017445 0ustar osamuosamubin_PROGRAMS = hello hello_SOURCES = hello.c debmake-doc-1.1/debhello-1.6/src/hello.c0000664000175000017500000000045112613712701016660 0ustar osamuosamu#include "config.h" #ifdef WITH_MATH # include #endif #include int main() { printf("Hello, I am " PACKAGE_AUTHOR "!\n"); #ifdef WITH_MATH printf("4.0 * atan(1.0) = %10f8\n", 4.0*atan(1.0)); #else printf("I can't do MATH!\n"); #endif return 0; } debmake-doc-1.1/debhello-1.6/configure.ac0000664000175000017500000000251612613712701017114 0ustar osamuosamu# -*- Autoconf -*- # Process this file with autoconf to produce a configure script. AC_PREREQ([2.69]) AC_INIT([debhello],[2.1],[foo@example.org]) AC_CONFIG_SRCDIR([src/hello.c]) AC_CONFIG_HEADERS([config.h]) echo "Standard customization chores" AC_CONFIG_AUX_DIR([build-aux]) AM_INIT_AUTOMAKE([foreign]) # Add #define PACKAGE_AUTHOR ... in config.h with a comment AC_DEFINE(PACKAGE_AUTHOR, ["Osamu Aoki"], [Define PACKAGE_AUTHOR]) echo "Add --with-math option functionality to ./configure" AC_ARG_WITH([math], [AS_HELP_STRING([--with-math], [compile with math library @<:@default=yes@:>@])], [], [with_math="yes"] ) echo "==== withval := \"$withval\"" echo "==== with_math := \"$with_math\"" # m4sh if-else construct AS_IF([test "x$with_math" != "xno"],[ echo "==== Check include: math.h" AC_CHECK_HEADER(math.h,[],[ AC_MSG_ERROR([Couldn't find math.h.] ) ]) echo "==== Check library: libm" AC_SEARCH_LIBS(atan, [m]) #AC_CHECK_LIB(m, atan) echo "==== Build with LIBS := \"$LIBS\"" AC_DEFINE(WITH_MATH, [1], [Build with the math library]) ],[ echo "==== Skip building with math.h." AH_TEMPLATE(WITH_MATH, [Build without the math library]) ]) # Checks for programs. AC_PROG_CC AC_CONFIG_FILES([Makefile man/Makefile src/Makefile]) AC_OUTPUT debmake-doc-1.1/debhello-1.6/man/0000775000175000017500000000000012613712701015375 5ustar osamuosamudebmake-doc-1.1/debhello-1.6/man/Makefile.am0000664000175000017500000000003012613712701017422 0ustar osamuosamudist_man_MANS = hello.1 debmake-doc-1.1/debhello-1.6/man/hello.10000664000175000017500000000067612613712701016573 0ustar osamuosamu.\" Hey, EMACS: -*- nroff -*- .\" (C) Copyright 2015 "Osamu Aoki" , .TH HELLO 1 "2015-01-12" .SH NAME hello \- example executable program .SH SYNOPSIS .B hello .SH DESCRIPTION This is an example executable program to print a short text message to check how the Debian packaging went. .SH OPTIONS None available. .SH SEE ALSO .BR debmake (1) and documentation in the .BR debmake-doc package. debmake-doc-1.1/debhello-1.6/data/0000775000175000017500000000000012613712701015533 5ustar osamuosamudebmake-doc-1.1/debhello-1.6/data/hello.desktop0000664000175000017500000000026512613712701020234 0ustar osamuosamu[Desktop Entry] Name=Hello Name[ja]=こんにちは Comment=Greetings Comment[ja]=挨拶 Type=Application Keywords=hello Exec=hello Terminal=true Icon=hello.png Categories=Utility; debmake-doc-1.1/debhello-1.6/data/hello.png0000664000175000017500000002225412613712701017351 0ustar osamuosamuPNG  IHDR@@iqbKGD pHYs  tIME(/SptEXtCommentCreated with GIMPW IDATxڽkYu[\9{zgg !gpb+JC8R)URv2iJ QNYX)\a┉U)d2 `0@\zOޞٷb, ~/ok%7 .w G9S&宴M+SR=_V[[i+1\q>{;OxgER?0śi+!YWcHׅr%o!e8y&eJw(sC`Yh+=|\[Bw`~6/}8:(oվ WdLY n馥^7pPo e-TjpB7V;ei zzg3=<|?X/uRayaot n/ ̂gWFOYܸ;.Ǎ5Y64f́lR(Tok@q9͟dotx㱓xUڱ+DJɒؑ&Qn!%-]@i b ;'IvBZΓ0HgFcT?c۲` fI, Ȼ 81L yjڣ;#7Y {-q?as+˿W߰M+bHUBVT(SƔBm`Wrdh%NJ Nre XMݨFO5Zf:c'K:s@6 c-a/ٹQS1ӦHN+}Ɔ_:|확$~pac35vuGQNJ :dUM;ƨ*$*)Wz.UJ48OԖ$3"K=p7M sjIOAKEe*Z*p~oforMw;G/~1?GOX~ [=aB-Fn ut(A$eOW & iMB5hHyΐrM;Zmx^[NtN U tE@ TBȴ]'nzGh/;?8<$}r _$׈fb*Q SQbQR ɡCCZdSDH)VfG (yJLCb̙T NÔ䖒ziN1s&]pyk%pRZbUA V3%#le>}-(yw |ptz -ϼ3r11$qL* LEE@l0 d@4 @N)Q!-ztjCtP[v5pMxV0U(ZP)@<ƲXJ7+d{?]+^q\'p)_}kOK4)MnƖa e ecK[+HYA^e**X qSH+`@ieN3FZV81 *(䤔\(%SpOGՖ@3-{|g3so˱dpä!E-h=֑P.7`to0Z$+Ct È"T hS yh,&\8XD %OIJ%j%1MI: kEE$l18j L&t2HmЬN1^fL7~4guV KG:^Te]1m,!C{{s Oi0L*  Gp lBB9PBH̋eiC9 dF %SB2` XLhmD{D[.uZ9)~$_O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v3ҜX6 R̵[;g{;f䣞Ҷ(/t7[h/dev/null cd ${TESTDIR} L "tar -xzmf ${PROJECT}.tar.gz" L "tree" debmake-doc-1.1/debhello-0.0-pkg3/step202.cmd0000775000175000017500000000004112613712701017337 0ustar osamuosamuL "cat ${PROJECT}/debian/rules" debmake-doc-1.1/debhello-0.0-pkg3/step701.cmd0000775000175000017500000000032612613712701017351 0ustar osamuosamuFILE=$(ls *.tar.?z | \ grep -v 'orig.tar.gz' |\ grep -v 'orig.tar.xz' ) for f in $FILE ; do EXT=${f##*.} if [ "$EXT" = "gz" ]; then L "tar -tzf $f" elif [ "$EXT" = "xz" ]; then L "tar --xz -tf $f" else : fi done debmake-doc-1.1/debhello-0.0-pkg3/step299.cmd0000775000175000017500000000012012613712701017355 0ustar osamuosamu# make deb CD .. cd .. L "cp -a ${TESTDIR} debmake" CD ${TESTDIR} cd ${TESTDIR} debmake-doc-1.1/debhello-0.0-pkg3/step204.cmd0000775000175000017500000000004512613712701017345 0ustar osamuosamuL "cat ${PROJECT}/debian/copyright" debmake-doc-1.1/debhello-0.0-pkg3/step600.cmd0000775000175000017500000000003312613712701017342 0ustar osamuosamuCD .. cd .. L "tree -FL 1" debmake-doc-1.1/debhello-0.0-pkg3/step102.cmd0000775000175000017500000000003512613712701017341 0ustar osamuosamuL "cat ${PROJECT}/Makefile" debmake-doc-1.1/debhello-0.0-pkg3/step499.cmd0000775000175000017500000000012012613712701017357 0ustar osamuosamu# make deb CD .. cd .. L "cp -a ${TESTDIR} package" CD ${TESTDIR} cd ${TESTDIR} debmake-doc-1.1/debhello-0.0-pkg3/step303.cmd0000775000175000017500000000027512613712701017352 0ustar osamuosamuecho " \$ vim ${PROJECT}/debian/copyright" echo " ... hack, hack, hack, ..." cp -f ${COMMONDIR}/${PROJECT}/debian/copyright ${PROJECT}/debian/copyright L "cat ${PROJECT}/debian/copyright" debmake-doc-1.1/debhello-0.0-pkg3/step400.cmd0000775000175000017500000000003312613712701017340 0ustar osamuosamuL "tree ${PROJECT}/debian" debmake-doc-1.1/debhello-0.0-pkg3/step201.cmd0000775000175000017500000000002512613712701017340 0ustar osamuosamuCD .. cd .. L "tree" debmake-doc-1.1/debhello-0.0-pkg3/step304.cmd0000775000175000017500000000107212613712701017347 0ustar osamuosamuCD ${PROJECT} cd ${PROJECT} : > debian/patches/series L "dquilt new 000-prefix-usr.patch" L "dquilt add Makefile" echo " ... hack, hack, hack, ..." sed -i -e 's/\/usr\/local/\/usr/' Makefile L "head -1 Makefile" L "dquilt refresh" echo " \$ dquilt header -e --dep3" dquilt header -a >/dev/null < EOF echo " ... hack, hack, hack, ..." echo "Replaced header of patch 000-prefix-usr.patch" L "dquilt pop -a" L "cat debian/patches/series" L "cat debian/patches/000-prefix-usr.patch" CD .. cd .. debmake-doc-1.1/debhello-0.0-pkg3/step203.cmd0000775000175000017500000000004312613712701017342 0ustar osamuosamuL "cat ${PROJECT}/debian/control" debmake-doc-1.1/debhello-0.0-pkg3/step702.cmd0000775000175000017500000000013412613712701017347 0ustar osamuosamufor deb in *.deb; do L "dpkg -f ${deb} pre-depends depends recommends conflics breaks" done debmake-doc-1.1/debhello-0.0-pkg3/step200.cmd0000775000175000017500000000007612613712701017345 0ustar osamuosamu# Debianize (initial) CD ${PROJECT} cd ${PROJECT} L "debmake" debmake-doc-1.1/debhello-0.0-pkg3/step302.cmd0000775000175000017500000000026512613712701017350 0ustar osamuosamuecho " \$ vim ${PROJECT}/debian/control" echo " ... hack, hack, hack, ..." cp -f ${COMMONDIR}/${PROJECT}/debian/control ${PROJECT}/debian/control L "cat ${PROJECT}/debian/control" debmake-doc-1.1/debhello-0.0-pkg3/step700.cmd0000775000175000017500000000016012613712701017344 0ustar osamuosamufor deb in *.deb; do L "dpkg -c ${deb}" | sed -e 's/root.root...............-..-.. ..:../root\/root ... /' done debmake-doc-1.1/debhello-0.0-pkg3/step305.cmd0000775000175000017500000000014112613712701017344 0ustar osamuosamuL "cat ${PROJECT}/debian/patches/series" L "cat ${PROJECT}/debian/patches/000-prefix-usr.patch" debmake-doc-1.1/debhello-0.0-pkg3/step101.cmd0000775000175000017500000000004012613712701017334 0ustar osamuosamuL "cat ${PROJECT}/src/hello.c" debmake-doc-1.1/debhello-0.0-pkg3/step500.cmd0000775000175000017500000000011512613712701017342 0ustar osamuosamu# make deb CD ${PROJECT} cd ${PROJECT} echo " \$ debuild" debuild -i -us -uc debmake-doc-1.1/debhello-1.2-pkg1/0000775000175000017500000000000012613712701015456 5ustar osamuosamudebmake-doc-1.1/debhello-1.2-pkg1/step301.cmd0000775000175000017500000000025512613712701017347 0ustar osamuosamuecho " \$ vim ${PROJECT}/debian/rules" echo " ... hack, hack, hack, ..." cp -f ${COMMONDIR}/${PROJECT}/debian/rules ${PROJECT}/debian/rules L "cat ${PROJECT}/debian/rules" debmake-doc-1.1/debhello-1.2-pkg1/step000.cmd0000775000175000017500000000037512613712701017346 0ustar osamuosamu# Fake download session echo " \$ wget http://www.example.org/download/${PROJECT}.tar.gz" echo " ..." # Reality behind scene cp -a ${COMMONDIR}/${PROJECT}.${TGZ} ${TESTDIR} CD ${TESTDIR} >/dev/null cd ${TESTDIR} L "tar -xzmf ${PROJECT}.tar.gz" L "tree" debmake-doc-1.1/debhello-1.2-pkg1/step202.cmd0000775000175000017500000000004312613712701017342 0ustar osamuosamuL "cat ${PROJECT}/debian/control" debmake-doc-1.1/debhello-1.2-pkg1/step701.cmd0000775000175000017500000000032612613712701017352 0ustar osamuosamuFILE=$(ls *.tar.?z | \ grep -v 'orig.tar.gz' |\ grep -v 'orig.tar.xz' ) for f in $FILE ; do EXT=${f##*.} if [ "$EXT" = "gz" ]; then L "tar -tzf $f" elif [ "$EXT" = "xz" ]; then L "tar --xz -tf $f" else : fi done debmake-doc-1.1/debhello-1.2-pkg1/step299.cmd0000775000175000017500000000012012613712701017356 0ustar osamuosamu# make deb CD .. cd .. L "cp -a ${TESTDIR} debmake" CD ${TESTDIR} cd ${TESTDIR} debmake-doc-1.1/debhello-1.2-pkg1/step600.cmd0000775000175000017500000000003312613712701017343 0ustar osamuosamuCD .. cd .. L "tree -FL 1" debmake-doc-1.1/debhello-1.2-pkg1/step102.cmd0000775000175000017500000000004712613712701017345 0ustar osamuosamuL "cat ${PROJECT}/data/hello.desktop" debmake-doc-1.1/debhello-1.2-pkg1/step499.cmd0000775000175000017500000000012012613712701017360 0ustar osamuosamu# make deb CD .. cd .. L "cp -a ${TESTDIR} package" CD ${TESTDIR} cd ${TESTDIR} debmake-doc-1.1/debhello-1.2-pkg1/step400.cmd0000775000175000017500000000003312613712701017341 0ustar osamuosamuL "tree ${PROJECT}/debian" debmake-doc-1.1/debhello-1.2-pkg1/step201.cmd0000775000175000017500000000002512613712701017341 0ustar osamuosamuCD .. cd .. L "tree" debmake-doc-1.1/debhello-1.2-pkg1/step702.cmd0000775000175000017500000000013412613712701017350 0ustar osamuosamufor deb in *.deb; do L "dpkg -f ${deb} pre-depends depends recommends conflics breaks" done debmake-doc-1.1/debhello-1.2-pkg1/step200.cmd0000775000175000017500000000010612613712701017340 0ustar osamuosamu# Debianize (initial) CD ${PROJECT} cd ${PROJECT} L "debmake -b':sh'" debmake-doc-1.1/debhello-1.2-pkg1/step302.cmd0000775000175000017500000000026512613712701017351 0ustar osamuosamuecho " \$ vim ${PROJECT}/debian/control" echo " ... hack, hack, hack, ..." cp -f ${COMMONDIR}/${PROJECT}/debian/control ${PROJECT}/debian/control L "cat ${PROJECT}/debian/control" debmake-doc-1.1/debhello-1.2-pkg1/step700.cmd0000775000175000017500000000016012613712701017345 0ustar osamuosamufor deb in *.deb; do L "dpkg -c ${deb}" | sed -e 's/root.root...............-..-.. ..:../root\/root ... /' done debmake-doc-1.1/debhello-1.2-pkg1/step101.cmd0000775000175000017500000000004212613712701017337 0ustar osamuosamuL "cat ${PROJECT}/scripts/hello" debmake-doc-1.1/debhello-1.2-pkg1/step500.cmd0000775000175000017500000000011512613712701017343 0ustar osamuosamu# make deb CD ${PROJECT} cd ${PROJECT} echo " \$ debuild" debuild -i -us -uc debmake-doc-1.1/debhello-1.0-pkg1/0000775000175000017500000000000012613712701015454 5ustar osamuosamudebmake-doc-1.1/debhello-1.0-pkg1/step301.cmd0000775000175000017500000000025512613712701017345 0ustar osamuosamuecho " \$ vim ${PROJECT}/debian/rules" echo " ... hack, hack, hack, ..." cp -f ${COMMONDIR}/${PROJECT}/debian/rules ${PROJECT}/debian/rules L "cat ${PROJECT}/debian/rules" debmake-doc-1.1/debhello-1.0-pkg1/step000.cmd0000775000175000017500000000037512613712701017344 0ustar osamuosamu# Fake download session echo " \$ wget http://www.example.org/download/${PROJECT}.tar.gz" echo " ..." # Reality behind scene cp -a ${COMMONDIR}/${PROJECT}.${TGZ} ${TESTDIR} CD ${TESTDIR} >/dev/null cd ${TESTDIR} L "tar -xzmf ${PROJECT}.tar.gz" L "tree" debmake-doc-1.1/debhello-1.0-pkg1/step202.cmd0000775000175000017500000000004112613712701017336 0ustar osamuosamuL "cat ${PROJECT}/debian/rules" debmake-doc-1.1/debhello-1.0-pkg1/step701.cmd0000775000175000017500000000032612613712701017350 0ustar osamuosamuFILE=$(ls *.tar.?z | \ grep -v 'orig.tar.gz' |\ grep -v 'orig.tar.xz' ) for f in $FILE ; do EXT=${f##*.} if [ "$EXT" = "gz" ]; then L "tar -tzf $f" elif [ "$EXT" = "xz" ]; then L "tar --xz -tf $f" else : fi done debmake-doc-1.1/debhello-1.0-pkg1/step299.cmd0000775000175000017500000000012012613712701017354 0ustar osamuosamu# make deb CD .. cd .. L "cp -a ${TESTDIR} debmake" CD ${TESTDIR} cd ${TESTDIR} debmake-doc-1.1/debhello-1.0-pkg1/step600.cmd0000775000175000017500000000003312613712701017341 0ustar osamuosamuCD .. cd .. L "tree -FL 1" debmake-doc-1.1/debhello-1.0-pkg1/step499.cmd0000775000175000017500000000012012613712701017356 0ustar osamuosamu# make deb CD .. cd .. L "cp -a ${TESTDIR} package" CD ${TESTDIR} cd ${TESTDIR} debmake-doc-1.1/debhello-1.0-pkg1/step400.cmd0000775000175000017500000000003312613712701017337 0ustar osamuosamuL "tree ${PROJECT}/debian" debmake-doc-1.1/debhello-1.0-pkg1/step201.cmd0000775000175000017500000000002512613712701017337 0ustar osamuosamuCD .. cd .. L "tree" debmake-doc-1.1/debhello-1.0-pkg1/step702.cmd0000775000175000017500000000013412613712701017346 0ustar osamuosamufor deb in *.deb; do L "dpkg -f ${deb} pre-depends depends recommends conflics breaks" done debmake-doc-1.1/debhello-1.0-pkg1/step200.cmd0000775000175000017500000000010612613712701017336 0ustar osamuosamu# Debianize (initial) CD ${PROJECT} cd ${PROJECT} L "debmake -b':sh'" debmake-doc-1.1/debhello-1.0-pkg1/step700.cmd0000775000175000017500000000016012613712701017343 0ustar osamuosamufor deb in *.deb; do L "dpkg -c ${deb}" | sed -e 's/root.root...............-..-.. ..:../root\/root ... /' done debmake-doc-1.1/debhello-1.0-pkg1/step101.cmd0000775000175000017500000000003512613712701017337 0ustar osamuosamuL "cat ${PROJECT}/Makefile" debmake-doc-1.1/debhello-1.0-pkg1/step500.cmd0000775000175000017500000000011512613712701017341 0ustar osamuosamu# make deb CD ${PROJECT} cd ${PROJECT} echo " \$ debuild" debuild -i -us -uc debmake-doc-1.1/Makefile.pkg0000664000175000017500000001001712613712701014761 0ustar osamuosamu# Build all Debian packaging examples # Copyright (C) 2015 Osamu Aoki include Makefile.common ####################################################################### pkg: -mkdir -p $(TMPDIR) #$(MAKE) prep # prepare source tree for consistent changelog etc. $(MAKE) tars # make upstream tar files $(MAKE) makes # add Makefile $(MAKE) stamps # build source .PHONY: pkg ####################################################################### # Preparing upstream sources (prep, tars) ARCH := $(shell dpkg-architecture -q DEB_TARGET_ARCH) VERSIONS := $(shell ls -d debhello-* | \ egrep -e '^debhello-[0-9]+\.[0-9]+$$' | \ sed -e 's/^debhello-//' ) TARS := $(addsuffix .tar.gz, $(addprefix debhello-,$(VERSIONS))) ORIGTARS := $(addsuffix .orig.tar.gz, $(addprefix debhello_,$(VERSIONS))) CHANGELOGS := $(addsuffix /debian/changelog, $(addprefix debhello-,$(VERSIONS))) COPYRIGHTS := $(addsuffix /debian/copyright, $(addprefix debhello-,$(VERSIONS))) COMPATS := $(addsuffix /debian/compat, $(addprefix debhello-,$(VERSIONS))) READMES := $(addsuffix /debian/README.Debian, $(addprefix debhello-,$(VERSIONS))) WATCHS := $(addsuffix /debian/watch, $(addprefix debhello-,$(VERSIONS))) SRCF := $(addsuffix /debian/source/format, $(addprefix debhello-,$(VERSIONS))) SRCL := $(addsuffix /debian/source/local-options, $(addprefix debhello-,$(VERSIONS))) CHANGES := $(addsuffix -1_$(ARCH).changes, $(addprefix debhello_,$(VERSIONS))) WRAPS := $(addprefix debhello-,$(VERSIONS)) prep: $(CHANGELOGS) $(COPYRIGHTS) $(COMPATS) $(READMES) $(WATCHS) $(SRCF) $(SRCL) # clean whitespaces in line tail (exclude binary files) -find . -type d \ -regex ".*/\.git" -prune -o \ -regex ".*/png" -prune -o \ -type f -exec sed -i -e 's/[ \t]*$$//' '{}' \; $(MAKE) $(WRAPS) tars: $(TARS) $(ORIGTARS) .PHONY: prep tars ####################################################################### # Mock user sessions (makes, stamps) CMDS := $(wildcard debhello-*/step000.cmd) MAKEFILEX := $(sort $(subst step000.cmd,Makefile, $(CMDS))) # MAKEFILES is the reserved variable for make !!! STAMPX := $(sort $(subst step000.cmd,.stamp, $(CMDS))) CMDSCL := $(sort $(subst /step000.cmd,-clean, $(CMDS))) CMDSDCL := $(sort $(subst /step000.cmd,-distclean, $(CMDS))) makes: $(MAKEFILEX) stamps: $(STAMPX) clean:: $(CMDSCL) -rm -f *.tar.xz *.tar.gz -rm -f *.dsc *.changes *.build *.deb *~ distclean:: $(CMDSDCL) .PHONY: makes stamps clean distclean ####################################################################### # Build rules debhello-%/debian/changelog: debian-template/changelog mkdir -p debhello-$*/debian sed -ne '/debhello ($*-1/,$$p' <$^ >$@ debhello-%/debian/copyright: debian-template/copyright mkdir -p debhello-$*/debian cp -f $^ $@ debhello-%/debian/compat: debian-template/compat mkdir -p debhello-$*/debian cp -f $^ $@ debhello-%/debian/README.Debian: debian-template/README.Debian mkdir -p debhello-$*/debian cp -f $^ $@ debhello-%/debian/watch: debian-template/watch mkdir -p debhello-$*/debian cp -f $^ $@ debhello-%/debian/source/format: debian-template/source/format mkdir -p debhello-$*/debian/source cp -f $^ $@ debhello-%/debian/source/local-options: debian-template/source/local-options mkdir -p debhello-$*/debian/source cp -f $^ $@ debhello-%-wrap: cd debhello-$* ; \ wrap-and-sort ####################################################################### debhello-%.tar.gz: tar --exclude=debhello-$*/debian -cvzf $@ debhello-$*/ debhello_%.orig.tar.gz: debhello-%.tar.gz ln -sf $^ $@ ####################################################################### debhello-%/Makefile: debian-template/Makefile ln -sf ../$^ $@ debhello-%/.stamp: debhello-%/Makefile $(MAKE) -C debhello-$* touch $@ ####################################################################### debhello-%-clean: if [ -e debhello-$*/Makefile ]; then \ $(MAKE) -C debhello-$* clean ; \ fi -rm -f debhello-$*/.stamp debhello-%-distclean: if [ -e debhello-$*/Makefile ]; then \ $(MAKE) -C debhello-$* distclean ;\ rm -f debhello-$*/Makefile ; \ fi -rm -f debhello-$*/.stamp debmake-doc-1.1/debhello-1.1/0000775000175000017500000000000012613712701014615 5ustar osamuosamudebmake-doc-1.1/debhello-1.1/MANIFEST.in0000664000175000017500000000004412613712701016351 0ustar osamuosamuinclude MANIFEST.in include LICENSE debmake-doc-1.1/debhello-1.1/debian/0000775000175000017500000000000012613712701016037 5ustar osamuosamudebmake-doc-1.1/debhello-1.1/debian/hello.desktop0000664000175000017500000000026512613712701020540 0ustar osamuosamu[Desktop Entry] Name=Hello Name[ja]=こんにちは Comment=Greetings Comment[ja]=挨拶 Type=Application Keywords=hello Exec=hello Terminal=true Icon=hello.png Categories=Utility; debmake-doc-1.1/debhello-1.1/debian/control0000664000175000017500000000120612613712701017441 0ustar osamuosamuSource: debhello Section: devel Priority: extra Maintainer: Osamu Aoki Build-Depends: debhelper (>=9), dh-python, python3-all Standards-Version: 3.9.6 Homepage: http://anonscm.debian.org/cgit/collab-maint/debmake-doc.git/ X-Python3-Version: >= 3.2 Package: debhello Architecture: all Multi-Arch: foreign Depends: ${misc:Depends}, ${python3:Depends} Description: example package in the debmake-doc package This is an example package to demonstrate the Debian packaging using the debmake command. . The generated Debian package uses the dh command offered by the debhelper package and the dpkg source format `3.0 (quilt)'. debmake-doc-1.1/debhello-1.1/debian/changelog0000664000175000017500000000206012613712701017707 0ustar osamuosamudebhello (1.1-1) unstable; urgency=low * New upstream release. - POSIX shell script and data with the graphical user interface. - Makefile supporting $(DESTDIR) and $(prefix) . -- Osamu Aoki Mon, 12 Jan 2015 01:01:01 +0900 debhello (1.0-1) unstable; urgency=low * New upstream release. - POSIX shell script and data. - Makefile supporting $(DESTDIR) and $(prefix) . -- Osamu Aoki Mon, 12 Jan 2015 01:00:01 +0900 debhello (0.2-1) unstable; urgency=low * New upstream release. - POSIX shell script and data without Makefile. -- Osamu Aoki Mon, 12 Jan 2015 00:02:01 +0900 debhello (0.1-1) unstable; urgency=low * New upstream release. - Empty content. -- Osamu Aoki Mon, 12 Jan 2015 00:01:01 +0900 debhello (0.0-1) unstable; urgency=low * Initial release of debhello. Closes: #123456 - C source for an executable. - Makefile supporting $(DESTDIR) and $(prefix)=/usr . -- Osamu Aoki Mon, 12 Jan 2015 00:00:01 +0900 debmake-doc-1.1/debhello-1.1/debian/hello.10000664000175000017500000000062712613712701017231 0ustar osamuosamu.\" Hey, EMACS: -*- nroff -*- .\" (C) Copyright 2015 "Osamu Aoki" , .TH HELLO 1 "2015-01-12" .SH NAME hello \- example executable program .SH SYNOPSIS .B hello .SH DESCRIPTION This is an example executable program to print a short text message. .SH OPTIONS None available. .SH SEE ALSO .BR debmake (1) and documentation in the .BR debmake-doc package. debmake-doc-1.1/debhello-1.1/debian/hello.png0000664000175000017500000002225412613712701017655 0ustar osamuosamuPNG  IHDR@@iqbKGD pHYs  tIME(/SptEXtCommentCreated with GIMPW IDATxڽkYu[\9{zgg !gpb+JC8R)URv2i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oh pw3,a޵l;;%P*sv\ Vm"b&jƓ6vsРմ$Q*>VXa^YQX=&FSQSCCc_*xxfAgvy.=< \H Ⱥ=+?nyo9Rc!B-3Zl)N()TkSQ)ʉN.BԀ茦i&!6#Ε¡^X8"' (EZɪB/4,k-}_3L~V|{۵~WIPwf<hu\J8jDI 26SSULI03T&p-3k8¬B*󤴀QT ®fƪH8üZXY30;oλ_ g۹}yp/x x ;֎ʿ}چX> L)XN2Bd-Q>i [ UR^<]pʼn@-Z-eYG'FQ*lp+7KfLC¨Ҫe-lZ;`ks}?cu' Qp Oߞ}Ӯ<3%?60m)SB2ʮv]ĶE"livǤ=yq9k9c YETL&?f,I$YC`KJ`悽c w²yM.2m!K;; uZbT_^{G-dE3:)S+U[9 YfH1 bYOC#̍`}XƊJra#63*A*{uK0`{%ؾ'i>| b}aşgO׸ vѼ3f^}SWj n4Qb|6#1lBY肰Ȇ#5U0"%ck̼t Jj*zX(dD&2)1hcImC5 R6:|4 N!"Nw\8qw 微{T ̧qkn)FGuoh%ۡ*mjqG1+?}5t7W;U'P(I7>)bڒEi錾x\iJ%P`au94 M$ב[rͨ1HRFq`;XlccNBp__ 1ӯ[<[WI_֠[G$ ̒Oc1/C+8c$ S'[3Br$ HB`CKmZT>?whſo#S?:q:7WxH4!  :֑2M2kTA'BDR6vR1 B/74>pݯ}k>w[.poGx^ ؼCDnf>o3fzJ4p`ǎ>{h4KPЪI `c<3QdNggmmWζ^/oFx~7p \s{Cb<޲bsdq۶G*qе8|on9tˠ?z1墧}ܻ$;'=1$00j 1ۉuB: gav yyYǀ'yȖ7=dJ6'f{8(U.88|v3ҜX6 R̵[;g{;f䣞Ҷ(/t7[h Sun, 11 Jan 2015 00:00:00 +0000 debmake-doc-1.1/debhello-1.1/debian/compat0000664000175000017500000000000212613712701017235 0ustar osamuosamu9 debmake-doc-1.1/debhello-1.1/debian/install0000664000175000017500000000016112613712701017426 0ustar osamuosamudebian/hello.1 usr/share/man/man1 debian/hello.desktop usr/share/applications debian/hello.png usr/share/pixmaps debmake-doc-1.1/debhello-1.1/debian/watch0000664000175000017500000000022412613712701017066 0ustar osamuosamu# When there is no appropriate upstream URL for uscan, it is # the best to have a watch file without any real content as # this file. See uscan(1). debmake-doc-1.1/debhello-1.1/debian/copyright0000664000175000017500000000241512613712701017774 0ustar osamuosamuFormat: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ Upstream-Name: debhello Source: http://anonscm.debian.org/cgit/collab-maint/debmake-doc.git/tree/base Files: * Copyright: 2015 Osamu Aoki License: MIT Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: . The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. . THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. debmake-doc-1.1/debhello-1.1/LICENSE0000664000175000017500000000217712613712701015631 0ustar osamuosamuLicense: All files in this archive are licensed under the MIT License as below. Copyright 2015 Osamu Aoki Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. debmake-doc-1.1/debhello-1.1/PKG-INFO0000664000175000017500000000107712613712701015717 0ustar osamuosamuMetadata-Version: 1.1 Name: hello Version: 0.2 Summary: Hello Python Home-page: http://people.debian.org/~osamu/ Author: Osamu Aoki Author-email: osamu@debian.org License: MIT License Description: Hello Python program. Platform: POSIX Classifier: Development Status :: 3 - Alpha Classifier: Environment :: Console Classifier: Intended Audience :: Developers Classifier: License :: OSI Approved :: MIT License Classifier: Natural Language :: English Classifier: Operating System :: POSIX :: Linux Classifier: Programming Language :: Python :: 3 Classifier: Topic :: Utilities debmake-doc-1.1/debhello-1.1/setup.py0000775000175000017500000000146212613712701016335 0ustar osamuosamu#!/usr/bin/python3 # vi:se ts=4 sts=4 et ai: from distutils.core import setup setup(name='debhello', version='4.0', description='Hello Python', long_description='Hello Python program.', author='Osamu Aoki', author_email='osamu@debian.org', url='http://people.debian.org/~osamu/', packages=['hello_py'], package_dir={'hello_py': 'hello_py'}, scripts=['scripts/hello'], classifiers = ['Development Status :: 3 - Alpha', 'Environment :: Console', 'Intended Audience :: Developers', 'License :: OSI Approved :: MIT License', 'Natural Language :: English', 'Operating System :: POSIX :: Linux', 'Programming Language :: Python :: 3', 'Topic :: Utilities', ], platforms = 'POSIX', license = 'MIT License' ) debmake-doc-1.1/debhello-1.1/scripts/0000775000175000017500000000000012613712701016304 5ustar osamuosamudebmake-doc-1.1/debhello-1.1/scripts/hello0000775000175000017500000000012412613712701017332 0ustar osamuosamu#!/usr/bin/python3 import hello_py if __name__ == '__main__': hello_py.main() debmake-doc-1.1/debhello-1.1/hello_py/0000775000175000017500000000000012613712701016430 5ustar osamuosamudebmake-doc-1.1/debhello-1.1/hello_py/__init__.py0000775000175000017500000000022612613712701020544 0ustar osamuosamu#!/usr/bin/python3 def main(): print('Hello Python3!') input("Press Enter to continue...") return if __name__ == '__main__': main() debmake-doc-1.1/debhello-1.2/0000775000175000017500000000000012613712701014616 5ustar osamuosamudebmake-doc-1.1/debhello-1.2/debian/0000775000175000017500000000000012613712701016040 5ustar osamuosamudebmake-doc-1.1/debhello-1.2/debian/control0000664000175000017500000000111012613712701017434 0ustar osamuosamuSource: debhello Section: devel Priority: extra Maintainer: Osamu Aoki Build-Depends: debhelper (>=9) Standards-Version: 3.9.6 Homepage: http://anonscm.debian.org/cgit/collab-maint/debmake-doc.git/ Package: debhello Architecture: all Multi-Arch: foreign Depends: zenity, ${misc:Depends} Description: example package in the debmake-doc package This is an example package to demonstrate the Debian packaging using the debmake command. . The generated Debian package uses the dh command offered by the debhelper package and the dpkg source format `3.0 (quilt)'. debmake-doc-1.1/debhello-1.2/debian/changelog0000664000175000017500000000244012613712701017712 0ustar osamuosamudebhello (1.2-1) unstable; urgency=low * New upstream release. - Python3 script with the command-line interface. - Packaged in Python distutils with setup.py . -- Osamu Aoki Mon, 12 Jan 2015 01:02:01 +0900 debhello (1.1-1) unstable; urgency=low * New upstream release. - POSIX shell script and data with the graphical user interface. - Makefile supporting $(DESTDIR) and $(prefix) . -- Osamu Aoki Mon, 12 Jan 2015 01:01:01 +0900 debhello (1.0-1) unstable; urgency=low * New upstream release. - POSIX shell script and data. - Makefile supporting $(DESTDIR) and $(prefix) . -- Osamu Aoki Mon, 12 Jan 2015 01:00:01 +0900 debhello (0.2-1) unstable; urgency=low * New upstream release. - POSIX shell script and data without Makefile. -- Osamu Aoki Mon, 12 Jan 2015 00:02:01 +0900 debhello (0.1-1) unstable; urgency=low * New upstream release. - Empty content. -- Osamu Aoki Mon, 12 Jan 2015 00:01:01 +0900 debhello (0.0-1) unstable; urgency=low * Initial release of debhello. Closes: #123456 - C source for an executable. - Makefile supporting $(DESTDIR) and $(prefix)=/usr . -- Osamu Aoki Mon, 12 Jan 2015 00:00:01 +0900 debmake-doc-1.1/debhello-1.2/debian/rules0000775000175000017500000000015712613712701017123 0ustar osamuosamu#!/usr/bin/make -f export DH_VERBOSE = 1 %: dh $@ override_dh_auto_install: dh_auto_install -- prefix=/usr debmake-doc-1.1/debhello-1.2/debian/source/0000775000175000017500000000000012613712701017340 5ustar osamuosamudebmake-doc-1.1/debhello-1.2/debian/source/format0000664000175000017500000000001512613712701020547 0ustar osamuosamu3.0 (quilt) debmake-doc-1.1/debhello-1.2/debian/source/local-options0000664000175000017500000000005212613712701022043 0ustar osamuosamuabort-on-upstream-changes unapply-patches debmake-doc-1.1/debhello-1.2/debian/README.Debian0000664000175000017500000000031212613712701020075 0ustar osamuosamudebhello upstream package example This is an example upstream package to demonstrate the Debian packaging using the debmake command. -- Osamu Aoki Sun, 11 Jan 2015 00:00:00 +0000 debmake-doc-1.1/debhello-1.2/debian/compat0000664000175000017500000000000212613712701017236 0ustar osamuosamu9 debmake-doc-1.1/debhello-1.2/debian/watch0000664000175000017500000000022412613712701017067 0ustar osamuosamu# When there is no appropriate upstream URL for uscan, it is # the best to have a watch file without any real content as # this file. See uscan(1). debmake-doc-1.1/debhello-1.2/debian/copyright0000664000175000017500000000241512613712701017775 0ustar osamuosamuFormat: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ Upstream-Name: debhello Source: http://anonscm.debian.org/cgit/collab-maint/debmake-doc.git/tree/base Files: * Copyright: 2015 Osamu Aoki License: MIT Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: . The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. . THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. debmake-doc-1.1/debhello-1.2/Makefile0000664000175000017500000000123612613712701016260 0ustar osamuosamuprefix = /usr/local all: : # do nothing install: install -D scripts/hello \ $(DESTDIR)$(prefix)/bin/hello install -m 644 -D data/hello.desktop \ $(DESTDIR)$(prefix)/share/applications/hello.desktop install -m 644 -D data/hello.png \ $(DESTDIR)$(prefix)/share/pixmaps/hello.png install -m 644 -D man/hello.1 \ $(DESTDIR)$(prefix)/share/man/man1/hello.1 clean: : # do nothing distclean: clean uninstall: -rm -f $(DESTDIR)$(prefix)/bin/hello -rm -f $(DESTDIR)$(prefix)/share/applications/hello.desktop -rm -f $(DESTDIR)$(prefix)/share/pixmaps/hello.png -rm -f $(DESTDIR)$(prefix)/share/man/man1/hello.1 .PHONY: all install clean distclean uninstall debmake-doc-1.1/debhello-1.2/LICENSE0000664000175000017500000000217712613712701015632 0ustar osamuosamuLicense: All files in this archive are licensed under the MIT License as below. Copyright 2015 Osamu Aoki Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. debmake-doc-1.1/debhello-1.2/man/0000775000175000017500000000000012613712701015371 5ustar osamuosamudebmake-doc-1.1/debhello-1.2/man/hello.10000664000175000017500000000062712613712701016563 0ustar osamuosamu.\" Hey, EMACS: -*- nroff -*- .\" (C) Copyright 2015 "Osamu Aoki" , .TH HELLO 1 "2015-01-12" .SH NAME hello \- example executable program .SH SYNOPSIS .B hello .SH DESCRIPTION This is an example executable program to print a short text message. .SH OPTIONS None available. .SH SEE ALSO .BR debmake (1) and documentation in the .BR debmake-doc package. debmake-doc-1.1/debhello-1.2/data/0000775000175000017500000000000012613712701015527 5ustar osamuosamudebmake-doc-1.1/debhello-1.2/data/hello.desktop0000664000175000017500000000026312613712701020226 0ustar osamuosamu[Desktop Entry] Name=Hello Name[fr]=Bonjour Comment=Greetings Comment[fr]=Salutations Type=Application Keywords=hello Exec=hello Terminal=false Icon=hello.png Categories=Utility; debmake-doc-1.1/debhello-1.2/data/hello.png0000664000175000017500000002225412613712701017345 0ustar osamuosamuPNG  IHDR@@iqbKGD pHYs  tIME(/SptEXtCommentCreated with GIMPW IDATxڽkYu[\9{zgg !gpb+JC8R)URv2iJ QNYX)\a┉U)d2 `0@\zOޞٷb, ~/ok%7 .w G9S&宴M+SR=_V[[i+1\q>{;OxgER?0śi+!YWcHׅr%o!e8y&eJw(sC`Yh+=|\[Bw`~6/}8:(oվ WdLY n馥^7pPo e-TjpB7V;ei zzg3=<|?X/uRayaot n/ ̂gWFOYܸ;.Ǎ5Y64f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¬B*󤴀QT ®fƪH8üZXY30;oλ_ g۹}yp/x x ;֎ʿ}چX> L)XN2Bd-Q>i [ UR^<]pʼn@-Z-eYG'FQ*lp+7KfLC¨Ҫe-lZ;`ks}?cu' Qp Oߞ}Ӯ<3%?60m)SB2ʮv]ĶE"livǤ=yq9k9c YETL&?f,I$YC`KJ`悽c w²yM.2m!K;; uZbT_^{G-dE3:)S+U[9 YfH1 bYOC#̍`}XƊJra#63*A*{uK0`{%ؾ'i>| b}aşgO׸ vѼ3f^}SWj n4Qb|6#1lBY肰Ȇ#5U0"%ck̼t Jj*zX(dD&2)1hcImC5 R6:|4 N!"Nw\8qw 微{T ̧qkn)FGuoh%ۡ*mjqG1+?}5t7W;U'P(I7>)bڒEi錾x\iJ%P`au94 M$ב[rͨ1HRFq`;XlccNBp__ 1ӯ[<[WI_֠[G$ ̒Oc1/C+8c$ S'[3Br$ HB`CKmZT>?whſo#S?:q:7WxH4!  :֑2M2kTA'BDR6vR1 B/74>pݯ}k>w[.poGx^ ؼCDnf>o3fzJ4p`ǎ>{h4KPЪI `c<3QdNggmmWζ^/oFx~7p \s{Cb<޲bsdq۶G*qе8|on9tˠ?z1墧}ܻ$;'=1$00j 1ۉuB: gav yyYǀ'yȖ7=dJ6'f{8(U.88|v3ҜX6 R̵[;g{;f䣞Ҷ(/t7[h Build-Depends: debhelper (>=9) Standards-Version: 3.9.6 Homepage: http://anonscm.debian.org/cgit/collab-maint/debmake-doc.git/ Package: debhello Architecture: any Multi-Arch: foreign Depends: ${misc:Depends}, ${shlibs:Depends} Description: example package in the debmake-doc package This is an example package to demonstrate the Debian packaging using the debmake command. . The generated Debian package uses the dh command offered by the debhelper package and the dpkg source format `3.0 (quilt)'. debmake-doc-1.1/debhello-1.5/debian/changelog0000664000175000017500000000373112613712701017721 0ustar osamuosamudebhello (1.5-1) unstable; urgency=low * New upstream release. - C source for an executable. - Makefile generated from Makefile.in and ./configure . -- Osamu Aoki Mon, 12 Jan 2015 01:05:01 +0900 debhello (1.4-1) unstable; urgency=low * New upstream release. - C source for an executable. - Makefile not supporting $(DESTDIR) and $(prefix) . -- Osamu Aoki Mon, 12 Jan 2015 01:04:01 +0900 debhello (1.3-1) unstable; urgency=low * New upstream release. - Python3 script with the graphical user interface. - Packaged in Python distutils with setup.py . -- Osamu Aoki Mon, 12 Jan 2015 01:03:01 +0900 debhello (1.2-1) unstable; urgency=low * New upstream release. - Python3 script with the command-line interface. - Packaged in Python distutils with setup.py . -- Osamu Aoki Mon, 12 Jan 2015 01:02:01 +0900 debhello (1.1-1) unstable; urgency=low * New upstream release. - POSIX shell script and data with the graphical user interface. - Makefile supporting $(DESTDIR) and $(prefix) . -- Osamu Aoki Mon, 12 Jan 2015 01:01:01 +0900 debhello (1.0-1) unstable; urgency=low * New upstream release. - POSIX shell script and data. - Makefile supporting $(DESTDIR) and $(prefix) . -- Osamu Aoki Mon, 12 Jan 2015 01:00:01 +0900 debhello (0.2-1) unstable; urgency=low * New upstream release. - POSIX shell script and data without Makefile. -- Osamu Aoki Mon, 12 Jan 2015 00:02:01 +0900 debhello (0.1-1) unstable; urgency=low * New upstream release. - Empty content. -- Osamu Aoki Mon, 12 Jan 2015 00:01:01 +0900 debhello (0.0-1) unstable; urgency=low * Initial release of debhello. Closes: #123456 - C source for an executable. - Makefile supporting $(DESTDIR) and $(prefix)=/usr . -- Osamu Aoki Mon, 12 Jan 2015 00:00:01 +0900 debmake-doc-1.1/debhello-1.5/debian/rules0000775000175000017500000000044512613712701017126 0ustar osamuosamu#!/usr/bin/make -f export DH_VERBOSE = 1 export DEB_BUILD_MAINT_OPTIONS = hardening=+all export DEB_CFLAGS_MAINT_APPEND = -Wall -pedantic export DEB_LDFLAGS_MAINT_APPEND = -Wl,--as-needed %: dh $@ override_dh_auto_configure: dh_auto_configure -- \ --with-math \ --author="Osamu Aoki" debmake-doc-1.1/debhello-1.5/debian/source/0000775000175000017500000000000012613712701017343 5ustar osamuosamudebmake-doc-1.1/debhello-1.5/debian/source/format0000664000175000017500000000001512613712701020552 0ustar osamuosamu3.0 (quilt) debmake-doc-1.1/debhello-1.5/debian/source/local-options0000664000175000017500000000005212613712701022046 0ustar osamuosamuabort-on-upstream-changes unapply-patches debmake-doc-1.1/debhello-1.5/debian/README.Debian0000664000175000017500000000031212613712701020100 0ustar osamuosamudebhello upstream package example This is an example upstream package to demonstrate the Debian packaging using the debmake command. -- Osamu Aoki Sun, 11 Jan 2015 00:00:00 +0000 debmake-doc-1.1/debhello-1.5/debian/compat0000664000175000017500000000000212613712701017241 0ustar osamuosamu9 debmake-doc-1.1/debhello-1.5/debian/watch0000664000175000017500000000022412613712701017072 0ustar osamuosamu# When there is no appropriate upstream URL for uscan, it is # the best to have a watch file without any real content as # this file. See uscan(1). debmake-doc-1.1/debhello-1.5/debian/copyright0000664000175000017500000000241512613712701020000 0ustar osamuosamuFormat: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ Upstream-Name: debhello Source: http://anonscm.debian.org/cgit/collab-maint/debmake-doc.git/tree/base Files: * Copyright: 2015 Osamu Aoki License: MIT Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: . The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. . THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. debmake-doc-1.1/debhello-1.5/Makefile.in0000664000175000017500000000141712613712701016671 0ustar osamuosamuprefix = @prefix@ all: src/hello src/hello: src/hello.c $(CC) @VERBOSE@ \ $(CPPFLAGS) \ $(CFLAGS) \ $(LDFLAGS) \ -o $@ $^ \ @LINKLIB@ install: src/hello install -D src/hello \ $(DESTDIR)$(prefix)/bin/hello install -m 644 -D data/hello.desktop \ $(DESTDIR)$(prefix)/share/applications/hello.desktop install -m 644 -D data/hello.png \ $(DESTDIR)$(prefix)/share/pixmaps/hello.png install -m 644 -D man/hello.1 \ $(DESTDIR)$(prefix)/share/man/man1/hello.1 clean: -rm -f src/hello distclean: clean uninstall: -rm -f $(DESTDIR)$(prefix)/bin/hello -rm -f $(DESTDIR)$(prefix)/share/applications/hello.desktop -rm -f $(DESTDIR)$(prefix)/share/pixmaps/hello.png -rm -f $(DESTDIR)$(prefix)/share/man/man1/hello.1 .PHONY: all install clean distclean uninstall debmake-doc-1.1/debhello-1.5/src/0000775000175000017500000000000012613712701015410 5ustar osamuosamudebmake-doc-1.1/debhello-1.5/src/hello.c0000664000175000017500000000045112613712701016657 0ustar osamuosamu#include "config.h" #ifdef WITH_MATH # include #endif #include int main() { printf("Hello, I am " PACKAGE_AUTHOR "!\n"); #ifdef WITH_MATH printf("4.0 * atan(1.0) = %10f8\n", 4.0*atan(1.0)); #else printf("I can't do MATH!\n"); #endif return 0; } debmake-doc-1.1/debhello-1.5/LICENSE0000664000175000017500000000217712613712701015635 0ustar osamuosamuLicense: All files in this archive are licensed under the MIT License as below. Copyright 2015 Osamu Aoki Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. debmake-doc-1.1/debhello-1.5/configure0000775000175000017500000000153612613712701016535 0ustar osamuosamu#!/bin/sh -e # default values PREFIX="/usr/local" VERBOSE="" WITH_MATH="0" LINKLIB="" PACKAGE_AUTHOR="John Doe" # parse arguments while [ "${1}" != "" ]; do VAR="${1%=*}" # Drop suffix =* VAL="${1#*=}" # Drop prefix *= case "${VAR}" in --prefix) PREFIX="${VAL}" ;; --verbose|-v) VERBOSE="-v" ;; --with-math) WITH_MATH="1" LINKLIB="-lm" ;; --author) PACKAGE_AUTHOR="${VAL}" ;; *) echo "W: Unknown argument: ${1}" esac shift done # setup configured Makefile and src/config.h sed -e "s,@prefix@,${PREFIX}," \ -e "s,@VERBOSE@,${VERBOSE}," \ -e "s,@LINKLIB@,${LINKLIB}," \ Makefile if [ "${WITH_MATH}" = 1 ]; then echo "#define WITH_MATH" >src/config.h else echo "/* not defined: WITH_MATH */" >src/config.h fi echo "#define PACKAGE_AUTHOR \"${PACKAGE_AUTHOR}\"" >>src/config.h debmake-doc-1.1/debhello-1.5/man/0000775000175000017500000000000012613712701015374 5ustar osamuosamudebmake-doc-1.1/debhello-1.5/man/hello.10000664000175000017500000000062712613712701016566 0ustar osamuosamu.\" Hey, EMACS: -*- nroff -*- .\" (C) Copyright 2015 "Osamu Aoki" , .TH HELLO 1 "2015-01-12" .SH NAME hello \- example executable program .SH SYNOPSIS .B hello .SH DESCRIPTION This is an example executable program to print a short text message. .SH OPTIONS None available. .SH SEE ALSO .BR debmake (1) and documentation in the .BR debmake-doc package. debmake-doc-1.1/debhello-1.5/data/0000775000175000017500000000000012613712701015532 5ustar osamuosamudebmake-doc-1.1/debhello-1.5/data/hello.desktop0000664000175000017500000000026512613712701020233 0ustar osamuosamu[Desktop Entry] Name=Hello Name[ja]=こんにちは Comment=Greetings Comment[ja]=挨拶 Type=Application Keywords=hello Exec=hello Terminal=true Icon=hello.png Categories=Utility; debmake-doc-1.1/debhello-1.5/data/hello.png0000664000175000017500000002225412613712701017350 0ustar osamuosamuPNG  IHDR@@iqbKGD pHYs  tIME(/SptEXtCommentCreated with GIMPW IDATxڽkYu[\9{zgg !gpb+JC8R)URv2iJ QNYX)\a┉U)d2 `0@\zOޞٷb, ~/ok%7 .w G9S&宴M+SR=_V[[i+1\q>{;OxgER?0śi+!YWcHׅr%o!e8y&eJw(sC`Yh+=|\[Bw`~6/}8:(oվ WdLY n馥^7pPo e-TjpB7V;ei zzg3=<|?X/uRayaot n/ ̂gWFOYܸ;.Ǎ5Y64f́lR(Tok@q9͟dotx㱓xUڱ+DJɒؑ&Qn!%-]@i b ;'IvBZΓ0HgFcT?c۲` fI, Ȼ 81L yjڣ;#7Y {-q?as+˿W߰M+bHUBVT(SƔBm`Wrdh%NJ Nre XMݨFO5Zf:c'K:s@6 c-a/ٹQS1ӦHN+}Ɔ_:|확$~pac35vuGQNJ :dUM;ƨ*$*)Wz.UJ48OԖ$3"K=p7M sjIOAKEe*Z*p~oforMw;G/~1?GOX~ [=aB-Fn ut(A$eOW & iMB5hHyΐrM;Zmx^[NtN U tE@ TBȴ]'nzGh/;?8<$}r _$׈fb*Q SQbQR ɡCCZdSDH)VfG (yJLCb̙T NÔ䖒ziN1s&]pyk%pRZbUA V3%#le>}-(yw |ptz -ϼ3r11$qL* LEE@l0 d@4 @N)Q!-ztjCtP[v5pMxV0U(ZP)@<ƲXJ7+d{?]+^q\'p)_}kOK4)MnƖa e ecK[+HYA^e**X qSH+`@ieN3FZV81 *(䤔\(%SpOGՖ@3-{|g3so˱dpä!E-h=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CDnf>o3fzJ4p`ǎ>{h4KPЪI `c<3QdNggmmWζ^/oFx~7p \s{Cb<޲bsdq۶G*qе8|on9tˠ?z1墧}ܻ$;'=1$00j 1ۉuB: gav yyYǀ'yȖ7=dJ6'f{8(U.88|v3ҜX6 R̵[;g{;f䣞Ҷ(/t7[h/dev/null cd ${TESTDIR} L "tar -xzmf ${PROJECT}.tar.gz" L "tree" debmake-doc-1.1/debhello-1.5-pkg1/step202.cmd0000775000175000017500000000004112613712701017343 0ustar osamuosamuL "cat ${PROJECT}/debian/rules" debmake-doc-1.1/debhello-1.5-pkg1/step701.cmd0000775000175000017500000000032612613712701017355 0ustar osamuosamuFILE=$(ls *.tar.?z | \ grep -v 'orig.tar.gz' |\ grep -v 'orig.tar.xz' ) for f in $FILE ; do EXT=${f##*.} if [ "$EXT" = "gz" ]; then L "tar -tzf $f" elif [ "$EXT" = "xz" ]; then L "tar --xz -tf $f" else : fi done debmake-doc-1.1/debhello-1.5-pkg1/step299.cmd0000775000175000017500000000012012613712701017361 0ustar osamuosamu# make deb CD .. cd .. L "cp -a ${TESTDIR} debmake" CD ${TESTDIR} cd ${TESTDIR} debmake-doc-1.1/debhello-1.5-pkg1/step600.cmd0000775000175000017500000000003312613712701017346 0ustar osamuosamuCD .. cd .. L "tree -FL 1" debmake-doc-1.1/debhello-1.5-pkg1/step102.cmd0000775000175000017500000000004012613712701017341 0ustar osamuosamuL "cat ${PROJECT}/Makefile.in" debmake-doc-1.1/debhello-1.5-pkg1/step499.cmd0000775000175000017500000000012012613712701017363 0ustar osamuosamu# make deb CD .. cd .. L "cp -a ${TESTDIR} package" CD ${TESTDIR} cd ${TESTDIR} debmake-doc-1.1/debhello-1.5-pkg1/step400.cmd0000775000175000017500000000003312613712701017344 0ustar osamuosamuL "tree ${PROJECT}/debian" debmake-doc-1.1/debhello-1.5-pkg1/step201.cmd0000775000175000017500000000002512613712701017344 0ustar osamuosamuCD .. cd .. L "tree" debmake-doc-1.1/debhello-1.5-pkg1/step203.cmd0000775000175000017500000000004312613712701017346 0ustar osamuosamuL "cat ${PROJECT}/debian/control" debmake-doc-1.1/debhello-1.5-pkg1/step702.cmd0000775000175000017500000000013412613712701017353 0ustar osamuosamufor deb in *.deb; do L "dpkg -f ${deb} pre-depends depends recommends conflics breaks" done debmake-doc-1.1/debhello-1.5-pkg1/step200.cmd0000775000175000017500000000007612613712701017351 0ustar osamuosamu# Debianize (initial) CD ${PROJECT} cd ${PROJECT} L "debmake" debmake-doc-1.1/debhello-1.5-pkg1/step302.cmd0000775000175000017500000000026512613712701017354 0ustar osamuosamuecho " \$ vim ${PROJECT}/debian/control" echo " ... hack, hack, hack, ..." cp -f ${COMMONDIR}/${PROJECT}/debian/control ${PROJECT}/debian/control L "cat ${PROJECT}/debian/control" debmake-doc-1.1/debhello-1.5-pkg1/step700.cmd0000775000175000017500000000016012613712701017350 0ustar osamuosamufor deb in *.deb; do L "dpkg -c ${deb}" | sed -e 's/root.root...............-..-.. ..:../root\/root ... /' done debmake-doc-1.1/debhello-1.5-pkg1/step103.cmd0000775000175000017500000000003612613712701017347 0ustar osamuosamuL "cat ${PROJECT}/configure" debmake-doc-1.1/debhello-1.5-pkg1/step101.cmd0000775000175000017500000000004012613712701017340 0ustar osamuosamuL "cat ${PROJECT}/src/hello.c" debmake-doc-1.1/debhello-1.5-pkg1/step500.cmd0000775000175000017500000000011512613712701017346 0ustar osamuosamu# make deb CD ${PROJECT} cd ${PROJECT} echo " \$ debuild" debuild -i -us -uc debmake-doc-1.1/debhello-3.1/0000775000175000017500000000000012613712701014617 5ustar osamuosamudebmake-doc-1.1/debhello-3.1/MANIFEST.in0000664000175000017500000000021312613712701016351 0ustar osamuosamuinclude MANIFEST.in include MANIFEST include LICENSE include data/hello.deskto include data/hello.png include man/hello.1 include po/ja.po debmake-doc-1.1/debhello-3.1/debian/0000775000175000017500000000000012613712701016041 5ustar osamuosamudebmake-doc-1.1/debhello-3.1/debian/control0000664000175000017500000000134512613712701017447 0ustar osamuosamuSource: debhello Section: devel Priority: extra Maintainer: Osamu Aoki Build-Depends: debhelper (>=9), dh-python, intltool, python3-all, python3-distutils-extra Standards-Version: 3.9.6 Homepage: http://anonscm.debian.org/cgit/collab-maint/debmake-doc.git/ X-Python3-Version: >= 3.2 Package: debhello Architecture: all Multi-Arch: foreign Depends: ${misc:Depends}, ${python3:Depends} Description: example package in the debmake-doc package This is an example package to demonstrate the Debian packaging using the debmake command. . The generated Debian package uses the dh command offered by the debhelper package and the dpkg source format `3.0 (quilt)'. debmake-doc-1.1/debhello-3.1/debian/changelog0000664000175000017500000000711612613712701017720 0ustar osamuosamudebhello (3.1-1) unstable; urgency=low * New upstream release. - Python3 script with the graphical user interface. - Packaged in Python distutils with setup.py . - I18N with gettext / python3-distutils-extra . -- Osamu Aoki Mon, 12 Jan 2015 03:01:01 +0900 debhello (3.0-1) unstable; urgency=low * New upstream release. - POSIX shell script and data with the graphical user interface. - Makefile supporting $(DESTDIR) and $(prefix) . - I18N with gettext (0.19). -- Osamu Aoki Mon, 12 Jan 2015 03:00:01 +0900 debhello (2.1-2) unstable; urgency=low * Single -dbg package. -- Osamu Aoki Mon, 12 Jan 2015 02:02:01 +0900 debhello (2.1-1) unstable; urgency=low * New upstream release. - C source for an executable with a shared library. - Makefile generated from CMakeLists.txt . -- Osamu Aoki Mon, 12 Jan 2015 02:01:01 +0900 debhello (2.0-1) unstable; urgency=low * New upstream release. - C source for an executable with a shared library. - Makefile generated from Makefile.am and configure.ac . -- Osamu Aoki Mon, 12 Jan 2015 02:00:01 +0900 debhello (1.7-1) unstable; urgency=low * New upstream release. - C source for an executable. - Makefile generated from CMakeLists.txt . -- Osamu Aoki Mon, 12 Jan 2015 01:07:01 +0900 debhello (1.6-1) unstable; urgency=low * New upstream release. - C source for an executable. - Makefile generated from Makefile.am and configure.ac . -- Osamu Aoki Mon, 12 Jan 2015 01:06:01 +0900 debhello (1.5-1) unstable; urgency=low * New upstream release. - C source for an executable. - Makefile generated from Makefile.in and ./configure . -- Osamu Aoki Mon, 12 Jan 2015 01:05:01 +0900 debhello (1.4-1) unstable; urgency=low * New upstream release. - C source for an executable. - Makefile not supporting $(DESTDIR) and $(prefix) . -- Osamu Aoki Mon, 12 Jan 2015 01:04:01 +0900 debhello (1.3-1) unstable; urgency=low * New upstream release. - Python3 script with the graphical user interface. - Packaged in Python distutils with setup.py . -- Osamu Aoki Mon, 12 Jan 2015 01:03:01 +0900 debhello (1.2-1) unstable; urgency=low * New upstream release. - Python3 script with the command-line interface. - Packaged in Python distutils with setup.py . -- Osamu Aoki Mon, 12 Jan 2015 01:02:01 +0900 debhello (1.1-1) unstable; urgency=low * New upstream release. - POSIX shell script and data with the graphical user interface. - Makefile supporting $(DESTDIR) and $(prefix) . -- Osamu Aoki Mon, 12 Jan 2015 01:01:01 +0900 debhello (1.0-1) unstable; urgency=low * New upstream release. - POSIX shell script and data. - Makefile supporting $(DESTDIR) and $(prefix) . -- Osamu Aoki Mon, 12 Jan 2015 01:00:01 +0900 debhello (0.2-1) unstable; urgency=low * New upstream release. - POSIX shell script and data without Makefile. -- Osamu Aoki Mon, 12 Jan 2015 00:02:01 +0900 debhello (0.1-1) unstable; urgency=low * New upstream release. - Empty content. -- Osamu Aoki Mon, 12 Jan 2015 00:01:01 +0900 debhello (0.0-1) unstable; urgency=low * Initial release of debhello. Closes: #123456 - C source for an executable. - Makefile supporting $(DESTDIR) and $(prefix)=/usr . -- Osamu Aoki Mon, 12 Jan 2015 00:00:01 +0900 debmake-doc-1.1/debhello-3.1/debian/rules0000775000175000017500000000013112613712701017114 0ustar osamuosamu#!/usr/bin/make -f export DH_VERBOSE = 1 %: dh $@ --with python3 --buildsystem=pybuild debmake-doc-1.1/debhello-3.1/debian/source/0000775000175000017500000000000012613712701017341 5ustar osamuosamudebmake-doc-1.1/debhello-3.1/debian/source/format0000664000175000017500000000001512613712701020550 0ustar osamuosamu3.0 (quilt) debmake-doc-1.1/debhello-3.1/debian/source/local-options0000664000175000017500000000005212613712701022044 0ustar osamuosamuabort-on-upstream-changes unapply-patches debmake-doc-1.1/debhello-3.1/debian/README.Debian0000664000175000017500000000031212613712701020076 0ustar osamuosamudebhello upstream package example This is an example upstream package to demonstrate the Debian packaging using the debmake command. -- Osamu Aoki Sun, 11 Jan 2015 00:00:00 +0000 debmake-doc-1.1/debhello-3.1/debian/compat0000664000175000017500000000000212613712701017237 0ustar osamuosamu9 debmake-doc-1.1/debhello-3.1/debian/watch0000664000175000017500000000022412613712701017070 0ustar osamuosamu# When there is no appropriate upstream URL for uscan, it is # the best to have a watch file without any real content as # this file. See uscan(1). debmake-doc-1.1/debhello-3.1/debian/copyright0000664000175000017500000000241512613712701017776 0ustar osamuosamuFormat: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ Upstream-Name: debhello Source: http://anonscm.debian.org/cgit/collab-maint/debmake-doc.git/tree/base Files: * Copyright: 2015 Osamu Aoki License: MIT Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: . The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. . THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. debmake-doc-1.1/debhello-3.1/LICENSE0000664000175000017500000000217712613712701015633 0ustar osamuosamuLicense: All files in this archive are licensed under the MIT License as below. Copyright 2015 Osamu Aoki Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. debmake-doc-1.1/debhello-3.1/setup.cfg0000664000175000017500000000017612613712701016444 0ustar osamuosamu[build] icons=True help=True [build_i18n] domain=debhello desktop_files=[("share/applications", ("data/hello.desktop.in",))] debmake-doc-1.1/debhello-3.1/PKG-INFO0000664000175000017500000000107712613712701015721 0ustar osamuosamuMetadata-Version: 1.1 Name: hello Version: 0.2 Summary: Hello Python Home-page: http://people.debian.org/~osamu/ Author: Osamu Aoki Author-email: osamu@debian.org License: MIT License Description: Hello Python program. Platform: POSIX Classifier: Development Status :: 3 - Alpha Classifier: Environment :: Console Classifier: Intended Audience :: Developers Classifier: License :: OSI Approved :: MIT License Classifier: Natural Language :: English Classifier: Operating System :: POSIX :: Linux Classifier: Programming Language :: Python :: 3 Classifier: Topic :: Utilities debmake-doc-1.1/debhello-3.1/po/0000775000175000017500000000000012613712701015235 5ustar osamuosamudebmake-doc-1.1/debhello-3.1/po/LINGUAS0000664000175000017500000000000312613712701016253 0ustar osamuosamuja debmake-doc-1.1/debhello-3.1/po/POTFILES.in0000664000175000017500000000015012613712701017006 0ustar osamuosamu# program source file hello_py/__init__.py # gettext 0.19 can handle desktop file data/hello.desktop.in debmake-doc-1.1/debhello-3.1/po/ja.po0000664000175000017500000000150012613712701016163 0ustar osamuosamu# SOME DESCRIPTIVE TITLE. # This file is put in the public domain. # FIRST AUTHOR , YEAR. # msgid "" msgstr "" "Project-Id-Version: debhello 2.2\n" "Report-Msgid-Bugs-To: foo@example.org\n" "POT-Creation-Date: 2015-02-21 23:24+0900\n" "PO-Revision-Date: 2015-02-21 23:18+0900\n" "Last-Translator: Osamu Aoki \n" "Language-Team: Japanese \n" "Language: ja\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" #: ../hello_py/__init__.py:34 msgid "Hello World!" msgstr "こんにちは、世界!" #: ../hello_py/__init__.py:39 msgid "Click me!" msgstr "クリックして!" #: ../hello_py/__init__.py:49 #, python-format msgid "" "Hello, World!\n" "Click count = %i" msgstr "" "こんにちは、世界!\n" "クリック数 = %i" debmake-doc-1.1/debhello-3.1/man/0000775000175000017500000000000012613712701015372 5ustar osamuosamudebmake-doc-1.1/debhello-3.1/man/hello.10000664000175000017500000000062712613712701016564 0ustar osamuosamu.\" Hey, EMACS: -*- nroff -*- .\" (C) Copyright 2015 "Osamu Aoki" , .TH HELLO 1 "2015-01-12" .SH NAME hello \- example executable program .SH SYNOPSIS .B hello .SH DESCRIPTION This is an example executable program to print a short text message. .SH OPTIONS None available. .SH SEE ALSO .BR debmake (1) and documentation in the .BR debmake-doc package. debmake-doc-1.1/debhello-3.1/data/0000775000175000017500000000000012613712701015530 5ustar osamuosamudebmake-doc-1.1/debhello-3.1/data/hello.desktop.in0000664000175000017500000000021212613712701020626 0ustar osamuosamu[Desktop Entry] Name=Hello Comment=Greetings Type=Application Keywords=hello Exec=hello Terminal=false Icon=hello.png Categories=Utility; debmake-doc-1.1/debhello-3.1/data/hello.png0000664000175000017500000002225412613712701017346 0ustar osamuosamuPNG  IHDR@@iqbKGD pHYs  tIME(/SptEX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rK1*)cl 2JjP!dA08 mUY8a(Fb fFS:C!AhSGW轣:ھoh pw3,a޵l;;%P*sv\ Vm"b&jƓ6vsРմ$Q*>VXa^YQX=&FSQSCCc_*xxfAgvy.=< \H Ⱥ=+?nyo9Rc!B-3Zl)N()TkSQ)ʉN.BԀ茦i&!6#Ε¡^X8"' (EZɪB/4,k-}_3L~V|{۵~WIPwf<hu\J8jDI 26SSULI03T&p-3k8¬B*󤴀QT ®fƪH8üZXY30;oλ_ g۹}yp/x x ;֎ʿ}چX> L)XN2Bd-Q>i [ UR^<]pʼn@-Z-eYG'FQ*lp+7KfLC¨Ҫe-lZ;`ks}?cu' Qp Oߞ}Ӯ<3%?60m)SB2ʮv]ĶE"livǤ=yq9k9c YETL&?f,I$YC`KJ`悽c w²yM.2m!K;; uZbT_^{G-dE3:)S+U[9 YfH1 bYOC#̍`}XƊJra#63*A*{uK0`{%ؾ'i>| b}aşgO׸ vѼ3f^}SWj n4Qb|6#1lBY肰Ȇ#5U0"%ck̼t Jj*zX(dD&2)1hcImC5 R6:|4 N!"Nw\8qw 微{T ̧qkn)FGuoh%ۡ*mjqG1+?}5t7W;U'P(I7>)bڒEi錾x\iJ%P`au94 M$ב[rͨ1HRFq`;XlccNBp__ 1ӯ[<[WI_֠[G$ ̒Oc1/C+8c$ S'[3Br$ HB`CKmZT>?whſo#S?:q:7WxH4!  :֑2M2kTA'BDR6vR1 B/74>pݯ}k>w[.poGx^ ؼCDnf>o3fzJ4p`ǎ>{h4KPЪI `c<3QdNggmmWζ^/oFx~7p \s{Cb<޲bsdq۶G*qе8|on9tˠ?z1墧}ܻ$;'=1$00j 1ۉuB: gav yyYǀ'yȖ7=dJ6'f{8(U.88|v3ҜX6 R̵[;g{;f䣞Ҷ(/t7[h Build-Depends: debhelper (>=9) Standards-Version: 3.9.6 Homepage: http://anonscm.debian.org/cgit/collab-maint/debmake-doc.git/ Package: debhello Architecture: all Multi-Arch: foreign Depends: ${misc:Depends} Description: example package in the debmake-doc package This is an example package to demonstrate the Debian packaging using the debmake command. . The generated Debian package uses the dh command offered by the debhelper package and the dpkg source format `3.0 (quilt)'. debmake-doc-1.1/debhello-0.2/debian/changelog0000664000175000017500000000112012613712701017703 0ustar osamuosamudebhello (0.2-1) unstable; urgency=low * New upstream release. - POSIX shell script and data without Makefile. -- Osamu Aoki Mon, 12 Jan 2015 00:02:01 +0900 debhello (0.1-1) unstable; urgency=low * New upstream release. - Empty content. -- Osamu Aoki Mon, 12 Jan 2015 00:01:01 +0900 debhello (0.0-1) unstable; urgency=low * Initial release of debhello. Closes: #123456 - C source for an executable. - Makefile supporting $(DESTDIR) and $(prefix)=/usr . -- Osamu Aoki Mon, 12 Jan 2015 00:00:01 +0900 debmake-doc-1.1/debhello-0.2/debian/manpages0000664000175000017500000000001412613712701017550 0ustar osamuosamuman/hello.1 debmake-doc-1.1/debhello-0.2/debian/rules0000775000175000017500000000006412613712701017117 0ustar osamuosamu#!/usr/bin/make -f export DH_VERBOSE = 1 %: dh $@ debmake-doc-1.1/debhello-0.2/debian/source/0000775000175000017500000000000012613712701017337 5ustar osamuosamudebmake-doc-1.1/debhello-0.2/debian/source/format0000664000175000017500000000001512613712701020546 0ustar osamuosamu3.0 (quilt) debmake-doc-1.1/debhello-0.2/debian/source/local-options0000664000175000017500000000005212613712701022042 0ustar osamuosamuabort-on-upstream-changes unapply-patches debmake-doc-1.1/debhello-0.2/debian/README.Debian0000664000175000017500000000031212613712701020074 0ustar osamuosamudebhello upstream package example This is an example upstream package to demonstrate the Debian packaging using the debmake command. -- Osamu Aoki Sun, 11 Jan 2015 00:00:00 +0000 debmake-doc-1.1/debhello-0.2/debian/compat0000664000175000017500000000000212613712701017235 0ustar osamuosamu9 debmake-doc-1.1/debhello-0.2/debian/install0000664000175000017500000000014112613712701017424 0ustar osamuosamudata/hello.desktop usr/share/applications data/hello.png usr/share/pixmaps scripts/hello usr/bin debmake-doc-1.1/debhello-0.2/debian/watch0000664000175000017500000000022412613712701017066 0ustar osamuosamu# When there is no appropriate upstream URL for uscan, it is # the best to have a watch file without any real content as # this file. See uscan(1). debmake-doc-1.1/debhello-0.2/debian/copyright0000664000175000017500000000241512613712701017774 0ustar osamuosamuFormat: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ Upstream-Name: debhello Source: http://anonscm.debian.org/cgit/collab-maint/debmake-doc.git/tree/base Files: * Copyright: 2015 Osamu Aoki License: MIT Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: . The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. . THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. debmake-doc-1.1/debhello-0.2/LICENSE0000664000175000017500000000217712613712701015631 0ustar osamuosamuLicense: All files in this archive are licensed under the MIT License as below. Copyright 2015 Osamu Aoki Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. debmake-doc-1.1/debhello-0.2/man/0000775000175000017500000000000012613712701015370 5ustar osamuosamudebmake-doc-1.1/debhello-0.2/man/hello.10000664000175000017500000000062712613712701016562 0ustar osamuosamu.\" Hey, EMACS: -*- nroff -*- .\" (C) Copyright 2015 "Osamu Aoki" , .TH HELLO 1 "2015-01-12" .SH NAME hello \- example executable program .SH SYNOPSIS .B hello .SH DESCRIPTION This is an example executable program to print a short text message. .SH OPTIONS None available. .SH SEE ALSO .BR debmake (1) and documentation in the .BR debmake-doc package. debmake-doc-1.1/debhello-0.2/data/0000775000175000017500000000000012613712701015526 5ustar osamuosamudebmake-doc-1.1/debhello-0.2/data/hello.desktop0000664000175000017500000000026212613712701020224 0ustar osamuosamu[Desktop Entry] Name=Hello Name[fr]=Bonjour Comment=Greetings Comment[fr]=Salutations Type=Application Keywords=hello Exec=hello Terminal=true Icon=hello.png Categories=Utility; debmake-doc-1.1/debhello-0.2/data/hello.png0000664000175000017500000002225412613712701017344 0ustar osamuosamuPNG  IHDR@@iqbKGD pHYs  tIME(/SptEXtCommentCreated with GIMPW IDATxڽkYu[\9{zgg !gpb+JC8R)URv2iJ QNYX)\a┉U)d2 `0@\zOޞٷb, ~/ok%7 .w G9S&宴M+SR=_V[[i+1\q>{;OxgER?0śi+!YWcHׅr%o!e8y&eJw(sC`Yh+=|\[Bw`~6/}8:(oվ WdLY n馥^7pPo e-TjpB7V;ei zzg3=<|?X/uRayaot n/ ̂gWFOYܸ;.Ǎ5Y64f́lR(Tok@q9͟dotx㱓xUڱ+DJɒؑ&Qn!%-]@i b ;'I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چX> L)XN2Bd-Q>i [ UR^<]pʼn@-Z-eYG'FQ*lp+7KfLC¨Ҫe-lZ;`ks}?cu' Qp Oߞ}Ӯ<3%?60m)SB2ʮv]ĶE"livǤ=yq9k9c YETL&?f,I$YC`KJ`悽c w²yM.2m!K;; uZbT_^{G-dE3:)S+U[9 YfH1 bYOC#̍`}XƊJra#63*A*{uK0`{%ؾ'i>| b}aşgO׸ vѼ3f^}SWj n4Qb|6#1lBY肰Ȇ#5U0"%ck̼t Jj*zX(dD&2)1hcImC5 R6:|4 N!"Nw\8qw 微{T ̧qkn)FGuoh%ۡ*mjqG1+?}5t7W;U'P(I7>)bڒEi錾x\iJ%P`au94 M$ב[rͨ1HRFq`;XlccNBp__ 1ӯ[<[WI_֠[G$ ̒Oc1/C+8c$ S'[3Br$ HB`CKmZT>?whſo#S?:q:7WxH4!  :֑2M2kTA'BDR6vR1 B/74>pݯ}k>w[.poGx^ ؼCDnf>o3fzJ4p`ǎ>{h4KPЪI `c<3QdNggmmWζ^/oFx~7p \s{Cb<޲bsdq۶G*qе8|on9tˠ?z1墧}ܻ$;'=1$00j 1ۉuB: gav yyYǀ'yȖ7=dJ6'f{8(U.88|v3ҜX6 R̵[;g{;f䣞Ҷ(/t7[h$@ foo: echo $(sort CHANGES) rev: #cat $(shell echo $(CHANGES) | sort -r) echo $(sort $(CHANGES)) change-%: changelog sed -ne '/^debhello ($*-/,$$p' <$^ |\ sed -ne '1,2p' -e '3,/^ *$$/p' >$@ debmake-doc-1.1/debian-template/Makefile0000664000175000017500000000256512613712701017245 0ustar osamuosamu# Generic build script DEBEMAIL:=email.address@example.org DEBFULLNAME:="Firstname Lastname" export DEBEMAIL DEBFULLNAME ROOTDIR:=$(CURDIR) TESTDIR:=$(CURDIR)/test COMMONDIR:=$(abspath $(CURDIR)/..) PATH := $(COMMONDIR)/bin:$(PATH) PROJECT:=$(shell echo $(notdir $(CURDIR))|sed -e 's/-pkg[0-9]*$$//' ) PROJECTDIR:=$(TESTDIR)/$(PROJECT) TERM:=xterm TREE_COLORS:= LS_COLORS:= CDPATH:= FILTER :=s/\(^.............................................................................\).*$$/\1.../ TGZ:=tar.gz export ROOTDIR TESTDIR COMMONDIR PATH PROJECT PROJECTDIR TREE_COLORS LS_COLORS TERM CDPATH TGZ stepcmds := $(sort $(wildcard *.cmd)) steps := $(patsubst %.cmd, %, $(stepcmds)) all: mkdir -p $(TESTDIR) echo $(ROOTDIR) > $(ROOTDIR)/next.dir echo $(PROJECT) > $(ROOTDIR)/project for i in $(steps) ; do \ cd $$(cat $(ROOTDIR)/next.dir) >/dev/null ; \ script -e -q -c $(ROOTDIR)/$$i.cmd $(ROOTDIR)/$$i.log ; \ ERR=$$? ; \ cat $(ROOTDIR)/$$i.log | col -b -x | \ sed -e 's#$(TESTDIR)#/path/to#g' | \ sed -e '$(FILTER)' > $(ROOTDIR)/$$i.slog ; \ if [ x$$ERR != x0 ]; then exit 1 ; fi ; \ done clean: -rm -rf $(TESTDIR) -rm -rf debmake -rm -rf package -rm -f .stamp -rm -f *.log -rm -rf next.dir project distclean: clean -rm -f *.slog -rm -f *.patch step%.raw: step%.cmd ./$^ >$@ check: @echo "TESTDIR=$(TESTDIR)" @echo "PROJECT=$(PROJECT)" .PHONY: all clean distclean check debmake-doc-1.1/debian-template/changelog0000664000175000017500000001064312613712701017453 0ustar osamuosamudebhello (3.4-1) unstable; urgency=low * New upstream release. - C source with a shared library. - C source for an executable with a shared library. - Makefile generated from CMakeLists.txt . - I18N with gettext (0.19). -- Osamu Aoki Mon, 12 Jan 2015 03:04:01 +0900 debhello (3.3-1) unstable; urgency=low * New upstream release. - C source for an executable with a shared library. - Makefile generated from Makefile.am and configure.ac . - I18N with gettext (0.19). -- Osamu Aoki Mon, 12 Jan 2015 03:03:01 +0900 debhello (3.2-1) unstable; urgency=low * New upstream release. - C source for an executable. - Makefile generated from Makefile.in and ./configure . - I18N with gettext (0.19). -- Osamu Aoki Mon, 12 Jan 2015 03:02:01 +0900 debhello (3.1-1) unstable; urgency=low * New upstream release. - Python3 script with the graphical user interface. - Packaged in Python distutils with setup.py . - I18N with gettext / python3-distutils-extra . -- Osamu Aoki Mon, 12 Jan 2015 03:01:01 +0900 debhello (3.0-1) unstable; urgency=low * New upstream release. - POSIX shell script and data with the graphical user interface. - Makefile supporting $(DESTDIR) and $(prefix) . - I18N with gettext (0.19). -- Osamu Aoki Mon, 12 Jan 2015 03:00:01 +0900 debhello (2.1-2) unstable; urgency=low * Single -dbg package. -- Osamu Aoki Mon, 12 Jan 2015 02:02:01 +0900 debhello (2.1-1) unstable; urgency=low * New upstream release. - C source for an executable with a shared library. - Makefile generated from CMakeLists.txt . -- Osamu Aoki Mon, 12 Jan 2015 02:01:01 +0900 debhello (2.0-1) unstable; urgency=low * New upstream release. - C source for an executable with a shared library. - Makefile generated from Makefile.am and configure.ac . -- Osamu Aoki Mon, 12 Jan 2015 02:00:01 +0900 debhello (1.7-1) unstable; urgency=low * New upstream release. - C source for an executable. - Makefile generated from CMakeLists.txt . -- Osamu Aoki Mon, 12 Jan 2015 01:07:01 +0900 debhello (1.6-1) unstable; urgency=low * New upstream release. - C source for an executable. - Makefile generated from Makefile.am and configure.ac . -- Osamu Aoki Mon, 12 Jan 2015 01:06:01 +0900 debhello (1.5-1) unstable; urgency=low * New upstream release. - C source for an executable. - Makefile generated from Makefile.in and ./configure . -- Osamu Aoki Mon, 12 Jan 2015 01:05:01 +0900 debhello (1.4-1) unstable; urgency=low * New upstream release. - C source for an executable. - Makefile not supporting $(DESTDIR) and $(prefix) . -- Osamu Aoki Mon, 12 Jan 2015 01:04:01 +0900 debhello (1.3-1) unstable; urgency=low * New upstream release. - Python3 script with the graphical user interface. - Packaged in Python distutils with setup.py . -- Osamu Aoki Mon, 12 Jan 2015 01:03:01 +0900 debhello (1.2-1) unstable; urgency=low * New upstream release. - Python3 script with the command-line interface. - Packaged in Python distutils with setup.py . -- Osamu Aoki Mon, 12 Jan 2015 01:02:01 +0900 debhello (1.1-1) unstable; urgency=low * New upstream release. - POSIX shell script and data with the graphical user interface. - Makefile supporting $(DESTDIR) and $(prefix) . -- Osamu Aoki Mon, 12 Jan 2015 01:01:01 +0900 debhello (1.0-1) unstable; urgency=low * New upstream release. - POSIX shell script and data. - Makefile supporting $(DESTDIR) and $(prefix) . -- Osamu Aoki Mon, 12 Jan 2015 01:00:01 +0900 debhello (0.2-1) unstable; urgency=low * New upstream release. - POSIX shell script and data without Makefile. -- Osamu Aoki Mon, 12 Jan 2015 00:02:01 +0900 debhello (0.1-1) unstable; urgency=low * New upstream release. - Empty content. -- Osamu Aoki Mon, 12 Jan 2015 00:01:01 +0900 debhello (0.0-1) unstable; urgency=low * Initial release of debhello. Closes: #123456 - C source for an executable. - Makefile supporting $(DESTDIR) and $(prefix)=/usr . -- Osamu Aoki Mon, 12 Jan 2015 00:00:01 +0900 debmake-doc-1.1/debian-template/source/0000775000175000017500000000000012613712701017075 5ustar osamuosamudebmake-doc-1.1/debian-template/source/format0000664000175000017500000000001512613712701020304 0ustar osamuosamu3.0 (quilt) debmake-doc-1.1/debian-template/source/local-options0000664000175000017500000000005212613712701021600 0ustar osamuosamuabort-on-upstream-changes unapply-patches debmake-doc-1.1/debian-template/README.Debian0000664000175000017500000000031212613712701017632 0ustar osamuosamudebhello upstream package example This is an example upstream package to demonstrate the Debian packaging using the debmake command. -- Osamu Aoki Sun, 11 Jan 2015 00:00:00 +0000 debmake-doc-1.1/debian-template/compat0000664000175000017500000000000212613712701016773 0ustar osamuosamu9 debmake-doc-1.1/debian-template/watch0000664000175000017500000000022412613712701016624 0ustar osamuosamu# When there is no appropriate upstream URL for uscan, it is # the best to have a watch file without any real content as # this file. See uscan(1). debmake-doc-1.1/debian-template/copyright0000664000175000017500000000241512613712701017532 0ustar osamuosamuFormat: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ Upstream-Name: debhello Source: http://anonscm.debian.org/cgit/collab-maint/debmake-doc.git/tree/base Files: * Copyright: 2015 Osamu Aoki License: MIT Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: . The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. . THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. debmake-doc-1.1/debhello-0.1-pkg1/0000775000175000017500000000000012613712701015454 5ustar osamuosamudebmake-doc-1.1/debhello-0.1-pkg1/step000.cmd0000775000175000017500000000013512613712701017336 0ustar osamuosamu# Fake download session CD ${TESTDIR} >/dev/null cd ${TESTDIR} L "mkdir ${PROJECT}" L "tree" debmake-doc-1.1/debhello-0.1-pkg1/step299.cmd0000775000175000017500000000012012613712701017354 0ustar osamuosamu# make deb CD .. cd .. L "cp -a ${TESTDIR} debmake" CD ${TESTDIR} cd ${TESTDIR} debmake-doc-1.1/debhello-0.1-pkg1/step201.cmd0000775000175000017500000000002512613712701017337 0ustar osamuosamuCD .. cd .. L "tree" debmake-doc-1.1/debhello-0.1-pkg1/step200.cmd0000775000175000017500000000015012613712701017335 0ustar osamuosamu# Debianize (initial) CD ${PROJECT} >/dev/null cd ${PROJECT} L "debmake -t -p debhello -u 0.1 -r 1 -x4"