- minor update to devede-3.12

This commit is contained in:
ajacoutot 2009-01-25 16:14:25 +00:00
parent c4bbd9cc64
commit 79130f2cd2
5 changed files with 38 additions and 34 deletions

View File

@ -1,8 +1,8 @@
# $OpenBSD: Makefile,v 1.12 2008/08/24 22:02:26 ajacoutot Exp $
# $OpenBSD: Makefile,v 1.13 2009/01/25 16:14:25 ajacoutot Exp $
COMMENT= video DVDs and CDs creation tool
DISTNAME= devede-3.11
DISTNAME= devede-3.12
CATEGORIES= multimedia x11
EXTRACT_SUFX= .tar.bz2

View File

@ -1,5 +1,5 @@
MD5 (devede-3.11.tar.bz2) = nLfQIZLB7cdBqp0lgGx5tw==
RMD160 (devede-3.11.tar.bz2) = jv82yK9EaFBhRJEEORuqy/pJWW8=
SHA1 (devede-3.11.tar.bz2) = LOmYyY/5Fz/frjf3WomSzB8vIAs=
SHA256 (devede-3.11.tar.bz2) = zsXEtLHXBTfGRJFO+DpuQE0uGummWLIHd6t0XyhQjKU=
SIZE (devede-3.11.tar.bz2) = 1559902
MD5 (devede-3.12.tar.bz2) = kURF0AFToGTIsjVSBvk0Mg==
RMD160 (devede-3.12.tar.bz2) = Q4WMyphyOdwoa8Q3hMusx3EeATc=
SHA1 (devede-3.12.tar.bz2) = 4zihzL5mTTJijxeq77ehdw0vwBA=
SHA256 (devede-3.12.tar.bz2) = RGSpi2LJYTqsAoxdDc+JXvCzq8mR/eHg8ymgqeP/IHU=
SIZE (devede-3.12.tar.bz2) = 1612525

View File

@ -1,7 +1,7 @@
$OpenBSD: patch-devede_glade,v 1.7 2008/08/24 22:02:26 ajacoutot Exp $
--- devede.glade.orig Sun Aug 24 20:12:09 2008
+++ devede.glade Sun Aug 24 23:57:02 2008
@@ -4238,7 +4238,7 @@ V. Fotiadis</property>
$OpenBSD: patch-devede_glade,v 1.8 2009/01/25 16:14:25 ajacoutot Exp $
--- devede.glade.orig Sun Jan 25 01:26:40 2009
+++ devede.glade Sun Jan 25 16:55:17 2009
@@ -4239,7 +4239,7 @@ V. Fotiadis</property>
<property name="width_request">330</property>
<property name="height_request">89</property>
<property name="visible">True</property>

View File

