laditools: fix broken template
- noarch=yes - add missing pycompile_module - needs gtk+3/python-gobject, not gtk+2/pygtk (fork of LADI/laditools) - add patch to support vte>=0.52
This commit is contained in:
parent
09538d74e1
commit
6ca47bd1c1
|
@ -0,0 +1,21 @@
|
|||
Support for vte >= 0.52.
|
||||
See https://bugs.launchpad.net/ubuntu/+source/laditools/+bug/1669111.
|
||||
|
||||
--- ladi-system-log.orig 2015-09-13 23:38:51.000000000 +0200
|
||||
+++ ladi-system-log 2018-10-17 18:04:59.687899590 +0200
|
||||
@@ -190,13 +190,13 @@
|
||||
|
||||
def on_clear_text (self, data=None):
|
||||
current_view = self.logview_notebook.get_current_page ()
|
||||
- self.log_files[current_view]["term"].feed ("\033[2J\033[;f", -1)
|
||||
+ self.log_files[current_view]["term"].feed ("\033[2J\033[;f")
|
||||
|
||||
def on_purge (self, data=None):
|
||||
current_view = self.logview_notebook.get_current_page ()
|
||||
# Opens the file in write anew mode thus clearing the file and close it right away
|
||||
open (self.log_files[current_view]['logfile_path'], "w+")
|
||||
- self.log_files[current_view]["term"].feed ("\033[2J\033[;f", -1)
|
||||
+ self.log_files[current_view]["term"].feed ("\033[2J\033[;f")
|
||||
|
||||
def run (self):
|
||||
self.ui.show_all()
|
|
@ -1,14 +1,20 @@
|
|||
# Template file for 'laditools'
|
||||
pkgname=laditools
|
||||
version=1.1.0
|
||||
revision=1
|
||||
revision=2
|
||||
noarch=yes
|
||||
build_style=python2-module
|
||||
pycompile_module="laditools"
|
||||
hostmakedepends="python-distutils-extra intltool librsvg-utils"
|
||||
makedepends="pygtk-devel vte3-devel"
|
||||
depends="pygtk python-enum34 python-xdg vte-python"
|
||||
depends="ladish jack gtk+3 python-gobject python-dbus python-enum34 python-xdg vte3"
|
||||
short_desc="Linux Audio Desktop Integration Tools"
|
||||
maintainer="Cameron Nemo <camerontnorman@gmail.com>"
|
||||
license="GPL-3.0-or-later"
|
||||
homepage="https://github.com/alessio/${pkgname}"
|
||||
homepage="https://github.com/alessio/laditools"
|
||||
distfiles="${homepage}/archive/v${version}.tar.gz"
|
||||
checksum=ca99f4b6e17b7333ed87dd12a2d91da4d486e53d89dd2677edfa29170ec6efe5
|
||||
|
||||
post_install() {
|
||||
# remove wmladi, we do not have wmdocklib.
|
||||
rm -f ${DESTDIR}/usr/bin/wmladi
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue