2
1
mirror of https://github.com/qpdf/qpdf.git synced 2025-01-05 16:12:13 +00:00

Tweak release instructions, support signed AppImage

This commit is contained in:
Jay Berkenbilt 2018-02-18 19:57:12 -05:00
parent 894fc8ef2f
commit c8dc484fdf
5 changed files with 28 additions and 3 deletions

View File

@ -27,6 +27,7 @@
* libqpdf/QPDF.cc * libqpdf/QPDF.cc
* manual/qpdf-manual.xml * manual/qpdf-manual.xml
`make_dist` verifies this consistency. `make_dist` verifies this consistency.
* Generate a signed AppImage. To do this, have the gpg key available and run `./appimage/build-appimage --sign`. Rename the AppImage in appimage/build to qpdf-<version>-x86_64.AppImage and include it in the set of files to be released.
* Update release date in `manual/qpdf-manual.xml`. Remember to ensure that the entities at the top of the document are consistent with the release notes for both version and release date. * Update release date in `manual/qpdf-manual.xml`. Remember to ensure that the entities at the top of the document are consistent with the release notes for both version and release date.
* Check `TODO` file to make sure all planned items for the release are done or retargeted. * Check `TODO` file to make sure all planned items for the release are done or retargeted.
* Each year, update copyright notices. Just do a case-insensitive search for copyright. Don't forget copyright in manual. Also update debian copyright in debian package. Last updated: 2018. * Each year, update copyright notices. Just do a case-insensitive search for copyright. Don't forget copyright in manual. Also update debian copyright in debian package. Last updated: 2018.
@ -58,6 +59,12 @@
git tag -s release-qpdf-$version HEAD -m"qpdf $version" git tag -s release-qpdf-$version HEAD -m"qpdf $version"
``` ```
* When releasing on sourceforge, `external-libs` distributions go in `external-libs/yyyymmdd`, and qpdf distributions go in `qpdf/vvv`. Make the source package the default for all but Windows, and make the 32-bit mingw build the default for Windows. * When releasing on sourceforge, `external-libs` distributions go in `external-libs/yyyymmdd`, and qpdf distributions go in `qpdf/vvv`. Make the source package the default for all but Windows, and make the 32-bit mingw build the default for Windows.
* Prepare and archive all release files. Files should be the source package, Windows binaries, AppImage, checksum files, and signature files.
* Create a github release after pushing the tag. `gcurl` is an alias that includes the auth token.
```
url=$(gcurl -s -XPOST https://api.github.com/repos/qpdf/qpdf/releases -d'{"tag_name": "release-qpdf-$version", "name": "qpdf $version", "draft": true, "body": "test *body* text"}' | jq -r '.url')
```
* Upload files to sourceforge and github. Publish the github release. Release notes can be added to the github release manually. Publish a news item manually on sourceforge. Email the qpdf-announce list.
# General Build Stuff # General Build Stuff

View File

@ -1,5 +1,7 @@
To build from source for Linux or other UNIX/UNIX-like systems, it is generally sufficient to download just the source `qpdf-<version>.tar.gz` file. To build from source for Linux or other UNIX/UNIX-like systems, it is generally sufficient to download just the source `qpdf-<version>.tar.gz` file.
Virtually all Linux distributions include packages for qpdf. If you'd like to run the latest version of qpdf on an AppImage, you can download `qpdf-<version>-x86_64.AppImage`.
For Windows, there are several additional files that you might want to download. For Windows, there are several additional files that you might want to download.
* `qpdf-<version>-bin-mingw32.zip` * `qpdf-<version>-bin-mingw32.zip`

View File

