pkgsrc-WIP-changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

chromium-new: Implement do-install target and remove unused part



Module Name:	pkgsrc-wip
Committed By:	Ryo ONODERA <ryoon%NetBSD.org@localhost>
Pushed By:	ryoon
Date:		Sat Jul 23 16:46:20 2016 +0900
Changeset:	91c4b0d90add412aa668a67d398de7e279dd0244

Modified Files:
	chromium-new/Makefile
	chromium-new/PLIST

Log Message:
chromium-new: Implement do-install target and remove unused part

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=91c4b0d90add412aa668a67d398de7e279dd0244

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

diffstat:
 chromium-new/Makefile | 156 ++++++++++-------------------
 chromium-new/PLIST    | 269 ++++++++++++++++++++++++++++++++++++++++++++++++++
 2 files changed, 319 insertions(+), 106 deletions(-)

diffs:
diff --git a/chromium-new/Makefile b/chromium-new/Makefile
index fd99320..699a624 100644
--- a/chromium-new/Makefile
+++ b/chromium-new/Makefile
@@ -131,112 +131,6 @@ GYP_DEFINES+=	google_default_client_secret=3R9TyUv14OXgzJnZi6Ismela
 pre-patch:
 	${RM} ${WRKSRC}/third_party/skia/tests/ImageFilterTest.cpp.*
 
-unused-pre-configure:
-# Preserve third party source tree with remove_bundled_libraries.py script.
-	cd ${WRKSRC} && \
-	${PYTHONBIN} ./build/linux/unbundle/remove_bundled_libraries.py \
-		'base/third_party/dmg_fp' \
-		'base/third_party/dynamic_annotations' \
-		'base/third_party/icu' \
-		'base/third_party/nspr' \
-		'base/third_party/superfasthash' \
-		'base/third_party/symbolize' \
-		'base/third_party/valgrind' \
-		'base/third_party/xdg_mime' \
-		'base/third_party/xdg_user_dirs' \
-		'breakpad/src/third_party/curl' \
-		'chrome/third_party/mock4js' \
-		'chrome/third_party/mozilla_security_manager' \
-		'courgette/third_party' \
-		'crypto/third_party/nss' \
-		'net/third_party/mozilla_security_manager' \
-		'net/third_party/nss' \
-		'third_party/WebKit' \
-		'third_party/analytics' \
-		'third_party/angle' \
-		'third_party/angle/src/third_party' \
-		'third_party/blanketjs' \
-		'third_party/brotli' \
-		'third_party/boringssl' \
-		'third_party/cacheinvalidation' \
-		'third_party/catapult' \
-		'third_party/catapult/third_party/beautifulsoup' \
-		'third_party/catapult/third_party/py_vulcanize' \
-		'third_party/catapult/third_party/py_vulcanize/py_vulcanize' \
-		'third_party/catapult/third_party/py_vulcanize/third_party/rcssmin' \
-		'third_party/catapult/third_party/py_vulcanize/third_party/rjsmin' \
-		'third_party/catapult/tracing' \
-		'third_party/catapult/tracing/third_party' \
-		'third_party/cld' \
-		'third_party/cros_system_api' \
-		'third_party/dom_distiller_js' \
-		'third_party/dom_distiller_js/dist/proto_gen/third_party/dom_distiller_js' \
-		'third_party/ffmpeg' \
-		'third_party/gardiner_mod' \
-		'third_party/fips181' \
-		'third_party/flac' \
-		'third_party/flot' \
-		'third_party/google_input_tools' \
-		'third_party/google_input_tools/third_party/closure_library' \
-		'third_party/google_input_tools/third_party/closure_library/third_party/closure' \
-		'third_party/harfbuzz-ng' \
-		'third_party/hunspell' \
-		'third_party/iccjpeg' \
-		'third_party/icu' \
-		'third_party/jinja2' \
-		'third_party/jstemplate' \
-		'third_party/khronos' \
-		'third_party/leveldatabase' \
-		'third_party/libaddressinput' \
-		'third_party/libphonenumber' \
-		'third_party/libjingle' \
-		'third_party/libsrtp' \
-		'third_party/libusb' \
-		'third_party/libvpx' \
-		'third_party/libvpx/source/libvpx/third_party/x86inc' \
-		'third_party/libwebm' \
-		'third_party/libxml/chromium' \
-		'third_party/libXNVCtrl' \
-		'third_party/libyuv' \
-		'third_party/lss' \
-		'third_party/lzma_sdk' \
-		'third_party/markupsafe' \
-		'third_party/mesa' \
-		'third_party/modp_b64' \
-		'third_party/mt19937ar' \
-		'third_party/openh264' \
-		'third_party/openmax_dl' \
-		'third_party/opus' \
-		'third_party/ots' \
-		'third_party/pdfium' \
-		'third_party/pdfium/third_party' \
-		'third_party/ply' \
-		'third_party/polymer' \
-		'third_party/protobuf' \
-		'third_party/pywebsocket' \
-		'third_party/qcms' \
-		'third_party/qunit' \
-		'third_party/sfntly' \
-		'third_party/sinonjs' \
-		'third_party/skia' \
-		'third_party/smhasher' \
-		'third_party/speech-dispatcher' \
-		'third_party/sqlite' \
-		'third_party/tcmalloc' \
-		'third_party/tlslite' \
-		'third_party/usrsctp' \
-		'third_party/web-animations-js' \
-		'third_party/webdriver' \
-		'third_party/webrtc' \
-		'third_party/widevine' \
-		'third_party/woff2' \
-		'third_party/x86inc' \
-		'third_party/yasm' \
-		'third_party/zlib' \
-		'url/third_party/mozilla' \
-		'v8/src/third_party/valgrind' \
-		'v8/src/third_party/fdlibm' \
-		--do-remove
 pre-configure:
 	cd ${WRKSRC} && \
 	${PYTHONBIN} ./build/linux/unbundle/replace_gyp_files.py \
