68 Commits

Author SHA256 Message Date
a176c7350a Accepting request 1320956 from games
Update to 0.8.1

OBS-URL: https://build.opensuse.org/request/show/1320956
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/nml?expand=0&rev=30
2025-12-04 10:24:56 +00:00
fcc7aadff5 - update to 0.8.1:
* Add: station properties to editor symbols script by @Pixel-Tony in #383
  * Change: move black options to pyproject.toml by @ahyangyi in #386
  * Add: Extend FEAT_TRAIN track_type for prop 34 by @glx22 in #390
  * Codefix 41d5cd4: standalone build references non existing files by @glx22 in #397
  * Add: Support for Action5 type 1B bridge deck overlays by @zephyris in #393
  * Add: FEAT_AIRCRAFT flight_state variable (varE2) by @glx22 in #391
  * Fix: Validation and handling of multiple settings in one parameter by @glx22 in #382
  * Upgrade: bump the actions group across 1 directory with 6 updates by @dependabot[bot] in #396
  * Codefix: Fix typos and grammar errors by @Rito13 in #389
  * Change: Validate action 2 loaded list does not overlap special types. by @PeterN in #400
  * Add: Station/RoadStop height and blocked pillar flag lists. by @PeterN in #388
  * Update: changelog for 0.8.1 by @glx22 in #399

OBS-URL: https://build.opensuse.org/package/show/games/nml?expand=0&rev=64
2025-12-03 09:43:46 +00:00
d636ee7c39 Accepting request 1314026 from games
OBS-URL: https://build.opensuse.org/request/show/1314026
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/nml?expand=0&rev=29
2025-10-28 13:49:11 +00:00
508e2f1412 - Use pyproject macros to build and install.
- Add in fdupes
- List files and directories under python3_sitearch explicitly.

OBS-URL: https://build.opensuse.org/package/show/games/nml?expand=0&rev=62
2025-10-28 09:20:40 +00:00
d9415f0b93 Accepting request 1287869 from games
Update to 0.8.0

OBS-URL: https://build.opensuse.org/request/show/1287869
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/nml?expand=0&rev=28
2025-06-23 13:06:03 +00:00
db2f5a6d47 Update to 0.8.0
OBS-URL: https://build.opensuse.org/package/show/games/nml?expand=0&rev=60
2025-06-22 20:51:53 +00:00
6d0f4b72cb Accepting request 1246233 from games
Update to 0.7.6

OBS-URL: https://build.opensuse.org/request/show/1246233
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/nml?expand=0&rev=27
2025-02-16 21:49:08 +00:00
4227b10f71 Update to 0.7.6
OBS-URL: https://build.opensuse.org/package/show/games/nml?expand=0&rev=58
2025-02-16 13:18:53 +00:00
e3b17814fa Accepting request 1154311 from games
Update to 0.7.5

OBS-URL: https://build.opensuse.org/request/show/1154311
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/nml?expand=0&rev=26
2024-03-02 22:24:13 +00:00
8c8c0157c2 Update to 0.7.5
OBS-URL: https://build.opensuse.org/package/show/games/nml?expand=0&rev=56
2024-03-02 14:46:07 +00:00
7d9124808d Accepting request 1149658 from games
OBS-URL: https://build.opensuse.org/request/show/1149658
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/nml?expand=0&rev=25
2024-02-23 15:45:39 +00:00
2e2037306a Accepting request 1149518 from home:dimstar:rpm4.20:n
Prepare for RPM 4.20

OBS-URL: https://build.opensuse.org/request/show/1149518
OBS-URL: https://build.opensuse.org/package/show/games/nml?expand=0&rev=54
2024-02-22 22:57:12 +00:00
b926b42965 Accepting request 1135177 from games
OBS-URL: https://build.opensuse.org/request/show/1135177
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/nml?expand=0&rev=24
2023-12-28 22:00:47 +00:00
Ferdinand Thiessen
1acd697a10 Accepting request 1134364 from home:bmwiedemann:branches:games
Add reproducible.patch to not write non-deterministic .pyc files

OBS-URL: https://build.opensuse.org/request/show/1134364
OBS-URL: https://build.opensuse.org/package/show/games/nml?expand=0&rev=52
2023-12-26 12:00:37 +00:00
5cd54b84ad Accepting request 1095873 from games
Update to 0.7.4

