Mercurial > projects > pk-update-icon
annotate deps.sed @ 56:63347002d746
Simplify PkuiBackend
Make the "check-interval" property construct-only since it is never changed at
runtime and schedule the first check for updates in the "constructed" method.
Remove unused property get methods.
Destroy PkClient and remove periodic check in the "dispose" method.
author | Guido Berhoerster <guido+pk-update-icon@berhoerster.name> |
---|---|
date | Sun, 01 Jul 2018 22:38:11 +0200 |
parents | b84b4ae937e3 |
children |
rev | line source |
---|---|
35
b84b4ae937e3
Fix automatic dependency generation and improve portability
Guido Berhoerster <gber@opensuse.org>
parents:
diff
changeset
|
1 /^[^:]\{1,\}:.*\\$/{ |
b84b4ae937e3
Fix automatic dependency generation and improve portability
Guido Berhoerster <gber@opensuse.org>
parents:
diff
changeset
|
2 h |
b84b4ae937e3
Fix automatic dependency generation and improve portability
Guido Berhoerster <gber@opensuse.org>
parents:
diff
changeset
|
3 s/\([^:]\{1,\}:\).*/\1/ |
b84b4ae937e3
Fix automatic dependency generation and improve portability
Guido Berhoerster <gber@opensuse.org>
parents:
diff
changeset
|
4 x |
b84b4ae937e3
Fix automatic dependency generation and improve portability
Guido Berhoerster <gber@opensuse.org>
parents:
diff
changeset
|
5 s/[^:]\{1,\}:// |
b84b4ae937e3
Fix automatic dependency generation and improve portability
Guido Berhoerster <gber@opensuse.org>
parents:
diff
changeset
|
6 } |
b84b4ae937e3
Fix automatic dependency generation and improve portability
Guido Berhoerster <gber@opensuse.org>
parents:
diff
changeset
|
7 /\\$/,/^$/bgen |
b84b4ae937e3
Fix automatic dependency generation and improve portability
Guido Berhoerster <gber@opensuse.org>
parents:
diff
changeset
|
8 /\\$/,/[^\\]$/{ |
b84b4ae937e3
Fix automatic dependency generation and improve portability
Guido Berhoerster <gber@opensuse.org>
parents:
diff
changeset
|
9 :gen |
b84b4ae937e3
Fix automatic dependency generation and improve portability
Guido Berhoerster <gber@opensuse.org>
parents:
diff
changeset
|
10 s/[[:blank:]]*\\$// |
b84b4ae937e3
Fix automatic dependency generation and improve portability
Guido Berhoerster <gber@opensuse.org>
parents:
diff
changeset
|
11 s/^[[:blank:]]*// |
b84b4ae937e3
Fix automatic dependency generation and improve portability
Guido Berhoerster <gber@opensuse.org>
parents:
diff
changeset
|
12 G |
b84b4ae937e3
Fix automatic dependency generation and improve portability
Guido Berhoerster <gber@opensuse.org>
parents:
diff
changeset
|
13 s/\(.*\)\n\(.*\)/\2 \1/ |
b84b4ae937e3
Fix automatic dependency generation and improve portability
Guido Berhoerster <gber@opensuse.org>
parents:
diff
changeset
|
14 } |
b84b4ae937e3
Fix automatic dependency generation and improve portability
Guido Berhoerster <gber@opensuse.org>
parents:
diff
changeset
|
15 /^[^:]\{1,\}:[[:blank:]]*$/d |
b84b4ae937e3
Fix automatic dependency generation and improve portability
Guido Berhoerster <gber@opensuse.org>
parents:
diff
changeset
|
16 /^[^:]\{1,\}\.o:/{ |
b84b4ae937e3
Fix automatic dependency generation and improve portability
Guido Berhoerster <gber@opensuse.org>
parents:
diff
changeset
|
17 s/[[:blank:]]*[^[:blank:]]\{1,\}\.[cC][[:blank:]]*/ /g |
b84b4ae937e3
Fix automatic dependency generation and improve portability
Guido Berhoerster <gber@opensuse.org>
parents:
diff
changeset
|
18 s/[[:blank:]]*[^[:blank:]]\{1,\}\.[cC]$//g |
b84b4ae937e3
Fix automatic dependency generation and improve portability
Guido Berhoerster <gber@opensuse.org>
parents:
diff
changeset
|
19 s/[[:blank:]]*[^[:blank:]]\{1,\}\.cc[[:blank:]]*/ /g |
b84b4ae937e3
Fix automatic dependency generation and improve portability
Guido Berhoerster <gber@opensuse.org>
parents:
diff
changeset
|
20 s/[[:blank:]]*[^[:blank:]]\{1,\}\.cc$//g |
b84b4ae937e3
Fix automatic dependency generation and improve portability
Guido Berhoerster <gber@opensuse.org>
parents:
diff
changeset
|
21 s/[[:blank:]]*[^[:blank:]]\{1,\}\.cpp[[:blank:]]*/ /g |
b84b4ae937e3
Fix automatic dependency generation and improve portability
Guido Berhoerster <gber@opensuse.org>
parents:
diff
changeset
|
22 s/[[:blank:]]*[^[:blank:]]\{1,\}\.cpp$//g |
b84b4ae937e3
Fix automatic dependency generation and improve portability
Guido Berhoerster <gber@opensuse.org>
parents:
diff
changeset
|
23 /^[^:]\{1,\}:[[:blank:]]*$/d |
b84b4ae937e3
Fix automatic dependency generation and improve portability
Guido Berhoerster <gber@opensuse.org>
parents:
diff
changeset
|
24 s/^\([^:]\{1,\}\)\.o[[:blank:]]*:[[:blank:]]*\(.*\)/\1.d: $(wildcard \2)\ |
b84b4ae937e3
Fix automatic dependency generation and improve portability
Guido Berhoerster <gber@opensuse.org>
parents:
diff
changeset
|
25 &/ |
b84b4ae937e3
Fix automatic dependency generation and improve portability
Guido Berhoerster <gber@opensuse.org>
parents:
diff
changeset
|
26 } |