Comments (7)
For example, for https://profanity-im.github.io/install.html:
- I'm not sure whether Macports is still a thing
- If it is I'm not sure whether its up to date or whether people should use brew always
For https://profanity-im.github.io/build.html:
I'm not sure if
openssl is keg-only, which means it is not symlinked into /usr/local therefore pkg-config will fail when detecting the library and the build will fail. In order to fix this we need to add the openssl path to PKG_CONFIG_PATH.
export PKG_CONFIG_PATH="/usr/local/opt/openssl/lib/pkgconfig:$PKG_CONFIG_PATH"
is still needed.
from profanity-im.github.io.
@optmzr since you work on osx travis maybe you also have knowledge about osx that could be useful here?
from profanity-im.github.io.
It seems xcode is required: xcode-select --install
. I'm not sure whether it is required to build the application or for brew / git.
Based on the description on the website, I installed:
brew install autoconf autoconf-archive automake libtool pkg-config glib gnutls
gpgme libotr libstrophe openssl ossp-uuid readline terminal-notifier
For OMEMO is necessary to install libsignal-protocol-c as well
brew install libsignal-protocol-c
Added openssl and libffi to pkg-config PATH
export PKG_CONFIG_PATH="/usr/local/opt/openssl/lib/pkgconfig:/usr/local/opt/
libffi/lib/pkgconfig:$PKG_CONFIG_PATH"
Example of the configure setup I used
./configure --enable-notifications --enable-omemo --enable-pgp
The list of installed brew formula
$ brew list
adns glib libffi
libtasn1 ossp-uuid sqlite
autoconf gmp libgcrypt libtool
p11-kit terminal-notifier
autoconf-archive gnupg libgpg-error
libunistring pcre unbound
automake gnutls libksba libusb
pinentry xz
check gpgme libotr nettle
pkg-config
gdbm libassuan libsignal-protocol-c npth
python
gettext libevent libstrophe openssl
readline
from profanity-im.github.io.
Thanks for the great pointers @DebXWoody!
For the Travis CI job, I ended up with:
Brewfile.travis
brew 'autoconf'
brew 'autoconf-archive'
brew 'automake'
brew 'check'
brew 'curl'
brew 'expat'
brew 'glib'
brew 'gnutls'
brew 'gpgme'
brew 'gtk+'
brew 'libffi'
brew 'libotr'
brew 'libsignal-protocol-c'
brew 'libstrophe'
brew 'libtool'
brew 'ncurses'
brew 'openssl'
brew 'ossp-uuid'
brew 'pkg-config'
brew 'readline'
Resulting in:
brew install brew autoconf autoconf-archive automake check curl expat glib gnutls gpgme \
gtk+ libffi libotr libsignal-protocol-c libstrophe libtool ncurses openssl ossp-uuid \
pkg-config readline
Some of these dependencies (like gnutls and readline) are redundant, but I added them for good measure.
To make sure that the "keg-only" dependencies are used instead of the system defaults, I point pkg-config
in the right direction with:
PKG_CONFIG_PATH="/usr/local/opt/ncurses/lib/pkgconfig:$PKG_CONFIG_PATH"
PKG_CONFIG_PATH="/usr/local/opt/expat/lib/pkgconfig:$PKG_CONFIG_PATH"
PKG_CONFIG_PATH="/usr/local/opt/curl/lib/pkgconfig:$PKG_CONFIG_PATH"
PKG_CONFIG_PATH="/usr/local/opt/openssl/lib/pkgconfig:$PKG_CONFIG_PATH"
PKG_CONFIG_PATH="/usr/local/opt/libffi/lib/pkgconfig:$PKG_CONFIG_PATH"
Some of these aren't needed either, and the system dependencies (like curl) worked just fine, but I feel like it's better to use the latest from Homebrew instead.
from profanity-im.github.io.
So this means the website is good and I should close this? :)
from profanity-im.github.io.
I think we should add the additional PKG_CONFIG_PATH
s too, just in case :)
from profanity-im.github.io.
Awesome! Thanks!
from profanity-im.github.io.
Related Issues (17)
- Theme command help incorrect
- User Guide: `User` is not clickable HOT 2
- Update command reference - tls legacy HOT 1
- Update C plugins docs to include memory management
- Transfer wiki info into website HOT 2
- shasums truncated on small viewports HOT 3
- wget install-all.sh return 404 HOT 1
- Page "Complete command reference" broken HOT 5
- Reformat HTML in Reference HOT 1
- theme gallery
- Missing Profanity .SVG logo
- CNAME? HOT 7
- Maybe this should have a license? HOT 4
- Add OX documentation HOT 4
- Use statis site generator instead of plain HTML HOT 1
- https://profanity.im problem HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from profanity-im.github.io.