tech-pkg archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: XFCE Update proposal to 4.12



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Indeed, here's an updated patch :
http://misc.saveosx.org/xfce412-10april.diff

It also contains some fixes for the xfce4-taskmanager.

On 10/04/15 13:47, John D. Baker wrote:
> On Fri, 10 Apr 2015, Youri Mouton wrote:
> 
>> The pastebin service I used to upload my patch actually broke
>> the xfce4-battery-patch. I can confirm that it works fine on i386
>> laptops.
> 
> OK, I managed to fix it.  The format metacharacter (%) and
> zero-fill/width (02) were stripped from the trailing context in the
> last patch section:
> 
>>> The reject file contains:
>>> 
>>> --- @@ -519,6 +532,10 @@ if (battmon->options.display_time &&
>>> time_remaining > 0 && !(battmon->options.hide_when_full &&
>>> acline && charge >= 99 )){ 
>>> gtk_widget_show(GTK_WIDGET(battmon->rtime)); 
>>> gtk_widget_show(GTK_WIDGET(battmon->timechargealignment)); +#if
>>> defined(__NetBSD__) +    if (acline || time_remaining ==
>>> _ACPI_APM_BATT_UNKNOWN) +        g_snprintf(buffer,
>>> sizeof(buffer), "--:--"); +#endif g_snprintf(buffer,
>>> sizeof(buffer),"d:d ",time_remaining/60,time_remaining%60); 
>>> gtk_label_set_text(battmon->rtime,buffer);
>>> 
>>> ---
> 
> Should be:
> 
> g_snprintf(buffer, sizeof(buffer),"%02d:%02d
> ",time_remaining/60,time_remaining%60);
> 
> Carefully editing the patch to put those characters back causes the
> file checksum (SHA1) to match distinfo.
> 
-----BEGIN PGP SIGNATURE-----

iQIcBAEBAgAGBQJVJ7sJAAoJEGoJXMYtmcj3e04P/jjcR5JeSa/sLZL8lEb2+NT3
xt/xLWiEPMjBGDMuocAQSrXcaClM7gofQJizCAUpRAGjlDf6J/NpPNCZz2V1/dx8
wwUz9rdbsUBjeWH8zAgpmfcNkK9nFcQu92xXgciSZ2L1Il5NlZyRO464rcgPlBW9
kxbYD9zJVZgN/RCobMwGfQa+2bj7JpxGhiHFzGEn97gpBpug3wyDCCwz7pWsLAr0
80E/rAqJCSY3ExyOMDc/rxVT7jL8pcs4SIbAwPm5QkpwsEQfuJsSyfh4yQfwoftd
nWH2jSqLwTBfwBnbcDUzENRmSnUqfDDM8KqvQVum5Yj8aCti0nPzXuoS3dTFrK9U
5PeTmv3B4WfUQllUlVtfL90Jt/xSvcLoO3lhGPbPPXhv5H7dzAZfiTFvINR8NcK6
rLukEjT31FVTyTLmX7HbqFGtEdDvDrNGNguIimnKk2AjLtMyYhMk/XTPL+J7HvTX
lDoU6bn8CgFcwobGVTAYzyxYnCNCaXCDFESU0zIOcE7562q/PnwHGeoHfrMRHMKo
d2gA3up6MmtzH600NFSLGCkiEarDEjvDf74ZyNzmWsbgwjHXkMETIn5Pm+vLPovR
Vwg2qMxKdLgsiDWOKRl6Xdi/cHdKEaS23M69EFkttkCBKtnu70SSJOBiEZRVJjvd
mQ/F6DAjFGosM+Dsbjlp
=4xzX
-----END PGP SIGNATURE-----


Home | Main Index | Thread Index | Old Index