Re: Port: astro/sunclock: Malaysia is in the wrong time zone

2021-03-21 Thread Erich Dollansky
Hi,

On Sun, 21 Mar 2021 17:03:30 +1100
raf  wrote:

> On Sun, Mar 21, 2021 at 11:31:34AM +0800, Erich Dollansky
>  wrote:
> 
> > Hi,
> > 
> > I just noticed that Malaysia is in the same time zone as Jawa
> > (Indonesia) and Thailand.  Wikipedia says for Malaysia UTC+8 and for
> > Jawa and Thailand UTC + 7. 
> > 
> > Is there no maintainer for this port as this list is listed as
> > maintainer.
> > 
> > Erich  
> 
> Hi,
> 
> I don't know anything about the sunclock port on
> FreeBSD, but I have been using it on Linux and macOS
> for decades, so I thought I pipe up.
> 
> Part of Malaysia (the part containing Kuala Lumpur) is
> directly South of Thailand, so it wouldn't be
> surprising if that part had the same timezone as

Malaysia is in the wrong time zone just as Singapore.

> Thailand. Perhaps the other part (around Brunei) has a
> different time zone, and Wikipedia is referring to that
> part? If so, maybe Wikipedia is incomplete?
> 
Wikipedia matches my experience.

> I must admit, I don't know where to see timezone
> information in sunclock. I can click on places, and it
> shows the solar time, which makes sense, and the solar
> time between the two parts of Malaysia are about an
> hour apart.
> 
> Ah, it's in the Sunclockrc file. But it only seems to
> store timezones for cities, not countries, and I think
> the only Malaysian city it has is Kuala Lumpur.

Yes, and the information given for Bangkok, Kuala Lumpur and Jakarta
are correct.

> 
> It contains these lines (for part of Malaysia and
> Thailand):
> 
>   addcity 2|KualaLumpur|3.133|101.700|PST-8
>   addcity 2|Bangkok|13.833|100.483|TST-7
> 
> You'd think that they'd have their own timezone
> abbreviations, and not have to borrow abbreviations
> from other countries so many timezones away. I don't
> even know what TST is supposed to mean.

The time zone abbreviations are also unknown to me.
> 
> I wonder if it will accept "Asia/Kuala_Lumpur" instead
> of "PST-8".
> 
> But when I click on Bangkok and Kuala Lumpur, these
> timezones in the Sunclockrc file don't seem to matter.
> It still shows the solar time (they are about 5 minutes
> apart).
> 
> I can't see that there's anything actually wrong with
> the way it's behaving.
> 
> How are you seeing these timezones in sunclock for
> different countries?

I display the map of the globe. Each time zone gets a colour. The
colours repeat with distance but direct neighbours have always
different colours.
> 
> The manpage says that the timezone needs to be the name
> of a file under /usr/share/zoneinfo (or whatever
> directory is used on your system). So it should accept
> "Asia/Kuala_Lumpur" instead of "PST-8".
> 
> Can you see if that works? If so, I'd be willing to do
> an audit and update all of the timezones in Sunclockrc
> to use the modern, geographic names for timezones. It
> would take a while, though.
> 
We first would have to get an idea of where to look. When showing the
map, Malaysia should share the colour with China. But it shares its
colour with Thailand an the western part of Indonesia.

Erich


> cheers,
> raf
> 
> ___
> freebsd-ports@freebsd.org mailing list
> https://lists.freebsd.org/mailman/listinfo/freebsd-ports
> To unsubscribe, send any mail to
> "freebsd-ports-unsubscr...@freebsd.org"

___
freebsd-ports@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"


Re: Port: astro/sunclock: Malaysia is in the wrong time zone

2021-03-21 Thread Greg 'groggy' Lehey
On Sunday, 21 March 2021 at 14:39:41 +0800, Erich Dollansky wrote:
> On Sun, 21 Mar 2021 17:03:30 +1100
> raf  wrote:
>
>> On Sun, Mar 21, 2021 at 11:31:34AM +0800, Erich Dollansky
>>  wrote:
>>
>>> Hi,
>>>
>>> I just noticed that Malaysia is in the same time zone as Jawa
>>> (Indonesia) and Thailand.  Wikipedia says for Malaysia UTC+8 and for
>>> Jawa and Thailand UTC + 7.
>>>
>>> Is there no maintainer for this port as this list is listed as
>>> maintainer.
>>
>> I don't know anything about the sunclock port on
>> FreeBSD, but I have been using it on Linux and macOS
>> for decades, so I thought I pipe up.
>>
>> Part of Malaysia (the part containing Kuala Lumpur) is
>> directly South of Thailand, so it wouldn't be
>> surprising if that part had the same timezone as
>
> Malaysia is in the wrong time zone just as Singapore.

Malaysia and Singapore are in the correct time zones, UTC+8.  So is
Thailand.  That's what their governments decided.  Time zones have
only a passing similarity with solar time.  In (West) Malaysia's case,
they decided to adopt the East Malaysian time to get rid of the
discrepancy.  Before that, it was UTC+7:30 in the west and UTC+8 in
the east.  You can find all this in so many places, but the easiest
might be
https://www.timetemperature.com/time-zone-maps/large-world-time-zone-map.shtml
or https://en.wikipedia.org/wiki/Malaysia.

>> Perhaps the other part (around Brunei) has a different time zone,
>> and Wikipedia is referring to that part? If so, maybe Wikipedia is
>> incomplete?

No, Wikipedia is correct in this case.  So is the tz database at
/usr/src/contrib/tzdata/asia

>> I must admit, I don't know where to see timezone information in
>> sunclock. I can click on places, and it shows the solar time, which
>> makes sense, and the solar time between the two parts of Malaysia
>> are about an hour apart.
>>
>> Ah, it's in the Sunclockrc file. But it only seems to
>> store timezones for cities, not countries, and I think
>> the only Malaysian city it has is Kuala Lumpur.
>
> Yes, and the information given for Bangkok, Kuala Lumpur and Jakarta
> are correct.

FWIW, since 1 January 1982 Malaysia has only one time zone, with
offset UTC+8.  Singapore chose to go with Malaysia on the same date.

>> It contains these lines (for part of Malaysia and
>> Thailand):
>>
>>   addcity 2|KualaLumpur|3.133|101.700|PST-8
>>   addcity 2|Bangkok|13.833|100.483|TST-7
>>
>> You'd think that they'd have their own timezone
>> abbreviations, and not have to borrow abbreviations
>> from other countries so many timezones away. I don't
>> even know what TST is supposed to mean.
>
> The time zone abbreviations are also unknown to me.

Indeed, it doesn't inspire confidence.

>> The manpage says that the timezone needs to be the name
>> of a file under /usr/share/zoneinfo (or whatever
>> directory is used on your system). So it should accept
>> "Asia/Kuala_Lumpur" instead of "PST-8".
>>
>> Can you see if that works? If so, I'd be willing to do
>> an audit and update all of the timezones in Sunclockrc
>> to use the modern, geographic names for timezones. It
>> would take a while, though.
>
> We first would have to get an idea of where to look. When showing
> the map, Malaysia should share the colour with China. But it shares
> its colour with Thailand an the western part of Indonesia.

I've lost track of the map, but it's not important.  There's no
dispute about the time zones in the four countries (except that
Indonesia has several time zones, and only Waktu Indonesia Tengah
matches Malaysia.  But Java is in Waktu Indonesia Barat, UTC+7).

Greg
--
Sent from my desktop computer.
See complete headers for address and phone numbers.
This message is digitally signed.  If your Microsoft mail program
reports problems, please read http://lemis.com/broken-MUA


signature.asc
Description: PGP signature


FreeBSD ports you maintain which are out of date

2021-03-21 Thread portscout
Dear port maintainer,

The portscout new distfile checker has detected that one or more of your
ports appears to be out of date. Please take the opportunity to check
each of the ports listed below, and if possible and appropriate,
submit/commit an update. If any ports have already been updated, you can
safely ignore the entry.

You will not be e-mailed again for any of the port/version combinations
below.

