summaryrefslogtreecommitdiffstats
path: root/wiki/src/blueprint/veracrypt/build-gnome-shell.mdwn
blob: 509fbd983ee726a458bc077870ee652b05aa9440 (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
This suppose you have either a sid/experimental system with latest GNOME packages or a pbuilder setup with these packages. In a VM, enable experimental sources then:

    apt-get build-dep -t experimental gnome-shell

    apt-get install quilt git-buildpackage


* clone debian git in gnome-shell-debian

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

* 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

* install

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