@ -1,10 +1,10 @@
$OpenBSD: patch-devede_py,v 1.6 2008/08/24 22:02:26 ajacoutot Exp $
--- devede.py.orig Sun Aug 24 23:55:02 2008
+++ devede.py Sun Aug 24 23:56:45 2008
$OpenBSD: patch-devede_py,v 1.7 2009/01/25 16:14:25 ajacoutot Exp $
--- devede.py.orig Sun Jan 25 17:09:52 2009
+++ devede.py Sun Jan 25 17:11:10 2009
@@ -36,13 +36,13 @@ import pickle
import cairo
print "DeVeDe 3.11"
print "DeVeDe 3.12"
-if sys.platform!="win32":
+if sys.platform!="win32" and not sys.platform.startswith('openbsd'):
print "Locale: "+str(os.environ["LANG"])
@ -12,32 +12,29 @@ $OpenBSD: patch-devede_py,v 1.6 2008/08/24 22:02:26 ajacoutot Exp $
# append the directories where we install the devede's own modules
tipo=-1
try:
- fichero=open("/usr/local/share/devede/devede.glade","r")
- fichero=open("/usr/share/devede/devede.glade","r")
+ fichero=open("${PREFIX}/share/devede/devede.glade","r")
fichero.close()
tipo=1
tipo=0
found=True
@@ -94,15 +94,15 @@ elif tipo==1:
#gtk.glade.bindtextdomain("devede","/usr/share/locale")
#arbol=gtk.glade.XML("/usr/local/share/devede/devede.glade",domain="devede")
@@ -76,13 +76,13 @@ if tipo==0:
#arbol=gtk.glade.XML("/usr/share/devede/devede.glade",domain="devede")
# append the directories where we install the devede's own modules
- share_locale="/usr/share/locale" # Are you sure?
+ share_locale="${PREFIX}/share/locale" # Are you sure?
# if the files aren't at /usr, try with /usr/local
- glade="/usr/local/share/devede/devede.glade"
- sys.path.append("/usr/local/lib/devede")
- font_path="/usr/local/share/devede"
- pic_path="/usr/local/share/devede"
- other_path="/usr/local/share/devede"
- help_path="/usr/local/share/doc/devede"
- print "Using local-installed files"
- share_locale="/usr/share/locale"
- glade="/usr/share/devede/devede.glade"
- sys.path.append("/usr/lib/devede")
- font_path="/usr/share/devede"
- pic_path="/usr/share/devede"
- other_path="/usr/share/devede"
- help_path="/usr/share/doc/devede"
+ share_locale="${PREFIX}/share/locale"
+ glade="${PREFIX}/share/devede/devede.glade"
+ sys.path.append("${MODPY_SITEPKG}/devede")
+ font_path="${PREFIX}/share/devede"
+ pic_path="${PREFIX}/share/devede"
+ other_path="${PREFIX}/share/devede"
+ help_path="${PREFIX}/share/doc/devede"
+ print "Using local-installed files"
print "Using package-installed files"
elif tipo==2:
# if the files aren't at /usr/local, try with ./
elif tipo==1:

View File

@ -1,4 +1,4 @@
@comment $OpenBSD: PLIST,v 1.6 2008/08/20 08:30:36 ajacoutot Exp $
@comment $OpenBSD: PLIST,v 1.7 2009/01/25 16:14:25 ajacoutot Exp $
bin/devede
lib/python${MODPY_VERSION}/site-packages/devede/
lib/python${MODPY_VERSION}/site-packages/devede/devede_bincue.py
@ -9,6 +9,7 @@ lib/python${MODPY_VERSION}/site-packages/devede/devede_disctype.py
lib/python${MODPY_VERSION}/site-packages/devede/devede_dvd.py
lib/python${MODPY_VERSION}/site-packages/devede/devede_dvdmenu.py
lib/python${MODPY_VERSION}/site-packages/devede/devede_executor.py
lib/python${MODPY_VERSION}/site-packages/devede/devede_fonts.py
lib/python${MODPY_VERSION}/site-packages/devede/devede_help.py
lib/python${MODPY_VERSION}/site-packages/devede/devede_loadsave.py
lib/python${MODPY_VERSION}/site-packages/devede/devede_main.py
@ -30,6 +31,11 @@ share/devede/devede.glade
share/devede/devede.svg
share/devede/devedesans.ttf
share/devede/estira.png
share/devede/icon_cvd.png
share/devede/icon_divx.png
share/devede/icon_dvd.png
share/devede/icon_svcd.png
share/devede/icon_vcd.png
share/devede/silence.mp3
share/doc/devede/
share/doc/devede/changelog.Debian
@ -73,6 +79,7 @@ share/doc/devede/html/title_prop.jpg
share/doc/devede/html/versions.html
share/locale/ca/LC_MESSAGES/devede.mo
share/locale/cs/LC_MESSAGES/devede.mo
share/locale/da/LC_MESSAGES/devede.mo
share/locale/de_DE/
share/locale/de_DE/LC_MESSAGES/
share/locale/de_DE/LC_MESSAGES/devede.mo