Commit graph

4819 commits

Author SHA1 Message Date
wiz
3489e960f5 Updated lgogdownloader to 3.1.
LGOGDownloader 3.1
- Make libcurl usage thread-safe (Patch by: Philipp Kerling)
* libcurl internally uses signals by default, which will crash the application when using multiple threads.
* Setting CURLOPT_NOSIGNAL on all handles avoids the crashes and is recommended in the libcurl documentation.
- Made getTerminalWidth detect if it is running in a terminal before trying to get the width (Patch by: Steffan Byrne)
* Before this change, if you tried to pipe the standard out to a file or run this as a process, it would fail.
- Moved global curl init/cleanup and ssl thread setup out of the Downloader class
* Allows using libcurl calls before calling Downloader::init() which can be useful in future
- Some code restructuring
* Moved some code from Downloader::init() to constructor
* Added function API::isLoggedIn()
* Added function Downloader::isLoggedIn()
* Downloader::init() no longer calls Downloader::getGameList() it is now called from other functions when needed
- Fixed some login issues
- Limit download thread count to number of items in download queue
- Rewrote and removed lots of duplicate code from Downloader::checkStatus()
* --status now tries to get remote file hash for patches and language packs
* GOG doesn't provide xml data for extras so we still have to rely on local xml data for those
- Made --list show number of updates for games that have been updated
* Allows user to check for updated games more easily
- Replaced all printf and sprintf calls using new Util::formattedString() function
* Util::formattedString creates formatted std::string using std::snprintf
* Fixes possible buffer overflow in Downloader::printProgress() caused by sprintf call
2017-01-15 09:29:08 +00:00
rodent
bcc3476b57 Update to 1.5.1, the latest stable. Remove patch that was applied upstream.
Now depends on qt5-qt{tools,base}. From changes.txt:

Solarus 1.5.1 (2016-11-29)
__________________________

Engine changes
--------------

