Skip to content

Commit

Permalink
Merge pull request #367 from carstene1ns/version-0.6.2
Browse files Browse the repository at this point in the history
Version 0.6.2
  • Loading branch information
Ghabry authored Apr 26, 2020
2 parents b773253 + efcec48 commit bb9f9e2
Show file tree
Hide file tree
Showing 188 changed files with 255 additions and 189 deletions.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
cmake_minimum_required(VERSION 3.7)
cmake_policy(SET CMP0048 NEW)

project(liblcf VERSION 0.6.1 LANGUAGES CXX)
project(liblcf VERSION 0.6.2 LANGUAGES CXX)

option(BUILD_SHARED_LIBS "Build shared library, disable for building the static library" ON)
option(DISABLE_ICU "Disable ICU encoding detection (fallback to iconv, not recommended)" OFF)
Expand Down
2 changes: 1 addition & 1 deletion COPYING
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
Copyright (c) 2014-2019 liblcf authors
Copyright (c) 2014-2020 liblcf authors

Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
Expand Down
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -41,8 +41,8 @@ Building requirements:

Step-by-step instructions:

tar xf liblcf-0.6.1.tar.xz # unpack the tarball
cd liblcf-0.6.1 # enter in the package directory
tar xf liblcf-0.6.2.tar.xz # unpack the tarball
cd liblcf-0.6.2 # enter in the package directory
./configure --prefix /usr # find libraries, set options
make # compile the library
sudo make install # install system-wide
Expand Down Expand Up @@ -71,8 +71,8 @@ Building requirements:

Step-by-step instructions:

tar xf liblcf-0.6.1.tar.xz # unpack the tarball
cd liblcf-0.6.1 # enter in the package directory
tar xf liblcf-0.6.2.tar.xz # unpack the tarball
cd liblcf-0.6.2 # enter in the package directory
cmake . -DCMAKE_BUILD_TYPE=Release # configure project
cmake --build . # compile the library
sudo cmake --build . --target install # install system-wide
Expand Down
57 changes: 57 additions & 0 deletions builds/release-helper.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,57 @@
#!/bin/bash

# release-helper.sh - maintainer utility script to change
# the library version and update all copyright dates
# by carstene1ns 2020, released under the MIT license

year=$(date +%Y)
version=$1

if [[ ! -z $version ]]; then

if [[ ! $version =~ ^[0-9]\.[0-9]\.[0-9]$ ]]; then

echo "Invalid version argument. Only digits and dots allowed."
exit 1

fi

echo "Updating Version in:"

echo " CMakeLists.txt"
sed -i "/liblcf VERSION/,1 s/[0-9]\.[0-9]\.[0-9]/$version/" CMakeLists.txt

echo " configure.ac"
sed -i "/AC_INIT/,1 s/[0-9]\.[0-9]\.[0-9]/$version/" configure.ac

echo " README.md"
sed -i "s/\(liblcf-\)[0-9]\.[0-9]\.[0-9]/\1$version/g" README.md

else

echo "No new version argument, only updating copyright years!"

fi

echo "Updating License…"
sed -i "1,1 s/2014-2[0-9][0-9][0-9]/2014-$year/" COPYING

# update copyright years, but filter out external sources
echo "Updating source files…"

find src tests -maxdepth 1 -type f \
-a \( -name "*.h" -o -name "*.cpp" \) \
-a \! \( -name "ini*" -o -name "doctest*" \) \
-exec sed -i "/liblcf\. Copyright/,1 s/2[0-9][0-9][0-9]/$year/" {} +

# updating header for generated source files
grep -q "liblcf\. Copyright.*$year" generator/templates/copyright.tmpl ||
echo " -> You need to run the generator."
sed -i "/liblcf\. Copyright/,1 s/2[0-9][0-9][0-9]/$year/" generator/templates/copyright.tmpl

cat << EOF
If everything is ready and committed, use these commands to publish the git tag:
$ git tag -a (-s) $version -m "Codename \"\fancy codename\""
$ git push (-n) --tags upstream
EOF
2 changes: 1 addition & 1 deletion configure.ac
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
# Process this file with autoconf to produce a configure script.

