Hi Martin,
A step further now... and I have a working 32-bit bino executable.
The problem with gettext seems to be as described below.
Applied the fix, in libintl.h... and had to install "textinfo", but this got me to a working bino.exe executable. Sure there is a more elegant fix... but I need to put some more thought in that.. (I'm not in software development, so learning a lot on the fly.. )
Anyways, I can now play around with the a customized version so see how that works out with my 3D livestream. Also tried to build the installer, but need to overcome a smaller challenge there but need to overcome a small error there. (see below... I haven't had a close look yet)
Thanks for the pointer in the right direction, much appreciated.
Regards,
Sebas
$ make package-w32
make -C po update-po && \
TMPDIR="`mktemp -d`" && \
make install-strip prefix="$TMPDIR" bindir="$TMPDIR" docdir="$TMPDIR/doc" localedir="$TMPDIR" && \
cp ./pkg/w32/bino.nsi "$TMPDIR" && \
cp ./pkg/w32/notes.txt "$TMPDIR" && \
cp ./COPYING "$TMPDIR" && \
cp ./src/logo/bino_logo.ico "$TMPDIR" && \
i686-w64-mingw32.static-makensis -DPACKAGE_VERSION="1.6.1" "$TMPDIR/bino.nsi" && \
cp "$TMPDIR/bino-1.6.1-w32.exe" . && \
chmod 644 bino-1.6.1-w32.exe && \
rm -rf "$TMPDIR"
make[1]: Entering directory `/home/sebas/devel/bino2/bino-1.6.1/po'
make bino.pot-update
make[2]: Entering directory `/home/sebas/devel/bino2/bino-1.6.1/po'
package_gnu=""; \
test -n "$package_gnu" || { \
if { if (LC_ALL=C find --version) 2>/dev/null | grep GNU >/dev/null; then \
LC_ALL=C find -L .. -maxdepth 1 -type f \
-size -10000000c -exec grep 'GNU bino' \
/dev/null '{}' ';' 2>/dev/null; \
else \
LC_ALL=C grep 'GNU bino' ../* 2>/dev/null; \
fi; \
} | grep -v 'libtool:' >/dev/null; then \
package_gnu=yes; \
else \
package_gnu=no; \
fi; \
}; \
if test "$package_gnu" = "yes"; then \
package_prefix='GNU '; \
else \
package_prefix=''; \
fi; \
else \
fi; \
case `/usr/bin/xgettext --version | sed 1q | sed -e 's,^[^0-9]*,,'` in \
'' | 0.[0-9] | 0.[0-9].* | 0.1[0-5] | 0.1[0-5].* | 0.16 | 0.16.[0-1]*) \
/usr/bin/xgettext --default-domain=bino --directory=.. \
--add-comments=TRANSLATORS: --keyword=_ --keyword=N_ \
--files-from=./POTFILES.in \
--copyright-holder='The Bino developers' \
--msgid-bugs-address="$msgid_bugs_address" \
;; \
*) \
/usr/bin/xgettext --default-domain=bino --directory=.. \
--add-comments=TRANSLATORS: --keyword=_ --keyword=N_ \
--files-from=./POTFILES.in \
--copyright-holder='The Bino developers' \
--package-name="${package_prefix}bino" \
--package-version='1.6.1' \
--msgid-bugs-address="$msgid_bugs_address" \
;; \
esac
test ! -f bino.po || { \
if test -f ./bino.pot; then \
sed -f remove-potcdate.sed < ./bino.pot > bino.1po && \
sed -f remove-potcdate.sed < bino.po > bino.2po && \
if cmp bino.1po bino.2po >/dev/null 2>&1; then \
rm -f bino.1po bino.2po bino.po; \
else \
rm -f bino.1po bino.2po ./bino.pot && \
mv bino.po ./bino.pot; \
fi; \
else \
mv bino.po ./bino.pot; \
fi; \
}
make[2]: Leaving directory `/home/sebas/devel/bino2/bino-1.6.1/po'
test -z "bg.po-update de.po-update fr.po-update ru.po-update zh_cn.po-update" || make bg.po-update de.po-update fr.po-update ru.po-update zh_cn.po-update
make[2]: Entering directory `/home/sebas/devel/bino2/bino-1.6.1/po'
bg:
msgmerge --lang=bg bg.po bino.pot -o bg.new.po
............................................ done.
de:
msgmerge --lang=de de.po bino.pot -o de.new.po
............................................ done.
fr:
msgmerge --lang=fr fr.po bino.pot -o fr.new.po
............................................ done.
ru:
msgmerge --lang=ru ru.po bino.pot -o ru.new.po
............................................ done.
zh_cn:
msgmerge --lang=zh_cn zh_cn.po bino.pot -o zh_cn.new.po
............................................ done.
make[2]: Leaving directory `/home/sebas/devel/bino2/bino-1.6.1/po'
make update-gmo
make[2]: Entering directory `/home/sebas/devel/bino2/bino-1.6.1/po'
make[2]: Leaving directory `/home/sebas/devel/bino2/bino-1.6.1/po'
make[1]: Leaving directory `/home/sebas/devel/bino2/bino-1.6.1/po'
make[1]: Entering directory `/home/sebas/devel/bino2/bino-1.6.1'
if test -z 'i686-w64-mingw32.static-strip'; then \
make INSTALL_PROGRAM="/bin/sh /home/sebas/devel/bino2/bino-1.6.1/build-aux/install-sh -c -s" \
install_sh_PROGRAM="/bin/sh /home/sebas/devel/bino2/bino-1.6.1/build-aux/install-sh -c -s" INSTALL_STRIP_FLAG=-s \
install; \
else \
make INSTALL_PROGRAM="/bin/sh /home/sebas/devel/bino2/bino-1.6.1/build-aux/install-sh -c -s" \
install_sh_PROGRAM="/bin/sh /home/sebas/devel/bino2/bino-1.6.1/build-aux/install-sh -c -s" INSTALL_STRIP_FLAG=-s \
"INSTALL_PROGRAM_ENV=STRIPPROG='i686-w64-mingw32.static-strip'" install; \
fi
make[2]: Entering directory `/home/sebas/devel/bino2/bino-1.6.1'
Making install in po
make[3]: Entering directory `/home/sebas/devel/bino2/bino-1.6.1/po'
if test "bino" = "gettext-tools"; then \
/usr/bin/mkdir -p /tmp/tmp.AZKyQfGpDW/share/gettext/po; \
for file in
Makefile.in.in remove-potcdate.sin quot.sed boldquot.sed address@hidden address@hidden insert-header.sin Rules-quot Makevars.template; do \
/usr/bin/install -c -m 644 ./$file \
/tmp/tmp.AZKyQfGpDW/share/gettext/po/$file; \
done; \
for file in Makevars; do \
rm -f /tmp/tmp.AZKyQfGpDW/share/gettext/po/$file; \
done; \
else \
: ; \
fi
make[3]: Leaving directory `/home/sebas/devel/bino2/bino-1.6.1/po'
Making install in src
make[3]: Entering directory `/home/sebas/devel/bino2/bino-1.6.1/src'
make install-recursive
make[4]: Entering directory `/home/sebas/devel/bino2/bino-1.6.1/src'
Making install in base
make[5]: Entering directory `/home/sebas/devel/bino2/bino-1.6.1/src/base'
make[6]: Entering directory `/home/sebas/devel/bino2/bino-1.6.1/src/base'
make[6]: Nothing to be done for `install-exec-am'.
make[6]: Nothing to be done for `install-data-am'.
make[6]: Leaving directory `/home/sebas/devel/bino2/bino-1.6.1/src/base'
make[5]: Leaving directory `/home/sebas/devel/bino2/bino-1.6.1/src/base'
make[5]: Entering directory `/home/sebas/devel/bino2/bino-1.6.1/src'
make[6]: Entering directory `/home/sebas/devel/bino2/bino-1.6.1/src'
/usr/bin/mkdir -p '/tmp/tmp.AZKyQfGpDW'
STRIPPROG='i686-w64-mingw32.static-strip' /bin/sh /home/sebas/devel/bino2/bino-1.6.1/build-aux/install-sh -c -s bino.exe '/tmp/tmp.AZKyQfGpDW'
/usr/bin/mkdir -p '/tmp/tmp.AZKyQfGpDW/share/applications'
/usr/bin/install -c -m 644 bino.desktop '/tmp/tmp.AZKyQfGpDW/share/applications'
/usr/bin/mkdir -p '/tmp/tmp.AZKyQfGpDW/share/icons/hicolor/16x16/apps'
/usr/bin/install -c -m 644 logo/16x16/bino.png '/tmp/tmp.AZKyQfGpDW/share/icons/hicolor/16x16/apps'
/usr/bin/mkdir -p '/tmp/tmp.AZKyQfGpDW/share/icons/hicolor/32x32/apps'
/usr/bin/install -c -m 644 logo/32x32/bino.png '/tmp/tmp.AZKyQfGpDW/share/icons/hicolor/32x32/apps'
/usr/bin/mkdir -p '/tmp/tmp.AZKyQfGpDW/share/icons/hicolor/48x48/apps'
/usr/bin/install -c -m 644 logo/48x48/bino.png '/tmp/tmp.AZKyQfGpDW/share/icons/hicolor/48x48/apps'
/usr/bin/mkdir -p '/tmp/tmp.AZKyQfGpDW/share/icons/hicolor/64x64/apps'
/usr/bin/install -c -m 644 logo/64x64/bino.png '/tmp/tmp.AZKyQfGpDW/share/icons/hicolor/64x64/apps'
/usr/bin/mkdir -p '/tmp/tmp.AZKyQfGpDW/share/icons/hicolor/scalable/apps'
/usr/bin/install -c -m 644 logo/scalable/bino.svg '/tmp/tmp.AZKyQfGpDW/share/icons/hicolor/scalable/apps'
make install-data-hook
make[7]: Entering directory `/home/sebas/devel/bino2/bino-1.6.1/src'
test -n "" -o -z "gtk-update-icon-cache" || (umask 022 && gtk-update-icon-cache -q -f -t "/tmp/tmp.AZKyQfGpDW/share/icons/hicolor")
test -n "" -o -z "" || (umask 022 && "/tmp/tmp.AZKyQfGpDW/share/applications")
make[7]: Leaving directory `/home/sebas/devel/bino2/bino-1.6.1/src'
make[6]: Leaving directory `/home/sebas/devel/bino2/bino-1.6.1/src'
make[5]: Leaving directory `/home/sebas/devel/bino2/bino-1.6.1/src'
make[4]: Leaving directory `/home/sebas/devel/bino2/bino-1.6.1/src'
make[3]: Leaving directory `/home/sebas/devel/bino2/bino-1.6.1/src'
Making install in doc
make[3]: Entering directory `/home/sebas/devel/bino2/bino-1.6.1/doc'
make[4]: Entering directory `/home/sebas/devel/bino2/bino-1.6.1/doc'
make[4]: Nothing to be done for `install-exec-am'.
/usr/bin/mkdir -p '/tmp/tmp.AZKyQfGpDW/doc'
/usr/bin/install -c -m 644 bino.html multi-display-vrlab.jpg multi-display-rotated.jpg gamma-pattern-tb.png crosstalk-pattern-tb.png input-layout-mono.png input-layout-separate-left-right.png input-layout-separate-right-left.png input-layout-alternating-left-right.png input-layout-alternating-right-left.png input-layout-top-bottom.png input-layout-top-bottom-half.png input-layout-bottom-top.png input-layout-bottom-top-half.png input-layout-left-right.png input-layout-left-right-half.png input-layout-right-left.png input-layout-right-left-half.png input-layout-even-odd-rows.png input-layout-odd-even-rows.png output-type-stereo.png output-type-alternating.png output-type-mono-left.png output-type-mono-right.png output-type-top-bottom.png output-type-top-bottom-half.png output-type-left-right.png output-type-left-right-half.png output-type-even-odd-rows.png output-type-even-odd-columns.png output-type-checkerboard.png output-type-hdmi-frame-pack.png output-type-red-cyan.png output-type-green-magenta.png output-type-amber-blue.png output-type-red-green.png output-type-red-blue.png audio-video-sync.mp4 '/tmp/tmp.AZKyQfGpDW/doc'
/usr/bin/mkdir -p '/tmp/tmp.AZKyQfGpDW/share/info'
/usr/bin/install -c -m 644 ./
bino.info '/tmp/tmp.AZKyQfGpDW/share/info'
install-info --info-dir='/tmp/tmp.AZKyQfGpDW/share/info' '/tmp/tmp.AZKyQfGpDW/share/info/
bino.info'
/usr/bin/mkdir -p '/tmp/tmp.AZKyQfGpDW/share/man/man1'
/usr/bin/install -c -m 644 bino.1 '/tmp/tmp.AZKyQfGpDW/share/man/man1'
make[4]: Leaving directory `/home/sebas/devel/bino2/bino-1.6.1/doc'
make[3]: Leaving directory `/home/sebas/devel/bino2/bino-1.6.1/doc'
make[3]: Entering directory `/home/sebas/devel/bino2/bino-1.6.1'
make[4]: Entering directory `/home/sebas/devel/bino2/bino-1.6.1'
make[4]: Nothing to be done for `install-exec-am'.
make[4]: Nothing to be done for `install-data-am'.
make[4]: Leaving directory `/home/sebas/devel/bino2/bino-1.6.1'
make[3]: Leaving directory `/home/sebas/devel/bino2/bino-1.6.1'
make[2]: Leaving directory `/home/sebas/devel/bino2/bino-1.6.1'
make[1]: Leaving directory `/home/sebas/devel/bino2/bino-1.6.1'
MakeNSIS v17-Nov-2014.cvs - Copyright 1995-2009 Contributors
See the file COPYING for license details.
Credits can be found in the Users Manual.
Command line defined: "PACKAGE_VERSION=1.6.1"
Processing config:
Processing plugin dlls: "/home/sebas/devel/mxe/usr/i686-w64-mingw32.static/share/nsis/Plugins/*.dll"
- AdvSplash::show
- Banner::destroy
- Banner::getWindow
- Banner::show
- BgImage::AddImage
- BgImage::AddText
- BgImage::Clear
- BgImage::Destroy
- BgImage::Redraw
- BgImage::SetBg
- BgImage::SetReturn
- BgImage::Sound
- Dialer::AttemptConnect
- Dialer::AutodialHangup
- Dialer::AutodialOnline
- Dialer::AutodialUnattended
- Dialer::GetConnectedState
- InstallOptions::dialog
- InstallOptions::initDialog
- InstallOptions::show
- LangDLL::LangDialog
- Math::Script
- NSISdl::download
- NSISdl::download_quiet
- Splash::show
- StartMenu::Init
- StartMenu::Select
- StartMenu::Show
- System::Alloc
- System::Call
- System::Copy
- System::Free
- System::Get
- System::Int64Op
- System::Store
- TypeLib::GetLibVersion
- TypeLib::Register
- TypeLib::UnRegister
- UserInfo::GetAccountType
- UserInfo::GetName
- UserInfo::GetOriginalAccountType
- VPatch::GetFileCRC32
- VPatch::GetFileMD5
- VPatch::vpatchfile
- nsDialogs::Create
- nsDialogs::CreateControl
- nsDialogs::CreateItem
- nsDialogs::CreateTimer
- nsDialogs::GetUserData
- nsDialogs::KillTimer
- nsDialogs::OnBack
- nsDialogs::OnChange
- nsDialogs::OnClick
- nsDialogs::OnNotify
- nsDialogs::SelectFileDialog
- nsDialogs::SelectFolderDialog
- nsDialogs::SetRTL
- nsDialogs::SetUserData
- nsDialogs::Show
- nsExec::Exec
- nsExec::ExecToLog
- nsExec::ExecToStack
!define: "MUI_INSERT_NSISCONF"=""
Changing directory to: "/tmp/tmp.AZKyQfGpDW"
Processing script file: "/tmp/tmp.AZKyQfGpDW/bino.nsi"
!include: "/home/sebas/devel/mxe/usr/i686-w64-mingw32.static/share/nsis/Include/MUI.nsh"
!include: "/home/sebas/devel/mxe/usr/i686-w64-mingw32.static/share/nsis/Contrib/Modern UI/System.nsh"
NSIS Modern User Interface version 1.8 - Copyright 2002-2009 Joost Verburg (/home/sebas/devel/mxe/usr/i686-w64-mingw32.static/share/nsis/Contrib/Modern UI/System.nsh:8)
!define: "MUI_INCLUDED"=""
!define: "MUI_SYSVERSION"="1.8"
!define: "MUI_VERBOSE"="3"
!include: closed: "/home/sebas/devel/mxe/usr/i686-w64-mingw32.static/share/nsis/Contrib/Modern UI/System.nsh"
!include: closed: "/home/sebas/devel/mxe/usr/i686-w64-mingw32.static/share/nsis/Include/MUI.nsh"
Name: "Bino"
OutFile: "bino-1.6.1-w32.exe"
InstallDir: "$PROGRAMFILES\Bino"
InstallRegKey: "HKLM\Software\Bino\Install_Dir"
SetCompressor: lzma
ShowInstDetails: show
Var: "MUI_TEMP"
Var: "STARTMENU_FOLDER"
!define: "MUI_ABORTWARNING"=""
!define: "MUI_ICON"="bino_logo.ico"
!insertmacro: MUI_PAGE_WELCOME
!insertmacro: end of MUI_PAGE_WELCOME
!insertmacro: MUI_PAGE_LICENSE
!insertmacro: end of MUI_PAGE_LICENSE
!insertmacro: MUI_PAGE_LICENSE
!insertmacro: end of MUI_PAGE_LICENSE
!insertmacro: MUI_PAGE_DIRECTORY
!insertmacro: end of MUI_PAGE_DIRECTORY
!define: "MUI_STARTMENUPAGE_REGISTRY_ROOT"="HKCU"
!define: "MUI_STARTMENUPAGE_REGISTRY_KEY"="Software\Bino"
!define: "MUI_STARTMENUPAGE_REGISTRY_VALUENAME"="Start Menu Folder"
!insertmacro: MUI_PAGE_STARTMENU
!insertmacro: end of MUI_PAGE_STARTMENU
!insertmacro: MUI_PAGE_INSTFILES
!insertmacro: end of MUI_PAGE_INSTFILES
!insertmacro: MUI_PAGE_FINISH
!insertmacro: end of MUI_PAGE_FINISH
!insertmacro: MUI_UNPAGE_CONFIRM
!insertmacro: end of MUI_UNPAGE_CONFIRM
!insertmacro: MUI_UNPAGE_INSTFILES
!insertmacro: end of MUI_UNPAGE_INSTFILES
!insertmacro: MUI_LANGUAGE
!insertmacro: end of MUI_LANGUAGE
!insertmacro: MUI_LANGUAGE
!insertmacro: end of MUI_LANGUAGE
!insertmacro: MUI_LANGUAGE
!insertmacro: end of MUI_LANGUAGE
!insertmacro: MUI_LANGUAGE
!insertmacro: end of MUI_LANGUAGE
!insertmacro: MUI_LANGUAGE
!insertmacro: end of MUI_LANGUAGE
!insertmacro: MUI_LANGUAGE
!insertmacro: end of MUI_LANGUAGE
Section: "Bino Program" ->(SecTools)
SetOutPath: "$INSTDIR\bin"
File: "bino.exe" [compress] 13935126/40697856 bytes
SetOutPath: "$INSTDIR\locale\bg\LC_MESSAGES"
File: "bg\LC_MESSAGES\bino.mo" -> no files found.
Usage: File [/nonfatal] [/a] ([/r] [/x filespec [...]] filespec [...] |
/ one_file_only)
Error in script "/tmp/tmp.AZKyQfGpDW/bino.nsi" on line 67 -- aborting creation process
make: *** [package-w32] Error 1