Full details can be found at the following URL:
http://portscout.freebsd.org/po...@freebsd.org.html


Port| Current version | New version
+-+
devel/ada-util  | 1.8.0   | 2.4.0
+-+


If any of the above results are invalid, please check the following page
for details on how to improve portscout's detection and selection of
distfiles on a per-port basis:

http://portscout.freebsd.org/info/portscout-portconfig.txt

Reported by:portscout!
___
freebsd-ports@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"


Re: FreeBSD Port: kf5-kparts-5.80.0 error update

2021-03-21 Thread Gleb Popov
On Sat, Mar 20, 2021 at 7:29 PM Alex V. Petrov 
wrote:

> What does dirty mean?
> I only update the previously installed ports (portmaster -a).
>
> What need do in my case?
>

Try `pkg delete -f kf5-kparts` and then `portmaster kf5-kparts` again.


> 20.03.2021 22:59, Adriaan de Groot пишет:
> > On Saturday, 20 March 2021 04:42:32 CET Alex V. Petrov wrote:
> >
> >> ===>>> Update for kf5-kparts-5.79.0 failed
> >> ===>>> Aborting update
> >
> > Looks like you're trying to install in a dirty (previous version is
> installed)
> > system. Please don't do that.
> >
> > The log isn't all that useful: it looks like the build is repeatedly
> > regenerating itself, which might be https://bugs.freebsd.org/bugzilla/
> > show_bug.cgi?id=239512 , but for that we'd need to know why the build is
> re-
> > generating.
> >
> > [ade]
> >
>
> --
> -
> Alex.
> ___
> freebsd-ports@freebsd.org mailing list
> https://lists.freebsd.org/mailman/listinfo/freebsd-ports
> To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"
>
___
freebsd-ports@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"


Re: FreeBSD Port: kf5-kparts-5.80.0 error update

2021-03-21 Thread Adriaan de Groot
On Saturday, 20 March 2021 04:42:32 CET Alex V. Petrov wrote:

> ===>>> Update for kf5-kparts-5.79.0 failed
> ===>>> Aborting update

Looks like you're trying to install in a dirty (previous version is installed) 
system. Please don't do that. 

The log isn't all that useful: it looks like the build is repeatedly 
regenerating itself, which might be https://bugs.freebsd.org/bugzilla/
show_bug.cgi?id=239512 , but for that we'd need to know why the build is re-
generating.

[ade]

signature.asc
Description: This is a digitally signed message part.


Re: FreeBSD Port: kf5-kparts-5.80.0 error update

2021-03-21 Thread Alex V. Petrov
Some ports were built only with the key "-j1".
My system is latest 13-stable.

21.03.2021 15:40, Gleb Popov пишет:
> 
> 
> On Sat, Mar 20, 2021 at 7:29 PM Alex V. Petrov  > wrote:
> 
> What does dirty mean?
> I only update the previously installed ports (portmaster -a).
> 
> What need do in my case?
> 
> 
> Try `pkg delete -f kf5-kparts` and then `portmaster kf5-kparts` again.
> 
> 
> 20.03.2021 22:59, Adriaan de Groot пишет:
> > On Saturday, 20 March 2021 04:42:32 CET Alex V. Petrov wrote:
> >
> >> ===>>> Update for kf5-kparts-5.79.0 failed
> >> ===>>> Aborting update
> >
> > Looks like you're trying to install in a dirty (previous version
> is installed)
> > system. Please don't do that.
> >
> > The log isn't all that useful: it looks like the build is repeatedly
> > regenerating itself, which might be
> https://bugs.freebsd.org/bugzilla/ 
> > show_bug.cgi?id=239512 , but for that we'd need to know why the
> build is re-
> > generating.
> >
> > [ade]
> >
> 
> -- 
> -
> Alex.
> ___
> freebsd-ports@freebsd.org  mailing
> list
> https://lists.freebsd.org/mailman/listinfo/freebsd-ports
> 
> To unsubscribe, send any mail to
> "freebsd-ports-unsubscr...@freebsd.org
> "
> 

