Re: [Mixxx-devel] TESTERS NEEDED: New windows installer

2016-01-02 Thread Sébastien Blaisot

Hi jus,

Thanks for your pointers.

Yes, all translatable strings are in wxl files. They are located in 
build/wix/Localization.

They are named mixxx_en-us.wxl where en-us is the language.

I also found
http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/WiX-wxl-support-at-Transifex-td7517594.html
https://github.com/transifex/transifex/issues/59
so transifex doesn't have wxl support yet and I dont have the python 
skills nor time needed to contribute that to transifex.


So we will need to use an intermediate format.

The format is really simple and it should be easy to extract the strings.
I didn't find at first look how to download and use okapi but I will 
take a closer look.


regards,

sb


Le 02/01/2016 21:36, S.Brandt a écrit :
Reading [1] and [2], i understand that we need the wix toolset to 
extract *.wxl translation templates for each language to be supported.

Unfortunately, Transifex does not support the wxl format for import [3].
Might be possible to convert wxl templates to a format Transifex 
supports, and vis-a-vis after translation, using the Okapi framework 
[4] though.

Can investigate tomorrow (CET) if needed.

[1] 
http://wixtoolset.org/documentation/manual/v3/howtos/ui_and_localization/build_a_localized_version.html
[2] 
http://wixtoolset.org/documentation/manual/v3/wixui/wixui_localization.html 


[3] http://docs.transifex.com/formats/
[4] http://www.opentag.com/okapi/wiki/index.php?title=Filters

jus

On Jan 2, 2016, at 6:38 PM, Sébastien Blaisot > wrote:


I built english and french installers, but I will need more 
translations. Can somebody explain me how to extract strings and make 
a file suitable for transifex ?

We can maybe publish it to transifex as a new resource ?




--
___
Get Mixxx, the #1 Free MP3 DJ Mixing software Today
http://mixxx.org


Mixxx-devel mailing list
Mixxx-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mixxx-devel

Re: [Mixxx-devel] TESTERS NEEDED: New windows installer

2016-01-02 Thread S.Brandt
Reading [1] and [2], i understand that we need the wix toolset to extract *.wxl 
translation templates for each language to be supported.
Unfortunately, Transifex does not support the wxl format for import [3].
Might be possible to convert wxl templates to a format Transifex supports, and 
vis-a-vis after translation, using the Okapi framework [4] though.
Can investigate tomorrow (CET) if needed.  

[1] 
http://wixtoolset.org/documentation/manual/v3/howtos/ui_and_localization/build_a_localized_version.html
 

[2] http://wixtoolset.org/documentation/manual/v3/wixui/wixui_localization.html 

[3] http://docs.transifex.com/formats/ 
[4] http://www.opentag.com/okapi/wiki/index.php?title=Filters 


jus

> On Jan 2, 2016, at 6:38 PM, Sébastien Blaisot  wrote:
> 
> I built english and french installers, but I will need more translations. Can 
> somebody explain me how to extract strings and make a file suitable for 
> transifex ?
> We can maybe publish it to transifex as a new resource ?

--
___
Get Mixxx, the #1 Free MP3 DJ Mixing software Today
http://mixxx.org


Mixxx-devel mailing list
Mixxx-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mixxx-devel

Re: [Mixxx-devel] build on linux

2016-01-02 Thread Daniel Schürmann
Hi Zezinho

Thank you for the report. I have just filed
https://bugs.launchpad.net/mixxx/+bug/1530573

It is suspicious that  libopus.so.0 is unused.
It seams you have the libopus but not the libopusfile.
Both is required for opus support.