OBS-URL: https://build.opensuse.org/request/show/1095873
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/nml?expand=0&rev=23
2023-06-29 15:28:49 +00:00
4929dbba51 Update to 0.7.4
OBS-URL: https://build.opensuse.org/package/show/games/nml?expand=0&rev=50
2023-06-28 20:44:22 +00:00
22947d742a Accepting request 1088321 from games
update to 0.7.3

OBS-URL: https://build.opensuse.org/request/show/1088321
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/nml?expand=0&rev=22
2023-05-22 11:14:51 +00:00
2e0240a823 - update to 0.7.3
OBS-URL: https://build.opensuse.org/package/show/games/nml?expand=0&rev=48
2023-05-22 10:04:49 +00:00
44c30b58f0 Accepting request 1080019 from games
Update to 0.7.2

OBS-URL: https://build.opensuse.org/request/show/1080019
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/nml?expand=0&rev=21
2023-04-18 13:52:57 +00:00
db8985c09c Update to 0.7.2
OBS-URL: https://build.opensuse.org/package/show/games/nml?expand=0&rev=46
2023-04-18 01:05:16 +00:00
7baf0837cd Accepting request 1042221 from games
OBS-URL: https://build.opensuse.org/request/show/1042221
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/nml?expand=0&rev=20
2022-12-12 16:39:30 +00:00
13180f74ac Accepting request 1042197 from home:dirkmueller:Factory
- update to 0.7.1:
  * Fix action0properties.py
  * Minor improvements to examples
  * Change: use an array of cargoes for cargo_random_triggers
  * Change: disabled_platforms/length is now bitmask(1-8)>>1
  * Change: replace nearby_tile_platform_type with nearby_tile_tile_type.
  * Fix: Station animation triggers every 250 ticks, not 256.
  * Fix #256: Objects have a 'colour' in var 47.
  * Change: allow any expression for station (purchase_)prepare_layout
  * Update: changelog for 0.7.1
  * Fix: [Actions] release workflow issues
  * More issues in release workflow