-- 
-
Alex.
___
freebsd-ports@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"


Re: Port: astro/sunclock: Malaysia is in the wrong time zone

2021-03-21 Thread @lbutlr
On 20 Mar 2021, at 21:31, Erich Dollansky  
wrote:
> I just noticed that Malaysia is in the same time zone as Jawa
> (Indonesia) and Thailand.  Wikipedia says for Malaysia UTC+8 and for
> Jawa and Thailand UTC + 7. 

The time zone amp around Malaysia is very odd, but it appears to NOT share the 
same time zone as Thailand at all, but shares a time with China dn the 
Philippines.

Thailand is +7, Malaysia, Perth, and China are +8, Japan and the Koreas are +9


 (3MB, slow connection)

The only thing unaccounted on that map is the cluster fun that is Antarctica, 
but otoh, it's Antarctica.



-- 
"He had delusions of adequacy." - Walter Kerr

___
freebsd-ports@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"


Re: Port: astro/sunclock: Malaysia is in the wrong time zone

2021-03-21 Thread Erich Dollansky
Hi,

On Sun, 21 Mar 2021 11:19:41 -0600
"@lbutlr"  wrote:

> 

yes, this map shows how I recall the time zones of these countries.

Sunclock's map has Malaysia coloured like Thailand and the Jawa.

So, as long as nobody knows how to edit the map, it will stay like this
then.

Erich
___
freebsd-ports@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"


Re: Port: astro/sunclock: Malaysia is in the wrong time zone

2021-03-21 Thread raf
On Sun, Mar 21, 2021 at 02:57:43PM +0800, Erich Dollansky 
 wrote:

> Hi,
> 
> it looks to me that the solution is here:
> 
> /usr/local/share/sunclock/earthmaps/vmf
> 
> There should be somewhere an editor for files like them. It could be
> this:
> 
> https://developer.valvesoftware.com/wiki/Valve_Map_Format
> 
> Erich

It's not that format. That's a map format for half-life.

The vmf here stands for Vector Map Format. And it's probably
not the vector map format mentioned here either:

  https://github.com/Autoware-AI/autoware.ai/issues/1158

It looks like a sunclock-specific text format that can only be
edited manually. But the format is documented in the source.

Here's a time zone map image that shows the same kind
of lines as those in vmf/timezones.vmf:

  https://www.worldtimezone.com/

Actually, the time zone lines there match those in the vmf file.
It looks like it's only the colour of (West) Malaysia that's wrong.
It doesn't match the colour of (East) Malaysia even though they are
in the same segment.

That might make it easier to fix (or maybe not). I'll try to find
Malaysia in the timezones.vmf file but it looks tricky.

cheers,
raf

___
freebsd-ports@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"


Re: Port: astro/sunclock: Malaysia is in the wrong time zone

2021-03-21 Thread raf
On Sun, Mar 21, 2021 at 07:16:03PM +1100, Greg 'groggy' Lehey 
 wrote:

