File: README.WebKit

package info (click to toggle)
webkit2gtk 2.51.1-1
  • links: PTS, VCS
  • area: main
  • in suites: experimental
  • size: 455,340 kB
  • sloc: cpp: 3,865,253; javascript: 197,710; ansic: 165,177; python: 49,241; asm: 21,868; ruby: 18,095; perl: 16,926; xml: 4,623; sh: 2,409; yacc: 2,356; java: 2,019; lex: 1,330; pascal: 372; makefile: 210
file content (31 lines) | stat: -rw-r--r-- 1,362 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
This directory contains a copy of libsysprof-capture from the
official Sysprof repository.

  - URL: https://gitlab.gnome.org/GNOME/sysprof
  - Commit: d767849717e6c4832da38a932161488c99ee774c (tag: 48.1)

The simplest way of updating its contents is to re-create the directory
from scratch, and restoring the needed files with Git. Example commands:

  rm -rf Source/ThirdParty/libsysprof-capture
  cp -ar ../path/to/sysprof/src/libsysprof-capture Source/ThirdParty/
  git checkout -- \
      Source/ThirdParty/libsysprof-capture/README.WebKit \
      Source/ThirdParty/libsysprof-capture/CMakeLists.txt \
      Source/ThirdParty/libsysprof-capture/include/config.h
  git rm -r Source/ThirdParty/libsysprof-capture/tests
  git add -A Source/ThirdParty/libsysprof-capture

The sysprof-version.h file has to be generated to be included in this
directory, instead of including only the .h.in template. To obtain it,
run the following at the Sysprof source tree:

  meson setup build \
    -Dhelp=false -Dsysprofd=none -Dlibsysprof=false \
    -Dtools=false -Dtests=false -Dexamples=false -Dgtk=false
  cp build/src/libsysprof-capture/sysprof-version.h \
    ../path/to/WebKit/Source/ThirdParty/libsysprof-capture/

Then check whether the updated sources require any changes to the CMake
build system, and update the Sysprof commit identifier and tag in this
file.