OBS-URL: https://build.opensuse.org/request/show/1042197
OBS-URL: https://build.opensuse.org/package/show/games/nml?expand=0&rev=44
2022-12-11 22:39:42 +00:00
24bbe6ad4e Accepting request 1035942 from games
OBS-URL: https://build.opensuse.org/request/show/1035942
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/nml?expand=0&rev=19
2022-11-16 14:43:38 +00:00
Dmitriy Perlow
77e60e787d Accepting request 1035697 from home:amanzini:branches:games
- update to 0.7.0
  This release adds the long awaited support for stations.
  Support for NewGRF additions of OpenTTD 13.0:
  - Add: Map seed in patch variable 0x17.
  Support for NewGRF additions of OpenTTD 1.11:
  - Change: provide nml vars for industry var 0x47 - GameScript control status
  Other changes and fixes:
  - Add: show an error if a required property is not set for objects (feature 0F) (#236)
  - Fix: Reject empty arrays of expressions (#224)
  - Fix #209: Cargo 'profit' callback applied a unit conversion, when there was no unit. (#220)
  - Change: adjust sound name constants to match OpenTTD
  - Fix #253: Produce a more efficient NFO code for abs() builtin function (#255)

OBS-URL: https://build.opensuse.org/request/show/1035697
OBS-URL: https://build.opensuse.org/package/show/games/nml?expand=0&rev=42
2022-11-16 05:48:07 +00:00
c8cb058aa4 Accepting request 926922 from games
update to 0.6.1

OBS-URL: https://build.opensuse.org/request/show/926922
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/nml?expand=0&rev=18
2021-10-22 22:51:21 +00:00
Ferdinand Thiessen
83b0005618 osc service ra
OBS-URL: https://build.opensuse.org/package/show/games/nml?expand=0&rev=41
2021-10-22 10:06:31 +00:00
Ferdinand Thiessen
ca935b1167 Accepting request 926813 from home:jbaier_cz:openttd
Update to 0.6.1

OBS-URL: https://build.opensuse.org/request/show/926813
OBS-URL: https://build.opensuse.org/package/show/games/nml?expand=0&rev=40
2021-10-22 10:00:17 +00:00
d160d2184a Accepting request 879583 from games
- Backport corrected pcx images to fix tests with Pillow 8.1.0
  (gh#OpenTTD/nml!188, deb#980641):
  * arctic_railwagons.pcx
  * opengfx_generic_trams1.pcx
  * opengfx_trains_start.pcx

OBS-URL: https://build.opensuse.org/request/show/879583
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/nml?expand=0&rev=17
2021-03-17 19:16:35 +00:00
ee97a94a7e fix URLs
OBS-URL: https://build.opensuse.org/package/show/games/nml?expand=0&rev=38
2021-03-17 07:43:23 +00:00
478f09c4df Accepting request 879524 from home:1Antoine1:branches:games
- Backport corrected pcx images to fix tests with Pillow 8.1.0
  (gh#OpenTTD/nml!188, deb#980641):
  * arctic_railwagons.pcx
  * opengfx_generic_trams1.pcx
  * opengfx_trains_start.pcx

OBS-URL: https://build.opensuse.org/request/show/879524
OBS-URL: https://build.opensuse.org/package/show/games/nml?expand=0&rev=37
2021-03-17 07:25:24 +00:00
7c0b824100 Accepting request 860560 from games
OBS-URL: https://build.opensuse.org/request/show/860560
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/nml?expand=0&rev=16
2021-01-07 20:22:18 +00:00
Ferdinand Thiessen
017f1d2c72 Accepting request 859720 from home:Mailaender:branches:games
new upstream release

OBS-URL: https://build.opensuse.org/request/show/859720
OBS-URL: https://build.opensuse.org/package/show/games/nml?expand=0&rev=35
2021-01-06 00:29:50 +00:00
6357b67268 Accepting request 788275 from games
OBS-URL: https://build.opensuse.org/request/show/788275
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/nml?expand=0&rev=15
2020-03-25 22:49:22 +00:00
eab9dc4c9f Accepting request 787887 from home:cgiboudeaux:branches:games
- Add upstream patch to fix the python 3.8 compatibility:
  * 0001-Fix-52-time.clock-has-been-removed-in-python-3.8-53.patch

OBS-URL: https://build.opensuse.org/request/show/787887
OBS-URL: https://build.opensuse.org/package/show/games/nml?expand=0&rev=33
2020-03-25 16:57:27 +00:00
3d628d1faf Accepting request 707210 from games
- Removed nml-python341.diff - python bug, fixed python upstream (3.4.2rc1).
- Removed nml-0.4.2-pillow.diff - superceded upstream
- added python-pillow-version.patch - fixes incorrect version number query https://github.com/OpenTTD/nml/pull/29
- update to 0.4.5
  - Feature: increase cargo ID range from 32 to 64, to support 64 cargos in OpenTTD 11ab3c4ea2f6a6d29efda8c9ba2af04194621ea7
  - Change: Support more DCxx strings for OpenTTD r27769.
  - Add: Properties for vehicle sprite stack.
  - Add: CB_FLAG_MORE_SPRITES, PALETTE_IDENTITY
  - Add: String command 9A 1E CARGO_NAME.
  - Add: CB_RESULT_IND_NO_TEXT_NO_AMOUNT
  - Codechange: Store textids without offset in string_ranges
  - Fix: String encoding with cases was non-deterministic and resulted in differing md5sums for the NewGRF.
  - Fix: Rearrange order of string id assignment to keep compatibility.
  - Fix: When some IDs depleted, an internal NML error was raised instead of the intended error message.
  - Fix: most_common_refit was reading the wrong bits in var 42; read the write bits and rename it to most_common_cargo_type
       as it's more accurate; also add most_common_cargo_subtype which also reads var 42 and was previously missing
  - Fix: Switch from :r format code to !r conversion flag to avoid crashes.
- 0.4.4 (2016-01-07)
  - Fix/Revert: Stripping one path level is not enough
- 0.4.3 (2016-01-07)
  - Add: prob_map_gen as alternative name for the mapgen industry probability property
  - Fix: Stripping one path level is enough
  - Fix: Compatibility with newer versions of pillow.
  - Fix: Vehicle 'sort' function caused internal error when an empty list was passed.
  - Fix: motion_counter is 24 bits, not 4.
- update to 0.4.2
- add fix for new Pillow (nml-0.4.2-pillow.diff) taken from pyglet
  issue 677
- lift requirement on python3-devel and add nml-python341.diff to
  fix build on Leap
- don't run the regression tests twice
- install the man page
- avoid a runtime dependency on setuptools
- Add python3-setuptools requires: nml makes use of pkg_resources
  during runtime
  from openttd-opengfx build log:
  /usr/bin/nmlc -c -p DOS --grf ogfxt_toyland.grf ogfxt_toyland.nml
  Traceback (most recent call last):
     File "/usr/bin/nmlc", line 5, in <module>
      from pkg_resources import load_entry_point
        ImportError: No module named 'pkg_resources'
- Manually install the nml directory into python3_sitelib: python
  setup.py forgets to install this, resulting in nmlc not being able
  to be started (failed to import nml).
- update to 0.4.1 (drops support for Python 2)
  - improved performance and NewGRF support
- update to 0.3.1 (drops support for Python version 2.5)
- update to 0.2.4 (OpenGFX 0.4.6.1)
  (check changelog.txt)
- downgrade to 0.2.3
  OpenGFX 0.4.5 builds with NML 0.2.3 only
- update to 0.2.4 (bugfix release) 
- license update: GPL-2.0+
  No evidence of GPL-2.0 (only) files in the package
- Cleaned up macro usage
- upstream update 0.2.3
- Add: Action5 for tunnel portals
- Fix: Properly catch out-of-bounds image reads (issue #3666)
- Fix: Character code 0xA0 (NBSP) is used for an up arrow in TTD, so
       don't write it as ascii. Force unicode instead (issue #3643)
- upstream update 0.2.2 
- upstream update 0.2.1
- required for opengfx 0.4 
- upstream update 0.1.1
- rpmlintrc to suppress python name policy
- initial setup

OBS-URL: https://build.opensuse.org/request/show/707210
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/nml?expand=0&rev=14
2019-06-03 16:58:29 +00:00
4bbafa651d OBS-URL: https://build.opensuse.org/package/show/games/nml?expand=0&rev=31 2019-06-03 14:38:54 +00:00
99ff061e65 OBS-URL: https://build.opensuse.org/package/show/games/nml?expand=0&rev=30 2019-06-03 14:38:38 +00:00
8add777902 OBS-URL: https://build.opensuse.org/package/show/games/nml?expand=0&rev=29 2019-06-03 14:30:37 +00:00
3710d6c83e OBS-URL: https://build.opensuse.org/package/show/games/nml?expand=0&rev=28 2019-06-03 14:24:41 +00:00
35159750ea OBS-URL: https://build.opensuse.org/package/show/games/nml?expand=0&rev=27 2019-06-03 14:21:26 +00:00
a8f6157a1b Accepting request 707188 from home:moozaad:openttd
- Removed nml-python341.diff - python bug, fixed python upstream (3.4.2rc1).
- Removed nml-0.4.2-pillow.diff - superceded upstream
- added python-pillow-version.patch - fixes incorrect version number query https://github.com/OpenTTD/nml/pull/29
- update to 0.4.5
  - Feature: increase cargo ID range from 32 to 64, to support 64 cargos in OpenTTD 11ab3c4ea2f6a6d29efda8c9ba2af04194621ea7
  - Change: Support more DCxx strings for OpenTTD r27769.
  - Add: Properties for vehicle sprite stack.
  - Add: CB_FLAG_MORE_SPRITES, PALETTE_IDENTITY
  - Add: String command 9A 1E CARGO_NAME.
  - Add: CB_RESULT_IND_NO_TEXT_NO_AMOUNT
  - Codechange: Store textids without offset in string_ranges
  - Fix: String encoding with cases was non-deterministic and resulted in differing md5sums for the NewGRF.
  - Fix: Rearrange order of string id assignment to keep compatibility.
  - Fix: When some IDs depleted, an internal NML error was raised instead of the intended error message.
  - Fix: most_common_refit was reading the wrong bits in var 42; read the write bits and rename it to most_common_cargo_type
       as it's more accurate; also add most_common_cargo_subtype which also reads var 42 and was previously missing
  - Fix: Switch from :r format code to !r conversion flag to avoid crashes.
  
- 0.4.4 (2016-01-07)
  - Fix/Revert: Stripping one path level is not enough
- 0.4.3 (2016-01-07)
  - Add: prob_map_gen as alternative name for the mapgen industry probability property
  - Fix: Stripping one path level is enough
  - Fix: Compatibility with newer versions of pillow.
  - Fix: Vehicle 'sort' function caused internal error when an empty list was passed.
  - Fix: motion_counter is 24 bits, not 4.
- update to 0.4.2
- add fix for new Pillow (nml-0.4.2-pillow.diff) taken from pyglet
  issue 677
- lift requirement on python3-devel and add nml-python341.diff to
  fix build on Leap
- don't run the regression tests twice
- install the man page
- avoid a runtime dependency on setuptools
- Add python3-setuptools requires: nml makes use of pkg_resources
  during runtime
  from openttd-opengfx build log:
  /usr/bin/nmlc -c -p DOS --grf ogfxt_toyland.grf ogfxt_toyland.nml
  Traceback (most recent call last):
     File "/usr/bin/nmlc", line 5, in <module>
      from pkg_resources import load_entry_point
        ImportError: No module named 'pkg_resources'
- Manually install the nml directory into python3_sitelib: python
  setup.py forgets to install this, resulting in nmlc not being able
  to be started (failed to import nml).
- update to 0.4.1 (drops support for Python 2)
  - improved performance and NewGRF support
- update to 0.3.1 (drops support for Python version 2.5)
- update to 0.2.4 (OpenGFX 0.4.6.1)
  (check changelog.txt)
- downgrade to 0.2.3
  OpenGFX 0.4.5 builds with NML 0.2.3 only
- update to 0.2.4 (bugfix release) 
- license update: GPL-2.0+
  No evidence of GPL-2.0 (only) files in the package
- Cleaned up macro usage
- upstream update 0.2.3
- Add: Action5 for tunnel portals
- Fix: Properly catch out-of-bounds image reads (issue #3666)
- Fix: Character code 0xA0 (NBSP) is used for an up arrow in TTD, so
       don't write it as ascii. Force unicode instead (issue #3643)
- upstream update 0.2.2 
- upstream update 0.2.1
- required for opengfx 0.4 
- upstream update 0.1.1
- rpmlintrc to suppress python name policy
- initial setup

OBS-URL: https://build.opensuse.org/request/show/707188
OBS-URL: https://build.opensuse.org/package/show/games/nml?expand=0&rev=26
2019-06-03 14:20:47 +00:00
561af33aee Accepting request 344477 from games
Fix the issue with new pillow.

OBS-URL: https://build.opensuse.org/request/show/344477
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/nml?expand=0&rev=13
2015-11-17 13:22:47 +00:00
67f5414667 update
OBS-URL: https://build.opensuse.org/package/show/games/nml?expand=0&rev=25
2015-11-15 13:11:39 +00:00
e635412236 update to 0.4.2
OBS-URL: https://build.opensuse.org/package/show/games/nml?expand=0&rev=24
2015-11-15 12:58:31 +00:00
4f6bbab77f Accepting request 340614 from home:lnussel:games
- lift requirement on python3-devel and add nml-python341.diff to
  fix build on Leap

OBS-URL: https://build.opensuse.org/request/show/340614
OBS-URL: https://build.opensuse.org/package/show/games/nml?expand=0&rev=23
2015-10-23 19:33:06 +00:00
16546fa67f Accepting request 310699 from games
1

OBS-URL: https://build.opensuse.org/request/show/310699
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/nml?expand=0&rev=12
2015-06-08 06:30:20 +00:00
Dmitriy Perlow
494d2eb36a Accepting request 310693 from home:Mailaender:branches:games
OBS-URL: https://build.opensuse.org/request/show/310693
OBS-URL: https://build.opensuse.org/package/show/games/nml?expand=0&rev=21
2015-06-06 09:44:41 +00:00
1ca93165f6 Accepting request 308161 from games
1

OBS-URL: https://build.opensuse.org/request/show/308161
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/nml?expand=0&rev=11
2015-05-22 07:52:04 +00:00
Rusmir Duško
24e6f1a921 Accepting request 308135 from home:dimstar:Factory
nml is quite broken (upstream): nml itself is not being installed by setup.py; the missing dep is only a minor thing. With this variant of nml, I was able to build openttd-opengfx again.

OBS-URL: https://build.opensuse.org/request/show/308135
OBS-URL: https://build.opensuse.org/package/show/games/nml?expand=0&rev=19
2015-05-21 05:16:19 +00:00
aad73db051 Accepting request 307683 from games
mention nml-rpmlintrc although I think it is pointless

OBS-URL: https://build.opensuse.org/request/show/307683
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/nml?expand=0&rev=10
2015-05-18 20:29:50 +00:00