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