-
Notifications
You must be signed in to change notification settings - Fork 17
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
new release for current macOS on website and releases page #35
Comments
The site's indeed outdated, but you can easily build libti*, GFM and TILP yourself using the install script from this repository :) Making packaged releases under DMG form is possible. The user install script, the maintainer install scripts (native Linux build, cross-build for Windows from Linux) and the existing Travis CI integration https://travis-ci.org/debrouxl/tilibs , https://travis-ci.org/debrouxl/tilp_and_gfm ) are a starting point for building releases, but I'm clearly not going to be the one doing the packaging and testing work: I don't have an expensive Mac to test the result myself, to begin with. |
actually I think this'll work after I install Xcode: |
the pipe is for running the script in bash, EDIT: looks like the 10.15 release of macOS uses Z Shell, is your install script compatible with that login shell? |
I don't use zsh myself, because its out of the box availability is scarce, unlike that of bash, and also because zsh has appeared in vulnerability lists multiple times in the recent years, long after the severe Shellshock vulnerabilities were fixed in bash. |
to play it safe, I will still curl the file to the mac, but not pipe it into bash. I'm just more familiar with bash, to be honest. I feel if the script was meant to be run in bash we might as well run it in bash ;=) Thanks for the help! Seriously, thanks! |
I have a one liner cmake like to build and install everything if you're interested though haha
Anyway, I'm getting used to packaging the ti community apps for macOS so I'll try to do something soon. It won't be fun with some deps but oh well.
|
yeah, whats the one-liner? |
Ok it's not exactly one-line because of setup things you'd have to do once before Deps etc (let me know if there's something missing, I don't remember fully): brew install cmake ninja gettext gtk+ libglade libarchive libtool glib libusb bison flex texinfo libiconv intltool
brew link --force gettext libarchive
export PKG_CONFIG_PATH="/usr/local/opt/libarchive/lib/pkgconfig" (In fact, the brew link is ugly. There's a better pkg_config_path line to fix this properly, fyi this is what I have in my .zshrc: Downloading the things: cd /tmp
git clone --depth 1 https://github.com/debrouxl/tilp_and_gfm.git
cd tilp_and_gfm
git clone --depth 1 https://github.com/debrouxl/tilibs.git
cd tilibs Actual building of libs and tilp (and gfm): mkdir -p build && cd build && cmake -GNinja .. && cmake --build . --target install
cd ../..
cd gfm/trunk/po; intltool-update --pot; intltool-update fr; cd ../../..
cd tilp/trunk/po; intltool-update --pot; intltool-update fr; intltool-update de; cd ../../..
mkdir -p build && cd build && cmake -GNinja .. && cmake --build . --target install You can check with |
to make it even more absurd, you could make all those commands in one [after the deps] by doing : haha then once you've gone through all the work of typing and double-checking the command, |
^^ please don't actually do the last step, it is a joke ^^ |
I've been trying some things and I'm actually cleaning things up build-wise, with @debrouxl's suggestions. I should have some builds for you to test soon :) |
@adriweb thanks! |
Just to try if you can launch it (make sure to have install all the deps from brew first): FYI: otool -L ./tilp2_signed
./tilp2_signed:
/usr/local/opt/gtk+3/lib/libgtk-3.0.dylib (compatibility version 2408.0.0, current version 2408.7.0)
/usr/local/opt/gtk+3/lib/libgdk-3.0.dylib (compatibility version 2408.0.0, current version 2408.7.0)
/System/Library/Frameworks/Cocoa.framework/Versions/A/Cocoa (compatibility version 1.0.0, current version 23.0.0)
/System/Library/Frameworks/Carbon.framework/Versions/A/Carbon (compatibility version 2.0.0, current version 162.0.0)
/System/Library/Frameworks/CoreGraphics.framework/Versions/A/CoreGraphics (compatibility version 64.0.0, current version 1348.12.4)
/usr/local/opt/pango/lib/libpangocairo-1.0.0.dylib (compatibility version 4401.0.0, current version 4401.7.0)
/usr/local/opt/pango/lib/libpango-1.0.0.dylib (compatibility version 4401.0.0, current version 4401.7.0)
/usr/local/opt/harfbuzz/lib/libharfbuzz.0.dylib (compatibility version 20601.0.0, current version 20601.4.0)
/usr/local/opt/atk/lib/libatk-1.0.0.dylib (compatibility version 23411.0.0, current version 23411.1.0)
/usr/local/opt/cairo/lib/libcairo-gobject.2.dylib (compatibility version 11603.0.0, current version 11603.0.0)
/usr/local/opt/cairo/lib/libcairo.2.dylib (compatibility version 11603.0.0, current version 11603.0.0)
/usr/local/opt/gdk-pixbuf/lib/libgdk_pixbuf-2.0.0.dylib (compatibility version 4001.0.0, current version 4001.0.0)
/usr/local/opt/glib/lib/libgio-2.0.0.dylib (compatibility version 6401.0.0, current version 6401.1.0)
/usr/local/opt/glib/lib/libgobject-2.0.0.dylib (compatibility version 6401.0.0, current version 6401.1.0)
/usr/local/opt/glib/lib/libglib-2.0.0.dylib (compatibility version 6401.0.0, current version 6401.1.0)
/usr/local/opt/gettext/lib/libintl.8.dylib (compatibility version 10.0.0, current version 10.6.0)
/usr/local/opt/zlib/lib/libz.1.dylib (compatibility version 1.0.0, current version 1.2.11)
/usr/local/opt/libusb/lib/libusb-1.0.0.dylib (compatibility version 3.0.0, current version 3.0.0)
/usr/local/opt/libarchive/lib/libarchive.13.dylib (compatibility version 18.0.0, current version 18.2.0)
/usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 1281.0.0)``` |
I'll try it when I get the chance, @adriweb |
Here's a better test build :) tilp2_signed.zip Seems to work fine here! Here are the only needed deps (from what I see): glib, gdk-pixbuf, atk, graphite2, libepoxy, gtk+3. Some of those may already be deps of each other.
My next step is to be able to package those (and their deps) into the app bundle so that a fully standalone redistributable .app can be done! |
sorry, but atm I cannot test your builds.. so sorry about that.
…--
*--
**This email is from a student in the Sun Prairie Area School
District and is intended for school use. All email messages sent to and
from this account are saved and archived. Email messages are subject to
monitoring.*
|
No worries, I keep making cleanups and changes for @debrouxl to review anyway. |
Currently, at the moment, at this precise point in time, macOS doesn't support PowerPC apps any more. Could you please release a newer version written for x86_64 Macs?
@debrouxl
The text was updated successfully, but these errors were encountered: