FreeBSD Bugzilla – Attachment 36524 Details for
Bug 58508
Maintainer update: deskutils/gdesklets, add a patch to fix the locale
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
gdesklets.diff
gdesklets.diff (text/plain), 1.32 KB, created by
Jeremy Messenger
on 2003-10-25 09:00:36 UTC
(
hide
)
Description:
gdesklets.diff
Filename:
MIME Type:
Creator:
Jeremy Messenger
Created:
2003-10-25 09:00:36 UTC
Size:
1.32 KB
patch
obsolete
>diff -urN gdesklets.orig/Makefile gdesklets/Makefile >--- gdesklets.orig/Makefile Sat Oct 18 00:51:26 2003 >+++ gdesklets/Makefile Sat Oct 25 02:21:15 2003 >@@ -7,6 +7,7 @@ > > PORTNAME= gdesklets > PORTVERSION= 0.23 >+PORTREVISION= 1 > CATEGORIES= deskutils gnome > MASTER_SITES= http://www.pycage.de/download/${PORTNAME}/ > DISTNAME= gDesklets-${PORTVERSION} >diff -urN gdesklets.orig/files/patch-display::TargetLabel.py gdesklets/files/patch-display::TargetLabel.py >--- gdesklets.orig/files/patch-display::TargetLabel.py Wed Dec 31 18:00:00 1969 >+++ gdesklets/files/patch-display::TargetLabel.py Sat Oct 25 02:21:15 2003 >@@ -0,0 +1,17 @@ >+--- display/TargetLabel.py.orig Sat Oct 25 02:15:56 2003 >++++ display/TargetLabel.py Sat Oct 25 02:21:05 2003 >+@@ -76,7 +76,14 @@ >+ >+ # determine the locale >+ import commands >++import string >+ fail, CHARMAP = commands.getstatusoutput("locale charmap") >++if (fail or not CHARMAP): >++ fail, CHARMAP = commands.getstatusoutput("echo $MM_CHARSET") >++ if (fail or not CHARMAP): >++ fail, CHARMAP = commands.getstatusoutput("echo $LANG") >++ CHARMAP = CHARMAP[string.find(CHARMAP, ".")+1:len(CHARMAP)] >++ >+ if (fail or not CHARMAP): >+ print "Could not detect character encoding." >+ CHARMAP = "ASCII"
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 58508
: 36524