gpgme - Library that provides an API for GnuPG ChangeLog

HOWTO


# GPGME 1.23.2 (GnuPG Made Easy)
# ============
# Slackware 14.0: gpgme 1.3.2
# Slackware 14.1: gpgme 1.4.1
# Slackware 14.2: gpgme 1.6.0
# Slackware 15.0: gpgme 1.16.0

# The 'GnuPG Made Easy' Reference Manual
# GnuPG Mailing Lists
# GnuPG Bug Tracking System
# Git repository at git.gnupg.org
# GitHub gpgme mirror

# For uninstallation (or pre-upgrade cleanup) instructions, skip down to the
# bottom.

# Prerequisites (for either version):
# pkg-config >= 0.9.0
# Qt5Core or Qt6Core (optional)
# swig
# Python
# libgpg-error >= 1.36
# libassuan >= 2.4.2

# Get the source tarball
cd
test -f installed/gpgme-1.23.2.tar.bz2 && mv installed/gpgme-1.23.2.tar.bz2 .
test ! -f gpgme-1.23.2.tar.bz2 &&
wget https://gnupg.org/ftp/gcrypt/gpgme/gpgme-1.23.2.tar.bz2

# Verify tarball w/ sha256sum:
# (this came from the integrity check page and my gpg-verified tarball)
echo "9499e8b1f33cccb6815527a1bc16049d35a6198a6c5fae0185f2bd561bce52\
24  gpgme-1.23.2.tar.bz2" | sha256sum -c

# Verify tarball w/ gpg:
wget -nc https://gnupg.org/signature_key.asc &&
gpg --import signature_key.asc && rm signature_key.asc
wget -nc https://gnupg.org/ftp/gcrypt/gpgme/gpgme-1.23.2.tar.bz2.sig &&
  gpg --verify gpgme-1.23.2.tar.bz2.sig && rm gpgme-1.23.2.tar.bz2.sig

# Extract the source
mkdir -p -m 0700 ~/src
cd ~/src
find -maxdepth 1 -type d -name "gpgme-*" -exec rm -r {} \;
tar xjvf ~/gpgme-1.23.2.tar.bz2
cd gpgme-1.23.2
test $UID = 0 && chown -R root:root .

# Configure the build for 64-bit
test $(uname -m) = 'x86_64' &&
./configure --prefix=/usr --infodir=/usr/info --libdir=/usr/lib64

# Configure the build for anything else
test $(uname -m) != 'x86_64' &&
./configure --prefix=/usr --infodir=/usr/info

# Build it
make

# Become root to install it
su

# Install it
make install
ldconfig

# Become yourself again
exit

# Save the source for later
cd
mkdir -p -m 0700 installed
rm -f installed/gpgme-*.tar.*
mv gpgme-1.23.2.tar.bz2 installed/


# If you ever need to uninstall gpgme, this should do it:
test -d ~/src/gpgme-* && ( cd ~/src/gpgme-* ; make uninstall )
su
rm -f /usr/local/bin/gpgme-config /usr/local/include/gpgme.h \
/usr/local/share/aclocal/gpgme.m4 /usr/local/info/gpgme.info
( cd /usr/local/lib ; rm -f libgpgme.* libgpgme-pthread.* )
exit
find ~/src -maxdepth 1 -type d -name "gpgme-*" -exec rm -r {} \;
rm -f ~/installed/gpgme-*.tar.*

List of HOWTOs

Web page itself last updated: 2023-12-20 8:06pm (EST -0500)
HOWTO last updated: 2023-12-23 4:40pm
Copyright © 2001-2024 Jason Englander. All Rights reserved.
[HTML5]