Pages

Saturday, September 19, 2015

wxWidgets - Build - Windows - Msys

../wxWidgets/configure --prefix=<WXWIDGETS_SRC_DIR>/dist \ --enable-static --disable-shared --with-libpng --with-libjpeg --without-libtiff \ --with-libxm --with-libiconv --with-regex=builtin --disable-stc --enable-htmlhelp \ --enable-aui --enable-grid --enable-timer --enable-dynlib --enable-dynamicloader \ --enable-debug --enable-debug_gdb --with-expat=builtin
make
make install

Sunday, March 01, 2015

Financer - Monetary amount internationalization

Amount formats:

9,999.00 - United States
9.999,00 - Brazil

There are 2 categories of amount:

- Generic number value
- Monetary value.

Tuesday, February 17, 2015

Financer - Date and time internationalization

Need to implement a way to work with date and time in a way internationalized way.

There are two modes, input and output.
The output mode is to show date on user interface and the output mode to store in the database.

The output mode to store in the database is based on ISO 8601: YYYY-MM-DD

For the input mode there are predefined supported formats based by region/country:
  • MM/DD/YYYY: Used on United States.
  • DD/MM/YYYY: Used on Brazil.

Other formats for output will be added.

Saturday, February 14, 2015

Financer dependencies on Fedora 21 64-bit

Listing executable dependencies:
[allann@mars gui]$ rpm -q --whatprovides $(ldd build/linux/bin/financer | \ sed 's/.*=>//g' | sed 's/ *(.*//g') | sed 's/-[0-9]\+.*//g' | sort | uniq atk at-spi2-atk at-spi2-core bzip2-libs cairo cairo-gobject cyrus-sasl-lib dbus-libs enchant expat fontconfig freetype gdk-pixbuf2 glib2 glibc graphite2 gstreamer1 gstreamer1-plugins-base gtk3 harfbuzz harfbuzz-icu jbigkit-libs keyutils-libs krb5-libs libcom_err libdrm libffi libgcc libgcrypt libgpg-error libICE libicu libjpeg-turbo libnotify libpng libsecret libselinux libSM libsoup libstdc++ libtiff libuuid libwayland-client libwayland-cursor libwayland-server libwebp libX11 libXau libxcb libXcomposite libXcursor libXdamage libXext libXfixes libXi libXinerama libxkbcommon libxml2 libXrandr libXrender libxshmfence libxslt libXt libXxf86vm mesa-libEGL mesa-libgbm mesa-libGL mesa-libglapi nspr nss nss-softokn-freebl nss-util openldap openssl-libs orc pango pcre pixman postgresql-libs sqlite webkitgtk3 xz-libs zlib
So install Financer dependencies with the command:
# sudo yum install atk at-spi2-atk at-spi2-core bzip2-libs cairo \ cairo-gobject cyrus-sasl-lib dbus-libs enchant expat fontconfig \ freetype gdk-pixbuf2 glib2 glibc graphite2 gstreamer1 gstreamer1-plugins-base \ gtk3 harfbuzz harfbuzz-icu jbigkit-libs keyutils-libs krb5-libs libcom_err \ libdrm libffi libgcc libgcrypt libgpg-error libICE libicu libjpeg-turbo \ libnotify libpng libsecret libselinux libSM libsoup libstdc++ libtiff \ libuuid libwayland-client libwayland-cursor libwayland-server libwebp \ libX11 libXau libxcb libXcomposite libXcursor libXdamage libXext libXfixes \ libXi libXinerama libxkbcommon libxml2 libXrandr libXrender libxshmfence \ libxslt libXt libXxf86vm mesa-libEGL mesa-libgbm mesa-libGL mesa-libglapi \ nspr nss nss-softokn-freebl nss-util openldap openssl-libs orc pango pcre \ pixman postgresql-libs sqlite webkitgtk3 xz-libs zlib

Saturday, February 07, 2015

OpenSSL - Windows - MinGW - Build

Build OpenSSL on MS Windows using MinGW/Msys
perl Configure mingw no-shared no-asm --prefix=/c/OpenSSL make depend make make install
Reference

Sunday, January 25, 2015

Financer - Configuration file

Definition of the configuration files for Financer and Capital applications:
<?xml version="1.0" encoding="UTF-8"?> <config> <database> <connection host="localhost" port="5432" dbname="financer" user="postgres" password="postgres" sslmode="disable" filepath="financer.db" type="SQLite"/> </database> <language id="pt-BR"/> <rfid port="COM4" speed="57200"/> <logger> <log.entry name="system" level="0" enabled="true"/> <log.entry name="database" level="0" enabled="true"/> </logger> </config>

Saturday, January 17, 2015

Financer - SQLite database support

Developing support to store application data in SQLite database.
There will be now support for PostgreSQL to distributed usage of the application and support for SQLite to use the application as standalone.

Removed invoice module. At now, no plans to add this module to the personal finance application

Focus now on complete SQLite support and start to develop internalization.

Wednesday, January 14, 2015

IssueDB 0.2.3

IssueDB version 0.2.3 Changes:
  • Reload projects list after register a new project.
  • Fix application name on main window.
  • Builds for Fedora Linux, FreeBSD, MS Windows and Mac OS X.

Tuesday, January 13, 2015

Financer, Capital - Internationalization

Define an internationalization format portable and human-editable for Financer and Capital applications like Android.

Example:

en-US.xml:
<resources lang="English"> <string name="welcome_message">Welcome</string> </resources>
pt-BR.xml:
<resources lang="Português"> <string name="welcome_message">Bem-Vindo</string> </resources>

PostgreSQL on Fedora

sudo yum install postgresql postgresql-server \ postgresql-contrib postgresql-devel postgresql-libs
Useful steps: fedoraproject.org/wiki/PostgreSQL

For local development you can trust connections in: /var/lib/pgsql/data/pg_hba.conf

Monday, January 12, 2015

IssueDB 0.2.2

IssueDB version 0.2.2 Changes:
  • Database setup on initialization.
  • More operating systems (this will be customizable in the future).
  • Fixes.

Sunday, January 04, 2015

Financer - Fedora dependencies

Financer dependencies on Fedora Linux:
sudo yum groupinstall development-libs development-tools gnome-software-development
sudo yum install perl
sudo yum install cmake
sudo yum install postgresql postgresql-devel
sudo yum install libjpeg-turbo libjpeg-turbo-devel
sudo yum install libtiff libtiff-devel
sudo yum install libSM libSM-devel