en to gl translation catalogue (559 entries)

note: Translators: change debiantutorial to debiantutorial.$lang to use translated file, and append to this string all commands to load localisation packages, e.g.: \\usepackage{debiantutorial.fr} \\usepackage[french]{babel} \\frenchsetup{...} type: Plain text
en: \usepackage{debiantutorial}
gl: \usepackage{debiantutorial.gl}

note: type: title{#2}
en: Debian Packaging Tutorial
gl: Titorial de Empaquetado en Debian

note: Translators: leave \\version unchanged: this will a variable containing the actual version To translate the date, use \\today or a string containing \\year, \\month, \\day (numeric values). DATE - use debian/rules update-version-date type: date{#1}
en: version 0.30 -- 2024-03-16
gl: versión 0.30 -- 2024-03-16

note: type: frame{#2}
en: About this tutorial
gl: Sobre este titorial

note: type: itemize
en: Goal: \textbf{tell you what you really need to know about Debian packaging}
gl: Obxectivo: \textbf{contarche o que debes saber sobre os paquetes en Debian}

note: type: itemize
en: Modify existing packages
gl: Modificar paquetes existentes

note: type: itemize
en: Create your own packages
gl: Crear os teus paquetes propios

note: type: itemize
en: Interact with the Debian community
gl: Interactuar coa comunidade de Debian

note: type: itemize
en: Become a Debian power-user
gl: Converterse nun usuario avanzado

note: type: itemize
en: Covers the most important points, but is not complete
gl: Trata os temas máis importantes, pero non está completo

note: type: itemize
en: You will need to read more documentation
gl: Terás que ler máis documentación

note: type: itemize
en: Most of the content also applies to Debian derivative distributions
gl: A maioría dos contidos tamén se aplican ás distribucións derivadas de Debian

note: type: itemize
en: That includes Ubuntu
gl: Eso inclúe Ubuntu

note: type: frame{#2}
en: Outline
gl: Contidos

note: type: section{#2}
en: Introduction
gl: Introdución

note: type: textbf{#1}
en: GNU/Linux distribution
gl: Distribución GNU/Linux

note: type: itemize
en: 1st major distro developed ``openly in the spirit of GNU''
gl: A primeira distribución importante «centrada nas ideas de GNU»

note: type: itemize
en: \textbf{Non-commercial}, built collaboratively by over 1,000 volunteers
gl: \textbf{Non comercial}, construído en común por milleiros de voluntarios

note: type: itemize
en: 3 main features:
gl: 3 características principais:

note: type: itemize
en: \textbf{Quality} -- culture of technical excellence\\ {\small\sl We release when it's ready}
gl: \textbf{Calidade} -- comunidade con experiencia técnica \\ {\small\sl Sairá cando teña que saír}

note: type: itemize
en: \textbf{Freedom} -- devs and users bound by the \textsl{Social Contract}\\ Promoting the culture of Free Software since 1993
gl: \textbf{LIbertade} -- desenvolvedores e usuarios obrigados polo \textsl{Contrato Social}\\ Promovendo a cultura do Software Libre dende 1993

note: type: itemize
en: \textbf{Independence} -- no (single) company babysitting Debian\\ And open decision-making process (\textsl{do-ocracy} + \textsl{democracy})
gl: \textbf{Independencia} -- non hai unha compañía única que controle Debian\\ E un sistema de toma de decisións aberto (\textsl{laborocracia} + \textsl{democracia})

note: type: itemize
en: \textbf{Amateur} in the best sense: done for the love of it
gl: \textbf{Afeccionados} no bo sentido: traballar por amor ao arte

note: type: frame{#2}
en: Debian packages
gl: Paquetes de Debian

note: type: itemize
en: \textbf{.deb} files (binary packages)
gl: Ficheiros \textbf{.deb} (paquetes binarios)

note: type: itemize
en: A very powerful and convenient way to distribute software to users
gl: Unha forma potente e cómoda de distribuír os programas aos usuarios

note: type: itemize
en: One of the two most common package formats (with RPM)
gl: Un dos dous formatos de paquetes máis usados, xunto con RPM

note: type: itemize
en: 30,000 binary packages in Debian\\ $\rightarrow$ most of the available free software is packaged in Debian!
gl: Hai 30 000 paquetes binarios en Debian\\ $\rightarrow$ a maioría dos programas libres están empaquetados en Debian!

note: type: itemize
en: For 12 ports (architectures), including 2 non-Linux (Hurd; KFreeBSD)
gl: Dispoñibles en 12 arquitecturas, incluíndo 2 non Linux (Hurd, kFreeBSD)

note: type: itemize
en: Also used by 120 Debian derivative distributions
gl: Tamén os usan 120 distribucións derivadas de Debian

note: type: frame{#2}
en: The Deb package format
gl: O formato de empaquetado Deb

note: type: itemize
en: \texttt{.deb} file: an \texttt{ar} archive
gl: ficheiro \texttt{.deb}: un arquivo \texttt{ar}

note: $ type: itemize
en: \texttt{debian-binary}: version of the deb file format, \texttt{"2.0\textbackslash{}n"}
gl: \texttt{debian-binary}: versión do formato do ficheiro deb, \texttt{"2.0\textbackslash{}n"}

note: type: itemize
en: \texttt{control.tar.gz}: metadata about the package\\ {\small \texttt{\textbf{control}, md5sums, (pre|post)(rm|inst), triggers, shlibs}, \ldots}
gl: \texttt{control.tar.gz}: metainformación sobre o paquete\\ {\small \texttt{\textbf{control}, md5sums, (pre|post)(rm|inst), triggers, shlibs}, \ldots}

note: type: itemize
en: \texttt{data.tar.gz}: data files of the package
gl: \texttt{data.tar.gz}: ficheiros coa información do paquete

note: type: itemize
en: You could create your \texttt{.deb} files manually\\ {\footnotesize \url{http://tldp.org/HOWTO/html\_single/Debian-Binary-Package-Building-HOWTO/}}
gl: Pódense crear os ficheiros \texttt{.deb} manualmente\\ {\footnotesize \url{http://tldp.org/HOWTO/html\_single/Debian-Binary-Package-Building-HOWTO/}}

note: type: itemize
en: But most people don't do it that way
gl: Pero a maioría da xente non o fai así

note: type: textbf{#1}
en: This tutorial: create Debian packages, the Debian way
gl: Neste titorial: crear paquetes Debian, á maneira Debian

note: type: frame{#2}
en: Tools you will need
gl: Ferramentas necesarias

note: type: itemize
en: A Debian (or Ubuntu) system (with root access)
gl: Un sistema Debian (ou Ubuntu) con acceso de superusuario

note: type: itemize
en: Some packages:
gl: Algúns paquetes:

note: type: itemize
en: \textbf{build-essential}: has dependencies on the packages that will be assumed to be available on the developer's machine (no need to specify them in the \texttt{Build-Depends:} control field of your package)
gl: \textbf{build-essential}: depende de paquetes que se supoñen instalados na máquina do desenvolvedor (non se necesitan indicar no campo de control \texttt{Build-Depends:}  do teu paquete)

note: type: itemize
en: includes a dependency on \textbf{dpkg-dev}, which contains basic Debian-specific tools to create packages
gl: inclúe unha dependencia a \textbf{dpkg-dev}, que contén ferramentas básicas para crear paquetes específicas para Debian

note: type: itemize
en: \textbf{devscripts}: contains many useful scripts for Debian maintainers
gl: \textbf{devscripts}: conten moitos programas útiles para os mantedores de Debian

note: type: frame
en: Many other tools will also be mentioned later, such as \textbf{debhelper}, \textbf{cdbs}, \textbf{quilt}, \textbf{pbuilder}, \textbf{sbuild}, \textbf{lintian}, \textbf{svn-buildpackage}, \textbf{git-buildpackage}, \ldots\\ Install them when you need them.
gl: Máis tarde mencionaranse outras ferramentas, coma \textbf{debhelper}, \textbf{cdbs}, \textbf{quilt}, \textbf{pbuilder}, \textbf{sbuild}, \textbf{lintian}, \textbf{svn-buildpackage}, \textbf{git-buildpackage}, \ldots\\ Instáleas cando as precise.

note: type: frame{#2}
en: General packaging workflow
gl: Fluxo de traballo xeral

note: \draw[arr,->] (bin) -- (-1,-6) node[pos=0.5,left] {upload (\textttc{dput})}; hack hack hack type: tikzpicture
en: \node[node1] (www) at (0, 0) {Web}; \node[node1] (us) at (2.5, 0) {upstream source}; \node[node1] (da) at (-2.5, 0) {Debian mirror}; \node[node1] (sp) at (0, -2) {source package}; \draw[arr,<-,dashed,thick] (sp) -- (2.5,-2) node[right=0cm,text width=2.98cm,text centered,font=\small\sl] {where most of the manual work is done}; \node[node1] (bin) at (0, -4) {one or several binary packages}; \draw[arr,<-,dashed,thick] (bin) -- (3.5,-4) node[right,text centered,font=\small\ttfamily\sl] {.deb\normalfont}; \draw[arr,->] (us) -- (sp) node[pos=0.5,right,command] {dh\_make}; \draw[arr,->] (da) -- (sp) node[pos=0.5,left,command] {apt-get source}; \draw[arr,->] (www) -- (sp) node[pos=0.5,left,command] {dget}; \draw[arr,->] (sp) -- (bin) node[pos=0.5,right,text width=6cm] {\textttc{debuild} (build and test with \textttc{lintian}) or \textttc{dpkg-buildpackage}}; \draw[arr,->] (bin) -- (1,-6) node[pos=0.5,right] {install (\textttc{debi})}; \draw[transparent] (bin) -- (-1,-6) node[pos=0.5,left,opaque] {upload (\textttc{dput})}; \draw[arr,->,rounded corners] (bin) -- (-1,-6) -- (-4.5,-6) -- (-4.5,0) -- (da); \useasboundingbox (-4,-6) rectangle (6,0);
gl: \node[node1] (www) at (0, 0) {Web}; \node[node1] (us) at (2.5, 0) {fonte orixinal}; \node[node1] (da) at (-2.5, 0) {Copia do arquivo}; \node[node1] (sp) at (0, -2) {paquete fonte}; \draw[arr,<-,dashed,thick] (sp) -- (2.5,-2) node[right=0cm,text width=2.98cm,text centered,font=\small\sl] {onde se fai a maioría do traballo manual}; \node[node1] (bin) at (0, -4) {un ou varios paquetes binarios}; \draw[arr,<-,dashed,thick] (bin) -- (3.5,-4) node[right,text centered,font=\small\ttfamily\sl] {.deb\normalfont}; \draw[arr,->] (us) -- (sp) node[pos=0.5,right,command] {dh\_make}; \draw[arr,->] (da) -- (sp) node[pos=0.5,left,command] {apt-get source}; \draw[arr,->] (www) -- (sp) node[pos=0.5,left,command] {dget}; \draw[arr,->] (sp) -- (bin) node[pos=0.5,right,text width=6cm] {\textttc{debuild} (compila e proba con \textttc{lintian}) ou \textttc{dpkg-buildpackage}}; \draw[arr,->] (bin) -- (1,-6) node[pos=0.5,right] {instala (\textttc{debi})}; \draw[transparent] (bin) -- (-1,-6) node[pos=0.5,left,opaque] {sube (\textttc{dput})}; \draw[arr,->,rounded corners] (bin) -- (-1,-6) -- (-4.5,-6) -- (-4.5,0) -- (da); \useasboundingbox (-4,-6) rectangle (6,0);

note: type: subsection{#2}
en: Rebuilding dash
gl: Recompilando dash

note: type: frame{#2}
en: Example: rebuilding dash
gl: Exemplo: recompilando dash

note: type: enumerate
en: Install packages needed to build dash, and devscripts\\ {\texttt{sudo apt-get build-dep dash}\\ (requires \texttt{deb-src} lines in \texttt{/etc/apt/sources.list})}\\ {\texttt{sudo apt-get install -{}-no-install-recommends devscripts fakeroot}}
gl: Instale os paquetes necesarios para compilar dash, e devscripts\\ {\texttt{sudo apt-get build-dep dash}\\ (require as liñas \texttt{deb-src} en \texttt{/etc/apt/sources.list})}\\ {\texttt{sudo apt-get install -{}-no-install-recommends devscripts fakeroot}}

note: type: enumerate
en: Create a working directory, and get in it:\\ \texttt{mkdir /tmp/debian-tutorial ; cd /tmp/debian-tutorial}
gl: Cree un cartafol de traballo, e entre nel: \\ \texttt{mkdir /tmp/debian-tutorial ; cd /tmp/debian-tutorial}

note: type: enumerate
en: Grab the \texttt{dash} source package\\ \texttt{apt-get source dash}\\ {\small (This needs you to have \texttt{deb-src} lines in your \texttt{/etc/apt/sources.list})}
gl: Obteña o paquete fonte de \texttt{dash}\\ \texttt{apt-get source dash}\\ {\small (Isto require que teña as liñas \texttt{deb-src} no seu \texttt{/etc/apt/sources.list})}

note: type: enumerate
en: Build the package\\ {\texttt{cd dash-*\\ debuild -us -uc}} ~~~(\texttt{-us -uc} disables signing the package with GPG)
gl: Compila o paquete\\ {\texttt{cd dash-*\\ debuild -us -uc}} ~~~(\texttt{-us -uc} desactiva a firma do paquete con GPG)

note: type: enumerate
en: Check that it worked
gl: Comprobe se funcionou

note: type: itemize
en: There are some new \texttt{.deb} files in the parent directory
gl: Hai algúns ficheiros \texttt{.deb} novos no cartafol superior

note: type: enumerate
en: Look at the \texttt{debian/} directory
gl: Fíxese no directorio \texttt{debian/}

note: type: itemize
en: That's where the packaging work is done
gl: É aí onde se realiza o traballo de empaquetado.

note: type: section{#2}
en: Creating source packages
gl: Creando paquetes fonte

note: type: subsection{#2}
en: Source packages basics
gl: Principios dos paquetes fonte

note: type: frame{#2}
en: Source package
gl: Paquete fonte

note: type: itemize
en: One source package can generate several binary packages\\ {\small e.g. the \texttt{\bfseries libtar} source generates the \texttt{\bfseries libtar0} and \texttt{\bfseries libtar-dev} binary packages}
gl: Un paquete fonte pode xerar varios paquetes binarios\\ {\small p.e. a fonte \texttt{\bfseries libtar} xera os paquetes binarios \texttt{\bfseries libtar0} e \texttt{\bfseries libtar-dev}}

note: type: itemize
en: Two kinds of packages: (if unsure, use non-native)
gl: Dous tipos de paquetes: (se ten dúbidas, escolla non nativo)

note: type: itemize
en: Native packages: normally for Debian specific software (\textsl{dpkg}, \textsl{apt})
gl: Paquetes nativos: normalmente programas específicos para Debian (\textsl{dpkg}, \textsl{apt})

note: type: itemize
en: Non-native packages: software developed outside Debian
gl: Paquetes non nativos: programas desenvoltos fora de Debian

note: type: itemize
en: Main file: \texttt{.dsc} (meta-data)
gl: Ficheiro principal: \texttt{.dsc} (meta-información)

note: type: itemize
en: Other files depending on the version of the source format
gl: Outros ficheiros dependendo da versión do formato fonte

note: type: itemize
en: 1.0 or 3.0 (native): \texttt{package\_version.tar.gz}
gl: 1.0 ou 3.0 (nativo): \texttt{paquete\_version.tar.gz}

note: type: itemize
en: 1.0 (non-native):
gl: 1.0 (non nativo):

note: type: itemize
en: \texttt{pkg\_ver.orig.tar.gz}: upstream source
gl: \texttt{pkg\_ver.orig.tar.gz}: fonte orixinal

note: type: itemize
en: \texttt{pkg\_debver.diff.gz}: patch to add Debian-specific changes
gl: \texttt{pkg\_debver.diff.gz}: parche para engadir cambios específicos para Debian

note: type: itemize
en: \texttt{pkg\_debver.debian.tar.gz}: tarball with the Debian changes
gl: \texttt{pkg\_debver.debian.tar.gz}: arquivo tar cos cambios de Debian

note: type: frame
en: (See \texttt{dpkg-source(1)} for exact details)
gl: (ver \texttt{dpkg-source(1)} para máis información)

note: type: frame{#2}
en: Source package example (wget\_1.12-2.1.dsc)
gl: Exemplo de paquete fonte (wget\_1.12-2.1.dsc)

note: type: subsection{#2}
en: Retrieving source packages
gl: Obtendo os paquetes fonte

note: type: frame{#2}
en: Retrieving an existing source package
gl: Obtendo un paquete fonte existente

note: type: itemize
en: From the Debian archive:
gl: no arquivo Debian:

note: type: itemize
en: (You need \texttt{deb-src} lines in \texttt{sources.list})
gl: (Necesita as liñas \texttt{deb-src} no \texttt{sources.list})

note: type: itemize
en: From the Internet:
gl: Do Internet:

note: type: itemize
en: \texttt{dget http://snapshot.debian.org/archive/debian-archive/\\20090802T004153Z/debian/dists/bo/main/source/web/\\ wget\_1.4.4-6.dsc}\\ (\href{http://snapshot.debian.org/}{\ttfamily snapshot.d.o} provides all packages from Debian since 2005)
gl: \texttt{dget http://snapshot.debian.org/archive/debian-archive/\\20090802T004153Z/debian/dists/bo/main/source/web/\\ wget\_1.4.4-6.dsc}\\ (\href{http://snapshot.debian.org/}{\ttfamily snapshot.d.o} encárgase de todos os paquetes Debian dende o 2006)

note: type: itemize
en: From the (declared) version control system:
gl: Dende o sistema (declarado) de control de versións:

note: type: itemize
en: Once downloaded, extract with \texttt{dpkg-source -x \textsl{file.dsc}}
gl: Cando se descargue, descomprímao con \texttt{dpkg-source -x \textsl{file.dsc}}

note: type: frame{#2}
en: Creating a basic source package
gl: Crear un paquete fonte básico

note: type: itemize
en: Download the upstream source\\ (\textsl{upstream source} = the one from the software's original developers)
gl: Descarga a fonte orixinal\\ (\textsl{fonte orixinal} = a que provén os desenvolvedores orixinais do programa)

note: type: itemize
en: Rename to \texttt{<\textsl{source\_package}>\_<\textsl{upstream\_version}>.orig.tar.gz}\\ (example: \texttt{simgrid\_3.6.orig.tar.gz})
gl: Renoméeo a \texttt{<\textsl{fonte\_paquete}>\_<\textsl{orixinal\_versión}>.orig.tar.gz}\\ (por exemplo: \texttt{simgrid\_3.6.orig.tar.gz})

note: type: itemize
en: Untar it
gl: Descomprímeo

note: type: itemize
en: Rename the directory to \texttt{<\textsl{source\_package}>-<\textsl{upstream\_version}>}\\ (example: \texttt{simgrid-3.6})
gl: Renomea o cartafol a \texttt{<\textsl{fonte\_paquete}>-<\textsl{orixinal\_versión}>}\\ (por exemplo: \texttt{simgrid-3.6})

note: type: itemize
en: \texttt{cd \texttt{<\textsl{source\_package}>-<\textsl{upstream\_version}>} \&\& dh\_make}\\ (from the \textbf{dh-make} package)
gl: \texttt{cd \texttt{<\textsl{fonte\_paquete}>-<\textsl{orixinal\_versión}>} \&\& dh\_make}\\ (do paquete \textbf{dh-make})

note: type: itemize
en: There are some alternatives to \texttt{dh\_make} for specific sets of packages: \textbf{dh-make-perl}, \textbf{dh-make-php}, \ldots
gl: Hai algunhas alternativas a \texttt{dh\_make} para conxuntos específicos de paquetes: \textbf{dh-make-perl}, \textbf{dh-make-php}, \ldots

note: type: itemize
en: \texttt{debian/} directory created, with a lot of files in it
gl: Creado cartafol \texttt{debian/}, con moitos ficheiros nel

note: type: frame{#2}
en: Files in debian/
gl: Ficheiros en debian/

note: type: frame
en: All the packaging work should be made by modifying files in \texttt{debian/}
gl: Todo o traballo de empaquetar débese facer editando os ficheiros en \texttt{debian/}

note: type: itemize
en: Main files:
gl: Ficheiros principais:

note: type: itemize
en: \textbf{control} -- meta-data about the package (dependencies, etc.)
gl: \textbf{control} -- metainformación sobre o paquete (dependencias, etc)

note: type: itemize
en: \textbf{rules} -- specifies how to build the package
gl: \textbf{rules} -- especifica como compilar o paquete

note: type: itemize
en: \textbf{copyright} -- copyright information for the package
gl: \textbf{copyright} -- información do paquete sobre dereitos de autor

note: type: itemize
en: \textbf{changelog} -- history of the Debian package
gl: \textbf{changelog} -- historial do paquete de Debian

note: type: itemize
en: Other files:
gl: Outros ficheiros:

note: type: itemize
en: dh\_install* targets\\ {\small *.dirs, *.docs, *.manpages, \ldots}
gl: obxectivos dh\_install* \\ {\small *.dirs, *.docs, *.manpages, \ldots}

note: type: itemize
en: maintainer scripts\\ {\small *.postinst, *.prerm, \ldots}
gl: programiños dos mantedores\\ {\small *.postinst, *.prerm, \ldots}

note: type: itemize
en: patches/ -- if you need to modify the upstream sources
gl: patches/ -- se os necesitas para modificar a fonte orixinal

note: type: itemize
en: Several files use a format based on RFC 822 (mail headers)
gl: Algúns ficheiros usan un formato baseado no RFC 882 (cabeceiras do correo-e)

note: type: itemize
en: Lists the Debian packaging changes
gl: Rexistra os cambios no empaquetado de Debian

note: type: itemize
en: Gives the current version of the package
gl: Garda a versión actual do paquete

note: type: tikzpicture
en: \draw (0,0) node[above right] {\large 1.2.1.1-5}; \draw [decorate,decoration={brace}] (2,0) -- (1.45,0) node[at start,below,text width=1.6cm,text centered] {\small Debian revision}; \draw [decorate,decoration={brace}] (1.4,0) -- (0,0) node[midway,below,text width=1.6cm,text centered] { \small Upstream version};
gl: \draw (0,0) node[above right] {\large 1.2.1.1-5}; \draw [decorate,decoration={brace}] (2,0) -- (1.45,0) node[at start,below,text width=1.6cm,text centered] {\small revisión Debian}; \draw [decorate,decoration={brace}] (1.4,0) -- (0,0) node[midway,below,text width=1.6cm,text centered] { \small versión orixinal};

note: % type: itemize
en: Edited manually or with \textttc{dch}
gl: Editar manualmente ou con \textttc{dch}

note: type: itemize
en: Create a changelog entry for a new release: \textttc{dch -i}
gl: Crear unha entrada no rexistro de cambios para unha nova versión: \textttc{dch -i}

note: type: itemize
en: Special format to automatically close Debian or Ubuntu bugs\\ Debian: \texttt{Closes:~\#595268}; Ubuntu: \texttt{LP:~\#616929}
gl: Formato especial para pechar automaticamente fallos en Debian ou Ubuntu\\ Debian: \texttt{Closes:~\#595268}; Ubuntu: \texttt{LP:~\#616929}

note: type: itemize
en: Installed as \texttt{/usr/share/doc/\textit{package}/changelog.Debian.gz}
gl: Instalado coma \texttt{/usr/share/doc/\textit{paquete}/changelog.Debian.gz}

note: type: itemize
en: Package metadata
gl: Metainformación do paquete

note: type: itemize
en: For the source package itself
gl: Do paquete fonte en si

note: type: itemize
en: For each binary package built from this source
gl: Para cada paquete binario compilado dende esta fonte

note: type: itemize
en: Package name, section, priority, maintainer, uploaders, build-dependencies, dependencies, description, homepage, \ldots
gl: Nome do paquete, sección, prioridade, mantedor, subidores, dependencias de compilación, dependencias, descrición, páxina, \ldots

note: type: itemize
en: Documentation: Debian Policy chapter 5\\ \url{https://www.debian.org/doc/debian-policy/ch-controlfields}
gl: Documentación: Políticas de Debian, capítulo 5\\ \url{https://www.debian.org/doc/debian-policy/ch-controlfields}

note: type: frame{#2}
en: Architecture: all or any
gl: Arquitectura: todas ou calquera

note: type: frame
en: Two kinds of binary packages:
gl: Dous tipos de paquetes binarios:

note: type: itemize
en: Packages with different contents on each Debian architecture
gl: Paquetes con contidos diferentes dependendo da arquitectura Debian

note: type: itemize
en: Example: C program
gl: Exemplo: Programa C

note: type: itemize
en: \texttt{Architecture:\ any} in \texttt{debian/control}
gl: \texttt{Architecture:\ any} en \texttt{debian/control}

note: type: itemize
en: Or, if it only works on a subset of architectures:\\ \texttt{Architecture:\ amd64 i386 ia64 hurd-i386}
gl: Ou, se só funciona nun certo número de arquitecturas:\\ \texttt{Architecture:\ amd64 i386 ia64 hurd-i386}

note: type: itemize
en: buildd.debian.org: builds all the other architectures for you on upload
gl: buildd.debian.org: compila as outras arquitecturas por ti ao o subires

note: type: itemize
en: Named \texttt{\textsl{package}\_\textsl{version}\_\textsl{architecture}.deb}
gl: Nomeado \texttt{\textsl{paquete}\_\textsl{versión}\_\textsl{arquitectura}.deb}

note: type: itemize
en: Packages with the same content on all architectures
gl: Paquetes co mesmo contido en todas as arquitecturas

note: type: itemize
en: Example: Perl library
gl: Exemplo: biblioteca Perl

note: type: itemize
en: \texttt{Architecture:\ all} in \texttt{debian/control}
gl: \texttt{Architecture:\ all} en \texttt{debian/control}

note: type: itemize
en: Named \texttt{\textsl{package}\_\textsl{version}\_\textbf{all}.deb}
gl: Nomeado \texttt{\textsl{paquete}\_\textsl{versión}\_\textsl{all}.deb}

note: type: frame
en: A source package can generate a mix of \texttt{Architecture:\ any} and \texttt{Architecture:\ all} binary packages
gl: Un paquete fonte pode xerar unha mestura de paquetes binarios \texttt{Architecture:\ any} e \texttt{Architecture:\ all}

note: type: itemize
en: Interface used to build Debian packages
gl: Interface usada para compilar paquetes Debian

note: type: itemize
en: Documented in Debian Policy, chapter 4.8\\ {\small \url{https://www.debian.org/doc/debian-policy/ch-source\#s-debianrules}}
gl: Explicado na Política de Debian, capítulo 4.8\\ {\small \url{https://www.debian.org/doc/debian-policy/ch-source\#s-debianrules}}

note: type: itemize
en: Required targets:
gl: Obxectivos requiridos:

note: type: itemize
en: \texttt{build, build-arch, build-indep}: should perform all the configuration and compilation
gl: \texttt{build, build-arch, build-indep}: encargaranse de toda a configuración e compilación

note: type: itemize
en: \texttt{binary, binary-arch, binary-indep}: build the binary packages
gl: \texttt{binary, binary-arch, binary-indep}: compilan os paquetes binarios

note: type: itemize
en: \texttt{dpkg-buildpackage} will call \texttt{binary} to build all the packages, or \texttt{binary-arch} to build only the \texttt{Architecture:~any} packages
gl: \texttt{dpkg-buildpackage} chamará a \texttt{binary} para compilar todos os paquetes, ou a \texttt{binary-arch} para compilar soamente os paquetes \texttt{Architecture:~any}

note: type: itemize
en: \texttt{clean}: clean up the source directory
gl: \texttt{clean}: limpa o cartafol fonte

note: type: subsection{#2}
en: Packaging helpers
gl: Axudas no empaquetado

note: type: frame{#2}
en: Packaging helpers -- debhelper
gl: Axudas no empaquetado -- debhelper

note: type: itemize
en: You could write shell code in \texttt{debian/rules} directly
gl: Podes escribir código da liña de ordes directamente en \texttt{debian/rules}

note: type: itemize
en: Better practice (used by most packages): use a \textsl{Packaging helper}
gl: Boas prácticas (usado na maioría dos paquetes): usa un \textsl{Axudante no empaquetado}

note: type: itemize
en: Most popular one: \textbf{debhelper} (used by 98\% of packages)
gl: Máis popular: \textbf{debhelper} (usado polo 98\% dos paquetes)

note: type: itemize
en: Goals:
gl: Obxectivos:

note: type: itemize
en: Factor the common tasks in standard tools used by all packages
gl: Organizar as tarefas comúns nas ferramentas normativizadas usadas por todos os paquetes

note: type: itemize
en: Fix some packaging bugs once for all packages
gl: Arranxar algúns fallos de empaquetado en todos os paquetes

note: type: itemize
en: Called from \texttt{debian/rules}
gl: Chamado dende \texttt{debian/rules}

note: type: itemize
en: Configurable using command parameters or files in \texttt{debian/}
gl: Pódese configurar usando opcións na liña de ordes ou ficheiros en \texttt{debian/}

note: type: itemize
en: Third-party helpers for sets of packages: \textbf{python-support}, \textbf{dh\_ocaml}, \ldots
gl: Axudas de terceiros para conxuntos de paquetes: \textbf{python-support}, \textbf{dh\_ocaml}, \ldots

note: type: itemize
en: \texttt{debian/compat}: Debhelper compatibility version
gl: \texttt{debian/compat}: Versión compatible de debhelper

note: type: itemize
en: Defines precise behaviour of dh\_*
gl: Define o comportamento preciso de dh\_*

note: type: itemize
en: New syntax: \texttt{Build-Depends: debhelper-compat (= 13)}
gl: Nova sintaxe: \texttt{Build-Depends: debhelper-compat (= 13)}

note: type: frame{#2}
en: debian/rules using debhelper (1/2)
gl: debian/rules usando debhelper (1/2)

note: type: lstlisting
en: # Uncomment this to turn on verbose mode.
    #export DH_VERBOSE=1
gl: # Descomenta para activar o modo detallado.
    #export DH_VERBOSE=1

note: type: lstlisting
en: build: 
            $(MAKE)
            #docbook-to-man debian/packagename.sgml > packagename.1
gl: build: 
            $(MAKE)
            #docbook-to-man debian/nomepaquete.sgml > nomepaquete.1

note: type: lstlisting
en: install: build
            dh_testdir
            dh_testroot
            dh_clean -k 
            dh_installdirs
            # Add here commands to install the package into debian/packagename.
            $(MAKE) DESTDIR=$(CURDIR)/debian/packagename install
gl: install: build
            dh_testdir
            dh_testroot
            dh_clean -k 
            dh_installdirs
            # Engade aqu{\'i} comandos para instalar o paquete en debian/nomepaquete.
            $(MAKE) DESTDIR=$(CURDIR)/debian/nomepaquete install

note: type: frame{#2}
en: debian/rules using debhelper (2/2)
gl: debian/rules usando debhelper (2/2)

note: type: lstlisting
en: # Build architecture-independent files here.
    binary-indep: build install
gl: # Compilar ficheiros com{\'u}ns a todas as arquitecturas aqu{\'i}.
    binary-indep: build install

note: type: lstlisting
en: # Build architecture-dependent files here.
    binary-arch: build install
            dh_testdir
            dh_testroot
            dh_installchangelogs 
            dh_installdocs
            dh_installexamples
            dh_install
            dh_installman
            dh_link
            dh_strip
            dh_compress
            dh_fixperms
            dh_installdeb
            dh_shlibdeps
            dh_gencontrol
            dh_md5sums
            dh_builddeb
gl: # Compilar ficheiros espec{\'i}ficos a cada arquitectura aqu{\'i}.
    binary-arch: build install
            dh_testdir
            dh_testroot
            dh_installchangelogs 
            dh_installdocs
            dh_installexamples
            dh_install
            dh_installman
            dh_link
            dh_strip
            dh_compress
            dh_fixperms
            dh_installdeb
            dh_shlibdeps
            dh_gencontrol
            dh_md5sums
            dh_builddeb

note: type: itemize
en: With debhelper, still a lot of redundancy between packages
gl: Con debhelper, inda queda moita redundancia entre paquetes

note: type: itemize
en: Second-level helpers that factor common functionality
gl: Axudas de segundo nivel que organizan funcións comúns

note: type: itemize
en: E.g. building with \texttt{./configure \&\& make \&\& make install} or CMake
gl: Por exemplo compilando con \texttt{./configure \&\& make \&\& make install} ou CMake

note: type: itemize
en: Introduced in 2005, based on advanced \textsl{GNU make} magic
gl: Introducido en 2005, baseado en maxia avanzada do \textsl{GNU make}

note: type: itemize
en: Documentation: \texttt{/usr/share/doc/cdbs/}
gl: Documentación: \texttt{/usr/share/doc/cdbs/}

note: type: itemize
en: Support for Perl, Python, Ruby, GNOME, KDE, Java, Haskell, \ldots
gl: É compatible con Perl, Pyton, Ruby, GNOME, KDE, Java, Haskell, \ldots

note: type: itemize
en: But some people hate it:
gl: Pero algunhas persoas o odian:

note: type: itemize
en: Sometimes difficult to customize package builds:\\ "\textsl{twisty maze of makefiles and environment variables}"
gl: As veces é difícil personalizar as compilacións dos paquetes:\\ «\textsl{labirinto arrevesado de makefiles e variables do entorno}»

note: type: itemize
en: Slower than plain debhelper (many useless calls to \texttt{dh\_*})
gl: Máis lento que usar só o debhelper (moitas chamadas inútiles a \texttt{dh\_*})

note: type: lstlisting
en: # add an action after the build
    build/mypackage::
        /bin/bash debian/scripts/foo.sh
gl: # Engadir unha acci{\'o}n despois de compilar
    build/meupaquete::
        /bin/bash debian/scripts/foo.sh

note: type: frame{#2}
en: Dh (aka Debhelper 7, or dh7)
gl: Dh (tamén chamado Debhelper 7, ou dh7)

note: type: itemize
en: Introduced in 2008 as a \textsl{CDBS killer}
gl: Introducido en 2008 como o \textsl{asasino do CDBS}

note: type: itemize
en: \textbf{dh} command that calls \texttt{dh\_*}
gl: comando \textbf{dh} que chama \texttt{dh\_*}

note: type: itemize
en: Simple \textsl{debian/rules}, listing only overrides
gl: Sinxelo \textsl{debian/rules}, só describindo as ordes substituídas

note: type: itemize
en: Easier to customize than CDBS
gl: Máis sinxelo de personalizar que o CDBS

note: type: itemize
en: Doc: manpages (\texttt{debhelper(7)}, \texttt{dh(1)}) + slides from DebConf9 talk\\ \url{http://kitenet.net/~joey/talks/debhelper/debhelper-slides.pdf}
gl: Documentación: páxinas do manual (\texttt{debhelper(7)}, \texttt{dh(1)}) + presentacións da conferencia DebConf9\\ \url{http://kitenet.net/~joey/talks/debhelper/debhelper-slides.pdf}

note: source for stats: https://anonscm.debian.org/cgit/collab-qa/dhistory.git/ type: frame{#2}
en: Classic debhelper vs CDBS vs dh
gl: debhelper clásico contra CDBS contra dh

note: type: itemize
en: Mind shares:\\ Classic debhelper: 15\% \hskip 1em CDBS: 15\% \hskip 1em dh: 68\%
gl: Porcentaxes de popularidade:\\ debhelper clásico: 15\% \hskip 1em CDBS: 15\% \hskip 1em dh: 68\%

note: type: itemize
en: Which one should I learn?
gl: Cales debería coñecer?

note: type: itemize
en: Probably a bit of all of them
gl: Probablemente todos

note: type: itemize
en: You need to know debhelper to use dh and CDBS
gl: Necesitas coñecer debhelper para usar dh e CDBS

note: type: itemize
en: You might have to modify CDBS packages
gl: Ao mellor tes que modificar paquetes CDBS

note: type: itemize
en: Which one should I use for a new package?
gl: Cal debería usar para un novo paquete?

note: type: itemize
en: \textbf{dh} (only solution with an increasing mind share)
gl: \textbf{dh} (o único cuxa popularidade crece)

note: type: itemize
en: See \url{https://trends.debian.net/\#build-systems}
gl: Véxase \url{https://trends.debian.net/\#build-systems}

note: type: section{#2}
en: Building and testing packages
gl: Compilando e probando paquetes

note: type: frame{#2}
en: Building packages
gl: Compilando paquetes

note: type: itemize
en: \textttc{apt-get build-dep mypackage}\\ Installs the \textsl{build-dependencies} (for a package already in Debian)\\ Or \textttc{mk-build-deps -ir} (for a package not uploaded yet)
gl: \textttc{apt-get build-dep mypackage}\\ Instala as dependencias de compilación \textsl{build-dependencies} (para paquetes xa existentes en Debian)\\ Ou \textttc{mk-build-deps -ir} (para paquetes non existentes)

note: type: itemize
en: \textttc{debuild}: build, test with \texttt{lintian}, sign with GPG
gl: \textttc{debuild}: Compila e proba con \texttt{lintian}, firma con GPG

note: type: itemize
en: Also possible to call \textttc{dpkg-buildpackage} directly
gl: Tamén pode chamar a \textttc{dpkg-buildpackage} directamente

note: type: itemize
en: Usually with \texttt{dpkg-buildpackage -us -uc}
gl: Normalmente con \texttt{dpkg-buildpackage -us -uc}

note: type: itemize
en: It is better to build packages in a clean \& minimal environment
gl: É mellor compilar os paquetes nun ambiente limpo e co mínimo necesario

note: type: itemize
en: \textttc{pbuilder} -- helper to build packages in a \textsl{chroot}\\ Good documentation: \url{https://wiki.ubuntu.com/PbuilderHowto}\\ (optimization: \textttc{cowbuilder} \textttc{ccache} \textttc{distcc})
gl: \textttc{pbuilder} -- Axuda para compilar paquetes nun \textsl{chroot}\\ Boa documentación: \url{https://wiki.ubuntu.com/PbuilderHowto}\\ (optimización: \textttc{cowbuilder} \textttc{ccache} \textttc{distcc})

note: type: itemize
en: \textttc{schroot} and \textttc{sbuild}: used on the Debian build daemons\\ (not as simple as \texttt{pbuilder}, but allows LVM snapshots\\ see: \url{https://help.ubuntu.com/community/SbuildLVMHowto} )
gl: \textttc{schroot} e \textttc{sbuild}: usados nos daemons \\ (non é tan sinxelo coma \texttt{pbuilder}, pero permite usar imaxes LVM\\ véxase: \url{https://help.ubuntu.com/community/SbuildLVMHowto} )

note: type: itemize
en: Generates \texttt{.deb} files and a \texttt{.changes} file
gl: Xera ficheiros \texttt{.deb} e un ficheiro \texttt{.changes}

note: type: itemize
en: \texttt{.changes}: describes what was built; used to upload the package
gl: \texttt{.changes}: describe o que se compilou; usado para subir o paquete

note: type: frame{#2}
en: Installing and testing packages
gl: Instalando e probando paquetes

note: type: itemize
en: Install the package locally: \textttc{debi} (will use \texttt{.changes} to know what to install)
gl: Instalar o paquete de forma local: \textttc{debi} (usa \texttt{.changes} para saber que ten que instalar)

note: type: itemize
en: List the content of the package: \texttt{{\color{rouge}debc} ../mypackage<TAB>.changes}
gl: Amosar os contidos do paquete: \texttt{{\color{rouge}debc} ../mypackage<TAB>.changes}

note: type: itemize
en: Compare the package with a previous version:\\ \texttt{{\color{rouge}debdiff} ../mypackage\_1\_*.changes ../mypackage\_2\_*.changes}\\ or to compare the sources:\\ \texttt{{\color{rouge}debdiff} ../mypackage\_1\_*.dsc ../mypackage\_2\_*.dsc}\\
gl: Comparar o paquete cunha versión anterior:\\ \texttt{{\color{rouge}debdiff} ../mypackage\_1\_*.changes ../mypackage\_2\_*.changes}\\ ou comparar as fontes:\\ \texttt{{\color{rouge}debdiff} ../mypackage\_1\_*.dsc ../mypackage\_2\_*.dsc}\\

note: type: itemize
en: Check the package with \texttt{lintian} (static analyzer):\\ \texttt{{\color{rouge}lintian} ../mypackage<TAB>.changes}\\ \texttt{lintian -i}: gives more information about the errors \\ \texttt{lintian -EviIL +pedantic}: shows more problems
gl: Comprobar o paquete co analizador estático \texttt{lintian}:\\ \texttt{{\color{rouge}lintian} ../mypackage<TAB>.changes}\\ \texttt{lintian -i}: da máis información sobre os erros \\ \texttt{lintian -EviIL +pedantic}: amosa máis erros

note: type: itemize
en: Upload the package to Debian (\textttc{dput}) (needs configuration)
gl: Subir o paquete a Debian (\textttc{dput}) (previa configuración)

note: type: itemize
en: Manage a private Debian archive with \textttc{reprepro} or \textttc{aptly}\\ Documentation: \url{https://wiki.debian.org/HowToSetupADebianRepository}
gl: Xestionar un arquivo privado de Debian con \textttc{reprepro} ou \textttc{aptly}\\ Documentación: \url{https://wiki.debian.org/HowToSetupADebianRepository}

note: type: frame{#2}
en: Practical session 1: modifying the grep package
gl: Sesión práctica 1: modificando o paquete grep

note: type: enumerate
en: Go to \url{http://ftp.debian.org/debian/pool/main/g/grep/} and download version 2.12-2 of the package
gl: Vaia a \url{http://ftp.debian.org/debian/pool/main/g/grep/} e descargue a versión 2.12-2 do paquete

note: type: itemize
en: If the source package is not unpacked automatically, unpack it with \texttt{dpkg-source~-x~grep\_*.dsc}
gl: Se o paquete fonte non se descomprime automáticamente, descomprímao con \texttt{dpkg-source~-x~grep\_*.dsc}

note: type: enumerate
en: Look at the files in \texttt{debian/}.
gl: Fixese nos ficheiros en \texttt{debian/}.

note: type: itemize
en: How many binary packages are generated by this source package?
gl: Cantos paquetes binarios son xerados por este paquete fonte?

note: type: itemize
en: Which packaging helper does this package use?
gl: Que programa de empaquetado usa este paquete?

note: type: itemize
en: Build the package
gl: Compile o paquete

note: type: enumerate
en: We are now going to modify the package. Add a changelog entry and increase the version number.
gl: Agora imos modificar o paquete. Engada unha entrada no rexistro de cambios e aumente o número de versión.

note: type: enumerate
en: Now disable perl-regexp support (it is a \texttt{./configure} option)
gl: Agora desactiea a compatibilidade con perl-regexp (é unha opción en 	exttt{./configure})

note: type: enumerate
en: Rebuild the package
gl: Recompile o paquete

note: type: enumerate
en: Compare the original and the new package with debdiff
gl: Compare o orixinal e o novo paquete con debdiff

note: type: enumerate
en: Install the newly built package
gl: Instale o novo paquete recentemente compilado

note: type: section{#2}
en: Advanced packaging topics
gl: Temas de empaquetado avanzados

note: type: itemize
en: Copyright and license information for the source and the packaging
gl: Información das licencias e dos dereitos de autor da fonte e do paquete

note: type: itemize
en: Traditionally written as a text file
gl: Tradicionalmente un ficheiro de texto

note: type: itemize
en: New machine-readable format: {\small\url{https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/}}
gl: Novos formatos lexibles polos ordenadores: {\small\url{https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/}}

note: type: lstlisting
en: Files: debian/*
    Copyright: Copyright 1998 Jane Smith <jsmith@example.net>
    License:
     [LICENSE TEXT]
gl: Files: debian/*
    Copyright: Copyright 1998 Jane Smith <jsmith@example.net>
    License:
     [TEXTO DA LICENCIA]

note: type: frame{#2}
en: Modifying the upstream source
gl: Modificando a fonte orixinal

note: type: frame
en: Often needed:
gl: As veces hai que:

note: type: itemize
en: Fix bugs or add customizations that are specific to Debian
gl: Arranxar fallos ou engadir personalizacións específicas de Debian

note: type: itemize
en: Backport fixes from a newer upstream release
gl: Copiar parches dunha versión máis actual na fonte orixinal

note: type: frame
en: Several methods to do it:
gl: Algunhas formas de facelo:

note: type: itemize
en: Modifying the files directly
gl: Modificando directamente os ficheiros

note: type: itemize
en: Simple
gl: Sinxelo

note: type: itemize
en: But no way to track and document the changes
gl: Pero non temos forma de rexistrar e documentar os cambios

note: type: itemize
en: Using patch systems
gl: Usando o sistema de parches

note: type: itemize
en: Eases contributing your changes to upstream
gl: Facilita a contribución dos teus parches á fonte orixinal

note: type: itemize
en: Helps sharing the fixes with derivatives
gl: Axuda a compartir os parches cos derivativos

note: type: itemize
en: Gives more exposure to the changes\\ \url{http://patch-tracker.debian.org/} (down currently)
gl: Dalle máis publicidade aos cambios\\ \url{http://patch-tracker.debian.org/} (por agora non funciona)

note: type: frame{#2}
en: Patch systems
gl: Sistemas de parcheado

note: type: itemize
en: Principle: changes are stored as patches in \texttt{debian/patches/}
gl: Principios: os cambios almacénanse coma parches en \texttt{debian/patches/}

note: type: itemize
en: Applied and unapplied during build
gl: Aplicados e quitados durante a compilación

note: type: itemize
en: Past: several implementations -- \textsl{simple-patchsys} (\textsl{cdbs}), \textsl{dpatch}, \textbf{\textsl{quilt}}
gl: Antes: varias implementacións -- \textsl{simple-patchsys} (\textsl{cdbs}), \textsl{dpatch}, \textbf{\textsl{quilt}}

note: type: itemize
en: Each supports two \texttt{debian/rules} targets:
gl: Cada unha permite dous obxectivos de \texttt{debian/rules}:

note: type: itemize
en: \texttt{debian/rules patch}: apply all patches
gl: \texttt{debian/rules patch}: aplica todos os parches

note: type: itemize
en: \texttt{debian/rules unpatch}: de-apply all patches
gl: \texttt{debian/rules unpatch}: quita todos os parches

note: type: itemize
en: More documentation: \url{https://wiki.debian.org/debian/patches}
gl: Máis información: \url{https://wiki.debian.org/debian/patches}

note: type: textbf{#1}
en: New source package format with built-in patch system: 3.0 (quilt)
gl: Novo formato do paquete fonte cun sistema de parches incorporado: 3.0 (quilt)

note: type: itemize
en: Recommended solution
gl: Solución recomendada

note: type: itemize
en: You need to learn \textsl{quilt}\\ \url{https://perl-team.pages.debian.net/howto/quilt.html}
gl: Terá que coñecer \textsl{quilt}\\ \url{https://perl-team.pages.debian.net/howto/quilt.html}

note: type: itemize
en: Patch-system-agnostic tool in \texttt{devscripts}: \texttt{edit-patch}
gl: Ferramenta válida para todos os sistemas de parches en \texttt{devscripts}: \texttt{edit-patch}

note: type: frame{#2}
en: Documentation of patches
gl: Documentar os parches

note: type: itemize
en: Standard headers at the beginning of the patch
gl: Cabeceiras normativizadas ao comenzo do parche

note: type: itemize
en: Documented in DEP-3 - Patch Tagging Guidelines\\ \url{http://dep.debian.net/deps/dep3/}
gl: Documentado en DEP-3 - Normas para o Etiquetado de Parches\\ \url{http://dep.debian.net/deps/dep3/}

note: type: lstlisting
en: [basicstyle=\ttfamily\footnotesize]
    Description: Fix widget frobnication speeds
     Frobnicating widgets too quickly tended to cause explosions.
    Forwarded: http://lists.example.com/2010/03/1234.html
    Author: John Doe <johndoe-guest@users.alioth.debian.org>
    Applied-Upstream: 1.2, http://bzr.foo.com/frobnicator/revision/123
    Last-Update: 2010-03-29
gl: [basicstyle=\ttfamily\footnotesize]
    Description: Arranxar a velocidade ao fedellar nos trebellos
     Fedellar nos trebellos moi r{\'a}pido causaba explosi{\'o}ns.
    Forwarded: http://lists.example.com/2010/03/1234.html
    Author: John Doe <johndoe-guest@users.alioth.debian.org>
    Applied-Upstream: 1.2, http://bzr.foo.com/frobnicator/revision/123
    Last-Update: 2010-03-29

note: type: frame{#2}
en: Doing things during installation and removal
gl: Facendo cousas durante a instalación e o borrado

note: type: itemize
en: Decompressing the package is sometimes not enough
gl: As veces non é suficiente descomprimir o paquete

note: type: itemize
en: Create/remove system users, start/stop services, manage \textsl{alternatives}
gl: Crear/borrar usuarios do sistema, arrancar/parar servizos, xestionar \textsl{alternativas}

note: type: itemize
en: Done in \textsl{maintainer scripts}\\ \texttt{preinst, postinst, prerm, postrm}
gl: Iso faise nos \textsl{programas de mantemento}\\ \texttt{preinst, postinst, prerm, postrm}

note: type: itemize
en: Snippets for common actions can be generated by debhelper
gl: Pódense xerar exemplos para accións comúns con debhelper

note: type: itemize
en: Documentation:
gl: Documentación:

note: type: itemize
en: Debian Policy Manual, chapter 6\\ {\footnotesize \url{https://www.debian.org/doc/debian-policy/ch-maintainerscripts}}
gl: Manual das Políticas de Debian, capítulo 6\\ {\footnotesize \url{https://www.debian.org/doc/debian-policy/ch-maintainerscripts}}

note: type: itemize
en: Debian Developer's Reference, chapter 6.4\\ {\scriptsize \url{https://www.debian.org/doc/developers-reference/best-pkging-practices.html}}
gl: Informe dos Desenvolvedores de Debian, capítulo 6.4\\ {\scriptsize \url{https://www.debian.org/doc/developers-reference/best-pkging-practices.html}}

note: type: itemize
en: Prompting the user
gl: Preguntarlle ao usuario

note: type: itemize
en: Must be done with \textbf{debconf}
gl: Débese facer con \textbf{debconf}

note: type: itemize
en: Documentation: \texttt{debconf-devel(7)} (\texttt{debconf-doc} package)
gl: Documentación: \texttt{debconf-devel(7)} (paquete \texttt{debconf-doc})

note: type: frame{#2}
en: Monitoring upstream versions
gl: Vixiando as versións da fonte orixinal

note: type: itemize
en: Specify where to look in \texttt{debian/watch} (see \texttt{uscan(1)})
gl: Indica onde mirar en \texttt{debian/watch} (véxase \texttt{uscan(1)})

note: type: itemize
en: There are automated trackers of new upstream versions, that notify the maintainer on various dashboards including \url{https://tracker.debian.org/} and \url{https://udd.debian.org/dmd/}
gl: Hai rastrexadores de novas versións nas fontes orixinais, que lle avisan automaticamente ao mantedor mediante diferentes paneis de control, como \url{https://tracker.debian.org/} e \url{https://udd.debian.org/dmd/}

note: type: itemize
en: \texttt{uscan}: run a manual check
gl: \texttt{uscan}: executar unha comprobación manual

note: type: itemize
en: \texttt{uupdate}: try to update your package to the latest upstream version
gl: \texttt{uupdate}: tenta actualizar o teu paquete á última versión da fonte orixinal

note: type: subsection{#2}
en: Packaging with a Version Control System (SVN, Git)
gl: Empaquetando cun Sistema de Control de Versións (SVN, Git)

note: type: frame{#2}
en: Packaging with a Version Control System
gl: Empaquetando cun Sistema de Control de Versións (SVN, Git)

note: type: itemize
en: Several tools to help manage branches and tags for your packaging work:\\ \texttt{svn-buildpackage}, \texttt{git-buildpackage}
gl: Varias ferramentas para axudarche a xestionar as pólas e etiquetas no teu empaquetado:\\ \texttt{svn-buildpackage}, \texttt{git-buildpackage}

note: type: itemize
en: Example: \texttt{git-buildpackage}
gl: Exemplo: \texttt{git-buildpackage}

note: type: itemize
en: \texttt{upstream} branch to track upstream with \texttt{upstream/\textsl{version}} tags
gl: A póla \texttt{upstream} para seguir a fonte orixinal coa etiqueta \texttt{upstream/\textsl{version}}

note: type: itemize
en: \texttt{master} branch tracks the Debian package
gl: A póla \texttt{master} segue o paquete de Debian

note: type: itemize
en: \texttt{debian/\textsl{version}} tags for each upload
gl: Para cada subída as etiquetas \texttt{debian/\textsl{version}}

note: type: itemize
en: \texttt{pristine-tar} branch to be able to rebuild the upstream tarball
gl: A póla \texttt{pristine-tar} para reconstruír o arquivo tar orixinal

note: type: itemize
en: Doc: \url{http://honk.sigxcpu.org/projects/git-buildpackage/manual-html/gbp.html}
gl: Documentación: \url{http://honk.sigxcpu.org/projects/git-buildpackage/manual-html/gbp.html}

note: type: itemize
en: \texttt{Vcs-*} fields in \texttt{debian/control} to locate the repository
gl: Para atopar o repositorio use os campos \texttt{Vcs-*} en \texttt{debian/control}

note: type: lstlisting
en: [basicstyle=\ttfamily\scriptsize]
    Vcs-Browser: https://salsa.debian.org/debian/devscripts
    Vcs-Git: https://salsa.debian.org/debian/devscripts.git
gl: [basicstyle=\ttfamily\scriptsize]
    Navegador SCV: https://salsa.debian.org/debian/devscripts
    SCV Git: https://salsa.debian.org/debian/devscripts.git

note: type: lstlisting
en: [basicstyle=\ttfamily\scriptsize]
    Vcs-Browser: https://salsa.debian.org/perl-team/modules/packages/libwww-perl
    Vcs-Git: https://salsa.debian.org/perl-team/modules/packages/libwww-perl.git
gl: [basicstyle=\ttfamily\scriptsize]
    Navegador SCV: https://salsa.debian.org/perl-team/modules/packages/libwww-perl
    SCV Git: https://salsa.debian.org/perl-team/modules/packages/libwww-perl.git

note: type: itemize
en: VCS-agnostic interface: \texttt{debcheckout}, \texttt{debcommit}, \texttt{debrelease}\\
gl: Interface SCV independente: \texttt{debcheckout}, \texttt{debcommit}, \texttt{debrelease}\\

note: type: itemize
en: \texttt{debcheckout grep} $\rightarrow$ checks out the source package from Git
gl: \texttt{debcheckout grep} $\rightarrow$ comproba o paquete fonte de Git

note: type: frame{#2}
en: Backporting packages
gl: Modernizar paquetes

note: type: itemize
en: Goal: use a newer version of a package on an older system\\ e.g. use \textsl{mutt} from Debian \textsl{unstable} on Debian \textsl{stable}
gl: Obxectivo: usar unha versión nova do paquete nun sistema vello\\ p.e. usar \textsl{mutt} de Debian \textsl{inestable} en Debian \textsl{estable}

note: type: itemize
en: General idea:
gl: Idea xeral:

note: type: itemize
en: Take the source package from Debian unstable
gl: Coller o paquete fonte de Debian inestable

note: type: itemize
en: Modify it so that it builds and works fine on Debian stable
gl: Modificalo para que compile e funcione ben en Debian estable

note: type: itemize
en: Sometimes trivial (no changes needed)
gl: Ás veces banal (non necesita cambios)

note: type: itemize
en: Sometimes difficult
gl: Ás veces dificil

note: type: itemize
en: Sometimes impossible (many unavailable dependencies)
gl: Ás veces imposible (hai moitas dependencias que non se poden conseguir)

note: type: itemize
en: Some backports are provided and supported by the Debian project\\ \url{http://backports.debian.org/}
gl: Algunhas modernizacións («backports» en inglés) está feitas e aprobadas polo proxecto Debian\\ \url{http://backports.debian.org/}

note: type: section{#2}
en: Maintaining packages in Debian
gl: Mantendo paquetes en Debian

note: type: frame{#2}
en: Debian archive and suites
gl: Arquivo e suites de Debian

note: type: tikzpicture
en: \draw node[suite,prod] (sec) {security}; \draw node[suite,prod,right=of sec] (su) {stable-updates}; \draw node[suite,prod,right=of su] (st) {stable}; \draw node[suite,old,node distance=0.3cm,below=of st] (os) {oldstable}; \draw node[suite,veryold,node distance=0.3cm,below=of os] (ar) {archive.d.o}; \draw node[suite,prod,right=of st] (bp) {backports}; \draw node[suite,test] (spu) at ($(su) + (-0.6,2.5)$) {stable-proposed-updates}; \draw node[suite,internal] (sn) at ($(st) + (-1.8,1.4)$) {stable-new}; \draw node[suite,test,node distance=1.5cm,above=of st] (te) {testing}; \draw node[suite,devel,above=of te] (sid) {unstable}; \draw node[suite,devel] (exp) at ($(sid) + (2.5,0.5)$) {experimental}; \draw node[suite,devel] (tpu) at ($(te)!0.5!(sid) + (2.5,0)$) {testing-proposed-updates}; \draw node[people,above=of sid] (dd) {developer}; \draw node[people,node distance=3cm,left=of dd] (secteam) {security team}; \draw[arr,uploads,->] (dd) -- (sid); \draw[arr,uploads,->] (dd) -- (exp); \draw[arr,uploads,->,bend right=8] (dd) to (tpu); \draw[arr,uploads,->] (secteam) -- (sid); \draw[arr,uploads,->] (secteam) -- (sec); \draw[arr,uploads,->] (dd) to (spu); \draw[arr,uploads,->] plot [smooth, tension=0.75] coordinates { (dd.east) ($(exp.north east)+(0.1,0.1)$) ($(tpu.east)+(0.2,0)$)  ($(bp.north east) + (-0.4,0)$) }; \draw[arr,migrations,->] (tpu) -- (te); \draw[arr,migrations,->] (sid) -- (te); \draw[arr,migrations,->] (te) -- (st) node [midway,align=left,midway,right,font=\footnotesize] {stable\\ release}; \draw[arr,migrations,->] (sec) -- (sn); \draw[arr,migrations,->] (sn) to node [pos=0.2] (spulabel) {} (st); \draw node[font=\footnotesize,align=right] at ($(spulabel) + (-0.4,-0.45)$) {stable \\ point \\ release}; \draw[arr,migrations,->] (spu) to (sn); \draw[arr,migrations,->] (spu) -- (su); \draw[arr,migrations,->] (st) -- (os); \draw[arr,migrations,->] (os) -- (ar); \coordinate (legend) at (-2,-1); \draw[arr,uploads,->] (legend) -- ($(legend) + (0.7,0)$) node [right,legend] {package uploads}; \coordinate[node distance=1.1em,below=of legend] (legend2); \draw[arr,migrations,->] (legend2) -- ($(legend2) + (0.7,0)$) node [right,legend] {package migrations between suites}; \coordinate[node distance=1.5em,below=of legend2] (legend3); \draw node[right,suite,devel,legend] (ldev) at (legend3) {development}; \draw node[node distance=0.1cm,right=of ldev,suite,test,legend] (ltest) {test}; \draw node[node distance=0.1cm,right=of ltest,suite,internal,legend] (lint) {internal}; \draw node[node distance=0.1cm,right=of lint,suite,prod,legend] (lprod) {production}; \draw ($(legend.north west) + (-0.1,0.25)$) rectangle ($(lprod.south east) + (0.1,-0.1)$); \draw node[font=\bf,red!70!white,align=center] (tnext) at ($(te.east) + (2,-0.1)$) {preparation of \\ next release}; \draw node[font=\bf,green!70!black,align=center] (tsrm) at ($(sec.north east) + (1,1)$) {stable\\release\\management}; \pgfdeclarelayer{background} \pgfdeclarelayer{foreground} \pgfsetlayers{background,main,foreground}
gl: \draw node[suite,prod] (sec) {security}; \draw node[suite,prod,right=of sec] (su) {stable-updates}; \draw node[suite,prod,right=of su] (st) {stable}; \draw node[suite,old,node distance=0.3cm,below=of st] (os) {oldstable}; \draw node[suite,veryold,node distance=0.3cm,below=of os] (ar) {archive.d.o}; \draw node[suite,prod,right=of st] (bp) {backports}; \draw node[suite,test] (spu) at ($(su) + (-0.6,2.5)$) {stable-proposed-updates}; \draw node[suite,internal] (sn) at ($(st) + (-1.8,1.4)$) {stable-new}; \draw node[suite,test,node distance=1.5cm,above=of st] (te) {testing}; \draw node[suite,devel,above=of te] (sid) {unstable}; \draw node[suite,devel] (exp) at ($(sid) + (2.5,0.5)$) {experimental}; \draw node[suite,devel] (tpu) at ($(te)!0.5!(sid) + (2.5,0)$) {testing-proposed-updates}; \draw node[people,above=of sid] (dd) {desenvolvedor}; \draw node[people,node distance=3cm,left=of dd] (secteam) {equipo de seguranza}; \draw[arr,uploads,->] (dd) -- (sid); \draw[arr,uploads,->] (dd) -- (exp); \draw[arr,uploads,->,bend right=8] (dd) to (tpu); \draw[arr,uploads,->] (secteam) -- (sid); \draw[arr,uploads,->] (secteam) -- (sec); \draw[arr,uploads,->] (dd) to (spu); \draw[arr,uploads,->] plot [smooth, tension=0.75] coordinates { (dd.east) ($(exp.north east)+(0.1,0.1)$) ($(tpu.east)+(0.2,0)$)  ($(bp.north east) + (-0.4,0)$) }; \draw[arr,migrations,->] (tpu) -- (te); \draw[arr,migrations,->] (sid) -- (te); \draw[arr,migrations,->] (te) -- (st) node [midway,align=left,midway,right,font=\footnotesize] {versión\\ estable}; \draw[arr,migrations,->] (sec) -- (sn); \draw[arr,migrations,->] (sn) to node [pos=0.2] (spulabel) {} (st); \draw node[font=\footnotesize,align=right] at ($(spulabel) + (-0.4,-0.45)$) {versión \\ estable \\ punto}; \draw[arr,migrations,->] (spu) to (sn); \draw[arr,migrations,->] (spu) -- (su); \draw[arr,migrations,->] (st) -- (os); \draw[arr,migrations,->] (os) -- (ar); \coordinate (legend) at (-2,-1); \draw[arr,uploads,->] (legend) -- ($(legend) + (0.7,0)$) node [right,legend] {subir paquete}; \coordinate[node distance=1.1em,below=of legend] (legend2); \draw[arr,migrations,->] (legend2) -- ($(legend2) + (0.7,0)$) node [right,legend] {migración do paquete entre suites}; \coordinate[node distance=1.5em,below=of legend2] (legend3); \draw node[right,suite,devel,legend] (ldev) at (legend3) {desenvolvemento}; \draw node[node distance=0.1cm,right=of ldev,suite,test,legend] (ltest) {probas}; \draw node[node distance=0.1cm,right=of ltest,suite,internal,legend] (lint) {interno}; \draw node[node distance=0.1cm,right=of lint,suite,prod,legend] (lprod) {produción}; \draw ($(legend.north west) + (-0.1,0.25)$) rectangle ($(lprod.south east) + (0.1,-0.1)$); \draw node[font=\bf,red!70!white,align=center] (tnext) at ($(te.east) + (2,-0.1)$) {preparar a\\ seguinte versión}; \draw node[font=\bf,green!70!black,align=center] (tsrm) at ($(sec.north east) + (1,1)$) {xestión das \\versións\\estables}; \pgfdeclarelayer{background} \pgfdeclarelayer{foreground} \pgfsetlayers{background,main,foreground}

note: type: flushright
en: \tiny Based on graph by Antoine Beaupr\'e. \url{https://salsa.debian.org/debian/package-cycle}~~~~~~~~~~~~
gl: \tiny Baseado nu gráfico de Antoine Beaupr\'e. \url{https://salsa.debian.org/debian/package-cycle}~~~~~~~~~~~~

note: type: frame{#2}
en: Suites for development
gl: Suites para o desenvolvemento

note: type: itemize
en: New versions of packages are uploaded to \textbf{unstable} (\textbf{sid})
gl: As novas versións dos paquetes sóbense á suite inestable \textbf{unstable} (\textbf{sid})

note: type: itemize
en: Packages migrate from \textbf{unstable} to \textbf{testing} based on several criterias (e.g. has been in unstable for 10 days, and no regressions)
gl: Os paquetes migran dende \textbf{unstable} a \textbf{testing} dependendo de varios criterios (coma que leve en unstable 10 días, e que non tivera regresións)

note: type: itemize
en: New packages can also be uploaded to:
gl: Os novos paquetes tamén se poden subir a:

note: type: itemize
en: \textbf{experimental} (for more \textsl{experimental} packages, such as when the new version is not ready to replace the one currently in unstable)
gl: \textbf{experimental} (para os paquetes máis \textsl{experimentais}, por exemplo cando a nova versión inda non está lista para substituír á que xa existe en inestable)

note: type: itemize
en: \textbf{testing-proposed-updates}, to update the version in \textbf{testing} without going through \textbf{unstable} (this is rarely used)
gl: \textbf{testing-proposed-updates}, para actualizar a versión de probas en \textbf{testing} sen pasar por \textbf{unstable} (non se adoita facer)

note: type: frame{#2}
en: Freezing and releasing
gl: Conxelando e soltando unha nova versión

note: type: itemize
en: At some point during the release cycle, the release team decides to \textsl{freeze} testing: automatic migrations from \textbf{unstable} to \textbf{testing} are stopped, and replaced by manual review
gl: Chegado o momento no ciclo de versións, o equipo de versións decide \textsl{conxelar} as probas: páranse as migracións automáticas dende \textbf{unstable} a \textbf{testing}, e substitúense por unha aprobación manual

note: type: itemize
en: When the release team considers \textbf{testing} to be ready for release:
gl: Cando o equipo de versións considera que \textbf{testing} está listo para saír:

note: type: itemize
en: The \textbf{testing} suite becomes the new \textbf{stable} suite
gl: A suite de probas \textbf{testing} convértese na nova suite \textbf{stable}

note: type: itemize
en: Similarly, the old \textbf{stable} becomes \textbf{oldstable}
gl: Da mesma forma, o anterior \textbf{stable} convértese en \textbf{oldstable}

note: type: itemize
en: Unsupported releases are moved to \texttt{archive.debian.org}
gl: As versións que quedaron sen mantemento móvense a \texttt{archive.debian.org}

note: type: itemize
en: See \url{https://release.debian.org/}
gl: Véxase \url{https://release.debian.org/}

note: type: frame{#2}
en: Stable release suites and management
gl: Xestión e suites das versións estables

note: type: itemize
en: Several suites are used to provide stable release packages:
gl: Úsanse varias suites para fornecer a versión estable dos paquetes:

note: type: itemize
en: \textbf{stable}: the main suite
gl: \textbf{stable}: a suite principal

note: type: itemize
en: \textbf{security} updates suite provided on \texttt{security.debian.org}, used by the security team. Updates are announced on the \texttt{debian-security-announce} mailing list
gl: A suite de actualizacións \textbf{security} aloxada en \texttt{security.debian.org}, usada polo equipo de seguridade. As actualizacións anúncianse na lista de correo \texttt{debian-security-announce}

note: type: itemize
en: \textbf{stable-updates}: updates that are not security related, but that should urgently be installed (without waiting for the next point release): antivirus databases, timezone-related packages, etc. Announced on the \texttt{debian-stable-announce} mailing list
gl: \textbf{stable-updates}: actualizacións estables que non están relacionadas coa seguridade, pero que deberían ser instaladas con urxencia (sen esperar á seguinte versión punto): bases de datos dos antivirus, paquetes relacionados coas franxas horarias, etc. Anúncianse na lista de correo \texttt{debian-stable-announce}

note: type: itemize
en: \textbf{backports}: new upstream versions, based on the version in \textbf{testing}
gl: \textbf{backports}: Modernizacións baseadas na versión en \textbf{testing}

note: type: itemize
en: The \textbf{stable} suite is updated every few months by \textsl{stable point releases} (that include only bug fixes)
gl: A suite estable \textbf{stable} actualízase cada par de meses por \textsl{versións punto estables} (que só inclúen arranxar fallos)

note: type: itemize
en: Packages targetting the next stable point release are uploaded to \textbf{stable-proposed-updates} and reviewed by the release team
gl: Os paquetes pensando na seguinte versión punto estable sóbense á suite de propostas de actualización \textbf{stable-proposed-updates} e son revisadas polo equipo de versións

note: type: itemize
en: The \textbf{oldstable} release has the same set of suites
gl: A seguinte versión estable anterior \textbf{oldstable} ten o mesmo conxunto de suites

note: type: frame{#2}
en: Several ways to contribute to Debian
gl: Varias maneiras de contribuír a Debian

note: type: itemize
en: \textbf{Worst} way to contribute:
gl: As \textbf{peores} maneiras de contribuír:

note: type: enumerate
en: Package your own application
gl: Empaquetar a túa propia aplicación

note: type: enumerate
en: Get it into Debian
gl: Metela en Debian

note: type: enumerate
en: Disappear
gl: E desaparecer

note: type: itemize
en: \textbf{Better} ways to contribute:
gl: As \textbf{mellores} maneiras de contribuír:

note: type: itemize
en: Get involved in packaging teams
gl: Implicarse nos equipos de empaquetado

note: type: itemize
en: Many teams that focus on set of packages, and need help
gl: Moitos equipos céntranse nun conxunto de paquetes, e necesitan axuda

note: type: itemize
en: List available at \url{https://wiki.debian.org/Teams}
gl: Equipos dispoñibles en \url{https://wiki.debian.org/Teams}

note: type: itemize
en: An excellent way to learn from more experienced contributors
gl: Unha maneira excelente de aprender dos contribuíntes máis experimentados

note: type: itemize
en: Adopt existing unmaintained packages (\textsl{orphaned packages})
gl: Adoptar paquetes xa existentes pero sen mantedores (\textsl{paquetes orfos})

note: type: itemize
en: Bring new software to Debian
gl: Traer novos programas a Debian

note: type: itemize
en: Only if it's interesting/useful enough, please
gl: Pero só se son interesantes e/ou útiles, por favor

note: type: itemize
en: Are there alternatives already packaged in Debian?
gl: Hai alternativas xa empaquetadas en Debian?

note: type: frame{#2}
en: Adopting orphaned packages
gl: Adoptar paquetes orfos

note: type: itemize
en: Many unmaintained packages in Debian
gl: Moitos paquetes sen mantedores en Debian

note: type: itemize
en: Full list + process: \url{https://www.debian.org/devel/wnpp/}
gl: Lista completa e proceso: \url{https://www.debian.org/devel/wnpp/}

note: type: itemize
en: Installed on your machine: \texttt{wnpp-alert}\\ Or better: \texttt{how-can-i-help}
gl: Instalado na túa máquina: \texttt{wnpp-alert}\\ Ou mellor: \texttt{how-can-i-help}

note: type: itemize
en: Different states:
gl: Diferentes estados:

note: type: itemize
en: \textbf{O}rphaned: the package is unmaintained\\ Feel free to adopt it
gl: \textbf{O}rfos: o paquete non ten mantedores\\ Adopta sen medo

note: type: itemize
en: \textbf{RFA}: \textbf{R}equest \textbf{F}or \textbf{A}dopter\\ Maintainer looking for adopter, but continues work in the meantime\\ Feel free to adopt it. A mail to the current maintainer is polite
gl: \textbf{RFA}: Mantedor buscando adopción [\textbf{R}equest \textbf{F}or \textbf{A}dopter]\\ O mantedor está buscando adopción, pero segue a traballar nel entrementres\\ Adóptao sen medo. É de boa educación avisar ao mantedor

note: type: itemize
en: \textbf{ITA}: \textbf{I}ntent \textbf{T}o \textbf{A}dopt\\ Someone intends to adopt the package\\ You could propose your help!
gl: \textbf{ITA}: Intención De Adoptar [\textbf{I}ntent \textbf{T}o \textbf{A}dopt]\\ Alguén quere adoptar o paquete\\ Podes porte coma candidato!

note: type: itemize
en: \textbf{RFH}: \textbf{R}equest \textbf{F}or \textbf{H}elp\\ The maintainer is looking for help
gl: \textbf{RFH}: Requírese Axuda [\textbf{R}equest \textbf{F}or \textbf{H}elp]\\ O mantedor está buscando axuda

note: type: itemize
en: Some unmaintained packages not detected \arr not orphaned yet
gl: Algúns paquetes sen mantedores non descubertos rr inda non son orfos

note: type: itemize
en: When in doubt, ask \texttt{debian-qa@lists.debian.org} \\ or \texttt{\#debian-qa} on \texttt{irc.debian.org}
gl: Se tes dúbidas pregunta en \texttt{debian-qa@lists.debian.org} \\ ou \texttt{\#debian-qa} en \texttt{irc.debian.org}

note: type: frame{#2}
en: Adopting a package: example
gl: Adoptando un paquete: exemplo

note: type: lstlisting
en: [basicstyle=\ttfamily\footnotesize,escapeinside=\{\}]
    From: You <you@yourdomain>
    To: 640454@bugs.debian.org, control@bugs.debian.org
    Cc: Francois Marier <francois@debian.org>
    Subject: ITA: verbiste -- French conjugator
gl: [basicstyle=\ttfamily\footnotesize]
    De: Ti <ti@teudominio>
    A: 640454@bugs.debian.org, control@bugs.debian.org
    Cc: Francois Marier <francois@debian.org>
    Asunto: ITA: verbiste -- conxugador franc{\'e}s

note: type: lstlisting
en: retitle 640454 ITA: verbiste -- French conjugator
    owner 640454 !
    thanks
gl: retitle 640454 ITA: verbiste -- conxugador franc{\'e}s
    owner 640454 !
    thanks

note: type: lstlisting
en: Hi,
gl: Ola,

note: type: lstlisting
en: I am using verbiste and I am willing to take care of the package.
gl: Estou usando verbiste e estou disposto a coidar do paquete.

note: type: lstlisting
en: Cheers,
gl: Sa{\'u}dos,

note: type: lstlisting
en: You
gl: Ti

note: type: itemize
en: Polite to contact the previous maintainer (especially if the package was RFAed, not orphaned)
gl: É de boas maneiras contactar o mantedor previo (sobre todo se o paquete estaba RFA, non orfo)

note: type: itemize
en: Very good idea to contact the upstream project
gl: É unha moi boa idea contactar o proxecto orixinal

note: type: frame{#2}
en: Getting your package in Debian
gl: Levando o teu paquete a Debian

note: type: itemize
en: You do not need any official status to get your package into Debian
gl: Non necesitas ter ningún título para poder meter o teu paquete en Debian

note: type: enumerate
en: Submit an \textbf{ITP} bug (\textbf{I}ntent \textbf{T}o \textbf{P}ackage) using \texttt{reportbug wnpp}
gl: Envía unha petición \textbf{ITP} (Intención De Empaquetado, ou en inglés \textbf{I}ntent \textbf{T}o \textbf{P}ackage) usando \texttt{reportbug wnpp}

note: type: enumerate
en: Prepare a source package
gl: Preparar un paquete fonte

note: type: enumerate
en: Find a Debian Developer that will sponsor your package
gl: Atopar un desenvolvedor de Debian que patrocine o teu paquete

note: type: itemize
en: Official status (when you are an experienced package maintainer):
gl: Estado oficial (cando sexa un mantedor de paquetes experimentado):

note: type: itemize
en: \textbf{Debian Maintainer (DM):}\\ Permission to upload your own packages\\ See \url{https://wiki.debian.org/DebianMaintainer}
gl: \textbf{Mantedor Debian (DM):}\\ Permiso para subir os teus propios paquetes\\ Véxase \url{https://wiki.debian.org/DebianMaintainer}

note: type: itemize
en: \textbf{Debian Developer (DD):}\\ Debian project member; can vote and upload any package
gl: \textbf{Desenvolvedor Debian (DD):}\\ Membro do proxecto Debian; pode votar e subir calquera paquete

note: type: frame{#2}
en: Things to check before asking for sponsorship
gl: Cousas a comprobar antes de pedir padroádego

note: type: itemize
en: Debian puts \textbf{a lot of focus on quality}
gl: Debian \textbf{céntrase moito na calidade}

note: type: itemize
en: Generally, \textbf{sponsors are hard to find and busy}
gl: Normalmente, \textbf{os patróns son difíciles de atopar e están moi ocupados}

note: type: itemize
en: Make sure your package is ready before asking for sponsorship
gl: Asegúrate de que o teu paquete está listo antes de preguntar por un padroádego

note: type: itemize
en: Things to check:
gl: A comprobar:

note: type: itemize
en: Avoid missing build-dependencies: make sure that your package build fine in a clean \textsl{sid} \textsl{chroot}
gl: Que teña todas as dependencias de compilación: asegúrate de que o teu paquete compila ben nun \textsl{chroot} \textsl{sid} limpo

note: type: itemize
en: Using \texttt{pbuilder} is recommended
gl: Recoméndase usar \texttt{pbuilder}

note: type: itemize
en: Run \texttt{lintian -EviIL +pedantic} on your package
gl: Execute \texttt{lintian -EviIL +pedantic} no seu paquete

note: type: itemize
en: Errors must be fixed, all other problems should be fixed
gl: Os erros débense arranxar, os outros problemas son máis opcionais

note: type: itemize
en: Do extensive testing of your package, of course
gl: Por suposto, faille moitas probas ao teu paquete

note: type: itemize
en: In doubt, ask for help
gl: Se tes dúbidas, pide axuda

note: type: frame{#2}
en: Where to find help?
gl: Onde atopar axuda?

note: type: frame
en: Help you will need:
gl: Axuda necesaria:

note: type: itemize
en: Advice and answers to your questions, code reviews
gl: Consellos e respostas as túas preguntas, revisións do código

note: type: itemize
en: Sponsorship for your uploads, once your package is ready
gl: Padroádegos para as túas subidas, cando o teu paquete estea listo

note: type: frame
en: You can get help from:
gl: Podes conseguir axuda de:

note: type: textbf{#1}
en: Other members of a packaging team
gl: Outros membros dun equipo de empaquetado

note: type: itemize
en: List of teams: \url{https://wiki.debian.org/Teams}
gl: Lista de equipos: \url{https://wiki.debian.org/Teams}

note: type: itemize
en: The \textbf{Debian Mentors group} (if your package does not fit in a team)
gl: O \textbf{grupo de Mentores de Debian} (se o teu paquete non encaixa con ningún equipo)

note: type: itemize
en: Mailing list: \url{debian-mentors@lists.debian.org}\\ {\small (also a good way to learn by accident)}
gl: Lista de correo: \url{debian-mentors@lists.debian.org}\\ {\small (tamén unha boa forma de aprender dos erros)}

note: type: itemize
en: IRC: \texttt{\#debian-mentors} on \texttt{irc.debian.org}
gl: IRC: \texttt{\#debian-mentors} en \texttt{irc.debian.org}

note: type: itemize
en: Documentation: \url{http://mentors.debian.net/intro-maintainers}
gl: Documentación: \url{http://mentors.debian.net/intro-maintainers}

note: type: itemize
en: \textbf{Localized mailing lists} (get help in your language)
gl: \textbf{Listas de correo sobre a localización} (obter axuda na túa lingua)

note: type: itemize
en: Full list: \url{https://lists.debian.org/devel.html}
gl: Lista completa: \url{https://lists.debian.org/devel.html}

note: type: itemize
en: Or users lists: \url{https://lists.debian.org/users.html}
gl: Ou lista de usuarios: \url{https://lists.debian.org/users.html}

note: type: frame{#2}
en: More documentation
gl: Máis documentación

note: type: itemize
en: Debian Developers' Corner\\ \url{https://www.debian.org/devel/}\\ {\small Links to many resources about Debian development}
gl: Curruncho dos Desenvolvedores de Debian\\ \url{https://www.debian.org/devel/}\\ {\small Ligazóns a moitos recursos sobre desenvolver en Debian}

note: type: itemize
en: Guide for Debian Maintainers\\ \url{https://www.debian.org/doc/manuals/debmake-doc/}
gl: Guía para os Mantedores de Debian\\ \url {https://www.debian.org/doc/manuals/debmake-doc/}

note: type: itemize
en: Debian Developer's Reference\\ \url{https://www.debian.org/doc/developers-reference/}\\ {\small Mostly about Debian procedures, but also some best packaging practices (part 6)}
gl: Referencia dos Desenvolvedores de Debian\\ \url{https://www.debian.org/doc/developers-reference/}\\ {\small A meirande parte é sobre os procesos de Debian, pero tamén inclúe boas prácticas no empaquetado (parte 6)}

note: type: itemize
en: Debian Policy\\ \url{https://www.debian.org/doc/debian-policy/}\\
gl: Política de Debian\\ \url{https://www.debian.org/doc/debian-policy/}\\

note: type: itemize
en: {\small \begin{itemize} \item \small All the requirements that every package must satisfy \item \small Specific policies for Perl, Java, Python, \ldots \end{itemize}}
gl: {\small \begin{itemize} \item \small Todos os requirimentos que todo paquete ten que satisfacer \item \small Políticas específicas para Perl, Java, Python, \ldots \end{itemize}}

note: type: itemize
en: Ubuntu Packaging Guide\\ \url{https://packaging.ubuntu.com/html/}
gl: Guía de Empaquetado Ubuntu\\ \url{https://packaging.ubuntu.com/html/}

note: type: frame{#2}
en: Debian dashboards for maintainers
gl: Paneis de control de Debian para mantedores

note: type: itemize
en: \textbf{Source package centric}:\\ \url{https://tracker.debian.org/dpkg}
gl: \textbf{Orientado aos paquetes fonte}:\\ \url{https://tracker.debian.org/dpkg}

note: type: itemize
en: \textbf{Maintainer/team centric}: Developer's Packages Overview (DDPO)\\ \url{https://qa.debian.org/developer.php?login=pkg-ruby-extras-maintainers@lists.alioth.debian.org}
gl: \textbf{Orientado aos equipos/mantedores}: Vista Xeral dos Paquetes dos Desenvolvedores (DDPO)\\ \url{https://qa.debian.org/developer.php?login=pkg-ruby-extras-maintainers@lists.alioth.debian.org}

note: type: itemize
en: \textbf{TODO-list oriented}: Debian Maintainer Dashboard (DMD)\\ \url{https://udd.debian.org/dmd/}
gl: \textbf{Orientado ás listas PORFACER(TODO)}: Panel de Control dos Mantedores de Debian (DMD)\\ \url{https://udd.debian.org/dmd/}

note: type: frame{#2}
en: Using the Debian Bug Tracking System (BTS)
gl: Usando o Sistema de Seguimento de Fallos de Debian (BTS)

note: type: itemize
en: A quite unique way to manage bugs
gl: Unha maneira bastante única para xestionar fallos

note: type: itemize
en: Web interface to view bugs
gl: Interface na rede para consultar fallos

note: type: itemize
en: Email interface to make changes to bugs
gl: Interface por correo electrónico para facer cambios nos fallos

note: type: itemize
en: Adding information to bugs:
gl: Engadir información sobre os fallos:

note: type: itemize
en: Write to \texttt{123456@bugs.debian.org} (does not include the submitter, you need to add \texttt{123456-submitter@bugs.debian.org})
gl: Escribe a \texttt{123456@bugs.debian.org} (sen incluír o remitente, necesitas engadir \texttt{123456-submitter@bugs.debian.org})

note: type: itemize
en: Changing bug status:
gl: Cambiar a categoría do problema:

note: type: itemize
en: Send commands to \texttt{control@bugs.debian.org}
gl: Envía ordes a \texttt{control@bugs.debian.org}

note: type: itemize
en: Command-line interface: \texttt{bts} command in \texttt{devscripts}
gl: Interface por liña de ordes: comando \texttt{bts} en \texttt{devscripts}

note: type: itemize
en: Documentation: \url{https://www.debian.org/Bugs/server-control}
gl: Documentación: \url{https://www.debian.org/Bugs/server-control}

note: type: itemize
en: Reporting bugs: use \texttt{reportbug}
gl: Avisando de fallos: use \texttt{reportbug}

note: type: itemize
en: Normally used with a local mail server: install \texttt{ssmtp} or \texttt{nullmailer}
gl: Normalmente usado cun servidor local de correo: instale \texttt{ssmtp} ou \texttt{nullmailer}

note: type: itemize
en: Or use \texttt{reportbug -\@-template}, then send (manually) to \texttt{submit@bugs.debian.org}
gl: Ou use \texttt{reportbug -\@-template}, e envíeo (manualmente) a \texttt{submit@bugs.debian.org}

note: type: frame{#2}
en: Using the BTS: examples
gl: Usando o BTS: exemplos

note: type: itemize
en: Sending an email to the bug and the submitter:\\ \url{https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=680822\#10}
gl: Enviándolle un correo ao problema e o remitente:\\ \url{https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=680822\#10}

note: type: itemize
en: Tagging and changing the severity:\\ \url{https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=680227\#10}
gl: Etiquetando e cambiando a importancia:\\ \url{https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=680227\#10}

note: type: itemize
en: Reassigning, changing the severity, retitling \ldots: \\ \url{https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=680822\#93}
gl: Resignando, cambiando a importancia, cambiando o título, \ldots: \\ \url{https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=680822\#93}

note: type: itemize
en: \texttt{notfound}, \texttt{found}, \texttt{notfixed}, \texttt{fixed} are for \textbf{version-tracking} \\ See \url{https://wiki.debian.org/HowtoUseBTS\#Version\_tracking}
gl: \texttt{notfound}(non atopado), \texttt{found}(atopado), \texttt{notfixed}(sen arranxar), \texttt{fixed}(arranxado) son para \textbf{version-tracking}(seguimento de versións) \\ Véxase \url{https://wiki.debian.org/HowtoUseBTS\#Version\_tracking}

note: type: itemize
en: Using usertags: \url{https://bugs.debian.org/cgi-bin/bugreport.cgi?msg=42;bug=642267}\\ See \url{https://wiki.debian.org/bugs.debian.org/usertags}
gl: Usando etiquetas de usuario: \url{https://bugs.debian.org/cgi-bin/bugreport.cgi?msg=42;bug=642267}\\ Véxase \url{https://wiki.debian.org/bugs.debian.org/usertags}

note: type: itemize
en: BTS Documentation:
gl: Documentación BTS:

note: type: frame{#2}
en: More interested in Ubuntu?
gl: Estás máis interesado en Ubuntu?

note: type: itemize
en: Ubuntu mainly manages the divergence with Debian
gl: Ubuntu normalmente céntrase en xestionar as diferenzas con Debian

note: type: itemize
en: No real focus on specific packages\\ Instead, collaboration with Debian teams
gl: Non se centran en paquetes específicos\\ En troques, colaboran cos equipos de Debian

note: type: itemize
en: Usually recommend uploading new packages to Debian first\\ \url{https://wiki.ubuntu.com/UbuntuDevelopment/NewPackages}
gl: Normalmente recomendan subir os novos paquetes a Debian primeiro\\ \url{https://wiki.ubuntu.com/UbuntuDevelopment/NewPackages}

note: type: itemize
en: Possibly a better plan:
gl: Unha mellor idea:

note: type: itemize
en: Get involved in a Debian team and act as a bridge with Ubuntu
gl: Involúcrate nun equipo de Debian e fai de ponte con Ubuntu

note: type: itemize
en: Help reduce divergence, triage bugs in Launchpad
gl: Axuda a reducir as diverxencias e os fallos de triaxe no Launchpad

note: type: itemize
en: Many Debian tools can help:
gl: Moitas ferramentas en Debian:

note: type: itemize
en: Ubuntu column on the Developer's packages overview
gl: A columna de Ubuntu no resumo do desenvolvedor dos paquetes

note: type: itemize
en: Ubuntu box on the Package Tracking System
gl: A caixa de Ubuntu no Sistema de Seguimento de Paquetes (PTS)

note: type: itemize
en: Receive launchpad bugmail via the PTS
gl: Recibir correo dos fallos do Launchpad polo PTS

note: type: frame{#2}
en: Conclusions
gl: Conclusión

note: type: itemize
en: You now have a full overview of Debian packaging
gl: Xa ten unha vista completa do sistema de empaquetado en Debian

note: type: itemize
en: But you will need to read more documentation
gl: Pero vai necesitar ler máis documentación

note: type: itemize
en: Best practices have evolved over the years
gl: O que se consideran boas prácticas vai cambiando co tempo

note: type: itemize
en: If not sure, use the \textbf{dh} packaging helper, and the \textbf{3.0 (quilt)} format
gl: Se ten dúbidas, use a axuda de empaquetado \textbf{dh}, e o formato \textbf{3.0 (quilt)}

note: type: centerline{#1}
en: \large Feedback: \textbf{packaging-tutorial@packages.debian.org}
gl: \large Correccións: \textbf{packaging-tutorial@packages.debian.org}

note: type: frame{#2}
en: Legal stuff
gl: Asuntos legais

note: type: frame
en: {\small \textbf{This document is free software}: you can redistribute it and/or modify it under either (at your option): \hbr \begin{itemize} \item The terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.\\ \url{http://www.gnu.org/licenses/gpl.html} \br \item The terms of the Creative Commons Attribution-ShareAlike 3.0 Unported License.\\ \url{http://creativecommons.org/licenses/by-sa/3.0/} \end{itemize} }
gl: {\small \textbf{Este documento é software libre}: podes redistribuílo e/ou modificalo baixo (escolla segundo as súas preferencias): \hbr \begin{itemize} \item Os termos da Licencia Pública Xeral GNU tal coma a publica a Free Software Foundation, xa for versión 3 da Licenza, ou (se o prefire) unha versión posterior.\\ \url{http://www.gnu.org/licenses/gpl.html} \br \item Os termos da licenza Creative Commons Attribution-ShareAlike 3.0 Unported License.\\ \url{http://creativecommons.org/licenses/by-sa/3.0/} \end{itemize} }

note: type: frame{#2}
en: Contribute to this tutorial
gl: Contribuír ao tutorial

note: type: itemize
en: Contribute:
gl: Contribúa:

note: type: itemize
en: {\small Open bugs: \url{bugs.debian.org/src:packaging-tutorial}}
gl: {\small Fallos sen resolver: \url{bugs.debian.org/src:packaging-tutorial}}

note: type: itemize
en: Provide feedback:
gl: Enviar correccións:

note: type: itemize
en: {\small What should be added to this tutorial?}
gl: {\small Que deberíamos engadirlle ao tutorial?}

note: type: itemize
en: {\small What should be improved?}
gl: {\small Que podemos mellorar?}

note: type: section{#2}
en: Additional practical sessions
gl: Sesións prácticas adicionais

note: type: frame{#2}
en: Practical session 2: packaging GNUjump
gl: Sesión práctica 2: empaquetar GNUjump

note: type: enumerate
en: Download GNUjump 1.0.8 from \url{http://ftp.gnu.org/gnu/gnujump/gnujump-1.0.8.tar.gz}
gl: Descargue GNUjump 1.0.8 dende \url{http://ftp.gnu.org/gnu/gnujump/gnujump-1.0.8.tar.gz}

note: type: enumerate
en: Create a Debian package for it
gl: Cree un paquete Debian para el

note: type: itemize
en: Install build-dependencies so that you can build the package
gl: Instale as dependencias de compilación para poder compilar o paquete

note: type: itemize
en: Fix bugs
gl: Arranxe os fallos

note: type: itemize
en: Get a basic working package
gl: Cree un paquete funcional básico

note: type: itemize
en: Finish filling \texttt{debian/control} and other files
gl: Remate de encher \texttt{debian/control} e outros ficheiros

note: type: enumerate
en: Enjoy
gl: Disfrute

note: type: frame{#2}
en: Practical session 2: packaging GNUjump (tips)
gl: Sesión práctica 2: empaquetando GNUjump (consellos)

note: type: itemize
en: To get a basic working package, use \texttt{dh\_make}
gl: Para obter un paquete funcional básico use \texttt{dh\_make}

note: type: itemize
en: To start with, creating a \textsl{1.0} source package is easier than \textsl{3.0 (quilt)} (change that in \texttt{debian/source/format})
gl: Primeiro, crear un paquete fonte \textsl{1.0} é máis sinxelo que un \textsl{3.0 (quilt)} (pode cambialo en \texttt{debian/source/format})

note: type: itemize
en: To search for missing build-dependencies, find a missing file, and use \texttt{apt-file} to find the missing package
gl: Para buscar as dependencias de compilación necesarias, busque o ficheiro que falta e use \texttt{apt-file} para atopar o paquete necesario

note: type: itemize
en: If you encounter that error:
gl: Se atopa este erro:

note: type: itemize
en: You need to add \texttt{-lm} to the linker command line:\\ Edit \texttt{src/Makefile.am} and replace
gl: Ten que engadir \texttt{-lm} á liña de ordes do ligante:\\ Modifique \texttt{src/Makefile.am} e substitúa

note: type: itemize
en: by
gl: por

note: type: itemize
en: Then run \texttt{autoreconf -i}
gl: Despois execute \texttt{autoreconf -i}

note: type: frame{#2}
en: Practical session 3: packaging a Java library
gl: Sesión práctica 3: empaquetando unha biblioteca de Java

note: type: enumerate
en: Take a quick look at some documentation about Java packaging:\\
gl: Bótelle unha ollada a algunha documentación sobre como empaquetar en Java:\\

note: type: enumerate
en: Download IRClib from \url{http://moepii.sourceforge.net/}
gl: Descargue IRClib dende \url{http://moepii.sourceforge.net/}

note: type: enumerate
en: Package it
gl: Empaquéteo

note: type: frame{#2}
en: Practical session 4: packaging a Ruby gem
gl: Sesión práctica 4: empaquetando unha xema de Ruby

note: type: enumerate
en: Take a quick look at some documentation about Ruby packaging:\\
gl: Bótelle unha ollada á documentación sobre como empaquetar en Ruby:\\

note: type: itemize
en: \texttt{gem2deb(1)}, \texttt{dh\_ruby(1)} (in the \texttt{gem2deb} package)
gl: \texttt{gem2deb(1)}, \texttt{dh\_ruby(1)} (no paquete \texttt{gem2deb})

note: type: enumerate
en: Create a basic Debian source package from the \texttt{peach} gem:\\ \texttt{gem2deb peach}
gl: Cree un paquete fonte Debian básico a partir da xema \texttt{peach}:\\ \texttt{gem2deb peach}

note: type: enumerate
en: Improve it so that it becomes a proper Debian package
gl: Mellóreo para que se poida converter nun verdadeiro paquete Debian

note: type: frame{#2}
en: Practical session 5: packaging a Perl module
gl: Sesión práctica 5: empaquetar un módulo Perl

note: type: enumerate
en: Take a quick look at some documentation about Perl packaging:\\
gl: Bótelle unha ollada á documentación sobre como empaquetar en Perl:\\

note: type: itemize
en: \texttt{dh-make-perl(1)}, \texttt{dpt(1)} (in the \texttt{pkg-perl-tools} package)
gl: \texttt{dh-make-perl(1)}, \texttt{dpt(1)} (no paquete \texttt{pkg-perl-tools})

note: type: enumerate
en: Create a basic Debian source package from the \texttt{Acme} CPAN distribution:\\ \verb|dh-make-perl --cpan Acme|
gl: Cree un paquete fonte Debian básico a partir da distribución CPAN \texttt{Acme}:\\ \verb|dh-make-perl --cpan Acme|

note: type: section{#2}
en: Answers to practical sessions
gl: Respostas ás sesións prácticas

note: type: center
en: \LARGE Answers to
gl: \LARGE Respostas as

note: type: center
en: [0.5em] practical sessions
gl: [0.5em] sesións prácticas

note: type: frame{#2}
en: Fetching the source
gl: Obtendo a fonte

note: type: itemize
en: Use dget to download the \texttt{.dsc} file:\\ {\small \texttt{dget http://cdn.debian.net/debian/pool/main/g/grep/grep\_2.12-2.dsc}}
gl: Use dget para descargar o ficheiro \texttt{.dsc}:\\ {\small \texttt{dget http://cdn.debian.net/debian/pool/main/g/grep/grep\_2.12-2.dsc}}

note: type: itemize
en: If you have \texttt{deb-src} for a Debian release that has \texttt{grep} version 2.12-2 (find out on \url{https://tracker.debian.org/grep}), you can use: \texttt{apt-get source grep=2.12-2}\\ or \texttt{apt-get source grep/release} (e.g. \texttt{grep/stable})\\ or, if you feel lucky: \texttt{apt-get source grep}
gl: Se ten \texttt{deb-src} nunha versión de Debian con \texttt{grep} versión 2.12-2 (consúlteo en \url{https://tracker.debian.org/grep}), pode usar \texttt{apt-get source grep=2.12-2}\\ ou \texttt{apt-get source grep/release} (p.e. \texttt{grep/stable})\\ ou, se quere tentar á sorte: \texttt{apt-get source grep}

note: type: itemize
en: The \texttt{grep} source package is composed of three files:
gl: O paquete fonte \texttt{grep} ten 3 ficheiros:

note: type: itemize
en: This is typical of the "3.0 (quilt)" format.
gl: Esto é típico do formato "3.0 (quilt)".

note: type: itemize
en: If needed, uncompress the source with\\ \texttt{dpkg-source -x grep\_2.12-2.dsc}
gl: Se é necesario, descomprima a fonte con\\ \texttt{dpkg-source -x grep\_2.12-2.dsc}

note: type: frame{#2}
en: Looking around and building the package
gl: Botando unha ollada e compilando o paquete

note: type: enumerate
en: Look at the files in \texttt{debian/}
gl: Mire os ficheiros en \texttt{debian/}

note: type: itemize
en: According to \texttt{debian/control}, this package only generates one binary package, named \texttt{grep}.
gl: Segundo \texttt{debian/control}, este paquete só xera un paquete binario, nomeado \texttt{grep}.

note: type: itemize
en: According to \texttt{debian/rules}, this package is typical of \textsl{classic} debhelper packaging, without using \textsl{CDBS} or \textsl{dh}. One can see the various calls to \texttt{dh\_*} commands in \texttt{debian/rules}.
gl: Segundo \texttt{debian/rules}, este paquete é típico do empaquetado debhelper \textsl{clásico}, sen usar \textsl{CDBS} ou \textsl{dh}. Pódense ver as diferentes chamadas ás ordes \texttt{dh\_*} en \texttt{debian/rules}.

note: type: itemize
en: Use \texttt{apt-get build-dep grep} to fetch the build-dependencies
gl: Use \texttt{apt-get build-dep grep} para obter as dependencias de compilación

note: type: itemize
en: Then \texttt{debuild} or \texttt{dpkg-buildpackage -us -uc} (Takes about 1 min)
gl: Entón use \texttt{debuild} ou \texttt{dpkg-buildpackage -us -uc} (Tarda aprox. 1 min)

note: type: frame{#2}
en: Editing the changelog
gl: Modificar o rexistro de cambios

note: type: itemize
en: \texttt{debian/changelog} is a text file. You could edit it and add a new entry manually.
gl: \texttt{debian/changelog} é un ficheiro de texto. Pode modificalo e engadir novas entradas manualmente.

note: type: itemize
en: Or you can use \texttt{dch -i}, which will add an entry and open the editor
gl: Ou pode usar \texttt{dch -i}, que engade unha entrada e abre o procesador de textos

note: type: itemize
en: The name and email can be defined using the \texttt{DEBFULLNAME} and \texttt{DEBEMAIL} environment variables
gl: O nome e correo electrónico pódense definir usando as variables de entorno \texttt{DEBFULLNAME} e \texttt{DEBEMAIL}

note: type: itemize
en: After that, rebuild the package: a new version of the package is built
gl: Despois diso, recompile o paquete: compilouse unha nova versión do paquete

note: type: itemize
en: Package versioning is detailed in section 5.6.12 of the Debian policy\\ \url{https://www.debian.org/doc/debian-policy/ch-controlfields}
gl: O sistema de versións dos paquetes explícase na sección 5.6.12 da Política de Debian\\ \url{https://www.debian.org/doc/debian-policy/ch-controlfields}

note: type: frame{#2}
en: Disabling Perl regexp support and rebuilding
gl: Desactivar a compatibilidade con expresións regulares Perl e recompilar

note: type: itemize
en: Check with \texttt{./configure -{}-help}: the option to disable Perl regexp is \texttt{-{}-disable-perl-regexp}
gl: Comprobeo con \texttt{./configure -{}-help}: a opción para desactivar as expresións regulares Perl é \texttt{-{}-disable-perl-regexp}

note: type: itemize
en: Edit \texttt{debian/rules} and find the \texttt{./configure} line
gl: Modifique \texttt{debian/rules} e atope a liña \texttt{./configure}

note: type: itemize
en: Add \texttt{-{}-disable-perl-regexp}
gl: Engada \texttt{-{}-disable-perl-regexp}

note: type: itemize
en: Rebuild with \texttt{debuild} or \texttt{dpkg-buildpackage -us -uc}
gl: Recompile con \texttt{debuild} ou \texttt{dpkg-buildpackage -us -uc}

note: type: frame{#2}
en: Comparing and testing the packages
gl: Comparar e probar os paquetes

note: type: itemize
en: Compare the binary packages: \texttt{debdiff ../*changes}
gl: Compara os paquetes binarios: \texttt{debdiff ../*changes}

note: type: itemize
en: Compare the source packages: \texttt{debdiff ../*dsc}
gl: Comparar os paquetes fonte: \texttt{debdiff ../*dsc}

note: type: itemize
en: Install the newly built package: \texttt{debi}\\ Or \texttt{dpkg -i ../grep\_<TAB>}
gl: Instalar o paquete acabado de compilar: \texttt{debi}\\ Ou \texttt{dpkg -i ../grep\_<TAB>}

note: type: itemize
en: \texttt{grep -P foo} no longer works!
gl: \texttt{grep -P foo} xa non funcionará!

note: type: frame
en: Reinstall the previous version of the package:
gl: Reinstalar a anterior versión do paquete:

note: type: itemize
en: \texttt{apt-get install -{}-reinstall grep=2.6.3-3} \textit{(= previous version)}
gl: \texttt{apt-get install -{}-reinstall grep=2.6.3-3} \textit{(= versión anterior)}

note: type: frame{#2}
en: Step by step\ldots
gl: Paso a paso\ldots

note: type: itemize
en: Type of package: single binary (for now)
gl: Tipo de paquete: único binario (por agora)

note: type: frame{#2}
en: Step by step\ldots (2)
gl: Paso a paso\ldots (2)

note: type: itemize
en: Look at \texttt{debian/changelog}, \texttt{debian/rules}, \texttt{debian/control}\\ (auto-filled by \textbf{dh\_make})
gl: Mire \texttt{debian/changelog}, \texttt{debian/rules}, \texttt{debian/control}\\ (xa cuberto por \textbf{dh\_make})

note: type: itemize
en: In \texttt{debian/control}:\\ \texttt{Build-Depends: debhelper (>= 7.0.50~), autotools-dev}\\ Lists the \textsl{build-dependencies} = packages needed to build the package
gl: En \texttt{debian/control}:\\ \texttt{Build-Depends: debhelper (>= 7.0.50~), autotools-dev}\\ Amosa as \textsl{build-dependencies} = paquetes necesarios para compilar o paquete

note: type: itemize
en: Try to build the package as-is with \texttt{debuild} (thanks to \textbf{dh} magic)
gl: Intente compilar o paquete tal como está con \texttt{debuild} (grazas á máxia do \textbf{dh})

note: type: itemize
en: And add build-dependencies, until it builds
gl: E engada dependencias de compilación ata que compile

note: type: itemize
en: Hint: use \texttt{apt-cache search} and \texttt{apt-file} to find the packages
gl: Pista: use \texttt{apt-cache search} e \texttt{apt-file} para atopar os paquetes

note: type: itemize
en: Example:
gl: Por exemplo:

note: type: itemize
en: $\rightarrow$ Add \textbf{libsdl1.2-dev} to Build-Depends and install it.
gl: $\rightarrow$ Engádalle \textbf{libsdl1.2-dev} a Build-Depends e instáleo.

note: type: itemize
en: Better: use \textbf{pbuilder} to build in a clean environment
gl: Ou mellor: use \textbf{pbuilder} para compilar nun ambiente limpo

note: type: frame{#2}
en: Step by step\ldots (3)
gl: Paso a paso\ldots (3)

note: type: itemize
en: Required build-dependencies are \texttt{libsdl1.2-dev, libsdl-image1.2-dev, libsdl-mixer1.2-dev}
gl: As dependencias de compilación necesarias son \texttt{libsdl1.2-dev, libsdl-image1.2-dev, libsdl-mixer1.2-dev}

note: type: itemize
en: Then, you will probably run into another error:
gl: Despois, probablemente se atope con outro erro:

note: type: itemize
en: This problem is caused by bitrot: gnujump has not been adjusted following linker changes.
gl: Este problema é causado por corrupción do binario: gnujump non foi axustado despois de cambios na ligadura.

note: type: itemize
en: If you are using source format version \textbf{1.0}, you can directly change upstream sources.
gl: Se está a usar a versión \textbf{1.0} do formato fonte, pode cambiar directamente as fontes orixinais.

note: type: itemize
en: Edit \texttt{src/Makefile.am} and replace
gl: Modifique \texttt{src/Makefile.am} e substitúa

note: type: frame{#2}
en: Step by step\ldots (4)
gl: Paso a paso\ldots (4)

note: type: itemize
en: If you are using source format version \textbf{3.0 (quilt)}, use \texttt{quilt} to prepare a patch. (see \url{https://wiki.debian.org/UsingQuilt})
gl: Se estas a usar a versión \textbf{3.0 (quilt)} do formato fonte, usa \texttt{quilt} para preparar un parche. (Véxase \url{https://wiki.debian.org/UsingQuilt})

note: type: itemize
en: Since \texttt{src/Makefile.am} was changed, autoreconf must be called during the build. To do that automatically with \texttt{dh}, change the \texttt{dh} call in \texttt{debian/rules} from: \texttt{dh \$\@ -{}-with autotools-dev}\\ to: \texttt{dh \$\@ -{}-with autotools-dev -{}-with autoreconf}
gl: Como o \texttt{src/Makefile.am} foi modificado, autoreconf debe ser chamado durante a compilación. Para que \texttt{dh} o faga automáticamente, cambie a chamada a \texttt{dh} en \texttt{debian/rules} de: \texttt{dh \$\@ -{}-with autotools-dev}\\ a: \texttt{dh \$\@ -{}-with autotools-dev -{}-with autoreconf}

note: type: frame{#2}
en: Step by step\ldots (5)
gl: Paso a paso\ldots (5)

note: type: itemize
en: The package should now build fine.
gl: Agora o paquete debería compilar sen problemas.

note: type: itemize
en: Use \texttt{debc} to list the content of the generated package, and \texttt{debi} to install it and test it.
gl: Use \texttt{debc} para listar os contidos do paquete xerado, e \texttt{debi} para instalalo e probalo.

note: type: itemize
en: Test the package with \texttt{lintian}
gl: Comprobe o paquete con \texttt{lintian}

note: type: itemize
en: While not a strict requirement, it is recommended that packages uploaded to Debian are \textsl{lintian-clean}
gl: Aínda que non é obrigatorio, recoméndase que os paquetes que se suban a Debian estean \textsl{sen erros de lintian}

note: type: itemize
en: More problems can be listed using \texttt{lintian -EviIL +pedantic}
gl: Pódense listar os problemas con \texttt{lintian -EviIL +pedantic}

note: type: itemize
en: Some hints:
gl: Algúns consellos:

note: type: itemize
en: Remove the files that you don't need in \texttt{debian/}
gl: Borre os ficheiros innecesarios en \texttt{debian/}

note: type: itemize
en: Fill in \texttt{debian/control}
gl: Encha \texttt{debian/control}

note: type: itemize
en: Install the executable to \texttt{/usr/games} by overriding \texttt{dh\_auto\_configure}
gl: Sobrescriba \texttt{dh\_auto\_configure} para instalar o executable en \texttt{/usr/games}

note: type: itemize
en: Use \textsl{hardening} compiler flags to increase security.\\ See \url{https://wiki.debian.org/Hardening}
gl: Use as opcións de endurecemento do compilador para aumentar a seguridade.\\ Véxase \url{https://wiki.debian.org/Hardening}

note: type: frame{#2}
en: Step by step\ldots (6)
gl: Paso a paso\ldots (6)

note: type: itemize
en: Compare your package with the one already packaged in Debian:
gl: Compare o teu paquete co que xa existe en Debian:

note: type: itemize
en: It splits the data files to a second package, that is the same across all architectures ($\rightarrow$ saves space in the Debian archive)
gl: O paquete en Debian separa os ficheiros de datos nun paquete secundario, que é o mesmo en todas as arquitecturas ($\rightarrow$ afórrase espazo no arquivo de Debian)

note: type: itemize
en: It installs a .desktop file (for the GNOME/KDE menus) and also integrates into the Debian menu
gl: Tamén instala un ficheiro .desktop (para os menús de GNOME/KDE) e tamén se integra no menú Debian

note: type: itemize
en: It fixes a few minor problems using patches
gl: E arranxa algúns problemas pequenos con parches

note: type: itemize
en: Create a basic source package: \texttt{jh\_makepkg}
gl: Cree un paquete fonte básico: \texttt{jh\_makepkg}

note: type: itemize
en: Library
gl: Biblioteca

note: type: itemize
en: None
gl: Ningún

note: type: itemize
en: Default Free compiler/runtime
gl: Compilador e sistema execución en tempo real libre por omisión

note: type: itemize
en: Look at and fix \texttt{debian/*}
gl: Observe e corrixa \texttt{debian/*}

note: type: itemize
en: \texttt{dpkg-buildpackage -us -uc} or \texttt{debuild}
gl: \texttt{dpkg-buildpackage -us -uc} ou \texttt{debuild}

note: type: itemize
en: Compare your result with the \texttt{libirclib-java} source package
gl: Compare os seus resultados co paquete fonte \texttt{libirclib-java}

note: type: itemize
en: Downloads the gem from rubygems.org
gl: A xema descárgase dende rubygems.org

note: type: itemize
en: Creates a suitable .orig.tar.gz archive, and untar it
gl: Cree un arquivo .orig.tar.gz axeitado, e descomprímao

note: type: itemize
en: Initializes a Debian source package based on the gem's metadata
gl: Inicialice un paquete fonte Debian alicerzado nos metadatos da xema

note: type: itemize
en: Named \texttt{ruby-\textsl{gemname}}
gl: Chamado \texttt{ruby-\textsl{nomedaxema}}

note: type: itemize
en: Tries to build the Debian binary package (this might fail)
gl: Intente compilar o paquete Debian binario (pode fallar)

note: type: frame
en: \texttt{dh\_ruby} (included in \textsl{gem2deb}) does the Ruby-specific tasks:
gl: \texttt{dh\_ruby} (incluído en \textsl{gem2deb}) fai as operacións específicas de Ruby:

note: type: itemize
en: Build C extensions for each Ruby version
gl: Compila as extensións C para cada versión de Ruby

note: type: itemize
en: Copy files to their destination directory
gl: Copia os ficheiros ao cartafol de destino

note: type: itemize
en: Update shebangs in executable scripts
gl: Actualiza os camiños dos executables nos programas interpretados

note: type: itemize
en: Run tests defined in \texttt{debian/ruby-tests.rb}, \texttt{debian/ruby-tests.rake}, or \texttt{debian/ruby-test-files.yaml}, as well as various other checks
gl: Executa as probas definidas en \texttt{debian/ruby-tests.rb}, \texttt{debian/ruby-tests.rake}, ou \texttt{debian/ruby-test-files.yaml}; xunto con outras comprobacións varias

note: type: frame
en: Improve the generated package:
gl: Mellorar o paquete xerado:

note: type: itemize
en: Run \texttt{debclean} to clean the source tree. Look at \texttt{debian/}.
gl: Execute \texttt{debclean} para limpar o código fonte. Mire en \texttt{debian/}

note: type: itemize
en: \texttt{changelog} and \texttt{compat} should be correct
gl: \texttt{changelog} e \texttt{compat} deberían estar correctos

note: type: itemize
en: Edit \texttt{debian/control}: improve \texttt{Description}
gl: Modifique \texttt{debian/control}: mellore a \texttt{Description}

note: type: itemize
en: Write a proper \texttt{copyright} file based on the upstream files
gl: Escriba un ficheiro \texttt{copyright} axeitado coa licenza alicerzada nos ficheiros orixinais

note: type: itemize
en: Compare your package with the \texttt{ruby-peach} package in the Debian archive
gl: Compare o seu paquete co paquete \texttt{ruby-peach} no arquivo de Debian

note: type: itemize
en: Downloads the tarball from the CPAN
gl: Descarga os arquivos tar da CPAN

note: type: itemize
en: Creates a suitable .orig.tar.gz archive, and untars it
gl: Crea un .orig.tar.gz axeitado, e o descomprime

note: type: itemize
en: Initializes a Debian source package based on the distribution's metadata
gl: Inicializa un paquete fonte Debian alicerzado nos metadatos da distribución

note: type: itemize
en: Named \texttt{lib\textsl{distname}-perl}
gl: Chámao \texttt{lib\textsl{nomedistribución}-perl}

note: type: itemize
en: \texttt{debian/changelog}, \texttt{debian/compat}, \texttt{debian/libacme-perl.docs}, and \texttt{debian/watch} should be correct
gl: Non debería ter que tocar \texttt{debian/changelog}, \texttt{debian/compat}, \texttt{debian/libacme-perl.docs} nin \texttt{debian/watch}

note: type: itemize
en: Edit \texttt{debian/control}: improve \texttt{Description}, and remove boilerplate at the bottom
gl: Modifique \texttt{debian/control}: mellore a descrición \texttt{Description}, e borre o ciscallo no fondo

note: type: itemize
en: Edit \texttt{debian/copyright}: remove boilerplate paragraph at the top, add years of copyright to the \texttt{Files:\hspace{0.3em}*} stanza
gl: Modifique \texttt{debian/copyright}: borre o parágrafo sobrante do principio, e engádalle os anos da licenza na liña \texttt{Files:\hspace{0.3em}*}
