3114ead9a60b65191e92dea6c76c038c03a8f1dcbryce# Locate Dependencies
3114ead9a60b65191e92dea6c76c038c03a8f1dcbryce#------------------------------------------------------------------------------
3114ead9a60b65191e92dea6c76c038c03a8f1dcbryce# Choose which make program to use (could be gmake)
3114ead9a60b65191e92dea6c76c038c03a8f1dcbryce# Set the default make tarball creation command
3114ead9a60b65191e92dea6c76c038c03a8f1dcbryce# Choose which grep program to use (on Solaris, must be gnu grep)
3114ead9a60b65191e92dea6c76c038c03a8f1dcbryce# Find path for GnuPG v2
cac133768c18c89d4fccd4fc65d1a95232b51406bryce#------------------------------------------------------------------------------
7923e87a291880ac8293fb5d1a1e1b759b23a091bryceUsage: $basename [options] path...
7923e87a291880ac8293fb5d1a1e1b759b23a091bryceWhere "path" is a relative path to a ${VCS_SYSTEM} module, including '.'.
7923e87a291880ac8293fb5d1a1e1b759b23a091bryceEnvironment variables:
7923e87a291880ac8293fb5d1a1e1b759b23a091bryce MAKE: The name of the make command [make]
7923e87a291880ac8293fb5d1a1e1b759b23a091bryce MAKEFLAGS: Options to pass to all \$(MAKE) invocations []
7923e87a291880ac8293fb5d1a1e1b759b23a091bryce#------------------------------------------------------------------------------
92444d7cf332a6606cfd67b14c209fcb5e0ed363bryce if [ $lines -gt 0 ]; then
92444d7cf332a6606cfd67b14c209fcb5e0ed363bryce echo "Uncommitted changes found. Did you forget to commit? Aborting."
92444d7cf332a6606cfd67b14c209fcb5e0ed363bryce echo "and run ./configure. No need to build if testing was finished."
cac133768c18c89d4fccd4fc65d1a95232b51406bryce#------------------------------------------------------------------------------
cac133768c18c89d4fccd4fc65d1a95232b51406bryce# Function: make_dist
cac133768c18c89d4fccd4fc65d1a95232b51406bryce# Create the package distribution
cac133768c18c89d4fccd4fc65d1a95232b51406bryce# Return 0 on success, 1 on fail
7923e87a291880ac8293fb5d1a1e1b759b23a091bryce echo "Error: Unrecognized version control '$VCS_SYSTEM'."
cac133768c18c89d4fccd4fc65d1a95232b51406bryce status_file=$(find . -name ${config_indicator} -type f)
cac133768c18c89d4fccd4fc65d1a95232b51406bryce if [ $? -ne 0 ]; then
cac133768c18c89d4fccd4fc65d1a95232b51406bryce configNum=$(echo "$status_file" | wc -l | sed 's:^ *::')
cac133768c18c89d4fccd4fc65d1a95232b51406bryce echo "Error: Failed to locate ${config_indicator}, has the module been configured?"
cac133768c18c89d4fccd4fc65d1a95232b51406bryce echo "Error: More than one ${config_indicator} file was found."
cac133768c18c89d4fccd4fc65d1a95232b51406bryce echo "Please cleanup previously failed attempts at distcheck."
cac133768c18c89d4fccd4fc65d1a95232b51406bryce if [ $? -ne 0 ]; then
cac133768c18c89d4fccd4fc65d1a95232b51406bryce echo "Error: Failed to cd to build directory ${build_dir}."
cac133768c18c89d4fccd4fc65d1a95232b51406bryce if [ $? -ne 0 ]; then
cac133768c18c89d4fccd4fc65d1a95232b51406bryce echo "Info: running 'make $MAKE_DIST_CMD' to create tarballs:"
cac133768c18c89d4fccd4fc65d1a95232b51406bryce if [ $? -ne 0 ]; then
cac133768c18c89d4fccd4fc65d1a95232b51406bryce echo "Error: '${MAKE} ${MAKEFLAGS} ${MAKE_DIST_CMD}' failed."
3114ead9a60b65191e92dea6c76c038c03a8f1dcbryce# Function: sign_or_fail
3114ead9a60b65191e92dea6c76c038c03a8f1dcbryce#------------------------------------------------------------------------------
3114ead9a60b65191e92dea6c76c038c03a8f1dcbryce# Sign the given file, if any
3114ead9a60b65191e92dea6c76c038c03a8f1dcbryce# Output the name of the signature generated to stdout (all other output to
3114ead9a60b65191e92dea6c76c038c03a8f1dcbryce# Return 0 on success, 1 on fail
3114ead9a60b65191e92dea6c76c038c03a8f1dcbryce if [ $? -ne 0 ]; then
72ba327677b00dc4013e4ca19dd5ac4b87da63cebrycehttps://inkscape.org/en/download/source/
72ba327677b00dc4013e4ca19dd5ac4b87da63cebryceMD5: `$MD5SUM $tarball`
72ba327677b00dc4013e4ca19dd5ac4b87da63cebryceSHA1: `$SHA1SUM $tarball`
72ba327677b00dc4013e4ca19dd5ac4b87da63cebryceSHA256: `$SHA256SUM $tarball`
3114ead9a60b65191e92dea6c76c038c03a8f1dcbryce if [ ${gpgsignerr} -ne 0 ]; then
3114ead9a60b65191e92dea6c76c038c03a8f1dcbryce echo "Error: unable to sign at least one of the tarballs."
72ba327677b00dc4013e4ca19dd5ac4b87da63cebryceSubject: [ANNOUNCE] $PKG_NAME $VERSION
72ba327677b00dc4013e4ca19dd5ac4b87da63cebryceTo: $LIST_TO
72ba327677b00dc4013e4ca19dd5ac4b87da63cebryceCc: $LIST_CC
72ba327677b00dc4013e4ca19dd5ac4b87da63cebryceThe Inkscape community proudly announces the release of Inkscape $VERSION.
72ba327677b00dc4013e4ca19dd5ac4b87da63cebryce https://inkscape.org/en/download/
72ba327677b00dc4013e4ca19dd5ac4b87da63cebryceInkscape is a drawing and painting tool similar to Illustrator,
72ba327677b00dc4013e4ca19dd5ac4b87da63cebryceCorelDraw, and Xara X, but with features, new tools, and interface style
72ba327677b00dc4013e4ca19dd5ac4b87da63cebryceof its own. It emphasizes the W3C standard Scalable Vector Graphics
72ba327677b00dc4013e4ca19dd5ac4b87da63cebryce(SVG) file format, but reads and writes a wealth of other formats
72ba327677b00dc4013e4ca19dd5ac4b87da63cebryceincluding PDF, so it is an easy complement to your other graphics and
72ba327677b00dc4013e4ca19dd5ac4b87da63cebrycedesktop tools. Best of all, Inkscape is created *by* the community *for*
72ba327677b00dc4013e4ca19dd5ac4b87da63cebrycethe community: Inkscape is 100% Open Source and freely available to
72ba327677b00dc4013e4ca19dd5ac4b87da63cebryceeveryone in the world.
72ba327677b00dc4013e4ca19dd5ac4b87da63cebryce<INSERT DETAILS ABOUT THE RELEASE HERE>
72ba327677b00dc4013e4ca19dd5ac4b87da63cebryceThe above barely scratches the surface of what's included in this
72ba327677b00dc4013e4ca19dd5ac4b87da63cebrycerelease. For the full scoop, please see our detailed Release Notes:
72ba327677b00dc4013e4ca19dd5ac4b87da63cebryce http://wiki.inkscape.org/wiki/index.php/Release_notes/$VERSION
2e41c7a6f80c3c53b535b90df364f1c153dffe4fbryce # TODO: Once converted to git, enable display of shortlog
2e41c7a6f80c3c53b535b90df364f1c153dffe4fbryce #tag_previous=`git describe --abbrev=0 HEAD^ 2>/dev/null`
2e41c7a6f80c3c53b535b90df364f1c153dffe4fbryce echo "${VCS_SYSTEM} tag: $tar_name" >> ${tar_name}.announce
2e41c7a6f80c3c53b535b90df364f1c153dffe4fbryce if [ $? -ne 0 ]; then
2e41c7a6f80c3c53b535b90df364f1c153dffe4fbryce # local_top_commit_sha=`git rev-list --max-count=1 HEAD`
2e41c7a6f80c3c53b535b90df364f1c153dffe4fbryce # git diff --unified=0 HEAD^ | $GREP -F $pkg_version >/dev/null 2>&1
2e41c7a6f80c3c53b535b90df364f1c153dffe4fbryce # git rev-list --max-count=1 $remote_name/$remote_branch
2e41c7a6f80c3c53b535b90df364f1c153dffe4fbryce echo "TODO: Push all local changes and tags to remote"
3114ead9a60b65191e92dea6c76c038c03a8f1dcbryce echo "Info: [ANNOUNCE] template generated in \"$tar_name.announce\" file."