Changes between Version 7 and Version 8 of construccion_paquete_deb_desde_codigo_fuente_qpdfview-0.4.16


Ignore:
Timestamp:
Sep 15, 2016, 7:11:12 PM (8 years ago)
Author:
aosorio
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • construccion_paquete_deb_desde_codigo_fuente_qpdfview-0.4.16

    v7 v8  
    142142
    143143Guardamos, con esto tendríamos configurado {{{dh_make}}}
     144
     145Ahora, creamos una carpeta llamada {{{qpdfview-0.4.16}}} dentro pegamos el fichero {{{qpdfview-0.4.16.tar.gz}}} descargado anteriormente, que son las fuentes originales del qpdfview.
     146
     147entramos en el directorio creado:
     148
     149{{{
     150$ cd qpdfview-0.4.16
     151}}}
     152
     153Una vez adentro, lanzamos el comando de dh_make que construirá automáticamente los ficheros necesarios de un paquete debian.
     154
     155{{{
     156qpdfview-0.4.16$ dh_make -f qpdfview-0.4.16.tar.gz
     157}}}
     158
     159dh_make nos preguntará:
     160
     161{{{
     162Type of package: single binary, indep binary, multiple binary, library, kernel module, kernel patch?
     163 [s/i/m/l/k/n]
     164}}}
     165
     166Escogemos single binary
     167
     168Nos mostrará la información que acompañará al paquete (que configuramos antes) y nos pedirá que la confirmemos
     169
     170Maintainer name  : Argenis Osorio
     171Email-Address    : aosorio@cenditel.gob.ve
     172Date             : Thu, 15 Sep 2016 10:30:05 -0400
     173Package Name     : qpdfview
     174Version          : 0.4.16
     175License          : blank
     176Type of Package  : Single
     177Hit <enter> to confirm:
     178Currently there is no top level Makefile. This may require additional tuning.
     179Done. Please edit the files in the debian/ subdirectory now. You should also
     180check that the qpdfview Makefiles install into $DESTDIR and not in / .
     181
     182Ahora vemos que nos ha creado el directorio {{{debian/}}}
     183
     184{{
     185qpdfview-0.4.16$ ls
     186}}
     187
     188{{{
     189debian/  qpdfview-0.4.16.tar.gz
     190}}}
     191
     192Entramos en {{{debian/}}}
     193
     194{{
     195qpdfview-0.4.16$ cd debian/
     196}}
     197
     198Vemos el contenido
     199
     200{{
     201qpdfview-0.4.16/debian$ ls
     202}}
     203
     204{{{
     205changelog  init.d.ex        postinst.ex         qpdfview.default.ex   source
     206compat     manpage.1.ex     postrm.ex           qpdfview.doc-base.EX  watch.ex
     207control    manpage.sgml.ex  preinst.ex          README.Debian
     208copyright  manpage.xml.ex   prerm.ex            README.source
     209docs       menu.ex          qpdfview.cron.d.ex  rules
     210}}}
     211
     212Dentro nos creo varios ficheros que irémos modificando y adaptando a nuestras necesidades.