summaryrefslogtreecommitdiff
path: root/community/tilda
diff options
context:
space:
mode:
Diffstat (limited to 'community/tilda')
-rw-r--r--community/tilda/PKGBUILD31
-rwxr-xr-xcommunity/tilda/start-hidden-fix.patch24
-rwxr-xr-xcommunity/tilda/tab-count-fix.patch11
-rw-r--r--community/tilda/tilda.changelog28
4 files changed, 74 insertions, 20 deletions
diff --git a/community/tilda/PKGBUILD b/community/tilda/PKGBUILD
index a6f51cbb4..750621132 100644
--- a/community/tilda/PKGBUILD
+++ b/community/tilda/PKGBUILD
@@ -1,21 +1,34 @@
-# $Id: PKGBUILD 95282 2013-08-08 19:28:31Z jlichtblau $
+# $Id: PKGBUILD 96258 2013-08-22 23:47:58Z eric $
# Maintainer: Jaroslav Lichtblau <dragonlord@aur.archlinux.org>
# Contributor: Douglas Soares de Andrade <dsa@aur.archlinux.org>
# Contributor: William Rea <sillywilly@gmail.com>
pkgname=tilda
pkgver=1.1.7
-pkgrel=1
+pkgrel=3
pkgdesc="A Gtk based drop down terminal for Linux and Unix"
arch=('i686' 'x86_64' 'mips64el')
url="https://github.com/lanoxx/tilda"
license=('GPL')
-depends=('vte3' 'confuse' 'gtk3')
-source=(https://github.com/lanoxx/$pkgname/archive/$pkgname-$pkgver.tar.gz)
-sha256sums=('ed96ae2cf0ceb2a5b2f4a62948c5c0d28d1d54f89ade5153b2e67515cf4dc5e7')
+depends=('vte3' 'confuse')
+source=(https://github.com/lanoxx/$pkgname/archive/$pkgname-$pkgver.tar.gz
+ start-hidden-fix.patch
+ tab-count-fix.patch)
+sha256sums=('ed96ae2cf0ceb2a5b2f4a62948c5c0d28d1d54f89ade5153b2e67515cf4dc5e7'
+ 'e6d6075bb923c2dcae57706fe0555c28f9094f5115f1a3c60b8f85b8ff267b96'
+ '5d80a76f904a2094cd7b156654ea6d1860c319fc6c18927f2fb342c0f477c110')
+
+prepare() {
+ cd $pkgname-$pkgname-$pkgver
+
+ patch -Np1 -i ../start-hidden-fix.patch
+ patch -Np1 -i ../tab-count-fix.patch
+ sed 's/Exec=.*/Exec=tilda/; s/Icon=.*/Icon=tilda/' -i tilda.desktop.in
+
+}
build() {
- cd $srcdir/$pkgname-$pkgname-$pkgver
+ cd $pkgname-$pkgname-$pkgver
./autogen.sh
./configure --prefix=/usr
@@ -23,7 +36,9 @@ build() {
}
package() {
- cd $srcdir/$pkgname-$pkgname-$pkgver
+ cd $pkgname-$pkgname-$pkgver
- make DESTDIR=${pkgdir} install
+ make DESTDIR="$pkgdir" install
}
+
+# vim: ts=2 sw=2 et:
diff --git a/community/tilda/start-hidden-fix.patch b/community/tilda/start-hidden-fix.patch
new file mode 100755
index 000000000..d42fa0393
--- /dev/null
+++ b/community/tilda/start-hidden-fix.patch
@@ -0,0 +1,24 @@
+diff --git a/src/tilda.c b/src/tilda.c
+index c0a435f..50daa47 100644
+--- a/src/tilda.c
++++ b/src/tilda.c
+@@ -639,18 +639,7 @@ int main (int argc, char *argv[])
+ }
+ }
+
+- if (config_getbool ("hidden"))
+- {
+- /* It does not cause graphical glitches to make tilda hidden on start this way.
+- * It does make tilda appear much faster on it's first appearance, so I'm leaving
+- * it this way, because it has a good benefit, and no apparent drawbacks. */
+- gtk_widget_show (GTK_WIDGET(tw->window));
+- gtk_widget_hide (GTK_WIDGET(tw->window));
+- }
+- else
+- {
+- pull (tw, PULL_DOWN);
+- }
++ pull (tw, config_getbool ("hidden") ? PULL_UP : PULL_DOWN);
+
+ g_print ("Tilda has started. Press %s to pull down the window.\n",
+ config_getstr ("key"));
diff --git a/community/tilda/tab-count-fix.patch b/community/tilda/tab-count-fix.patch
new file mode 100755
index 000000000..b0e1522a1
--- /dev/null
+++ b/community/tilda/tab-count-fix.patch
@@ -0,0 +1,11 @@
+--- a/src/tilda_window.c
++++ b/src/tilda_window.c
+@@ -378,7 +378,7 @@ static gboolean goto_tab_generic (tilda_window *tw, guint tab_number)
+
+ if (g_list_length (tw->terms) > (tab_number-1))
+ {
+- goto_tab (tw, g_list_length (tw->terms) - tab_number);
++ goto_tab (tw, tab_number - 1);
+ return TRUE;
+ }
+
diff --git a/community/tilda/tilda.changelog b/community/tilda/tilda.changelog
index f5a9e46d9..9885de98e 100644
--- a/community/tilda/tilda.changelog
+++ b/community/tilda/tilda.changelog
@@ -1,18 +1,22 @@
-2013-08-08 Jaroslav Lichtblau <dragonlord@aur.archlinux.org>
- * tilda 1.1.7-1
+2013-08-22 Maxime Gauduin <alucryd@gmail.com>
+ * tilda 1.1.7-3
+ * Fixes FS#36542, FS#36516 and FS#36543
-2012-06-02 Jaroslav Lichtblau <dragonlord@aur.archlinux.org>
- * FS#29754 fixed
+2013-08-08 Jaroslav Lichtblau <dragonlord@aur.archlinux.org>
+ * tilda 1.1.7-1
-2011-08-28 Jaroslav Lichtblau <dragonlord@aur.archlinux.org>
- * FS#25762 fixed
+2012-06-02 Jaroslav Lichtblau <dragonlord@aur.archlinux.org>
+ * FS#29754 fixed
-2008-04-29 Mateusz Herych <heniekk@gmail.com>
- * Updated for x86_64 - 0.9.6
+2011-08-28 Jaroslav Lichtblau <dragonlord@aur.archlinux.org>
+ * FS#25762 fixed
-2008-04-28 Douglas Soares de Andrade <dsa@aur.archlinux.org>
- * Updated for i686 - 0.9.6
+2008-04-29 Mateusz Herych <heniekk@gmail.com>
+ * Updated for x86_64 - 0.9.6
-2007-12-30 Douglas Soares de Andrade <dsa@aur.archlinux.org>
- * Updated to newer version - 0.9.5
+2008-04-28 Douglas Soares de Andrade <dsa@aur.archlinux.org>
+ * Updated for i686 - 0.9.6
+
+2007-12-30 Douglas Soares de Andrade <dsa@aur.archlinux.org>
+ * Updated to newer version - 0.9.5