[arch-commits] Commit in gedit/trunk (PKGBUILD gedit.install)

Jan de Groot jgc at archlinux.org
Mon Mar 21 14:41:13 UTC 2016


    Date: Monday, March 21, 2016 @ 15:41:13
  Author: jgc
Revision: 262182

upgpkg: gedit 3.20.0-1

Modified:
  gedit/trunk/PKGBUILD
  gedit/trunk/gedit.install

---------------+
 PKGBUILD      |   10 ++++------
 gedit.install |    1 +
 2 files changed, 5 insertions(+), 6 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2016-03-21 14:24:04 UTC (rev 262181)
+++ PKGBUILD	2016-03-21 14:41:13 UTC (rev 262182)
@@ -3,12 +3,12 @@
 # Contributor: Jan de Groot <jgc at archlinux.org>
 
 pkgname=gedit
-pkgver=3.18.3
+pkgver=3.20.0
 pkgrel=1
 pkgdesc="A text editor for GNOME"
 arch=(i686 x86_64)
 license=(GPL)
-depends=(gtksourceview3 gsettings-desktop-schemas libpeas enchant iso-codes desktop-file-utils python-gobject dconf)
+depends=(gtksourceview3 gsettings-desktop-schemas libpeas gspell desktop-file-utils python-gobject dconf)
 makedepends=(yelp-tools intltool vala gobject-introspection)
 groups=(gnome-extra)
 options=('!emptydirs')
@@ -15,7 +15,7 @@
 url="http://www.gnome.org"
 install=gedit.install
 source=(https://download.gnome.org/sources/$pkgname/${pkgver:0:4}/$pkgname-$pkgver.tar.xz)
-sha256sums=('6762ac0d793b0f754a2da5f88739d04fa39daa7491c5c46401d24bcef76c32e7')
+sha256sums=('4013dedd2b58ce215ed40b028a1223df5b5fc44571388c008f31f77379a77bb2')
 
 build() {
   cd $pkgname-$pkgver
@@ -24,9 +24,7 @@
       --libexecdir=/usr/lib --disable-updater --disable-schemas-compile \
       --enable-python
 
-  # Hack to remove unneeded library linking
-  sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0 /g' -e 's/    if test "$export_dynamic" = yes && test -n "$export_dynamic_flag_spec"; then/      func_append compile_command " -Wl,-O1,--as-needed"\n      func_append finalize_command " -Wl,-O1,--as-needed"\n\0/' libtool
-
+  sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
   make
 }
 

Modified: gedit.install
===================================================================
--- gedit.install	2016-03-21 14:24:04 UTC (rev 262181)
+++ gedit.install	2016-03-21 14:41:13 UTC (rev 262182)
@@ -1,6 +1,7 @@
 post_install() {
     glib-compile-schemas /usr/share/glib-2.0/schemas
     update-desktop-database -q
+    gtk-update-icon-cache -q -t -f /usr/share/icons/hicolor
 }
 
 pre_upgrade() {



More information about the arch-commits mailing list