[arch-commits] Commit in devede/trunk (PKGBUILD help.patch)
Balló György
bgyorgy at archlinux.org
Mon Nov 9 01:54:38 UTC 2015
Date: Monday, November 9, 2015 @ 02:54:37
Author: bgyorgy
Revision: 146411
upgpkg: devede 4.3-3
Fix opening help, fix dependencies
Added:
devede/trunk/help.patch
Modified:
devede/trunk/PKGBUILD
------------+
PKGBUILD | 13 +++++++------
help.patch | 33 +++++++++++++++++++++++++++++++++
2 files changed, 40 insertions(+), 6 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2015-11-08 23:59:51 UTC (rev 146410)
+++ PKGBUILD 2015-11-09 01:54:37 UTC (rev 146411)
@@ -6,7 +6,7 @@
pkgname=devede
pkgver=4.3
-pkgrel=2
+pkgrel=3
pkgdesc="A program to create VideoDVDs and CDs"
arch=('any')
url="http://www.rastersoft.com/programas/devede.html"
@@ -13,14 +13,15 @@
license=('GPL3')
depends=('mplayer' 'mencoder' 'ffmpeg' 'dvdauthor' 'vcdimager'
'cdrkit' 'ttf-dejavu'
- 'python-dbus' 'python-cairo' 'python-setuptools' 'python-gobject'
- 'python-pip')
-source=($pkgname-$pkgver.tar.gz::https://github.com/rastersoft/devedeng/archive/$pkgver.tar.gz)
-md5sums=('57e466a0cbe7aeeb864dc9c4051343e3')
+ 'gtk3' 'python-cairo' 'python-gobject' 'python-setuptools')
+source=($pkgname-$pkgver.tar.gz::https://github.com/rastersoft/devedeng/archive/$pkgver.tar.gz
+ help.patch)
+md5sums=('57e466a0cbe7aeeb864dc9c4051343e3'
+ '91c510680c6809367e0a318ec2777c54')
prepare() {
cd ${srcdir}/${pkgname}ng-$pkgver
- sed -i 's/import devedeng.help//' src/devedeng/project.py
+ patch -Np1 -i ${srcdir}/help.patch
}
package() {
Added: help.patch
===================================================================
--- help.patch (rev 0)
+++ help.patch 2015-11-09 01:54:37 UTC (rev 146411)
@@ -0,0 +1,33 @@
+From 58776ef1b6d88a79b03892b72bac625a60e293b8 Mon Sep 17 00:00:00 2001
+From: Sergio Costas <raster at rastersoft.com>
+Date: Wed, 28 Oct 2015 16:28:53 +0100
+Subject: [PATCH] Added forgoten file help.py
+
+---
+ src/devedeng/help.py | 17 +++++++++++++++++
+ 1 file changed, 17 insertions(+)
+ create mode 100644 src/devedeng/help.py
+
+diff --git a/src/devedeng/help.py b/src/devedeng/help.py
+new file mode 100644
+index 0000000..796bd9e
+--- /dev/null
++++ b/src/devedeng/help.py
+@@ -0,0 +1,17 @@
++#!/usr/bin/env python3
++
++from gi.repository import Gtk,Gdk
++import devedeng.configuration_data
++import os
++
++class help:
++
++ def __init__(self,help_page):
++
++ self.config = devedeng.configuration_data.configuration.get_config()
++
++ file="file://"+os.path.join(self.config.help_path,"html",help_page)
++
++ retval = Gtk.show_uri(None,file,Gdk.CURRENT_TIME)
++ if retval == False:
++ msg=devede_dialogs.show_error(gladefile,_("Can't open the help files."))
More information about the arch-commits
mailing list