diff --git a/build/debian/README.howto b/build/debian/README.howto index 536e4697a93c82b5b364a7af7f3f4e6e1d0776e4..3041c57176814764bf768f70c71988cc154bf616 100644 --- a/build/debian/README.howto +++ b/build/debian/README.howto @@ -125,7 +125,7 @@ from origin/upstream and origin/pristine. * Staying into git root directory, run > git-import-orig -vv ../tcpdf_x.y.z+dfsg.orig.tar.xz -Note: If there was errors managed manually, you may need to make a git commit +Note: If there was errors solved manually, you may need to make a git commit * Add an entry into debian/changelog > dh "My comment" will add entry. @@ -170,3 +170,21 @@ from git clone dir and make link to git. * If local branch upstream and pristine-tar does not exists, create it from origin/upstream and origin/pristine. +* If new upstream is available onto sourceforge, launch: +> debian/get-orig-source.sh +otherwise, just unzip the official .tgz into workspace dir. + +Note: If there was errors solved manually after get-orig-sources.sh, you may need to make a git commit + +* Add an entry into debian/changelog +> dh "My comment" will add entry. +For example: dch -v x.y.z-1 "New upstream release." for a new version + +Warning: Date must have format reported by "date -R" +Warning: Entry added here is used by next step. Name and email must match value into debian/control file. + +* We try to build package +> git-buildpackage -us -uc + + + diff --git a/build/debian/get-orig-source.sh b/build/debian/get-orig-source.sh index e3d201d672f2383f324f81c64bd5af99d010590e..15526dffbf75fef35d74d5a3120b49a72085ecd4 100755 --- a/build/debian/get-orig-source.sh +++ b/build/debian/get-orig-source.sh @@ -12,7 +12,7 @@ uscan --noconf --force-download --no-symlink --verbose --destdir=$tmpdir $uscan_ cd $tmpdir -tgzfile=$(echo *.tar.gz) +tgzfile=$(echo *.tgz) version=$(echo "$tgzfile" | perl -pi -e 's/^dolibarr_//; s/\.zip$//; s/_/./g; s/\+nmu1//; s/$/+dfsg/;') # Extract the zip file diff --git a/build/debian/watch b/build/debian/watch index 5f6e132bbfa16fc36813d4f0b2fe1231c0888ce9..9e5c3e32c3e723dcd59ea8557d32b1c4997b4d8e 100644 --- a/build/debian/watch +++ b/build/debian/watch @@ -2,4 +2,4 @@ version=3 #http://sf.net/dolibarr/dolibarr-(.+)\.tgz -http://www.dolibarr.org/files/stable/package_debian-ubuntu/dolibarr_(.+)\.tar\.gz +http://www.dolibarr.org/files/stable/standard/dolibarr_(.+)\.tgz