Merge lp:~townsend/puritine/gimp-single-window into lp:puritine

Proposed by Christopher Townsend
Status: Merged
Merged at revision: 27
Proposed branch: lp:~townsend/puritine/gimp-single-window
Merge into: lp:puritine
Diff against target: 109 lines (+83/-3)
2 files modified
data/sessionrc (+74/-0)
debian/rules (+9/-3)
To merge this branch: bzr merge lp:~townsend/puritine/gimp-single-window
Reviewer Review Type Date Requested Status
Stephen M. Webb (community) Approve
Review via email: mp+283187@code.launchpad.net

Commit message

Use a prepopulated Gimp sessionrc for setting single window mode on by default.

To post a comment you must log in.
Revision history for this message
Stephen M. Webb (bregma) wrote :

Sane.

review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== added directory 'data'
2=== added file 'data/sessionrc'
3--- data/sessionrc 1970-01-01 00:00:00 +0000
4+++ data/sessionrc 2016-01-19 17:21:38 +0000
5@@ -0,0 +1,74 @@
6+# GIMP sessionrc
7+#
8+# This file takes session-specific info (that is info, you want to keep
9+# between two GIMP sessions). You are not supposed to edit it manually, but
10+# of course you can do. The sessionrc will be entirely rewritten every time
11+# you quit GIMP. If this file isn't found, defaults are used.
12+
13+(session-info "toplevel"
14+ (factory-entry "gimp-empty-image-window")
15+ (position 0 0)
16+ (size 768 1226)
17+ (open-on-exit))
18+(session-info "toplevel"
19+ (factory-entry "gimp-single-image-window")
20+ (position 0 0)
21+ (size 768 1226)
22+ (open-on-exit)
23+ (aux-info
24+ (left-docks-width "1")
25+ (right-docks-width "322")
26+ (maximized "no"))
27+ (gimp-dock
28+ (side right)
29+ (book
30+ (current-page 0)
31+ (dockable "gimp-layer-list"
32+ (tab-style automatic)
33+ (preview-size 32)
34+ (aux-info
35+ (show-button-bar "true")))
36+ (dockable "gimp-channel-list"
37+ (tab-style automatic)
38+ (preview-size 32)
39+ (aux-info
40+ (show-button-bar "true")))
41+ (dockable "gimp-vectors-list"
42+ (tab-style automatic)
43+ (preview-size 32)
44+ (aux-info
45+ (show-button-bar "true")))
46+ (dockable "gimp-undo-history"
47+ (tab-style automatic)
48+ (aux-info
49+ (show-button-bar "true"))))
50+ (book
51+ (position 411)
52+ (current-page 0)
53+ (dockable "gimp-brush-grid"
54+ (tab-style automatic)
55+ (aux-info
56+ (show-button-bar "true")))
57+ (dockable "gimp-pattern-grid"
58+ (tab-style automatic)
59+ (aux-info
60+ (show-button-bar "true")))
61+ (dockable "gimp-gradient-list"
62+ (tab-style automatic)
63+ (aux-info
64+ (show-button-bar "true")))))
65+ (gimp-toolbox
66+ (side right)
67+ (position 200)
68+ (book
69+ (current-page 0)
70+ (dockable "gimp-tool-options"
71+ (tab-style automatic)
72+ (aux-info
73+ (show-button-bar "true"))))))
74+
75+(hide-docks no)
76+(single-window-mode yes)
77+(last-tip-shown 0)
78+
79+# end of sessionrc
80
81=== modified file 'debian/rules'
82--- debian/rules 2016-01-18 23:56:05 +0000
83+++ debian/rules 2016-01-19 17:21:38 +0000
84@@ -6,6 +6,10 @@
85 export XDG_CACHE_HOME := $(CHROOT_BUILDIR)/libertine-data
86 export NO_PKG_MANGLE=1
87
88+CONTAINER_NAME=puritine
89+CONTAINER_ROOTFS=$(XDG_CACHE_HOME)/libertine-container/$(CONTAINER_NAME)/rootfs
90+USER_DATA_HOME=$(XDG_DATA_HOME)/libertine-container/user-data/$(CONTAINER_NAME)
91+
92 .PHONY: build build-arch build-indep
93 build: build-stamp
94 build-arch: build-stamp
95@@ -13,9 +17,11 @@
96
97 build-stamp:
98 ./create_bespoke_container
99- fakechroot fakeroot chroot $(XDG_CACHE_HOME)/libertine-container/puritine/rootfs apt-get clean
100- proot -S $(XDG_CACHE_HOME)/libertine-container/puritine/rootfs ldconfig.REAL -v
101- ./fix_puritine_symlinks $(XDG_CACHE_HOME)/libertine-container/puritine/rootfs
102+ fakechroot fakeroot chroot $(CONTAINER_ROOTFS) apt-get clean
103+ proot -S $(CONTAINER_ROOTFS) ldconfig.REAL -v
104+ ./fix_puritine_symlinks $(CONTAINER_ROOTFS)
105+ mkdir -p $(USER_DATA_HOME)/.gimp-2.8
106+ cp data/sessionrc $(USER_DATA_HOME)/.gimp-2.8
107 touch build-stamp
108
109 clean:

Subscribers

People subscribed via source and target branches