Re: [gentoo-user] blender 2.80 or 2.81?

2019-12-07 Thread Helmut Jarausch

On 12/07/2019 04:39:34 PM, Caveman Al Toraboran wrote:
thing is, i already have a blender file created with 2.80.  i cannot  
open it

with 2.79.

any idea what's the easiest way to get 2.80 or 2.81 running on gentoo?

and any idea how when to expect the 2.80 or 2.81?



You could copy the attached ebuild to a local overlay like  
/usr/local/portage/media-gfx/blender
and copy the attached patch to  
/usr/local/portage/media-gfx/blender/files

run
ebuild /usr/local/portage/media-gfx/blender/blender-.ebuild manifest

and then

emerge -av1 media-gfx/blender

This gives you the most recent version of blender.
# Copyright 1999-2018 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2

EAPI=6

PYTHON_COMPAT=( python3_{7,8} )

inherit git-r3 check-reqs cmake-utils xdg-utils flag-o-matic gnome2-utils \
pax-utils python-single-r1 toolchain-funcs eapi7-ver

DESCRIPTION="3D Creation/Animation/Publishing System"
HOMEPAGE="http://www.blender.org;

# SRC_URI="http://download.blender.org/source/${P}.tar.gz;
EGIT_REPO_URI="git://git.blender.org/blender.git"

# Blender can have letters in the version string,
# so strip off the letter if it exists.
MY_PV="$(ver_cut 1-2)"

SLOT="0"
LICENSE="|| ( GPL-2 BL )"
KEYWORDS="~amd64 ~x86"
IUSE="+bullet +dds +elbeem +game-engine +openexr collada colorio \
cuda cycles debug doc ffmpeg fftw headless jack jemalloc jpeg2k libav \
llvm man ndof nls openal opencl openimageio openmp opensubdiv openvdb \
osl player sdl sndfile test tiff valgrind"

REQUIRED_USE="${PYTHON_REQUIRED_USE}
cuda? ( cycles )
cycles? ( openexr tiff openimageio )
opencl? ( cycles )
osl? ( cycles llvm )
player? ( game-engine !headless )"

RDEPEND="${PYTHON_DEPS}
>=dev-libs/boost-1.62:=[nls?,threads(+)]
dev-libs/lzo:2
>=dev-python/numpy-1.10.1[${PYTHON_USEDEP}]
dev-python/requests[${PYTHON_USEDEP}]
media-libs/freetype
media-libs/glew:*
media-libs/libpng:0=
media-libs/libsamplerate
sys-libs/zlib
virtual/glu
virtual/jpeg:0=
virtual/libintl
virtual/opengl
collada? ( >=media-libs/opencollada-1.6.18:= )
colorio? ( media-libs/opencolorio )
cuda? ( dev-util/nvidia-cuda-toolkit:= )
ffmpeg? ( media-video/ffmpeg:=[x264,mp3,encode,theora,jpeg2k?] )
libav? ( >=media-video/libav-11.3:=[x264,mp3,encode,theora,jpeg2k?] )
fftw? ( sci-libs/fftw:3.0= )
!headless? (
x11-libs/libX11
x11-libs/libXi
x11-libs/libXxf86vm
)
jack? ( virtual/jack )
jemalloc? ( dev-libs/jemalloc:= )
jpeg2k? ( media-libs/openjpeg:0 )
llvm? ( sys-devel/llvm:= )
ndof? (
app-misc/spacenavd
dev-libs/libspnav
)
nls? ( virtual/libiconv )
openal? ( media-libs/openal )
opencl? ( virtual/opencl )
openimageio? ( >=media-libs/openimageio-1.7.0 )
openexr? (
>=media-libs/ilmbase-2.2.0:=
>=media-libs/openexr-2.2.0:=
)
opensubdiv? ( >=media-libs/opensubdiv-3.3.0:=[cuda=,opencl=] )
openvdb? (

media-gfx/openvdb[${PYTHON_USEDEP},-abi3-compat(-),abi4-compat(+)]
dev-cpp/tbb
>=dev-libs/c-blosc-1.5.2
)
osl? ( media-libs/osl:= )
sdl? ( media-libs/libsdl2[sound,joystick] )
sndfile? ( media-libs/libsndfile )
tiff? ( media-libs/tiff:0 )
valgrind? ( dev-util/valgrind )"

DEPEND="${RDEPEND}
>=dev-cpp/eigen-3.2.8:3
virtual/pkgconfig
doc? (
app-doc/doxygen[-nodot(-),dot(+),latex]
dev-python/sphinx[latex]
)
nls? ( sys-devel/gettext )"

