[arch-commits] Commit in mousepad/trunk (3 files)
Evangelos Foutras
foutrelis at archlinux.org
Mon Dec 31 11:35:23 UTC 2012
Date: Monday, December 31, 2012 @ 06:35:22
Author: foutrelis
Revision: 173984
upgpkg: mousepad 0.3.0-1
New upstream release.
Modified:
mousepad/trunk/PKGBUILD
mousepad/trunk/mousepad.install
Deleted:
mousepad/trunk/resensitize-find-button.patch
-------------------------------+
PKGBUILD | 55 ++++++++++++++++++++++++----------------
mousepad.install | 6 ++--
resensitize-find-button.patch | 28 --------------------
3 files changed, 37 insertions(+), 52 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2012-12-31 10:39:10 UTC (rev 173983)
+++ PKGBUILD 2012-12-31 11:35:22 UTC (rev 173984)
@@ -1,28 +1,39 @@
# $Id$
-# Maintainer: tobias [tobias at archlinux.org]
+# Maintainer: Evangelos Foutras <evangelos at foutrelis.com>
+# Contributor: tobias [tobias at archlinux.org]
pkgname=mousepad
-pkgver=0.2.16
-pkgrel=2
-pkgdesc="Simple Text Editor for Xfce4 (based on Gedit)"
-arch=(i686 x86_64)
-groups=('xfce4')
-license="GPL2"
-depends=('libxfcegui4>=4.6.0' 'desktop-file-utils')
-makedepends=('pkgconfig' 'intltool' 'perl')
+pkgver=0.3.0
+pkgrel=1
+pkgdesc="Simple Text Editor for Xfce4 (based on Gedit)"
+arch=('i686' 'x86_64')
+url=('http://www.xfce.org/')
+license=('GPL2')
+groups=('xfce4')
+depends=('gtksourceview2' 'dbus-glib' 'desktop-file-utils')
+makedepends=('intltool' 'perl')
options=('!libtool')
-url=('http://www.xfce.org/~benny/apps.html')
-install=${pkgname}.install
-source=(http://www.xfce.org/archive/xfce-4.6.0/src/${pkgname}-${pkgver}.tar.bz2
- resensitize-find-button.patch)
-md5sums=('d98854edb76d823ac20b266fdf5a64a1'
- '1fbc153fbd47ebb95d93f7084dea93e0')
+install=$pkgname.install
+source=(http://archive.xfce.org/src/apps/$pkgname/0.3/$pkgname-$pkgver.tar.bz2)
+sha256sums=('10f27506994d0d0b8f9e02555404a144babedab97517abe3b6be8b2d21ff046d')
-build() {
- cd ${srcdir}/${pkgname}-${pkgver}
- patch -Np1 -i $srcdir/resensitize-find-button.patch
- ./configure --prefix=/usr --sysconfdir=/etc --libexecdir=/usr/lib/xfce4 \
- --localstatedir=/var --disable-static
- make || return 1
- make DESTDIR=${pkgdir} install || return 1
+build() {
+ cd "$srcdir/$pkgname-$pkgver"
+
+ ./configure \
+ --prefix=/usr \
+ --sysconfdir=/etc \
+ --libexecdir=/usr/lib/xfce4 \
+ --localstatedir=/var \
+ --disable-static \
+ --disable-debug
+ make
}
+
+package() {
+ cd "$srcdir/$pkgname-$pkgver"
+
+ make DESTDIR="$pkgdir" install
+}
+
+# vim:set ts=2 sw=2 et:
Modified: mousepad.install
===================================================================
--- mousepad.install 2012-12-31 10:39:10 UTC (rev 173983)
+++ mousepad.install 2012-12-31 11:35:22 UTC (rev 173984)
@@ -3,9 +3,11 @@
}
post_upgrade() {
- post_install $1
+ post_install
}
post_remove() {
- update-desktop-database -q
+ post_install
}
+
+# vim:set ts=2 sw=2 et:
Deleted: resensitize-find-button.patch
===================================================================
--- resensitize-find-button.patch 2012-12-31 10:39:10 UTC (rev 173983)
+++ resensitize-find-button.patch 2012-12-31 11:35:22 UTC (rev 173984)
@@ -1,28 +0,0 @@
---- mousepad-0.2.16.orig/src/search.c
-+++ mousepad-0.2.16/src/search.c
-@@ -210,8 +210,11 @@
- G_CALLBACK(toggle_sensitivity), NULL);
- g_signal_connect(G_OBJECT(entry_find), "delete-text",
- G_CALLBACK(toggle_sensitivity), NULL);
-- if (sd->search.string_find)
-+ if (sd->search.string_find) {
- gtk_entry_set_text(GTK_ENTRY(entry_find), sd->search.string_find);
-+ gtk_dialog_set_response_sensitive(GTK_DIALOG(dialog),
-+ GTK_RESPONSE_OK, TRUE);
-+ }
-
- gtk_dialog_set_default_response(GTK_DIALOG(dialog), GTK_RESPONSE_OK);
- gtk_entry_set_activates_default(GTK_ENTRY(entry_find), TRUE);
-@@ -275,8 +278,11 @@
- G_CALLBACK(toggle_sensitivity), NULL);
- g_signal_connect(G_OBJECT(entry_find), "delete-text",
- G_CALLBACK(toggle_sensitivity), NULL);
-- if (sd->search.string_find)
-+ if (sd->search.string_find) {
- gtk_entry_set_text(GTK_ENTRY(entry_find), sd->search.string_find);
-+ gtk_dialog_set_response_sensitive(GTK_DIALOG(dialog),
-+ GTK_RESPONSE_OK, TRUE);
-+ }
- label_replace = gtk_label_new_with_mnemonic(_("Re_place with: "));
- gtk_misc_set_alignment(GTK_MISC(label_replace), 0, 0.5);
- gtk_table_attach_defaults(GTK_TABLE(table), label_replace, 0, 1, 1, 2);
More information about the arch-commits
mailing list