aboutsummaryrefslogtreecommitdiff
path: root/development
diff options
context:
space:
mode:
authorJuan M. Lasca <juanmlasca@gmail.com>2023-10-26 21:52:40 +0900
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2023-10-28 13:11:52 +0700
commitf931441ad11a50a8b8f2654dbe39fce12c6b7f7c (patch)
tree970bb3a5e2006e711b122ce2034fd72f1bad7e98 /development
parent0fc0945c4bc0772e14a6a94055ade697eb2f9d73 (diff)
development/gedit: Updated for version 46.1.
Signed-off-by: Andrew Clemons <andrew.clemons@gmail.com> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'development')
-rw-r--r--development/gedit/README4
-rw-r--r--development/gedit/gedit.SlackBuild16
-rw-r--r--development/gedit/gedit.info6
3 files changed, 14 insertions, 12 deletions
diff --git a/development/gedit/README b/development/gedit/README
index e18c5582be01..970ef4c28e13 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 091603808f74..4c5d183363b8 100644
--- a/development/gedit/gedit.SlackBuild
+++ b/development/gedit/gedit.SlackBuild
@@ -30,7 +30,7 @@
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=gedit
-VERSION=${VERSION:-44.2}
+VERSION=${VERSION:-46.1}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -81,6 +81,14 @@ 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 {} \;
+
+# 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
+
+
# gspell is an optional (autodetected) dependency. Give the user the possibility of
# disabling it if preinstalled.
spell='disabled'
@@ -88,11 +96,9 @@ if [ -f /usr/lib${LIBDIRSUFFIX}/libgspell-1.so ] && [ "${WITH_GSPELL:-yes}" != "
spell='enabled'
fi;
-# Allow the user to disable user documentation inclusion
-[ "${WITH_USER_DOCS:-yes}" != "no" ] && WITH_USER_DOCS="true" || WITH_USER_DOCS="false"
cd build
- CFLAGS="$SLKCFLAGS" \
+ CFLAGS="$SLKCFLAGS -DG_CONNECT_DEFAULT=0" \
CXXFLAGS="$SLKCFLAGS" \
meson .. \
--buildtype=release \
@@ -103,7 +109,7 @@ cd build
--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 f01164f0744f..00cfc14544b1 100644
--- a/development/gedit/gedit.info
+++ b/development/gedit/gedit.info
@@ -1,8 +1,8 @@
PRGNAM="gedit"
-VERSION="44.2"
+VERSION="46.1"
HOMEPAGE="http://projects.gnome.org/gedit/"
-DOWNLOAD="https://download.gnome.org/sources/gedit/44/gedit-44.2.tar.xz"
-MD5SUM="fc257c0bce2ee900208032913f94053f"
+DOWNLOAD="https://download.gnome.org/sources/gedit/46/gedit-46.1.tar.xz"
+MD5SUM="74cc927f8c41e7ccd2352c90d1086974"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="libpeas tepl gspell"