Am 02.01.2016 um 20:58 schrieb zezinho:
> Em 02-01-2016 18:01, RJ Ryan escreveu:
>> A few notes:
>> * djconsole, script, midiscript, hifieq, tonal, and rawmidi no longer
>> exist as build flags
>> * please add build=release -- the default is a debug build, and in this
>> mode Mixxx performance suffers considerably as we have many debug
>> assertions in hot loops, etc.
>> * optimize=portable is the best optimize setting to use, optimize=0 will
>> also slow Mixxx down severely. We only use portable optimization flags
>> when this mode is enabled.
> Done, all this was good to know. Our build system also does some quality 
> tests, maybe overlinking. Here is the warnings I get
>
>
> Warning: unused libraries in 
> /usr/lib/mixxx/plugins/vamp/libmixxxminimal.so: libportmidi.so 
> libQtOpenGL.so.4 libQtXml.so.4 libQtSvg.so.4 libQtSql.so.4 
> libQtXmlPatterns.so.4 libQtNetwork.so.4  libQtTest.so.4 
> libQtScriptTools.so.4 libQtGui.so.4 libQtScript.so.4 libQtCore.so.4 
> libsndfile.so.1 libFLAC.so.8 libvorbisfile.so.3 libvorbis.so.0 
> libogg.so.0 libvorbisenc.so.2 libGL.so.1 libGLU.so.1 libtag.so.1 
> libprotobuf-lite.so.9 libchromaprint.so.0 librubberband.so.2 libmad.so.0 
> libid3tag.so.0 libpthread.so.0 librt.so.1 libusb-1.0.so.0 libshout.so.3 
> libopusfile.so.0 libopus.so.0 libdl.so.2 libX11.so.6 libfftw3.so.3 
> libsqlite3.so.0
>
> Warning: unused libraries in /usr/bin/mixxx: libQtTest.so.4 libGLU.so.1 
> libopus.so.0
>
>
> Full logs below for 48h :
>
> http://pkgsubmit.mageia.org/uploads/done/cauldron/core/release/20160102191456.zezinho.valstar.27580/
>
> --
> ___
> Get Mixxx, the #1 Free MP3 DJ Mixing software Today
> http://mixxx.org
>
>
> Mixxx-devel mailing list
> Mixxx-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/mixxx-devel


--
___
Get Mixxx, the #1 Free MP3 DJ Mixing software Today
http://mixxx.org


Mixxx-devel mailing list
Mixxx-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mixxx-devel


Re: [Mixxx-devel] build on linux

2016-01-02 Thread Sébastien Blaisot

it looks like our build script doesn't like filenames that contain a space :

grep: 
/home/iurt/rpmbuild/BUILDROOT/mixxx-2.0.0-3.mga6.x86_64/usr/share/mixxx/controllers/Hercules:
 No such file or directory
grep: DJ: No such file or directory
grep: Control: No such file or directory
grep: MP3: No such file or directory
grep: e2-scripts.js: No such file or directory
pcregrep: Failed to open 
/home/iurt/rpmbuild/BUILDROOT/mixxx-2.0.0-3.mga6.x86_64/usr/share/mixxx/controllers/Hercules:
 No such file or directory
pcregrep: Failed to open DJ: No such file or directory
pcregrep: Failed to open Control: No such file or directory
pcregrep: Failed to open MP3: No such file or directory
pcregrep: Failed to open e2-scripts.js: No such file or directory


I don't know if this is really a problem with the final rpm.

sb