* Add Spanish translation of the launcher GUI (thanks Diarandor!).
* Fix registering quest to the launcher at quest install time (#948).
* Fix crash when a carried bomb explodes (#953).
* Fix crash when a scrolling teletransporter is incorrectly placed (#977).
* Fix crash when an entity has a wrong savegame variable type (#1008).
* Fix memory leak when creating lots of surfaces (#962).
* Fix cleanup of the quest files at exit.
* Fix error in sol.main.load_settings() when the file does not exist.
* Fix ground ignored after hero:unfreeze() or back to solid ground (#827).
* Fix entity:get_name() returning nil after the entity is removed (#954).
* Improve error messages of surface creations and conversions.
* Chests: set an initial value "entities/chest" to the sprite field.


Solarus launcher GUI changes
----------------------------

* Start the selected quest by pressing Return or double-clicking (#949).

Sample quest changes
--------------------

* The sample quest is now in a separate repository (#996).

__________________________

Solarus 1.5.0 (2016-07-27)
__________________________

Engine changes
--------------

* Add a launcher GUI to ease chosing a quest and setting options (#693).
* Rename the solarus_run executable to solarus-run.
* Add version number and symbolic links when building the library.
* Add a -lua-console option to run Lua code from the standard input.
* Remove the -win-console option, the preferred way is now to use a GUI.
* Add a -turbo option to run at full speed.
* Add a -lag option to simulate slower systems for debugging.
* Print when the main loop starts and stops.
* Print the Lua version at startup (#692).
* Outputs are now prefixed by [Solarus] and the current simulated time.
* Musics: Add support of custom OGG looping (#643).
* Maps: allow more than 3 layers (#445).
* Improve the performance of loading big maps (#854).
* Improve the performance of custom entity collisions.
* Improve the performance of collisions by using a quadtree.
* Entities far from the camera are no longer suspended.
* The hero no longer automatically jumps when arriving on water (#530).
* Destinations can now set to update or not the starting location (#819).
* Teletransporters on the side of the map now work on all layers (#850).
* Streams can now have a speed of zero (#496).
* Fix crash when main.lua has a syntax error.
* Fix crash with missing directions in sprites controlled by the engine (#864).
* Fix sprite:on_animation_finished() and others not working sometimes (#799).
* Fix error in sprite:set_animation() when the direction is missing (#937).
* Fix straight movement precision.
* Fix freeze when loading a map with tiles outside the limits (#875).
* Fix crash when trying to use a non-saved item (#889).
* Fix sword tapping sound still played when the game is suspended (#797).
* Fix hero:set_invincible() not working without duration (#805).
* Fix lifted item walking animation only accepting 3 frames (#645).
* Fix enemy:set_attack_consequence_sprite() with thrown items (#834).
* Fix custom_entity:set_can_traverse() for doors (#716).
* Fix custom_entity:set_can_traverse_ground() for some grounds (#794).
* Fix custom entity collisions missed for entities that do not move (#671, #883).
* Fix custom_entity:get_modified_ground() returning nothing.
* Fix custom_entity:on_ground_below_changed() not called (#738).
* Fix missing notifications in custom_entity:set_origin() (#880).
* Fix creating an entity with the same name as another one just removed (#795).
* Fix parallax scrolling for dynamic tiles (#816).
* Fix crash when a diagonal tile is not square (#837).
* Fix crash when the teletransporter after stairs is missing.
* Fix non-blocking stream turns after going south (#648).
* Fix text_surface:set_rendering_mode() not working (#833).
* Fix possible freeze when changing the position of a path finding entity.
* Fix circle_movement:set_initial_angle() not working (#721).
* Fix straight movement setting speed to zero when reaching obstacles (#633).
* Fix support of joypads with multiple axes.
* Fix sol.input.get_mouse_coordinates() ignoring the zoom factor (#734).

Lua API changes
---------------

Changes that introduce incompatibilities:

* Fix missing collision detections and entity notifications.
* chest:on_empty() is replaced by chest:on_opened(treasure) (#483).
* Enemy ranks no longer exist, set_hurt_style() needs to be called (#449).
* Items with amount now have a default max amount of 1000 (#688).
* New ability "jump_over_water" in game:get/set_ability(), off by default (#530).
* Fix hero state name "freezed", renamed it to "frozen" (#813).
* Fix map:get_entities() not returning the hero (#670).
* Fix map:create_custom_entity() not erroring when width/height are missing.
* map:get_camera_position() is now deprecated, use camera:get_bounding_box().
* map:move_camera() is now deprecated, use a camera movement instead.
* map:draw_sprite() is now deprecated, use map:draw_visual() instead (#661).
* Fix entity:set_enabled(true) delayed while it blocks the hero (#817).
* Fix brandished treasure sprite and shop treasure sprite not animated (#790).
* circle_movement:get/set_initial_angle() now use degrees (#721).
* Add ability to hide mouse cursor (#891).

Changes that do not introduce incompatibilities:

* Add a function sol.main.get_solarus_version() (#767).
* Add a function sol.main.get_quest_format().
* Add a function sol.main.get_type() (#744).
* Add a method game:set_suspended() (#845).
* Add methods map:get_min_layer() and map:get_max_layer() (#445).
* Add a method map:get_entities_by_type() (#796).
* Add a method map:get_entities_in_rectangle() (#142).
* Add a method map:draw_visual() to draw any drawable object (#661).
* Add a method map:get_camera() (the camera is now a map entity).
* Add methods map:set_world() and map:set_floor() (#656).
* map:get_entities() can now be called without parameter to get all entities.
* map:get_entities*() functions now give entities sorted in Z order (#779).
* Add an event entity:on_movement_started().
* Add a method entity:get_max_bounding_box() considering sprite boxes (#754).
* entity:get_center_position() now also returns the layer.
* Add a method entity:get_facing_position().
* Add a method entity:get_facing_entity() (#877).
* Add a method entity:get_ground_position() (#830).
* Add a method entity:get_ground_below() (#830).
* entity:set_optimization_distance() is now only a hint for the engine.
* entity:test_obstacles() now also works without parameters.
* entity:overlaps() now has an optional collision mode parameter (#748).
* Add entity:get_sprite() to all entities, with an optional name value (#669).
* Add a method entity:get_sprites() (#851).
* Add methods entity:bring_sprite_to_front/back() (#809).
* enemy/custom_entity:create_sprite() now take an optional name value.
* hero:save_solid_ground() can now take a function parameter (#667).
* Add a method hero:start_attack() (#821).
* Add methods npc:is/set_traversable() (#712).
* Add methods chest:get/set_treasure() (#664).
* Add an event chest:on_opened() with treasure info parameters (#483).
* Add methods dynamic_tile:get_pattern_id() and get_modified_ground() (#755).
* Add methods destination:get/set_starting_location_mode() (#819).
* Add a method switch:is_walkable() (#729).
* Add a method switch:is_locked().
* Add a method sprite:get_num_frames() (#818).
* Add methods sprite:get_size() and sprite:get_origin() (#823).
* sprite:set_animation() now takes an optional callback parameter (#861).
* Add a method surface:get_opacity() (#722).
* Add methods surface/text_surface/sprite:get/set_blending_mode (#930).

Data files format changes
-------------------------

* New directory logos to put the logo and icons of your quest, used in the GUI.
* Quest properties: New properties describing the quest, used in the GUI (#838).
* Quest properties: the title_bar property no longer exists, use title instead.
* Maps: New properties min_layer and max_layer (#445).
* Maps: Enemies no longer have a rank property (#449).
* Maps: New property starting_location_mode on destinations (#819).
* Maps: width and height of custom entities are now mandatory as documented.
* Dialogs: Allow empty texts.

Sample quest changes
--------------------

* Lots of new sprites and sounds from Diarandor.

__________________________

Solarus 1.4.5 (2015-11-22)
__________________________

Bug fixes for the 1.4 release.

* Fix file name not shown when there is an error in dialogs file (#718).
* Fix saving special characters in data files (#719).
* Fix sol.main.load_file() returning a string instead of nil on error (#730).
* Fix performance issue when sprites have huge frame delays (#723).
* Fix collisions triggered for removed entities (#710).
* Fix hero disappearing if lifting animation has less than 5 frames (#682).
* Fix collisions with diagonal dynamic tiles larger than 8x8 (#486).
* Fix path finding movement not working with NPCs (#708).
* Fix stuck on non-traversable dynamic tiles covered by traversables (#769).
* Fix collision detection of custom entities that do not move.
* Fix pickables with special movement falling in holes too early.
* Fix blocking streams not working when the hero's speed is greater (#488).

__________________________

Solarus 1.4.4 (2015-08-19)
__________________________

Bug fixes for the 1.4 release.

* Fix pickables falling in holes even when hooked (#740).

__________________________

Solarus 1.4.3 (2015-08-12)
__________________________

Bug fixes for the 1.4 release.

* Fix a compilation error with Mac OS X.
* Fix crash at exit when a surface has a movement with callback (#699).
* Fix crash when removing a custom entity (#690).
* Fix crash when a sprite file is missing or has no animation (#700).
* Fix crash when trying to remove a sprite already removed (#705).
* Fix crash when a custom entity collision or traversable test errors.
* Fix crash when changing hero sprites sometimes.
* Fix crash when sound buffers are full.
* Fix crash in map:get_ground() with out of bounds coordinates.
* Fix Lua error message saying "number expected" instead of "string expected".
* Fix game:set_command_keyboard/joypad_binding refusing parameters.
* Fix map scrolling not working if quest size is not a multiple of 5 (#701).
* Fix camera:move() ignoring separators.
* Fix entities already destroyed when map:on_finished() is called (#691).
* Fix entity:bring_to_front()/back() ignoring the order of obstacles.
* Fix hero stuck on blocks.
* Fix hero going backwards on ice sometimes.
* Fix custom_entity:set_can_traverse_ground() giving opposite result (#668).
* Fix enemy:immobilize() having no effect when already immobilized.
* Fix dying animation of flying and swimming enemies.
* Fix the position of the shadow of pickables when they move.
* Fix pickables not reacting to their ground (#655).
2017-01-11 23:42:56 +00:00
zafer
47dca1dd60 prevent timeout. default to cdn. 2017-01-08 14:01:41 +00:00
wiz
46205d6105 Updated ruby22-squib to 0.13.1.
## v0.13.1 / 2017-01-06

Bugs:
* New Windows installations break because Rubygems looks for 1.15.4 and it's not there (yet). Locking into Cairo 1.15.3 and being more conservative from now on.

## v0.13.0 / 2017-01-04

Features:
* `save_pdf`'s `crop marks` have a `:full` option that draw lines across the entire page.

Bugs
* Fix `Squib::DataFrame#to_pretty_text` modification issue (#191)
* Downgraded Pango et al. back to 3.0.9 from 3.1.0 because there are bugs in the new gobject-introspection library.

Chores:
* Shrank the gem itself by ignoring test data. From about 5mb to 64kb - yay!
* Bump roo to newest version (2.7.0).
* Bumped Nokogiri to latest version (1.7.0).
* Re-organized the samples folder for better regression and sanity testing prior to release.
2017-01-07 22:36:00 +00:00
roy
8ff62d71a9 Use the curses framework. 2017-01-03 21:50:53 +00:00
roy
8ed48520b4 Use the curses framework. 2017-01-03 21:38:29 +00:00
roy
f5d84e5e3c Move to the curses framework. 2017-01-03 21:30:38 +00:00
adam
76632718ac Revbump after boost update 2017-01-01 16:05:55 +00:00
wiz
7f84153239 Add python-3.6 to incompatible versions. 2017-01-01 14:43:22 +00:00
dholland
738d3426fa Fix message display color. PKGREVISION -> 11 2016-12-31 10:01:11 +00:00
joerg
0cce836188 Add missing dependency on glu. 2016-12-23 22:28:42 +00:00
joerg
38150f2d30 Improve C++ portability. 2016-12-22 11:36:35 +00:00
tnn
280342f8d8 The latest ICU update broke OpenTTD so update openttd to 1.6.1 to fix that.
Changes: build fixes, NewGRF tweaks and GUI tweaks.
2016-12-18 21:01:41 +00:00
joerg
6c7bf7a829 Update ccgo to 0.3.6.5. Primarily fixes compatibility issues with newer
libsigc++.
2016-12-17 23:22:30 +00:00
joerg
00e4498485 Don't expect pointers to be ordered relative to 0. 2016-12-15 23:53:38 +00:00
joerg
96ad777193 Pointers are not ordered relative to 0. Check the error of fopen
correctly. Share patches when sharing distinfo. Bump revision.
2016-12-15 23:52:43 +00:00
dholland
10cf75d1a8 Install the README as qonk.txt so binary package users have a chance of
being able to figure out how to play. PKGREVISION -> 10.
2016-12-13 19:17:42 +00:00
dholland
8b361d6bf0 Fix install to not depend on umask. Avoid undefined behavior to make it
run. PKGREVISION -> 11.
2016-12-12 06:21:47 +00:00
dholland
ea4e24f418 Clarify description. 2016-12-12 06:20:52 +00:00
dholland
b8c3072c28 sort 2016-12-12 06:20:33 +00:00
dholland
6bf7e37a58 Make this work. Add a distfile jumbo patch doing the following:
- use standard headers
   - don't use perror, don't use sprintf
   - fix time handling issues
   - compile in paths so the data can be installed (from patch-ab)
   - fix name conflict with libc
   - avoid undefined behavior
   - avoid implicit int for clang
   - declare own functions, sprinkle const and static, and fix
     signedness to get a clean build (except for one remaining issue
     where it's not clear what to do)
   - remove unused elements detected by gcc
   - fix some problems detected by gcc
   - fix a startup crash
   - modernize the makefile

Also, don't install the raw image bitmap data and the scripts to digest
it; install only the digested form, as that's all that's used at runtime.
2016-12-11 01:10:26 +00:00
dholland
1ee0903638 Improve description. 2016-12-10 21:48:52 +00:00
dholland
8413b55bc5 Remove use of ancient and highly insecure curl-7.14.0; use pkgsrc curl.
Also disable online update by default. (It can be re-enabled in the
config.)  PKGREVISION -> 8.
2016-12-10 21:46:51 +00:00
dholland
acd5aeb3f6 NOT_PAX_ASLR_SAFE and NOT_PAX_MPROTECT_SAFE. PKGREVISION -> 6. 2016-12-10 08:16:23 +00:00
ryoon
36ed025474 Recursive revbump from textproc/icu 58.1 2016-12-04 05:17:03 +00:00
wiedi
5cd35b3a59 needs zlib 2016-12-03 22:45:50 +00:00
wiedi
4aeb5cbd14 uses flex 2016-12-03 22:30:00 +00:00
wiz
e5314117d3 Updated ruby-squib to 0.12.0.
Features:

    save_pdf now supports crop marks! These are lines drawn in the margins of a PDF file to help you cut. These can be enabled by setting crop_marks: true in your save_pdf call. Can be further customized with crop_margin_bottom, crop_margin_left, crop_margin_right, crop_margin_top, crop_marks, crop_stroke_color, crop_stroke_dash, and crop_stroke_width (#123)
    Squib.configure allows you to set options programmatically, overriding your config.yml. This is useful for Rakefiles, and will be documented in my upcoming tutorial on workflows.
    Squib.enable_build_globally and Squib.disable_build_globally are new convenience methods for working with the SQUIB_BUILD environment variable. Handy for Rakefiles and Guard sessions for turning certain builds on an off. Also will be documented in upcoming workflow tutorial.
    The import methods csv and xlsx now return Squib::DataFrame, which behaves exactly as before - but has more cool features like being able to do data.name instead of data['name']. Also: check out data.to_pretty_text. Check out the docs. (#156)

Bugs:

    showcase works as expected when using backend: svg (#179)
    Graphics will get flushed upon exit, so working under Guard with backend: svg is more reliable (#180)

Docs:

    Wrote out documentation for Squib and GameIcons
    Wrote out documentation for Hello World! Dissected
    Un-submoduled our samples and simply embedded them into the docs (e.g. Squib Thinks in Arrays). Lots of cleanup there
    Wrote up Squib in Action, which documents other Squib projects. Ask for yours to be put there!!

Chores:

    Bumped dependency roo to 2.5.1. Nothing that affects Squib users (probably).
    Bumped graphics and text dependencies (cairo to 1.15.3, pango+rsvg et al. to 3.1.0). No new features for us, but some stability improvements.
2016-12-03 18:06:21 +00:00
prlw1
fddd9d6a7e Update hitori to 3.22.0
3.22.0:
* Various AppData fixes
* Translations:
** fa (Arash Mousavi)
** fur (Fabio Tomat)
** oc (Cédric Valmary)
** pl (Piotr Drg)
** pt (Sérgio Cardeira)
** sv (Anders Jonsson)
2016-11-26 10:26:54 +00:00
wiz
ec01e6965b Updated lgogdownloader to 3.0.
LGOGDownloader 3.0
- Ported code to use tinyxml2 instead of tinyxml (patch by: Ferdinand Thiessen)
- Added support for new language: Bulgarian
- Added support for parallel downloads
* Use --threads to set how many parallel downloads you want to run
* If libcurl uses openssl then libcrypto is required to compile the downloader
- Added support for getting game details in parallel
- Added support for DLC language packs
- Show average download rate after download has finished
- Fixed issue with some GOG XML data files
* Some GOG XML data files contain additional nodes/elements that were not handled properly and caused issues
- Removed obsolete getpass() calls, use termios to control terminal ECHO
- Added option to set CA certificate path
* --cacert option can be used to set path to CA certificate bundle in PEM format
* CURL_CA_BUNDLE environment variable is used if it is set and CA certificate path is not set with --cacert option
- Moved cover list to git repository
* New url: https://raw.githubusercontent.com/Sude-/lgogdownloader-lists/master/covers.xml
- Use list of games that are known to have DLC and ignore DLC count that GOG provides for those games
* Fixes issues caused by GOG providing incorrect dlc count information for games with DLC
* If local list ($XDG_CONFIG_HOME/lgogdownloader/game_has_dlc.txt) exists then remote list isn't used
* --dlc-list option is used to set url for the list (default: https://raw.githubusercontent.com/Sude-/lgogdownloader-lists/master/game_has_dlc.txt)
- Made downloader work better when invoked by Gentoo's package manager (patches by: James Le Cuirot)
* Exit with non-zero status when --list or --list-details fails
* Exit with non-zero status when at least one --download-file fails
* Add --respect-umask option to prevent adjusting permissions
2016-11-20 09:41:20 +00:00
taca
9db1c3b956 Stop patching gemspec file and use OVERRIDE_GEMSPEC with updated
update-gemspec.rb script.
2016-11-19 15:44:56 +00:00
wiz
6e4c0cc181 + ruby-squib 2016-11-01 21:59:23 +00:00
wiz
7d9cb78b88 Import ruby-squib-0.11.0 as games/ruby-squib.
Squib is a Ruby DSL for prototyping card and board games. Write a
little bit of Ruby, define your deck's stats, then compile your
game into a series of images ready for print-and-play or even
print-on-demand. Squib is very data-driven and built on the principle
of Don't Repeat Yourself. Think of it like nanDeck done "the Ruby
way".
2016-11-01 21:48:36 +00:00
maya
92c325107f arx-libertatis: apply upstream commit which fixes build on OS X
Use correct parameter type for clock_gettime

Also from Jonathan Schleifer in PR pkg/51556
2016-10-30 10:25:30 +00:00
bsiegert
57fea96bd6 Use midiplay instead of playmidi on NetBSD. Bump revision.
PR pkg/28924, from 2005.
2016-10-16 17:10:49 +00:00
kamil
52a76c5ef0 Generate dummy scorefile with REQD_FILES_PERMS
No PKGREVISION update as it's a new package.
2016-10-15 01:20:07 +00:00
kamil
eac1e56671 Update bastet from 0.41 to 0.43.1
pkgsrc changes:
 - Switch to GitHub framework
 - Update HOMEPAGE
 - Set LICENSE (GPLv3)
 - Upstream switched from C to C++
 - Require boost-libs and boost-headers
 - SETGIDGAME -> USE_GAMESGROUP
 - Need to fix VARBASE differently (now with SUBST framework)
 - Drop unneded patches
 - Enforce any curses library (with a patch)

upstream changelog
==================
==0.43.1==
Small fixes: appdata and desktop file, moved to an unordered_set header that
should work on most compilers. Should still port to autotools or something
similar sometimes in the future.

==0.43==
Complete code rewrite. As I go on trying to grok C++, algorithms and data
structures, and as I started to understand more of Peter's code, I found
it useful to rewrite all this stuff from scratch.
This should solve some issues and probably introduce new ones. Therefore this
version needs a lot of playtesting and bug-hunting.
The algorithm has been split into two, one with the next block preview (normal)
and one without (harder).
New and more sophisticated techniques are now used to write the  block-choosing
algorithms, which should not be fooled as easily as before.
2016-10-15 00:45:15 +00:00
adam
3b88bd43a5 Revbump post boost update 2016-10-07 18:25:29 +00:00
wiz
8ab0b11d2f Updated puzzles to 20160429.
Adds three games:
flood
palisade
tracks
2016-10-05 13:09:38 +00:00
mef
1658078af1 Updated games/gnuchess to 6.2.3
-------------------------------
Version 6.2.3 (September 2016)
- Quit after compiling book with option -a (--addbook).
- Updated translations.
2016-10-02 02:19:51 +00:00
joerg
395e596517 Fix gnutls fallout. Bump revision. 2016-10-01 13:01:11 +00:00
joerg
77e4de0ecf Fix rpath when using native X. Bump revision. 2016-09-29 12:09:48 +00:00
kamil
a761aa68da Fix distinfo entry for patch-gettext.h 2016-09-26 02:35:18 +00:00
kamil
7663692217 Fix build on NetBSD-7.99.36
Address conflicts of local gettext.h with /usr/include/libintl.h.
Undefine system symbols and allow package's specific ones.

GUI presents correctly texts in a local language.
2016-09-21 21:45:05 +00:00
wiz
a82aa43c18 Recursive PKGREVISION bump for gnutls shlib major bump. 2016-09-19 13:04:18 +00:00
kamil
7e1e24b9fb Add games/2048-cli 2016-09-18 16:58:26 +00:00
kamil
98681b1d61 Import 2048-cli-0.9.1 as games/2048-cli
A cli version/engine of the game 2048 for your UNIX terminal.
2016-09-18 16:57:51 +00:00
dholland
a9bba066ce Uses pkg-config. 2016-09-18 05:33:03 +00:00
wiedi
e270cee22c link network libs on SunOS 2016-09-17 23:22:59 +00:00
wiedi
2fb7fc301c needs yacc 2016-09-16 22:36:21 +00:00