]> git.pld-linux.org Git - packages/amaroc.git/commitdiff
- updated to 0.3
authormaciek2w <maciek2w@pld-linux.org>
Thu, 21 Sep 2006 16:07:54 +0000 (16:07 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
- added patch to catch exception from curs_set()
- rel 1

Changed files:
    amaroc-curses.patch -> 1.1
    amaroc.spec -> 1.6

amaroc-curses.patch [new file with mode: 0644]
amaroc.spec

diff --git a/amaroc-curses.patch b/amaroc-curses.patch
new file mode 100644 (file)
index 0000000..6598365
--- /dev/null
@@ -0,0 +1,31 @@
+--- amaroc.py.orig     2006-08-02 08:41:39.000000000 +0200
++++ amaroc.py  2006-09-21 17:58:20.000000000 +0200
+@@ -235,7 +235,11 @@
+ curses.noecho()
+ curses.cbreak()
+ stdscr.keypad(1)
+-curses.curs_set(0)
++try:
++    curses.curs_set(0)
++except:
++    pass
++
+ whoami = commands.getoutput('whoami')
+ y, x = stdscr.getmaxyx()
+--- amaroc.py.orig     2006-09-21 18:02:50.000000000 +0200
++++ amaroc.py  2006-09-21 18:03:06.000000000 +0200
+@@ -26,7 +26,12 @@
+ # Functions
+ ############
+ def endit():
+-      curses.curs_set(1); curses.nocbreak(); stdscr.keypad(0); curses.echo()
++      try:
++          curses.curs_set(1); 
++      except:
++          pass
++      
++      curses.nocbreak(); stdscr.keypad(0); curses.echo()
+       curses.endwin()
+ def ak_basic(doit, return_status=0):
index 4ca2d6b66f05c42b995226d4bf9668833efa4f21..f223e0ca19939128d8681660d0a6e93993a84460 100644 (file)
@@ -2,12 +2,13 @@ Summary:      amaroc - ncurses frontend for Amarok
 Summary(de):   amaroc - ncurses Frontend für Amarok
 Summary(pl):   amaroc - frontend ncurses dla Amaroka
 Name:          amaroc
-Version:       0.2
-Release:       0.1
+Version:       0.3
+Release:       1
 License:       GPL v2
 Group:         Applications
 Source0:       http://dl.sourceforge.net/amaroc/%{name}-%{version}.tar.bz2
-# Source0-md5: 7191b83e2b66d161a7cd8f463f5181d7
+# Source0-md5: 38308e04b2bd0f7df94d19f2455b70df
+Patch0:                %{name}-curses.patch
 Requires:      amarok
 Requires:      python
 Requires:      python-modules
@@ -27,6 +28,7 @@ u
 
 %prep
 %setup -q
+%patch0 -p0
 
 %install
 rm -rf $RPM_BUILD_ROOT
This page took 0.084824 seconds and 4 git commands to generate.