diff options
Diffstat (limited to 'development/gedit')
-rw-r--r-- | development/gedit/README | 4 | ||||
-rw-r--r-- | development/gedit/gedit.SlackBuild | 30 | ||||
-rw-r--r-- | development/gedit/gedit.info | 12 |
3 files changed, 20 insertions, 26 deletions
diff --git a/development/gedit/README b/development/gedit/README index e18c5582be..970ef4c28e 100644 --- a/development/gedit/README +++ b/development/gedit/README @@ -7,9 +7,5 @@ installed, but you don't want to build gedit with spell-checking support, set the environment variable WITH_GSPELL to "no", e.g. WITH_GSPELL="no" ./gedit.SlackBuild -user documentation is installed by default (accessible through yelp). -If you don't need it, set the environment variable WITH_USER_DOCS -to "no", e.g. - WITH_USER_DOCS="no" ./gedit.SlackBuild diff --git a/development/gedit/gedit.SlackBuild b/development/gedit/gedit.SlackBuild index 2b7624fbfa..44f2c358eb 100644 --- a/development/gedit/gedit.SlackBuild +++ b/development/gedit/gedit.SlackBuild @@ -27,10 +27,15 @@ # Special thanks to Brandon Pribula, who kindly handed over maintenance to me. +# 20231207 bkw: modified by SlackBuilds.org: remove gspell +# autodetection (redundant; gspell is a required dep, plus it was +# breaking the build on -current). Thanks to UrbanMusic on Libera IRC +# for pointing this out. + cd $(dirname $0) ; CWD=$(pwd) PRGNAM=gedit -VERSION=${VERSION:-42.0} +VERSION=${VERSION:-46.1} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -43,9 +48,6 @@ if [ -z "$ARCH" ]; then esac fi -# If the variable PRINT_PACKAGE_NAME is set, then this script will report what -# the name of the created package would be, and then exit. This information -# could be useful to other scripts. if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE" exit 0 @@ -84,19 +86,16 @@ 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 {} \; -# gspell is an optional (autodetected) dependency. Give the user the possibility of -# disabling it if preinstalled. -spell='disabled' -if [ -f /usr/lib${LIBDIRSUFFIX}/libgspell-1.so ] && [ "${WITH_GSPELL:-yes}" != "no" ]; then - spell='enabled' -fi; -# Allow the user to disable user documentation inclusion -[ "${WITH_USER_DOCS:-yes}" != "no" ] && WITH_USER_DOCS="true" || WITH_USER_DOCS="false" +# circunvent meson version mismtach (fs.copyfile not available) +# avoid gtk_doc, which uses fs.copyfile +# replace unnecesary version bump of gio-2.0 +sed -i "s/meson_version: '>= 0.64'/meson_version: '>= 0.59'/; + s/'gio-2.0', version: '>= 2.74'/'gio-2.0', version: '>= 2.70'/" meson.build + -mkdir build cd build - CFLAGS="$SLKCFLAGS" \ + CFLAGS="$SLKCFLAGS -DG_CONNECT_DEFAULT=0" \ CXXFLAGS="$SLKCFLAGS" \ meson .. \ --buildtype=release \ @@ -106,8 +105,7 @@ cd build --mandir=/usr/man \ --prefix=/usr \ --sysconfdir=/etc \ - -Dspell=$spell \ - -Duser_documentation=${WITH_USER_DOCS} \ + -Dgtk_doc=false \ -Dstrip=true "${NINJA:=ninja}" DESTDIR=$PKG $NINJA install diff --git a/development/gedit/gedit.info b/development/gedit/gedit.info index fb80bd61e6..487d5ae11c 100644 --- a/development/gedit/gedit.info +++ b/development/gedit/gedit.info @@ -1,10 +1,10 @@ PRGNAM="gedit" -VERSION="42.0" +VERSION="46.1" HOMEPAGE="http://projects.gnome.org/gedit/" -DOWNLOAD="https://download.gnome.org/sources/gedit/42/gedit-42.0.tar.xz" -MD5SUM="5c2eacd31f3feb2b7b2b69cafac17c87" +DOWNLOAD="https://download.gnome.org/sources/gedit/46/gedit-46.1.tar.xz" +MD5SUM="74cc927f8c41e7ccd2352c90d1086974" DOWNLOAD_x86_64="" MD5SUM_x86_64="" -REQUIRES="gtksourceview4 libpeas" -MAINTAINER="Juan M. Lasca" -EMAIL="juanmlasca@gmail.com" +REQUIRES="libpeas tepl gspell" +MAINTAINER="Bob Funk" +EMAIL="bobfunk11@gmail.com" |