summaryrefslogtreecommitdiffstats
path: root/wiki/src/blueprint/veracrypt/build-gnome-shell.mdwn
blob: eb3929811c54c422be36a036465fd18f9a35f844 (plain)
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
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
* This suppose you have either a sid/experimental system with latest GNOME packages or a pbuilder experimental setup.

  * In a VM, enable experimental sources then:

        apt-get build-dep -t experimental gnome-shell
        apt-get install quilt git-buildpackage

  * For pbuilder:

        pbuilder create --distribution experimental --override-config

* clone debian git in gnome-shell-debian

      git clone https://salsa.debian.org/gnome-team/gnome-shell.git gnome-shell-debian

* create upstream/latest branch

      git co -b upstream/latest origin/upstream/latest

* clone upstream git 

      git clone https://gitlab.gnome.org/GNOME/gnome-shell.git gnome-shell-git

* disable upstream VCS tag checking

      commit 3f53de522495a321bb962e5b9e4ddaca66957823
      Author: user <user@debian>
      Date:   Tue Apr 2 16:31:22 2019 +0200
      
          disable upstream VCS tag checking
      
      diff --git a/debian/gbp.conf b/debian/gbp.conf
      index b24011a15..904e0e5d0 100644
      --- a/debian/gbp.conf
      +++ b/debian/gbp.conf
      @@ -2,7 +2,7 @@
       pristine-tar = True
       debian-branch = debian/master
       upstream-branch = upstream/latest
      -upstream-vcs-tag = %(version)s
      +#upstream-vcs-tag = %(version)s
       
       [buildpackage]
       sign-tags = True

* import upstream repository

      gbp import-orig --verbose --upstream-version=3.33.0-4 --filter=.git --filter=.gitignore ~/Documents/gnome-shell-git/
                                                        ^
                                            increase this at each build

* disable all patches

      commit 31962cfec99808e57404a970c59202c8e40c1c76 (HEAD -> debian/master)
      Author: user <user@debian>
      Date:   Tue Apr 2 16:38:27 2019 +0200
      
          disable all debian specific patches
      
      diff --git a/debian/patches/series b/debian/patches/series
      index 2e1f1ebb9..e69de29bb 100644
      --- a/debian/patches/series
      +++ b/debian/patches/series
      @@ -1,8 +0,0 @@
      -userWidget-Fix-avatar-size.patch
      -layout-Use-custom-actor-for-uiGroup.patch
      -texture-cache-Apply-resource-scale-to-the-right-dimension.patch
      -theme-improve-legibility-of-error-messages.patch
      -st-widget-Add-missing-g_return_val_if_fail.patch
      -st-theme-node-transition-Exclude-get_new_paint_state-from.patch
      -magnifier-Fix-color-argument.patch
      -tweener-Save-handlers-on-target-and-remove-them-on-destro.patch

* build

      gbp buildpackage

  or with pbuilder:

      BUILDER=pbuilder gbp buildpackage --git-pbuilder --git-dist=experimental --git-arch=amd64 -nc

* install

      sudo dpkg -i ../gnome-shell_3.33.0-4-1_amd64.deb ../gnome-shell-common_3.33.0-4-1_all.deb