Hi Eloy, Le 28/06/2017 à 21:34, Eloy García (PC Actual) a écrit :
> Those are the steps I have followed so far: > > 01.- I installed Debian and switched to Sid > 02.- I cloned the master branch from the upstream repo in Bitbucket: git > clone https://bitbucket.org/eloy_garcia_pca/wallpaperdownloader.git > <https://bitbucket.org/eloy_garcia_pca/wallpaperdownloader.git> Don't forget to also checkout the latest release tag. > 03.- I installed manually all the dependencies needed from Debian > repository (sudo apt install liblog4j1.2-java libslf4j-java > libcommons-io-java libjsoup-java libjna-java) Ok > 04.- I installed all the tools needed for building the package (sudo apt > install git build-essential devscripts debhelper javahelper > maven-debian-helper apt-file) Ok > 05.- I executed mh_make (I have used maven debian helper for creating > the initial structure instead of dh_make) Ok > 06.- I modified rules and control files. You can see the definitive > files if you go to the code repository and navigate to debian folder > (https://bitbucket.org/eloy_garcia_pca/wallpaperdownloader/src > <https://bitbucket.org/eloy_garcia_pca/wallpaperdownloader/src>) Looks good. You could add the debian/watch file to track the new releases, something like this: version=3 opts="mode=git,repack,compression=xz" \ https://bitbucket.org/eloy_garcia_pca/wallpaperdownloader.git refs/tags/([\d\.]+) > 07.- I created some new files for the packaging process: > wallpaperdownloader.install, wallpaperdownloader.manifest, > wallpaperdownloader.manpages Ok. You may want to add a SVG icon if you have one. > 08.- I created the Debian package using dpkg-buildpackage -b -rfakeroot > -us -uc from the root directory of the wallpaperdownloader application. > WARNING: ONLY three files were generated in this process: > wallpaperdownloader_2.7-1_all.deb, > wallpaperdownloader_2.7-1_amd64.buildinfo, > wallpaperdownloader_2.7-1_amd64.changes. No orig.tar.gz, no .dsc files > were automatically generated. Assuming you have the watch file above, you can generate the upstream tarball with: uscan --download-version 2.7 --rename And for building the package simply use: debuild > 09.- I checked the package with lintian. No warnings, no errors (I > removed all of them one by one before). Excellent > 10.- I installed the generated package and it installs properly. Good > 11.- I opened a bug (ITP) against WNPP: > https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=863572 > <https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=863572> Perfect > 12.- I opened a bug (RFS) against sponsorship-requests > <https://bugs.debian.org/cgi-bin/pkgreport.cgi?package=sponsorship-requests>: > https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=864174 > <https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=864174>> 13.- Then, I > realized that I needed to upload the package to > https://mentors.debian.net/ in order to look for a person to sponsor my > package so this is what I did: Going through a RFS and mentors.debian.net isn't strictly required, you can just ask on this list and we'll upload it for you. Emmanuel Bourg