Le 02/01/2016 20:58, zezinho a écrit :
> Em 02-01-2016 18:01, RJ Ryan escreveu:
>> A few notes:
>> * djconsole, script, midiscript, hifieq, tonal, and rawmidi no longer
>> exist as build flags
>> * please add build=release -- the default is a debug build, and in this
>> mode Mixxx performance suffers considerably as we have many debug
>> assertions in hot loops, etc.
>> * optimize=portable is the best optimize setting to use, optimize=0 will
>> also slow Mixxx down severely. We only use portable optimization flags
>> when this mode is enabled.
> Done, all this was good to know. Our build system also does some quality
> tests, maybe overlinking. Here is the warnings I get
>
>
> Warning: unused libraries in
> /usr/lib/mixxx/plugins/vamp/libmixxxminimal.so: libportmidi.so
> libQtOpenGL.so.4 libQtXml.so.4 libQtSvg.so.4 libQtSql.so.4
> libQtXmlPatterns.so.4 libQtNetwork.so.4  libQtTest.so.4
> libQtScriptTools.so.4 libQtGui.so.4 libQtScript.so.4 libQtCore.so.4
> libsndfile.so.1 libFLAC.so.8 libvorbisfile.so.3 libvorbis.so.0
> libogg.so.0 libvorbisenc.so.2 libGL.so.1 libGLU.so.1 libtag.so.1
> libprotobuf-lite.so.9 libchromaprint.so.0 librubberband.so.2 libmad.so.0
> libid3tag.so.0 libpthread.so.0 librt.so.1 libusb-1.0.so.0 libshout.so.3
> libopusfile.so.0 libopus.so.0 libdl.so.2 libX11.so.6 libfftw3.so.3
> libsqlite3.so.0
>
> Warning: unused libraries in /usr/bin/mixxx: libQtTest.so.4 libGLU.so.1
> libopus.so.0
>
>
> Full logs below for 48h :
>
> http://pkgsubmit.mageia.org/uploads/done/cauldron/core/release/20160102191456.zezinho.valstar.27580/
>
> --
> ___
> Get Mixxx, the #1 Free MP3 DJ Mixing software Today
> http://mixxx.org
>
>
> Mixxx-devel mailing list
> Mixxx-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/mixxx-devel


--
___
Get Mixxx, the #1 Free MP3 DJ Mixing software Today
http://mixxx.org


Mixxx-devel mailing list
Mixxx-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mixxx-devel


Re: [Mixxx-devel] build on linux

2016-01-02 Thread zezinho
Em 02-01-2016 18:01, RJ Ryan escreveu:
> A few notes:
> * djconsole, script, midiscript, hifieq, tonal, and rawmidi no longer
> exist as build flags
> * please add build=release -- the default is a debug build, and in this
> mode Mixxx performance suffers considerably as we have many debug
> assertions in hot loops, etc.
> * optimize=portable is the best optimize setting to use, optimize=0 will
> also slow Mixxx down severely. We only use portable optimization flags
> when this mode is enabled.

Done, all this was good to know. Our build system also does some quality 
tests, maybe overlinking. Here is the warnings I get


Warning: unused libraries in 
/usr/lib/mixxx/plugins/vamp/libmixxxminimal.so: libportmidi.so 
libQtOpenGL.so.4 libQtXml.so.4 libQtSvg.so.4 libQtSql.so.4 
libQtXmlPatterns.so.4 libQtNetwork.so.4  libQtTest.so.4 
libQtScriptTools.so.4 libQtGui.so.4 libQtScript.so.4 libQtCore.so.4 
libsndfile.so.1 libFLAC.so.8 libvorbisfile.so.3 libvorbis.so.0 
libogg.so.0 libvorbisenc.so.2 libGL.so.1 libGLU.so.1 libtag.so.1 
libprotobuf-lite.so.9 libchromaprint.so.0 librubberband.so.2 libmad.so.0 
libid3tag.so.0 libpthread.so.0 librt.so.1 libusb-1.0.so.0 libshout.so.3 
libopusfile.so.0 libopus.so.0 libdl.so.2 libX11.so.6 libfftw3.so.3 
libsqlite3.so.0

Warning: unused libraries in /usr/bin/mixxx: libQtTest.so.4 libGLU.so.1 
libopus.so.0


Full logs below for 48h :

http://pkgsubmit.mageia.org/uploads/done/cauldron/core/release/20160102191456.zezinho.valstar.27580/

--
___
Get Mixxx, the #1 Free MP3 DJ Mixing software Today
http://mixxx.org


Mixxx-devel mailing list
Mixxx-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mixxx-devel


Re: [Mixxx-devel] TESTERS NEEDED: New windows installer

2016-01-02 Thread Sébastien Blaisot


ok, I've done some more work on the wix installer.

Can you test with this version :
https://owncloud.blaisot.org/index.php/s/GXkJvExdwTOe0qT