@ -1,5 +1,9 @@
#!/bin/sh #!/bin/sh
set -ex set -ex
sign=
if [ "$1" = "--sign" ]; then
sign=--sign
fi
here="$(dirname $(readlink -f "$0"))" here="$(dirname $(readlink -f "$0"))"
top=$(dirname $here) top=$(dirname $here)
cd $top cd $top
@ -30,7 +34,7 @@ unset QTDIR; unset QT_PLUGIN_PATH ; unset LD_LIBRARY_PATH
# Generate AppImage # Generate AppImage
./linuxdeployqt*.AppImage --appimage-extract ./linuxdeployqt*.AppImage --appimage-extract
rm appdir/AppRun ; cp $top/appimage/AppRun appdir; chmod a+x appdir/AppRun # Replace symlink with custom script rm appdir/AppRun ; cp $top/appimage/AppRun appdir; chmod a+x appdir/AppRun # Replace symlink with custom script
PATH=./squashfs-root/usr/bin:$PATH ./squashfs-root/usr/bin/appimagetool appdir PATH=./squashfs-root/usr/bin:$PATH ./squashfs-root/usr/bin/appimagetool $sign appdir
echo "" echo ""
echo "*** AppImage is ready in appimage/build ***" echo "*** AppImage is ready in appimage/build ***"
echo "" echo ""

View File

@ -2,6 +2,6 @@
Type=Application Type=Application
Terminal=true Terminal=true
Exec=qpdf Exec=qpdf
Name=QPDF Name=qpdf
Comment=Structural, content-preserving transformations on PDF files Comment=Structural, content-preserving transformations on PDF files
Icon=qpdf Icon=qpdf

View File

@ -56,11 +56,13 @@ allowPrintLowRes
antivirus antivirus
aobjid aobjid
apexcovantage apexcovantage
API api
APIs APIs
appendable appendable
appendItem appendItem
appendString appendString
AppImage
appimage
arandom arandom
arg arg
argc argc
@ -95,6 +97,7 @@ assertType
assignCompressedObjectNumbers assignCompressedObjectNumbers
atof atof
atoi atoi
auth
AuthEvent AuthEvent
autobuilder autobuilder
autoconf autoconf
@ -198,6 +201,7 @@ CHPageOffsetEntry
CHSharedObject CHSharedObject
CHSharedObjectEntry CHSharedObjectEntry
CHSomething CHSomething
ci
cin cin
cinfo cinfo
ciphertext ciphertext
@ -482,6 +486,7 @@ Gagic
GajiÄ GajiÄ
Gajic Gajic
gcc gcc
gcurl
gen gen
generateHintStream generateHintStream
generateID generateID
@ -606,6 +611,7 @@ gm
gmail gmail
GNUC GNUC
gnuwin gnuwin
gpg
grayscale grayscale
grep grep
gsdnld gsdnld
@ -754,6 +760,7 @@ JMSG
jpeg jpeg
jpeglib jpeglib
JPOOL JPOOL
jq
JSAMPARRAY JSAMPARRAY
JSAMPLE JSAMPLE
JSAMPROW JSAMPROW
@ -864,6 +871,7 @@ msg
msvc msvc
MSVC's MSVC's
msys msys
MT
multibyte multibyte
multiline multiline
multipage multipage
@ -1171,6 +1179,7 @@ replaceObject
replaceOrRemoveKey replaceOrRemoveKey
replaceReserved replaceReserved
replaceStreamData replaceStreamData
repos
reserveObjects reserveObjects
resetBits resetBits
resolveLiteral resolveLiteral
@ -1345,6 +1354,7 @@ Subtype
sudo sudo
supp supp
suppressions suppressions
svg
swapObjects swapObjects
swversion swversion
Symlink Symlink
@ -1384,6 +1394,7 @@ Toolchains
toupper toupper
toUTF toUTF
tp tp
travis
TrimBox TrimBox
trimTrailerForWrite trimTrailerForWrite
tt tt
@ -1526,6 +1537,7 @@ xor
XP XP
xpacket xpacket
xpdf xpdf
XPOST
XRef XRef
xref xref
xrefEntry xrefEntry