On 12.02.2012 06:50, Daniel Dawid Majewski wrote: > W odpowiedzi na wiadomość z dnia 12.02.2012 05:16, od Daniel Dawid > Majewski: >> Ekhem... Czy ktokolwiek z obecnych próbował sił z Pythonem 3 ? Grzebię >> sobie w specu od blendera (wywaliłem łatki i na tapecie wersja 2.61), >> ale ciężko go zbudować na Python 2.7... >> Build wykłada się identycznie jak tutaj: >> http://lists.blender.org/pipermail/bf-committers/2009-September/024454.html >> > Update, dostrzegłem paczki Python3... ;) > Compiling ==> 'GHOST_NDOFManagerX11.cpp' > intern/ghost/intern/GHOST_NDOFManagerX11.cpp:28:19: fatal error: > spnav.h: No such file or directory > compilation terminated. > scons: *** [build/linux2/intern/ghost/intern/GHOST_NDOFManagerX11.o] > Error 1 > scons: building terminated because of errors. > > Any hints welcome... ;)
BR: libspnav-devel :) Swego czasu coś tam dłubałem ale pewnie Ty już dalej jesteś, w razie czego diff w załączniku, bo szkoda pchać na nową gałąź. pzdr -- Andrzej Augustyński
Index: blender/blender.spec =================================================================== RCS file: /cvsroot/packages/blender/blender.spec,v retrieving revision 1.103 diff -u -r1.103 blender.spec --- blender/blender.spec 9 Sep 2011 19:10:28 -0000 1.103 +++ blender/blender.spec 13 Feb 2012 21:11:30 -0000 @@ -5,12 +5,12 @@ Summary: 3D modeling, rendering, animation and game creation package Summary(pl.UTF-8): Pakiet do tworzenia animacji 3D oraz gier Name: blender -Version: 2.49b -Release: 9 +Version: 2.61 +Release: 0.1 License: GPL Group: X11/Applications/Graphics Source0: http://download.blender.org/source/%{name}-%{version}.tar.gz -# Source0-md5: 718eef6a4ff377989e829b92a886cc5b +# Source0-md5: 11a4721ff92286f678bb2e05e5f29c97 Source1: %{name}.desktop Source2: %{name}.png Source4: %{name}-wrapper @@ -31,12 +31,13 @@ BuildRequires: gettext-devel BuildRequires: libjpeg-devel BuildRequires: libpng-devel +BuildRequires: libspnav-devel BuildRequires: libstdc++-devel BuildRequires: libtiff-devel BuildRequires: libtool BuildRequires: libvorbis-devel BuildRequires: openssl-devel >= 0.9.7d -BuildRequires: python-devel >= 1:2.3 +BuildRequires: python3-devel >= 1:3.2 BuildRequires: rpm-pythonprov BuildRequires: rpmbuild(macros) >= 1.385 BuildRequires: scons @@ -70,8 +71,8 @@ rm -f user-config.py rm -rf bin/.blender/locale -sed 's/\(BUILD_REV :=\).*/\1 unknown/' -i source/Makefile -sed 's/\(build_rev =\).*/\1 "unknown"/' -i tools/Blender.py +#sed 's/\(BUILD_REV :=\).*/\1 unknown/' -i source/Makefile +#sed 's/\(build_rev =\).*/\1 "unknown"/' -i tools/Blender.py RPMCFLAGS="\"`echo %{rpmcflags}|sed 's/ /\",\"/g'`\"" RPMLDFLAGS="\"`echo %{rpmldflags}|sed 's/ /\",\"/g'`\"" @@ -83,7 +84,9 @@ TARGET_CC = '%{__cc}' TARGET_CXX = '%{__cxx}' -BF_PYTHON_VERSION = '%{py_ver}' +BF_PYTHON_ABI_FLAGS = 'mu' +BF_PYTHON_LIBPATH = '%{_libdir}' +BF_PYTHON_VERSION = '%{py3_ver}' BF_FFMPEG = '%{_prefix}' BF_FFMPEG_INC = '%{_includedir}/ffmpeg' @@ -114,7 +117,7 @@ install ./install/linux2/blender $RPM_BUILD_ROOT%{_bindir}/blender-bin install %{SOURCE4} $RPM_BUILD_ROOT%{_bindir}/blender -#install blenderplayer $RPM_BUILD_ROOT%{_bindir} +install ./install/linux2/blenderplayer $RPM_BUILD_ROOT%{_bindir} install %{SOURCE1} $RPM_BUILD_ROOT%{_desktopdir} install %{SOURCE2} $RPM_BUILD_ROOT%{_pixmapsdir} install -d $RPM_BUILD_ROOT%{_libdir}/blender/plugins/sequence @@ -143,8 +146,8 @@ %files -f %{name}.lang %defattr(644,root,root,755) -%doc README doc/bf-members.txt doc/python-dev-guide.txt doc/oldbugs.txt doc/interface_API.txt -%doc release/text/{blender.html,release*.txt} +%doc doc/license/bf-members.txt doc/guides/python-dev-guide.txt doc/guides/interface_API.txt +#%%doc release/text/{readme.html,release*.txt} %attr(755,root,root) %{_bindir}/* %attr(755,root,root) %{_datadir}/%{name} %attr(755,root,root) %{_libdir}/%{name}
_______________________________________________ pld-devel-pl mailing list [email protected] http://lists.pld-linux.org/mailman/listinfo/pld-devel-pl