It's not really polished, the main issue is that it forbid you to 
install if it finds an older installation to avoid the conflicts you've 
seen on former test.


I built english and french installers, but I will need more 
translations. Can somebody explain me how to extract strings and make a 
file suitable for transifex ?

We can maybe publish it to transifex as a new resource ?

Every feedback is welcome, I'll try to do my best to address them.

Thanks in advance,

Sébastien

Le 19/11/2015 10:56, Sébastien BLAISOT a écrit :






2015-11-19 1:14 GMT+01:00 Sébastien Blaisot >:


Hi all,

I finally got wix to build an installer package for Mixxx and
with the
help of Pegasus, I have my build env fixed.

So here you will find installer for 2.0-rc1-1.12-git5627 :
https://owncloud.blaisot.org/index.php/s/nyEDsb0vEV7aa1m

There are 6 files.
The exe ones are old installers built with NSIS (same as what you can
download from the mixxx site except it was built on my own build env)
The MSI ones are new installers built with wix (a preview of what
could
be the future installer)

MSI installer are built in 2 languages (french and english, no other
translation made at that time) and 2 bitwidth (32 and 64 bits)

What I need is testers to tell me what needs to be polished in
the MSI
installers.

I need you to test all use-cases that you can have in mind, even
crazy
ones like installing 64 bits mixxx on a 32 bits system, installing on
top of a previous installation and so on.
And also testing bare-metal install on a computer without mixxx
installed, uninstalling (is there something left behind ?).

I also need to test it on older versions of windows, so if you
have an
old windows XP or even pre-XP system, please let me know how the
installer works on that system.

please let me know also what you think of this new installer.

These new installer won't be ready for Mixxx 2.0, but I need you
to test
it with Mixxx 2.0 because it will let me implement and test the
upgrade
path when time will come for a 2.1, starting from an older version.

Thanks in advance,

Sébastien





--
___
Get Mixxx, the #1 Free MP3 DJ Mixing software Today
http://mixxx.org


Mixxx-devel mailing list
Mixxx-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mixxx-devel

Re: [Mixxx-devel] build on linux

2016-01-02 Thread RJ Ryan
Thanks -- that's helpful!

A few notes:
* djconsole, script, midiscript, hifieq, tonal, and rawmidi no longer exist
as build flags
* please add build=release -- the default is a debug build, and in this
mode Mixxx performance suffers considerably as we have many debug
assertions in hot loops, etc.
* optimize=portable is the best optimize setting to use, optimize=0 will
also slow Mixxx down severely. We only use portable optimization flags when
this mode is enabled.

Best regards,
RJ


On Sat, Jan 2, 2016 at 11:33 AM, zezinho  wrote:

> Em 02-01-2016 17:03, RJ Ryan escreveu:
>
>> Hm LIBDIR=/usr/lib64 isn't quite right since we join the prefix with it
>> so that would result in /usr/usr/lib64
>> LIBDIR=lib64 should be the right fix -- though I'm confused about your
>> UNIX_LIB_PATH issue since that is also built using LIBDIR.
>>
>
> You are right, I wrote too fast. You can see how we build mixxx from line
> 57 here :
>
>
> http://svnweb.mageia.org/packages/cauldron/mixxx/current/SPECS/mixxx.spec?view=markup
>
> Two sed lines change the QTDIR path, I suppose this could also be done
> through an ENV var?
>
--
___
Get Mixxx, the #1 Free MP3 DJ Mixing software Today
http://mixxx.org


Mixxx-devel mailing list
Mixxx-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mixxx-devel

Re: [Mixxx-devel] build on linux

2016-01-02 Thread zezinho
Em 02-01-2016 17:03, RJ Ryan escreveu:
> Hm LIBDIR=/usr/lib64 isn't quite right since we join the prefix with it
> so that would result in /usr/usr/lib64
> LIBDIR=lib64 should be the right fix -- though I'm confused about your
> UNIX_LIB_PATH issue since that is also built using LIBDIR.

