[arch-commits] Commit in tilda/trunk (PKGBUILD start-hidden-fix.patch tilda.changelog)

Maxime Gauduin alucryd at nymeria.archlinux.org
Thu Aug 22 16:36:04 UTC 2013


    Date: Thursday, August 22, 2013 @ 18:36:03
  Author: alucryd
Revision: 96245

FS#36542: tilda 1.1.7-2

Added:
  tilda/trunk/start-hidden-fix.patch
Modified:
  tilda/trunk/PKGBUILD
  tilda/trunk/tilda.changelog

------------------------+
 PKGBUILD               |   24 +++++++++++++++++-------
 start-hidden-fix.patch |   24 ++++++++++++++++++++++++
 tilda.changelog        |    3 +++
 3 files changed, 44 insertions(+), 7 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2013-08-22 15:34:02 UTC (rev 96244)
+++ PKGBUILD	2013-08-22 16:36:03 UTC (rev 96245)
@@ -5,17 +5,25 @@
 
 pkgname=tilda
 pkgver=1.1.7
-pkgrel=1
+pkgrel=2
 pkgdesc="A Gtk based drop down terminal for Linux and Unix"
 arch=('i686' 'x86_64')
 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)
+sha256sums=('ed96ae2cf0ceb2a5b2f4a62948c5c0d28d1d54f89ade5153b2e67515cf4dc5e7'
+            'e6d6075bb923c2dcae57706fe0555c28f9094f5115f1a3c60b8f85b8ff267b96')
 
+prepare() {
+  cd $pkgname-$pkgname-$pkgver
+
+  patch -Np1 -i ../start-hidden-fix.patch
+}
+
 build() {
-  cd $srcdir/$pkgname-$pkgname-$pkgver
+  cd $pkgname-$pkgname-$pkgver
 
   ./autogen.sh
   ./configure --prefix=/usr
@@ -23,7 +31,9 @@
 }
 
 package() {
-  cd $srcdir/$pkgname-$pkgname-$pkgver
+  cd $pkgname-$pkgname-$pkgver
 
-  make DESTDIR=${pkgdir} install
+  make DESTDIR="$pkgdir" install
 }
+
+# vim: ts=2 sw=2 et:

Added: start-hidden-fix.patch
===================================================================
--- start-hidden-fix.patch	                        (rev 0)
+++ start-hidden-fix.patch	2013-08-22 16:36:03 UTC (rev 96245)
@@ -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"));


Property changes on: tilda/trunk/start-hidden-fix.patch
___________________________________________________________________
Added: svn:executable
## -0,0 +1 ##
+*
\ No newline at end of property
Modified: tilda.changelog
===================================================================
--- tilda.changelog	2013-08-22 15:34:02 UTC (rev 96244)
+++ tilda.changelog	2013-08-22 16:36:03 UTC (rev 96245)
@@ -1,3 +1,6 @@
+2013-08-22  Maxime Gauduin <alucryd at gmail.com>
+	* FS#36542 fixed - tilda 1.1.7-2
+
 2013-08-08  Jaroslav Lichtblau <dragonlord at aur.archlinux.org>
 	* tilda 1.1.7-1
 




More information about the arch-commits mailing list