Skip to content
Navigation Menu
Toggle navigation
Sign in
In this repository
All GitHub Enterprise
↵
Jump to
↵
No suggested jump to results
In this repository
All GitHub Enterprise
↵
Jump to
↵
In this organization
All GitHub Enterprise
↵
Jump to
↵
In this repository
All GitHub Enterprise
↵
Jump to
↵
Sign in
Reseting focus
You signed in with another tab or window.
Reload
to refresh your session.
You signed out in another tab or window.
Reload
to refresh your session.
You switched accounts on another tab or window.
Reload
to refresh your session.
Dismiss alert
{{ message }}
mariux64
/
pkg-scripts
Public
Notifications
You must be signed in to change notification settings
Fork
0
Star
0
Code
Issues
20
Pull requests
5
Actions
Projects
0
Wiki
Security
Insights
Additional navigation options
Code
Issues
Pull requests
Actions
Projects
Wiki
Security
Insights
Files
375b5f1
system
tools
.gitignore
Anaconda3-5.0.1-0.build.sh
CellProfiler-2.2.0-0.build.sh
CellProfiler-3.1.5-0.build.sh
CellProfiler-4.2.1-0.build.sh
LibreCAD-2.2.0.rc1-0.build.sh
R-3.3.3-0.build.sh
R-3.3.3-1.build.sh
R-3.3.3-2.build.sh
R-3.4.0-0.build.sh
R-3.4.3-0.build.sh
R-3.4.4-0.build.sh
R-3.5.1-0.build.sh
R-3.5.1-1.build.sh
R-3.5.1-2.build.sh
R-3.5.2-0.build.sh
R-3.5.3-0.build.sh
R-3.6.0-0.build.sh
R-3.6.1-0.build.sh
R-3.6.1-1.build.sh
R-3.6.3-0.build.sh
R-4.0.1-0.build.sh
R-4.0.5-0.build.sh
R-4.1.0-0.build.sh
R-4.2.1-0.build.sh
R-4.2.2-0.build.sh
R-4.3.0-0.build.sh
R-4.4.0-0.build.sh
R-4.4.1-0.build.sh
R-devel-2017-02-02-0.build.sh
R-devel-2017-02-02-1.build.sh
TEMPLATE.sh
apache-ant-1.10.12-0.build.sh
apache-maven-3.6.0-0.build.sh
apache-maven-3.8.4-0.build.sh
apptainer-1.1.9-0.build.sh
apptainer-1.2.4-0.build.sh
apptainer-1.3.4-0.build.sh
atom-1.60.0-0.build.sh
atom-1.60.0-1.build.sh
audacity-2.4.2-0.build.sh
avidemux-2.7.1-0.build.sh
avidemux-2.8.0-0.build.sh
bazel-0.28.1-0.build.sh
bazel-3.4.1-0.build.sh
bazel-4.1.0-0.build.sh
bazel-5.1.0-0.build.sh
bazel-5.4.1-0.build.sh
bazel-6.2.1-0.build.sh
bmake-20230522-0.build.sh
boost-1.63.0-0.build.sh
boost-1.73.0-0.build.sh
boost-1.86.0-0.build.sh
bpftrace-0.20.3-0.build.sh
brave-browser-0.64.60-0.build.sh
brave-browser-0.66.101-0.build.sh
brave-browser-1.20.108-0.build.sh
brave-browser-1.29.79-0.build.sh
brlcad-7.28.0-0.build.sh
charliecloud-0.30-0.build.sh
charliecloud-0.31-0.build.sh
charliecloud-0.32-0.build.sh
charliecloud-0.32-1.build.sh
charliecloud-0.34-0.build.sh
chromium-100.0.4896.60-0.build.sh
chromium-104.0.5112.101-0.build.sh
chromium-108.0.5359.94-0.build.sh
chromium-114.0.5735.106-0.build.sh
chromium-116.0.5845.179-0.build.sh
chromium-66.0.3331.2-0.build.sh
chromium-66.0.3331.2-1.build.sh
chromium-72.0.3626.121-0.build.sh
chromium-73.0.3683.75-0.build.sh
chromium-76.0.3809.100-0.build.sh
chromium-76.0.3809.100-1.build.sh
chromium-77.0.3865.90-0.build.sh
chromium-78.0.3904.87-0.build.sh
chromium-81.0.4044.92-0.build.sh
chromium-85.0.4183.121-0.build.sh
chromium-86.0.4240.183-0.build.sh
chromium-89.0.4389.128-0.build.sh
chromium-89.0.4389.90-0.build.sh
chromium-98.0.4758.80-0.build.sh
claws-mail-3.17.4-0.build.sh
codium-1.93.0.24253-0.build.sh
codium-1.94.2.24286-0.build.sh
codium-1.95.1.24307-0.build.sh
codium-1.95.2.24313-0.build.sh
codium-1.95.3.24321-0.build.sh
concorde-03.12.19-0.build.sh
concorde-03.12.19-1.build.sh
cuda-10.0.130-0.build.sh
cuda-10.1.105-0.build.sh
cuda-10.2.89-0.build.sh
cuda-10.2.89-1.build.sh
cuda-11.0.3-0.build.sh
cuda-11.1.0-0.build.sh
cuda-11.1.1-0.build.sh
cuda-11.3.1-0.build.sh
cuda-11.5.2-0.build.sh
cuda-11.7.1-0.build.sh
cuda-11.8.0-0.build.sh
cuda-12.1.0-0.build.sh
cuda-9.0.176-0.build.sh
cuda-9.0.176-1.build.sh
cuda-9.1.85-0.build.sh
cuda-9.2.148-0.build.sh
cufflinks-2.2.1-2.build.sh
cytoscape-3.9.1-0.build.sh
fontforge-20200314-0.build.sh
freecad-0.20-0.build.sh
gcc-10.1.0-0.build.sh
gcc-10.2.0-0.build.sh
gcc-10.3.0-0.build.sh
gcc-11.1.0-0.build.sh
gcc-12.2.0-0.build.sh
gcc-13.2.0-0.build.sh
gcc-14.1.0-0.build.sh
gcc-4.5.1-0.build.sh
gcc-5.5.0-0.build.sh
gcc-5.5.0-1.build.sh
gcc-7.2.0-0.build.sh
gcc-7.3.0-0.build.sh
gcc-7.4.0-0.build.sh
gcc-8.3.0-0.build.sh
gcc-8.4.0-0.build.sh
gcc-9.2.0-0.build.sh
gcc-9.3.0-0.build.sh
ghidra-10.1.5-0.build.sh
git-cola-3.2-0.build.sh
git-cola-3.5-0.build.sh
git-cola-3.7-0.build.sh
git-cola-3.9-0.build.sh
github-cli-2.48.0-0.build.sh
haskell-8.10.2-0.build.sh
haskell-9.2.2-0.build.sh
igv-2.15.2-0.build.sh
igv-2.17.1-0.build.sh
igv-2.4.14-0.build.sh
igv-2.5.0-0.build.sh
igv-2.5.2-0.build.sh
igv-2.8.0-0.build.sh
igv-2.9.2-0.build.sh
imagej-1.54f-0.build.sh
inkscape-0.92.1-0.build.sh
inkscape-0.92.2-0.build.sh
inkscape-0.92.3-0.build.sh
inkscape-0.92.4-0.build.sh
inkscape-0.92.4-1.build.sh
inkscape-0.92.4-2.build.sh
inkscape-1.0-0.build.sh
inkscape-1.0-1.build.sh
inkscape-1.0beta0-0.build.sh
inkscape-1.1.1-0.build.sh
inkscape-1.1.2-0.build.sh
inkscape-1.2.2-0.build.sh
inkscape-1.2.2-1.build.sh
inkscape-1.3.2-0.build.sh
inkscape-1.4-0.build.sh
jdk-7u80-1.build.sh
jdk-8u141-0.build.sh
jdk-8u181-0.build.sh
jdk-9.0.1-0.build.sh
julia-0.6.4-0.build.sh
julia-1.0.0-0.build.sh
julia-1.1.0-0.build.sh
julia-1.6.1-0.build.sh
libheif-1.6.0-0.build.sh
llvm-12.0.1-0.build.sh
llvm-13.0.1-0.build.sh
llvm-15.0.4-0.build.sh
llvm-16.0.1-0.build.sh
llvm-17.0.6-0.build.sh
meld-3.20.1-0.build.sh
meme-5.1.1-0.build.sh
meme-5.3.0-0.build.sh
nedit-ng-2020.1.75800b6bd-0.build.sh
nextflow-22.10.0-0.build.sh
nextflow-23.04.1-0.build.sh
nextflow-23.10.0-0.build.sh
nextflow-23.10.0-1.build.sh
node-10.13.0-0.build.sh
node-10.16.0-0.build.sh
node-12.13.0-0.build.sh
node-12.4.0-0.build.sh
node-14.16.0-0.build.sh
node-14.17.1-0.build.sh
node-16.15.0-0.build.sh
node-16.16.0-0.build.sh
node-16.17.0-0.build.sh
node-18.16.0-0.build.sh
node-18.18.0-0.build.sh
node-20.12.2-0.build.sh
node-20.13.1-0.build.sh
node-20.9.0-0.build.sh
node-22.11.0-0.build.sh
node-8.11.4-0.build.sh
ocaml-4.08.1-0.build.sh
openjdk-11.0.3.2-0.build.sh
openjdk-14.0.2.12-0.build.sh
openjdk-17.0.2.8-0.build.sh
openjdk-21.0.0.35-0.build.sh
openjdk-7u181-0.build.sh
openjdk-8u171-0.build.sh
orca-1.2.1-0.build.sh
orca-1.3.1-0.build.sh
pdftk-3.3.2-0.build.sh
perl-5.12.1-0.build.sh
perl-5.18.2-0.build.sh
perl-5.24.1-0.build.sh
perl-5.24.1-1.build.sh
perl-5.24.1-2.build.sh
perl-5.26.1-0.build.sh
perl-5.26.1-1.build.sh
perl-5.26.1-2.build.sh
perl-5.26.1-3.build.sh
perl-5.26.1-4.build.sh
perl-5.26.1-5.build.sh
perl-5.26.2-1.build.sh
perl-5.28.1-0.build.sh
perl-5.34.0-0.build.sh
proot-5.4.0-0.build.sh
pulsar-1.113.0-0.build.sh
pymol-open-source-2.5.0-0.build.sh
pypy-3.10-v7.3.13-0.build.sh
python-2.7.13-0.build.sh
python-2.7.13-1.build.sh
python-2.7.13-2.build.sh
python-2.7.13-3.build.sh
python-2.7.13-4.build.sh
python-2.7.13-5.build.sh
python-2.7.14-0.build.sh
python-2.7.14-1.build.sh
python-2.7.14-2.build.sh
python-2.7.14-3.build.sh
python-2.7.15-0.build.sh
python-2.7.15-1.build.sh
python-2.7.15-2.build.sh
python-2.7.16-0.build.sh
python-3.10.10-0.build.sh
python-3.10.10-1.build.sh
python-3.10.12-0.build.sh
python-3.10.7-0.build.sh
python-3.10.8-0.build.sh
python-3.11.7-0.build.sh
python-3.11.7-1.build.sh
python-3.6.0-0.build.sh
python-3.6.2-0.build.sh
python-3.6.4-0.build.sh
python-3.6.4-1.build.sh
python-3.6.4-2.build.sh
python-3.6.6-0.build.sh
python-3.6.6-1.build.sh
python-3.7.1-0.build.sh
python-3.7.1-1.build.sh
python-3.7.1-2.build.sh
python-3.7.3-0.build.sh
python-3.7.4-0.build.sh
python-3.7.4-1.build.sh
python-3.7.4-2.build.sh
python-3.7.7-0.build.sh
python-3.8.6-0.build.sh
python-3.8.7-0.build.sh
python-3.8.8-0.build.sh
python-3.8.9-0.build.sh
python-3.8.9-1.build.sh
python-3.9.12-0.build.sh
python-3.9.6-0.build.sh
python-3.9.7-0.build.sh
qemu-3.1.1-0.build.sh
qemu-4.2.1-0.build.sh
qemu-5.0.0-0.build.sh
qemu-5.1.0-0.build.sh
qemu-6.0.0-0.build.sh
qemu-6.2.0-0.build.sh
qemu-7.1.0-0.build.sh
qemu-7.2.0-0.build.sh
qemu-7.2.0-1.build.sh
qt-5.12.7-0.build.sh
qt-6.2.4-0.build.sh
relion-3.0.5-0.build.sh
relion-3.1.1-0.build.sh
rstudio-1.1.128-0.build.sh
rstudio-1.1.232-0.build.sh
rstudio-1.1.30-0.build.sh
rstudio-1.1.383-0.build.sh
rstudio-1.1.444-0.build.sh
rstudio-1.2.1335-0.build.sh
rstudio-1.2.5019-0.build.sh
rstudio-1.2.5019-1.build.sh
rstudio-1.2.5042-0.build.sh
rstudio-1.4.1103-0.build.sh
rstudio-2022.02.3-492-0.build.sh
rstudio-2023.12.1-402-0.build.sh
rstudio-debpkg-1.4.1717-0.build.sh
rstudio-server-2024.09.0-375-1.build.sh
rustc-1.29.2-0.build.sh
rustc-1.32.0-0.build.sh
rustc-1.34.2-0.build.sh
rustc-1.37.0-0.build.sh
rustc-1.41.0-0.build.sh
rustc-1.43.1-0.build.sh
rustc-1.45.2-0.build.sh
rustc-1.47.0-0.build.sh
rustc-1.50.0-0.build.sh
rustc-1.52.1-0.build.sh
rustc-1.56.1-0.build.sh
rustc-1.57.0-0.build.sh
rustc-1.58.1-0.build.sh
rustc-1.59.0-0.build.sh
rustc-1.61.0-0.build.sh
rustc-1.63.0-0.build.sh
rustc-1.65.0-0.build.sh
rustc-1.66.1-0.build.sh
rustc-1.68.2-0.build.sh
rustc-1.70.0-0.build.sh
rustc-1.73.0-0.build.sh
rustc-1.77.2-0.build.sh
rustc-1.80.0-0.build.sh
rustc-1.82.0-0.build.sh
signal-desktop-1.25.3-0.build.sh
signal-desktop-1.35.1-0.build.sh
signal-desktop-5.15.0-0.build.sh
signal-desktop-5.58.0-0.build.sh
signal-desktop-5.6.1-0.build.sh
signal-desktop-6.0.1-0.build.sh
signal-desktop-6.17.1-0.build.sh
signal-desktop-6.2.0-0.build.sh
signal-desktop-6.27.1-0.build.sh
signal-desktop-6.36.0-0.build.sh
signal-desktop-6.44.1-0.build.sh
signal-desktop-7.16.0-0.build.sh
signal-desktop-7.28.0-0.build.sh
signal-desktop-7.5.1-0.build.sh
snakemake-7.1.1-0.build.sh
sra-tools-2.10.8-0.build.sh
sra-tools-2.9.3-0.build.sh
sra-tools-2.9.4-0.build.sh
sra-tools-3.0.0-0.build.sh
stellarium-0.18.1-0.build.sh
stellarium-0.19.2-0.build.sh
stellarium-0.21.0-0.build.sh
stellarium-0.22.2-0.build.sh
tcc-0.9.27-0.build.sh
tcl-8.6.8-0.build.sh
texinfo-4.13a-0.build.sh
tulip-5.2.0-0.build.sh
tulip-5.2.1-0.build.sh
tulip-5.6.3-0.build.sh
ugene-36.0-0.build.sh
vscode-1.87.2-0.build.sh
vscode-1.88.0-0.build.sh
vscode-1.92.0-0.build.sh
wine-9.10-0.build.sh
xfig-3.2.7-1.build.sh
zig-0.11.0-0.build.sh
zig-0.11.0-1.build.sh
Breadcrumbs
pkg-scripts
/
CellProfiler-2.2.0-0.build.sh
Blame
Blame
Latest commit
History
History
executable file
·
291 lines (238 loc) · 8.79 KB
Breadcrumbs
pkg-scripts
/
CellProfiler-2.2.0-0.build.sh
Top
File metadata and controls
Code
Blame
executable file
·
291 lines (238 loc) · 8.79 KB
Raw
#! /bin/bash PKG=CellProfiler VERSION=2.2.0 BUILD=0 SRC=https://github.com/CellProfiler/CellProfiler/archive/$VERSION.tar.gz PREFIX=/pkg/$PKG-$VERSION-$BUILD # PREFIX=/dev/shm/pkg/$PKG-$VERSION-$BUILD # we need /usr/local/package/bin for pip PATH=/bin:/usr/bin:/usr/sbin:/usr/local/package/bin:/usr/local/bin export PATH set -xe umask 022 BUILD_TMPDIR=/dev/shm/$PKG-$VERSION-$BUILD.build.tmp test -d $BUILD_TMPDIR && rm -rf $BUILD_TMPDIR mkdir -p $BUILD_TMPDIR/home export TMPDIR=$BUILD_TMPDIR export HOME=$BUILD_TMPDIR/home exec </dev/null mkdir -p $PREFIX cat >$PREFIX/profile <<-EOF PATH=$PREFIX/bin:\$PATH PYTHONPATH=$PREFIX/lib/python2.7/site-packages LD_LIBRARY_PATH=$PREFIX/lib\${LD_LIBRARY_PATH:+:\$LD_LIBRARY_PATH} PKG_CONFIG_PATH=$PREFIX/lib/pkgconfig\${PKG_CONFIG_PATH:+:\$PKG_CONFIG_PATH} export PKG_CONFIG_PATH LD_LIBRARY_PATH PYTHONPATH EOF . $PREFIX/profile BUILDDIR=$PREFIX/build mkdir -p $BUILDDIR cd $BUILDDIR function at_plaininstall() { local dir=$1 local tar=$2 local url=$3 ( cd $BUILDDIR test -e $tar || wget $url test -n 'XWIPE' && rm -rf ./$dir test -d $dir || tar xvf $tar cd $dir ./configure --prefix=$PREFIX make -j $(nproc) make install ) } function cm_plaininstall() { local dir=$1 local tar=$2 local url=$3 local extra=$4 ( cd $BUILDDIR test -e $tar || wget $url test -n 'XWIPE' && rm -rf ./$dir test -d $dir || tar xvf $tar mkdir -p $dir/build cd $dir/build echo "# extra args: '$extra'" cmake .. \ -DCMAKE_INSTALL_PREFIX=$PREFIX \ -DCMAKE_COLOR_MAKEFILE=OFF \ -DCMAKE_VERBOSE_MAKEFILE=ON \ $extra make -j $(nproc) make install ) } # start with PyQt4, sip ( # version 4.19.13 is not working with pyqt-version 4.11.4, version 4.18.1 wasn't tested SIP_VERSION=4.16.9 SIP_SRC=https://sourceforge.net/projects/pyqt/files/sip/sip-$SIP_VERSION/sip-$SIP_VERSION.tar.gz test -e sip-$SIP_VERSION.tar.gz || wget $SIP_SRC test -n 'XWIPE' && rm -rf sip-$SIP_VERSION test -d sip-$SIP_VERSION || tar -xf sip-$SIP_VERSION.tar.gz cd sip-$SIP_VERSION python configure.py \ -b $PREFIX/bin \ -d $PYTHONPATH \ -e $PREFIX/include/python2.7 \ -v $PREFIX/share/sip mkdir -p $PREFIX/share/sip make; make install ) ( # version 4.12.3 fails # PYQT_SRC=http://sourceforge.net/projects/pyqt/files/PyQt4/PyQt-$PYQT_VERSION/PyQt4_gpl_x11-$PYQT_VERSION.tar.gz PYQT_VERSION=4.11.4 PYQT_SRC=http://sourceforge.net/projects/pyqt/files/PyQt4/PyQt-$PYQT_VERSION/PyQt-x11-gpl-$PYQT_VERSION.tar.gz test -e PyQt-x11-gpl-$PYQT_VERSION.tar.gz || wget $PYQT_SRC test -n 'XWIPE' && rm -rf PyQt-x11-gpl-$PYQT_VERSION test -d PyQt-x11-gpl-$PYQT_VERSION || tar -xf PyQt-x11-gpl-$PYQT_VERSION.tar.gz cd PyQt-x11-gpl-$PYQT_VERSION export QTDIR=/usr/local/qt4 python configure.py \ -b $PREFIX/bin \ -d $PYTHONPATH \ -q /usr/local/qt4/bin/qmake \ -v $PREFIX/share/sip \ --confirm-license \ --no-designer-plugin \ --verbose # missing include path for *our* phonon sed -i -e '/^CPPFLAGS/ s,/usr/X11R6/include,/usr/include/phonon,' phonon/Makefile make -j $(( 2 * $(nproc) - 1 )) make install ) at_plaininstall \ zeromq-4.2.2 \ zeromq-4.2.2.tar.gz \ https://github.com/zeromq/libzmq/releases/download/v4.2.2/zeromq-4.2.2.tar.gz cm_plaininstall \ vigra-1.11.1 \ vigra-1.11.1-src.tar.gz \ https://github.com/ukoethe/vigra/releases/download/Version-1-11-1/vigra-1.11.1-src.tar.gz \ "-DVIGRANUMPY_INSTALL_DIR=$PYTHONPATH" at_plaininstall \ wxPython-src-3.0.2.0 \ wxPython-src-3.0.2.0.tar.bz2 \ https://sourceforge.net/projects/wxpython/files/wxPython/3.0.2.0/wxPython-src-3.0.2.0.tar.bz2 ( cd $BUILDDIR/wxPython-src-3.0.2.0/wxPython python2.7 setup.py build python2.7 setup.py install --prefix $PREFIX # build leaves 2gig rubbish cd .. make clean ) # NOTE: I'm going to install downgraded versions of matplotlib and # h5py, thus PYTHONPATH has to be exported, when using parts # from this package interactively. And/or sys.path has to be # adjusted in the main app (see MANGLE_SYS_PATH_PATCH) # yields to matplotlib-1.5.3 pip install --ignore-installed --prefix $PREFIX 'matplotlib<1.9' # try 2.0.2, resume don't use ! # pip install --prefix $PREFIX 'matplotlib<2.1' pip install --ignore-installed --prefix $PREFIX 'h5py<2.8' # needed by ilastik pip install --prefix $PREFIX 'yapsy' # 'the' CellProfiler ( test -e $VERSION.tar.gz || wget $SRC test -d CellProfiler-$VERSION || tar -xf $VERSION.tar.gz cd CellProfiler-$VERSION python2.7 setup.py build python2.7 setup.py install --prefix $PREFIX # Message: Plugin directory doesn't point to valid folder: /dev/shm/pkg/CellProfiler-2.2.0-0/plugins # create it, it will be r/o ... mkdir $PREFIX/plugins ) # now an ancient ilastik ( test -e v0.5.12.tar.gz || wget https://github.com/ilastik/ilastik-0.5/archive/v0.5.12.tar.gz test -d ilastik-0.5-0.5.12 || tar -xf v0.5.12.tar.gz cd ilastik-0.5-0.5.12 python2.7 setup.py build python2.7 setup.py install --prefix $PREFIX ) # and a more recent ilastik # this brings trouble with the lazyflow and volumina modules # ( # test -e 1.1.5.tar.gz || https://github.com/ilastik/ilastik/archive/1.1.5.tar.gz # test -d ilastik-1.1.5 || tar -xf 1.1.5.tar.gz # ) # ... thus slaughter an older linux release, caus this one contains also an usable source tree ( ILASTIKVERSION=1.1.5 test -e ilastik-$ILASTIKVERSION-Linux.tar.gz || wget http://files.ilastik.org/ilastik-$ILASTIKVERSION-Linux.tar.gz test -d ilastik-$ILASTIKVERSION-Linux || tar -xf ilastik-$ILASTIKVERSION-Linux.tar.gz --exclude='*.pyc' ilastik-$ILASTIKVERSION-Linux/src cd ilastik-$ILASTIKVERSION-Linux/src/ilastik for MODULE in ilastik lazyflow volumina; do echo "# -- -- -- -- -- -- -- ILASTIK: $MODULE -- -- -- -- -- -- --" cd $MODULE python setup.py build python setup.py install --prefix $PREFIX cd .. done # 'install' this one, 'caus cellprofiler references it cp ilastik/ilastik_main.py $PYTHONPATH # mingle the old version with the newer, caus that's obviously the # setup as of ver 2.2.0, what to say ... ( cd $PYTHONPATH/ilastik-$ILASTIKVERSION-py2.7.egg/ilastik for DIR in core gui modules; do ln -vs ../../ilastik-0.5-py2.7.egg/ilastik/$DIR done ) ) # Time to patch ... # Note, we should be still in $BUILDDIR. cd $PREFIX NAVTOOLBAR_MIN_HEIGHT_PATCH=' --- CellProfiler-2.2.0-0/lib/python2.7/site-packages/CellProfiler-2.2.0-py2.7.egg/cellprofiler/gui/cpfigure.py.dist 2018-10-22 16:24:35.161104708 +0200 +++ CellProfiler-2.2.0-0/lib/python2.7/site-packages/CellProfiler-2.2.0-py2.7.egg/cellprofiler/gui/cpfigure.py 2018-10-23 13:26:01.855642371 +0200 @@ -474,4 +474,6 @@ available_width, available_height = self.GetClientSize() nbheight = self.navtoolbar.GetSize()[1] + if nbheight < 40: + nbheight = 40 self.navtoolbar.SetPosition((0, 0)) self.navtoolbar.SetSize((available_width, nbheight)) ' NO_CHECK_NEW_VERSION_PATCH=" --- CellProfiler-2.2.0-0/lib/python2.7/site-packages/CellProfiler-2.2.0-py2.7.egg/cellprofiler/cellprofilerapp.py.dist 2018-10-22 16:24:35.146104724 +0200 +++ CellProfiler-2.2.0-0/lib/python2.7/site-packages/CellProfiler-2.2.0-py2.7.egg/cellprofiler/cellprofilerapp.py 2018-10-23 08:41:53.601299559 +0200 @@ -20,2 +20,3 @@ self.check_for_new_version = kwargs.pop('check_for_new_version', False) + self.check_for_new_version = False self.workspace_path = kwargs.pop('workspace_path', None) " MANGLE_SYS_PATH_PATCH=" --- CellProfiler-2.2.0-0/lib/python2.7/site-packages/CellProfiler-2.2.0-py2.7.egg/cellprofiler/__main__.py.dist 2018-10-23 13:15:18.843495001 +0200 +++ CellProfiler-2.2.0-0/lib/python2.7/site-packages/CellProfiler-2.2.0-py2.7.egg/cellprofiler/__main__.py 2018-10-23 13:23:04.150877887 +0200 @@ -1,7 +1,12 @@ +import sys +# put our site-packages *before* the ones from /pkg/python-2.7.15-1, otherwise +# we'll get the bad h5py v2.8 again +if sys.path.count('$PREFIX/lib/python2.7/site-packages'): + sys.path.remove('$PREFIX/lib/python2.7/site-packages') +sys.path.insert(1,'$PREFIX/lib/python2.7/site-packages') import h5py import logging import logging.config import re -import sys import os import numpy as np " # apply PR https://github.com/CellProfiler/CellProfiler/pull/3445 # or with less fuzz https://github.com/CellProfiler/CellProfiler/issues/2679#issuecomment-355004994 echo "$NAVTOOLBAR_MIN_HEIGHT_PATCH" | patch -p1 --verbose --read-only=ignore # slap the update check # "Exception fetching new version information from http://cellprofiler.org/CPupdate.html: HTTP Error 404: Not Found" echo "$NO_CHECK_NEW_VERSION_PATCH" | patch -p1 --verbose --read-only=ignore # not shure, why PYTHONPATH isn't preferred. echo "$MANGLE_SYS_PATH_PATCH" | patch -p1 --verbose --read-only=ignore # exit 1 # don't close ... exit
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
You can’t perform that action at this time.