Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
first round... it compiles, and includes some essential plugins (FT2P…
…lugin, etc.), along with his dependency libraries. It does it also in "Pharo way" (putting plugins as dylibs under Contents/MacOS/Plugins) but I still need to rewrite the links inside librares (a fix-libs.sh script will do it) and I still need to add "generic" third party libraries: libgit2, libssh2, cairo...
- Loading branch information
Showing
23 changed files
with
467 additions
and
33 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
THIRDPARTYDIR:=$(BLDDIR)/third-party | ||
THIRDPARTYOUTDIR:=$(abspath $(THIRDPARTYDIR)/out) | ||
THIRDPARTYLIBDIR:=$(THIRDPARTYOUTDIR)/lib | ||
|
||
ifeq ($(USEPLUGINASDYLIB),TRUE) | ||
THIRDPARTYINSTALLDIR:=$(APP)/Contents/MacOS/Plugins | ||
else | ||
THIRDPARTYINSTALLDIR:=$(APP)/Contents/Resources | ||
endif | ||
|
||
$(THIRDPARTYDIR): | ||
mkdir -p $(THIRDPARTYDIR) | ||
|
||
$(THIRDPARTYOUTDIR): $(THIRDPARTYDIR) | ||
mkdir -p $(THIRDPARTYOUTDIR) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,23 @@ | ||
# Copied, perhaps edited, from ../src/examplePlugins.ext | ||
EXTERNAL_PLUGINS = \ | ||
CroquetPlugin \ | ||
FloatArrayPlugin \ | ||
FT2Plugin \ | ||
FloatMathPlugin \ | ||
JPEGReadWriter2Plugin \ | ||
JPEGReaderPlugin \ | ||
LocalePlugin \ | ||
MIDIPlugin \ | ||
Mpeg3Plugin \ | ||
RePlugin \ | ||
SqueakSSL \ | ||
UnixOSProcessPlugin | ||
SurfacePlugin \ | ||
UUIDPlugin \ | ||
SerialPlugin \ | ||
SDL2DisplayPlugin \ | ||
ObjectiveCPlugin \ | ||
# could work, but I don't know if relevant: | ||
# TestOSAPlugin \ | ||
# not working (because of Cocoa vs Carbon): | ||
# QuicktimePlugin \ | ||
# JoystickTabletPlugin \ | ||
# B3DAcceleratorPlugin \ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
include Makefile.lib | ||
|
||
all: $(FREETYPE2LIB) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
FREETYPE2URL:=http://files.pharo.org/vm/src/lib/freetype-2.4.9.tar.gz | ||
FREETYPE2DIR:=$(THIRDPARTYDIR)/freetype-2.4.9 | ||
FREETYPE2LIB:=$(THIRDPARTYINSTALLDIR)/libfreetype.6.dylib | ||
|
||
$(info $$(FREETYPE2LIB): $(FREETYPE2LIB)) | ||
|
||
$(FREETYPE2DIR): $(THIRDPARTYDIR) | ||
curl $(FREETYPE2URL) | tar x -C $(THIRDPARTYDIR) | ||
|
||
$(FREETYPE2LIB): $(THIRDPARTYINSTALLDIR) $(THIRDPARTYOUTDIR) $(FREETYPE2DIR) | ||
cd $(FREETYPE2DIR) \ | ||
&& ./configure --prefix='$(THIRDPARTYOUTDIR)' CFLAGS='-arch i386' LDFLAGS='-arch i386' \ | ||
&& make \ | ||
&& make install | ||
cp -f $(THIRDPARTYOUTDIR)/lib/libfreetype.6.dylib $(THIRDPARTYINSTALLDIR) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
include Makefile.lib | ||
|
||
all: $(FREETYPE2LIB) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
LIBSDL2URL:=http://www.libsdl.org/release/SDL2-2.0.4.tar.gz | ||
LIBSDL2DIR:=$(THIRDPARTYDIR)/SDL2-2.0.4 | ||
LIBSDL2LIB:=$(THIRDPARTYINSTALLDIR)/libSDL2-2.0.0.dylib | ||
|
||
$(LIBSDL2DIR): $(THIRDPARTYDIR) | ||
curl $(LIBSDL2URL) | tar x -C $(THIRDPARTYDIR) | ||
|
||
$(LIBSDL2LIB): $(THIRDPARTYINSTALLDIR) $(THIRDPARTYOUTDIR) $(LIBSDL2DIR) | ||
cd $(LIBSDL2DIR) \ | ||
&& ./configure --prefix='$(THIRDPARTYOUTDIR)' CFLAGS='-arch i386' LDFLAGS='-arch i386' \ | ||
&& make \ | ||
&& make install | ||
cp -f $(THIRDPARTYOUTDIR)/lib/libSDL2-2.0.0.dylib $(THIRDPARTYINSTALLDIR) |
Oops, something went wrong.