@@ -331,6 +225,56 @@ do-build:
 	ninja -C out/${BUILDTYPE} ${target}
 .endfor
 
+CHROMIUM_DIR=		chrome
+INSTALLATION_DIRS+=	${CHROMIUM_DIR}
+INSTALLATION_DIRS+=	bin
+INSTALLATION_DIRS+=	${PKGMANDIR}/man1
+
+ICON_SIZES=		22 24 48 64 128 256
+.for i in ${ICON_SIZES}
+ICONS_DIR${i}+=		share/icons/hicolor/${i}x${i}/apps
+INSTALLATION_DIRS+=	${ICONS_DIR${i}}
+.endfor
+
+CHROMIUM_PROGS+=	chrome
+CHROMIUM_PROGS+=	mksnapshot
+
+CHROMIUM_FILES+=	libyuv.a
+CHROMIUM_FILES+=	chrome_100_percent.pak
+CHROMIUM_FILES+=	chrome_200_percent.pak
+CHROMIUM_FILES+=	chrome_material_100_percent.pak
+CHROMIUM_FILES+=	chrome_material_200_percent.pak
+CHROMIUM_FILES+=	content_browser_manifest.json
+CHROMIUM_FILES+=	content_renderer_manifest.json
+CHROMIUM_FILES+=	content_resources.pak
+CHROMIUM_FILES+=	icudtl.dat
+CHROMIUM_FILES+=	keyboard_resources.pak
+CHROMIUM_FILES+=	resources.pak
+CHROMIUM_FILES+=	shell_resources.pak
+
+do-install:
+.for i in ${CHROMIUM_PROGS}
+	${INSTALL_PROGRAM} ${WRKSRC}/out/${BUILDTYPE}/${i} \
+		${DESTDIR}${PREFIX}/${CHROMIUM_DIR}
+.endfor
+.for i in ${CHROMIUM_FILES}
+	${INSTALL_DATA} ${WRKSRC}/out/${BUILDTYPE}/${i} \
+		${DESTDIR}${PREFIX}/${CHROMIUM_DIR}
+.endfor
+	cd ${DESTDIR}${PREFIX}/bin && \
+		${LN} -sf ../${CHROMIUM_DIR}/chrome .
+	${INSTALL_DATA} ${WRKSRC}/out/${BUILDTYPE}/chrome.1 \
+		${DESTDIR}/${PREFIX}/${PKGMANDIR}/man1
+.for i in ${ICON_SIZES}
+	${INSTALL_DATA} ${WRKSRC}/chrome/app/theme/chromium/product_logo_${i}.png \
+		${DESTDIR}${PREFIX}/${ICONS_DIR${i}}/chrome.png
+.endfor
+.for i in catalog locales pseudo_locales remoting_locales resources
+	cd ${WRKSRC}/out/${BUILDTYPE} && \
+		${FIND} ${i} -type f -print | \
+		pax -rw -pmp ${DESTDIR}${PREFIX}/${CHROMIUM_DIR}
+.endfor
+
 .include "../../audio/speech-dispatcher/buildlink3.mk"
 .include "../../audio/pulseaudio/buildlink3.mk"
 .include "../../audio/alsa-lib/buildlink3.mk"
