æåŸã«ãããªãŒãœãããŠã§ã¢ã䜿çšããåªããã¢ãŒãã£ã¹ãã§ãããKrita Foundationããã³Blender Instituteã³ãã¥ããã£ã®æ£èŠã¡ã³ããŒã§ããDavid Revoitã«ããå¥ã®èšäºã®ç¿»èš³ã ãã¹ã¿ãŒã¯ããœãŒã¹ã³ãŒãããKritaã°ã©ãã£ãã¯ãšãã£ã¿ãŒã®ææ°ããŒãžã§ã³ãæ§ç¯ããããã®æé ãåå¿è ã¢ãŒãã£ã¹ããšå ±æããŸãã 圌ã¯ããã®ããã»ã¹ã¯å®éã«ã¯äžèŠããã»ã©è€éã§è€éã§ã¯ãªããšèããŠããŸãã ãã¹ãŠã®æé ãçŸãã瀺ãããŠããŸãã åå ããŠãã ããïŒ
ãšã³ããªãŒ
CompitscriptsãGitHubã§ãªãªãŒã¹ããŠããã»ãŒ1幎ã§ãééããç¯ããããšã«æ°ä»ããŸããã Compilscriptã¢ãããŒãã®ã¢ã€ãã¢èªäœãééã£ãŠããããšãå€æããããã ãµããŒããåæ¢ããããšã«ããŸãã ã
Compilscriptãšã¯äœã§ããïŒ
Compilscriptãããžã§ã¯ãã¯ããŠãŒã¶ãŒãKritaïŒéçºè åãã®ææ°ããŒãžã§ã³ïŒããã«ãããã³ã€ã³ã¹ããŒã«ããããã°ã©ã ã®ãèªåãã¡ã³ããã³ã¹ãå®è¡ããã®ã«åœ¹ç«ã€ã¹ã¯ãªããã®ã»ããã§ããã ã¹ã¯ãªããã¯ã»ãšãã©æåããŠããŸããã ç§ã¯ãããããªããåŠãã ããšãä»ã§ãèªãã«æã£ãŠããŸãã
äœãæªãã£ãã®ã§ããïŒ
Compilscriptããšã©ãŒãã¹ããŒããŠåäœãåæ¢ããå Žåãç°åžžãªäœããçºçããå ŽåãCompilscriptã¯åäœãåæ¢ããŸã...ãããŠããç°åžžãªããšããLinuxã§ããããããšãªã®ã§ããŠãŒã¶ãŒã¯ç解ã§ããªãã·ã¹ãã ã«éåžžã«äŸåããŠããŸããã ãããŠããããå£ãããšããŠãŒã¶ãŒã®ã¯ãŒã¯ãããŒå šäœãå£ããäœãä¿®æ£ããæ¹æ³ããªããªããŸãã ããã¯è§£æ±ºçã§ã¯ãããŸããã
æ°ããã¢ãããŒã
ãããã£ãŠã
ãã¹ãŠã瀺ãããŠãã
ãŸããã³ã³ãã€ã«ã«é¢ããå€æ°ã®å³ãæäŸããŠããŸãïŒ CC-Byã©ã€ã»ã³ã¹ã®äžã§é åžãããŠããŸãïŒã ãããã®ç»åããä»ã®ãããžã§ã¯ãããããŠãŒã¶ãŒãã¬ã³ããªãŒã«ãªããç°¡åãªäŸãã§ç解ãããããªãããšãé¡ã£ãŠããŸããç«ã家ã建ãŠãŠãããšããããšã§ãã
ãªãã§ç«ïŒ
ã€ã³ã¿ãŒãããå šäœãã¢ã¶ã©ã·ãããç¥ã£ãŠããããã§ããã¢ã¶ã©ã·ãééããããšã¯äžå¯èœã§ãã
æçãã£ã¬ã¯ããª
æåã«å¿ èŠãªã¹ãããïŒå Žæã®æºåã ããŒã ãã£ã¬ã¯ããªã«çŽ5GBã®ç©ºã容éãå¿ èŠã§ãã éçºè ãæšå¥šããæ§é ã䜿çšããŸãã
/ home / <ãŠãŒã¶ãŒå> / kde4 /ãœãŒã¹ã³ãŒãã®src
/ home / <ãŠãŒã¶ãŒå> / kde4 / Kritaããã«ãããããã«ãã«ã
/ home / <ãŠãŒã¶ãŒå> / kde4 / inst Kritaãã€ã³ã¹ããŒã«ãã
æ³šïŒ ãã®ããã¥ã¢ã«ã§ã¯ã<username>ããŠãŒã¶ãŒåãšããŠæ±ããŸãïŒäŸïŒ/ home / deevad / kde4 / src ïŒ
ãããè¡ãã«ã¯ãã¿ãŒããã«ãéããè¡ãã³ããŒïŒCtrl + CïŒããŠã¿ãŒããã«ã«è²Œãä»ããŸãïŒCtrl + Shift + VïŒïŒ
mkdir -pã/ kde4 / srcã/ kde4 / buildã/ kde4 / inst
ãŸãããã£ã¹ããªãã¥ãŒã·ã§ã³ã®ããã±ãŒãžãããŒãžã£ãŒã§ã calligraããã³kritaããã±ãŒãžãã€ã³ã¹ããŒã«ãããŠããªãããšã確èªããŠãã ããã ååã«ããæ€çŽ¢ã䜿çšããå¿ èŠã«å¿ããŠåé€ããŸãã
ãœãŒã¹ã³ãŒããå ¥æããŠãã ããã
cd ïŒãã£ã¬ã¯ããªã®å€æŽïŒ ã³ãã³ããšTabããŒã䜿çšããŠãã©ã«ããŒã«ç§»åããååãèªåè£å®ããŸãã
cdã/ kde4 / src
ãã£ã¹ããªãã¥ãŒã·ã§ã³ã®ããã±ãŒãžãããŒãžã£ãŒã䜿çšããŠgitãã€ã³ã¹ããŒã«ããŸãã
次ã«ã gitã«ã³ãã³ããå ¥åããŠãœãŒã¹ã³ãŒããååŸããã¿ãŒããã«ã«ã/ kde4 / srcãã£ã¬ã¯ããªã«ãã次ã®è¡ãæ¿å ¥ããŸãã
git clone gitïŒ//anongit.kde.org/calligra.git
泚æïŒ çŸæç¹ïŒ2015幎3æïŒãQt5ãžã®ç§»è¡ã«é¢é£ããŠãKritaã®äž»ãªéçºã¯calligra / 2.9ãã©ã³ãã§å®è¡ãããããããœãŒã¹ã³ãŒããåãåã£ãçŽåŸã«ãçŸåšã®ãã©ã³ããã³ãã³ãã§åãæ¿ããå¿ èŠããããŸã
cdã/ kde4 / src / calligra
git checkout calligra / 2.9
ã©ã€ãã©ãªãšäŸåé¢ä¿ãååŸãã
ãã®éšåã¯è€éã«ãªãå¯èœæ§ããããŸããåãã£ã¹ããªãã¥ãŒã·ã§ã³ã¯ç¬èªã®æ¹æ³ã§ããã±ãŒãžã管çãããããã©ã€ãã©ãªãã€ã³ã¹ããŒã«ããŸãã Kritaã¯Calligraã®äžéšã§ãããããå€æ°ã®ã©ã€ãã©ãªã«äŸåããŠããŸãã 1ã€ã®ã³ãã³ãã§ã€ã³ã¹ããŒã«ã§ãããšã¯éããŸããã äžéšã®ãã£ã¹ããªãã¥ãŒã·ã§ã³ïŒUbuntuãopenSUSEïŒã«ã¯ããã®ããã®åºæ¬çãªã¡ã¿ããã±ãŒãžããããŸãããä»ã®ãã£ã¹ããªãã¥ãŒã·ã§ã³ã«ã¯ãããŸããã å¿ èŠãªã©ã€ãã©ãªãèªåçã«ååŸããããã®ã³ãŒãã«ã€ããŠã¯ã ãã¡ãã®å ¬åŒããã¥ã¡ã³ãããèªã¿ãã ããã ïŒ æ³šïŒ ããã¯WikiããŒãžãžã®ãªã³ã¯ã§ã ã ä»ã®ãŠãŒã¶ãŒã«ãã®ããã»ã¹ã容æã«ããããã«ãç·šéãè¿œå ãå€æŽããããããªãã§ãã ãã ãïŒ
ãã£ã¹ããªãã¥ãŒã·ã§ã³ããªã¹ãã«ãªãå Žåã¯ããã©ã³Bã«é²ã¿ãããã±ãŒãžãããŒãžã£ãŒã§ããã±ãŒãžã1ã€ãã€æ¢ããŸãã ããã¯ã²ã©ãããã«èãããŸãããããã»ã©é·ãã¯ããããªãã¯ãã§ãã ïŒ æ³šïŒ äžéšã®ãã£ã¹ããªãã¥ãŒã·ã§ã³ã§ã¯ããããã®ã©ã€ãã©ãªãŒã¯ååãšããŠ<library-name> -devãŸãã¯<library-name> -develã§åœåãããŠããŸã ïŒã
ãã®ãªã¹ãã¯ããªãã«åœ¹ç«ã¡ãŸãïŒ
git make cmake boost boost-build kdepimlibs eigen kdegraphics-okular
libgsf libwpd libwpg libwps pstoedit glew gsl automoc4 boost libkdcraw
libpqxx fftw opengtl lcms2 vc exiv2
ãŸãã«ããã£ã¹ããªãã¥ãŒã·ã§ã³ãå€ããªã£ãŠããå Žåãšåæ§ã«ãã©ã€ãã©ãªã®å€ãããŒãžã§ã³ããå©çšã§ããªãå ŽåããããŸãã ãããã®äŸåé¢ä¿ãæåã§åéããå¿ èŠããããŸãã READMEãã¡ã€ã«ãšæ€çŽ¢ãšã³ãžã³ã¯åéã§ãã
æ§æ
cmakeã§èšå®ãããšãKritaããã«ãããã®ã«ååãªã©ã€ãã©ãªãã€ã³ã¹ããŒã«ãããŠãããã©ããããã§ãã¯ãããŸãã æ§æäžã«ãšã©ãŒãçºçããå Žåã¯ãæ¬ èœããŠããã©ã€ãã©ãªã調ã¹ãŠãã ãããã³ãã³ãã¯ãåºåã«ã€ããŠããã«ã€ããŠæžã蟌ã¿ãŸãã ãããããã¹ãŠãæ£åžžã§ãããã©ããã確èªããããšãéèŠãªçç±ã§ãã
ãã©ã«ããŒæ§é ã«ã€ããŠcmakeã«éç¥ããKritaã®ã¿ããã«ãããã³ãã³ããæäŸããŸãã ãã ããæåã«cdãå®è¡ããŠããã¹ãŠãé©åãªå Žæã§å®è¡ããŸãã
cdã/ kde4 /ãã«ã
cmake -DCMAKE_INSTALL_PREFIX = $ HOME / kde4 / inst $ HOME / kde4 / src / calligra -DCMAKE_BUILD_TYPE = RelWithDebInfo -DPRODUCTSET = KRITA
çµç«
èšå®ã¬ããŒããèªãã åŸããã¹ãŠãããŸãèŠããããKritaããã«ãããŸãã
/ kde4 / buildãã©ã«ããŒã«æ®ãã -j < mount >ãã©ã¡ãŒã¿ãŒãæå®ããŠmakeãåŒã³åºããŸããããã§ã<mount>ã¯ãããã»ããµãŒã§ãµããŒããããŠãã䞊åæäœã®æ°ã«çœ®ãæããå¿ èŠããããŸãïŒ+1ãæšå¥šãããå ŽåããããŸãïŒã ããšãã°ã8ã€ã®ã³ã¢ãããããã-j9ã䜿çšããŸãã
make -j9
ãã³ãïŒã³ã¢ã®æ°ãããããªãå Žåã¯ãç°¡åãªã³ãã³ãã§ç¢ºèªã§ããŸãã
cat / proc / cpuinfo | grepããã»ããµ| wc -l
èšçœ®
ã¢ã»ã³ããªããšã©ãŒãªãã§100ïŒ ã«éããå Žåã¯ã makeã³ãã³ãã䜿çšããŠããã©ã«ããŒã«ãã¡ã€ã«ãã€ã³ã¹ããŒã«ã§ããŸãã
-j9ãã€ã³ã¹ããŒã«ãã
ãã¹ãšç°å¢å€æ°
ã€ã³ã¹ããŒã«ã¯å®äºããŸããããã·ã¹ãã ã¯ã€ã³ã¹ããŒã«ãã©ã«ããŒã®å 容ãã·ã¹ãã äžã®ã¢ããªã±ãŒã·ã§ã³ã»ããã®äžéšãšããŠãŸã èæ ®ããŠããŸããã ã·ã¹ãã ã«æ£ãããã¹ã衚瀺ããŸãããã ã¿ãŒããã«ã§æ¬¡ã®è¡ãé çªã«ã³ããŒããŸãã
export KDEDIRS = $ HOME / kde4 / instïŒ$ KDEDIRS
export PATH = $ HOME / kde4 / inst / binïŒ$ PATH
æ®å¿µãªããããããã®ç°å¢å€æ°ã¯äžå®ã§ã¯ãªããããã·ã¹ãã ã®é»æºãåã£ããåèµ·åããããããšå€±ãããããªããžã厩å£ããŸãã ãã°ã€ã³ãããã³ã«ç¢ºèªããã«ã¯ããæ°ã«å ¥ãã®ããã¹ããšãã£ã¿ãŒã䜿çšããŠã/ .profileãã¡ã€ã«ã®æåŸã«æ¿å ¥ããŸãïŒäžéšã®ãã£ã¹ããªãã¥ãŒã·ã§ã³ã§ã¯ããããã¡ã€ã«ã¯xprofileãšåŒã°ããhome / <username>ãã©ã«ããŒã®é ããã¡ã€ã«ã確èªããŸãïŒã ãã®åŸãKritaãã·ã¹ãã ã«ç»é²ããå¿ èŠããããŸããkbuildsycoca4ã¯ã¿ãŒããã«ã§èµ·åããåŸã«ãããè¡ããŸãïŒ
kbuildsycoca4
æåã®æã¡äžã
ããã§ãšãããããŸãïŒ Krita-minute- freshnessãå®è¡ããã«ã¯ã ã¿ãŒããã«ã§ kritaãèšè¿°ããããã·ã¹ãã ã¡ãã¥ãŒã䜿çšããŸãã
Kritaãããã«è¡šç€ºãããªãå Žåã¯ããã¹ã¯ãããç°å¢ã®ããã¥ã¡ã³ããã«ã¹ã¿ã èµ·åãã¿ã³ã®äœææ¹æ³ãããèªã¿ãã ããã
æŽæ°ãã
æ°ããçŽ æŽãããæ©èœã®è¿œå ã«ã€ããŠèããããšãããããè¿·æãªãã°ã®ä¿®æ£ã«ã€ããŠèªãã§ãããŒãžã§ã³ãæŽæ°ãããã§ããïŒ èœã¡çããŠãããäžåºŠgitãåŒã³åºããŸãã äžè¶³ããŠããã³ãŒãè¡ããã©ã«ããŒã«è¿œå ããŸãã ããã±ãŒãžå šäœãããŠã³ããŒãããå¿ èŠã¯ãããŸããã
ã³ãŒããã©ã«ããŒã«ç§»åïŒcdïŒããŠããã git pullã«ã³ãŒãã®æŽæ°ãäŸé ŒããŸãã
cdã/ kde4 / src / calligra /
git pull
ãã ããã³ãŒããæŽæ°ããã ãã§ã¯ååã§ã¯ãããŸããã Kritaã®æ°ããããŒãžã§ã³ããã¹ãããã«ã¯ãèšå®ãã³ã³ãã€ã«ãã€ã³ã¹ããŒã«ãç¹°ãè¿ãå¿ èŠããããŸãïŒ
cdã/ kde4 /ãã«ã
cmake -DCMAKE_INSTALL_PREFIX = $ HOME / kde4 / inst $ HOME / kde4 / src / calligra -DCMAKE_BUILD_TYPE = RelWithDebInfo -DPRODUCTSET = KRITA
make -j8
-j8ãã€ã³ã¹ããŒã«ãã
æ¯æ¥æŽæ°ããå Žåãç¬èªã®æå°éã®ã¹ã¯ãªãããäœæããŠããã»ã¹ãèªååã§ããŸãã ç§ã¯ 'KDE paste'ãµãŒãã¹ã䜿çšããŠç§ã®ãã®ãå ±æããŸãã ã
å埩
éçºè åãã®ææ°ããŒãžã§ã³ãã¯ã©ãã·ã¥ãããã䜿çšã§ããªããªãããšããããŸãã å®éšçãªå€æŽã¯æ¯æ¥è¿œå ãããŸãã ãéå»ã«æ»ããæ¹æ³ãããããªãå Žåãããã¯çç£æ§ãæãªãå¯èœæ§ããããŸãïŒããšãã°ããæ°ã«å ¥ãã®ãã©ã·ãæ©èœããªããªã£ããªã©ïŒã ãã ãããããè¡ãæ¹æ³ãç¥ã£ãŠããã°ã æ··ä¹±ããããšã¯ãããŸãããåã®ç¶æ ã«æ»ãããšãã§ããããã§ãã
ã³ãŒããšæéãæ ããã«ã¯ã幎衚ã«æ £ããå¿ èŠããããŸãã ã¿ãŒããã«ã§ã¯ãããã«gitãã°ã䜿çšãããŸãã
cdã/ kde4 / src / calligra /
git log
git logã䜿çšãããšããã³ãããããšåŒã°ããã³ãŒãå€æŽã远跡ã§ããŸãã é·ãèå¥çªå·ïŒäŸïŒ15c1749105a7e7cc56b646a66919c29646f8653aïŒã«èå³ããããŸãã git logãã¹ã¯ããŒã«ããIDçªå·ãã³ããŒããŠçµäºããŸãïŒããŒããŒãã®Qã®æåïŒã ããã§ã¯ãã³ãŒããã©ã«ããŒã«æ»ã£ãŠã¿ãŸãããã
git checkout 15c1749105a7e7cc56b646a66919c29646f8653a
ããã§æ§æãã³ã³ãã€ã«ãå®äºããåã³å®å šã«ãªããŸããã ãŸãã gitå±¥æŽã衚瀺ããããã®ã°ã©ãã£ã«ã«ã€ã³ã¿ãŒãã§ã€ã¹ãæã€gitgãŸãã¯gitkããã±ãŒãžããå§ãããŸãã ãªã³ã©ã€ã³çããã¡ãããå ¥æã§ããŸãã
masterãšããååã®ã€ã³ã¹ã¿ã³ããã¬ãã·ã¥ãã¹ã³ãŒãã«åã³ã¢ããã°ã¬ãŒãããã«ã¯ã git checkoutã§gitã«ã¢ã¯ã»ã¹ããŠïŒ pull ïŒã¢ããããŒããååŸããããã«gitã«äŸé ŒããŸãã
git checkout master
git pull
ãŸãšã
ãã®ã¬ã€ãããå€ãã®ãŠãŒã¶ãŒãéçºè åãã«KritaããŒãžã§ã³ã®æ©èœã楜ããã®ã«åœ¹ç«ã€ããšãé¡ã£ãŠããŸãã
ã³ã¡ã³ãã«ãã£ãŒãããã¯ãèšæ£ãæ®ãããšãã§ããŸãããã®ããŒãžã®é¢é£æ§ãç¶æããããã«ã§ããéãã®ããšãè¡ããŸãïŒçŽïŒãã®èšäºã®ç¿»èš³ãé¢é£æ§ãä¿ã€ããã«ããŸãïŒã
䟿å©ãªãªã³ã¯ïŒ
-VKã®ãã·ã¢èªã話ããŠãŒã¶ãŒã®ã°ã«ãŒã
- ãšã©ãŒå ±åãã©ãŒã ïŒå ¬åŒãšã©ãŒããŒã¿ããŒã¹ïŒ
- ãã·ã¢èªã®ãšã©ãŒã¡ãã»ãŒãžãã©ãŒã
-Kritaå ¬åŒããã°
-Kritaå ¬åŒãã©ãŒã©ã
ãã®ä»ã®ãªã³ã¯
-å
¬åŒã®Calligraãã«ãããã¥ã¡ã³ãwikiããŒãž ã
-Calligra GitïŒã¢ã¯ãã£ããã£ãšå±¥æŽ
- çºèŠããã³ä¿®æ£ãããKritaãã°ã®ãªã¹ã
-å€ãCompilscriptãªããžããªïŒéããªãåé€ãããŸãïŒ
-Calligra GitïŒã¢ã¯ãã£ããã£ãšå±¥æŽ
- çºèŠããã³ä¿®æ£ãããKritaãã°ã®ãªã¹ã
-å€ãCompilscriptãªããžããªïŒéããªãåé€ãããŸãïŒ