chromium11-vl.spec 31 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806
  1. # Thanks to malcolmlewis for help with this script
  2. # Thanks to Tom "spot" Callaway for much of the patchwork
  3. # Thanks to jhaygood for most of the icu patch
  4. # norootforbuild
  5. %define with_devel_pkg 0
  6. %define pkgname chromium
  7. #% define with_system_icu 1
  8. #% define with_system_v8 1
  9. #NOTE: src/third_party/ffmpeg/ffmpeg.gyp:
  10. # libvpx doesn't currently supply a pkg-config file, so we assume that
  11. # -lvpx is sufficient.
  12. %define with_system_vpx 1
  13. #% define v8_ver 3.2.0
  14. #Name: chromium11
  15. Name: chromium
  16. Summary: Google's opens source browser project
  17. Summary(ja): Googleのオープンソースウェブブラウザ
  18. #'
  19. Version: 11.0.696.22
  20. Release: 1%{?_dist_release}
  21. License: BSD
  22. Group: Applications/Internet
  23. #Source0: %{name}.%{version}.svn%{svn_rev}.tar.lzma
  24. #Source0: %{name}-%{version}.svn%{svn_rev}.tar.xz
  25. Source0: %{pkgname}-%{version}.tar.xz
  26. ## The following are included for source reasons only
  27. # Custom build tools for chromium, hammer is a fancy front-end for scons
  28. Source1: http://src.chromium.org/svn/trunk/tools/depot_tools.tar.gz
  29. # # Script used to create the tar.lzma archive from the daily tarball downloadable at http://build.chromium.org/buildbot/archives/
  30. # Source2: repack_chromium_archive.sh
  31. # # Script used to create the tar.lzma archive from a checked out source
  32. # Source3: pack_chromium_source.sh
  33. # Script used to create the %{pkgname}-%{version}.tar.xz archive from
  34. # a official tarball:
  35. # http://build.chromium.org/official/chromium-10.0.644.0.tar.bz2
  36. Source3: pack_chromium11_source-vine.sh
  37. # Official ffmpeg headers
  38. Source8: ffmpeg-0.6-headers.tar.xz
  39. #Source10: chromium.desktop
  40. #Source10: chromium-vine.desktop
  41. # Patch template which adds vendor to user agent
  42. ##!!Source20: chromium-vendor.patch.in
  43. Source20: chromium-vendor-vine.patch.in
  44. # Set default prefs
  45. ##!!Source30: master_preferences
  46. Source30: master_preferences.vine
  47. #Source31: default_bookmarks.html
  48. #Source31: default_bookmarks.html.vine
  49. Source99: chrome-wrapper
  50. ##!!Source100: chromium-browser.sh
  51. Source100: chromium-browser-vine.sh
  52. ##!!Source101: chromium-browser.desktop
  53. Source101: chromium-browser-vine.desktop
  54. Source102: chromium-browser.xml
  55. Source103: chromium-browser-rpmlintrc
  56. %{?nosrc:NoSource: 0}
  57. %{?nosrc:NoSource: 1}
  58. Provides: chromium-browser = %{version}
  59. ##Provides: chromium-based-browser = %{version}
  60. ##Obsoletes: chromium-browser < %{version}
  61. ##Conflicts: chromium
  62. ## Start Patches
  63. # Many changes to the gyp systems so we can use system libraries
  64. # My first ever patch set. I hope I did well.
  65. Patch4: chromium-no-sqlite-debug.patch
  66. Patch5: chromium-gyp-system-04-nss-nspr.patch
  67. Patch7: chromium-codechanges-nss-nspr.patch
  68. Patch8: chromium-codechanges-zlib.patch
  69. Patch12: chromium-no-test-sources.patch
  70. Patch13: chromium-no-courgette.patch
  71. Patch14: chromium-master-prefs-path.patch
  72. Patch17: chromium-system-glew.patch
  73. Patch18: chromium-system-expat.patch
  74. Patch19: chromium-system-zlib.patch
  75. Patch20: chromium-6.0.425.0-ffmpeg-no-pkgconfig.patch
  76. Patch21: chromium-7.0.542.0-media-probe.patch
  77. Patch25: tcmalloc-factory.patch
  78. Patch26: chromium-remoting-build-fix.diff
  79. Patch28: chromium-7.0.500.0-system-speex.patch
  80. Patch29: chromium-7.0.510.0-system-ffmpeg.patch
  81. Patch32: chromium-7.0.542.0-system-libvpx.patch
  82. Patch34: chromium-7.0.542.0-codechanges-system-minizip-v8.patch
  83. Patch62: chromium-norpath.patch
  84. Patch63: chromium-6.0.406.0-system-gyp-v8.patch
  85. # Patches for MeeGo Netbook
  86. Patch80: chromium-browser-window-focus.patch
  87. Patch83: chromium-fix-toolbar-icon-size.patch
  88. # Vine
  89. Patch100: chromium-11.0.696.15-no-tests.patch
  90. BuildRequires: gcc gcc-c++
  91. BuildRequires: libstdc++ libstdc++-devel
  92. BuildRequires: libevent
  93. ##!!BuildRequires: pkg-config
  94. BuildRequires: python
  95. ##!!BuildRequires: python-xml
  96. BuildRequires: python-pyxml
  97. BuildRequires: perl bison flex gperf
  98. ##!!BuildRequires: wdiff
  99. ##!!BuildRequires: update-desktop-files
  100. #BuildRequires: lzma
  101. BuildRequires: xz
  102. ##!!BuildRequires: mozilla-nss-devel
  103. BuildRequires: nss-devel
  104. ##!!BuildRequires: alsa-devel
  105. BuildRequires: alsa-lib-devel
  106. BuildRequires: gtk2-devel
  107. BuildRequires: glib2-devel
  108. BuildRequires: cairo-devel >= 1.6
  109. ##!!BuildRequires: mozilla-nspr-devel
  110. BuildRequires: nspr-devel
  111. ##!!BuildRequires: gconf2-devel
  112. BuildRequires: GConf2-devel
  113. BuildRequires: freetype2-devel
  114. ##!!BuildRequires: dbus-1-devel
  115. BuildRequires: dbus-devel
  116. BuildRequires: libxslt-devel
  117. BuildRequires: libxml2-devel
  118. BuildRequires: libjpeg-devel
  119. BuildRequires: zlib-devel
  120. ##!!BuildRequires: libbz2-devel
  121. BuildRequires: bzip2-devel
  122. BuildRequires: cups-devel
  123. BuildRequires: fdupes
  124. ##!!BuildRequires: libexpat-devel
  125. BuildRequires: expat-devel
  126. BuildRequires: libpng-devel
  127. BuildRequires: sqlite3-devel
  128. BuildRequires: gnutls-devel
  129. BuildRequires: desktop-file-utils
  130. %{?with_system_v8:BuildRequires: v8-devel = %{v8_ver}}
  131. %{?with_system_vpx:BuildRequires: libvpx-devel >= 0.9.5}
  132. BuildRequires: pam-devel
  133. BuildRequires: libgnome-keyring-devel
  134. BuildRequires: python-devel
  135. BuildRequires: glew-devel
  136. ##!!BuildRequires: Mesa-devel
  137. BuildRequires: mesa-libGLU-devel
  138. BuildRequires: hunspell-devel
  139. %{?with_system_icu:BuildRequires: libicu-devel >= 4.0}
  140. BuildRequires: libevent-devel
  141. #BuildRequires: libjingle-devel >= 0.4.0-7
  142. #BuildRequires: srtp-devel
  143. BuildRequires: speex-devel
  144. ##Vine Linux
  145. %{?with_system_v8:Requires: v8 = %{v8_ver}}
  146. BuildRequires: libpaper-devel
  147. BuildRequires: libXScrnSaver-devel
  148. BuildRequires: libXtst-devel
  149. BuildRequires: libXdamage-devel
  150. BuildRequires: libXt-devel
  151. #BuildRequires: gle-devel
  152. #BuildRequires: webkit-gtk-devel
  153. #BuildRequires: scons
  154. %ifarch x86_64
  155. Requires: nspluginwrapper
  156. %endif
  157. ##!!Requires: alsa
  158. Requires: alsa-lib
  159. Requires: xdg-utils
  160. # shouldn't be required to name all dependencies
  161. # Requires: mozilla-nss mozilla-nspr gtk2 glib2 cairo >= 1.6 freetype2 dbus-1 alsa v8 >= 1.3.15
  162. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  163. %description
  164. Chromium is the open-source project behind Google Chrome.
  165. We invite you to join us in our effort to help build a safer, faster,
  166. and more stable way for all Internet users to experience the web,
  167. and to create a powerful platform for developing a new generation of
  168. web applications.
  169. %description -l ja
  170. Chromium は Google Chrome の後方にあるオープンソースプロジェクトです。
  171. ウェブを体験しているすべてのインターネットユーザに対して
  172. より安全で、より速くて、より安定した方法を築き上げるのを補助するでしょう。
  173. そして、ウェブアプリケーションの新しい世代を発展させ、
  174. 強力なプラットホームを作成するために、
  175. 私たちの取り組みにぜひ参加してください。
  176. %package devel
  177. Summary: Header file for chromium browser
  178. Group: Development/Libraries
  179. Requires: chromium = %{version}-%{release}
  180. %description devel
  181. This package contains the header files and pc file of chromium browser for
  182. applications which will use chromium browser APIs.
  183. %prep
  184. #%setup -q
  185. [ -d %{pkgname}-%{version} ] && %__rm -rf %{pkgname}-%{version}
  186. xz -dc %{SOURCE0} | %__tar -xf - || exit 1
  187. %setup -D -T -n %{pkgname}-%{version}
  188. %patch62 -p1
  189. %{?with_system_v8:%patch63 -p1}
  190. %patch100 -p1 -b .vine
  191. %patch80 -p1
  192. %patch83 -p1
  193. %patch4 -p1
  194. %patch5 -p1
  195. %patch7 -p1
  196. %patch8 -p1
  197. %patch12 -p1
  198. %patch13 -p1
  199. %patch14 -p1
  200. %patch17 -p1
  201. %patch18 -p1
  202. %patch19 -p1
  203. %patch20 -p1
  204. %patch21 -p1
  205. %patch25 -p1
  206. %patch26 -p1
  207. %patch28 -p1
  208. %patch29 -p1
  209. %{?with_system_vpx:%patch32 -p1}
  210. %{?with_system_v8:%patch34 -p1}
  211. pushd src/third_party/ffmpeg/
  212. %__tar Jxf %{SOURCE8} || exit 1
  213. ## built header file: avconfig.h
  214. [ -f ffmpeg-0.6-headers/libavutil/avconfig.h ] && exit 1
  215. cat > ffmpeg-0.6-headers/libavutil/avconfig.h <<EOF
  216. /* Generated by ffconf */
  217. #ifndef AVUTIL_AVCONFIG_H
  218. #define AVUTIL_AVCONFIG_H
  219. #define AV_HAVE_BIGENDIAN 0
  220. #endif /* AVUTIL_AVCONFIG_H */
  221. EOF
  222. popd
  223. #%__rm -rf src/third_party/libvpx/
  224. %__rm -rf src/third_party/speex/
  225. %__rm -rf src/third_party/nss src/third_party/nspr
  226. # apply vendor patch after substitution
  227. %__sed "s:RPM_VERSION:%{version}-%{release}:" %{SOURCE20} | patch -p0
  228. %build
  229. ## create make files
  230. PARSED_OPT_FLAGS=`echo \'$RPM_OPT_FLAGS -DUSE_SYSTEM_LIBEVENT -fPIC -fno-ipa-cp -fno-strict-aliasing \' | %__sed "s/ /',/g" | %__sed "s/',/', '/g"`
  231. for i in src/build/common.gypi; do
  232. %__sed -i "s|'-march=pentium4',||g" $i
  233. %__sed -i "s|'-msse2',||g" $i
  234. %__sed -i "s|'-mfpmath=sse',||g" $i
  235. %__sed -i "s|'-O<(debug_optimize)',||g" $i
  236. %__sed -i "s|'-m32',||g" $i
  237. %__sed -i "s|'-fno-exceptions',|$PARSED_OPT_FLAGS|g" $i
  238. %__sed -i "s|'-Werror'|'-Wno-error'|g" $i
  239. done
  240. # '
  241. pushd src
  242. ./build/gyp_chromium -f make build/all.gyp \
  243. -Dlinux_sandbox_path=%{_libdir}/chromium/chrome-sandbox \
  244. -Dlinux_sandbox_chrome_path=%{_libdir}/chromium/chromium-browser \
  245. -Duse_openssl=0 \
  246. -Duse_system_ffmpeg=1 \
  247. -Duse_system_zlib=1 \
  248. -Duse_system_libpng=1 \
  249. -Duse_system_bzip2=1 \
  250. -Duse_system_libbz2=1 \
  251. -Duse_system_libjpeg=1 \
  252. -Duse_system_libxml=1 \
  253. -Duse_system_libxslt=1 \
  254. -Duse_system_libevent=1 \
  255. %{?with_system_vpx:-Duse_system_vpx=1} \
  256. %{!?with_system_vpx:-Duse_system_vpx=0} \
  257. -Dproprietary_codecs=1 \
  258. -Dlibrary=shared_library \
  259. -Djavascript_engine=v8 \
  260. -Dlinux_fpic=1 \
  261. %{?with_system_v8:-Duse_system_v8=1} \
  262. %{!?with_system_v8:-Duse_system_v8=0} \
  263. %{?with_system_icu:-Duse_system_icu=1} \
  264. %{!?with_system_icu:-Duse_system_icu=0} \
  265. %ifarch %{ix86}
  266. -Dtarget_arch=ia32 \
  267. -Ddisable_sse2=1 \
  268. %endif
  269. %ifarch x86_64
  270. -Dtarget_arch=x64 \
  271. %endif
  272. %if %{?_dist_release} == "vl6"
  273. -Dno_strict_aliasing=1 -Dgcc_version=44 \
  274. %endif
  275. -Drelease_extra_cflags=-fPIC \
  276. ;
  277. #make -r %{?jobs:-j%jobs} chrome BUILDTYPE=Release
  278. #%__make -r -j5 chrome BUILDTYPE=Release
  279. %__make -r %{?_smp_mflags} chrome BUILDTYPE=Release
  280. popd
  281. %install
  282. %{__rm} -rf %{buildroot}
  283. %__mkdir -p %{buildroot}%{_bindir}
  284. %__install -m 755 %{SOURCE100} %{buildroot}%{_bindir}/chromium
  285. # x86_64 capable systems need this
  286. %__sed -i "s|/usr/lib/chromium|%{_libdir}/chromium|g" %{buildroot}%{_bindir}/chromium
  287. %__mkdir -p %{buildroot}%{_libdir}/chromium/
  288. %__mkdir -p %{buildroot}%{_mandir}/man1/
  289. pushd src/out/Release
  290. %__cp -a chrome.pak locales resources xdg-settings %{buildroot}%{_libdir}/chromium/
  291. %__cp -a resources.pak %{buildroot}%{_libdir}/chromium/
  292. %__cp -a chrome %{buildroot}%{_libdir}/chromium/chromium
  293. %__cp -a lib.target/lib*.so %{buildroot}%{_libdir}/chromium/
  294. %__cp -a lib.host/lib*.so %{buildroot}%{_libdir}/chromium/
  295. #%__cp -a chrome_sandbox %{buildroot}%{_libdir}/chromium/chrome-sandbox
  296. %__cp -a chrome.1 %{buildroot}%{_mandir}/man1/chrome.1
  297. %__cp -a chrome.1 %{buildroot}%{_mandir}/man1/chromium.1
  298. fdupes %{buildroot}%{_mandir}/man1/
  299. popd
  300. # devel package install
  301. %if %{with_devel_pkg}
  302. mkdir -p %{buildroot}%{_libdir}/chromium/include
  303. pushd src
  304. find base -name "*.h" -exec %__cp --parents {} %{buildroot}%{_libdir}/chromium/include \;
  305. find app -name "*.h" -exec %__cp --parents {} %{buildroot}%{_libdir}/chromium/include \;
  306. find chrome -name "*.h" -exec %__cp --parents {} %{buildroot}%{_libdir}/chromium/include \;
  307. find skia -name "*.h" -exec %__cp --parents {} %{buildroot}%{_libdir}/chromium/include \;
  308. find build -name "*.h" -exec %__cp --parents {} %{buildroot}%{_libdir}/chromium/include \;
  309. find googleurl -name "*.h" -exec %__cp --parents {} %{buildroot}%{_libdir}/chromium/include \;
  310. find ipc -name "*.h" -exec %__cp --parents {} %{buildroot}%{_libdir}/chromium/include \;
  311. find testing -name "*.h" -exec %__cp --parents {} %{buildroot}%{_libdir}/chromium/include \;
  312. find net -name "*.h" -exec %__cp --parents {} %{buildroot}%{_libdir}/chromium/include \;
  313. find third_party/skia -name "*.h" -exec %__cp --parents {} %{buildroot}%{_libdir}/chromium/include \;
  314. find third_party/WebKit -name "*.h" -exec %__cp --parents {} %{buildroot}%{_libdir}/chromium/include \;
  315. find webkit -name "*.h" -exec %__cp --parents {} %{buildroot}%{_libdir}/chromium/include \;
  316. #find gfx -name "*.h" -exec %__cp --parents {} %{buildroot}%{_libdir}/chromium/include \;
  317. popd
  318. find %{buildroot}%{_libdir}/chromium/include -name "*.h" -exec chmod 644 {} \;
  319. fdupes %{buildroot}%{_libdir}/chromium/include
  320. %__mkdir_p %{buildroot}/%{_libdir}/pkgconfig
  321. cat <<EOF > %{buildroot}/%{_libdir}/pkgconfig/chromium-browser.pc
  322. Name: Chromium browser
  323. Description: Chromium browser development package
  324. Version: 1.0.1
  325. Libs: -L%{_libdir}/chromium -lapp_base -lappcache -lbase_i18n -lbase -lblob -lbrowser -lcacheinvalidation -lchrome_gpu -lchromoting_base -lchromoting_client -lchromoting_host -lchromoting_jingle_glue -lchromoting_protocol -lchromotocol_proto_lib -lcld -lcommon_constants -lcommon_net -lcommon -ldatabase -ldebugger -ldefault_plugin -ldynamic_annotations -lffmpeg -lfileapi -lgfx -lglue -lgoogleurl -lgtest -lharfbuzz_interface -lharfbuzz -lhttp_listen_socket -lhunspell -liccjpeg -lil -linstaller_util -lipc -ljingle_p2p -ljingle -lmedia -lmodp_b64 -lnet_base -lnet -lnotifier -lomx_wrapper -lots -lpcre -lppapi_plugin -lplugin -lprinting -lprofile_import -lprotobuf_lite -lrenderer -lsandbox -lsdch -lservice -lskia_opts -lskia -lsqlite3 -lsrtp -lssl_host_info -lssl -lsymbolize -lsyncapi -lsync_notifier -lsync -ltrace_proto_lib -lundoview -lutility -lwebcore_bindings -lwebcore_html -lwebcore_platform -lwebcore_remaining -lwebcore_svg -lwebkit -lwebkit_user_agent -lwebp -lworker -lwtf -lxdg_mime -lzlib
  326. Cflags: -I%{_libdir}/chromium/include -I%{_libdir}/chromium/include/skia/config
  327. EOF
  328. %endif
  329. # %__mkdir_p %{buildroot}%{_datadir}/pixmaps/
  330. # %__cp -a src/chrome/app/theme/chromium/product_logo_48.png %{buildroot}%{_datadir}/pixmaps/chromium-browser.png
  331. for i in 16 22 24 32 48 64 128 256; do
  332. %__mkdir_p %{buildroot}%{_datadir}/icons/hicolor/${i}x${i}/apps
  333. %__cp -a src/chrome/app/theme/chromium/product_logo_${i}.png %{buildroot}%{_datadir}/icons/hicolor/${i}x${i}/apps/chromium-browser.png || exit 1
  334. done
  335. %__mkdir_p %{buildroot}%{_datadir}/applications/
  336. desktop-file-install --dir %{buildroot}%{_datadir}/applications %{SOURCE101}
  337. %__mkdir_p %{buildroot}%{_datadir}/gnome-control-center/default-apps/
  338. %__cp -a %{SOURCE102} %{buildroot}%{_datadir}/gnome-control-center/default-apps/
  339. # # link to browser plugin path. Plugin patch doesn't work. Why?
  340. # %{__mkdir_p} %{buildroot}%{_libdir}/browser-plugins
  341. # pushd %{buildroot}%{_libdir}/%{pkgname}
  342. # %{__ln_s} %{_libdir}/browser-plugins plugins
  343. # popd
  344. pushd %{buildroot}%{_libdir}/%{pkgname}
  345. %ifarch x86_64
  346. %{__ln_s} %{_libdir}/mozilla/plugins-wrapped plugins
  347. %else
  348. %{__ln_s} %{_libdir}/mozilla/plugins plugins
  349. %endif
  350. ## support ffmpeg libs
  351. touch %{buildroot}%{_libdir}/libavcodec.so.52
  352. %{__ln_s} %{_libdir}/libavcodec.so.52 libavcodec.so.52
  353. touch %{buildroot}%{_libdir}/libavformat.so.52
  354. %{__ln_s} %{_libdir}/libavformat.so.52 libavformat.so.52
  355. touch %{buildroot}%{_libdir}/libavutil.so.50
  356. %{__ln_s} %{_libdir}/libavutil.so.50 libavutil.so.50
  357. popd
  358. # Install the master_preferences file
  359. %__mkdir_p %{buildroot}%{_sysconfdir}/%{pkgname}
  360. #%__install -m 0644 %{SOURCE30} %{buildroot}%{_sysconfdir}/%{pkgname}
  361. %__install -m 0644 %{SOURCE30} %{buildroot}%{_sysconfdir}/%{pkgname}/$(basename %{SOURCE30} .vine)
  362. #%__install -m 0644 %{SOURCE31} %{buildroot}%{_sysconfdir}/%{pkgname}
  363. %clean
  364. %{__rm} -rf %{buildroot}
  365. %post
  366. touch --no-create %{_datadir}/icons/hicolor
  367. if [ -x %{_bindir}/gtk-update-icon-cache ]; then
  368. %{_bindir}/gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor
  369. fi
  370. %{_bindir}/update-desktop-database --quiet %{_datadir}/applications || :
  371. %postun
  372. %{_bindir}/update-desktop-database --quiet %{_datadir}/applications
  373. touch --no-create %{_datadir}/icons/hicolor
  374. if [ -x %{_bindir}/gtk-update-icon-cache ]; then
  375. %{_bindir}/gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor
  376. fi || :
  377. %files
  378. %defattr(-,root,root,-)
  379. %config %{_sysconfdir}/%{pkgname}
  380. %dir %{_datadir}/gnome-control-center
  381. %dir %{_datadir}/gnome-control-center/default-apps
  382. %{_bindir}/chromium
  383. %{_libdir}/chromium/chromium
  384. # These unique permissions are intentional and necessary for the sandboxing
  385. #%attr(4555, root, root) %{_libdir}/chromium/chrome-sandbox
  386. %{_libdir}/chromium/plugins/
  387. %{_libdir}/chromium/resources/
  388. %{_libdir}/chromium/xdg-settings
  389. %{_mandir}/man1/chrom*
  390. #%{_datadir}/pixmaps/chromium-browser.png
  391. %{_datadir}/icons/hicolor/*/apps/chromium-browser.png
  392. %{_datadir}/applications/*.desktop
  393. %{_datadir}/gnome-control-center/default-apps/chromium-browser.xml
  394. %{_libdir}/chromium/libavcodec.so.52
  395. %{_libdir}/chromium/libavutil.so.50
  396. %{_libdir}/chromium/libavformat.so.52
  397. %exclude %{_libdir}/libavcodec.so.52
  398. %exclude %{_libdir}/libavutil.so.50
  399. %exclude %{_libdir}/libavformat.so.52
  400. ## libs
  401. %dir %{_libdir}/chromium/
  402. %{_libdir}/chromium/chrome.pak
  403. %{_libdir}/chromium/resources.pak
  404. %{_libdir}/chromium/locales/
  405. %{_libdir}/chromium/lib*.so
  406. %if %{with_devel_pkg}
  407. %files devel
  408. %defattr(-,root,root,-)
  409. %{_libdir}/chromium/include/
  410. %{_libdir}/pkgconfig/chromium-browser.pc
  411. %endif
  412. %changelog
  413. * Thu Mar 24 2011 Munehiro Yamamoto <munepi@vinelinux.org> 11.0.696.22-1
  414. - updated to 11.0.696.22
  415. - improved chromium-browser-vine.sh
  416. - merged from chromium-browser-vine.desktop of 11.0.696.17-1
  417. * Wed Mar 23 2011 Munehiro Yamamoto <munepi@vinelinux.org> 11.0.696.20-1
  418. - updated to 11.0.696.20
  419. - improved chromium-browser-vine.desktop
  420. * Sun Mar 20 2011 Munehiro Yamamoto <munepi@vinelinux.org> 11.0.696.17-1
  421. - updated to 11.0.696.17
  422. * Sat Mar 19 2011 Munehiro Yamamoto <munepi@vinelinux.org> 11.0.696.15-1
  423. - updated to 11.0.696.15
  424. - ready for Vine Linux 6 release
  425. - dropped BuildRequires: v8-devel, libicu-devel
  426. * Wed Mar 09 2011 Munehiro Yamamoto <munepi@vinelinux.org> 11.0.696.5-1
  427. - updated to 11.0.696.5 with v8 3.2.0
  428. - added BuildRequires: pam-devel
  429. * Thu Feb 10 2011 Toshiharu Kudoh <toshi.kd2@gmail.com> 10.0.651.0-2
  430. - rebuilt with libevent-2.0.10
  431. * Sat Jan 29 2011 Munehiro Yamamoto <munepi@vinelinux.org> 10.0.651.0-1
  432. - updated to 10.0.651.0 with v8 3.0.12
  433. - added BuildRequires:
  434. - libpaper-devel
  435. - python-devel
  436. - added built header file: libavutil/avconfig.h %%prep
  437. - unexport MOZ_PLUGIN_PATH in chromium-browser-vine.sh
  438. * Sun Dec 26 2010 Munehiro Yamamoto <munepi@vinelinux.org> 10.0.622.0-1
  439. - updated to 10.0.622.0
  440. - added BuildRequires: libXt-devel
  441. * Sat Dec 11 2010 Munehiro Yamamoto <munepi@vinelinux.org> 10.0.605.0-1
  442. - updated to 10.0.605.0
  443. - added BuildRequires:
  444. - libXdamage-devel
  445. - hunspell-devel
  446. * Sat Dec 04 2010 Munehiro Yamamoto <munepi@vinelinux.org> 9.0.598.0-1
  447. - updated to 9.0.598
  448. * Fri Nov 26 2010 Munehiro Yamamoto <munepi@vinelinux.org> 9.0.593.0-1
  449. - updated to 9.0.593
  450. * Thu Nov 11 2010 Munehiro Yamamoto <munepi@vinelinux.org> 9.0.582.0-1
  451. - updated to 9.0.582
  452. - added Requires: xdg-utils
  453. * Thu Nov 11 2010 Munehiro Yamamoto <munepi@vinelinux.org> 9.0.578.0-1
  454. - updated to 9.0.578
  455. * Sat Oct 16 2010 Munehiro Yamamoto <munepi@vinelinux.org> 9.0.569.0-1
  456. - updated to 9.0.569
  457. * Mon Oct 25 2010 tittiatcoke@gmail.com
  458. - Update to 9.0.564 build
  459. * Added specific patches for MeeGo.
  460. * We are now using shared libraries for Chromium
  461. * Spec-file cleanup (Thanks to prusnak)
  462. * Sat Oct 16 2010 Munehiro Yamamoto <munepi@vinelinux.org> 8.0.556.0-1
  463. - updated to snapshot 8.0.556
  464. * Sun Oct 10 2010 Munehiro Yamamoto <munepi@vinelinux.org> 8.0.551.0-1
  465. - updated to snapshot 8.0.551
  466. * Fri Sep 17 2010 Munehiro Yamamoto <munepi@vinelinux.org> 7.0.527.0-1
  467. - updated to snapshot 7.0.527
  468. * Thu Sep 09 2010 Munehiro Yamamoto <munepi@vinelinux.org> 7.0.519.0-1
  469. - updated to snapshot 7.0.519
  470. * Fri Sep 03 2010 Munehiro Yamamoto <munepi@vinelinux.org> 7.0.513.0-1
  471. - updated to snapshot 7.0.513
  472. - updated chromium-vendor-vine.patch.in
  473. * Sat Aug 28 2010 Munehiro Yamamoto <munepi@vinelinux.org> 7.0.507.0-1
  474. - updated to snapshot 7.0.507
  475. * Wed Aug 18 2010 Munehiro Yamamoto <munepi@vinelinux.org> 7.0.498.0-1
  476. - updated to snapshot 7.0.498
  477. * Sat Aug 14 2010 Munehiro Yamamoto <munepi@vinelinux.org> 6.0.493.0-1
  478. - updated to snapshot 6.0.493
  479. - used with_system_icu (for vl6)
  480. - added BuildRequires: libicu-devel
  481. * Thu Jul 22 2010 IWAI, Masaharu <iwai@alib.jp> 6.0.454.0-2vl5
  482. - build for Vine Linux 5.x
  483. - add BuildRequires: gnome-keyring-devel
  484. * Sat Jul 17 2010 Munehiro Yamamoto <munepi@vinelinux.org> 6.0.454.0-1
  485. - updated to snapshot 6.0.454
  486. - added BuildRequires:
  487. - sqlite3-devel
  488. - gnutls-devel
  489. - libgnome-keyring-devel
  490. * Sat Jun 12 2010 Munehiro Yamamoto <munepi@vinelinux.org> 6.0.431.0-1
  491. - updated to snapshot 6.0.431.0 r49253
  492. - added BuildRequires: cups-devel
  493. * Sun May 16 2010 Munehiro Yamamoto <munepi@vinelinux.org> 6.0.405.0-1
  494. - updated to snapshot 6.0.405.0 r47263
  495. * Fri Apr 16 2010 Munehiro Yamamoto <munepi@vinelinux.org> 5.0.378.0-2
  496. - unused with_system_icu (for vl6)
  497. - used icu-4.2.1-chromium.5.0.353.0.svn41449 (for vl6)
  498. * Wed Apr 14 2010 Munehiro Yamamoto <munepi@vinelinux.org> 5.0.378.0-1
  499. - updated to snapshot 5.0.378.0 r44472
  500. - used with_system_icu (for vl6)
  501. - added icu-4.2.1-chromium.5.0.353.0.svn41449.tar.bz2 (for vl5)
  502. * Sat Apr 10 2010 Munehiro Yamamoto <munepi@vinelinux.org> 5.0.372.0-1
  503. - updated to snapshot 5.0.372.0 r43947
  504. - added BuildRequires: glew-devel
  505. - changed Group tag to Applications/Internet
  506. - added Summary(ja) and %%description -l ja
  507. * Mon Apr 05 2010 Munehiro Yamamoto <munepi@vinelinux.org> 5.0.365.0-1
  508. - updated to snapshot 5.0.365.0 r42966
  509. - merged 5.0.353.0-4vl5
  510. * Fri Apr 2 2010 IWAI, Masaharu <iwai@alib.jp> 5.0.353.0-4vl5
  511. - build on Vine Linux 5.1
  512. - add BuildRequires: libstdc++34 libstdc++34-devel for Vine5
  513. * Sat Mar 27 2010 Munehiro Yamamoto <munepi@vinelinux.org> 5.0.364.0-1
  514. - updated to snapshot 5.0.364.0 r42779
  515. * Sun Mar 21 2010 Munehiro Yamamoto <munepi@vinelinux.org> 5.0.359.0-1
  516. - updated to snapshot 5.0.359.0 r42116
  517. - dropped chromium-20100122-ubuntu-html5-video-mimetypes.patch
  518. * Tue Mar 16 2010 Munehiro Yamamoto <munepi@vinelinux.org> 5.0.353.0-4
  519. - fixed master_preferences.vine, little
  520. * Tue Mar 16 2010 Munehiro Yamamoto <munepi@vinelinux.org> 5.0.353.0-3
  521. - fixed to install master_preferences
  522. - dropped chromium-5.0.353-no-ffmpeg-vine.patch
  523. * Tue Mar 16 2010 Munehiro Yamamoto <munepi@vinelinux.org> 5.0.353.0-2
  524. - applied chromium-5.0.353-no-ffmpeg-vine.patch
  525. * Tue Mar 16 2010 Munehiro Yamamoto <munepi@vinelinux.org> 5.0.353.0-1
  526. - updated to snapshot 5.0.353.0 r41449
  527. * Wed Mar 10 2010 bgmerrell@novell.com
  528. - Add master_preferences source file and install it to /etc/chromium.
  529. - Create a new patch (chromium-master-prefs-path.patch) which tells
  530. chromium to look in /etc/chromium for the master_preferences file
  531. (instead of looking in the default directory, which is the same
  532. directory as the 'chrome' binary).
  533. * Sun Feb 21 2010 Munehiro Yamamoto <munepi@vinelinux.org> 5.0.335.0-1
  534. - updated to snapshot 5.0.335.0 r39556
  535. * Sat Feb 20 2010 Munehiro Yamamoto <munepi@vinelinux.org> 5.0.330.0-2
  536. - applied chromium-20100122-ubuntu-html5-video-mimetypes.patch from Gentoo
  537. * Wed Feb 17 2010 Munehiro Yamamoto <munepi@vinelinux.org> 5.0.330.0-1
  538. - updated to snapshot 5.0.330.0 r39074
  539. * Wed Feb 17 2010 Munehiro Yamamoto <munepi@vinelinux.org> 5.0.329.0-5
  540. - use_system_ffmpeg
  541. * Tue Feb 16 2010 Munehiro Yamamoto <munepi@vinelinux.org> 5.0.329.0-4
  542. - added Requires: nspluginwrapper
  543. - fixed a symbolic link of plugins directory with nspluginwrapper
  544. * Tue Feb 16 2010 Munehiro Yamamoto <munepi@vinelinux.org> 5.0.329.0-3
  545. - replaced %%{SOUECE20} to chromium-vendor-vine.patch.in
  546. * Tue Feb 16 2010 Munehiro Yamamoto <munepi@vinelinux.org> 5.0.329.0-2
  547. - added BuildRequires: mesa-libGLU-devel
  548. - added BuildRequires: libstdc++34 libstdc++34-devel for vl5
  549. * Tue Feb 16 2010 Munehiro Yamamoto <munepi@vinelinux.org> 5.0.329.0-1
  550. - built based on chromium-5.0.329.0-167.1.src.rpm of OpenSuse
  551. * Sun Nov 29 2009 - tittiatcoke@gmail.com - 4.0.260.0
  552. - Update to 4.0.260
  553. * Fri Nov 27 2009 - tittiatcoke@gmail.com - 4.0.259.0
  554. - Update to 4.0.259
  555. * Thu Nov 26 2009 - tittiatcoke@gmail.com - 4.0.258.0
  556. - Update to 4.0.258
  557. * Tue Nov 24 2009 - tittatcoke@gmai.com - 4.0.257.0
  558. - In order to complete prevent the wrong v8 version to be used, the Chromium build has been
  559. changed to having an built-in v8
  560. * Tue Nov 24 2009 - dbuck@example.com - 4.0.257.0
  561. - Re-base patches. Fixed a few patch errors. Rename some patches to better correspond with function. Removed some patches.
  562. - Minor SPEC changes. I changed the v8 requirement to be exact, instead of greater than a specific version.
  563. * Sat Oct 24 2009 - Pavol Rusnak <prusnak@suse.cz> - 4.0.223.5
  564. - don't create desktop files in wrapper, fix LD_LIBRARY_PATH (chromium-fix-wrapper.patch)
  565. * Tue Oct 20 2009 - Raymond Wooninck >tittiatcoke@gmail.com> - 4.0.223.5
  566. - update to newer svn snapshot
  567. + Obsoletes fwrite patch (included upstream)
  568. * Fri Oct 16 2009 - Raymond Wooninck <tittiatcoke@gmail.com> - 4.0.223.2
  569. - update to newer svn snapshot
  570. + Requires newer version of v8
  571. * Thu Oct 15 2009 - Pavol Rusnak <prusnak@suse.cz> - 4.0.222.6
  572. - do not force SSE on x86 (drop-sse.patch)
  573. * Tue Oct 13 2009 - Raymond Wooninck <tittiatcoke@gmail.com> - 4.0.222.6
  574. - Update to newer svn snapshot
  575. - Fixed spec file in order to build
  576. - Included patch to build with system zlib
  577. * Mon Oct 12 2009 - Pavol Rusnak <prusnak@suse.cz> 4.0.222.2
  578. - package renamed to chromium
  579. - cleaned up spec file
  580. * Tue Oct 6 2009 - dbuck <dbuck@example.com> - 4.0.222.2
  581. - v8 is now built as a separate package, and is required
  582. - included many patches to use system libraries: v8, icu, libxml2, libxslt, libjpeg, libpng, libevent, bzip2, zlib, nspr, nss
  583. * Sun Oct 1 2009 - dbuck <dbuck@example.com> - 4.0.221.1
  584. - included a newer DEP than is in svn, native_client@823. So things should compile cleanly now
  585. * Sun Aug 31 2009 - dbuck <dbuck@example.com> - 4.0.204.0
  586. - initial build
  587. #% changelog
  588. * Sun Jan 24 2010 prusnak@suse.cz
  589. - added vendor to user agent (chromium-vendor.patch.in)
  590. * Sun Nov 29 2009 prusnak@suse.cz
  591. - added --enable-sync to wrapper to enable bookmark sync
  592. * Sun Nov 29 2009 tittiatcoke@gmail.com
  593. - Update to 4.0.260
  594. * Fri Nov 27 2009 tittiatcoke@gmail.com
  595. - Update to 4.0.259
  596. * Thu Nov 26 2009 tittiatcoke@gmail.com
  597. - Update to 4.0.258
  598. * Tue Nov 24 2009 tittatcoke@gmai.com
  599. - In order to complete prevent the wrong v8 version to be used,
  600. the Chromium build has been changed to having an built-in v8
  601. * Tue Nov 24 2009 dbuck@example.com
  602. - Re-base patches.
  603. - Fixed a few patch errors.
  604. - Rename some patches to better correspond with function.
  605. - Removed some patches.
  606. - Minor SPEC changes.
  607. - I changed the v8 requirement to be exact, instead of greater than a specific version.
  608. * Fri Nov 13 2009 tittiatcoke@gmail.com
  609. - update to 247.0 svn 31928
  610. * Fri Oct 30 2009 tittiatcoke@gmail.com
  611. - update to 229.0 svn 30454
  612. + Fix regression where popups and app frames lost their titlebars.
  613. + Makes it so that when a folder is open on the bookmark bar
  614. and the mouse moves over another folder, the menu for that
  615. folder is shown.
  616. + Lazily create the find bar.
  617. + Polish to the gmail checker sample.
  618. * New, crisper icons that are exactly 19x19
  619. * Add a loading animation at the beginning before Gmail
  620. responds.
  621. * Fix a bug where we sometimes don't update the UI after a
  622. logout/login cycle.
  623. + Refactor widget methods to support desktop notifications,
  624. including GTK stubs.
  625. + Find-in-page should not ding while deleting characters.
  626. + Add SSL wrapper for linux and mac. This allows notifier to
  627. use chrome's SSL layer instead of OpenSSL.
  628. + Add three of the six extensions to PAC that Internet Explorer supports.
  629. + WebSocket support in chromium. (Run with --enable-web-sockets
  630. enables WebSocket features.)
  631. + Do not allow GTK File Chooser dialogs to return directories.
  632. + Fix the notifier SSL layer to make notifications work for
  633. Linux Bookmark sync.
  634. + linux: don't override mouse selection behavior in omnibox
  635. * Sun Oct 25 2009 tittiatcoke@gmail.com
  636. - Update to 224.4 svn 30027
  637. + First cut at new page and browser action docs based
  638. on new API. Deleted old stuff.
  639. + Add suppression for new memory leak caused by WebKit merge 49830:49844
  640. + Cleanup: change PIDs to base::ProcessId (or pid_t, as appropriate)
  641. + Minimize dependency of user scripts
  642. + Fixup the flip_framer eof-handling semantics now that we have
  643. the FIN bit in place
  644. + app depends on x11 because of active_window_watcher_x
  645. + Adding two images for the new Extension managment UI
  646. + Removing hard-coded Chrome Frame output path
  647. + Rearrange clipboard code
  648. + Fix crash bug when attempting to download a url with unsupported scheme,
  649. e.g. 'data:', by 'Alt + Click'
  650. + GTK: Change text for extension download UI
  651. + Ignore invalid urls on command line
  652. + Make dropped tabs animate from where they were dropped.
  653. + Make room for the full width of the tab placeholder.
  654. + Make tab dragging as smooth as glass.
  655. + Remove an annoying NOTIMPLEMNETED
  656. + Extensions: guarantee removal of BROWSER_WINDOW_READY registration
  657. + If we're in the middle of a drag, don't allow the user to middle
  658. click to close or right click for the context menu
  659. + "Fix" a NOTIMPLEMENTED on Linux by using the default password store
  660. + Remove +x bit from files that shouldn't have it
  661. + Fold first 3 channels of multichannel instead of 5. Use fixed point
  662. + Adding new image needed for the managment UI
  663. + Fix a race bug where content scripts would not apply to the first page load
  664. + Make escape remove a bookmark if it's just been added (but not if it already existed)
  665. + Fix bubbles deactivating the opaque frame
  666. + Allow ESC to cancel ALT+SHIFT+T in Toolbar
  667. + ake all pepper plugins default to windowless and transparent
  668. + Add styles for printing
  669. + Implement the new extension management UI
  670. + Add support for to automation interface load install and load extensions
  671. + GTK: theme the info bar border
  672. + Update V8 to version 1.3.16.1
  673. + Introduce WebSecurityPolicy for security related methods
  674. + New button scheme...borders are separate from the inner contents so
  675. that they can be highlighted / depressed independently
  676. + When opening Chrome maximized with an application window already
  677. running, the Chrome window was not activated
  678. + Fix compatibility problems with FileZilla FTP Server
  679. + Remove the extension shelf on Linux
  680. + Fix the proxy host and port string to start with http:// if it does not already
  681. + Enable HTML5 databases for all extension renderer processes
  682. * Sat Oct 24 2009 prusnak@opensuse.org
  683. - don't create desktop files in wrapper
  684. - fix LD_LIBRARY_PATH (chromium-fix-wrapper.patch)
  685. * Tue Oct 20 2009 tittiatcoke@gmail.com
  686. - update to newer svn snapshot
  687. + Obsoletes fwrite patch (included upstream)
  688. * Fri Oct 16 2009 tittiatcoke@gmail.com
  689. - update to newer svn snapshot
  690. + Requires newer version of v8
  691. * Thu Oct 15 2009 prusnak@suse.cz
  692. - do not force SSE on x86 (drop-sse.patch)
  693. * Tue Oct 13 2009 tittiatcoke@gmail.com
  694. - Update to newer svn snapshot
  695. - Fixed spec file in order to build
  696. - Included patch to build with system zlib
  697. * Mon Oct 12 2009 prusnak@suse.cz
  698. - package renamed to chromium
  699. - cleaned up spec file
  700. * Tue Oct 6 2009 dbuck@example.com
  701. - v8 is now built as a separate package, and is required
  702. - included many patches to use system libraries:
  703. v8, icu, libxml2, libxslt, libjpeg, libpng, libevent, bzip2, zlib, nspr, nss
  704. * Thu Oct 1 2009 dbuck@example.com
  705. - included a newer DEP than is in svn, native_client@823
  706. - things should compile cleanly now
  707. * Mon Aug 31 2009 dbuck@example.com
  708. - initial build