Roman Lebedev wrote:

> On Fri, Nov 18, 2016 at 10:08 PM, Wolfgang Goetz
> <wolfgang.zt...@web.de> wrote:
> > Folks, Roman for prctl..
[...]
> Not many people are running dt on osx.
> Thanks for report, fixed.

Great, thankyou!


> PS: would be awesome to figure travis build for osx.
> But travis provides brew and not ports, and i'm not sure brew
> has all the deps.
> 

brew: *it has*, Homebrew _is_ brew: http://brew.sh
ports? i didnt install macports again because it screwed up itself on my old 
Macbook several times


simply clone/pull dt, run build.sh as usual. (do a rm -rf build if build.sh 
breaks)
my installed brew packages at end of this mail

Fullscreen mode is OK. (Normal window is slightly larger than my MacBook's 
retina screen)





i took a short look on travis-ci.. NICE!
unfortunately travis is not dealing with forked repositories. (i found only my 
own ones catched up by travis)


anyway...

https://docs.travis-ci.com/user/multi-os/
https://docs.travis-ci.com/user/osx-ci-environment/
https://docs.travis-ci.com/user/ci-environment/


just a start on https://lint.travis-ci.org/ using dt's  .travis.yml
..more work to do with matrix and conditionals to separate linux-docker and osx 
parts. 


OUTPUT OF CHECK:        * osx_image is experimental and might be removed in the 
future

---------------------------------------
language: generic
os:
  - linux
  - osx

osx_image: xcode8.1

before_install:
  - if [[ "$TRAVIS_OS_NAME" == "linux" ]];then docker pull darktable/darktable; 
fi
  - if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew update ; fi
  - if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew install gtk+3 gphoto2 
openexr lensfun librsvg json-glib pugixml ;fi





#    This file is part of darktable.
#    copyright (c) 2016 Roman Lebedev.
#
#    darktable is free software: you can redistribute it and/or modify
#    it under the terms of the GNU General Public License as published by 
#    the Free Software Foundation, either version 3 of the License, or 
#    (at your option) any later version.
#
#    darktable is distributed in the hope that it will be useful,
#    but WITHOUT ANY WARRANTY; without even the implied warranty of
#    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
#    GNU General Public License for more details.
#
#    You should have received a copy of the GNU General Public License
#    along with darktable.  If not, see <http://www.gnu.org/licenses/>.

sudo: required

notifications:
  irc:
    channels:
#     - "chat.freenode.net#darktable"
      - secure: 
"fCQRwV2kMc5ycWjuuim0q+u9DS8D64oIWpfDipvrJDcIsS+MfkfkKrF68kDhNbDNtZHUfvP2Se/0hxUWw825VnyzNZZImrK+giOIGS588apxBPzNY3YMWMzwc4RaCKfyOWvFZDRGJwFzAwPWdSSQh7KMGJj7VibgoyhDTSSJYAk="
    skip_join: true
    template:
      - "%{repository}#%{build_number} (\x037%{branch}\x03 - \x02%{commit}\x02 
: \x033%{author}\x03): \x1f\x02%{message}\x02\x1f"
      - "Build details : %{build_url}"
  email:
    recipients:
#     - darktable...@lists.darktable.org
      - secure: 
"Fvo7jlL8jpV+asdCmHHeJUK4BYw1JQvAxFpKUPZ/FWjkBfZ3W6is8jRBJVGfnt9TTvD1W2vsaLqeClv1SUfYw0t0keRSP0+0TB5R9ULIfC6/3bFLmp2aDPhBHLRjH3byxiJ46PvADcZ7MC+6jtf0YEEqy6uLbjaX4PiIXINM7Bo="
    on_success: always
    on_failure: always

services:
  - docker


env:
  global:
    - SRC_DIR=/build/darktable
    - BUILD_DIR=/build/darktable-build
    - INSTALL_PREFIX=/build/darktable-install
    - CFLAGS=-pipe CXXFLAGS=-pipe
  matrix:
    - CC=gcc CXX=g++ TARGET=build
    - CC=clang-3.9 CXX=clang++-3.9 TARGET=build
    - CC=gcc CXX=g++ TARGET=usermanual # EXTRA_TMPFS="--tmpfs /tmp"

matrix:
  fast_finish: true

script:
  - docker run --read-only --volume $TRAVIS_BUILD_DIR:$SRC_DIR:ro --tmpfs 
$BUILD_DIR --workdir $BUILD_DIR --tmpfs $INSTALL_PREFIX $EXTRA_TMPFS --env CC 
--env CXX --env CFLAGS --env CXXFLAGS --env SRC_DIR --env BUILD_DIR --env 
INSTALL_PREFIX --env TARGET darktable/darktable sh -c "$SRC_DIR/ci-script.sh"
----------------









$ brew list
ack                             gdbm                            hdf5            
                little-cms                      qscintilla2
ansible                         gdk-pixbuf                      
hicolor-icon-theme              little-cms2                     qt
aptly                           geeqie                          icu4c           
                lua                             qt5
arpack                          gettext                         ilmbase         
                metis                           readline
arping                          ghc                             imagemagick     
                mpfr                            sdl2
atk                             ghostscript                     intltool        
                octave                          sdl2_image
autoconf                        git                             isl             
                openexr                         shared-mime-info
automake                        gl2ps                           jpeg            
                openssl                         sip
boost                           glew                            json-glib       
                openssl@1.1                     sqlite
cairo                           glib                            lame            
                packer                          stow
cmake                           glpk                            lensfun         
                pandoc                          suite-sparse
curl                            gmp                             libcroco        
                pango                           szip
elixir                          gnu-getopt                      libepoxy        
                parallel                        tbb
epstool                         gnu-sed                         libexif         
                pcre                            texinfo
erlang                          gnuplot                         libffi          
                pixman                          tin
exiftool                        go                              libgphoto2      
                pkg-config                      transfig
exiv2                           gobject-introspection           libmpc          
                plotutils                       veclibfort
fbida                           gource                          libnet          
                popt                            wakeonlan
ffmpeg                          gphoto2                         libpng          
                pstoedit                        webp
fftw                            graphicsmagick                  librsvg         
                pugixml                         wget
fltk                            gsettings-desktop-schemas       libtiff         
                pyqt5                           wxmac
fontconfig                      gtk+                            libtool         
                python                          x264
freetype                        gtk+3                           libusb          
                python3                         xvid
gcc                             harfbuzz                        libusb-compat   
                qhull                           xz
gd                              haskell-stack
libyaml                         qrupdate 
youtube-dl

$ brew cask list
atom            codeblocks      firefox         gimp            hugin           
keepassx        luminance-hdr   mediathekview   texstudio       vagrant         
vlc
chromium        darktable       geany           google-chrome
java            libreoffice     mactex          shotcut
thunderbird     virtualbox      xquartz


kind regards
Wolfgang

Attachment: pgpl2N4xqZXHq.pgp
Description: OpenPGP digital signature

Reply via email to