Git-Url: 
http://git.frugalware.org/gitweb/gitweb.cgi?p=frugalware-current.git;a=commitdiff;h=67c29029ea49454f189469b891cb0321e90d1e95

commit 67c29029ea49454f189469b891cb0321e90d1e95
Author: crazy <[EMAIL PROTECTED]>
Date:   Thu Dec 6 03:20:58 2007 +0100

tovid-0.30-3-i686
* release bump
* rebuild with wypy28
* depends() fix , this one need the unicode version

diff --git a/source/xapps-extra/tovid/FrugalBuild 
b/source/xapps-extra/tovid/FrugalBuild
index 8aa1667..6ec4d75 100644
--- a/source/xapps-extra/tovid/FrugalBuild
+++ b/source/xapps-extra/tovid/FrugalBuild
@@ -4,18 +4,20 @@

pkgname=tovid
pkgver=0.30
-pkgrel=2
+pkgrel=3
pkgdesc="Tovid is a collection of video disc authoring tools"
license="GPL"
-depends=('wxpython' 'mplayer>=1.0rc1-7' 'mjpegtools>=1.9.0rc2' 
'ffmpeg>=20070422' 'imagemagick' 'txt2tags' \
+depends=('wxpython-u8>=2.8.7.1' 'mplayer>=1.0rc1-7' 'mjpegtools>=1.9.0rc2' 
'ffmpeg>=20070422' 'imagemagick' 'txt2tags' \
'normalize' 'dvdauthor' 'vcdimager' 'libdvdcss' 'lsdvd' 'transcode>=1.0.2-5' 
'sox' 'cdrdao')
archs=('i686')
groups=('xapps-extra')
options=('scriptlet')
_F_sourceforge_prefix="$pkgname "
Finclude sourceforge
+source=($source wxpy28.patch)
url="http://tovid.wikia.com/wiki/Main_Page";
-sha1sums=('70259c55a7da3b9a98fe8136470f5770d0923732')
+sha1sums=('70259c55a7da3b9a98fe8136470f5770d0923732' \
+          'c4243db5f508f1608ff9258138b4871d35d9f6c6')

build() {
Fbuild
diff --git a/source/xapps-extra/tovid/wxpy28.patch 
b/source/xapps-extra/tovid/wxpy28.patch
new file mode 100644
index 0000000..afef4b2
--- /dev/null
+++ b/source/xapps-extra/tovid/wxpy28.patch
@@ -0,0 +1,29 @@
+diff -Naur tovid-0.30/src/tovidgui tovid-0.30-p/src/tovidgui
+--- tovid-0.30/src/tovidgui    2006-11-20 06:54:41.000000000 +0100
++++ tovid-0.30-p/src/tovidgui  2007-12-06 03:06:10.000000000 +0100
+@@ -21,20 +21,20 @@
+ import sys
+ import traceback
+
+-# Try to import wx 2.6; print error if it's unavailable
++# Try to import wx 2.8; print error if it's unavailable
+ try:
+     import wxversion
+-    if wxversion.checkInstalled('2.6'):
+-        wxversion.select('2.6-unicode')
++    if wxversion.checkInstalled('2.8'):
++        wxversion.select('2.8-unicode')
+     else:
+-        print "tovidgui requires wxPython 2.6; please install or upgrade 
wxPython."
++        print "tovidgui requires wxPython 2.8; please install or upgrade 
wxPython."
+         sys.exit()
+     import wx
+ except ImportError:
+     traceback.print_exc()
+     print "There was an error importing the 'wx' libraries. The above"
+     print "output should help you find what went wrong. Re-installing"
+-    print "wxPython 2.6 (or upgrading from wxPython 2.4 to 2.6) may"
++    print "wxPython 2.8 (or upgrading from wxPython 2.6 to 2.8) may"
+     print "help. Consult the tovid homepage (tovid.org) for further"
+     print "assistance."
+     print "Sorry, 'tovidgui' will not work."
_______________________________________________
Frugalware-git mailing list
Frugalware-git@frugalware.org
http://frugalware.org/mailman/listinfo/frugalware-git

Reply via email to