You are right, I wrote too fast. You can see how we build mixxx from 
line 57 here :

http://svnweb.mageia.org/packages/cauldron/mixxx/current/SPECS/mixxx.spec?view=markup

Two sed lines change the QTDIR path, I suppose this could also be done 
through an ENV var?

--
___
Get Mixxx, the #1 Free MP3 DJ Mixing software Today
http://mixxx.org


Mixxx-devel mailing list
Mixxx-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mixxx-devel


Re: [Mixxx-devel] build on linux

2016-01-02 Thread Sébastien Blaisot
Le 02/01/2016 17:03, RJ Ryan a écrit :
> Hm LIBDIR=/usr/lib64 isn't quite right since we join the prefix with 
> it so that would result in /usr/usr/lib64 

hummm, by default, prefix=/usr/local
https://github.com/mixxxdj/mixxx/blob/1.12/build/mixxx.py#L383

we use /usr in debian build rules
https://github.com/mixxxdj/mixxx/blob/1.12/build/debian/rules#L43

so it would, by default, result to /usr/local/usr/lib64 if I understand 
correctly.

so I think it should be
LIBDIR=/lib64 scons prefix=/usr ...

sb

--
___
Get Mixxx, the #1 Free MP3 DJ Mixing software Today
http://mixxx.org


Mixxx-devel mailing list
Mixxx-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mixxx-devel


Re: [Mixxx-devel] build on linux

2016-01-02 Thread zezinho
Em 02-01-2016 12:46, Sébastien Blaisot escreveu:
> However, it seems that the screenshots are from an older version.
> Is it possible to update them ?

Sorry, we reuse Debian work, so it will get updated when they approve my 
upload :

https://screenshots.debian.net/package/mixxx

--
___
Get Mixxx, the #1 Free MP3 DJ Mixing software Today
http://mixxx.org


Mixxx-devel mailing list
Mixxx-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mixxx-devel


Re: [Mixxx-devel] build on linux

2016-01-02 Thread RJ Ryan
Hm LIBDIR=/usr/lib64 isn't quite right since we join the prefix with it so
that would result in /usr/usr/lib64
LIBDIR=lib64 should be the right fix -- though I'm confused about your
UNIX_LIB_PATH issue since that is also built using LIBDIR.

On Sat, Jan 2, 2016 at 6:24 AM, zezinho  wrote:

> Em 02-01-2016 10:43, Daniel Schürmann escreveu:
> > Hi Zezinho,
> >
> > I think it is:
> >
> > LIBDIR=/usr/lib64 scons ...
> >
> > though I have not tested it yet.
>
> Thanks, it works now. But I think some glue misses, as the LINKFLAGS are
> already in lib64 even without LIBDIR :
>
> Building with LINKFLAGS: -Wl,-rpath,/usr/lib64 -L/usr/lib64 -pthread
>
>
> Anyway, it is ready for Mageia 6 :
>
>
> http://madb.mageia.org/package/show/source/1/application/0/release/cauldron/name/mixxx
>
>
> --
> ___
> Get Mixxx, the #1 Free MP3 DJ Mixing software Today
> http://mixxx.org
>
>
> Mixxx-devel mailing list
> Mixxx-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/mixxx-devel
>
--
___
Get Mixxx, the #1 Free MP3 DJ Mixing software Today
http://mixxx.org


Mixxx-devel mailing list
Mixxx-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mixxx-devel

Re: [Mixxx-devel] build on linux

2016-01-02 Thread Sébastien Blaisot
Le 02/01/2016 12:24, zezinho a écrit :
> Anyway, it is ready for Mageia 6 :
>
> http://madb.mageia.org/package/show/source/1/application/0/release/cauldron/name/mixxx

Thanks.

However, it seems that the screenshots are from an older version.
Is it possible to update them ?

Thanks for your work to package Mixxx for Mageia

Best regards,

sb

--
___
Get Mixxx, the #1 Free MP3 DJ Mixing software Today
http://mixxx.org


