summaryrefslogtreecommitdiff
path: root/extra/mousepad
diff options
context:
space:
mode:
authorParabola <dev@list.parabolagnulinux.org>2011-06-19 02:48:26 +0000
committerParabola <dev@list.parabolagnulinux.org>2011-06-19 02:48:26 +0000
commit5457eacc747fc3f91e10a1f452230b1feac39eff (patch)
treebae3163aec825d4fc53c0ef265eac2148b31353b /extra/mousepad
parentc80552b41838a5668458ebb1eb9b0f44ea6fe879 (diff)
Sun Jun 19 02:48:26 UTC 2011
Diffstat (limited to 'extra/mousepad')
-rw-r--r--extra/mousepad/PKGBUILD28
-rw-r--r--extra/mousepad/mousepad.install16
-rw-r--r--extra/mousepad/resensitize-find-button.patch28
3 files changed, 0 insertions, 72 deletions
diff --git a/extra/mousepad/PKGBUILD b/extra/mousepad/PKGBUILD
deleted file mode 100644
index 9b3e0a599..000000000
--- a/extra/mousepad/PKGBUILD
+++ /dev/null
@@ -1,28 +0,0 @@
-# $Id: PKGBUILD 58320 2009-11-07 00:36:34Z allan $
-# Maintainer: 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')
-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')
-
-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
-}
diff --git a/extra/mousepad/mousepad.install b/extra/mousepad/mousepad.install
deleted file mode 100644
index e7ca93e53..000000000
--- a/extra/mousepad/mousepad.install
+++ /dev/null
@@ -1,16 +0,0 @@
-post_install() {
- update-desktop-database -q
-}
-
-post_upgrade() {
- post_install $1
-}
-
-post_remove() {
- update-desktop-database -q
-}
-
-op=$1
-shift
-
-$op $*
diff --git a/extra/mousepad/resensitize-find-button.patch b/extra/mousepad/resensitize-find-button.patch
deleted file mode 100644
index db79adc4d..000000000
--- a/extra/mousepad/resensitize-find-button.patch
+++ /dev/null
@@ -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);