> On Sunday, 21 March 2021 at 14:39:41 +0800, Erich Dollansky wrote:
> > On Sun, 21 Mar 2021 17:03:30 +1100
> > raf  wrote:
> >
> >> On Sun, Mar 21, 2021 at 11:31:34AM +0800, Erich Dollansky
> >>  wrote:
> >>
> >>> Hi,
> >>>
> >>> I just noticed that Malaysia is in the same time zone as Jawa
> >>> (Indonesia) and Thailand.  Wikipedia says for Malaysia UTC+8 and for
> >>> Jawa and Thailand UTC + 7.
> >>>
> >>> Is there no maintainer for this port as this list is listed as
> >>> maintainer.
> >>
> >> I don't know anything about the sunclock port on
> >> FreeBSD, but I have been using it on Linux and macOS
> >> for decades, so I thought I pipe up.
> >>
> >> Part of Malaysia (the part containing Kuala Lumpur) is
> >> directly South of Thailand, so it wouldn't be
> >> surprising if that part had the same timezone as
> >
> > Malaysia is in the wrong time zone just as Singapore.
> 
> Malaysia and Singapore are in the correct time zones, UTC+8.  So is
> Thailand.  That's what their governments decided.  Time zones have
> only a passing similarity with solar time.  In (West) Malaysia's case,
> they decided to adopt the East Malaysian time to get rid of the
> discrepancy.  Before that, it was UTC+7:30 in the west and UTC+8 in
> the east.  You can find all this in so many places, but the easiest
> might be
> https://www.timetemperature.com/time-zone-maps/large-world-time-zone-map.shtml
> or https://en.wikipedia.org/wiki/Malaysia.
> 
> >> Perhaps the other part (around Brunei) has a different time zone,
> >> and Wikipedia is referring to that part? If so, maybe Wikipedia is
> >> incomplete?
> 
> No, Wikipedia is correct in this case.  So is the tz database at
> /usr/src/contrib/tzdata/asia
> 
> >> I must admit, I don't know where to see timezone information in
> >> sunclock. I can click on places, and it shows the solar time, which
> >> makes sense, and the solar time between the two parts of Malaysia
> >> are about an hour apart.
> >>
> >> Ah, it's in the Sunclockrc file. But it only seems to
> >> store timezones for cities, not countries, and I think
> >> the only Malaysian city it has is Kuala Lumpur.
> >
> > Yes, and the information given for Bangkok, Kuala Lumpur and Jakarta
> > are correct.
> 
> FWIW, since 1 January 1982 Malaysia has only one time zone, with
> offset UTC+8.  Singapore chose to go with Malaysia on the same date.
> 
> >> It contains these lines (for part of Malaysia and
> >> Thailand):
> >>
> >>   addcity 2|KualaLumpur|3.133|101.700|PST-8
> >>   addcity 2|Bangkok|13.833|100.483|TST-7
> >>
> >> You'd think that they'd have their own timezone
> >> abbreviations, and not have to borrow abbreviations
> >> from other countries so many timezones away. I don't
> >> even know what TST is supposed to mean.
> >
> > The time zone abbreviations are also unknown to me.
> 
> Indeed, it doesn't inspire confidence.
> 
> >> The manpage says that the timezone needs to be the name
> >> of a file under /usr/share/zoneinfo (or whatever
> >> directory is used on your system). So it should accept
> >> "Asia/Kuala_Lumpur" instead of "PST-8".
> >>
> >> Can you see if that works? If so, I'd be willing to do
> >> an audit and update all of the timezones in Sunclockrc
> >> to use the modern, geographic names for timezones. It
> >> would take a while, though.
> >
> > We first would have to get an idea of where to look. When showing
> > the map, Malaysia should share the colour with China. But it shares
> > its colour with Thailand an the western part of Indonesia.
> 
> I've lost track of the map, but it's not important.  There's no
> dispute about the time zones in the four countries (except that
> Indonesia has several time zones, and only Waktu Indonesia Tengah
> matches Malaysia.  But Java is in Waktu Indonesia Barat, UTC+7).
> 
> Greg
> --
> Sent from my desktop computer.
> See complete headers for address and phone numbers.
> This message is digitally signed.  If your Microsoft mail program
> reports problems, please read http://lemis.com/broken-MUA

Thanks, Greg. A better map for the purpose or
comparison with sunclock's is:

  https://www.worldtimezone.com/

If I can wrap my head around the vmf format enough to
fix it (I may be some time), I'll try to modernise the
timezones in the sunclockrc file (that's if they're
actually used for anything).

cheers,
raf

___
freebsd-ports@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"


Re: Port: astro/sunclock: Malaysia is in the wrong time zone

2021-03-21 Thread Tatsuki Makino
It looked interesting, so I took a peek. :)

It looks like /usr/local/share/sunclock/Sunclockrc can be overridden by 
~/.sunclockrc.
Then, it seems that the time difference applied is using the environment 
variable TZ.
The following rewrite seems to be applicable.

@@ -X,X +Y,Y @@
-addcity 1|Tokyo|35.683|139.733|JST-9
+addcity 1|Tokyo|35.683|139.733|Asia/Tokyo


___
freebsd-ports@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"