- fix the invest applet
This commit is contained in:
parent
62d03977aa
commit
2a9c1d59bd
@ -1,4 +1,4 @@
|
|||||||
# $OpenBSD: Makefile,v 1.50 2008/11/25 08:19:43 ajacoutot Exp $
|
# $OpenBSD: Makefile,v 1.51 2008/11/27 13:42:19 ajacoutot Exp $
|
||||||
|
|
||||||
COMMENT-main= applets for use with the GNOME panel
|
COMMENT-main= applets for use with the GNOME panel
|
||||||
COMMENT-battstat= GNOME applet for monitoring battery level
|
COMMENT-battstat= GNOME applet for monitoring battery level
|
||||||
@ -6,7 +6,7 @@ COMMENT-battstat= GNOME applet for monitoring battery level
|
|||||||
GNOME_PROJECT= gnome-applets
|
GNOME_PROJECT= gnome-applets
|
||||||
GNOME_VERSION= 2.24.2
|
GNOME_VERSION= 2.24.2
|
||||||
|
|
||||||
PKGNAME-main= gnome-applets2-${VERSION}
|
PKGNAME-main= gnome-applets2-${VERSION}p0
|
||||||
PKGNAME-battstat= gnome-applets2-battstat-${VERSION}
|
PKGNAME-battstat= gnome-applets2-battstat-${VERSION}
|
||||||
CATEGORIES= x11
|
CATEGORIES= x11
|
||||||
|
|
||||||
@ -76,7 +76,8 @@ WANTLIB-main= ${WANTLIB} \
|
|||||||
|
|
||||||
pre-configure:
|
pre-configure:
|
||||||
${SUBST_CMD} ${WRKSRC}/configure \
|
${SUBST_CMD} ${WRKSRC}/configure \
|
||||||
${WRKSRC}/invest-applet/invest/invest-chart
|
${WRKSRC}/invest-applet/invest/invest-chart \
|
||||||
|
${WRKSRC}/invest-applet/invest/invest-applet.py
|
||||||
|
|
||||||
.if !${FLAVOR:L:Mno_battstat}
|
.if !${FLAVOR:L:Mno_battstat}
|
||||||
post-install:
|
post-install:
|
||||||
|
@ -0,0 +1,18 @@
|
|||||||
|
$OpenBSD: patch-invest-applet_invest_invest-applet_py,v 1.1 2008/11/27 13:42:20 ajacoutot Exp $
|
||||||
|
--- invest-applet/invest/invest-applet.py.orig Wed Sep 24 01:47:18 2008
|
||||||
|
+++ invest-applet/invest/invest-applet.py Thu Nov 27 14:21:02 2008
|
||||||
|
@@ -1,4 +1,4 @@
|
||||||
|
-#!/usr/bin/env python
|
||||||
|
+#!${MODPY_BIN}
|
||||||
|
#
|
||||||
|
|
||||||
|
import gobject
|
||||||
|
@@ -25,8 +25,6 @@ import invest, invest.applet, invest.defs
|
||||||
|
import gettext, locale
|
||||||
|
gettext.bindtextdomain(invest.defs.GETTEXT_PACKAGE, invest.defs.GNOMELOCALEDIR)
|
||||||
|
gettext.textdomain(invest.defs.GETTEXT_PACKAGE)
|
||||||
|
-locale.bindtextdomain(invest.defs.GETTEXT_PACKAGE, invest.defs.GNOMELOCALEDIR)
|
||||||
|
-locale.textdomain(invest.defs.GETTEXT_PACKAGE)
|
||||||
|
|
||||||
|
from gettext import gettext as _
|
||||||
|
|
Loading…
Reference in New Issue
Block a user