diff options
author | Juan M. Lasca <juanmlasca@gmail.com> | 2022-04-29 09:42:43 +0100 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2022-04-30 13:51:54 +0700 |
commit | 4ad297db9b83db88b966ea442d6afc419392bc66 (patch) | |
tree | 7d08d0ea3b0bd7cef999548f6361b265a6d83328 | |
parent | e4a6ba98fe2152270cffba5d092f709a295a8160 (diff) |
development/gedit-plugins: Updated for version 42.0. New maintainer.
Signed-off-by: Dave Woodfall <dave@slackbuilds.org>
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
-rw-r--r-- | development/gedit-plugins/doinst.sh | 14 | ||||
-rw-r--r-- | development/gedit-plugins/gedit-plugins.SlackBuild | 75 | ||||
-rw-r--r-- | development/gedit-plugins/gedit-plugins.info | 10 |
3 files changed, 51 insertions, 48 deletions
diff --git a/development/gedit-plugins/doinst.sh b/development/gedit-plugins/doinst.sh index 83629a91906d..2ac84955ccf7 100644 --- a/development/gedit-plugins/doinst.sh +++ b/development/gedit-plugins/doinst.sh @@ -1,11 +1,7 @@ -schema_install() { - SCHEMA="$1" - GCONF_CONFIG_SOURCE="xml::etc/gconf/gconf.xml.defaults" \ - chroot . gconftool-2 --makefile-install-rule \ - /etc/gconf/schemas/$SCHEMA \ - 1>/dev/null -} -schema_install gedit-show-tabbar-plugin.schemas -schema_install gedit-drawspaces.schemas +if [ -e usr/share/glib-2.0/schemas ]; then + if [ -x /usr/bin/glib-compile-schemas ]; then + /usr/bin/glib-compile-schemas usr/share/glib-2.0/schemas >/dev/null 2>&1 + fi +fi diff --git a/development/gedit-plugins/gedit-plugins.SlackBuild b/development/gedit-plugins/gedit-plugins.SlackBuild index c24030bedc73..f18f19fea207 100644 --- a/development/gedit-plugins/gedit-plugins.SlackBuild +++ b/development/gedit-plugins/gedit-plugins.SlackBuild @@ -1,9 +1,11 @@ #!/bin/bash -# Slackware build script for gedit +# Slackware build script for gedit-plugins # Copyright 2010,2011 Robby Workman, Northport, Alabama, USA # Copyright 2011 byteframe +# Maintained 2020, 2021, 2022 by Donald Cooley <chytraeu@sdf.org> +# Copyright 2022 Juan M. Lasca <juanmlasca@gmail.com> # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -12,21 +14,23 @@ # 1. Redistributions of this script must retain the above copyright # notice, this list of conditions and the following disclaimer. # -# THIS SOFTWARE IS PROVIDED BY THE AUTHOR ''AS IS'' AND ANY EXPRESS OR IMPLIED -# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF -# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO -# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, -# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, -# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; -# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, -# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR -# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF -# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +# THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR IMPLIED +# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF +# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO +# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, +# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, +# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; +# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, +# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR +# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF +# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + +# Special thanks to Brandon Pribula, who kindly handed over maintenance to me. cd $(dirname $0) ; CWD=$(pwd) PRGNAM=gedit-plugins -VERSION=${VERSION:-2.32.0} +VERSION=${VERSION:-42.0} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -71,33 +75,36 @@ rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT cd $TMP rm -rf $PRGNAM-$VERSION -tar xvf $CWD/$PRGNAM-$VERSION.tar.bz2 +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 -o -perm 511 \) \ - -exec chmod 755 {} \; -o \ - \( -perm 666 -o -perm 664 -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 \ - --docdir=/usr/doc/$PRGNAM-$VERSION \ - --build=$ARCH-slackware-linux - -make -make install DESTDIR=$PKG - -find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \ - | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true + \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \ + -o -perm 511 \) -exec chmod 755 {} \; -o \ + \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ + -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; + +mkdir build +cd build + CFLAGS="$SLKCFLAGS" \ + CXXFLAGS="$SLKCFLAGS" \ + meson .. \ + --buildtype=release \ + --infodir=/usr/info \ + --libdir=/usr/lib${LIBDIRSUFFIX} \ + --localstatedir=/var \ + --mandir=/usr/man \ + --prefix=/usr \ + --sysconfdir=/etc \ + -Dstrip=true + "${NINJA:=ninja}" + DESTDIR=$PKG $NINJA install +cd .. mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION -cp -a AUTHORS COPYING NEWS README $PKG/usr/doc/$PRGNAM-$VERSION +cp -a \ + AUTHORS COPYING NEWS README.md \ + $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild mkdir -p $PKG/install diff --git a/development/gedit-plugins/gedit-plugins.info b/development/gedit-plugins/gedit-plugins.info index f5c085174d12..b33060629928 100644 --- a/development/gedit-plugins/gedit-plugins.info +++ b/development/gedit-plugins/gedit-plugins.info @@ -1,10 +1,10 @@ PRGNAM="gedit-plugins" -VERSION="2.32.0" +VERSION="42.0" HOMEPAGE="http://projects.gnome.org/gedit/" -DOWNLOAD="https://download.gnome.org/sources/gedit-plugins/2.32/gedit-plugins-2.32.0.tar.bz2" -MD5SUM="b5123846fa41f2d94992ae67e96ff79b" +DOWNLOAD="https://download.gnome.org/sources/gedit-plugins/42/gedit-plugins-42.0.tar.xz" +MD5SUM="99438a750f298e6a1e203bdfc3964718" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="gedit" -MAINTAINER="Donald Cooley" -EMAIL="chytraeu@sdf.org" +MAINTAINER="Juan M. Lasca" +EMAIL="juanmlasca@gmail.com" |