diff --git a/chromium-new/PLIST b/chromium-new/PLIST
index e69de29..42c539c 100644
--- a/chromium-new/PLIST
+++ b/chromium-new/PLIST
@@ -0,0 +1,269 @@
+@comment $NetBSD$
+bin/chrome
+chrome/catalog/manifest.json
+chrome/chrome
+chrome/chrome_100_percent.pak
+chrome/chrome_200_percent.pak
+chrome/chrome_material_100_percent.pak
+chrome/chrome_material_200_percent.pak
+chrome/content_browser_manifest.json
+chrome/content_renderer_manifest.json
+chrome/content_resources.pak
+chrome/icudtl.dat
+chrome/keyboard_resources.pak
+chrome/libyuv.a
+chrome/locales/am.pak
+chrome/locales/ar.pak
+chrome/locales/bg.pak
+chrome/locales/bn.pak
+chrome/locales/ca.pak
+chrome/locales/cs.pak
+chrome/locales/da.pak
+chrome/locales/de.pak
+chrome/locales/el.pak
+chrome/locales/en-GB.pak
+chrome/locales/en-US.pak
+chrome/locales/es-419.pak
+chrome/locales/es.pak
+chrome/locales/et.pak
+chrome/locales/fa.pak
+chrome/locales/fi.pak
+chrome/locales/fil.pak
+chrome/locales/fr.pak
+chrome/locales/gu.pak
+chrome/locales/he.pak
+chrome/locales/hi.pak
+chrome/locales/hr.pak
+chrome/locales/hu.pak
+chrome/locales/id.pak
+chrome/locales/it.pak
+chrome/locales/ja.pak
+chrome/locales/kn.pak
+chrome/locales/ko.pak
+chrome/locales/lt.pak
+chrome/locales/lv.pak
+chrome/locales/ml.pak
+chrome/locales/mr.pak
+chrome/locales/ms.pak
+chrome/locales/nb.pak
+chrome/locales/nl.pak
+chrome/locales/pl.pak
+chrome/locales/pt-BR.pak
+chrome/locales/pt-PT.pak
+chrome/locales/ro.pak
+chrome/locales/ru.pak
+chrome/locales/sk.pak
+chrome/locales/sl.pak
+chrome/locales/sr.pak
+chrome/locales/sv.pak
+chrome/locales/sw.pak
+chrome/locales/ta.pak
+chrome/locales/te.pak
+chrome/locales/th.pak
+chrome/locales/tr.pak
+chrome/locales/uk.pak
+chrome/locales/vi.pak
+chrome/locales/zh-CN.pak
+chrome/locales/zh-TW.pak
+chrome/mksnapshot
+chrome/pseudo_locales/fake-bidi.pak
+chrome/remoting_locales/am.pak
+chrome/remoting_locales/ar.pak
+chrome/remoting_locales/bg.pak
+chrome/remoting_locales/bn.pak
+chrome/remoting_locales/ca.pak
+chrome/remoting_locales/cs.pak
+chrome/remoting_locales/da.pak
+chrome/remoting_locales/de.pak
+chrome/remoting_locales/el.pak
+chrome/remoting_locales/en-GB.pak
+chrome/remoting_locales/en.pak
+chrome/remoting_locales/es-419.pak
+chrome/remoting_locales/es.pak
+chrome/remoting_locales/et.pak
+chrome/remoting_locales/fa.pak
+chrome/remoting_locales/fake-bidi.pak
+chrome/remoting_locales/fi.pak
+chrome/remoting_locales/fil.pak
+chrome/remoting_locales/fr.pak
+chrome/remoting_locales/gu.pak
+chrome/remoting_locales/he.pak
+chrome/remoting_locales/hi.pak
+chrome/remoting_locales/hr.pak
+chrome/remoting_locales/hu.pak
+chrome/remoting_locales/id.pak
+chrome/remoting_locales/it.pak
+chrome/remoting_locales/ja.pak
+chrome/remoting_locales/kn.pak
+chrome/remoting_locales/ko.pak
+chrome/remoting_locales/lt.pak
+chrome/remoting_locales/lv.pak
+chrome/remoting_locales/ml.pak
+chrome/remoting_locales/mr.pak
+chrome/remoting_locales/ms.pak
+chrome/remoting_locales/nb.pak
+chrome/remoting_locales/nl.pak
+chrome/remoting_locales/pl.pak
+chrome/remoting_locales/pt-BR.pak
+chrome/remoting_locales/pt-PT.pak
+chrome/remoting_locales/ro.pak
+chrome/remoting_locales/ru.pak
+chrome/remoting_locales/sk.pak
+chrome/remoting_locales/sl.pak
+chrome/remoting_locales/sr.pak
+chrome/remoting_locales/sv.pak
+chrome/remoting_locales/sw.pak
+chrome/remoting_locales/ta.pak
+chrome/remoting_locales/te.pak
+chrome/remoting_locales/th.pak
+chrome/remoting_locales/tr.pak
+chrome/remoting_locales/uk.pak
+chrome/remoting_locales/vi.pak
+chrome/remoting_locales/zh-CN.pak
+chrome/remoting_locales/zh-TW.pak
+chrome/resources.pak
+chrome/resources/extension/demo/library.js
+chrome/resources/inspector/Images/applicationCache.png
+chrome/resources/inspector/Images/breakpoint.png
+chrome/resources/inspector/Images/breakpointConditional.png
+chrome/resources/inspector/Images/breakpointConditional_2x.png
+chrome/resources/inspector/Images/breakpoint_2x.png
+chrome/resources/inspector/Images/checker.png
+chrome/resources/inspector/Images/chromeDisabledSelect.png
+chrome/resources/inspector/Images/chromeDisabledSelect_2x.png
+chrome/resources/inspector/Images/chromeLeft.png
+chrome/resources/inspector/Images/chromeMiddle.png
+chrome/resources/inspector/Images/chromeRight.png
+chrome/resources/inspector/Images/chromeSelect.png
+chrome/resources/inspector/Images/chromeSelect_2x.png
+chrome/resources/inspector/Images/cookie.png
+chrome/resources/inspector/Images/database.png
+chrome/resources/inspector/Images/databaseTable.png
+chrome/resources/inspector/Images/deleteIcon.png
+chrome/resources/inspector/Images/domain.png
+chrome/resources/inspector/Images/errorWave.png
+chrome/resources/inspector/Images/errorWave_2x.png
+chrome/resources/inspector/Images/fileSystem.png
+chrome/resources/inspector/Images/forward.png
+chrome/resources/inspector/Images/frame.png
+chrome/resources/inspector/Images/graphLabelCalloutLeft.png
+chrome/resources/inspector/Images/graphLabelCalloutRight.png
+chrome/resources/inspector/Images/ic_info_black_18dp.svg
+chrome/resources/inspector/Images/ic_warning_black_18dp.svg
+chrome/resources/inspector/Images/indexedDB.png
+chrome/resources/inspector/Images/indexedDBIndex.png
+chrome/resources/inspector/Images/indexedDBObjectStore.png
+chrome/resources/inspector/Images/localStorage.png
+chrome/resources/inspector/Images/navigationControls.png
+chrome/resources/inspector/Images/navigationControls_2x.png
+chrome/resources/inspector/Images/paneAddButtons.png
+chrome/resources/inspector/Images/paneFilterButtons.png
+chrome/resources/inspector/Images/paneRefreshButtons.png
+chrome/resources/inspector/Images/popoverArrows.png
+chrome/resources/inspector/Images/profileGroupIcon.png
+chrome/resources/inspector/Images/profileIcon.png
+chrome/resources/inspector/Images/profileSmallIcon.png
+chrome/resources/inspector/Images/radioDot.png
+chrome/resources/inspector/Images/resizeDiagonal.png
+chrome/resources/inspector/Images/resizeDiagonal_2x.png
+chrome/resources/inspector/Images/resizeHorizontal.png
+chrome/resources/inspector/Images/resizeHorizontal_2x.png
+chrome/resources/inspector/Images/resizeVertical.png
+chrome/resources/inspector/Images/resizeVertical_2x.png
+chrome/resources/inspector/Images/resourceCSSIcon.png
+chrome/resources/inspector/Images/resourceDocumentIcon.png
+chrome/resources/inspector/Images/resourceDocumentIconSmall.png
+chrome/resources/inspector/Images/resourceJSIcon.png
+chrome/resources/inspector/Images/resourcePlainIcon.png
+chrome/resources/inspector/Images/resourcePlainIconSmall.png
+chrome/resources/inspector/Images/resourcesTimeGraphIcon.png
+chrome/resources/inspector/Images/searchNext.png
+chrome/resources/inspector/Images/searchPrev.png
+chrome/resources/inspector/Images/securityPropertyInfo.svg
+chrome/resources/inspector/Images/securityPropertyInsecure.svg
+chrome/resources/inspector/Images/securityPropertySecure.svg
+chrome/resources/inspector/Images/securityPropertyUnknown.svg
+chrome/resources/inspector/Images/securityPropertyWarning.svg
+chrome/resources/inspector/Images/securityStateInsecure.svg
+chrome/resources/inspector/Images/securityStateNeutral.svg
+chrome/resources/inspector/Images/securityStateSecure.svg
+chrome/resources/inspector/Images/serviceWorker.svg
+chrome/resources/inspector/Images/sessionStorage.png
+chrome/resources/inspector/Images/settingsListRemove.png
+chrome/resources/inspector/Images/settingsListRemove_2x.png
+chrome/resources/inspector/Images/speech.png
+chrome/resources/inspector/Images/toolbarButtonGlyphs.png
+chrome/resources/inspector/Images/toolbarButtonGlyphs_2x.png
+chrome/resources/inspector/Images/toolbarItemSelected.png
+chrome/resources/inspector/Images/toolbarResizerHorizontal.png
+chrome/resources/inspector/Images/toolbarResizerVertical.png
+chrome/resources/inspector/Images/touchCursor.png
+chrome/resources/inspector/Images/touchCursor_2x.png
+chrome/resources/inspector/InspectorBackendCommands.js
+chrome/resources/inspector/SupportedCSSProperties.js
+chrome/resources/inspector/Tests.js
+chrome/resources/inspector/accessibility_module.js
+chrome/resources/inspector/animation_module.js
+chrome/resources/inspector/audits_module.js
+chrome/resources/inspector/cm_modes_module.js
+chrome/resources/inspector/components_lazy_module.js
+chrome/resources/inspector/console_module.js
+chrome/resources/inspector/devices_module.js
+chrome/resources/inspector/devtools.js
+chrome/resources/inspector/devtools_extension_api.js
+chrome/resources/inspector/diff_module.js
+chrome/resources/inspector/elements_module.js
+chrome/resources/inspector/emulated_devices/google-nexus-5-horizontal-default-1x.png
+chrome/resources/inspector/emulated_devices/google-nexus-5-horizontal-default-2x.png
+chrome/resources/inspector/emulated_devices/google-nexus-5-horizontal-keyboard-1x.png
+chrome/resources/inspector/emulated_devices/google-nexus-5-horizontal-keyboard-2x.png
+chrome/resources/inspector/emulated_devices/google-nexus-5-horizontal-navigation-1x.png
+chrome/resources/inspector/emulated_devices/google-nexus-5-horizontal-navigation-2x.png
+chrome/resources/inspector/emulated_devices/google-nexus-5-vertical-default-1x.png
+chrome/resources/inspector/emulated_devices/google-nexus-5-vertical-default-2x.png
+chrome/resources/inspector/emulated_devices/google-nexus-5-vertical-keyboard-1x.png
+chrome/resources/inspector/emulated_devices/google-nexus-5-vertical-keyboard-2x.png
+chrome/resources/inspector/emulated_devices/google-nexus-5-vertical-navigation-1x.png
+chrome/resources/inspector/emulated_devices/google-nexus-5-vertical-navigation-2x.png
+chrome/resources/inspector/emulated_devices/google-nexus-5x-horizontal-default-1x.png
+chrome/resources/inspector/emulated_devices/google-nexus-5x-horizontal-default-2x.png
+chrome/resources/inspector/emulated_devices/google-nexus-5x-horizontal-keyboard-1x.png
+chrome/resources/inspector/emulated_devices/google-nexus-5x-horizontal-keyboard-2x.png
+chrome/resources/inspector/emulated_devices/google-nexus-5x-horizontal-navigation-1x.png
+chrome/resources/inspector/emulated_devices/google-nexus-5x-horizontal-navigation-2x.png
+chrome/resources/inspector/emulated_devices/google-nexus-5x-vertical-default-1x.png
+chrome/resources/inspector/emulated_devices/google-nexus-5x-vertical-default-2x.png
+chrome/resources/inspector/emulated_devices/google-nexus-5x-vertical-keyboard-1x.png
+chrome/resources/inspector/emulated_devices/google-nexus-5x-vertical-keyboard-2x.png
+chrome/resources/inspector/emulated_devices/google-nexus-5x-vertical-navigation-1x.png
+chrome/resources/inspector/emulated_devices/google-nexus-5x-vertical-navigation-2x.png
+chrome/resources/inspector/emulated_devices_module.js
+chrome/resources/inspector/es_tree_module.js
+chrome/resources/inspector/formatter_worker_module.js
+chrome/resources/inspector/heap_snapshot_worker_module.js
+chrome/resources/inspector/inspector.html
+chrome/resources/inspector/inspector.js
+chrome/resources/inspector/layers_module.js
+chrome/resources/inspector/network_module.js
+chrome/resources/inspector/profiler_module.js
+chrome/resources/inspector/resources_module.js
+chrome/resources/inspector/sass_module.js
+chrome/resources/inspector/screencast_module.js
+chrome/resources/inspector/security_module.js
+chrome/resources/inspector/settings_module.js
+chrome/resources/inspector/snippets_module.js
+chrome/resources/inspector/source_frame_module.js
+chrome/resources/inspector/sources_module.js
+chrome/resources/inspector/temp_storage_shared_worker_module.js
+chrome/resources/inspector/timeline_module.js
+chrome/resources/inspector/toolbox.html
+chrome/resources/inspector/toolbox.js
+chrome/resources/inspector/ui_lazy_module.js
+chrome/shell_resources.pak
+man/man1/chrome.1
+share/icons/hicolor/128x128/apps/chrome.png
+share/icons/hicolor/22x22/apps/chrome.png
+share/icons/hicolor/24x24/apps/chrome.png
+share/icons/hicolor/256x256/apps/chrome.png
+share/icons/hicolor/48x48/apps/chrome.png
+share/icons/hicolor/64x64/apps/chrome.png


Home | Main Index | Thread Index | Old Index