PATCHES=(
"${FILESDIR}/${PN}-fix-install-rules.patch"
)
#   "${FILESDIR}/${P}-gcc-8.patch"
#   "${FILESDIR}/${P}-ffmpeg-4-compat.patch"

blender_check_requirements() {
[[ ${MERGE_TYPE} != binary ]] && use openmp && tc-check-openmp

if use doc; then
CHECKREQS_DISK_BUILD="4G" check-reqs_pkg_pretend
fi
}

pkg_pretend() {
blender_check_requirements
}

pkg_setup() {
blender_check_requirements
python-single-r1_pkg_setup
}

src_prepare() {
cmake-utils_src_prepare

# we don't want static glew, but it's scattered across
# multiple files that differ from version to version
# !!!CHECK THIS SED ON EVERY VERSION BUMP!!!
local file
while IFS="" read -d $'\0' -r file ; do
sed -i -e '/-DGLEW_STATIC/d' "${file}" || die
done < <(find . -type f -name "CMakeLists.txt")

# Disable MS Windows help generation. The variable doesn't do what it
# it sounds like.
sed -e "s|GENERATE_HTMLHELP  = YES|GENERATE_HTMLHELP  = NO|" \
-i 

Re: [gentoo-user] blender 2.80 or 2.81?

2019-12-07 Thread tuxic
On 12/07 03:39, Caveman Al Toraboran wrote:
> thing is, i already have a blender file created with 2.80.  i cannot open it 
> with 2.79.
> 
> any idea what's the easiest way to get 2.80 or 2.81 running on gentoo?
> 
> and any idea how when to expect the 2.80 or 2.81?
> 
> rgrds,
> cm.
> 
> Sent with [ProtonMail](https://protonmail.com) Secure Email.
> 
> ‐‐‐ Original Message ‐‐‐
> On Saturday, December 7, 2019 1:17 PM, Jacques Montier  
> wrote:
> 
> > Le ven. 6 déc. 2019 23:57, Caveman Al Toraboran 
> >  a écrit :
> >
> >> any idea when?
> >>
> >> rgrds,
> >> cm.
> >
> > Hello all,
> >
> > I use Blender 2.81 and it works quite fine. Eevee render is fine.
> > Nevertheless, be careful if using old blend file with 2.81 Blender, you may 
> > lose your data.
> > Make à copy before opening old data.
> >
> > Cheers
> >
> > Jacques
> >
> >>

Hi Jacques,

it is - in opposite to quite a few other programs - qyite simple:

Download  the archive from https://www.blender.org/download/

unpack the archive and execute the blender application inside.

I myself use the daily builds from builder.blender.org. These
are the bleeding edge versions (upcoming 2.82) and they are NOT 
production ready -- but often more stable as exspected.

If you want an installation system wide, you can put the unpacked
archive to - say - /usr/local/lib/. and create a symbolic link
from /usr/local/lib/blender-/blender to
/ysr/local/bin/blender.

HTH!
Happy blending!
Cheers!
Meino






Re: [gentoo-user] blender 2.80 or 2.81?

2019-12-07 Thread Caveman Al Toraboran
thing is, i already have a blender file created with 2.80.  i cannot open it 
with 2.79.

any idea what's the easiest way to get 2.80 or 2.81 running on gentoo?

and any idea how when to expect the 2.80 or 2.81?

rgrds,
cm.

Sent with [ProtonMail](https://protonmail.com) Secure Email.

‐‐‐ Original Message ‐‐‐
On Saturday, December 7, 2019 1:17 PM, Jacques Montier  
wrote:

> Le ven. 6 déc. 2019 23:57, Caveman Al Toraboran 
>  a écrit :
>
>> any idea when?
>>
>> rgrds,
>> cm.
>
> Hello all,
>
> I use Blender 2.81 and it works quite fine. Eevee render is fine.
> Nevertheless, be careful if using old blend file with 2.81 Blender, you may 
> lose your data.
> Make à copy before opening old data.
>
> Cheers
>
> Jacques
>
>>

Re: [gentoo-user] blender 2.80 or 2.81?

2019-12-07 Thread Jacques Montier
Le ven. 6 déc. 2019 23:57, Caveman Al Toraboran <
toraboracave...@protonmail.com> a écrit :

> any idea when?
>
> rgrds,
> cm.
>


Hello all,

I use Blender 2.81 and it works quite fine. Eevee render is fine.
Nevertheless, be careful if using old blend file with 2.81 Blender, you may
lose your data.
Make à copy before opening old data.

Cheers


Jacques



>


[gentoo-user] blender 2.80 or 2.81?

2019-12-06 Thread Caveman Al Toraboran
any idea when?

rgrds,
cm.