FreeBSD Bugzilla – Attachment 41189 Details for
Bug 64543
Fix port: deskutils/gdesklets-ltvariations
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
gdesklets-ltvariations-0.26-fix.diff
gdesklets-ltvariations-0.26-fix.diff (text/plain), 1.90 KB, created by
Tim Bishop
on 2004-03-21 18:10:20 UTC
(
hide
)
Description:
gdesklets-ltvariations-0.26-fix.diff
Filename:
MIME Type:
Creator:
Tim Bishop
Created:
2004-03-21 18:10:20 UTC
Size:
1.90 KB
patch
obsolete
>diff -ruN gdesklets-ltvariations.bak/Makefile gdesklets-ltvariations/Makefile >--- gdesklets-ltvariations.bak/Makefile Sun Mar 21 14:46:14 2004 >+++ gdesklets-ltvariations/Makefile Sun Mar 21 17:50:33 2004 >@@ -15,7 +15,8 @@ > MAINTAINER= tim@bishnet.net > COMMENT= A collection of sensors and displays > >-RUN_DEPENDS= ${X11BASE}/libdata/pkgconfig/gdesklets-core.pc:${PORTSDIR}/deskutils/gdesklets >+RUN_DEPENDS= ${X11BASE}/libdata/pkgconfig/gdesklets-core.pc:${PORTSDIR}/deskutils/gdesklets \ >+ ${X11BASE}/share/gnome/gdesklets/Sensors/Weather/__init__.py:${PORTSDIR}/astro/gdesklets-weather > > USE_PYTHON= yes > USE_X_PREFIX= yes >@@ -32,6 +33,7 @@ > .for ii in ${SENSORS} > @${WRKSRC}/Sensors/Install_${ii}_Sensor.bin --nomsg ${WRKSRC} > .endfor >+ @${PATCH} ${WRKSRC}/LTVUptime/__init__.py < ${FILESDIR}/LTVUptime::__init__.py > @${CAT} pkg-message | ${SED} -e 's|%%PREFIX%%|${PREFIX}|g ; s|%%DISPLAY%%|${DISPLAY}|g' > ${PKGMESSAGE} > > do-install: >diff -ruN gdesklets-ltvariations.bak/files/LTVUptime::__init__.py gdesklets-ltvariations/files/LTVUptime::__init__.py >--- gdesklets-ltvariations.bak/files/LTVUptime::__init__.py Thu Jan 1 01:00:00 1970 >+++ gdesklets-ltvariations/files/LTVUptime::__init__.py Sun Mar 21 17:42:15 2004 >@@ -0,0 +1,11 @@ >+--- __init__.py.bak Sun Mar 21 17:40:07 2004 >++++ __init__.py Sun Mar 21 17:41:40 2004 >+@@ -21,7 +21,7 @@ >+ self._set_config_type("update", TYPE_INT, int(interval)) >+ self._set_config_type("format", TYPE_STRING, format) >+ self._set_config_type("host", TYPE_STRING, commands.getoutput("uname -n")) >+- self._set_config_type("os", TYPE_STRING, commands.getoutput("uname -o")) >++ self._set_config_type("os", TYPE_STRING, commands.getoutput("uname -s")) >+ self._set_config_type("kernel", TYPE_STRING, commands.getoutput("uname -s")) >+ self._set_config_type("version", TYPE_STRING, commands.getoutput("uname -r")) >+ self._set_config_type("processor", TYPE_STRING, commands.getoutput("uname -p"))
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 64543
: 41189