Re: [proaudio] jost 0.4.5 ebuild

[ Thread Index | Date Index | More lists.tuxfamily.org/proaudio Archives ]


try with 0.4.6 and the use of "Release32" instead of simply "Release".
i've append -m32 in that case (and searching also in /usr/lib32), but not for the jostbridge.

here it is an excerpt from the makefile for juce and jost:

=========================================================================================
ifeq ($(CONFIG),Release)
  CPPFLAGS := -MMD -D "LINUX=1" -D "JUCE_OPENGL=1" -D "JUCE_USE_XSHM=1" -D "JUCE_USE_XINERAMA=1" -D "JUCE_ALSA=1" -D "NDEBUG=1" -I "../../" -I "/usr/include" -I "/usr/include/freetype2"
  CFLAGS += $(CPPFLAGS) $(TARGET_ARCH) -O2 -O2 -s -Wall -fvisibility=hidden
  RESFLAGS := -D "LINUX=1" -D "JUCE_OPENGL=1" -D "JUCE_USE_XSHM=1" -D "JUCE_USE_XINERAMA=1" -D "JUCE_ALSA=1" -D "NDEBUG=1" -I "../../" -I "/usr/include" -I "/usr/include/freetype2"
  TARGET := libjuce.a

ifeq ($(CONFIG),Release32)
  CPPFLAGS := -MMD -D "LINUX=1" -D "JUCE_OPENGL=1" -D "JUCE_USE_XSHM=1" -D "JUCE_USE_XINERAMA=1" -D "JUCE_ALSA=1" -D "NDEBUG=1" -I "../../" -I "/usr/include" -I "/usr/include/freetype2"
  CFLAGS += $(CPPFLAGS) $(TARGET_ARCH) -g -O2 -s -Wall -fvisibility=hidden -m32
  RESFLAGS := -D "LINUX=1" -D "JUCE_OPENGL=1" -D "JUCE_USE_XSHM=1" -D "JUCE_USE_XINERAMA=1" -D "JUCE_ALSA=1" -D "NDEBUG=1" -I "../../" -I "/usr/include" -I "/usr/include/freetype2"
  TARGET := libjuce32.a

=========================================================================================
ifeq ($(CONFIG),Release)
  CPPFLAGS := -MMD -D "LINUX=1" -D "JUCE_OPENGL=1" -D "JUCE_USE_XSHM=1" -D "JUCE_USE_XINERAMA=1" -D "JUCE_ALSA=1" -D "NDEBUG=1" -I "../../../../juce" -I "../../../../juce/src" -I "../../../../jucetice" -I "../../../../wrapper" -I "../../../../vst/source/common" -I "../../../../vst" -I "/usr/include/vst/source/common" -I "/usr/include/vst" -I "../../src"
  CFLAGS += $(CPPFLAGS) $(TARGET_ARCH) -O2 -O2 -s -Wall -fvisibility=hidden
  LDFLAGS += -L$(BINDIR) -L$(LIBDIR) -s -L"../../../../bin" -L"/usr/X11R6/lib/" -L"/usr/lib/" -lfreetype -lpthread -lrt -lX11 -ljack -lGL -lGLU -lXinerama -lasound -ljuce -ljucetice
  RESFLAGS := -D "LINUX=1" -D "JUCE_OPENGL=1" -D "JUCE_USE_XSHM=1" -D "JUCE_USE_XINERAMA=1" -D "JUCE_ALSA=1" -D "NDEBUG=1" -I "../../../../juce" -I "../../../../juce/src" -I "../../../../jucetice" -I "../../../../wrapper" -I "../../../../vst/source/common" -I "../../../../vst" -I "/usr/include/vst/source/common" -I "/usr/include/vst" -I "../../src"
  TARGET := jost

ifeq ($(CONFIG),Release32)
  CPPFLAGS := -MMD -D "LINUX=1" -D "JUCE_OPENGL=1" -D "JUCE_USE_XSHM=1" -D "JUCE_USE_XINERAMA=1" -D "JUCE_ALSA=1" -D "NDEBUG=1" -I "../../../../juce" -I "../../../../juce/src" -I "../../../../jucetice" -I "../../../../wrapper" -I "../../../../vst/source/common" -I "../../../../vst" -I "/usr/include/vst/source/common" -I "/usr/include/vst" -I "../../src"
  CFLAGS += $(CPPFLAGS) $(TARGET_ARCH) -g -O2 -s -Wall -fvisibility=hidden -m32
  LDFLAGS += -L$(BINDIR) -L$(LIBDIR) -L"../../../../bin" -L"/usr/X11R6/lib32/" -L"/usr/lib32/" -lfreetype -lpthread -lrt -lX11 -ljack -lGL -lGLU -lXinerama -lasound -ljuce32 -ljucetice32
  RESFLAGS := -D "LINUX=1" -D "JUCE_OPENGL=1" -D "JUCE_USE_XSHM=1" -D "JUCE_USE_XINERAMA=1" -D "JUCE_ALSA=1" -D "NDEBUG=1" -I "../../../../juce" -I "../../../../juce/src" -I "../../../../jucetice" -I "../../../../wrapper" -I "../../../../vst/source/common" -I "../../../../vst" -I "/usr/include/vst/source/common" -I "/usr/include/vst" -I "../../src"
  TARGET := jost


i think we should got it now.

ps. i've updated the icon if you want to check it out here >> plugins/Jost/src/resources/jost.png

lucio


On Fri, Feb 29, 2008 at 5:57 PM, Thomas Kuther <gimpel@xxxxxxxxxxxxxxxx> wrote:
On Fr, 29.02.08 16:59 Thomas Kuther <gimpel@xxxxxxxxxxxxxxxx> wrote:

> On Fr, 29.02.08 16:45 Thomas Kuther <gimpel@xxxxxxxxxxxxxxxx> wrote:
>
> > On Fr, 29.02.08 00:40 "kRAkEn/gORe" <kunitoki@xxxxxxxxx> wrote:
> >
> > > Hi,
> > > may need some testing with amd64 systems (x86 works nicely)
> > >
> > > cheers !
> >
> > Wait a minute...
> >
> > Our ebuild compiles Jost with a 32bit toolchain.
> > -----------------------
> > if use amd64 && use vst; then
> >             multilib_toolchain_setup x86
> > -----------------------
> > etc....
> >
> > So if jost should be built 64bit and the bridge should be built
> > 32bit, we need to edit it a bit more ;)
>
> Err, the other way round of course, bridge 64, jost 32.
>
> Anyways, does the Makefile take care that the bridge is compiled 64bit
> even with a 32bit toolchain? Or even better, does it append -m32 to
> the jost build process in a 64bit toolchain?


Okay, just tested.

You have to tell gcc to compile jost/juce/jucetice with -m32,
otherwhise it will not work.

I used attached ebuild (64bit toolchain), and well:
# file /usr/bin/jost
/usr/bin/jost: ELF 64-bit LSB executable


The other way round would be you do this part:
----------
gcc -lrt -ljack jostbridge.c -o ../../../../bin/jostbridge
----------

with gcc -m64, but that does not make that much sense, as it will be a
pain to compile for amd64 people that don't have portage and it's
"multilib_toolchain_setup x86" feature :D

Cheers.

PS: we do have a jost.png icon in the $overlay/media-sound/jost/files,
and the VST header fix is needed. VST headers are in /usr/include/vst !



Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/