Mixxx-devel mailing list
Mixxx-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mixxx-devel


Re: [Mixxx-devel] build on linux

2016-01-02 Thread zezinho
Em 02-01-2016 10:43, Daniel Schürmann escreveu:
> Hi Zezinho,
>
> I think it is:
>
> LIBDIR=/usr/lib64 scons ...
>
> though I have not tested it yet.

Thanks, it works now. But I think some glue misses, as the LINKFLAGS are 
already in lib64 even without LIBDIR :

Building with LINKFLAGS: -Wl,-rpath,/usr/lib64 -L/usr/lib64 -pthread


Anyway, it is ready for Mageia 6 :

http://madb.mageia.org/package/show/source/1/application/0/release/cauldron/name/mixxx

--
___
Get Mixxx, the #1 Free MP3 DJ Mixing software Today
http://mixxx.org


Mixxx-devel mailing list
Mixxx-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mixxx-devel


Re: [Mixxx-devel] build on linux

2016-01-02 Thread zezinho
Em 01-01-2016 18:57, Daniel Schürmann escreveu:
> Hi Zezinho,
>
> It is located here:
> https://github.com/mixxxdj/mixxx/blob/1.12/src/SConscript#L306
> and:
> https://github.com/mixxxdj/mixxx/blob/1.12/src/SConscript#L300
>
> I think you have to set the environment variable LIBDIR to lib64
>
> I wonder how it works on my system.
> Is there anything we can improve?

I have tried adding LIBDIR, but this is not the problem as you can see 
in the log below : it builds with LINKFLAGS /usr/lib64 but still has 
-DUNIX_LIB_PATH=\"/usr/lib/mixxx\"

I could not override this with an UNIX_LIB_PATH=/usr/lib64 ...


Start of build log :


Building with flags: asan=0 autodjcrates=1 buildtime=1 bulk=1 color=0 
coreaudio=0 faad=0 ffmpeg=0 hid=1 hss1394=0 ipod=0 localecompare=1 
macappstore=0 mad=1 mediafoundation=0 modplug=0 optimize=off opus=1 
perftools=0 perftools_profiler=0 profiling=0 qdebug=1 qt_sqlite_plugin=0 
shoutcast=1 test=False vamp=1 verbose=1 vinylcontrol=1 wv=0
Building with CC: gcc
Building with CXX: g++
Building with CCFLAGS: -pipe -Wall -Wextra -g -pthread
Building with CPPDEFINES: -Dx86_64 -DMIXXX_BUILD_DEBUG -D__LINUX__ 
-D__UNIX__ -DSETTINGS_PATH=\".mixxx/\" -DSETTINGS_FILE=\"mixxx.cfg\" 
-DUNIX_SHARE_PATH=\"/usr/share/mixxx\" 
-DUNIX_LIB_PATH=\"/usr/lib/mixxx\" 
-DSOUNDTOUCH_DISABLE_X86_OPTIMIZATIONS -D__PORTAUDIO__ -DQT_SHARED 
-DQT_TABLET_SUPPORT -DQT_CORE_LIB -DQT_GUI_LIB -DQT_OPENGL_LIB 
-DQT_XML_LIB -DQT_SVG_LIB -DQT_SQL_LIB -DQT_SCRIPT_LIB -DQT_NETWORK_LIB 
-DQT_SHARED -D__SNDFILE__ -D__MAD__ -D__HID__ -D__BULK__ 
-D__VINYLCONTROL__ -D__SHOUTCAST__ -D__OPUS__ -DHAVE_FFTW3 
-D__AUTODJCRATES__ -D__SQLITE3__
Building with CXXFLAGS:
Building with LINKFLAGS: -Wl,-rpath,/usr/lib64 -L/usr/lib64 -pthread


--
___
Get Mixxx, the #1 Free MP3 DJ Mixing software Today
http://mixxx.org


Mixxx-devel mailing list
Mixxx-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mixxx-devel