sdb12で。ホームに
/portage/local/media-sound/clementineフォルダを作り
管理者権限で/etc/portage/make.confに下記ピンク部追記
INPUT_DEVICES="evdev keyboard mouse"
VIDEO_CARDS="nvidia"
MAKEOTS="-j3"
LINGUAS="ja"
PORTDIR="/usr/portage"
DISTDIR="${PORTDIR}/distfiles"
PKGDIR="${PORTDIR}/packages"
PORTDIR_OVERLAY="/home/ユーザー名/portage/local"
GENTOO_MIRRORS="http://ftp.iij.ad.jp/pub/linux/gentoo/"
#SYNC="rsync://rsync1.jp.gentoo.org/gentoo-portage"
SYNC="rsync://rsync5.jp.gentoo.org/gentoo-portage"
XFCE_PLUGINS="brightness clock trash"
--------
/usr/portage/media-sound/clementine/clementine-1.2.3.ebuild で
ホームの/portage/local/media-sound/clementineフォルダに空ファイルを作り
名称をclementine-1.2.3.ebuildにする。(プロパティでclementine-1.2.3.ebuildをcopyしてから空ファイルを作ったのかも知れない)
ホーム側のclementine-1.2.3.ebuildファイルをleafpadで開いて
/usr/portage/media-sound/clementine/clementine-1.2.3.ebuild をleafpadで開いて内容をcopyして、
ホームの開いた/portage/local/media-sound/clementine/clementine-1.2.3.ebuildファイルに貼り付ける。
で端末で
# emerge clementine でVer1.2.2のclementineが出来ました。
感想として何故Ver1.2.3が出来なかったのか?
作業前はportholeは1.2.2が推薦に成っていて、インストールされていたVerは1.1.1でした。
# emerge clementine をしても Verは1.1.1のままでした。
上手く行かなくてもVer1.2.3を作る為には
下記は3年前のやり方でNG
hoge@Gentoo Linux ~ $ cd '/home/hoge/portage/local/media-sound/clementine'
hoge@Gentoo Linux ~/portage/local/media-sound/clementine $ ebuild clementine-1.2.3.ebuild digest
をする必要が有るのか?不明です。
Ver1.2.3が出来た時には
/usr/portage/media-sound/clementine/clementine-1.2.2.ebuild をリネームして
/usr/portage/media-sound/clementine/REclementine-1.2.2.ebuild にしていて
作業で
# emerge clementine をしましたが上手く行かなかったので元の
/usr/portage/media-sound/clementine/clementine-1.2.2.ebuild に戻しました。
それから
# emerge clementine で要求された物を書き加えて再び
# emerge clementine でVer1.2.3のclementineが出来ました。よく分かりません。
アプリの状態としてはVer1.2.2の方がいいような感じですが、今日はnet障害が無いのかも知れません。プロバイダーがハズレだと難行苦行の連続です。ひどさが半端では有りません、Mint17でFirefoxでnetに接続出来ない事が有りました。
継っても光なのに、大昔のダイヤルアップ並の速度しか出ていなかったりと悲惨です。
私は勝手に「苦ンーnet」と呼んでいます。
その後やっとどうにか1.2.3に出来た。続きは次の 雑記 日記帳 で
///////////////////////////////////
-----------------------------------
# emerge clementine
!!! Repository 'x-local' is missing masters attribute in '/home/hoge/portage/local/metadata/layout.conf'
!!! Set 'masters = gentoo' in this file for future compatibility
WARNING: One or more repositories have missing repo_name entries:
中 大幅に略
clementine-1.2.2/work/clementine-1.2.2_build/ext/clementine-tagreader/qrc_data.cxx
Linking CXX executable ../../clementine-tagreader
cd /var/tmp/portage/media-sound/clementine-1.2.2/work/clementine-1.2.2_build/ext/clementine-tagreader && /usr/bin/cmake -E cmake_link_script CMakeFiles/clementine-tagreader.dir/link.txt --verbose=1
/usr/bin/x86_64-pc-linux-gnu-g++ -O2 -pipe --std=c++0x -U__STRICT_ANSI__ -Wl,-O1 -Wl,--as-needed CMakeFiles/clementine-tagreader.dir/main.cpp.o CMakeFiles/clementine-tagreader.dir/tagreaderworker.cpp.o CMakeFiles/clementine-tagreader.dir/qrc_data.cxx.o -o ../../clementine-tagreader -L/usr/lib64/qt4 -rdynamic -ltag /usr/lib64/qt4/libQtCore.so /usr/lib64/qt4/libQtNetwork.so ../libclementine-common/liblibclementine-common.a ../libclementine-tagreader/liblibclementine-tagreader.a ../libclementine-common/liblibclementine-common.a -lprotobuf -ltag -lpthread -Wl,-rpath,/usr/lib64/qt4:
make[2]: ディレクトリ `/var/tmp/portage/media-sound/clementine-1.2.2/work/clementine-1.2.2_build' から出ます
/usr/bin/cmake -E cmake_progress_report /var/tmp/portage/media-sound/clementine-1.2.2/work/clementine-1.2.2_build/CMakeFiles
[100%] Built target clementine-tagreader
make -f src/CMakeFiles/clementine.dir/build.make src/CMakeFiles/clementine.dir/depend
make[2]: ディレクトリ `/var/tmp/portage/media-sound/clementine-1.2.2/work/clementine-1.2.2_build' に入ります
cd /var/tmp/portage/media-sound/clementine-1.2.2/work/clementine-1.2.2_build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /var/tmp/portage/media-sound/clementine-1.2.2/work/Clementine-1.2.2 /var/tmp/portage/media-sound/clementine-1.2.2/work/Clementine-1.2.2/src /var/tmp/portage/media-sound/clementine-1.2.2/work/clementine-1.2.2_build /var/tmp/portage/media-sound/clementine-1.2.2/work/clementine-1.2.2_build/src /var/tmp/portage/media-sound/clementine-1.2.2/work/clementine-1.2.2_build/src/CMakeFiles/clementine.dir/DependInfo.cmake --color=
Dependee "/var/tmp/portage/media-sound/clementine-1.2.2/work/clementine-1.2.2_build/src/CMakeFiles/clementine.dir/DependInfo.cmake" is newer than depender "/var/tmp/portage/media-sound/clementine-1.2.2/work/clementine-1.2.2_build/src/CMakeFiles/clementine.dir/depend.internal".
Dependee "/var/tmp/portage/media-sound/clementine-1.2.2/work/clementine-1.2.2_build/src/CMakeFiles/CMakeDirectoryInformation.cmake" is newer than depender "/var/tmp/portage/media-sound/clementine-1.2.2/work/clementine-1.2.2_build/src/CMakeFiles/clementine.dir/depend.internal".
Scanning dependencies of target clementine
make[2]: ディレクトリ `/var/tmp/portage/media-sound/clementine-1.2.2/work/clementine-1.2.2_build' から出ます
make -f src/CMakeFiles/clementine.dir/build.make src/CMakeFiles/clementine.dir/build
make[2]: ディレクトリ `/var/tmp/portage/media-sound/clementine-1.2.2/work/clementine-1.2.2_build' に入ります
/usr/bin/cmake -E cmake_progress_report /var/tmp/portage/media-sound/clementine-1.2.2/work/clementine-1.2.2_build/CMakeFiles
[100%] Building CXX object src/CMakeFiles/clementine.dir/main.cpp.o
cd /var/tmp/portage/media-sound/clementine-1.2.2/work/clementine-1.2.2_build/src && /usr/bin/x86_64-pc-linux-gnu-g++ -DBOOST_BIND_NO_PLACEHOLDERS -DBUILD_QXT_CORE -DBUILD_QXT_GUI -DQT_CORE_LIB -DQT_DBUS_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_NO_CAST_TO_ASCII -DQT_NO_URL_CAST_FROM_STRING -DQT_OPENGL_LIB -DQT_SQL_LIB -DQT_STRICT_ITERATORS -DQT_USE_QSTRINGBUILDER -DQT_XML_LIB -DQXT_STATIC -DQT_NO_DEBUG_OUTPUT -DNDEBUG -O2 -pipe -Woverloaded-virtual -Wall -Wno-sign-compare -Wno-deprecated-declarations -Wno-unused-local-typedefs -Wno-unused-private-field -Wno-unknown-warning-option --std=c++0x -U__STRICT_ANSI__ -I/usr/include/taglib -isystem /usr/include/qt4 -isystem /usr/include/qt4/QtCore -I/usr/include/gstreamer-0.10 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/libxml2 -isystem /usr/include/qt4/QtOpenGL -isystem /usr/include/qt4/QtGui -isystem /usr/include/qt4/QtDBus -isystem /usr/include/qt4/QtXml -isystem /usr/include/qt4/QtSql -isystem /usr/include/qt4/QtNetwork -I/var/tmp/portage/media-sound/clementine-1.2.2/work/Clementine-1.2.2/3rdparty/qsqlite -I/var/tmp/portage/media-sound/clementine-1.2.2/work/Clementine-1.2.2 -I/var/tmp/portage/media-sound/clementine-1.2.2/work/clementine-1.2.2_build/src -I/var/tmp/portage/media-sound/clementine-1.2.2/work/Clementine-1.2.2/src -I/var/tmp/portage/media-sound/clementine-1.2.2/work/Clementine-1.2.2/src/../3rdparty/gmock/gtest/include -I/var/tmp/portage/media-sound/clementine-1.2.2/work/clementine-1.2.2_build -I/var/tmp/portage/media-sound/clementine-1.2.2/work/Clementine-1.2.2/3rdparty/qtsingleapplication -I/var/tmp/portage/media-sound/clementine-1.2.2/work/Clementine-1.2.2/3rdparty/qtiocompressor -I/var/tmp/portage/media-sound/clementine-1.2.2/work/Clementine-1.2.2/3rdparty/qxt -I/var/tmp/portage/media-sound/clementine-1.2.2/work/Clementine-1.2.2/3rdparty/sha2 -I/usr/include/mygpo-qt -I/var/tmp/portage/media-sound/clementine-1.2.2/work/Clementine-1.2.2/ext/libclementine-common -I/var/tmp/portage/media-sound/clementine-1.2.2/work/Clementine-1.2.2/ext/libclementine-tagreader -I/var/tmp/portage/media-sound/clementine-1.2.2/work/clementine-1.2.2_build/ext/libclementine-tagreader -I/var/tmp/portage/media-sound/clementine-1.2.2/work/Clementine-1.2.2/ext/libclementine-remote -I/var/tmp/portage/media-sound/clementine-1.2.2/work/clementine-1.2.2_build/ext/libclementine-remote -I/var/tmp/portage/media-sound/clementine-1.2.2/work/Clementine-1.2.2/ext/libclementine-spotifyblob -I/var/tmp/portage/media-sound/clementine-1.2.2/work/clementine-1.2.2_build/ext/libclementine-spotifyblob -I/usr/include/qca2/QtCrypto -o CMakeFiles/clementine.dir/main.cpp.o -c /var/tmp/portage/media-sound/clementine-1.2.2/work/Clementine-1.2.2/src/main.cpp
Linking CXX executable ../clementine
cd /var/tmp/portage/media-sound/clementine-1.2.2/work/clementine-1.2.2_build/src && /usr/bin/cmake -E cmake_link_script CMakeFiles/clementine.dir/link.txt --verbose=1
/usr/bin/x86_64-pc-linux-gnu-g++ -O2 -pipe -Woverloaded-virtual -Wall -Wno-sign-compare -Wno-deprecated-declarations -Wno-unused-local-typedefs -Wno-unused-private-field -Wno-unknown-warning-option --std=c++0x -U__STRICT_ANSI__ -Wl,-O1 -Wl,--as-needed CMakeFiles/clementine.dir/main.cpp.o -o ../clementine -L/usr/lib64/qt4 -L/usr/lib64/qca2 -rdynamic libclementine_lib.a ../ext/libclementine-spotifyblob/libclementine-spotifyblob-messages.a ../ext/libclementine-tagreader/liblibclementine-tagreader.a ../ext/libclementine-remote/liblibclementine-remote.a ../ext/libclementine-common/liblibclementine-common.a -lprotobuf ../3rdparty/sha2/libsha2.a -ltag -lmygpo-qt -lQtNetwork ../3rdparty/qtsingleapplication/libqtsingleapplication.a ../3rdparty/qtiocompressor/libqtiocompressor.a ../3rdparty/qocoa/libQocoa.a -lQtCore -lchromaprint -lechonest -lgobject-2.0 -lglib-2.0 -lqjson -lgstbase-0.10 -lgstreamer-0.10 -lgmodule-2.0 -lgthread-2.0 -lxml2 -lgstapp-0.10 -lgsttag-0.10 -lz -lgio-2.0 -lcdio -lm -lgstcdda-0.10 -lqca -lQtCore -lchromaprint -lechonest -lgobject-2.0 -lglib-2.0 -lqjson -lgstbase-0.10 -lgstreamer-0.10 -lgmodule-2.0 -lgthread-2.0 -lxml2 -lgstapp-0.10 -lgsttag-0.10 -lz -lgio-2.0 -lcdio -lm -lgstcdda-0.10 -lqca -lpthread ../3rdparty/qxt/libqxt.a ../3rdparty/qsqlite/libqsqlite.a /usr/lib64/qt4/libQtOpenGL.so /usr/lib64/qt4/libQtGui.so /usr/lib64/qt4/libQtDBus.so /usr/lib64/qt4/libQtXml.so /usr/lib64/qt4/libQtSql.so /usr/lib64/qt4/libQtNetwork.so /usr/lib64/qt4/libQtCore.so ../3rdparty/qsqlite/libsqlite.a -lX11 -ldl -Wl,-rpath,/usr/lib64/qt4:/usr/lib64/qca2:
make[2]: ディレクトリ `/var/tmp/portage/media-sound/clementine-1.2.2/work/clementine-1.2.2_build' から出ます
/usr/bin/cmake -E cmake_progress_report /var/tmp/portage/media-sound/clementine-1.2.2/work/clementine-1.2.2_build/CMakeFiles
[100%] Built target clementine
make[1]: ディレクトリ `/var/tmp/portage/media-sound/clementine-1.2.2/work/clementine-1.2.2_build' から出ます
/usr/bin/cmake -E cmake_progress_start /var/tmp/portage/media-sound/clementine-1.2.2/work/clementine-1.2.2_build/CMakeFiles 0
>>> Source compiled.
* Skipping make test/check due to ebuild restriction.
>>> Test phase [disabled because of RESTRICT=test]: media-sound/clementine-1.2.2
>>> Install clementine-1.2.2 into /var/tmp/portage/media-sound/clementine-1.2.2/image/ category media-sound
>>> Working in BUILD_DIR: "/var/tmp/portage/media-sound/clementine-1.2.2/work/clementine-1.2.2_build"
make install
[ 0%] Built target sqlite
[ 0%] Built target qsqlite
[ 1%] Built target qtsingleapplication
[ 2%] Built target qtiocompressor
[ 2%] Built target qxt
[ 2%] Built target sha2
[ 3%] Built target Qocoa
[ 4%] Built target libclementine-common
[ 4%] Built target clementine-spotifyblob-messages
[ 5%] Built target libclementine-tagreader
[ 5%] Built target libclementine-remote
[100%] Built target clementine_lib
[100%] Built target clementine-tagreader
[100%] Built target clementine
Install the project...
-- Install configuration: "Gentoo"
-- Installing: /var/tmp/portage/media-sound/clementine-1.2.2/image/usr/bin/clementine
-- Removed runtime path from "/var/tmp/portage/media-sound/clementine-1.2.2/image//usr/bin/clementine"
-- Installing: /var/tmp/portage/media-sound/clementine-1.2.2/image/usr/share/icons/hicolor/64x64/apps/application-x-clementine.png
-- Installing: /var/tmp/portage/media-sound/clementine-1.2.2/image/usr/share/icons/hicolor/scalable/apps/application-x-clementine.svg
-- Installing: /var/tmp/portage/media-sound/clementine-1.2.2/image/usr/share/applications/clementine.desktop
-- Installing: /var/tmp/portage/media-sound/clementine-1.2.2/image/usr/share/kde4/services/clementine-itms.protocol
-- Installing: /var/tmp/portage/media-sound/clementine-1.2.2/image/usr/share/kde4/services/clementine-itpc.protocol
-- Installing: /var/tmp/portage/media-sound/clementine-1.2.2/image/usr/share/kde4/services/clementine-feed.protocol
-- Installing: /var/tmp/portage/media-sound/clementine-1.2.2/image/usr/share/kde4/services/clementine-zune.protocol
-- Installing: /var/tmp/portage/media-sound/clementine-1.2.2/image/usr/bin/clementine-tagreader
-- Removed runtime path from "/var/tmp/portage/media-sound/clementine-1.2.2/image//usr/bin/clementine-tagreader"
>>> Completed installing clementine-1.2.2 into /var/tmp/portage/media-sound/clementine-1.2.2/image/
* QA Notice: This package installs one or more .desktop files that do not
* pass validation.
*
* /usr/share/applications/clementine.desktop: error: file contains group "Next Shortcut Group", but groups extending the format should start with "X-"
* /usr/share/applications/clementine.desktop: error: file contains group "Pause Shortcut Group", but groups extending the format should start with "X-"
* /usr/share/applications/clementine.desktop: error: file contains group "Play Shortcut Group", but groups extending the format should start with "X-"
* /usr/share/applications/clementine.desktop: error: file contains group "Previous Shortcut Group", but groups extending the format should start with "X-"
* /usr/share/applications/clementine.desktop: error: file contains group "Stop Shortcut Group", but groups extending the format should start with "X-"
*
strip: x86_64-pc-linux-gnu-strip --strip-unneeded -R .comment -R .GCC.command.line -R .note.gnu.gold-version
usr/bin/clementine
usr/bin/clementine-tagreader
ecompressdir: bzip2 -9 /usr/share/doc
>>> Installing (3 of 3) media-sound/clementine-1.2.2
* Updating icons cache ... [ ok ]
* Updating desktop mime database ...
* Updating icons cache ... [ ok ]
>>> Auto-cleaning packages...
>>> No outdated packages were found on your system.
* GNU info directory index is up-to-date.
* IMPORTANT: 7 config files in '/etc' need updating.
* See the CONFIGURATION FILES section of the emerge
* man page to learn how to update config files.
* IMPORTANT: 8 news items need reading for repository 'gentoo'.
* Use eselect news to read news items.