Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/kitanokitsune/gerbv_for_win_multilingual

Gerbv gerber viewer executable and build tool for windows with patches fixing multlingual environment
https://github.com/kitanokitsune/gerbv_for_win_multilingual

cad gerber gerber-renderer gerbv windows

Last synced: about 2 months ago
JSON representation

Gerbv gerber viewer executable and build tool for windows with patches fixing multlingual environment

Awesome Lists containing this project

README

        

# Gerbv-2.10.0 for windows multilingual -- executable and build tool
---------------------------------------------
## What is this
This is a build tool for [Gerbv-2.10.0](https://github.com/gerbv/gerbv) executable on MS-Windows.
Also executable binaries are in [Releases](https://github.com/kitanokitsune/gerbv_for_win_multilingual/releases) pages.

## Supported features
[These patches](./patch) are applied.
+ Support non-ASCII path and filename
+ Support slotted hole (patch from [sourceforge](https://sourceforge.net/p/gerbv/bugs/258/))

route_slot

## Build prerequisites
If you want to build __gerbv__ yourself, the followings are required.
+ MSYS2 + binutils + gcc (such as [i686-8.1.0-release-win32-dwarf-rt_v6-rev0](https://sourceforge.net/projects/mingw-w64/files/Toolchains%20targetting%20Win32/Personal%20Builds/mingw-builds/8.1.0/threads-win32/dwarf/i686-8.1.0-release-win32-dwarf-rt_v6-rev0.7z) / [x86_64-8.1.0-release-win32-seh-rt_v6-rev0](https://sourceforge.net/projects/mingw-w64/files/Toolchains%20targetting%20Win64/Personal%20Builds/mingw-builds/8.1.0/threads-win32/seh/x86_64-8.1.0-release-win32-seh-rt_v6-rev0.7z) ) + etc.
+ [gerbv-2.10.0.tar.gz](https://github.com/gerbv/gerbv/releases/tag/v2.10.0) source file
+ [dxflib-3.26.4-src.tar.gz](https://qcad.org/en/dxflib-downloads) source file
+ [gtk+-2.24.33](https://github.com/kitanokitsune/gtk2.24-win-static-library-builder/releases) library

## How to build Gerbv-2.10.0 for win multilingual
1. Extract or `git clone` this project into some directory.
2. Put **gerbv-2.10.0.tar.gz** and **dxflib-3.26.4-src.tar.gz** into the above directory.
3. Edit **Makefile** as you need.
4. Execute command `make` in the directory.

## How to localize
1. Copy **gerbv.pot** to a file named ***<lang>***__.po__, where *<lang>* is a *[Language Code](https://www.gnu.org/software/gettext/manual/html_node/Usual-Language-Codes.html)*.
2. Edit translations in ***<lang>***__.po__ and save it using UTF-8 encoding.
3. Execute __msgfmt__ ***<lang>***__.po -o gerbv.mo__ in MSYS2.
4. Copy __gerbv.mo__ into <*gerb_folder*>\\share\\locale\\<*lang*>\\LC_MESSAGES\\.

I've never used but there's a tool called [Poedit](https://poedit.net/), which can handle **.po** files.