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

2016-05-08 Thread Jan Steffens
Date: Sunday, May 8, 2016 @ 23:16:36
  Author: heftig
Revision: 267231

3.20.2-1

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

---+
 PKGBUILD  |7 +++
 gedit.install |   19 ---
 2 files changed, 3 insertions(+), 23 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2016-05-08 21:14:34 UTC (rev 267230)
+++ PKGBUILD2016-05-08 21:16:36 UTC (rev 267231)
@@ -3,19 +3,18 @@
 # Contributor: Jan de Groot 
 
 pkgname=gedit
-pkgver=3.20.1
+pkgver=3.20.2
 pkgrel=1
 pkgdesc="A text editor for GNOME"
 arch=(i686 x86_64)
 license=(GPL)
-depends=(gtksourceview3 gsettings-desktop-schemas libpeas gspell 
desktop-file-utils python-gobject dconf)
+depends=(gtksourceview3 gsettings-desktop-schemas libpeas gspell 
python-gobject dconf)
 makedepends=(yelp-tools intltool vala gobject-introspection)
 groups=(gnome-extra)
 options=('!emptydirs')
 url="http://www.gnome.org;
-install=gedit.install
 
source=(https://download.gnome.org/sources/$pkgname/${pkgver:0:4}/$pkgname-$pkgver.tar.xz)
-sha256sums=('9a47e3073f844b67d7358f5a43c71ab04b442b70fcd3c629da77879e9a0c1dc4')
+sha256sums=('32a1276a71a0d4a5af4e20a87bc273170ba8e075fc1ca7f51c8d3a6c150463f8')
 
 build() {
   cd $pkgname-$pkgver

Deleted: gedit.install
===
--- gedit.install   2016-05-08 21:14:34 UTC (rev 267230)
+++ gedit.install   2016-05-08 21:16:36 UTC (rev 267231)
@@ -1,19 +0,0 @@
-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() {
-if [ -f /usr/share/gconf/schemas/gedit.schemas ]; then
-gconfpkg --uninstall gedit
-fi
-}
-
-post_upgrade() {
-post_install $1
-}
-
-post_remove() {
-post_install $1
-}


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

2016-03-21 Thread Jan de Groot
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
===
--- PKGBUILD2016-03-21 14:24:04 UTC (rev 262181)
+++ PKGBUILD2016-03-21 14:41:13 UTC (rev 262182)
@@ -3,12 +3,12 @@
 # Contributor: Jan de Groot 
 
 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() {


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

2012-04-17 Thread Ionut Biru
Date: Tuesday, April 17, 2012 @ 13:46:51
  Author: ibiru
Revision: 156360

update to 3.4.1

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

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

Modified: PKGBUILD
===
--- PKGBUILD2012-04-17 17:39:39 UTC (rev 156359)
+++ PKGBUILD2012-04-17 17:46:51 UTC (rev 156360)
@@ -3,7 +3,7 @@
 # Contributor: Jan de Groot j...@archlinux.org
 
 pkgname=gedit
-pkgver=3.4.0
+pkgver=3.4.1
 pkgrel=1
 pkgdesc=A text editor for GNOME
 arch=('i686' 'x86_64')
@@ -15,7 +15,7 @@
 url=http://www.gnome.org;
 install=gedit.install
 
source=(http://ftp.gnome.org/pub/gnome/sources/$pkgname/${pkgver%.*}/$pkgname-$pkgver.tar.xz)
-sha256sums=('a51bb8d60bfd9b37edf04228c7493d256e73a6b5f025f8b4900431673ac34e3f')
+sha256sums=('9b1f0164d6c6bc08e391efde7e6a2aa9290a65bda543fe3a7adc6ef73b722a64')
 
 build() {
   cd $pkgname-$pkgver

Modified: gedit.install
===
--- gedit.install   2012-04-17 17:39:39 UTC (rev 156359)
+++ gedit.install   2012-04-17 17:46:51 UTC (rev 156360)
@@ -1,11 +1,11 @@
 post_install() {
-glib-compile-schemas usr/share/glib-2.0/schemas
+glib-compile-schemas /usr/share/glib-2.0/schemas
 update-desktop-database -q
 }
 
 pre_upgrade() {
-if [ -f usr/share/gconf/schemas/gedit.schemas ]; then
-usr/sbin/gconfpkg --uninstall gedit
+if [ -f /usr/share/gconf/schemas/gedit.schemas ]; then
+gconfpkg --uninstall gedit
 fi
 }
 



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

2011-02-25 Thread Ionut Biru
Date: Friday, February 25, 2011 @ 15:13:52
  Author: ibiru
Revision: 111282

upgpkg: gedit 2.91.7-1
update to 2.91.7

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

---+
 PKGBUILD  |   26 ++
 gedit.install |   18 +++---
 2 files changed, 21 insertions(+), 23 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2011-02-25 16:37:49 UTC (rev 111281)
+++ PKGBUILD2011-02-25 20:13:52 UTC (rev 111282)
@@ -2,28 +2,30 @@
 # Maintainer: Jan de Groot j...@archlinux.org
 
 pkgname=gedit
-pkgver=2.30.4
-pkgrel=3
+pkgver=2.91.7
+pkgrel=1
 pkgdesc=A text editor for GNOME
 arch=('i686' 'x86_64')
 license=('GPL')
-depends=('gconf=2.32.0' 'pygtksourceview2=2.10.1' 'enchant=1.5.0' 
'desktop-file-utils' 'iso-codes=3.10.1' 'libsm')
-makedepends=('pkgconfig' 'gnome-doc-utils=0.20.2' 'intltool')
+depends=('gtksourceview3' 'gsettings-desktop-schemas ''libpeas' 'enchant' 
'iso-codes' 'libsm')
+makedepends=('pkgconfig' 'gnome-doc-utils' 'intltool')
 groups=('gnome-extra')
 options=('!libtool' '!emptydirs')
 url=http://www.gnome.org;
 install=gedit.install
-source=(http://ftp.gnome.org/pub/gnome/sources/${pkgname}/2.30/${pkgname}-${pkgver}.tar.bz2)
-sha256sums=('a561fe3dd1d199baede1bd07c4ee65f06fc7c494dd4d3327117f04149a608e3c')
+source=(http://ftp.gnome.org/pub/gnome/sources/${pkgname}/2.91/${pkgname}-${pkgver}.tar.bz2)
+sha256sums=('4df4def47e0301aba0a1a95a43b67c067a70fe0d6dc23459df572022bc91517f')
 
 build() {
   cd ${srcdir}/${pkgname}-${pkgver}
-  PYTHON=python2 ./configure --prefix=/usr --sysconfdir=/etc 
--localstatedir=/var \
-  --libexecdir=/usr/lib --disable-scrollkeeper
+  PYTHON=/usr/bin/python2 ./configure --prefix=/usr \
+  --sysconfdir=/etc --localstatedir=/var \
+  --libexecdir=/usr/lib --disable-scrollkeeper \
+  --disable-updater --disable-schemas-compile
   make
-  make -j1 GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1 DESTDIR=${pkgdir} install
+}
 
-  install -m755 -d ${pkgdir}/usr/share/gconf/schemas
-  gconf-merge-schema ${pkgdir}/usr/share/gconf/schemas/${pkgname}.schemas 
--domain gedit ${pkgdir}/etc/gconf/schemas/*.schemas
-  rm -f ${pkgdir}/etc/gconf/schemas/*.schemas
+package(){
+  cd ${srcdir}/${pkgname}-${pkgver}
+  make DESTDIR=${pkgdir} install
 }

Modified: gedit.install
===
--- gedit.install   2011-02-25 16:37:49 UTC (rev 111281)
+++ gedit.install   2011-02-25 20:13:52 UTC (rev 111282)
@@ -1,22 +1,18 @@
-pkgname=gedit
-
 post_install() {
-  usr/sbin/gconfpkg --install ${pkgname}
-  update-desktop-database -q
+glib-compile-schemas usr/share/glib-2.0/schemas
+update-desktop-database -q
 }
 
 pre_upgrade() {
-  pre_remove $1
+if [ -f usr/share/gconf/schemas/gedit.schemas ]; then
+usr/sbin/gconfpkg --uninstall gedit
+fi
 }
 
 post_upgrade() {
-  post_install $1
+post_install $1
 }
 
-pre_remove() {
-  usr/sbin/gconfpkg --uninstall ${pkgname}
-}
-
 post_remove() {
-  update-desktop-database -q
+post_install $1
 }