AC_PREREQ([2.69])
AC_INIT([liblcf],[0.6.1],[https://github.com/EasyRPG/liblcf/issues],[liblcf],[https://easyrpg.org/])
AC_INIT([liblcf],[0.6.2],[https://github.com/EasyRPG/liblcf/issues],[liblcf],[https://easyrpg.org/])

AC_CONFIG_AUX_DIR([builds/autoconf])
AM_INIT_AUTOMAKE([1.11.4 foreign subdir-objects -Wall dist-xz])
Expand Down
2 changes: 1 addition & 1 deletion generator/templates/copyright.tmpl
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/* !!!! GENERATED FILE - DO NOT EDIT !!!!
* --------------------------------------
*
* This file is part of liblcf. Copyright (c) 2019 liblcf authors.
* This file is part of liblcf. Copyright (c) 2020 liblcf authors.
* https://github.com/EasyRPG/liblcf - https://easyrpg.org
*
* liblcf is Free/Libre Open Source Software, released under the MIT License.
Expand Down
2 changes: 1 addition & 1 deletion src/command_codes.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* This file is part of liblcf. Copyright (c) 2019 liblcf authors.
* This file is part of liblcf. Copyright (c) 2020 liblcf authors.
* https://github.com/EasyRPG/liblcf - https://easyrpg.org
*
* liblcf is Free/Libre Open Source Software, released under the MIT License.
Expand Down
2 changes: 1 addition & 1 deletion src/data.cpp
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* This file is part of liblcf. Copyright (c) 2019 liblcf authors.
* This file is part of liblcf. Copyright (c) 2020 liblcf authors.
* https://github.com/EasyRPG/liblcf - https://easyrpg.org
*
* liblcf is Free/Libre Open Source Software, released under the MIT License.
Expand Down
2 changes: 1 addition & 1 deletion src/data.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* This file is part of liblcf. Copyright (c) 2019 liblcf authors.
* This file is part of liblcf. Copyright (c) 2020 liblcf authors.
* https://github.com/EasyRPG/liblcf - https://easyrpg.org
*
* liblcf is Free/Libre Open Source Software, released under the MIT License.
Expand Down
9 changes: 9 additions & 0 deletions src/encoder.cpp
Original file line number Diff line number Diff line change
@@ -1,3 +1,12 @@
/*
* This file is part of liblcf. Copyright (c) 2020 liblcf authors.
* https://github.com/EasyRPG/liblcf - https://easyrpg.org
*
* liblcf is Free/Libre Open Source Software, released under the MIT License.
* For the full copyright and license information, please view the COPYING
* file that was distributed with this source code.
*/

#include "lcf_options.h"
#include "encoder.h"
#include "reader_util.h"
Expand Down
2 changes: 1 addition & 1 deletion src/encoder.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* This file is part of liblcf. Copyright (c) 2019 liblcf authors.
* This file is part of liblcf. Copyright (c) 2020 liblcf authors.
* https://github.com/EasyRPG/liblcf - https://easyrpg.org
*
* liblcf is Free/Libre Open Source Software, released under the MIT License.
Expand Down
2 changes: 1 addition & 1 deletion src/enum_tags.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* This file is part of liblcf. Copyright (c) 2019 liblcf authors.
* This file is part of liblcf. Copyright (c) 2020 liblcf authors.
* https://github.com/EasyRPG/liblcf - https://easyrpg.org
*
* liblcf is Free/Libre Open Source Software, released under the MIT License.
Expand Down
2 changes: 1 addition & 1 deletion src/flag_set.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* This file is part of liblcf. Copyright (c) 2019 liblcf authors.
* This file is part of liblcf. Copyright (c) 2020 liblcf authors.
* https://github.com/EasyRPG/liblcf - https://easyrpg.org
*
* liblcf is Free/Libre Open Source Software, released under the MIT License.
Expand Down
2 changes: 1 addition & 1 deletion src/generated/fwd_struct_impl.h
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/* !!!! GENERATED FILE - DO NOT EDIT !!!!
* --------------------------------------
*
* This file is part of liblcf. Copyright (c) 2019 liblcf authors.
* This file is part of liblcf. Copyright (c) 2020 liblcf authors.
* https://github.com/EasyRPG/liblcf - https://easyrpg.org
*
* liblcf is Free/Libre Open Source Software, released under the MIT License.
Expand Down
2 changes: 1 addition & 1 deletion src/generated/ldb_actor.cpp
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/* !!!! GENERATED FILE - DO NOT EDIT !!!!
* --------------------------------------
*
* This file is part of liblcf. Copyright (c) 2019 liblcf authors.
* This file is part of liblcf. Copyright (c) 2020 liblcf authors.
* https://github.com/EasyRPG/liblcf - https://easyrpg.org
*
* liblcf is Free/Libre Open Source Software, released under the MIT License.
Expand Down
2 changes: 1 addition & 1 deletion src/generated/ldb_animation.cpp
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/* !!!! GENERATED FILE - DO NOT EDIT !!!!
* --------------------------------------
*
* This file is part of liblcf. Copyright (c) 2019 liblcf authors.
* This file is part of liblcf. Copyright (c) 2020 liblcf authors.
* https://github.com/EasyRPG/liblcf - https://easyrpg.org
*
* liblcf is Free/Libre Open Source Software, released under the MIT License.
Expand Down
2 changes: 1 addition & 1 deletion src/generated/ldb_animationcelldata.cpp
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/* !!!! GENERATED FILE - DO NOT EDIT !!!!
* --------------------------------------
*
* This file is part of liblcf. Copyright (c) 2019 liblcf authors.
* This file is part of liblcf. Copyright (c) 2020 liblcf authors.
* https://github.com/EasyRPG/liblcf - https://easyrpg.org
*
* liblcf is Free/Libre Open Source Software, released under the MIT License.
Expand Down
2 changes: 1 addition & 1 deletion src/generated/ldb_animationframe.cpp
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/* !!!! GENERATED FILE - DO NOT EDIT !!!!
* --------------------------------------
*
* This file is part of liblcf. Copyright (c) 2019 liblcf authors.
* This file is part of liblcf. Copyright (c) 2020 liblcf authors.
* https://github.com/EasyRPG/liblcf - https://easyrpg.org
*
* liblcf is Free/Libre Open Source Software, released under the MIT License.
Expand Down
2 changes: 1 addition & 1 deletion src/generated/ldb_animationtiming.cpp
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/* !!!! GENERATED FILE - DO NOT EDIT !!!!
* --------------------------------------
*
* This file is part of liblcf. Copyright (c) 2019 liblcf authors.
* This file is part of liblcf. Copyright (c) 2020 liblcf authors.
* https://github.com/EasyRPG/liblcf - https://easyrpg.org
*
* liblcf is Free/Libre Open Source Software, released under the MIT License.
Expand Down
2 changes: 1 addition & 1 deletion src/generated/ldb_attribute.cpp
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/* !!!! GENERATED FILE - DO NOT EDIT !!!!
* --------------------------------------
*
* This file is part of liblcf. Copyright (c) 2019 liblcf authors.
* This file is part of liblcf. Copyright (c) 2020 liblcf authors.
* https://github.com/EasyRPG/liblcf - https://easyrpg.org
*
* liblcf is Free/Libre Open Source Software, released under the MIT License.
Expand Down
2 changes: 1 addition & 1 deletion src/generated/ldb_battlecommand.cpp
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/* !!!! GENERATED FILE - DO NOT EDIT !!!!
* --------------------------------------
*
* This file is part of liblcf. Copyright (c) 2019 liblcf authors.
* This file is part of liblcf. Copyright (c) 2020 liblcf authors.
* https://github.com/EasyRPG/liblcf - https://easyrpg.org
*
* liblcf is Free/Libre Open Source Software, released under the MIT License.
Expand Down
2 changes: 1 addition & 1 deletion src/generated/ldb_battlecommands.cpp
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/* !!!! GENERATED FILE - DO NOT EDIT !!!!
* --------------------------------------
*
* This file is part of liblcf. Copyright (c) 2019 liblcf authors.
* This file is part of liblcf. Copyright (c) 2020 liblcf authors.
* https://github.com/EasyRPG/liblcf - https://easyrpg.org
*
* liblcf is Free/Libre Open Source Software, released under the MIT License.
Expand Down
2 changes: 1 addition & 1 deletion src/generated/ldb_battleranimation.cpp
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/* !!!! GENERATED FILE - DO NOT EDIT !!!!
* --------------------------------------
*
* This file is part of liblcf. Copyright (c) 2019 liblcf authors.
* This file is part of liblcf. Copyright (c) 2020 liblcf authors.
* https://github.com/EasyRPG/liblcf - https://easyrpg.org
*
* liblcf is Free/Libre Open Source Software, released under the MIT License.
Expand Down
2 changes: 1 addition & 1 deletion src/generated/ldb_battleranimationdata.cpp
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/* !!!! GENERATED FILE - DO NOT EDIT !!!!
* --------------------------------------
*
* This file is part of liblcf. Copyright (c) 2019 liblcf authors.
* This file is part of liblcf. Copyright (c) 2020 liblcf authors.
* https://github.com/EasyRPG/liblcf - https://easyrpg.org
*
* liblcf is Free/Libre Open Source Software, released under the MIT License.
Expand Down
2 changes: 1 addition & 1 deletion src/generated/ldb_battleranimationextension.cpp
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/* !!!! GENERATED FILE - DO NOT EDIT !!!!
* --------------------------------------
*
* This file is part of liblcf. Copyright (c) 2019 liblcf authors.
* This file is part of liblcf. Copyright (c) 2020 liblcf authors.
* https://github.com/EasyRPG/liblcf - https://easyrpg.org
*
* liblcf is Free/Libre Open Source Software, released under the MIT License.
Expand Down
2 changes: 1 addition & 1 deletion src/generated/ldb_chipset.cpp
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/* !!!! GENERATED FILE - DO NOT EDIT !!!!
* --------------------------------------
*
* This file is part of liblcf. Copyright (c) 2019 liblcf authors.
* This file is part of liblcf. Copyright (c) 2020 liblcf authors.
* https://github.com/EasyRPG/liblcf - https://easyrpg.org
*
* liblcf is Free/Libre Open Source Software, released under the MIT License.
Expand Down
2 changes: 1 addition & 1 deletion src/generated/ldb_chunks.h
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/* !!!! GENERATED FILE - DO NOT EDIT !!!!
* --------------------------------------
*
* This file is part of liblcf. Copyright (c) 2019 liblcf authors.
* This file is part of liblcf. Copyright (c) 2020 liblcf authors.
* https://github.com/EasyRPG/liblcf - https://easyrpg.org
*
* liblcf is Free/Libre Open Source Software, released under the MIT License.
Expand Down
2 changes: 1 addition & 1 deletion src/generated/ldb_class.cpp
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/* !!!! GENERATED FILE - DO NOT EDIT !!!!
* --------------------------------------
*
* This file is part of liblcf. Copyright (c) 2019 liblcf authors.
* This file is part of liblcf. Copyright (c) 2020 liblcf authors.
* https://github.com/EasyRPG/liblcf - https://easyrpg.org
*
* liblcf is Free/Libre Open Source Software, released under the MIT License.
Expand Down
2 changes: 1 addition & 1 deletion src/generated/ldb_commonevent.cpp
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/* !!!! GENERATED FILE - DO NOT EDIT !!!!
* --------------------------------------
*
* This file is part of liblcf. Copyright (c) 2019 liblcf authors.
* This file is part of liblcf. Copyright (c) 2020 liblcf authors.
* https://github.com/EasyRPG/liblcf - https://easyrpg.org
*
* liblcf is Free/Libre Open Source Software, released under the MIT License.
Expand Down
2 changes: 1 addition & 1 deletion src/generated/ldb_database.cpp
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/* !!!! GENERATED FILE - DO NOT EDIT !!!!
* --------------------------------------
*
* This file is part of liblcf. Copyright (c) 2019 liblcf authors.
* This file is part of liblcf. Copyright (c) 2020 liblcf authors.
* https://github.com/EasyRPG/liblcf - https://easyrpg.org
*
* liblcf is Free/Libre Open Source Software, released under the MIT License.
Expand Down
2 changes: 1 addition & 1 deletion src/generated/ldb_enemy.cpp
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/* !!!! GENERATED FILE - DO NOT EDIT !!!!
* --------------------------------------
*
* This file is part of liblcf. Copyright (c) 2019 liblcf authors.
* This file is part of liblcf. Copyright (c) 2020 liblcf authors.
* https://github.com/EasyRPG/liblcf - https://easyrpg.org
*
* liblcf is Free/Libre Open Source Software, released under the MIT License.
Expand Down
2 changes: 1 addition & 1 deletion src/generated/ldb_enemyaction.cpp
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/* !!!! GENERATED FILE - DO NOT EDIT !!!!
* --------------------------------------
*
* This file is part of liblcf. Copyright (c) 2019 liblcf authors.
* This file is part of liblcf. Copyright (c) 2020 liblcf authors.
* https://github.com/EasyRPG/liblcf - https://easyrpg.org
*
* liblcf is Free/Libre Open Source Software, released under the MIT License.
Expand Down
2 changes: 1 addition & 1 deletion src/generated/ldb_item.cpp
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/* !!!! GENERATED FILE - DO NOT EDIT !!!!
* --------------------------------------
*
* This file is part of liblcf. Copyright (c) 2019 liblcf authors.
* This file is part of liblcf. Copyright (c) 2020 liblcf authors.
* https://github.com/EasyRPG/liblcf - https://easyrpg.org
*
* liblcf is Free/Libre Open Source Software, released under the MIT License.
Expand Down
2 changes: 1 addition & 1 deletion src/generated/ldb_itemanimation.cpp
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/* !!!! GENERATED FILE - DO NOT EDIT !!!!
* --------------------------------------
*
* This file is part of liblcf. Copyright (c) 2019 liblcf authors.
* This file is part of liblcf. Copyright (c) 2020 liblcf authors.
* https://github.com/EasyRPG/liblcf - https://easyrpg.org
*
* liblcf is Free/Libre Open Source Software, released under the MIT License.
Expand Down
2 changes: 1 addition & 1 deletion src/generated/ldb_learning.cpp
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/* !!!! GENERATED FILE - DO NOT EDIT !!!!
* --------------------------------------
*
* This file is part of liblcf. Copyright (c) 2019 liblcf authors.
* This file is part of liblcf. Copyright (c) 2020 liblcf authors.
* https://github.com/EasyRPG/liblcf - https://easyrpg.org
*
* liblcf is Free/Libre Open Source Software, released under the MIT License.
Expand Down
2 changes: 1 addition & 1 deletion src/generated/ldb_music.cpp
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/* !!!! GENERATED FILE - DO NOT EDIT !!!!
* --------------------------------------
*
* This file is part of liblcf. Copyright (c) 2019 liblcf authors.
* This file is part of liblcf. Copyright (c) 2020 liblcf authors.
* https://github.com/EasyRPG/liblcf - https://easyrpg.org
*
* liblcf is Free/Libre Open Source Software, released under the MIT License.
Expand Down
2 changes: 1 addition & 1 deletion src/generated/ldb_skill.cpp
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/* !!!! GENERATED FILE - DO NOT EDIT !!!!
* --------------------------------------
*
* This file is part of liblcf. Copyright (c) 2019 liblcf authors.
* This file is part of liblcf. Copyright (c) 2020 liblcf authors.
* https://github.com/EasyRPG/liblcf - https://easyrpg.org
*
* liblcf is Free/Libre Open Source Software, released under the MIT License.
Expand Down
2 changes: 1 addition & 1 deletion src/generated/ldb_sound.cpp
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/* !!!! GENERATED FILE - DO NOT EDIT !!!!
* --------------------------------------
*
* This file is part of liblcf. Copyright (c) 2019 liblcf authors.
* This file is part of liblcf. Copyright (c) 2020 liblcf authors.
* https://github.com/EasyRPG/liblcf - https://easyrpg.org
*
* liblcf is Free/Libre Open Source Software, released under the MIT License.
Expand Down
Loading

0 comments on commit bb9f9e2

Please sign in to comment.