build-gnome-shell.mdwn 2.72 KB
Newer Older
127.0.0.1's avatar
127.0.0.1 committed
1
* This suppose you have either a sid/experimental system with latest GNOME packages or a pbuilder experimental setup.
2

127.0.0.1's avatar
127.0.0.1 committed
3
  * In a VM, enable experimental sources then:
4

127.0.0.1's avatar
127.0.0.1 committed
5
6
        apt-get build-dep -t experimental gnome-shell
        apt-get install quilt git-buildpackage
7

127.0.0.1's avatar
127.0.0.1 committed
8
9
10
  * For pbuilder:

        pbuilder create --distribution experimental --override-config
11
12
13

* clone debian git in gnome-shell-debian

127.0.0.1's avatar
127.0.0.1 committed
14
15
16
17
18
      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
19
20
21

* clone upstream git 

127.0.0.1's avatar
127.0.0.1 committed
22
      git clone https://gitlab.gnome.org/GNOME/gnome-shell.git gnome-shell-git
127.0.0.1's avatar
text    
127.0.0.1 committed
23
      git submodule update --init
24
25
26

* disable upstream VCS tag checking

127.0.0.1's avatar
127.0.0.1 committed
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
      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
46
47
48

* import upstream repository

127.0.0.1's avatar
127.0.0.1 committed
49
      gbp import-orig --verbose --upstream-version=3.33.0-4 --filter=.git --filter=.gitignore ~/Documents/gnome-shell-git/
50
51
52
53
54
                                                        ^
                                            increase this at each build

* disable all patches

127.0.0.1's avatar
127.0.0.1 committed
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
      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
74
75
76

* build

127.0.0.1's avatar
127.0.0.1 committed
77
78
79
80
81
      gbp buildpackage

  or with pbuilder:

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

* install

127.0.0.1's avatar
127.0.0.1 committed
85
      sudo dpkg -i ../gnome-shell_3.33.0-4-1_amd64.deb ../gnome-shell-common_3.33.0-4-1_all.deb