summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIgor Alexandrov <igor.alexandrov@outlook.com>2021-06-13 08:43:55 +0300
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2021-06-17 00:25:17 +0700
commit90594b47526e025e7f17a60c1b504f752cfa8d02 (patch)
treecbe3803a81ee03064089cd3db52d9d0d6f5b2820
parent01d5b3b0d2d4a253c5121625a3b1cc7e11dd14b7 (diff)
downloadslackbuilds-90594b47526e025e7f17a60c1b504f752cfa8d02.tar.gz
libraries/gnome-desktop: Updated to version 40.2
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
-rw-r--r--libraries/gnome-desktop/README8
-rw-r--r--libraries/gnome-desktop/gnome-desktop.SlackBuild42
-rw-r--r--libraries/gnome-desktop/gnome-desktop.info10
-rw-r--r--libraries/gnome-desktop/slack-desc2
4 files changed, 33 insertions, 29 deletions
diff --git a/libraries/gnome-desktop/README b/libraries/gnome-desktop/README
index 65134e4e1b..1efb5d41f0 100644
--- a/libraries/gnome-desktop/README
+++ b/libraries/gnome-desktop/README
@@ -1,7 +1,7 @@
+gnome-desktop (libgnome-desktop library)
+
gnome-desktop contains the libgnome-desktop library as well as a data
file that exports the "GNOME" version to the Settings Details panel.
-The libgnome-desktop library provides API shared by several applications
-on the desktop, but that cannot live in the platform for various
-reasons. There is no API or ABI guarantee, although we are doing our
-best to provide stability.
+The libgnome-desktop library provides API shared by several
+applications on the desktop.
diff --git a/libraries/gnome-desktop/gnome-desktop.SlackBuild b/libraries/gnome-desktop/gnome-desktop.SlackBuild
index 960ec82ddd..b76ae8d06f 100644
--- a/libraries/gnome-desktop/gnome-desktop.SlackBuild
+++ b/libraries/gnome-desktop/gnome-desktop.SlackBuild
@@ -22,8 +22,10 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+# Updated to version 40.2 by Igor Alexandrov <igor.alexandrov@outlook.com>
+
PRGNAM=gnome-desktop
-VERSION=${VERSION:-3.18.2}
+VERSION=${VERSION:-40.2}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -54,7 +56,7 @@ else
LIBDIRSUFFIX=""
fi
-set -e
+set -eu
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
@@ -62,7 +64,6 @@ cd $TMP
rm -rf $PRGNAM-$VERSION
tar xvf $CWD/$PRGNAM-$VERSION.tar.xz
cd $PRGNAM-$VERSION
-
chown -R root:root .
find -L . \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
@@ -70,28 +71,31 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
-CFLAGS="$SLKCFLAGS" \
-CXXFLAGS="$SLKCFLAGS" \
-./configure \
- --prefix=/usr \
- --libdir=/usr/lib${LIBDIRSUFFIX} \
- --sysconfdir=/etc \
- --localstatedir=/var \
- --mandir=/usr/man \
- --docdir=/usr/doc/$PRGNAM-$VERSION \
- --build=$ARCH-slackware-linux \
- --disable-maintainer-mode \
- --disable-desktop-docs
-
-make
-make install DESTDIR=$PKG
+mkdir build
+cd build
+ CFLAGS="$SLKCFLAGS" \
+ CXXFLAGS="$SLKCFLAGS" \
+ meson .. \
+ --prefix=/usr \
+ --libdir=/usr/lib${LIBDIRSUFFIX} \
+ --sysconfdir=/etc \
+ --localstatedir=/var \
+ --mandir=/usr/man \
+ --infodir=/usr/info \
+ --buildtype=release \
+ -Dsystemd=disabled \
+ -Ddesktop_docs=false \
+ -Dgtk_doc=true
+ ninja
+ DESTDIR=$PKG ninja install
+cd ..
find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a \
- AUTHORS COPYING COPYING-DOCS COPYING.LIB HACKING MAINTAINERS NEWS README ChangeLog \
+ AUTHORS CONTRIBUTING.md COPYING COPYING-DOCS COPYING.LIB NEWS README.md \
$PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
diff --git a/libraries/gnome-desktop/gnome-desktop.info b/libraries/gnome-desktop/gnome-desktop.info
index 4efa96b41f..5166b7b05b 100644
--- a/libraries/gnome-desktop/gnome-desktop.info
+++ b/libraries/gnome-desktop/gnome-desktop.info
@@ -1,10 +1,10 @@
PRGNAM="gnome-desktop"
-VERSION="3.18.2"
-HOMEPAGE="http://download.gnome.org/sources/gnome-desktop/"
-DOWNLOAD="https://download.gnome.org/sources/gnome-desktop/3.18/gnome-desktop-3.18.2.tar.xz"
-MD5SUM="9a5875247abdb99bad93f1c4230d1d6d"
+VERSION="40.2"
+HOMEPAGE="https://gitlab.gnome.org/GNOME/gnome-desktop/"
+DOWNLOAD="https://download.gnome.org/sources/gnome-desktop/40/gnome-desktop-40.2.tar.xz"
+MD5SUM="8914733fa8d28cd8950c2b7ba62d84ec"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES=""
+REQUIRES="libseccomp"
MAINTAINER="Gustavo Brondani Schenkel"
EMAIL="gustavo.schenkel@gmail.com"
diff --git a/libraries/gnome-desktop/slack-desc b/libraries/gnome-desktop/slack-desc
index 30279a32e5..53a5c9eb5c 100644
--- a/libraries/gnome-desktop/slack-desc
+++ b/libraries/gnome-desktop/slack-desc
@@ -15,5 +15,5 @@ gnome-desktop: The libgnome-desktop library provides API shared by several
gnome-desktop: applications on the desktop.
gnome-desktop:
gnome-desktop:
-gnome-desktop: http://download.gnome.org/sources/gnome-desktop/
+gnome-desktop: https://gitlab.gnome.org/GNOME/gnome-desktop/
gnome-desktop: