Merge lp:~tintou/pantheon-photos/first-cmake into lp:~pantheon-photos/pantheon-photos/trunk
- first-cmake
- Merge into trunk
Proposed by
Corentin Noël
Status: | Merged | ||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Approved by: | Cody Garver | ||||||||||||
Approved revision: | 2882 | ||||||||||||
Merged at revision: | 2881 | ||||||||||||
Proposed branch: | lp:~tintou/pantheon-photos/first-cmake | ||||||||||||
Merge into: | lp:~pantheon-photos/pantheon-photos/trunk | ||||||||||||
Diff against target: |
14451 lines (+4477/-8379) 266 files modified
.doap (+0/-21) .gitignore (+0/-23) CMakeLists.txt (+111/-0) Makefile (+0/-697) apport/shotwell.py (+0/-7) chkver (+0/-119) cmake/FindGirCompiler.cmake (+56/-0) cmake/FindVala.cmake (+65/-0) cmake/GObjectIntrospectionMacros.cmake (+34/-0) cmake/GResource.cmake (+67/-0) cmake/GSettings.cmake (+42/-0) cmake/Tests.cmake (+5/-0) cmake/Translations.cmake (+203/-0) cmake/Uninstall.cmake (+25/-0) cmake/ValaPrecompile.cmake (+251/-0) cmake/ValaVersion.cmake (+96/-0) configure (+0/-184) data/CMakeLists.txt (+19/-0) data/pantheon-photos-viewer.desktop.in.in (+9/-7) data/pantheon-photos.appdata.xml.in (+21/-15) data/pantheon-photos.desktop.in.in (+10/-10) help/C/Makefile (+0/-35) help/C/edit-adjustments.page (+0/-51) help/C/edit-crop.page (+0/-46) help/C/edit-enhance.page (+0/-17) help/C/edit-external.page (+0/-54) help/C/edit-nondestructive.page (+0/-22) help/C/edit-redeye.page (+0/-26) help/C/edit-rotate.page (+0/-27) help/C/edit-straighten.page (+0/-28) help/C/edit-time-date.page (+0/-21) help/C/edit-undo.page (+0/-22) help/C/formats.page (+0/-35) help/C/import-camera.page (+0/-33) help/C/import-f-spot.page (+0/-22) help/C/import-file.page (+0/-24) help/C/import-memorycard.page (+0/-32) help/C/index.page (+0/-48) help/C/organize-event.page (+0/-60) help/C/organize-flag.page (+0/-35) help/C/organize-rating.page (+0/-30) help/C/organize-remove.page (+0/-45) help/C/organize-search.page (+0/-63) help/C/organize-tag.page (+0/-94) help/C/organize-title.page (+0/-20) help/C/other-files.page (+0/-146) help/C/other-missing.page (+0/-23) help/C/other-multiple.page (+0/-23) help/C/other-plugins.page (+0/-29) help/C/raw.page (+0/-46) help/C/running.page (+0/-29) help/C/share-background.page (+0/-23) help/C/share-export.page (+0/-45) help/C/share-print.page (+0/-24) help/C/share-send.page (+0/-25) help/C/share-slideshow.page (+0/-23) help/C/share-upload.page (+0/-38) help/C/view-displaying.page (+0/-28) help/C/view-information.page (+0/-19) help/C/view-sidebar.page (+0/-36) help/Makefile.am (+0/-46) help/es/es.po (+0/-2192) misc/pantheon-photos-viewer.desktop.tail (+0/-3) misc/pantheon-photos.convert (+0/-104) misc/pantheon-photos.desktop.tail (+0/-3) mkunit (+0/-20) mkvala (+0/-20) plugins/CMakeLists.txt (+11/-0) plugins/common/RESTSupport.vala (+0/-1162) plugins/common/Resources.vala (+0/-54) plugins/common/SqliteSupport.vala (+0/-76) plugins/common/VersionNumber.vala (+0/-50) plugins/pantheon-photos-publishing-extras/CMakeLists.txt (+32/-0) plugins/pantheon-photos-publishing-extras/RESTSupport.vala (+1165/-0) plugins/pantheon-photos-publishing-extras/Resources.vala (+54/-0) plugins/pantheon-photos-publishing-extras/TumblrPublishing.vala (+3/-0) plugins/pantheon-photos-publishing-extras/YandexPublishing.vala (+22/-11) plugins/pantheon-photos-publishing-extras/shotwell-publishing-extras.vala (+0/-2) plugins/pantheon-photos-publishing/CMakeLists.txt (+35/-0) plugins/pantheon-photos-publishing/FacebookPublishing.vala (+12/-9) plugins/pantheon-photos-publishing/PiwigoPublishing.vala (+3/-0) plugins/pantheon-photos-publishing/RESTSupport.vala (+1165/-0) plugins/pantheon-photos-publishing/Resources.vala (+54/-0) plugins/pantheon-photos-publishing/shotwell-publishing.vala (+0/-2) plugins/pantheon-photos-transitions/CMakeLists.txt (+32/-0) plugins/pantheon-photos-transitions/Resources.vala (+54/-0) plugins/pantheon-photos-transitions/shotwell-transitions.vala (+0/-2) plugins/shotwell-publishing-extras/Makefile (+0/-27) plugins/shotwell-publishing/Makefile (+0/-39) plugins/shotwell-transitions/Makefile (+0/-21) po/CMakeLists.txt (+10/-0) po/LINGUAS (+0/-61) po/POTFILES.in (+0/-198) po/aa.po (+4/-0) po/ab.po (+4/-0) po/ae.po (+4/-0) po/ak.po (+4/-0) po/am.po (+4/-0) po/an.po (+4/-0) po/av.po (+4/-0) po/ay.po (+4/-0) po/az.po (+4/-0) po/ba.po (+4/-0) po/be.po (+5/-0) po/bh.po (+4/-0) po/bi.po (+4/-0) po/bm.po (+4/-0) po/bo.po (+4/-0) po/br.po (+4/-0) po/ce.po (+4/-0) po/ch.po (+4/-0) po/ckb.po (+4/-0) po/co.po (+4/-0) po/cr.po (+4/-0) po/cu.po (+4/-0) po/cv.po (+4/-0) po/cy.po (+4/-0) po/dv.po (+4/-0) po/dz.po (+4/-0) po/ee.po (+4/-0) po/en_AU.po (+4/-0) po/en_CA.po (+4/-0) po/fa.po (+4/-0) po/ff.po (+4/-0) po/fj.po (+4/-0) po/fo.po (+5/-0) po/fy.po (+4/-0) po/ga.po (+4/-0) po/gd.po (+4/-0) po/gn.po (+4/-0) po/gv.po (+4/-0) po/ha.po (+4/-0) po/ho.po (+4/-0) po/ht.po (+4/-0) po/hy.po (+4/-0) po/hz.po (+4/-0) po/ie.po (+4/-0) po/ig.po (+4/-0) po/ii.po (+4/-0) po/ik.po (+4/-0) po/io.po (+4/-0) po/is.po (+4/-0) po/iu.po (+4/-0) po/jv.po (+4/-0) po/ka.po (+4/-0) po/kg.po (+4/-0) po/ki.po (+4/-0) po/kj.po (+4/-0) po/kl.po (+4/-0) po/kr.po (+4/-0) po/ks.po (+4/-0) po/ku.po (+4/-0) po/kv.po (+4/-0) po/kw.po (+4/-0) po/la.po (+4/-0) po/lg.po (+4/-0) po/li.po (+4/-0) po/ln.po (+4/-0) po/lo.po (+4/-0) po/lu.po (+4/-0) po/mg.po (+4/-0) po/mh.po (+4/-0) po/mi.po (+4/-0) po/mn.po (+4/-0) po/mo.po (+4/-0) po/mt.po (+4/-0) po/my.po (+4/-0) po/na.po (+4/-0) po/nd.po (+4/-0) po/ne.po (+4/-0) po/ng.po (+4/-0) po/no.po (+5/-0) po/nr.po (+4/-0) po/nv.po (+4/-0) po/ny.po (+4/-0) po/oc.po (+4/-0) po/oj.po (+4/-0) po/om.po (+4/-0) po/os.po (+4/-0) po/pi.po (+4/-0) po/ps.po (+4/-0) po/qu.po (+4/-0) po/rm.po (+4/-0) po/rn.po (+4/-0) po/rue.po (+4/-0) po/rw.po (+4/-0) po/sa.po (+4/-0) po/sc.po (+4/-0) po/sd.po (+4/-0) po/se.po (+4/-0) po/sg.po (+4/-0) po/si.po (+4/-0) po/sm.po (+4/-0) po/sma.po (+4/-0) po/sn.po (+4/-0) po/so.po (+4/-0) po/ss.po (+4/-0) po/st.po (+4/-0) po/su.po (+4/-0) po/sw.po (+4/-0) po/tg.po (+4/-0) po/ti.po (+4/-0) po/tk.po (+4/-0) po/tl.po (+4/-0) po/tn.po (+4/-0) po/to.po (+4/-0) po/ts.po (+4/-0) po/tt.po (+4/-0) po/tw.po (+4/-0) po/ty.po (+4/-0) po/ug.po (+4/-0) po/uz.po (+4/-0) po/ve.po (+4/-0) po/vo.po (+4/-0) po/wa.po (+4/-0) po/wo.po (+4/-0) po/xh.po (+4/-0) po/yi.po (+4/-0) po/yo.po (+4/-0) po/za.po (+4/-0) po/zh.po (+4/-0) po/zh_HK.po (+4/-0) po/zu.po (+4/-0) schemas/CMakeLists.txt (+3/-0) settings-migrator/pantheon-photos-settings-migrator (+0/-33) shotwell-plugin-dev-1.0.m4 (+0/-11) shotwell.doap (+0/-31) src/AppDirs.vala (+1/-11) src/CMakeLists.txt (+221/-0) src/International.vala (+0/-2) src/Resources.vala (+0/-8) src/SortedList.vala (+1/-1) src/TimedQueue.vala (+2/-2) src/camera/mk/camera.mk (+0/-32) src/config.h.cmake (+7/-0) src/config/GSettingsEngine.vala (+0/-14) src/config/mk/config.mk (+0/-29) src/core/mk/core.mk (+0/-43) src/db/DatabaseTable.vala (+1/-0) src/db/Db.vala (+1/-251) src/db/mk/db.mk (+0/-35) src/direct/Direct.vala (+2/-2) src/direct/mk/direct.mk (+0/-36) src/editing_tools/mk/editing_tools.mk (+0/-28) src/events/mk/events.mk (+0/-32) src/library/Library.vala (+15/-2) src/library/mk/library.mk (+0/-55) src/photos/PhotoMetadata.vala (+1/-1) src/photos/mk/photos.mk (+0/-38) src/plugins/mk/interfaces.mk (+0/-28) src/plugins/mk/plugins.mk (+0/-34) src/publishing/mk/publishing.mk (+0/-31) src/searches/mk/searches.mk (+0/-31) src/sidebar/mk/sidebar.mk (+0/-38) src/slideshow/mk/slideshow.mk (+0/-29) src/tags/mk/tags.mk (+0/-32) src/threads/mk/threads.mk (+0/-30) src/unit/mk/unit.mk (+0/-32) src/util/mk/util.mk (+0/-34) sw-glade (+0/-8) thumbnailer/CMakeLists.txt (+14/-0) unitize.mk (+0/-29) units.mk (+0/-33) vapi/config.vapi (+19/-0) vapi/webkitgtk-3.0.deps (+0/-8) vapi/webkitgtk-3.0.vapi (+0/-653) |
||||||||||||
To merge this branch: | bzr merge lp:~tintou/pantheon-photos/first-cmake | ||||||||||||
Related bugs: |
|
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Photos Devs | Pending | ||
Review via email: mp+282581@code.launchpad.net |
Commit message
Ported to CMake. Removed very old retro-compatibi
Description of the change
To post a comment you must log in.
- 2881. By Corentin Noël
-
Reestablish Unity flag.
- 2882. By Corentin Noël
-
[Plugins] Use the right installation dir.
Preview Diff
[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1 | === removed file '.doap' |
2 | --- .doap 2013-06-17 23:31:25 +0000 |
3 | +++ .doap 1970-01-01 00:00:00 +0000 |
4 | @@ -1,21 +0,0 @@ |
5 | -<Project xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:rdfs="http://www.w3.org/2000/01/rdf-schema#" xmlns="http://usefulinc.com/ns/doap#" xmlns:foaf="http://xmlns.com/foaf/0.1/" xmlns:admin="http://webns.net/mvcb/"> |
6 | - <name>Shotwell</name> |
7 | - <shortname>Shotwell</shortname> |
8 | - <shortdesc>Digital Photo Manager</shortdesc> |
9 | - <description>Shotwell is a digital photo manager designed for the GNOME desktop environment. It allows you to import photos from disk or camera, organize them in various ways, view them in full-window or fullscreen mode, and export and share them with others by publishing them to popular web services. |
10 | - |
11 | -Visit http://www.yorba.org/shotwell to read about the current state of Shotwell's development.</description> |
12 | - <homepage rdf:resource="http://www.yorba.org/projects/shotwell/" /> |
13 | - <wiki rdf:resource="http://redmine.yorba.org/projects/shotwell/wiki" /> |
14 | - <download-page rdf:resource="http://www.yorba.org/projects/shotwell/install/" /> |
15 | - <bug-database rdf:resource="http://redmine.yorba.org/projects/shotwell/issues" /> |
16 | - <programming-language>Vala</programming-language> |
17 | - <license rdf:resource="http://usefulinc.com/doap/licenses/lgpl" /> |
18 | - <maintainer> |
19 | - <foaf:Person> |
20 | - <foaf:name>Jim Nelson</foaf:name> |
21 | - <foaf:mbox_sha1sum>4cf80db74d6388f6e8f0c4509dcc696ca5abb8d1</foaf:mbox_sha1sum> |
22 | - </foaf:Person> |
23 | - </maintainer> |
24 | - |
25 | -</Project> |
26 | |
27 | === removed file '.gitignore' |
28 | --- .gitignore 2013-04-25 19:54:33 +0000 |
29 | +++ .gitignore 1970-01-01 00:00:00 +0000 |
30 | @@ -1,23 +0,0 @@ |
31 | -shotwell |
32 | -.valencia |
33 | -/build |
34 | -/configure.mk |
35 | -/misc/gschemas.compiled |
36 | -/misc/shotwell.desktop |
37 | -/misc/shotwell-viewer.desktop |
38 | -/plugins/shotwell-plugin-dev-1.0.vapi |
39 | -/plugins/shotwell-plugin-dev-1.0.deps |
40 | -/src/libshotwell.vapi |
41 | -/src/.unitize |
42 | -/thumbnailer/shotwell-video-thumbnailer |
43 | -/src/libshotwell.deps |
44 | -*.c |
45 | -*.h |
46 | -*.langstamp |
47 | -*.mo |
48 | -*.o |
49 | -*.pc |
50 | -*.so |
51 | -*.stamp |
52 | -*~ |
53 | - |
54 | |
55 | === added file 'CMakeLists.txt' |
56 | --- CMakeLists.txt 1970-01-01 00:00:00 +0000 |
57 | +++ CMakeLists.txt 2016-01-14 14:02:26 +0000 |
58 | @@ -0,0 +1,111 @@ |
59 | +project (pantheon-photos) |
60 | + |
61 | +cmake_minimum_required (VERSION 2.8) |
62 | +list (APPEND CMAKE_MODULE_PATH ${CMAKE_SOURCE_DIR}/cmake) |
63 | + |
64 | +include (GNUInstallDirs) |
65 | +set (DATADIR "${CMAKE_INSTALL_FULL_DATAROOTDIR}") |
66 | +set (PKGDATADIR "${DATADIR}/${CMAKE_PROJECT_NAME}") |
67 | +set (GETTEXT_PACKAGE ${CMAKE_PROJECT_NAME}) |
68 | +set (EXEC_NAME ${CMAKE_PROJECT_NAME}) |
69 | +set (APP_NAME "Photos") |
70 | +set (VERSION "0.1") |
71 | +set (VERSION_INFO "Alpha") |
72 | +set (DOLLAR "$") |
73 | + |
74 | +option (BUILD_PLUGINS "Whether to build plugins or not." ON) |
75 | + |
76 | +add_definitions (-DGETTEXT_PACKAGE=\"${GETTEXT_PACKAGE}\") |
77 | +add_definitions (-w) |
78 | + |
79 | +set (DEPS_PKG |
80 | + gee-0.8>=0.8.5 |
81 | + gexiv2>=0.4.90 |
82 | + gio-unix-2.0>=2.20 |
83 | + glib-2.0>=2.30.0 |
84 | + gmodule-2.0>=2.24.0 |
85 | + gstreamer-1.0>=1.0.0 |
86 | + gstreamer-base-1.0>=1.0.0 |
87 | + gstreamer-plugins-base-1.0>=1.0.0 |
88 | + gstreamer-pbutils-1.0>=1.0.0 |
89 | + granite |
90 | + gtk+-3.0>=3.6.0 |
91 | + gudev-1.0>=145 |
92 | + json-glib-1.0 |
93 | + libexif>=0.6.16 |
94 | + libgphoto2>=2.4.2 |
95 | + libraw>=0.13.2 |
96 | + libsoup-2.4>=2.26.0 |
97 | + libxml-2.0>=2.6.32 |
98 | + rest-0.7>=0.7 |
99 | + sqlite3>=3.5.9 |
100 | + webkit2gtk-4.0>=2.0.0 |
101 | +) |
102 | + |
103 | +set (DEPS_PACKAGES |
104 | + atk |
105 | + gdk-3.0 |
106 | + gee-0.8 |
107 | + gexiv2 |
108 | + gio-unix-2.0 |
109 | + glib-2.0 |
110 | + gmodule-2.0 |
111 | + granite |
112 | + gstreamer-1.0 |
113 | + gstreamer-base-1.0 |
114 | + gstreamer-pbutils-1.0 |
115 | + gtk+-3.0 |
116 | + gudev-1.0 |
117 | + libexif |
118 | + libgphoto2 |
119 | + json-glib-1.0 |
120 | + libraw |
121 | + libsoup-2.4 |
122 | + libxml-2.0 |
123 | + sqlite3 |
124 | + webkit2gtk-4.0 |
125 | + # Custom .vapis |
126 | + ExtendedPosix |
127 | + LConv |
128 | + unique-3.0 |
129 | +) |
130 | + |
131 | +set (GLOBAL_VALA_OPTIONS |
132 | + --vapidir=${CMAKE_SOURCE_DIR}/vapi |
133 | + --vapidir=${CMAKE_BINARY_DIR}/src |
134 | + --target-glib=2.32 |
135 | + --thread |
136 | + # Remove it when vala bindings are no more experimental (see https://bugzilla.gnome.org/show_bug.cgi?id=719597) |
137 | + --enable-experimental |
138 | +) |
139 | + |
140 | +find_package (PkgConfig) |
141 | +pkg_check_modules (DEPS REQUIRED ${DEPS_PKG}) |
142 | +pkg_check_modules (UNITY QUIET unity) |
143 | +if (UNITY_FOUND) |
144 | + message("-- Unity support enabled") |
145 | + set (DEPS_CFLAGS ${DEPS_CFLAGS} ${UNITY_CFLAGS}) |
146 | + set (DEPS_LIBRARY_DIRS ${DEPS_LIBRARY_DIRS} ${UNITY_LIBRARY_DIRS}) |
147 | + set (DEPS_LIBRARIES ${DEPS_LIBRARIES} ${UNITY_LIBRARIES}) |
148 | + set (DEPS_PACKAGES ${DEPS_PACKAGES} unity) |
149 | + set (GLOBAL_VALA_OPTIONS ${GLOBAL_VALA_OPTIONS} --define UNITY_SUPPORT) |
150 | +else () |
151 | + message("-- Unity support disabled") |
152 | +endif () |
153 | + |
154 | +add_definitions (${DEPS_CFLAGS}) |
155 | +link_directories (${DEPS_LIBRARY_DIRS}) |
156 | + |
157 | +find_package (Vala REQUIRED) |
158 | +include (ValaVersion) |
159 | +ensure_vala_version ("0.26" MINIMUM) |
160 | + |
161 | +include (ValaPrecompile) |
162 | + |
163 | +add_subdirectory (po) |
164 | +add_subdirectory (data) |
165 | +add_subdirectory (schemas) |
166 | +add_subdirectory (src) |
167 | +add_subdirectory (thumbnailer) |
168 | +add_subdirectory (plugins) |
169 | + |
170 | |
171 | === removed file 'Makefile' |
172 | --- Makefile 2016-01-11 22:03:46 +0000 |
173 | +++ Makefile 1970-01-01 00:00:00 +0000 |
174 | @@ -1,697 +0,0 @@ |
175 | -PROGRAM = pantheon-photos |
176 | -PROGRAM_THUMBNAILER = pantheon-photos-video-thumbnailer |
177 | -PROGRAM_MIGRATOR = pantheon-photos-settings-migrator |
178 | - |
179 | -VERSION = 0.1.1 |
180 | -GITVER := $(shell git log -n 1 2>/dev/null | head -n 1 | awk '{print $$2}') |
181 | -GETTEXT_PACKAGE = $(PROGRAM) |
182 | -BUILD_ROOT = 1 |
183 | - |
184 | -ifndef VALAC |
185 | -VALAC := $(shell which valac) |
186 | -else |
187 | -VALAC := $(shell which $(VALAC)) |
188 | -endif |
189 | - |
190 | -VALAC_VERSION := `$(VALAC) --version | awk '{print $$2}'` |
191 | -MIN_VALAC_VERSION := 0.20.1 |
192 | -INSTALL_PROGRAM := install |
193 | -INSTALL_DATA := install -m 644 |
194 | - |
195 | -export MIN_GLIB_VERSION=2.30.0 |
196 | - |
197 | -# defaults that may be overridden by configure.mk |
198 | -PREFIX=/usr/local |
199 | -BUILD_RELEASE=1 |
200 | -LIB=lib |
201 | - |
202 | --include configure.mk |
203 | -ifndef LIBEXECDIR |
204 | -LIBEXECDIR=$(PREFIX)/libexec/pantheon-photos |
205 | -endif |
206 | - |
207 | -CORE_SUPPORTED_LANGUAGES=$(shell cat po/LINGUAS) |
208 | - |
209 | -LOCAL_LANG_DIR=locale-langpack |
210 | -SYSTEM_LANG_DIR := $(DESTDIR)$(PREFIX)/share/locale |
211 | - |
212 | -VALAFLAGS := -g --enable-checking --target-glib=2.32 --thread --fatal-warnings --enable-experimental --enable-deprecated $(USER_VALAFLAGS) |
213 | -ifdef UNITY_SUPPORT |
214 | -VALAFLAGS := $(VALAFLAGS) --define UNITY_SUPPORT |
215 | -endif |
216 | - |
217 | -DEFINES := _PREFIX='"$(PREFIX)"' _VERSION='"$(VERSION)"' GETTEXT_PACKAGE='"$(GETTEXT_PACKAGE)"' \ |
218 | - _LANG_SUPPORT_DIR='"$(SYSTEM_LANG_DIR)"' _LIB='"${LIB}"' _LIBEXECDIR='"$(LIBEXECDIR)"' |
219 | - |
220 | -ifdef GITVER |
221 | -DEFINES := $(DEFINES) _GIT_VERSION='"$(GITVER)"' |
222 | -VALAFLAGS := $(VALAFLAGS) --define=_GITVERSION |
223 | -endif |
224 | - |
225 | -EXPORT_FLAGS = -export-dynamic |
226 | - |
227 | -include units.mk |
228 | -include plugins/plugins.mk |
229 | - |
230 | -UNUNITIZED_SRC_FILES = \ |
231 | - main.vala \ |
232 | - AppWindow.vala \ |
233 | - CollectionPage.vala \ |
234 | - Thumbnail.vala \ |
235 | - ThumbnailCache.vala \ |
236 | - CheckerboardLayout.vala \ |
237 | - PhotoPage.vala \ |
238 | - Page.vala \ |
239 | - SortedList.vala \ |
240 | - Dimensions.vala \ |
241 | - Box.vala \ |
242 | - Photo.vala \ |
243 | - Orientation.vala \ |
244 | - BatchImport.vala \ |
245 | - Dialogs.vala \ |
246 | - Resources.vala \ |
247 | - Debug.vala \ |
248 | - ColorTransformation.vala \ |
249 | - CustomComponents.vala \ |
250 | - Event.vala \ |
251 | - International.vala \ |
252 | - AppDirs.vala \ |
253 | - PixbufCache.vala \ |
254 | - CommandManager.vala \ |
255 | - Commands.vala \ |
256 | - SlideshowPage.vala \ |
257 | - LibraryFiles.vala \ |
258 | - Printing.vala \ |
259 | - Tag.vala \ |
260 | - Screensaver.vala \ |
261 | - Exporter.vala \ |
262 | - DirectoryMonitor.vala \ |
263 | - LibraryMonitor.vala \ |
264 | - VideoSupport.vala \ |
265 | - Tombstone.vala \ |
266 | - MetadataWriter.vala \ |
267 | - Application.vala \ |
268 | - TimedQueue.vala \ |
269 | - MediaPage.vala \ |
270 | - MediaDataRepresentation.vala \ |
271 | - DesktopIntegration.vala \ |
272 | - MediaInterfaces.vala \ |
273 | - MediaMetadata.vala \ |
274 | - VideoMetadata.vala \ |
275 | - MediaMonitor.vala \ |
276 | - PhotoMonitor.vala \ |
277 | - VideoMonitor.vala \ |
278 | - SearchFilter.vala \ |
279 | - MediaViewTracker.vala \ |
280 | - UnityProgressBar.vala \ |
281 | - Upgrades.vala |
282 | - |
283 | -THUMBNAILER_SRC_FILES = \ |
284 | - shotwell-video-thumbnailer.vala |
285 | - |
286 | -VAPI_FILES = \ |
287 | - ExtendedPosix.vapi \ |
288 | - LConv.vapi \ |
289 | - libexif.vapi \ |
290 | - libraw.vapi \ |
291 | - webkitgtk-3.0.vapi \ |
292 | - unique-3.0.vapi |
293 | - |
294 | -DEPS_FILES = \ |
295 | - webkitgtk-3.0.deps \ |
296 | - unique-3.0.deps |
297 | - |
298 | -RESOURCE_FILES = \ |
299 | - collection.ui \ |
300 | - direct.ui \ |
301 | - direct_context.ui \ |
302 | - events_directory.ui \ |
303 | - event.ui \ |
304 | - import_queue.ui \ |
305 | - import.ui \ |
306 | - media.ui \ |
307 | - offline.ui \ |
308 | - photo.ui \ |
309 | - photo_context.ui \ |
310 | - savedsearch.ui \ |
311 | - search_sidebar_context.ui \ |
312 | - set_background_dialog.glade \ |
313 | - shotwell.glade \ |
314 | - shotwell.xml \ |
315 | - sidebar_default_context.ui \ |
316 | - tag_sidebar_context.ui \ |
317 | - tags.ui \ |
318 | - top.ui \ |
319 | - trash.ui |
320 | - |
321 | -SYS_INTEGRATION_FILES = \ |
322 | - pantheon-photos.appdata.xml \ |
323 | - pantheon-photos.desktop.head \ |
324 | - pantheon-photos.desktop.tail \ |
325 | - pantheon-photos-viewer.desktop.head \ |
326 | - pantheon-photos-viewer.desktop.tail \ |
327 | - org.pantheon.photos.gschema.xml \ |
328 | - org.pantheon.photos-extras.gschema.xml \ |
329 | - pantheon-photos.convert |
330 | - |
331 | -SCHEMA_FILES := $(shell ls misc/*.gschema.xml) |
332 | - |
333 | -SRC_HEADER_FILES = \ |
334 | - gphoto.h |
335 | - |
336 | -TEXT_FILES = \ |
337 | - AUTHORS \ |
338 | - COPYING \ |
339 | - INSTALL \ |
340 | - MAINTAINERS \ |
341 | - NEWS \ |
342 | - README \ |
343 | - THANKS |
344 | - |
345 | -ICON_FILES = \ |
346 | - drag_nub.png \ |
347 | - noninterpretable-video.png \ |
348 | - pin-toolbar.svg \ |
349 | - sprocket.png |
350 | - |
351 | -HELP_FILES = \ |
352 | - edit-adjustments.page \ |
353 | - edit-crop.page \ |
354 | - edit-enhance.page \ |
355 | - edit-external.page \ |
356 | - edit-nondestructive.page \ |
357 | - edit-redeye.page \ |
358 | - edit-rotate.page \ |
359 | - edit-straighten.page \ |
360 | - edit-time-date.page \ |
361 | - edit-undo.page \ |
362 | - formats.page \ |
363 | - import-camera.page \ |
364 | - import-file.page \ |
365 | - import-f-spot.page \ |
366 | - import-memorycard.page \ |
367 | - index.page \ |
368 | - organize-event.page \ |
369 | - organize-flag.page \ |
370 | - organize-rating.page \ |
371 | - organize-remove.page \ |
372 | - organize-search.page \ |
373 | - organize-tag.page \ |
374 | - organize-title.page \ |
375 | - other-files.page \ |
376 | - other-missing.page \ |
377 | - other-multiple.page \ |
378 | - other-plugins.page \ |
379 | - raw.page \ |
380 | - running.page \ |
381 | - share-background.page \ |
382 | - share-export.page \ |
383 | - share-print.page \ |
384 | - share-send.page \ |
385 | - share-slideshow.page \ |
386 | - share-upload.page \ |
387 | - view-displaying.page \ |
388 | - view-information.page \ |
389 | - view-sidebar.page |
390 | - |
391 | -HELP_IMAGES = \ |
392 | - crop_thirds.jpg \ |
393 | - editing_overview.png \ |
394 | - edit_toolbar.png \ |
395 | - shotwell_logo.png \ |
396 | - trash_process.png |
397 | - |
398 | -VAPI_DIRS = \ |
399 | - ./vapi |
400 | - |
401 | -HEADER_DIRS = \ |
402 | - ./vapi |
403 | - |
404 | -LOCAL_PKGS = \ |
405 | - ExtendedPosix \ |
406 | - posix \ |
407 | - LConv |
408 | - |
409 | -EXT_PKGS = \ |
410 | - atk \ |
411 | - gdk-3.0 \ |
412 | - gee-0.8 \ |
413 | - gexiv2 \ |
414 | - gio-unix-2.0 \ |
415 | - glib-2.0 \ |
416 | - gmodule-2.0 \ |
417 | - granite \ |
418 | - gstreamer-1.0 \ |
419 | - gstreamer-base-1.0 \ |
420 | - gstreamer-pbutils-1.0 \ |
421 | - gtk+-3.0 \ |
422 | - gudev-1.0 \ |
423 | - libexif \ |
424 | - libgphoto2 \ |
425 | - json-glib-1.0 \ |
426 | - libraw \ |
427 | - libsoup-2.4 \ |
428 | - libxml-2.0 \ |
429 | - sqlite3 \ |
430 | - webkitgtk-3.0 |
431 | - |
432 | -ifdef UNITY_SUPPORT |
433 | -EXT_PKGS += unity |
434 | -endif |
435 | - |
436 | -THUMBNAILER_PKGS = \ |
437 | - gtk+-3.0 \ |
438 | - gee-0.8 \ |
439 | - gstreamer-1.0 \ |
440 | - gstreamer-base-1.0 |
441 | - |
442 | -DIRECT_LIBS = |
443 | - |
444 | -EXT_PKG_VERSIONS = \ |
445 | - gee-0.8 >= 0.8.5 \ |
446 | - gexiv2 >= 0.4.90 \ |
447 | - gio-unix-2.0 >= 2.20 \ |
448 | - glib-2.0 >= $(MIN_GLIB_VERSION) \ |
449 | - gmodule-2.0 >= 2.24.0 \ |
450 | - gstreamer-1.0 >= 1.0.0 \ |
451 | - gstreamer-base-1.0 >= 1.0.0 \ |
452 | - gstreamer-plugins-base-1.0 >= 1.0.0 \ |
453 | - gstreamer-pbutils-1.0 >= 1.0.0 \ |
454 | - gtk+-3.0 >= 3.6.0 \ |
455 | - gudev-1.0 >= 145 \ |
456 | - libexif >= 0.6.16 \ |
457 | - libgphoto2 >= 2.4.2 \ |
458 | - libraw >= 0.13.2 \ |
459 | - libsoup-2.4 >= 2.26.0 \ |
460 | - libxml-2.0 >= 2.6.32 \ |
461 | - rest-0.7 >= 0.7 \ |
462 | - sqlite3 >= 3.5.9 \ |
463 | - webkitgtk-3.0 >= 1.4.0 |
464 | - |
465 | -DIRECT_LIBS_VERSIONS = |
466 | - |
467 | -VALA_PKGS = $(EXT_PKGS) $(LOCAL_PKGS) |
468 | - |
469 | -ifndef BUILD_DIR |
470 | -BUILD_DIR=src |
471 | -endif |
472 | - |
473 | -DESKTOP_APP_SHORT_NAME="Photos" |
474 | -DESKTOP_APP_FULL_NAME="Photo Manager" |
475 | -DESKTOP_APPLICATION_COMMENT="Organize your photos" |
476 | -DESKTOP_APPLICATION_CLASS="Photo Manager" |
477 | -DESKTOP_APP_KEYWORDS="album;camera;cameras;crop;edit;enhance;export;gallery;image;images;import;organize;photo;photographs;photos;picture;pictures;photography;print;publish;rotate;share;tags;video;facebook;flickr;picasa;youtube;piwigo;" |
478 | -DIRECT_EDIT_DESKTOP_APP_SHORT_NAME="Photo Viewer" |
479 | -DIRECT_EDIT_DESKTOP_APP_FULL_NAME="Photo Viewer" |
480 | -DIRECT_EDIT_DESKTOP_APPLICATION_CLASS="Photo Viewer" |
481 | -TEMPORARY_DESKTOP_FILES = misc/pantheon-photos.desktop misc/pantheon-photos-viewer.desktop |
482 | - |
483 | -# Process the units |
484 | -UNIT_MKS := $(foreach unit,$(UNITS),src/$(unit)/mk/$(notdir $(unit)).mk) |
485 | -include $(UNIT_MKS) |
486 | - |
487 | -UNITIZE_DIR := src/.unitize |
488 | -UNITIZE_ENTRIES := $(foreach unit,$(APP_UNITS),$(UNITIZE_DIR)/_$(unit)_unitize_entry.vala) |
489 | -UNITIZE_INITS := $(foreach nm,$(UNIT_NAMESPACES),$(UNITIZE_DIR)/_$(nm)Internals.vala) |
490 | -UNITIZE_STAMP := $(UNITIZE_DIR)/.unitized |
491 | - |
492 | -PLUGINS_DIR := plugins |
493 | -PLUGINS_SO := $(foreach plugin,$(PLUGINS),$(PLUGINS_DIR)/$(plugin)/$(plugin).so) |
494 | -EXTRA_PLUGINS_SO := $(foreach plugin,$(EXTRA_PLUGINS),$(PLUGINS_DIR)/$(plugin)/$(plugin).so) |
495 | -PLUGINS_DIST_FILES := `$(MAKE) --directory=plugins --no-print-directory listfiles` |
496 | - |
497 | -THUMBNAILER_DIR := thumbnailer |
498 | -THUMBNAILER_BIN := $(THUMBNAILER_DIR)/$(PROGRAM_THUMBNAILER) |
499 | -EXPANDED_THUMBNAILER_SRC_FILES := $(foreach file, $(THUMBNAILER_SRC_FILES), $(THUMBNAILER_DIR)/$(file)) |
500 | - |
501 | -MIGRATOR_DIR := settings-migrator |
502 | -MIGRATOR_BIN := $(MIGRATOR_DIR)/$(PROGRAM_MIGRATOR) |
503 | - |
504 | -EXPANDED_CORE_PO_FILES := $(foreach po,$(CORE_SUPPORTED_LANGUAGES),po/$(po).po) |
505 | - |
506 | -EXPANDED_SRC_FILES := $(UNITIZED_SRC_FILES) $(foreach src,$(UNUNITIZED_SRC_FILES),src/$(src)) \ |
507 | - $(UNITIZE_INITS) $(UNITIZE_ENTRIES) |
508 | -EXPANDED_DIST_SRC_FILES := $(UNITIZED_SRC_FILES) $(foreach src,$(UNUNITIZED_SRC_FILES),src/$(src)) |
509 | -EXPANDED_C_FILES := $(foreach file,$(subst src,$(BUILD_DIR),$(EXPANDED_SRC_FILES)),$(file:.vala=.c)) |
510 | -EXPANDED_OBJ_FILES := $(foreach file,$(subst src,$(BUILD_DIR),$(EXPANDED_SRC_FILES)),$(file:.vala=.o)) |
511 | -EXPANDED_SYS_INTEGRATION_FILES := $(foreach file,$(SYS_INTEGRATION_FILES),misc/$(file)) |
512 | -EXPANDED_ICON_FILES := $(foreach file,$(ICON_FILES),icons/$(file)) |
513 | -EXPANDED_VAPI_FILES := $(foreach vapi,$(VAPI_FILES),vapi/$(vapi)) |
514 | -EXPANDED_DEPS_FILES := $(foreach deps,$(DEPS_FILES),vapi/$(deps)) |
515 | -EXPANDED_SRC_HEADER_FILES := $(foreach header,$(SRC_HEADER_FILES),vapi/$(header)) |
516 | -EXPANDED_RESOURCE_FILES := $(foreach res,$(RESOURCE_FILES),ui/$(res)) |
517 | -EXPANDED_HELP_FILES := $(foreach file,$(HELP_FILES),help/C/$(file)) |
518 | -EXPANDED_HELP_IMAGES := $(foreach file,$(HELP_IMAGES),help/C/figures/$(file)) |
519 | -VALA_STAMP := $(BUILD_DIR)/.stamp |
520 | -LANG_STAMP := $(LOCAL_LANG_DIR)/.langstamp |
521 | -MAKE_FILES := Makefile $(CONFIG_IN) $(UNIT_MKS) unitize.mk units.mk |
522 | -PC_INPUT := shotwell-plugin-dev-1.0.m4 |
523 | -PC_FILE := $(PC_INPUT:.m4=.pc) |
524 | - |
525 | -DIST_FILES = Makefile configure chkver $(EXPANDED_DIST_SRC_FILES) $(EXPANDED_VAPI_FILES) \ |
526 | - $(EXPANDED_DEPS_FILES) $(EXPANDED_SRC_HEADER_FILES) $(EXPANDED_RESOURCE_FILES) $(TEXT_FILES) \ |
527 | - $(EXPANDED_ICON_FILES) $(EXPANDED_SYS_INTEGRATION_FILES) $(EXPANDED_CORE_PO_FILES) \ |
528 | - po/LINGUAS po/POTFILES.in po/POTFILES.skip \ |
529 | - $(EXPANDED_HELP_FILES) $(EXPANDED_HELP_IMAGES) apport/shotwell.py $(UNIT_RESOURCES) $(UNIT_MKS) \ |
530 | - unitize.mk units.mk $(PC_INPUT) $(PLUGINS_DIST_FILES) \ |
531 | - vapi/libgphoto2.vapi \ |
532 | - $(EXPANDED_THUMBNAILER_SRC_FILES) $(MIGRATOR_BIN) |
533 | - |
534 | -DIST_TAR = $(PROGRAM)-$(VERSION).tar |
535 | -DIST_TAR_XZ = $(DIST_TAR).xz |
536 | -PACKAGE_ORIG_XZ = $(PROGRAM)_`parsechangelog | grep Version | sed 's/.*: //'`.orig.tar.xz |
537 | - |
538 | -VALAFLAGS := $(VALAFLAGS) $(VALA_DEFINES) --vapidir=plugins/ |
539 | - |
540 | -VALA_CFLAGS := `pkg-config --cflags $(EXT_PKGS) $(DIRECT_LIBS) gthread-2.0` \ |
541 | - $(foreach hdir,$(HEADER_DIRS),-I$(hdir)) \ |
542 | - $(foreach def,$(DEFINES),-D$(def)) |
543 | - |
544 | -VALA_LDFLAGS := `pkg-config --libs $(EXT_PKGS) $(DIRECT_LIBS) gthread-2.0` |
545 | - |
546 | -# REQUIRED_CFLAGS absolutely get appended to CFLAGS, whatever the |
547 | -# the value of CFLAGS in the environment |
548 | -REQUIRED_CFLAGS := -fPIC |
549 | - |
550 | -# setting CFLAGS in configure.mk overrides build type |
551 | -ifndef CFLAGS |
552 | -ifdef BUILD_DEBUG |
553 | -CFLAGS = -O0 -g -pipe |
554 | -PLUGIN_CFLAGS = -O0 -g -pipe |
555 | -else |
556 | -CFLAGS = -O2 -g -pipe |
557 | -PLUGIN_CFLAGS = -O2 -g -pipe |
558 | -endif |
559 | -endif |
560 | - |
561 | -CFLAGS += $(PROFILE_FLAGS) $(REQUIRED_CFLAGS) |
562 | -PLUGIN_CFLAGS += $(PROFILE_FLAGS) $(REQUIRED_CFLAGS) |
563 | - |
564 | -# Required for gudev-1.0 |
565 | -CFLAGS += -DG_UDEV_API_IS_SUBJECT_TO_CHANGE |
566 | - |
567 | -all: pkgcheck valacheck desktop |
568 | - |
569 | -ifdef ENABLE_BUILD_FOR_GLADE |
570 | -all: $(PLUGINS_DIR) lib$(PROGRAM).so $(PROGRAM) $(PC_FILE) |
571 | -else |
572 | -all: $(PLUGINS_DIR) $(PROGRAM) $(PC_FILE) |
573 | -endif |
574 | - |
575 | - |
576 | -include src/plugins/mk/interfaces.mk |
577 | - |
578 | -$(LANG_STAMP): $(EXPANDED_CORE_PO_FILES) |
579 | - @$(foreach po,$(CORE_SUPPORTED_LANGUAGES),`mkdir -p $(LOCAL_LANG_DIR)/$(po)/LC_MESSAGES ; \ |
580 | - msgfmt -c -o $(LOCAL_LANG_DIR)/$(po)/LC_MESSAGES/shotwell.mo po/$(po).po`) |
581 | - @touch $(LANG_STAMP) |
582 | - |
583 | -clean: |
584 | - rm -f $(EXPANDED_C_FILES) |
585 | - rm -f $(EXPANDED_OBJ_FILES) |
586 | - rm -f $(VALA_STAMP) |
587 | - rm -rf $(PROGRAM)-$(VERSION) |
588 | - rm -f $(PROGRAM) |
589 | - rm -f $(THUMBNAILER_DIR)/$(PROGRAM_THUMBNAILER) |
590 | - rm -rf $(LOCAL_LANG_DIR) |
591 | - rm -f $(LANG_STAMP) |
592 | - rm -f $(TEMPORARY_DESKTOP_FILES) |
593 | - rm -f lib$(PROGRAM).so |
594 | - rm -rf $(UNITIZE_DIR) |
595 | - rm -f $(PLUGIN_VAPI) |
596 | - rm -f $(PLUGIN_HEADER) |
597 | - rm -f $(PLUGIN_DEPS) |
598 | - rm -f $(PLUGINS_SO) |
599 | - rm -f $(EXTRA_PLUGINS_SO) |
600 | - @$(MAKE) --directory=plugins clean |
601 | - rm -f $(PC_FILE) |
602 | - |
603 | -cleantemps: |
604 | - rm -f $(EXPANDED_C_FILES) |
605 | - rm -f $(EXPANDED_OBJ_FILES) |
606 | - rm -f $(VALA_STAMP) |
607 | - rm -f $(LANG_STAMP) |
608 | - rm -f $(TEMPORARY_DESKTOP_FILES) |
609 | - @$(MAKE) --directory=plugins cleantemps |
610 | - rm -f misc/gschemas.compiled |
611 | - |
612 | -package: |
613 | - $(MAKE) dist |
614 | - cp $(DIST_TAR_XZ) $(PACKAGE_ORIG_XZ) |
615 | - rm -f $(DIST_TAR_XZ) |
616 | - |
617 | -misc/pantheon-photos.desktop: misc/pantheon-photos.desktop.head misc/pantheon-photos.desktop.tail $(EXPANDED_CORE_PO_FILES) |
618 | - cp misc/pantheon-photos.desktop.head misc/pantheon-photos.desktop |
619 | - @ $(foreach lang,$(CORE_SUPPORTED_LANGUAGES), echo X-GNOME-FullName[$(lang)]=`TEXTDOMAINDIR=locale-langpack \ |
620 | - LANGUAGE=$(lang) gettext --domain=shotwell $(DESKTOP_APP_FULL_NAME)` \ |
621 | - >> misc/pantheon-photos.desktop ; \ |
622 | - echo GenericName[$(lang)]=`TEXTDOMAINDIR=locale-langpack LANGUAGE=$(lang) \ |
623 | - gettext --domain=shotwell $(DESKTOP_APPLICATION_CLASS)` >> misc/pantheon-photos.desktop ; \ |
624 | - echo Comment[$(lang)]=`TEXTDOMAINDIR=locale-langpack LANGUAGE=$(lang) gettext \ |
625 | - --domain=shotwell $(DESKTOP_APPLICATION_COMMENT)` >> misc/pantheon-photos.desktop ; \ |
626 | - echo Keywords[$(lang)]=`TEXTDOMAINDIR=locale-langpack LANGUAGE=$(lang) gettext \ |
627 | - --domain=shotwell $(DESKTOP_APP_KEYWORDS)` >> misc/pantheon-photos.desktop ;) |
628 | - cat misc/pantheon-photos.desktop.tail >> misc/pantheon-photos.desktop |
629 | -ifndef DISABLE_DESKTOP_VALIDATE |
630 | - @ desktop-file-validate misc/pantheon-photos.desktop 1>misc/pantheon-photos.desktop.errors 2>&1; \ |
631 | - if test -s misc/pantheon-photos.desktop.errors; then \ |
632 | - echo -e "\nThe file misc/pantheon-photos.desktop.head or one of the .po files contains errors and may need to be edited.\nPlease see the file misc/pantheon-photos.desktop.errors for details."; \ |
633 | - exit 1; \ |
634 | - else rm -f misc/pantheon-photos.desktop.errors; \ |
635 | - fi |
636 | -endif |
637 | - |
638 | -misc/pantheon-photos-viewer.desktop: misc/pantheon-photos-viewer.desktop.head misc/pantheon-photos-viewer.desktop.tail $(EXPANDED_CORE_PO_FILES) |
639 | - cp misc/pantheon-photos-viewer.desktop.head misc/pantheon-photos-viewer.desktop |
640 | - $(foreach lang,$(CORE_SUPPORTED_LANGUAGES), echo X-GNOME-FullName[$(lang)]=`TEXTDOMAINDIR=locale-langpack LANGUAGE=$(lang) gettext \ |
641 | - --domain=shotwell $(DIRECT_EDIT_DESKTOP_APP_FULL_NAME)` >> misc/pantheon-photos-viewer.desktop ; \ |
642 | - echo GenericName[$(lang)]=`TEXTDOMAINDIR=locale-langpack LANGUAGE=$(lang) gettext \ |
643 | - --domain=shotwell $(DIRECT_EDIT_DESKTOP_APPLICATION_CLASS)` >> misc/pantheon-photos-viewer.desktop ;) |
644 | - cat misc/pantheon-photos-viewer.desktop.tail >> misc/pantheon-photos-viewer.desktop |
645 | -ifndef DISABLE_DESKTOP_VALIDATE |
646 | - @ desktop-file-validate misc/pantheon-photos-viewer.desktop 1>misc/pantheon-photos-viewer.desktop.errors 2>&1; \ |
647 | - if test -s misc/pantheon-photos-viewer.desktop.errors; then \ |
648 | - echo -e S"\nThe file misc/pantheon-photos-viewer.desktop.head or one of the .po files contains errors and may need to be edited.\nPlease see the file misc/pantheon-photos-viewer.desktop.errors for details."; \ |
649 | - exit 1; \ |
650 | - else rm -f misc/pantheon-photos-viewer.desktop.errors; \ |
651 | - fi |
652 | -endif |
653 | - |
654 | -.PHONY: desktop |
655 | -desktop: misc/pantheon-photos.desktop misc/pantheon-photos-viewer.desktop |
656 | - |
657 | -.PHONY: dist |
658 | -dist: |
659 | - mkdir -p $(PROGRAM)-$(VERSION) |
660 | - cp --parents --preserve $(DIST_FILES) $(PROGRAM)-$(VERSION) |
661 | - tar --xz -cvf $(DIST_TAR_XZ) $(PROGRAM)-$(VERSION) |
662 | - rm -rf $(PROGRAM)-$(VERSION) |
663 | - |
664 | -distclean: clean |
665 | - rm -f configure.mk |
666 | - rm -f $(DIST_TAR_XZ) |
667 | - @$(MAKE) --directory=plugins distclean |
668 | - |
669 | -.PHONY: install |
670 | -install: |
671 | - touch $(LANG_STAMP) |
672 | - mkdir -p $(DESTDIR)$(PREFIX)/bin |
673 | - $(INSTALL_PROGRAM) $(PROGRAM) $(DESTDIR)$(PREFIX)/bin |
674 | - mkdir -p $(DESTDIR)$(LIBEXECDIR) |
675 | - $(INSTALL_PROGRAM) $(THUMBNAILER_BIN) $(DESTDIR)$(LIBEXECDIR) |
676 | - $(INSTALL_PROGRAM) $(MIGRATOR_BIN) $(DESTDIR)$(LIBEXECDIR) |
677 | - mkdir -p $(DESTDIR)$(PREFIX)/share/pantheon-photos/icons |
678 | - $(INSTALL_DATA) icons/* $(DESTDIR)$(PREFIX)/share/pantheon-photos/icons |
679 | - mkdir -p $(DESTDIR)$(PREFIX)/share/icons/hicolor/24x24/actions/ |
680 | - $(INSTALL_DATA) icons/pin-toolbar.svg $(DESTDIR)$(PREFIX)/share/icons/hicolor/24x24/actions/ |
681 | - mkdir -p $(DESTDIR)$(PREFIX)/share/glib-2.0/schemas |
682 | - $(INSTALL_DATA) misc/org.pantheon.photos.gschema.xml $(DESTDIR)$(PREFIX)/share/glib-2.0/schemas |
683 | - $(INSTALL_DATA) misc/org.pantheon.photos-extras.gschema.xml $(DESTDIR)$(PREFIX)/share/glib-2.0/schemas |
684 | -ifndef DISABLE_SCHEMAS_COMPILE |
685 | - glib-compile-schemas $(DESTDIR)$(PREFIX)/share/glib-2.0/schemas |
686 | -endif |
687 | -ifndef DISABLE_GSETTINGS_CONVERT_INSTALL |
688 | - mkdir -p $(DESTDIR)/usr/share/GConf/gsettings |
689 | - $(INSTALL_DATA) misc/pantheon-photos.convert $(DESTDIR)/usr/share/GConf/gsettings |
690 | -endif |
691 | -ifndef DISABLE_ICON_UPDATE |
692 | - -gtk-update-icon-cache -t -f $(DESTDIR)$(PREFIX)/share/icons/hicolor || : |
693 | -endif |
694 | - mkdir -p $(DESTDIR)$(PREFIX)/share/pantheon-photos/ui |
695 | - $(INSTALL_DATA) ui/* $(DESTDIR)$(PREFIX)/share/pantheon-photos/ui |
696 | - mkdir -p $(DESTDIR)$(PREFIX)/share/applications |
697 | - mkdir -p $(DESTDIR)$(PREFIX)/share/appdata |
698 | - $(INSTALL_DATA) misc/pantheon-photos.desktop $(DESTDIR)$(PREFIX)/share/applications |
699 | - $(INSTALL_DATA) misc/pantheon-photos-viewer.desktop $(DESTDIR)$(PREFIX)/share/applications |
700 | - $(INSTALL_DATA) misc/pantheon-photos.appdata.xml $(DESTDIR)$(PREFIX)/share/appdata |
701 | -ifndef DISABLE_DESKTOP_UPDATE |
702 | - -update-desktop-database || : |
703 | -endif |
704 | -ifdef ENABLE_APPORT_HOOK_INSTALL |
705 | - mkdir -p $(DESTDIR)$(PREFIX)/share/apport/package-hooks |
706 | - $(INSTALL_DATA) apport/shotwell.py $(DESTDIR)$(PREFIX)/share/apport/package-hooks |
707 | -endif |
708 | -ifndef DISABLE_HELP_INSTALL |
709 | - mkdir -p $(DESTDIR)$(PREFIX)/share/gnome/help/pantheon-photos/C |
710 | - $(INSTALL_DATA) $(EXPANDED_HELP_FILES) $(DESTDIR)$(PREFIX)/share/gnome/help/pantheon-photos/C |
711 | - mkdir -p $(DESTDIR)$(PREFIX)/share/gnome/help/pantheon-photos/C/figures |
712 | - $(INSTALL_DATA) $(EXPANDED_HELP_IMAGES) $(DESTDIR)$(PREFIX)/share/gnome/help/pantheon-photos/C/figures |
713 | -endif |
714 | - -$(foreach lang,$(CORE_SUPPORTED_LANGUAGES),`mkdir -p $(SYSTEM_LANG_DIR)/$(lang)/LC_MESSAGES ; \ |
715 | - $(INSTALL_DATA) $(LOCAL_LANG_DIR)/$(lang)/LC_MESSAGES/shotwell.mo \ |
716 | - $(SYSTEM_LANG_DIR)/$(lang)/LC_MESSAGES/pantheon-photos.mo`) |
717 | - mkdir -p $(DESTDIR)$(PREFIX)/$(LIB)/pantheon-photos/plugins/builtin |
718 | - $(INSTALL_PROGRAM) $(PLUGINS_SO) $(DESTDIR)$(PREFIX)/$(LIB)/pantheon-photos/plugins/builtin |
719 | -ifdef PLUGINS_RC |
720 | - $(INSTALL_DATA) $(PLUGINS_RC) $(DESTDIR)$(PREFIX)/$(LIB)/pantheon-photos/plugins/builtin |
721 | -endif |
722 | -ifndef DISABLE_EXTRA_PLUGINS_INSTALL |
723 | - $(INSTALL_PROGRAM) $(EXTRA_PLUGINS_SO) $(DESTDIR)$(PREFIX)/$(LIB)/pantheon-photos/plugins/builtin |
724 | -ifdef EXTRA_PLUGINS_RC |
725 | - $(INSTALL_DATA) $(EXTRA_PLUGINS_RC) $(DESTDIR)$(PREFIX)/$(LIB)/pantheon-photos/plugins/builtin |
726 | -endif |
727 | -endif |
728 | -ifdef INSTALL_HEADERS |
729 | - mkdir -p $(DESTDIR)$(PREFIX)/include/pantheon-photos/plugins |
730 | - $(INSTALL_DATA) $(PLUGIN_HEADER) $(DESTDIR)$(PREFIX)/include/pantheon-photos/plugins |
731 | - mkdir -p $(DESTDIR)$(PREFIX)/share/vala/vapi |
732 | - $(INSTALL_DATA) $(PLUGIN_VAPI) $(DESTDIR)$(PREFIX)/share/vala/vapi |
733 | - $(INSTALL_DATA) $(PLUGIN_DEPS) $(DESTDIR)$(PREFIX)/share/vala/vapi |
734 | - test -d $(DESTDIR)$(PREFIX)/$(LIB)/pkgconfig || mkdir -p $(DESTDIR)$(PREFIX)/$(LIB)/pkgconfig |
735 | - $(INSTALL_DATA) $(PC_FILE) $(DESTDIR)$(PREFIX)/$(LIB)/pkgconfig |
736 | -endif |
737 | - |
738 | -# Old versions of Makefile installed util binaries to $(PREFIX)/bin, so uninstall from there for now |
739 | -uninstall: |
740 | - rm -f $(DESTDIR)$(PREFIX)/bin/$(PROGRAM) |
741 | - rm -f $(DESTDIR)$(PREFIX)/bin/$(PROGRAM_THUMBNAILER) |
742 | - rm -f $(DESTDIR)$(PREFIX)/bin/$(PROGRAM_MIGRATOR) |
743 | - rm -f $(DESTDIR)$(LIBEXECDIR)/$(PROGRAM_THUMBNAILER) |
744 | - rm -f $(DESTDIR)$(LIBEXECDIR)/$(PROGRAM_MIGRATOR) |
745 | - rm -fr $(DESTDIR)$(PREFIX)/share/pantheon-photos |
746 | - rm -f $(DESTDIR)$(PREFIX)/share/icons/hicolor/scalable/apps/pantheon-photos.svg |
747 | - rm -f $(DESTDIR)$(PREFIX)/share/icons/hicolor/16x16/apps/pantheon-photos.svg |
748 | - rm -f $(DESTDIR)$(PREFIX)/share/icons/hicolor/24x24/apps/pantheon-photos.svg |
749 | - rm -f $(DESTDIR)$(PREFIX)/share/applications/pantheon-photos.desktop |
750 | - rm -f $(DESTDIR)$(PREFIX)/share/applications/pantheon-photos-viewer.desktop |
751 | - rm -f $(DESTDIR)$(PREFIX)/share/appdata/pantheon-photos.appdata.xml |
752 | -ifndef DISABLE_DESKTOP_UPDATE |
753 | - -update-desktop-database || : |
754 | -endif |
755 | -ifndef DISABLE_HELP_INSTALL |
756 | - rm -rf $(DESTDIR)$(PREFIX)/share/gnome/help/pantheon-photos |
757 | -endif |
758 | -ifdef ENABLE_APPORT_HOOK_INSTALL |
759 | - rm -f $(DESTDIR)$(PREFIX)/share/apport/package-hooks/shotwell.py |
760 | -endif |
761 | - $(foreach lang,$(CORE_SUPPORTED_LANGUAGES),`rm -f $(SYSTEM_LANG_DIR)/$(lang)/LC_MESSAGES/pantheon-photos.mo`) |
762 | - rm -rf $(DESTDIR)$(PREFIX)/$(LIB)/pantheon-photos/plugins/builtin |
763 | -ifdef INSTALL_HEADERS |
764 | - rm -rf $(DESTDIR)$(PREFIX)/include/pantheon-photos |
765 | - rm -f $(foreach vapi,$(PLUGIN_VAPI),$(DESTDIR)$(PREFIX)/share/vala/vapi/$(notdir $(vapi))) |
766 | - rm -f $(foreach dep,$(PLUGIN_DEPS),$(DESTDIR)$(PREFIX)/share/vala/vapi/$(notdir $(dep))) |
767 | - rm -f $(DESTDIR)$(PREFIX)/$(LIB)/pkgconfig/$(PC_FILE) |
768 | -endif |
769 | - rm -f $(DESTDIR)$(PREFIX)/share/glib-2.0/schemas/org.pantheon.photos.gschema.xml |
770 | - rm -f $(DESTDIR)$(PREFIX)/share/glib-2.0/schemas/org.pantheon.photos-extras.gschema.xml |
771 | -ifndef DISABLE_SCHEMAS_COMPILE |
772 | - glib-compile-schemas $(DESTDIR)$(PREFIX)/share/glib-2.0/schemas |
773 | -endif |
774 | -ifndef DISABLE_GSETTINGS_CONVERT_INSTALL |
775 | - rm -f $(DESTDIR)/usr/share/GConf/gsettings/pantheon-photos.convert |
776 | -endif |
777 | - |
778 | -$(PC_FILE): $(PC_INPUT) $(MAKE_FILES) |
779 | - m4 '-D_VERSION_=$(VERSION)' '-D_PREFIX_=$(PREFIX)' '-D_REQUIREMENTS_=$(PLUGIN_PKG_REQS)' \ |
780 | - '-D_LIB_=$(LIB)' $< > $@ |
781 | - |
782 | -$(UNITIZE_STAMP): $(MAKE_FILES) src/unit/rc/UnitInternals.m4 src/unit/rc/unitize_entry.m4 |
783 | - @mkdir -p $(UNITIZE_DIR) |
784 | - @$(foreach unit,$(APP_UNITS),\ |
785 | - `m4 '-D_APP_UNIT_=$(unit)' src/unit/rc/unitize_entry.m4 > $(UNITIZE_DIR)/_$(unit)_unitize_entry.vala`) |
786 | - @$(foreach nm,$(UNIT_NAMESPACES),\ |
787 | - `m4 '-D_UNIT_NAME_=$(nm)' '-D_UNIT_USES_INITS_=$($(nm)_USES_INITS)' '-D_UNIT_USES_TERMINATORS_=$($(nm)_USES_TERMINATORS)' src/unit/rc/UnitInternals.m4 > $(UNITIZE_DIR)/_$(nm)Internals.vala`) |
788 | - @touch $@ |
789 | - |
790 | -$(UNITIZE_INITS) $(UNITIZE_ENTRIES): $(UNITIZE_STAMP) |
791 | - @ |
792 | - |
793 | -# EXPANDED_SRC_FILES includes UNITIZE_INITS and UNITIZE_ENTRY |
794 | -$(VALA_STAMP): $(EXPANDED_SRC_FILES) $(EXPANDED_VAPI_FILES) $(EXPANDED_SRC_HEADER_FILES) |
795 | - $(call check_valac_version) |
796 | - @echo Compiling Vala code... |
797 | - @mkdir -p $(BUILD_DIR) |
798 | - $(VALAC) --ccode --directory=$(BUILD_DIR) --basedir=src \ |
799 | - $(foreach pkg,$(VALA_PKGS),--pkg=$(pkg)) \ |
800 | - $(foreach vapidir,$(VAPI_DIRS),--vapidir=$(vapidir)) \ |
801 | - $(VALAFLAGS) \ |
802 | - $(EXPANDED_SRC_FILES) |
803 | - @touch $@ |
804 | - |
805 | -# Do not remove hard tab or at symbol; necessary for dependencies to complete. |
806 | -$(EXPANDED_C_FILES): $(VALA_STAMP) |
807 | - @ |
808 | - |
809 | -$(EXPANDED_OBJ_FILES): %.o: %.c $(CONFIG_IN) Makefile |
810 | - $(CC) -c $(VALA_CFLAGS) $(CFLAGS) -o $@ $< |
811 | - |
812 | -$(PROGRAM): $(EXPANDED_OBJ_FILES) $(RESOURCES) $(LANG_STAMP) $(THUMBNAILER_BIN) misc/gschemas.compiled |
813 | - $(CC) $(EXPANDED_OBJ_FILES) $(CFLAGS) $(LDFLAGS) $(RESOURCES) $(VALA_LDFLAGS) $(EXPORT_FLAGS) -o $@ |
814 | - |
815 | -misc/gschemas.compiled: $(SCHEMA_FILES) |
816 | - rm -f misc/gschemas.compiled |
817 | - glib-compile-schemas misc |
818 | - |
819 | -$(THUMBNAILER_BIN): $(EXPANDED_THUMBNAILER_SRC_FILES) |
820 | - $(VALAC) $(EXPANDED_THUMBNAILER_SRC_FILES) $(VALAFLAGS) -o $@ $(foreach pkg,$(THUMBNAILER_PKGS),--pkg=$(pkg)) |
821 | - |
822 | -$(PLUGINS_SO) $(EXTRA_PLUGINS_SO): $(PLUGINS_DIR) |
823 | - @ |
824 | - |
825 | -.PHONY: $(PLUGINS_DIR) |
826 | -$(PLUGINS_DIR): $(PLUGIN_VAPI) $(PLUGIN_HEADER) $(PLUGIN_DEPS) |
827 | - $(call check_valac_version) |
828 | - @$(MAKE) --directory=$@ PLUGINS_VERSION="$(VERSION)" USER_VALAFLAGS="$(USER_VALAFLAGS)" \ |
829 | - PLUGIN_CFLAGS="$(PLUGIN_CFLAGS)" |
830 | - |
831 | -.PHONY: docs |
832 | -docs: |
833 | -# valadoc complains if the directory already exists |
834 | - @rm -rf docs |
835 | - valadoc --directory=docs --package-name=pantheon-photos-plugin-dev --package-version=$(VERSION) --verbose \ |
836 | - --no-protected \ |
837 | - $(foreach def,$(DEFINES),--define=$(def)) \ |
838 | - $(foreach pkg,$(VALA_PKGS),--pkg=$(pkg)) \ |
839 | - $(foreach vapidir,$(VAPI_DIRS),--vapidir=$(vapidir)) \ |
840 | - $(PLUGIN_INTERFACES) |
841 | - |
842 | -glade: lib$(PROGRAM).so |
843 | - |
844 | -lib$(PROGRAM).so: $(EXPANDED_OBJ_FILES) $(RESOURCES) $(LANG_STAMP) |
845 | - $(CC) $(EXPANDED_OBJ_FILES) $(CFLAGS) $(LDFLAGS) $(RESOURCES) $(VALA_LDFLAGS) $(EXPORT_FLAGS) -shared -o $@ |
846 | - |
847 | -.PHONY: pkgcheck |
848 | -pkgcheck: |
849 | - @if ! test -f configure.mk; then echo "Please run ./configure first."; exit 2; fi |
850 | - |
851 | -.PHONY: valacheck |
852 | -valacheck: |
853 | - @ $(VALAC) --version >/dev/null 2>/dev/null || ( echo 'Shotwell requires Vala compiler $(MIN_VALAC_VERSION) or greater. No valac found in path or $$VALAC.'; exit 1 ) |
854 | - @ ./chkver min $(VALAC_VERSION) $(MIN_VALAC_VERSION) || ( echo 'Shotwell requires Vala compiler $(MIN_VALAC_VERSION) or greater. You are running' $(VALAC_VERSION) '\b.'; exit 1 ) |
855 | - $(if $(MAX_VALAC_VERSION),\ |
856 | - @ ./chkver max $(VALAC_VERSION) $(MAX_VALAC_VERSION) || ( echo 'Shotwell cannot be built by Vala compiler $(MAX_VALAC_VERSION) or greater. You are running' $(VALAC_VERSION) '\b.'; exit 1 ),) |
857 | - |
858 | - |
859 | - |
860 | -ifndef ASSUME_PKGS |
861 | -ifdef EXT_PKG_VERSIONS |
862 | - @pkg-config --print-errors --exists '$(EXT_PKG_VERSIONS) $(DIRECT_LIBS_VERSIONS)' |
863 | -endif |
864 | -ifdef EXT_PKGS |
865 | - @pkg-config --print-errors --exists $(EXT_PKGS) $(DIRECT_LIBS_VERSIONS) |
866 | -endif |
867 | -endif |
868 | - @ type msgfmt > /dev/null || ( echo 'msgfmt (usually found in the gettext package) is missing and is required to build Shotwell. ' ; exit 1 ) |
869 | -ifndef DISABLE_DESKTOP_VALIDATE |
870 | - @ type desktop-file-validate > /dev/null || ( echo 'desktop-file-validate (usually found in the desktop-file-utils package) is missing and is required to build Shotwell. ' ; exit 1 ) |
871 | -endif |
872 | |
873 | === removed directory 'apport' |
874 | === removed file 'apport/shotwell.py' |
875 | --- apport/shotwell.py 2010-06-09 17:39:28 +0000 |
876 | +++ apport/shotwell.py 1970-01-01 00:00:00 +0000 |
877 | @@ -1,7 +0,0 @@ |
878 | -import os.path |
879 | -import apport.hookutils |
880 | - |
881 | -def add_info(report): |
882 | - log_file = os.path.expanduser('~/.cache/shotwell/shotwell.log') |
883 | - apport.hookutils.attach_file_if_exists(report, log_file, 'shotwell.log') |
884 | - |
885 | |
886 | === removed file 'chkver' |
887 | --- chkver 2013-01-21 21:16:09 +0000 |
888 | +++ chkver 1970-01-01 00:00:00 +0000 |
889 | @@ -1,119 +0,0 @@ |
890 | -#! /bin/bash |
891 | -# |
892 | -# Copyright 2009-2013 Yorba Foundation |
893 | -# |
894 | -# This software is licensed under the GNU LGPL (version 2.1 or later). |
895 | -# See the COPYING file in this distribution. |
896 | -# |
897 | -# chkver <min | max> <major.minor.revision> <min|max major.minor.revision> |
898 | -# |
899 | -# Returns 0 if queried version is greater than or equal (for min) or lesser than (for max) the |
900 | -# supplied value, or 1 otherwise. |
901 | -# |
902 | -# Set VERBOSE environment variable for somewhat useful output. |
903 | -# |
904 | -# NOTE: |
905 | -# This is an ultra-naive implementation with just enough error-checking. |
906 | - |
907 | -usage() { |
908 | - echo 'usage: chkver <min | max> <major.minor.revision> <min|max major.minor.revision>' |
909 | -} |
910 | - |
911 | -abort() { |
912 | - usage |
913 | - exit 1 |
914 | -} |
915 | - |
916 | -verify_cardinal() { |
917 | - while [ $# != 0 ] |
918 | - do |
919 | - if [ $1 ] && [ $1 -eq $1 2> /dev/null ] && [ $1 -ge 0 ] |
920 | - then |
921 | - : |
922 | - else |
923 | - abort |
924 | - fi |
925 | - |
926 | - shift |
927 | - done |
928 | -} |
929 | - |
930 | -# check_min name number min-number |
931 | -check_min() { |
932 | - if [ $2 -gt $3 ] |
933 | - then |
934 | - verbose $1 large enough. |
935 | - exit 0 |
936 | - elif [ $2 -lt $3 ] |
937 | - then |
938 | - verbose $1 not large enough. |
939 | - exit 1 |
940 | - fi |
941 | -} |
942 | - |
943 | -# check_max name number max-number |
944 | -check_max() { |
945 | - if [ $2 -lt $3 ] |
946 | - then |
947 | - verbose $1 small enough. |
948 | - exit 0 |
949 | - elif [ $2 -gt $3 ] |
950 | - then |
951 | - verbose $1 not small enough. |
952 | - exit 1 |
953 | - fi |
954 | -} |
955 | - |
956 | -verbose() { |
957 | - if [ $VERBOSE ] |
958 | - then |
959 | - echo $* |
960 | - fi |
961 | -} |
962 | - |
963 | -# Check number of arguments |
964 | -if [ $# -lt 3 ] |
965 | -then |
966 | - abort |
967 | -fi |
968 | - |
969 | -# Parse arguments |
970 | -mode=$1 |
971 | -if [ $mode != "min" ] && [ $mode != "max" ] |
972 | -then |
973 | - abort |
974 | -fi |
975 | - |
976 | -major=`echo $2 | awk -F. '{print $1}'` |
977 | -minor=`echo $2 | awk -F. '{print $2}'` |
978 | -revision=`echo $2 | awk -F. '{print $3}'` |
979 | - |
980 | -min_major=`echo $3 | awk -F. '{print $1}'` |
981 | -min_minor=`echo $3 | awk -F. '{print $2}'` |
982 | -min_revision=`echo $3 | awk -F. '{print $3}'` |
983 | - |
984 | -# Verify they're all positive integers |
985 | -verify_cardinal "$major" "$minor" "$revision" "$min_major" "$min_minor" "$min_revision" |
986 | - |
987 | -verbose Comparing $major.$minor.$revision against $mode $min_major.$min_minor.$min_revision |
988 | - |
989 | -# check version numbers in order of importance |
990 | -if [ $mode == "min" ] |
991 | -then |
992 | - check_min "Major" $major $min_major |
993 | - check_min "Minor" $minor $min_minor |
994 | - check_min "Revision" $revision $min_revision |
995 | -else |
996 | - check_max "Major" $major $min_major |
997 | - check_max "Minor" $minor $min_minor |
998 | - check_max "Revision" $revision $min_revision |
999 | -fi |
1000 | - |
1001 | -verbose Same version. |
1002 | -if [ $mode == "min" ] |
1003 | -then |
1004 | - exit 0 |
1005 | -else |
1006 | - exit 1 |
1007 | -fi |
1008 | - |
1009 | |
1010 | === added directory 'cmake' |
1011 | === added file 'cmake/FindGirCompiler.cmake' |
1012 | --- cmake/FindGirCompiler.cmake 1970-01-01 00:00:00 +0000 |
1013 | +++ cmake/FindGirCompiler.cmake 2016-01-14 14:02:26 +0000 |
1014 | @@ -0,0 +1,56 @@ |
1015 | +## |
1016 | +# Copyright 2009-2010 Jakob Westhoff. All rights reserved. |
1017 | +# |
1018 | +# Redistribution and use in source and binary forms, with or without |
1019 | +# modification, are permitted provided that the following conditions are met: |
1020 | +# |
1021 | +# 1. Redistributions of source code must retain the above copyright notice, |
1022 | +# this list of conditions and the following disclaimer. |
1023 | +# |
1024 | +# 2. Redistributions in binary form must reproduce the above copyright notice, |
1025 | +# this list of conditions and the following disclaimer in the documentation |
1026 | +# and/or other materials provided with the distribution. |
1027 | +# |
1028 | +# THIS SOFTWARE IS PROVIDED BY JAKOB WESTHOFF ``AS IS'' AND ANY EXPRESS OR |
1029 | +# IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF |
1030 | +# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO |
1031 | +# EVENT SHALL JAKOB WESTHOFF OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, |
1032 | +# INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT |
1033 | +# LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR |
1034 | +# PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF |
1035 | +# LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE |
1036 | +# OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF |
1037 | +# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
1038 | +# |
1039 | +# The views and conclusions contained in the software and documentation are those |
1040 | +# of the authors and should not be interpreted as representing official policies, |
1041 | +# either expressed or implied, of Jakob Westhoff |
1042 | +## |
1043 | + |
1044 | +## |
1045 | +# Find module for the Gir compiler (g-ir-compiler) |
1046 | +# |
1047 | +# This module determines wheter a Gir compiler is installed on the current |
1048 | +# system and where its executable is. |
1049 | +# |
1050 | +# Call the module using "find_package(GirCompiler) from within your CMakeLists.txt. |
1051 | +# |
1052 | +# The following variables will be set after an invocation: |
1053 | +# |
1054 | +# G_IR_COMPILER_FOUND Whether the g-ir-compiler compiler has been found or not |
1055 | +# G_IR_COMPILER_EXECUTABLE Full path to the g-ir-compiler executable if it has been found |
1056 | +## |
1057 | + |
1058 | + |
1059 | +# Search for the g-ir-compiler executable in the usual system paths. |
1060 | +find_program (G_IR_COMPILER_EXECUTABLE |
1061 | + NAMES g-ir-compiler) |
1062 | + |
1063 | +# Handle the QUIETLY and REQUIRED arguments, which may be given to the find call. |
1064 | +# Furthermore set G_IR_COMPILER_FOUND to TRUE if the g-ir-compiler has been found (aka. |
1065 | +# G_IR_COMPILER_EXECUTABLE is set) |
1066 | + |
1067 | +include (FindPackageHandleStandardArgs) |
1068 | +find_package_handle_standard_args (GirCompiler DEFAULT_MSG G_IR_COMPILER_EXECUTABLE) |
1069 | + |
1070 | +mark_as_advanced (G_IR_COMPILER_EXECUTABLE) |
1071 | |
1072 | === added file 'cmake/FindVala.cmake' |
1073 | --- cmake/FindVala.cmake 1970-01-01 00:00:00 +0000 |
1074 | +++ cmake/FindVala.cmake 2016-01-14 14:02:26 +0000 |
1075 | @@ -0,0 +1,65 @@ |
1076 | +## |
1077 | +# Copyright 2009-2010 Jakob Westhoff. All rights reserved. |
1078 | +# |
1079 | +# Redistribution and use in source and binary forms, with or without |
1080 | +# modification, are permitted provided that the following conditions are met: |
1081 | +# |
1082 | +# 1. Redistributions of source code must retain the above copyright notice, |
1083 | +# this list of conditions and the following disclaimer. |
1084 | +# |
1085 | +# 2. Redistributions in binary form must reproduce the above copyright notice, |
1086 | +# this list of conditions and the following disclaimer in the documentation |
1087 | +# and/or other materials provided with the distribution. |
1088 | +# |
1089 | +# THIS SOFTWARE IS PROVIDED BY JAKOB WESTHOFF ``AS IS'' AND ANY EXPRESS OR |
1090 | +# IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF |
1091 | +# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO |
1092 | +# EVENT SHALL JAKOB WESTHOFF OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, |
1093 | +# INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT |
1094 | +# LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR |
1095 | +# PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF |
1096 | +# LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE |
1097 | +# OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF |
1098 | +# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
1099 | +# |
1100 | +# The views and conclusions contained in the software and documentation are those |
1101 | +# of the authors and should not be interpreted as representing official policies, |
1102 | +# either expressed or implied, of Jakob Westhoff |
1103 | +## |
1104 | + |
1105 | +## |
1106 | +# Find module for the Vala compiler (valac) |
1107 | +# |
1108 | +# This module determines wheter a Vala compiler is installed on the current |
1109 | +# system and where its executable is. |
1110 | +# |
1111 | +# Call the module using "find_package(Vala) from within your CMakeLists.txt. |
1112 | +# |
1113 | +# The following variables will be set after an invocation: |
1114 | +# |
1115 | +# VALA_FOUND Whether the vala compiler has been found or not |
1116 | +# VALA_EXECUTABLE Full path to the valac executable if it has been found |
1117 | +# VALA_VERSION Version number of the available valac |
1118 | +## |
1119 | + |
1120 | + |
1121 | +# Search for the valac executable in the usual system paths. |
1122 | +find_program(VALA_EXECUTABLE |
1123 | + NAMES valac) |
1124 | + |
1125 | +# Handle the QUIETLY and REQUIRED arguments, which may be given to the find call. |
1126 | +# Furthermore set VALA_FOUND to TRUE if Vala has been found (aka. |
1127 | +# VALA_EXECUTABLE is set) |
1128 | + |
1129 | +include(FindPackageHandleStandardArgs) |
1130 | +find_package_handle_standard_args(Vala DEFAULT_MSG VALA_EXECUTABLE) |
1131 | + |
1132 | +mark_as_advanced(VALA_EXECUTABLE) |
1133 | + |
1134 | +# Determine the valac version |
1135 | +if(VALA_FOUND) |
1136 | + execute_process(COMMAND ${VALA_EXECUTABLE} "--version" |
1137 | + OUTPUT_VARIABLE "VALA_VERSION") |
1138 | + string(REPLACE "Vala" "" "VALA_VERSION" ${VALA_VERSION}) |
1139 | + string(STRIP ${VALA_VERSION} "VALA_VERSION") |
1140 | +endif(VALA_FOUND) |
1141 | |
1142 | === added file 'cmake/GObjectIntrospectionMacros.cmake' |
1143 | --- cmake/GObjectIntrospectionMacros.cmake 1970-01-01 00:00:00 +0000 |
1144 | +++ cmake/GObjectIntrospectionMacros.cmake 2016-01-14 14:02:26 +0000 |
1145 | @@ -0,0 +1,34 @@ |
1146 | +macro(add_target_gir TARGET_NAME GIR_NAME HEADER CFLAGS GRANITE_VERSION) |
1147 | + set(PACKAGES "") |
1148 | + foreach(PKG ${ARGN}) |
1149 | + set(PACKAGES ${PACKAGES} --include=${PKG}) |
1150 | + endforeach() |
1151 | + install(CODE "set(ENV{LD_LIBRARY_PATH} \"${CMAKE_CURRENT_BINARY_DIR}:\$ENV{LD_LIBRARY_PATH}\") |
1152 | + execute_process(COMMAND g-ir-scanner ${CFLAGS} -n ${GIR_NAME} |
1153 | + --quiet |
1154 | + --library ${TARGET_NAME} ${PACKAGES} |
1155 | + -o ${CMAKE_CURRENT_BINARY_DIR}/${GIR_NAME}-${GRANITE_VERSION}.gir |
1156 | + -L${CMAKE_CURRENT_BINARY_DIR} |
1157 | + --nsversion=${GRANITE_VERSION} ${HEADER})") |
1158 | + install(CODE "execute_process(COMMAND g-ir-compiler ${CMAKE_CURRENT_BINARY_DIR}/${GIR_NAME}-${GRANITE_VERSION}.gir -o ${CMAKE_CURRENT_BINARY_DIR}/${GIR_NAME}-${GRANITE_VERSION}.typelib)") |
1159 | + install(FILES ${CMAKE_CURRENT_BINARY_DIR}/${GIR_NAME}-${GRANITE_VERSION}.gir DESTINATION share/gir-1.0/) |
1160 | + install(FILES ${CMAKE_CURRENT_BINARY_DIR}/${GIR_NAME}-${GRANITE_VERSION}.typelib DESTINATION lib/girepository-1.0/) |
1161 | +endmacro() |
1162 | + |
1163 | +macro(add_target_gir_with_executable TARGET_NAME EXE_NAME GIR_NAME HEADER EXE_HEADER CFLAGS GRANITE_VERSION) |
1164 | + set(PACKAGES "") |
1165 | + foreach(PKG ${ARGN}) |
1166 | + set(PACKAGES ${PACKAGES} --include=${PKG}) |
1167 | + endforeach() |
1168 | + install(CODE "set(ENV{LD_LIBRARY_PATH} \"${CMAKE_CURRENT_BINARY_DIR}:\$ENV{LD_LIBRARY_PATH}\") |
1169 | + execute_process(COMMAND g-ir-scanner ${CFLAGS} -n ${GIR_NAME} |
1170 | + --quiet |
1171 | + --library ${TARGET_NAME} --program ${EXE_NAME} ${PACKAGES} |
1172 | + -o ${CMAKE_CURRENT_BINARY_DIR}/${GIR_NAME}-${GRANITE_VERSION}.gir |
1173 | + -L${CMAKE_CURRENT_BINARY_DIR} |
1174 | + -I${CMAKE_CURRENT_BINARY_DIR} |
1175 | + --nsversion=${GRANITE_VERSION} ${HEADER} ${EXE_HEADER})") |
1176 | + install(CODE "execute_process(COMMAND g-ir-compiler ${CMAKE_CURRENT_BINARY_DIR}/${GIR_NAME}-${GRANITE_VERSION}.gir -o ${CMAKE_CURRENT_BINARY_DIR}/${GIR_NAME}-${GRANITE_VERSION}.typelib)") |
1177 | + install(FILES ${CMAKE_CURRENT_BINARY_DIR}/${GIR_NAME}-${GRANITE_VERSION}.gir DESTINATION share/gir-1.0/) |
1178 | + install(FILES ${CMAKE_CURRENT_BINARY_DIR}/${GIR_NAME}-${GRANITE_VERSION}.typelib DESTINATION lib/girepository-1.0/) |
1179 | +endmacro() |
1180 | |
1181 | === added file 'cmake/GResource.cmake' |
1182 | --- cmake/GResource.cmake 1970-01-01 00:00:00 +0000 |
1183 | +++ cmake/GResource.cmake 2016-01-14 14:02:26 +0000 |
1184 | @@ -0,0 +1,67 @@ |
1185 | +# |
1186 | +# Copyright (C) 2013 Venom authors and contributors |
1187 | +# |
1188 | +# This file is part of Venom. |
1189 | +# |
1190 | +# Venom is free software: you can redistribute it and/or modify |
1191 | +# it under the terms of the GNU General Public License as published by |
1192 | +# the Free Software Foundation, either version 3 of the License, or |
1193 | +# (at your option) any later version. |
1194 | +# |
1195 | +# Venom is distributed in the hope that it will be useful, |
1196 | +# but WITHOUT ANY WARRANTY; without even the implied warranty of |
1197 | +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
1198 | +# GNU General Public License for more details. |
1199 | +# |
1200 | +# You should have received a copy of the GNU General Public License |
1201 | +# along with Venom. If not, see <http://www.gnu.org/licenses/>. |
1202 | +# |
1203 | + |
1204 | +FIND_PROGRAM(GLIB_COMPILE_RESOURCES_EXECUTABLE NAMES glib-compile-resources) |
1205 | +MARK_AS_ADVANCED(GLIB_COMPILE_RESOURCES_EXECUTABLE) |
1206 | + |
1207 | +INCLUDE(CMakeParseArguments) |
1208 | + |
1209 | +FUNCTION(GLIB_COMPILE_RESOURCES output) |
1210 | + CMAKE_PARSE_ARGUMENTS(ARGS "" "SOURCE" ${ARGN}) |
1211 | + SET(DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}) |
1212 | + SET(out_files "") |
1213 | + |
1214 | + FOREACH(src ${ARGS_SOURCE} ${ARGS_UNPARSED_ARGUMENTS}) |
1215 | + SET(in_file "${CMAKE_CURRENT_SOURCE_DIR}/${src}") |
1216 | + GET_FILENAME_COMPONENT(WORKING_DIR ${in_file} PATH) |
1217 | + STRING(REPLACE ".xml" ".c" src ${src}) |
1218 | + SET(out_file "${DIRECTORY}/${src}") |
1219 | + GET_FILENAME_COMPONENT(OUPUT_DIR ${out_file} PATH) |
1220 | + FILE(MAKE_DIRECTORY ${OUPUT_DIR}) |
1221 | + LIST(APPEND out_files "${DIRECTORY}/${src}") |
1222 | + |
1223 | + #FIXME implicit depends currently not working |
1224 | + EXECUTE_PROCESS( |
1225 | + COMMAND |
1226 | + ${GLIB_COMPILE_RESOURCES_EXECUTABLE} |
1227 | + "--generate-dependencies" |
1228 | + ${in_file} |
1229 | + WORKING_DIRECTORY ${WORKING_DIR} |
1230 | + OUTPUT_VARIABLE in_file_dep |
1231 | + ) |
1232 | + STRING(REGEX REPLACE "(\r?\n)" ";" in_file_dep "${in_file_dep}") |
1233 | + SET(in_file_dep_path "") |
1234 | + FOREACH(dep ${in_file_dep}) |
1235 | + LIST(APPEND in_file_dep_path "${WORKING_DIR}/${dep}") |
1236 | + ENDFOREACH(dep ${in_file_dep}) |
1237 | + ADD_CUSTOM_COMMAND( |
1238 | + OUTPUT ${out_file} |
1239 | + WORKING_DIRECTORY ${WORKING_DIR} |
1240 | + COMMAND |
1241 | + ${GLIB_COMPILE_RESOURCES_EXECUTABLE} |
1242 | + ARGS |
1243 | + "--generate-source" |
1244 | + "--target=${out_file}" |
1245 | + ${in_file} |
1246 | + DEPENDS |
1247 | + ${in_file};${in_file_dep_path} |
1248 | + ) |
1249 | + ENDFOREACH(src ${ARGS_SOURCES} ${ARGS_UNPARSED_ARGUMENTS}) |
1250 | + SET(${output} ${out_files} PARENT_SCOPE) |
1251 | +ENDFUNCTION(GLIB_COMPILE_RESOURCES) |
1252 | |
1253 | === added file 'cmake/GSettings.cmake' |
1254 | --- cmake/GSettings.cmake 1970-01-01 00:00:00 +0000 |
1255 | +++ cmake/GSettings.cmake 2016-01-14 14:02:26 +0000 |
1256 | @@ -0,0 +1,42 @@ |
1257 | +# GSettings.cmake, CMake macros written for Marlin, feel free to re-use them. |
1258 | + |
1259 | +option (GSETTINGS_LOCALINSTALL "Install GSettings Schemas locally instead of to the GLib prefix" ON) |
1260 | + |
1261 | +option (GSETTINGS_COMPILE "Compile GSettings Schemas after installation" ${GSETTINGS_LOCALINSTALL}) |
1262 | + |
1263 | +if(GSETTINGS_LOCALINSTALL) |
1264 | + message(STATUS "GSettings schemas will be installed locally.") |
1265 | +endif() |
1266 | + |
1267 | +if(GSETTINGS_COMPILE) |
1268 | + message(STATUS "GSettings shemas will be compiled.") |
1269 | +endif() |
1270 | + |
1271 | +macro(add_schema SCHEMA_NAME) |
1272 | + |
1273 | + set(PKG_CONFIG_EXECUTABLE pkg-config) |
1274 | + # Have an option to not install the schema into where GLib is |
1275 | + if (GSETTINGS_LOCALINSTALL) |
1276 | + SET (GSETTINGS_DIR "${CMAKE_INSTALL_PREFIX}/share/glib-2.0/schemas/") |
1277 | + else (GSETTINGS_LOCALINSTALL) |
1278 | + execute_process (COMMAND ${PKG_CONFIG_EXECUTABLE} glib-2.0 --variable prefix OUTPUT_VARIABLE _glib_prefix OUTPUT_STRIP_TRAILING_WHITESPACE) |
1279 | + SET (GSETTINGS_DIR "${_glib_prefix}/share/glib-2.0/schemas/") |
1280 | + endif (GSETTINGS_LOCALINSTALL) |
1281 | + |
1282 | + # Run the validator and error if it fails |
1283 | + execute_process (COMMAND ${PKG_CONFIG_EXECUTABLE} gio-2.0 --variable glib_compile_schemas OUTPUT_VARIABLE _glib_comple_schemas OUTPUT_STRIP_TRAILING_WHITESPACE) |
1284 | + execute_process (COMMAND ${_glib_comple_schemas} --dry-run --schema-file=${CMAKE_CURRENT_SOURCE_DIR}/${SCHEMA_NAME} ERROR_VARIABLE _schemas_invalid OUTPUT_STRIP_TRAILING_WHITESPACE) |
1285 | + |
1286 | + if (_schemas_invalid) |
1287 | + message (SEND_ERROR "Schema validation error: ${_schemas_invalid}") |
1288 | + endif (_schemas_invalid) |
1289 | + |
1290 | + # Actually install and recomple schemas |
1291 | + message (STATUS "GSettings schemas will be installed into ${GSETTINGS_DIR}") |
1292 | + install (FILES ${CMAKE_CURRENT_SOURCE_DIR}/${SCHEMA_NAME} DESTINATION ${GSETTINGS_DIR} OPTIONAL) |
1293 | + |
1294 | + if (GSETTINGS_COMPILE) |
1295 | + install (CODE "message (STATUS \"Compiling GSettings schemas\")") |
1296 | + install (CODE "execute_process (COMMAND ${_glib_comple_schemas} ${GSETTINGS_DIR})") |
1297 | + endif () |
1298 | +endmacro() |
1299 | |
1300 | === added file 'cmake/Tests.cmake' |
1301 | --- cmake/Tests.cmake 1970-01-01 00:00:00 +0000 |
1302 | +++ cmake/Tests.cmake 2016-01-14 14:02:26 +0000 |
1303 | @@ -0,0 +1,5 @@ |
1304 | +# Test macros for Marlin, feel free to re-use them. |
1305 | + |
1306 | +macro(add_test_executable EXE_NAME) |
1307 | + add_test(${EXE_NAME} gtester ${CMAKE_CURRENT_BINARY_DIR}/${EXE_NAME}) |
1308 | +endmacro() |
1309 | |
1310 | === added file 'cmake/Translations.cmake' |
1311 | --- cmake/Translations.cmake 1970-01-01 00:00:00 +0000 |
1312 | +++ cmake/Translations.cmake 2016-01-14 14:02:26 +0000 |
1313 | @@ -0,0 +1,203 @@ |
1314 | +# Translations.cmake, CMake macros written for Marlin, feel free to re-use them |
1315 | +include(CMakeParseArguments) |
1316 | + |
1317 | +macro (add_translations_directory NLS_PACKAGE) |
1318 | + add_custom_target (i18n ALL COMMENT “Building i18n messages.”) |
1319 | + find_program (MSGFMT_EXECUTABLE msgfmt) |
1320 | + # be sure that all languages are present |
1321 | + # Using all usual languages code from https://www.gnu.org/software/gettext/manual/html_node/Language-Codes.html#Language-Codes |
1322 | + # Rare language codes should be added on-demand. |
1323 | + set (LANGUAGES_NEEDED aa ab ae af ak am an ar as ast av ay az ba be bg bh bi bm bn bo br bs ca ce ch ckb co cr cs cu cv cy da de dv dz ee el en_AU en_CA en_GB eo es et eu fa ff fi fj fo fr fr_CA fy ga gd gl gn gu gv ha he hi ho hr ht hu hy hz ia id ie ig ii ik io is it iu ja jv ka kg ki kj kk kl km kn ko kr ks ku kv kw ky la lb lg li ln lo lt lu lv mg mh mi mk ml mn mo mr ms mt my na nb nd ne ng nl nn no nr nv ny oc oj om or os pa pi pl ps pt pt_BR qu rm rn ro ru rue rw sa sc sd se sg si sk sl sm sma sn so sq sr ss st su sv sw ta te tg th ti tk tl tn to tr ts tt tw ty ug uk ur uz ve vi vo wa wo xh yi yo za zh zh_CN zh_HK zh_TW zu) |
1324 | + foreach (LANGUAGE_NEEDED ${LANGUAGES_NEEDED}) |
1325 | + create_po_file (${LANGUAGE_NEEDED}) |
1326 | + endforeach (LANGUAGE_NEEDED ${LANGUAGES_NEEDED}) |
1327 | + # generate .mo from .po |
1328 | + file (GLOB PO_FILES ${CMAKE_CURRENT_SOURCE_DIR}/*.po) |
1329 | + foreach (PO_INPUT ${PO_FILES}) |
1330 | + get_filename_component (PO_INPUT_BASE ${PO_INPUT} NAME_WE) |
1331 | + set (MO_OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/${PO_INPUT_BASE}.mo) |
1332 | + add_custom_command (TARGET i18n COMMAND ${MSGFMT_EXECUTABLE} -o ${MO_OUTPUT} ${PO_INPUT}) |
1333 | + |
1334 | + install (FILES ${MO_OUTPUT} DESTINATION |
1335 | + share/locale/${PO_INPUT_BASE}/LC_MESSAGES |
1336 | + RENAME ${NLS_PACKAGE}.mo) |
1337 | + endforeach (PO_INPUT ${PO_FILES}) |
1338 | +endmacro (add_translations_directory) |
1339 | + |
1340 | +# Apply the right default template. |
1341 | +macro (create_po_file LANGUAGE_NEEDED) |
1342 | + set (FILE ${CMAKE_CURRENT_SOURCE_DIR}/${LANGUAGE_NEEDED}.po) |
1343 | + if (NOT EXISTS ${CMAKE_CURRENT_SOURCE_DIR}/${LANGUAGE_NEEDED}.po) |
1344 | + file (APPEND ${FILE} "msgid \"\"\n") |
1345 | + file (APPEND ${FILE} "msgstr \"\"\n") |
1346 | + file (APPEND ${FILE} "\"MIME-Version: 1.0\\n\"\n") |
1347 | + file (APPEND ${FILE} "\"Content-Type: text/plain; charset=UTF-8\\n\"\n") |
1348 | + |
1349 | + if ("${LANGUAGE_NEEDED}" STREQUAL "ja" |
1350 | + OR "${LANGUAGE_NEEDED}" STREQUAL "vi" |
1351 | + OR "${LANGUAGE_NEEDED}" STREQUAL "ko") |
1352 | + file (APPEND ${FILE} "\"Plural-Forms: nplurals=2; plural=n == 1 ? 0 : 1;\\n\"\n") |
1353 | + elseif ("${LANGUAGE_NEEDED}" STREQUAL "en" |
1354 | + OR "${LANGUAGE_NEEDED}" STREQUAL "de" |
1355 | + OR "${LANGUAGE_NEEDED}" STREQUAL "nl" |
1356 | + OR "${LANGUAGE_NEEDED}" STREQUAL "sv" |
1357 | + OR "${LANGUAGE_NEEDED}" STREQUAL "nb" |
1358 | + OR "${LANGUAGE_NEEDED}" STREQUAL "nn" |
1359 | + OR "${LANGUAGE_NEEDED}" STREQUAL "nb" |
1360 | + OR "${LANGUAGE_NEEDED}" STREQUAL "no" |
1361 | + OR "${LANGUAGE_NEEDED}" STREQUAL "fo" |
1362 | + OR "${LANGUAGE_NEEDED}" STREQUAL "es" |
1363 | + OR "${LANGUAGE_NEEDED}" STREQUAL "pt" |
1364 | + OR "${LANGUAGE_NEEDED}" STREQUAL "it" |
1365 | + OR "${LANGUAGE_NEEDED}" STREQUAL "bg" |
1366 | + OR "${LANGUAGE_NEEDED}" STREQUAL "he" |
1367 | + OR "${LANGUAGE_NEEDED}" STREQUAL "fi" |
1368 | + OR "${LANGUAGE_NEEDED}" STREQUAL "et" |
1369 | + OR "${LANGUAGE_NEEDED}" STREQUAL "eo" |
1370 | + OR "${LANGUAGE_NEEDED}" STREQUAL "hu" |
1371 | + OR "${LANGUAGE_NEEDED}" STREQUAL "tr" |
1372 | + OR "${LANGUAGE_NEEDED}" STREQUAL "es") |
1373 | + file (APPEND ${FILE} "\"Plural-Forms: nplurals=2; plural=n != 1;\\n\"\n") |
1374 | + elseif ("${LANGUAGE_NEEDED}" STREQUAL "fr" |
1375 | + OR "${LANGUAGE_NEEDED}" STREQUAL "fr_CA" |
1376 | + OR "${LANGUAGE_NEEDED}" STREQUAL "pt_BR") |
1377 | + file (APPEND ${FILE} "\"Plural-Forms: nplurals=2; plural=n>1;\\n\"\n") |
1378 | + elseif ("${LANGUAGE_NEEDED}" STREQUAL "lv") |
1379 | + file (APPEND ${FILE} "\"Plural-Forms: nplurals=3; plural=n%10==1 && n%100!=11 ? 0 : n != 0 ? 1 : 2;\\n\"\n") |
1380 | + elseif ("${LANGUAGE_NEEDED}" STREQUAL "ro") |
1381 | + file (APPEND ${FILE} "\"Plural-Forms: nplurals=3; plural=n==1 ? 0 : (n==0 || (n%100 > 0 && n%100 < 20)) ? 1 : 2;\\n\"\n") |
1382 | + elseif ("${LANGUAGE_NEEDED}" STREQUAL "lt") |
1383 | + file (APPEND ${FILE} "\"Plural-Forms: nplurals=3; plural=n%10==1 && n%100!=11 ? 0 : n%10>=2 && (n%100<10 || n%100>=20) ? 1 : 2;\\n\"\n") |
1384 | + elseif ("${LANGUAGE_NEEDED}" STREQUAL "ru" |
1385 | + OR "${LANGUAGE_NEEDED}" STREQUAL "uk" |
1386 | + OR "${LANGUAGE_NEEDED}" STREQUAL "be" |
1387 | + OR "${LANGUAGE_NEEDED}" STREQUAL "sr" |
1388 | + OR "${LANGUAGE_NEEDED}" STREQUAL "hr") |
1389 | + file (APPEND ${FILE} "\"Plural-Forms: nplurals=3; plural=n%10==1 && n%100!=11 ? 0 : n%10>=2 && n%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2;\\n\"\n") |
1390 | + elseif ("${LANGUAGE_NEEDED}" STREQUAL "cs" |
1391 | + OR "${LANGUAGE_NEEDED}" STREQUAL "sk") |
1392 | + file (APPEND ${FILE} "\"Plural-Forms: nplurals=3; plural=(n==1) ? 0 : (n>=2 && n<=4) ? 1 : 2;\\n\"\n") |
1393 | + elseif ("${LANGUAGE_NEEDED}" STREQUAL "pl") |
1394 | + file (APPEND ${FILE} "\"Plural-Forms: nplurals=3; plural=n==1 ? 0 : n%10>=2 && n%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2;\\n\"\n") |
1395 | + elseif ("${LANGUAGE_NEEDED}" STREQUAL "sl") |
1396 | + file (APPEND ${FILE} "\"Plural-Forms: nplurals=4; plural=n%100==1 ? 0 : n%100==2 ? 1 : n%100==3 || n%100==4 ? 2 : 3;\\n\"\n") |
1397 | + endif () |
1398 | + |
1399 | + endif () |
1400 | +endmacro (create_po_file) |
1401 | + |
1402 | +macro (configure_file_translation SOURCE RESULT PO_DIR) |
1403 | + find_program (INTLTOOL_MERGE_EXECUTABLE intltool-merge) |
1404 | + set(EXTRA_PO_DIR ${PO_DIR}/extra/) |
1405 | + get_filename_component(EXTRA_PO_DIR ${EXTRA_PO_DIR} ABSOLUTE) |
1406 | + |
1407 | + # Intltool can't create a new directory. |
1408 | + get_filename_component(SOURCE_DIRECTORY ${SOURCE} DIRECTORY) |
1409 | + file(MAKE_DIRECTORY ${SOURCE_DIRECTORY}) |
1410 | + |
1411 | + set (INTLTOOL_FLAG "") |
1412 | + if (${SOURCE} MATCHES ".desktop") |
1413 | + set (INTLTOOL_FLAG "--desktop-style") |
1414 | + elseif (${SOURCE} MATCHES ".gschema") |
1415 | + set (INTLTOOL_FLAG "--schemas-style") |
1416 | + elseif (${SOURCE} MATCHES ".xml") |
1417 | + set (INTLTOOL_FLAG "--xml-style") |
1418 | + endif () |
1419 | + execute_process (WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR} COMMAND ${INTLTOOL_MERGE_EXECUTABLE} --quiet ${INTLTOOL_FLAG} ${EXTRA_PO_DIR} ${SOURCE} ${RESULT}) |
1420 | +endmacro () |
1421 | + |
1422 | +macro (add_translations_catalog NLS_PACKAGE) |
1423 | + cmake_parse_arguments (ARGS "" "" "DESKTOP_FILES;APPDATA_FILES;SCHEMA_FILES" ${ARGN}) |
1424 | + add_custom_target (pot COMMENT “Building translation catalog.”) |
1425 | + find_program (XGETTEXT_EXECUTABLE xgettext) |
1426 | + find_program (INTLTOOL_EXTRACT_EXECUTABLE intltool-extract) |
1427 | + |
1428 | + set(EXTRA_PO_DIR ${CMAKE_CURRENT_SOURCE_DIR}/extra) |
1429 | + |
1430 | + set(C_SOURCE "") |
1431 | + set(VALA_SOURCE "") |
1432 | + set(GLADE_SOURCE "") |
1433 | + |
1434 | + foreach(FILES_INPUT ${ARGN}) |
1435 | + if((${FILES_INPUT} MATCHES ${CMAKE_SOURCE_DIR}) OR (${FILES_INPUT} MATCHES ${CMAKE_BINARY_DIR})) |
1436 | + set(BASE_DIRECTORY ${FILES_INPUT}) |
1437 | + else () |
1438 | + set(BASE_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}/${FILES_INPUT}) |
1439 | + endif () |
1440 | + |
1441 | + file (GLOB_RECURSE SOURCE_FILES RELATIVE ${CMAKE_CURRENT_SOURCE_DIR}/ ${BASE_DIRECTORY}/*.c) |
1442 | + foreach(C_FILE ${SOURCE_FILES}) |
1443 | + set(C_SOURCE ${C_SOURCE} ${C_FILE}) |
1444 | + endforeach() |
1445 | + |
1446 | + file (GLOB_RECURSE SOURCE_FILES RELATIVE ${CMAKE_CURRENT_SOURCE_DIR}/ ${BASE_DIRECTORY}/*.vala) |
1447 | + foreach(VALA_FILE ${SOURCE_FILES}) |
1448 | + set(VALA_SOURCE ${VALA_SOURCE} ${VALA_FILE}) |
1449 | + endforeach() |
1450 | + |
1451 | + file (GLOB_RECURSE SOURCE_FILES RELATIVE ${CMAKE_CURRENT_SOURCE_DIR}/ ${BASE_DIRECTORY}/*.ui) |
1452 | + foreach(GLADE_FILE ${SOURCE_FILES}) |
1453 | + set(GLADE_SOURCE ${GLADE_SOURCE} ${GLADE_FILE}) |
1454 | + endforeach() |
1455 | + endforeach() |
1456 | + |
1457 | + set (XGETTEXT_C_ARGS --add-comments="/" --keyword="_" --keyword="N_" --keyword="C_:1c,2" --keyword="NC_:1c,2" --keyword="ngettext:1,2" --keyword="Q_:1g") |
1458 | + set(BASE_XGETTEXT_COMMAND |
1459 | + ${XGETTEXT_EXECUTABLE} -d ${NLS_PACKAGE} |
1460 | + -o ${CMAKE_CURRENT_SOURCE_DIR}/${NLS_PACKAGE}.pot |
1461 | + ${XGETTEXT_C_ARGS} --from-code=UTF-8) |
1462 | + |
1463 | + set(EXTRA_XGETTEXT_COMMAND |
1464 | + ${XGETTEXT_EXECUTABLE} -d extra |
1465 | + -o ${EXTRA_PO_DIR}/extra.pot --no-location --from-code=UTF-8) |
1466 | + |
1467 | + set (INTLTOOL_EXTRACT_COMMAND |
1468 | + ${INTLTOOL_EXTRACT_EXECUTABLE} --local --srcdir=/) |
1469 | + |
1470 | + set(CONTINUE_FLAG "") |
1471 | + |
1472 | + IF(NOT "${C_SOURCE}" STREQUAL "") |
1473 | + add_custom_command(TARGET pot WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR} COMMAND ${BASE_XGETTEXT_COMMAND} ${C_SOURCE}) |
1474 | + set(CONTINUE_FLAG "-j") |
1475 | + ENDIF() |
1476 | + |
1477 | + IF(NOT "${VALA_SOURCE}" STREQUAL "") |
1478 | + add_custom_command(TARGET pot WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR} COMMAND ${BASE_XGETTEXT_COMMAND} ${CONTINUE_FLAG} -LC\# ${VALA_SOURCE}) |
1479 | + set(CONTINUE_FLAG "-j") |
1480 | + ENDIF() |
1481 | + |
1482 | + IF(NOT "${GLADE_SOURCE}" STREQUAL "") |
1483 | + add_custom_command (TARGET pot WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR} COMMAND ${BASE_XGETTEXT_COMMAND} ${CONTINUE_FLAG} -LGlade ${GLADE_SOURCE}) |
1484 | + ENDIF() |
1485 | + |
1486 | + # We need to create the directory if one extra content exists. |
1487 | + IF((NOT "${ARGS_DESKTOP_FILES}" STREQUAL "") OR (NOT "${ARGS_APPDATA_SOURCE}" STREQUAL "") OR (NOT "${ARGS_SCHEMA_SOURCE}" STREQUAL "")) |
1488 | + file(MAKE_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}/extra/) |
1489 | + ENDIF() |
1490 | + |
1491 | + set(CONTINUE_FLAG "") |
1492 | + |
1493 | + foreach(DESKTOP_SOURCE ${ARGS_DESKTOP_FILES}) |
1494 | + get_filename_component(DESKTOP_SOURCE ${DESKTOP_SOURCE} ABSOLUTE) |
1495 | + add_custom_command(TARGET pot WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR} COMMAND ${INTLTOOL_EXTRACT_COMMAND} --type=gettext/keys ${DESKTOP_SOURCE}) |
1496 | + get_filename_component(DESKTOP_SOURCE_NAME ${DESKTOP_SOURCE} NAME) |
1497 | + add_custom_command(TARGET pot WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR} COMMAND ${EXTRA_XGETTEXT_COMMAND} ${CONTINUE_FLAG} ${XGETTEXT_C_ARGS} ${CMAKE_CURRENT_BINARY_DIR}/tmp/${DESKTOP_SOURCE_NAME}.h) |
1498 | + set(CONTINUE_FLAG "-j") |
1499 | + endforeach() |
1500 | + |
1501 | + foreach(APPDATA_SOURCE ${ARGS_APPDATA_FILES}) |
1502 | + get_filename_component(APPDATA_SOURCE ${APPDATA_SOURCE} ABSOLUTE) |
1503 | + add_custom_command(TARGET pot WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR} COMMAND ${INTLTOOL_EXTRACT_COMMAND} --type=gettext/xml ${APPDATA_SOURCE}) |
1504 | + get_filename_component(APPDATA_SOURCE_NAME ${APPDATA_SOURCE} NAME) |
1505 | + add_custom_command(TARGET pot WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR} COMMAND ${EXTRA_XGETTEXT_COMMAND} ${CONTINUE_FLAG} ${XGETTEXT_C_ARGS} ${CMAKE_CURRENT_BINARY_DIR}/tmp/${APPDATA_SOURCE_NAME}.h) |
1506 | + set(CONTINUE_FLAG "-j") |
1507 | + endforeach() |
1508 | + |
1509 | + foreach(SCHEMA_SOURCE ${ARGS_SCHEMA_FILES}) |
1510 | + get_filename_component(SCHEMA_SOURCE ${SCHEMA_SOURCE} ABSOLUTE) |
1511 | + add_custom_command(TARGET pot WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR} COMMAND ${INTLTOOL_EXTRACT_COMMAND} --type=gettext/schemas ${SCHEMA_SOURCE}) |
1512 | + get_filename_component(SCHEMA_SOURCE_NAME ${SCHEMA_SOURCE} NAME) |
1513 | + add_custom_command(TARGET pot WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR} COMMAND ${EXTRA_XGETTEXT_COMMAND} ${CONTINUE_FLAG} ${XGETTEXT_C_ARGS} ${CMAKE_CURRENT_BINARY_DIR}/tmp/${SCHEMA_SOURCE_NAME}.h) |
1514 | + set(CONTINUE_FLAG "-j") |
1515 | + endforeach() |
1516 | +endmacro () |
1517 | |
1518 | === added file 'cmake/Uninstall.cmake' |
1519 | --- cmake/Uninstall.cmake 1970-01-01 00:00:00 +0000 |
1520 | +++ cmake/Uninstall.cmake 2016-01-14 14:02:26 +0000 |
1521 | @@ -0,0 +1,25 @@ |
1522 | +# Taken from CMake FAQ http://www.cmake.org/Wiki/CMake_FAQ#Can_I_do_.22make_uninstall.22_with_CMake.3F |
1523 | +# TODO: that should probably be improved, do we really need to configure a file to read something in the current binary directory? |
1524 | +if (NOT EXISTS "@CMAKE_CURRENT_BINARY_DIR@/install_manifest.txt") |
1525 | + message(FATAL_ERROR "Cannot find install manifest: \"@CMAKE_CURRENT_BINARY_DIR@/install_manifest.txt\"") |
1526 | +endif(NOT EXISTS "@CMAKE_CURRENT_BINARY_DIR@/install_manifest.txt") |
1527 | + |
1528 | +file(READ "@CMAKE_CURRENT_BINARY_DIR@/install_manifest.txt" files) |
1529 | +string(REGEX REPLACE "\n" ";" files "${files}") |
1530 | +cmake_policy (SET CMP0007 NEW) |
1531 | +list(REVERSE files) |
1532 | +foreach (file ${files}) |
1533 | + message(STATUS "Uninstalling \"$ENV{DESTDIR}${file}\"") |
1534 | + if (EXISTS "$ENV{DESTDIR}${file}") |
1535 | + execute_process( |
1536 | + COMMAND @CMAKE_COMMAND@ -E remove "$ENV{DESTDIR}${file}" |
1537 | + OUTPUT_VARIABLE rm_out |
1538 | + RESULT_VARIABLE rm_retval |
1539 | + ) |
1540 | + if(NOT ${rm_retval} EQUAL 0) |
1541 | + message(FATAL_ERROR "Problem when removing \"$ENV{DESTDIR}${file}\"") |
1542 | + endif (NOT ${rm_retval} EQUAL 0) |
1543 | + else (EXISTS "$ENV{DESTDIR}${file}") |
1544 | + message(STATUS "File \"$ENV{DESTDIR}${file}\" does not exist.") |
1545 | + endif (EXISTS "$ENV{DESTDIR}${file}") |
1546 | +endforeach(file) |
1547 | |
1548 | === added file 'cmake/ValaPrecompile.cmake' |
1549 | --- cmake/ValaPrecompile.cmake 1970-01-01 00:00:00 +0000 |
1550 | +++ cmake/ValaPrecompile.cmake 2016-01-14 14:02:26 +0000 |
1551 | @@ -0,0 +1,251 @@ |
1552 | +## |
1553 | +# Copyright 2009-2010 Jakob Westhoff. All rights reserved. |
1554 | +# Copyright 2012-2016 elementary LLC. |
1555 | +# |
1556 | +# Redistribution and use in source and binary forms, with or without |
1557 | +# modification, are permitted provided that the following conditions are met: |
1558 | +# |
1559 | +# 1. Redistributions of source code must retain the above copyright notice, |
1560 | +# this list of conditions and the following disclaimer. |
1561 | +# |
1562 | +# 2. Redistributions in binary form must reproduce the above copyright notice, |
1563 | +# this list of conditions and the following disclaimer in the documentation |
1564 | +# and/or other materials provided with the distribution. |
1565 | +# |
1566 | +# THIS SOFTWARE IS PROVIDED BY JAKOB WESTHOFF ``AS IS'' AND ANY EXPRESS OR |
1567 | +# IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF |
1568 | +# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO |
1569 | +# EVENT SHALL JAKOB WESTHOFF OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, |
1570 | +# INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT |
1571 | +# LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR |
1572 | +# PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF |
1573 | +# LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE |
1574 | +# OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF |
1575 | +# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
1576 | +# |
1577 | +# The views and conclusions contained in the software and documentation are those |
1578 | +# of the authors and should not be interpreted as representing official policies, |
1579 | +# either expressed or implied, of Jakob Westhoff |
1580 | +## |
1581 | + |
1582 | +find_package(Vala REQUIRED) |
1583 | +include(CMakeParseArguments) |
1584 | + |
1585 | +## |
1586 | +# Compile vala files to their c equivalents for further processing. |
1587 | +# |
1588 | +# The "vala_precompile" macro takes care of calling the valac executable on the |
1589 | +# given source to produce c files which can then be processed further using |
1590 | +# default cmake functions. |
1591 | +# |
1592 | +# The first parameter provided is a variable, which will be filled with a list |
1593 | +# of c files outputted by the vala compiler. This list can than be used in |
1594 | +# conjuction with functions like "add_executable" or others to create the |
1595 | +# neccessary compile rules with CMake. |
1596 | +# |
1597 | +# The initial variable is followed by a list of .vala files to be compiled. |
1598 | +# Please take care to add every vala file belonging to the currently compiled |
1599 | +# project or library as Vala will otherwise not be able to resolve all |
1600 | +# dependencies. |
1601 | +# |
1602 | +# The following sections may be specified afterwards to provide certain options |
1603 | +# to the vala compiler: |
1604 | +# |
1605 | +# PACKAGES |
1606 | +# A list of vala packages/libraries to be used during the compile cycle. The |
1607 | +# package names are exactly the same, as they would be passed to the valac |
1608 | +# "--pkg=" option. |
1609 | +# |
1610 | +# OPTIONS |
1611 | +# A list of optional options to be passed to the valac executable. This can be |
1612 | +# used to pass "--thread" for example to enable multi-threading support. |
1613 | +# |
1614 | +# CUSTOM_VAPIS |
1615 | +# A list of custom vapi files to be included for compilation. This can be |
1616 | +# useful to include freshly created vala libraries without having to install |
1617 | +# them in the system. |
1618 | +# |
1619 | +# GENERATE_VAPI |
1620 | +# Pass all the needed flags to the compiler to create an internal vapi for |
1621 | +# the compiled library. The provided name will be used for this and a |
1622 | +# <provided_name>.vapi file will be created. |
1623 | +# |
1624 | +# GENERATE_HEADER |
1625 | +# Let the compiler generate a header file for the compiled code. There will |
1626 | +# be a header file as well as an internal header file being generated called |
1627 | +# <provided_name>.h and <provided_name>_internal.h |
1628 | +# |
1629 | +# GENERATE_GIR |
1630 | +# Have the compiler generate a GObject-Introspection repository file with |
1631 | +# name: <provided_name>.gir. This can be later used to create a binary typelib |
1632 | +# using the GI compiler. |
1633 | +# |
1634 | +# GENERATE_SYMBOLS |
1635 | +# Output a <provided_name>.symbols file containing all the exported symbols. |
1636 | +# |
1637 | +# The following call is a simple example to the vala_precompile macro showing |
1638 | +# an example to every of the optional sections: |
1639 | +# |
1640 | +# vala_precompile(VALA_C mytargetname |
1641 | +# source1.vala |
1642 | +# source2.vala |
1643 | +# source3.vala |
1644 | +# PACKAGES |
1645 | +# gtk+-2.0 |
1646 | +# gio-1.0 |
1647 | +# posix |
1648 | +# DIRECTORY |
1649 | +# gen |
1650 | +# OPTIONS |
1651 | +# --thread |
1652 | +# CUSTOM_VAPIS |
1653 | +# some_vapi.vapi |
1654 | +# GENERATE_VAPI |
1655 | +# myvapi |
1656 | +# GENERATE_HEADER |
1657 | +# myheader |
1658 | +# GENERATE_GIR |
1659 | +# mygir |
1660 | +# GENERATE_SYMBOLS |
1661 | +# mysymbols |
1662 | +# ) |
1663 | +# |
1664 | +# Most important is the variable VALA_C which will contain all the generated c |
1665 | +# file names after the call. |
1666 | +## |
1667 | + |
1668 | +macro(vala_precompile output target_name) |
1669 | + cmake_parse_arguments (ARGS "" "GENERATE_GIR;GENERATE_SYMBOLS;GENERATE_HEADER;GENERATE_VAPI;DIRECTORY" "PACKAGES;OPTIONS;CUSTOM_VAPIS" ${ARGN}) |
1670 | + |
1671 | + if(ARGS_DIRECTORY) |
1672 | + set(DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}/${ARGS_DIRECTORY}) |
1673 | + else(ARGS_DIRECTORY) |
1674 | + set(DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}) |
1675 | + endif(ARGS_DIRECTORY) |
1676 | + include_directories(${DIRECTORY}) |
1677 | + set(vala_pkg_opts "") |
1678 | + foreach(pkg ${ARGS_PACKAGES}) |
1679 | + list(APPEND vala_pkg_opts "--pkg=${pkg}") |
1680 | + endforeach(pkg ${ARGS_PACKAGES}) |
1681 | + set(in_files "") |
1682 | + set(out_files "") |
1683 | + set(out_files_display "") |
1684 | + set(${output} "") |
1685 | + |
1686 | + foreach(src ${ARGS_UNPARSED_ARGUMENTS}) |
1687 | + string(REGEX MATCH "^/" IS_MATCHED ${src}) |
1688 | + if(${IS_MATCHED} MATCHES "/") |
1689 | + set(src_file_path ${src}) |
1690 | + else() |
1691 | + set(src_file_path ${CMAKE_CURRENT_SOURCE_DIR}/${src}) |
1692 | + endif() |
1693 | + list(APPEND in_files ${src_file_path}) |
1694 | + string(REPLACE ".vala" ".c" src ${src}) |
1695 | + string(REPLACE ".gs" ".c" src ${src}) |
1696 | + if(${IS_MATCHED} MATCHES "/") |
1697 | + get_filename_component(VALA_FILE_NAME ${src} NAME) |
1698 | + set(out_file "${CMAKE_CURRENT_BINARY_DIR}/${VALA_FILE_NAME}") |
1699 | + list(APPEND out_files "${CMAKE_CURRENT_BINARY_DIR}/${VALA_FILE_NAME}") |
1700 | + else() |
1701 | + set(out_file "${DIRECTORY}/${src}") |
1702 | + list(APPEND out_files "${DIRECTORY}/${src}") |
1703 | + endif() |
1704 | + list(APPEND ${output} ${out_file}) |
1705 | + list(APPEND out_files_display "${src}") |
1706 | + endforeach(src ${ARGS_DEFAULT_ARGS}) |
1707 | + |
1708 | + set(custom_vapi_arguments "") |
1709 | + if(ARGS_CUSTOM_VAPIS) |
1710 | + # Check for relative and absolute paths |
1711 | + foreach(vapi ${ARGS_CUSTOM_VAPIS}) |
1712 | + string(REGEX MATCH "^/" IS_MATCHED ${vapi}) |
1713 | + if(${IS_MATCHED} MATCHES "/") |
1714 | + list(APPEND custom_vapi_arguments ${vapi}) |
1715 | + else() |
1716 | + list(APPEND custom_vapi_arguments ${CMAKE_CURRENT_SOURCE_DIR}/${vapi}) |
1717 | + endif() |
1718 | + endforeach(vapi ${ARGS_CUSTOM_VAPIS}) |
1719 | + endif(ARGS_CUSTOM_VAPIS) |
1720 | + |
1721 | + set(vapi_arguments "") |
1722 | + if(ARGS_GENERATE_VAPI) |
1723 | + list(APPEND out_files "${DIRECTORY}/${ARGS_GENERATE_VAPI}.vapi") |
1724 | + list(APPEND out_files_display "${ARGS_GENERATE_VAPI}.vapi") |
1725 | + set(vapi_arguments "--library=${ARGS_GENERATE_VAPI}" "--vapi=${ARGS_GENERATE_VAPI}.vapi") |
1726 | + |
1727 | + # Header and internal header is needed to generate internal vapi |
1728 | + if (NOT ARGS_GENERATE_HEADER) |
1729 | + set(ARGS_GENERATE_HEADER ${ARGS_GENERATE_VAPI}) |
1730 | + endif(NOT ARGS_GENERATE_HEADER) |
1731 | + endif(ARGS_GENERATE_VAPI) |
1732 | + |
1733 | + set(header_arguments "") |
1734 | + if(ARGS_GENERATE_HEADER) |
1735 | + list(APPEND out_files "${DIRECTORY}/${ARGS_GENERATE_HEADER}.h") |
1736 | + list(APPEND out_files_display "${ARGS_GENERATE_HEADER}.h") |
1737 | + list(APPEND header_arguments "--header=${ARGS_GENERATE_HEADER}.h") |
1738 | + endif(ARGS_GENERATE_HEADER) |
1739 | + |
1740 | + set(gir_arguments "") |
1741 | + set(gircomp_command "") |
1742 | + if(ARGS_GENERATE_GIR) |
1743 | + list(APPEND out_files "${DIRECTORY}/${ARGS_GENERATE_GIR}.gir") |
1744 | + list(APPEND out_files_display "${ARGS_GENERATE_GIR}.gir") |
1745 | + set(gir_arguments "--gir=${ARGS_GENERATE_GIR}.gir") |
1746 | + |
1747 | + include (FindGirCompiler) |
1748 | + find_package(GirCompiler REQUIRED) |
1749 | + |
1750 | + set(gircomp_command |
1751 | + COMMAND |
1752 | + ${G_IR_COMPILER_EXECUTABLE} |
1753 | + ARGS |
1754 | + "${DIRECTORY}/${ARGS_GENERATE_GIR}.gir" |
1755 | + -o "${DIRECTORY}/${ARGS_GENERATE_GIR}.typelib") |
1756 | + endif(ARGS_GENERATE_GIR) |
1757 | + |
1758 | + set(symbols_arguments "") |
1759 | + if(ARGS_GENERATE_SYMBOLS) |
1760 | + list(APPEND out_files "${DIRECTORY}/${ARGS_GENERATE_SYMBOLS}.symbols") |
1761 | + list(APPEND out_files_display "${ARGS_GENERATE_SYMBOLS}.symbols") |
1762 | + set(symbols_arguments "--symbols=${ARGS_GENERATE_SYMBOLS}.symbols") |
1763 | + endif(ARGS_GENERATE_SYMBOLS) |
1764 | + |
1765 | + # Workaround for a bug that would make valac run twice. This file is written |
1766 | + # after the vala compiler generates C source code. |
1767 | + set(OUTPUT_STAMP ${CMAKE_CURRENT_BINARY_DIR}/${target_name}_valac.stamp) |
1768 | + |
1769 | + add_custom_command( |
1770 | + OUTPUT |
1771 | + ${OUTPUT_STAMP} |
1772 | + COMMAND |
1773 | + ${VALA_EXECUTABLE} |
1774 | + ARGS |
1775 | + "-C" |
1776 | + ${header_arguments} |
1777 | + ${vapi_arguments} |
1778 | + ${gir_arguments} |
1779 | + ${symbols_arguments} |
1780 | + "-b" ${CMAKE_CURRENT_SOURCE_DIR} |
1781 | + "-d" ${DIRECTORY} |
1782 | + ${vala_pkg_opts} |
1783 | + ${ARGS_OPTIONS} |
1784 | + "-g" |
1785 | + ${in_files} |
1786 | + ${custom_vapi_arguments} |
1787 | + COMMAND |
1788 | + touch |
1789 | + ARGS |
1790 | + ${OUTPUT_STAMP} |
1791 | + DEPENDS |
1792 | + ${in_files} |
1793 | + ${ARGS_CUSTOM_VAPIS} |
1794 | + COMMENT |
1795 | + "Generating ${out_files_display}" |
1796 | + ${gircomp_command} |
1797 | + ) |
1798 | + |
1799 | + # This command will be run twice for some reason (pass a non-empty string to COMMENT |
1800 | + # in order to see it). Since valac is not executed from here, this won't be a problem. |
1801 | + add_custom_command(OUTPUT ${out_files} DEPENDS ${OUTPUT_STAMP} COMMENT "") |
1802 | +endmacro(vala_precompile) |
1803 | |
1804 | === added file 'cmake/ValaVersion.cmake' |
1805 | --- cmake/ValaVersion.cmake 1970-01-01 00:00:00 +0000 |
1806 | +++ cmake/ValaVersion.cmake 2016-01-14 14:02:26 +0000 |
1807 | @@ -0,0 +1,96 @@ |
1808 | +## |
1809 | +# Copyright 2009-2010 Jakob Westhoff. All rights reserved. |
1810 | +# |
1811 | +# Redistribution and use in source and binary forms, with or without |
1812 | +# modification, are permitted provided that the following conditions are met: |
1813 | +# |
1814 | +# 1. Redistributions of source code must retain the above copyright notice, |
1815 | +# this list of conditions and the following disclaimer. |
1816 | +# |
1817 | +# 2. Redistributions in binary form must reproduce the above copyright notice, |
1818 | +# this list of conditions and the following disclaimer in the documentation |
1819 | +# and/or other materials provided with the distribution. |
1820 | +# |
1821 | +# THIS SOFTWARE IS PROVIDED BY JAKOB WESTHOFF ``AS IS'' AND ANY EXPRESS OR |
1822 | +# IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF |
1823 | +# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO |
1824 | +# EVENT SHALL JAKOB WESTHOFF OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, |
1825 | +# INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT |
1826 | +# LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR |
1827 | +# PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF |
1828 | +# LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE |
1829 | +# OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF |
1830 | +# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
1831 | +# |
1832 | +# The views and conclusions contained in the software and documentation are those |
1833 | +# of the authors and should not be interpreted as representing official policies, |
1834 | +# either expressed or implied, of Jakob Westhoff |
1835 | +## |
1836 | + |
1837 | +find_package(Vala REQUIRED) |
1838 | +include(CMakeParseArguments) |
1839 | + |
1840 | +## |
1841 | +# Ensure a certain valac version is available |
1842 | +# |
1843 | +# The initial argument is the version to check for |
1844 | +# |
1845 | +# It may be followed by a optional parameter to specifiy a version range. The |
1846 | +# following options are valid: |
1847 | +# |
1848 | +# EXACT |
1849 | +# Vala needs to be available in the exact version given |
1850 | +# |
1851 | +# MINIMUM |
1852 | +# The provided version is the minimum version. Therefore Vala needs to be |
1853 | +# available in the given version or any higher version |
1854 | +# |
1855 | +# MAXIMUM |
1856 | +# The provided version is the maximum. Therefore Vala needs to be available |
1857 | +# in the given version or any version older than this |
1858 | +# |
1859 | +# If no option is specified the version will be treated as a minimal version. |
1860 | +## |
1861 | +macro(ensure_vala_version version) |
1862 | + cmake_parse_arguments (ARGS "" "MINIMUM;MAXIMUM;EXACT" "" ${ARGN}) |
1863 | + set(compare_message "") |
1864 | + set(error_message "") |
1865 | + if(ARGS_MINIMUM) |
1866 | + set(compare_message "a minimum ") |
1867 | + set(error_message "or greater ") |
1868 | + elseif(ARGS_MAXIMUM) |
1869 | + set(compare_message "a maximum ") |
1870 | + set(error_message "or less ") |
1871 | + endif(ARGS_MINIMUM) |
1872 | + |
1873 | + message(STATUS |
1874 | + "checking for ${compare_message}Vala version of ${version}" |
1875 | + ) |
1876 | + |
1877 | + unset(version_accepted) |
1878 | + |
1879 | + # MINIMUM is the default if no option is specified |
1880 | + if(ARGS_EXACT) |
1881 | + if(${VALA_VERSION} VERSION_EQUAL ${version} ) |
1882 | + set(version_accepted TRUE) |
1883 | + endif(${VALA_VERSION} VERSION_EQUAL ${version}) |
1884 | + elseif(ARGS_MAXIMUM) |
1885 | + if(${VALA_VERSION} VERSION_LESS ${version} OR ${VALA_VERSION} VERSION_EQUAL ${version}) |
1886 | + set(version_accepted TRUE) |
1887 | + endif(${VALA_VERSION} VERSION_LESS ${version} OR ${VALA_VERSION} VERSION_EQUAL ${version}) |
1888 | + else(ARGS_MAXIMUM) |
1889 | + if(${VALA_VERSION} VERSION_GREATER ${version} OR ${VALA_VERSION} VERSION_EQUAL ${version}) |
1890 | + set(version_accepted TRUE) |
1891 | + endif(${VALA_VERSION} VERSION_GREATER ${version} OR ${VALA_VERSION} VERSION_EQUAL ${version}) |
1892 | + endif(ARGS_EXACT) |
1893 | + |
1894 | + if (NOT version_accepted) |
1895 | + message(FATAL_ERROR |
1896 | + "Vala version ${version} ${error_message}is required." |
1897 | + ) |
1898 | + endif(NOT version_accepted) |
1899 | + |
1900 | + message(STATUS |
1901 | + " found Vala, version ${VALA_VERSION}" |
1902 | + ) |
1903 | +endmacro(ensure_vala_version) |
1904 | |
1905 | === removed file 'configure' |
1906 | --- configure 2014-06-23 23:31:51 +0000 |
1907 | +++ configure 1970-01-01 00:00:00 +0000 |
1908 | @@ -1,184 +0,0 @@ |
1909 | -#!/usr/bin/env bash |
1910 | -# |
1911 | -# Copyright 2009-2013 Yorba Foundation |
1912 | -# |
1913 | -# This software is licensed under the GNU LGPL (version 2.1 or later). |
1914 | -# See the COPYING file in this distribution. |
1915 | - |
1916 | -CONFIG_IN=configure.mk |
1917 | - |
1918 | -configure_help() { |
1919 | - cat <<- EOT |
1920 | -Usage: |
1921 | - ./configure [OPTIONS]... |
1922 | - |
1923 | -Options: |
1924 | - -h, --help Print this help and exit. |
1925 | - --assume-pkgs Turn off package version checking. |
1926 | - --build=DIR Build secondary files in DIR. |
1927 | - --debug | --release Build executable for debugging or release. |
1928 | - [--release] |
1929 | - --profile Enable profiling support during C compile & link. |
1930 | - --prefix=PREFIX Prepend PREFIX to program installation paths. |
1931 | - [/usr/local] |
1932 | - --lib=LIBNAME Set system library directory name to LIBNAME |
1933 | - (usually 'lib' or 'lib64'). |
1934 | - [lib] |
1935 | - --libdir LIBNAME Equivalent to --lib=LIBNAME |
1936 | - --libexec=LIBEXECDIR Set utility executable to LIBEXECDIR |
1937 | - (usually 'PREFIX/libexec/shotwell'). |
1938 | - [PREFIX/libexec/shotwell] |
1939 | - --libexec LIBEXECDIR Equivalent to --libexec=LIBEXECDIR |
1940 | - |
1941 | - --define=SYMBOL Define a symbol for the Vala compiler. |
1942 | - |
1943 | - |
1944 | - --disable-schemas-compile |
1945 | - Disable compiling the GSettings schema. |
1946 | - --disable-gsettings-convert-install |
1947 | - Disable installing the gsettings-data-convert file. |
1948 | - --disable-desktop-update |
1949 | - Disable desktop database update. |
1950 | - --disable-desktop-validate |
1951 | - Disable validation of .desktop files. |
1952 | - --disable-icon-update |
1953 | - Disable icon cache update. |
1954 | - --enable-build-for-glade |
1955 | - Enable build for Glade-related development. |
1956 | - --disable-help-install |
1957 | - Disable installation of online help. |
1958 | - --disable-extra-plugins-install |
1959 | - Disable installation of extra (non-core) plugins. |
1960 | - --install-headers |
1961 | - Install headers and VAPI files (developers only). |
1962 | - --unity-support |
1963 | - Enable support for progress bars in the Unity launcher. |
1964 | -EOT |
1965 | -} |
1966 | - |
1967 | -abort() { |
1968 | - printf "%s: Invalid argument %s\n" $0 $1 |
1969 | - configure_help |
1970 | - exit 1 |
1971 | -} |
1972 | - |
1973 | -while [ $# != 0 ] |
1974 | -do |
1975 | - option=`echo $1 | sed 's/=.*//'` |
1976 | - if [ `echo $1 | grep '='` ] |
1977 | - then |
1978 | - value=`echo $1 | sed 's/.*=//'` |
1979 | - fi |
1980 | - |
1981 | - case $option in |
1982 | - -h | --help) configure_help |
1983 | - exit 0 |
1984 | - ;; |
1985 | - |
1986 | - --prefix) if [ ! $value ] |
1987 | - then |
1988 | - shift |
1989 | - value=$1 |
1990 | - fi |
1991 | - |
1992 | - variables="${variables}PREFIX=$value\n" |
1993 | - ;; |
1994 | - |
1995 | - --lib | --libdir) if [ ! $value ] |
1996 | - then |
1997 | - shift |
1998 | - value=$1 |
1999 | - fi |
2000 | - |
2001 | - variables="${variables}LIB=$value\n" |
2002 | - ;; |
2003 | - |
2004 | - --libexec) if [ ! $value ] |
2005 | - then |
2006 | - shift |
2007 | - value=$1 |
2008 | - fi |
2009 | - |
2010 | - variables="${variables}LIBEXECDIR=$value\n" |
2011 | - ;; |
2012 | - |
2013 | - --assume-pkgs) variables="${variables}ASSUME_PKGS=1\n" |
2014 | - ;; |
2015 | - |
2016 | - --build) if [ ! $value ] |
2017 | - then |
2018 | - shift |
2019 | - value=$1 |
2020 | - fi |
2021 | - |
2022 | - variables="${variables}BUILD_DIR=$value\n" |
2023 | - ;; |
2024 | - |
2025 | - --debug) variables="${variables}BUILD_RELEASE=\nBUILD_DEBUG=1\n" |
2026 | - ;; |
2027 | - |
2028 | - --profile) variables="${variables}PROFILE_FLAGS=-pg\n" |
2029 | - ;; |
2030 | - |
2031 | - --release) variables="${variables}BUILD_DEBUG=\nBUILD_RELEASE=1\n" |
2032 | - ;; |
2033 | - |
2034 | - --define) variables="${variables}USER_VALAFLAGS+=--define=$value\n" |
2035 | - ;; |
2036 | - |
2037 | - --disable-schemas-compile) variables="${variables}DISABLE_SCHEMAS_COMPILE=1\n" |
2038 | - ;; |
2039 | - |
2040 | - --disable-gsettings-convert-install) variables="${variables}DISABLE_GSETTINGS_CONVERT_INSTALL=1\n" |
2041 | - ;; |
2042 | - |
2043 | - --disable-desktop-update) variables="${variables}DISABLE_DESKTOP_UPDATE=1\n" |
2044 | - ;; |
2045 | - |
2046 | - --disable-desktop-validate) variables="${variables}DISABLE_DESKTOP_VALIDATE=1\n" |
2047 | - ;; |
2048 | - |
2049 | - --disable-icon-update) variables="${variables}DISABLE_ICON_UPDATE=1\n" |
2050 | - ;; |
2051 | - |
2052 | - --enable-build-for-glade) variables="${variables}ENABLE_BUILD_FOR_GLADE=1\n" |
2053 | - ;; |
2054 | - --disable-help-install) variables="${variables}DISABLE_HELP_INSTALL=1\n" |
2055 | - ;; |
2056 | - --disable-extra-plugins-install) variables="${variables}DISABLE_EXTRA_PLUGINS_INSTALL=1\n" |
2057 | - ;; |
2058 | - |
2059 | - --install-headers) variables="${variables}INSTALL_HEADERS=1\n" |
2060 | - ;; |
2061 | - |
2062 | - --unity-support) variables="${variables}UNITY_SUPPORT=1\n" |
2063 | - ;; |
2064 | - |
2065 | - --enable-* | --disable-*) |
2066 | - |
2067 | - echo WARNING: unrecognized option: $option |
2068 | - ;; |
2069 | - |
2070 | - *) if [ `echo $option | grep '\-\-'` ] |
2071 | - then |
2072 | - # we've hit a bogus '--' -type argument, don't accept it. |
2073 | - abort $option |
2074 | - fi |
2075 | - |
2076 | - # this argument isn't for us; pass it on to the makefile phase. |
2077 | - variables="${variables}${option}=${value}\n" |
2078 | - ;; |
2079 | - esac |
2080 | - |
2081 | - value="" |
2082 | - shift |
2083 | -done |
2084 | - |
2085 | -rm -f $CONFIG_IN |
2086 | -if [ $variables ] |
2087 | -then |
2088 | - echo -e -n $variables > $CONFIG_IN |
2089 | -fi |
2090 | -echo "CONFIG_IN=${CONFIG_IN}" >> $CONFIG_IN |
2091 | - |
2092 | -printf "Configured. Type 'make' to build, 'make install' to install.\n" |
2093 | \ No newline at end of file |
2094 | |
2095 | === added directory 'data' |
2096 | === added file 'data/CMakeLists.txt' |
2097 | --- data/CMakeLists.txt 1970-01-01 00:00:00 +0000 |
2098 | +++ data/CMakeLists.txt 2016-01-14 14:02:26 +0000 |
2099 | @@ -0,0 +1,19 @@ |
2100 | +include (Translations) |
2101 | +configure_file (${CMAKE_PROJECT_NAME}.desktop.in.in ${CMAKE_CURRENT_BINARY_DIR}/${CMAKE_PROJECT_NAME}.desktop.in) |
2102 | +configure_file (${CMAKE_PROJECT_NAME}-viewer.desktop.in.in ${CMAKE_CURRENT_BINARY_DIR}/${CMAKE_PROJECT_NAME}-viewer.desktop.in) |
2103 | +configure_file_translation (${CMAKE_CURRENT_BINARY_DIR}/${CMAKE_PROJECT_NAME}.desktop.in ${CMAKE_CURRENT_BINARY_DIR}/${CMAKE_PROJECT_NAME}.desktop ${CMAKE_SOURCE_DIR}/po/) |
2104 | +configure_file_translation (${CMAKE_CURRENT_BINARY_DIR}/${CMAKE_PROJECT_NAME}-viewer.desktop.in ${CMAKE_CURRENT_BINARY_DIR}/${CMAKE_PROJECT_NAME}-viewer.desktop ${CMAKE_SOURCE_DIR}/po/) |
2105 | +configure_file_translation (${CMAKE_CURRENT_SOURCE_DIR}/${CMAKE_PROJECT_NAME}.appdata.xml.in ${CMAKE_CURRENT_BINARY_DIR}/${CMAKE_PROJECT_NAME}.appdata.xml ${CMAKE_SOURCE_DIR}/po/) |
2106 | + |
2107 | +install (FILES ${CMAKE_CURRENT_BINARY_DIR}/${CMAKE_PROJECT_NAME}.desktop DESTINATION ${DATADIR}/applications) |
2108 | +install (FILES ${CMAKE_CURRENT_BINARY_DIR}/${CMAKE_PROJECT_NAME}-viewer.desktop DESTINATION ${DATADIR}/applications) |
2109 | +install (FILES ${CMAKE_CURRENT_BINARY_DIR}/${CMAKE_PROJECT_NAME}.appdata.xml DESTINATION ${DATADIR}/appdata) |
2110 | + |
2111 | +# Install custom icons |
2112 | +file (GLOB ICON_FILES icons/*) |
2113 | +install (FILES ${ICON_FILES} DESTINATION ${PKGDATADIR}/icons) |
2114 | + |
2115 | +# Install UI files |
2116 | +file (GLOB UI_FILES ui/*) |
2117 | +install (FILES ${UI_FILES} DESTINATION ${PKGDATADIR}/ui) |
2118 | + |
2119 | |
2120 | === renamed directory 'icons' => 'data/icons' |
2121 | === renamed file 'misc/pantheon-photos-viewer.desktop.head' => 'data/pantheon-photos-viewer.desktop.in.in' |
2122 | --- misc/pantheon-photos-viewer.desktop.head 2015-06-08 08:05:59 +0000 |
2123 | +++ data/pantheon-photos-viewer.desktop.in.in 2016-01-14 14:02:26 +0000 |
2124 | @@ -1,15 +1,17 @@ |
2125 | [Desktop Entry] |
2126 | -Version=1.0 |
2127 | -Name=Photo Viewer |
2128 | -GenericName=Photo Viewer |
2129 | -Exec=pantheon-photos %f |
2130 | +_Name=Photo Viewer |
2131 | +_GenericName=Photo Viewer |
2132 | +Exec=@EXEC_NAME@ %U |
2133 | Icon=multimedia-photo-viewer |
2134 | +_Keywords=install;uninstall;remove;catalogue;store;apps;updates;software; |
2135 | Terminal=false |
2136 | NoDisplay=true |
2137 | Type=Application |
2138 | +StartupNotify=true |
2139 | MimeType=image/jpeg;image/jpg;image/pjpeg;image/png;image/tiff;image/x-3fr;image/x-adobe-dng;image/x-arw;image/x-bay;image/x-bmp;image/x-canon-cr2;image/x-canon-crw;image/x-cap;image/x-cr2;image/x-crw;image/x-dcr;image/x-dcraw;image/x-dcs;image/x-dng;image/x-drf;image/x-eip;image/x-erf;image/x-fff;image/x-fuji-raf;image/x-iiq;image/x-k25;image/x-kdc;image/x-mef;image/x-minolta-mrw;image/x-mos;image/x-mrw;image/x-nef;image/x-nikon-nef;image/x-nrw;image/x-olympus-orf;image/x-orf;image/x-panasonic-raw;image/x-pef;image/x-pentax-pef;image/x-png;image/x-ptx;image/x-pxn;image/x-r3d;image/x-raf;image/x-raw;image/x-rw2;image/x-rwl;image/x-rwz;image/x-sigma-x3f;image/x-sony-arw;image/x-sony-sr2;image/x-sony-srf;image/x-sr2;image/x-srf;image/x-x3f; |
2140 | Categories=Graphics;Viewer;Photography;GNOME;GTK; |
2141 | -X-GIO-NoFuse=true |
2142 | -X-GNOME-Gettext-Domain=shotwell |
2143 | -X-GNOME-FullName=Photo Viewer |
2144 | Actions=AboutDialog; |
2145 | + |
2146 | +[Desktop Action AboutDialog] |
2147 | +_Name=About @APP_NAME@ |
2148 | +Exec=@EXEC_NAME@ --about |
2149 | |
2150 | === renamed file 'misc/pantheon-photos.appdata.xml' => 'data/pantheon-photos.appdata.xml.in' |
2151 | --- misc/pantheon-photos.appdata.xml 2015-12-04 03:04:56 +0000 |
2152 | +++ data/pantheon-photos.appdata.xml.in 2016-01-14 14:02:26 +0000 |
2153 | @@ -1,25 +1,31 @@ |
2154 | <?xml version="1.0" encoding="UTF-8"?> |
2155 | -<!-- Copyright 2013 Yorba Foundation (shotwell@yorba.org) |
2156 | - Copyright 2015 elementary, LLC <contact@elementary.io> --> |
2157 | -<application> |
2158 | - <id type="desktop">pantheon-photos.desktop</id> |
2159 | - <licence>CC0</licence> |
2160 | +<!-- Copyright 2015-2016 elementary, LLC <contact@elementary.io> --> |
2161 | +<component type="desktop"> |
2162 | + <id>pantheon-photos.desktop</id> |
2163 | + <metadata_license>CC0-1.0</metadata_license> |
2164 | <project_group>elementary</project_group> |
2165 | - <name>Photos</name> |
2166 | - <icon type="stock">multimedia-photo-manager</icon> |
2167 | - <summary>Popular photo manager</summary> |
2168 | + <project_license>GPL-3.0+</project_license> |
2169 | + <_name>Photos</_name> |
2170 | + <_summary>Popular photo manager</_summary> |
2171 | <description> |
2172 | - <p> |
2173 | + <_p> |
2174 | Photos is an easy-to-use, fast photo organizer. It allows you to import |
2175 | photos from your camera or disk, organize them by date and subject matter, |
2176 | even ratings. It also offers basic photo editing, like crop, red-eye correction, |
2177 | color adjustments, and straighten. Photos' non-destructive photo editor does |
2178 | not alter your master photos, making it easy to experiment and correct errors. |
2179 | - </p> |
2180 | - <p> |
2181 | + </_p> |
2182 | + <_p> |
2183 | Photos supports JPEG, PNG, TIFF, and a variety of RAW file formats. |
2184 | - </p> |
2185 | + </_p> |
2186 | </description> |
2187 | - <url type="homepage">https://elementary.io/</url> |
2188 | - <updatecontact>contact_at_elementary.io</updatecontact> |
2189 | -</application> |
2190 | + <provides> |
2191 | + <binary>pantheon-photos</binary> |
2192 | + </provides> |
2193 | + <developer_name>elementary LLC.</developer_name> |
2194 | + <url type="homepage">http://elementary.io/</url> |
2195 | + <url type="bugtracker">https://bugs.launchpad.net/pantheon-photos</url> |
2196 | + <url type="donation">https://elementary.io/get-involved#funding</url> |
2197 | + <url type="help">https://elementaryos.stackexchange.com/questions/tagged/photos</url> |
2198 | + <update_contact>contact_at_elementary.io</update_contact> |
2199 | +</component> |
2200 | |
2201 | === renamed file 'misc/pantheon-photos.desktop.head' => 'data/pantheon-photos.desktop.in.in' |
2202 | --- misc/pantheon-photos.desktop.head 2015-06-08 08:05:59 +0000 |
2203 | +++ data/pantheon-photos.desktop.in.in 2016-01-14 14:02:26 +0000 |
2204 | @@ -1,18 +1,18 @@ |
2205 | [Desktop Entry] |
2206 | -Version=1.0 |
2207 | -Name=Photos |
2208 | -GenericName=Photo Manager |
2209 | -Comment=Organize your photos |
2210 | -Keywords=album;camera;cameras;crop;edit;enhance;export;gallery;image;images;import;organize;photo;photographs;photos;picture;pictures;photography;print;publish;rotate;share;tags;video;facebook;flickr;picasa;youtube;piwigo; |
2211 | -Exec=pantheon-photos %U |
2212 | +_Name=@APP_NAME@ |
2213 | +_Comment=Organize your photos |
2214 | +Exec=@EXEC_NAME@ %U |
2215 | Icon=multimedia-photo-manager |
2216 | +_GenericName=Photo Manager |
2217 | +_Keywords=album;cameras;crop;edit;enhance;export;gallery;images;import;organize;photographs;photos;pictures;photography;print;publish;rotate;share;tags;video |
2218 | Terminal=false |
2219 | Type=Application |
2220 | +StartupNotify=true |
2221 | MimeType=x-content/image-dcf; |
2222 | Categories=Graphics;Photography;GNOME;GTK; |
2223 | -X-GIO-NoFuse=true |
2224 | -X-GNOME-Gettext-Domain=shotwell |
2225 | -X-GNOME-FullName=Photos |
2226 | +Actions=AboutDialog; |
2227 | X-GNOME-UsesNotifications=false |
2228 | -Actions=AboutDialog; |
2229 | |
2230 | +[Desktop Action AboutDialog] |
2231 | +_Name=About @APP_NAME@ |
2232 | +Exec=@EXEC_NAME@ --about |
2233 | |
2234 | === renamed directory 'ui' => 'data/ui' |
2235 | === removed directory 'help' |
2236 | === removed directory 'help/C' |
2237 | === removed file 'help/C/Makefile' |
2238 | --- help/C/Makefile 2013-01-21 21:16:09 +0000 |
2239 | +++ help/C/Makefile 1970-01-01 00:00:00 +0000 |
2240 | @@ -1,35 +0,0 @@ |
2241 | -# |
2242 | -# This produces the index.cache file and converts all the .page files in this directory |
2243 | -# to HTML. |
2244 | -# |
2245 | -# Adapted from http://www.mail-archive.com/gnome-doc-list@gnome.org/msg04608.html |
2246 | -# and the mal2html script in the yelp-xsl package. |
2247 | -# |
2248 | -# Copyright 2010-2013 Yorba Foundation |
2249 | -# |
2250 | - |
2251 | -pages=$(wildcard *.page) |
2252 | -htmls=$(patsubst %.page,%.html,$(pages)) |
2253 | - |
2254 | -all: $(htmls) index.cache |
2255 | - |
2256 | -index.cache : $(pages) |
2257 | - echo '<cache:cache xmlns:cache="http://projectmallard.org/cache/1.0/" xmlns="http://projectmallard.org/1.0/">' > index.temp |
2258 | - for page in $(pages); do \ |
2259 | - echo "<page cache:href='file://`pwd`/$$page'/>" >> index.temp; \ |
2260 | - done |
2261 | - echo '</cache:cache>' >> index.temp |
2262 | - xsltproc `pkg-config --variable xsltdir gnome-doc-utils`/mallard/cache/mal-cache.xsl index.temp > index.cache |
2263 | - rm index.temp |
2264 | - |
2265 | -$(htmls) : index.cache |
2266 | -$(htmls) : %.html : %.page |
2267 | - xsltproc \ |
2268 | - --stringparam mal.cache.file `pwd`/index.cache \ |
2269 | - --param mal.chunk.chunk_top 1 \ |
2270 | - `pkg-config --variable mal2html gnome-doc-utils` $< |
2271 | - |
2272 | -.PHONY: clean |
2273 | -clean: |
2274 | - rm -f index.cache *.html index.css index.temp |
2275 | - |
2276 | |
2277 | === removed file 'help/C/edit-adjustments.page' |
2278 | --- help/C/edit-adjustments.page 2011-08-22 20:44:14 +0000 |
2279 | +++ help/C/edit-adjustments.page 1970-01-01 00:00:00 +0000 |
2280 | @@ -1,51 +0,0 @@ |
2281 | -<page xmlns="http://projectmallard.org/1.0/" |
2282 | - type="guide" |
2283 | - id="edit-adjustments"> |
2284 | - |
2285 | - <info> |
2286 | - <link type="guide" xref="index#edit"/> |
2287 | - <desc>Change the exposure, saturation, tint, and shadows of a photo.</desc> |
2288 | - |
2289 | - <link type="next" xref="edit-crop" /> |
2290 | - </info> |
2291 | - |
2292 | - <title>Color adjustments</title> |
2293 | - |
2294 | -<p>The <gui>Adjust</gui> button opens a floating window with a histogram and sliders to adjust a photo's exposure, saturation, tint, temperature, and shadows. The histogram also has sliders to reduce the upper and lower intensity thresholds of the photograph, expanding the contrast of the middle range.</p> |
2295 | - |
2296 | -<p>The <gui>Enhance</gui> button adjusts the histogram and shadows sliders to improve the quality of a photo.</p> |
2297 | - |
2298 | -<p>When the photo's colors and contrast are to your liking, press <gui>Apply</gui> to save the changes. <gui>Reset</gui> will return the image to its original state. <gui>Cancel</gui> discards all changes you've made.</p> |
2299 | - |
2300 | -<section> |
2301 | - <title>What do the color adjustments do?</title> |
2302 | - <terms> |
2303 | - <item> |
2304 | - <title>Exposure</title> |
2305 | - <p>Changes the brightness to make it look like the photo was exposed for a longer or shorter time. Use this to correct under- or over-exposed photos.</p> |
2306 | - </item> |
2307 | - <item> |
2308 | - <title>Saturation</title> |
2309 | - <p>Changes how vivid colors look. If your photo looks gray and washed out, try increasing the saturation. If colors look too bold, try decreasing it.</p> |
2310 | - </item> |
2311 | - <item> |
2312 | - <title>Tint</title> |
2313 | - <p>This tints the photo with a color. It's useful for correcting photos taken with the wrong white balance setting, which typically have an unnatural color cast. For example, photos taken outdoors with the white balance set to "Tungsten" may have a blue cast.</p> |
2314 | - </item> |
2315 | - <item> |
2316 | - <title>Temperature</title> |
2317 | - <p>Changes how "warm" or "cool" the picture looks. Use this to make cold, depressing scenes look more lively, for example.</p> |
2318 | - </item> |
2319 | - <item> |
2320 | - <title>Shadows</title> |
2321 | - <p>This makes shadowy areas appear lighter. Use this to make detail more visible if it's obscured by the darkness of a shadow.</p> |
2322 | - </item> |
2323 | - <item> |
2324 | - <title>Intensity Threshold (sliders on the histogram)</title> |
2325 | - <p>These sliders change how light the brightest white is and how dark the darkest black is. Use them to change the contrast of the photo. Photos which look washed out should particularly benefit from changing these settings.</p> |
2326 | - </item> |
2327 | - </terms> |
2328 | -</section> |
2329 | - |
2330 | -</page> |
2331 | - |
2332 | |
2333 | === removed file 'help/C/edit-crop.page' |
2334 | --- help/C/edit-crop.page 2011-08-22 20:44:14 +0000 |
2335 | +++ help/C/edit-crop.page 1970-01-01 00:00:00 +0000 |
2336 | @@ -1,46 +0,0 @@ |
2337 | -<page xmlns="http://projectmallard.org/1.0/" |
2338 | - type="guide" |
2339 | - id="edit-crop"> |
2340 | - |
2341 | - <info> |
2342 | - <link type="guide" xref="index#edit"/> |
2343 | - <desc>Improve the composition of a photo by cutting out parts of it.</desc> |
2344 | - |
2345 | - <link type="next" xref="edit-external" /> |
2346 | - </info> |
2347 | - |
2348 | - <title>Cropping</title> |
2349 | - |
2350 | - <p>To reduce the area of a photo and concentrate the viewer's attention on a smaller portion of it, use the Crop tool. |
2351 | - The crop tool is only available in full-window or fullscreen mode.</p> |
2352 | - |
2353 | -<steps> |
2354 | - <item> |
2355 | - <p>Double-click on a photo to enter full-window mode, then press the <gui>Crop</gui> button on the toolbar.</p> |
2356 | - </item> |
2357 | - <item> |
2358 | - <p>A white box, the crop rectangle, will appear over the photo. The lighter portion of the photo within the crop rectangle represents what the photo will look like when you crop it.</p> |
2359 | - </item> |
2360 | - <item> |
2361 | - <p>If you place your cursor in the middle of the box, you can move the box around. If you drag the edges of the box, you can adjust its size. As you move and adjust the crop box, you'll see four lines appear inside it, like a tic-tac-toe grid. These are <em>rule of thirds</em> lines.</p> |
2362 | - <p>You can also constrain the crop box to one of many common sizes. Choose a size from the drop-down list that suits your needs. If you press the flip button next to it, the orientation of the constraint will switch (from landscape to portrait).</p> |
2363 | - </item> |
2364 | - <item> |
2365 | - <p>When you're happy with your crop outline, press the <gui>Apply</gui> button. Shotwell will display the cropped photo.</p> |
2366 | - </item> |
2367 | - <item> |
2368 | - <p>If you change your mind, press the <gui>Crop</gui> button again and fine-tune the crop.</p> |
2369 | - <p>If you press <gui>Cancel</gui> rather than <gui>Apply</gui>, Shotwell will return to the photo's previous crop dimensions.</p> |
2370 | - </item> |
2371 | -</steps> |
2372 | - |
2373 | -<section> |
2374 | - <title>What is the rule of thirds?</title> |
2375 | - <p>The <em>rule of thirds</em> helps you to choose a pleasing composition for a photo.</p> |
2376 | - <p>Imagine that the scene is divided up into a 3x3 grid by two equally-spaced vertical lines and two equally-spaced horizontal lines. According to the rule, you're more likely to get a pleasing composition if you align major features (like the horizon, or a person's body) with one of the lines. Paying attention to the way features flow from one part of the grid to another can also help.</p> |
2377 | - <p>Cropping a photo so that it conforms to the rule of thirds often results in a more visually appealing image.</p> |
2378 | - <media type="image" src="figures/crop_thirds.jpg"> |
2379 | - <p>Cropping a photo, using the "rule of thirds" lines to improve the composition.</p> |
2380 | - </media> |
2381 | -</section> |
2382 | -</page> |
2383 | |
2384 | === removed file 'help/C/edit-enhance.page' |
2385 | --- help/C/edit-enhance.page 2011-08-22 20:44:14 +0000 |
2386 | +++ help/C/edit-enhance.page 1970-01-01 00:00:00 +0000 |
2387 | @@ -1,17 +0,0 @@ |
2388 | -<page xmlns="http://projectmallard.org/1.0/" |
2389 | - type="guide" |
2390 | - id="edit-enhance"> |
2391 | - |
2392 | - <info> |
2393 | - <link type="guide" xref="index#edit"/> |
2394 | - <desc>Let Shotwell improve the brightness and contrast of a photo automatically.</desc> |
2395 | - |
2396 | - <link type="seealso" xref="edit-adjustments" /> |
2397 | - |
2398 | - <link type="next" xref="edit-adjustments" /> |
2399 | - </info> |
2400 | - |
2401 | - <title>Auto-enhance</title> |
2402 | - |
2403 | - <p>Clicking on the <gui>Enhance</gui> button is a quick way to automatically adjust the brightness and contrast of your photo. It will often give you a photo that is correctly exposed. You can also use it as a starting point and then improve the adjustments by clicking on the <gui>Adjust</gui> button.</p> |
2404 | -</page> |
2405 | |
2406 | === removed file 'help/C/edit-external.page' |
2407 | --- help/C/edit-external.page 2011-10-13 23:58:57 +0000 |
2408 | +++ help/C/edit-external.page 1970-01-01 00:00:00 +0000 |
2409 | @@ -1,54 +0,0 @@ |
2410 | -<page xmlns="http://projectmallard.org/1.0/" |
2411 | - type="guide" |
2412 | - id="edit-external"> |
2413 | - |
2414 | - <info> |
2415 | - <link type="guide" xref="index#edit"/> |
2416 | - <desc>Use a different program to edit a photo.</desc> |
2417 | - |
2418 | - <link type="next" xref="edit-redeye" /> |
2419 | - </info> |
2420 | - |
2421 | - <title> |
2422 | - Edit photos with an external program |
2423 | - </title> |
2424 | - |
2425 | - <p> |
2426 | - You might want to use an external editor to do additional work on a photo. |
2427 | - If installed, GIMP and UFRaw are the default external editors for photo and RAW editing, |
2428 | - respectively. If these programs are not installed, you must select your preferred |
2429 | - editors by choosing <guiseq><gui>Edit</gui><gui>Preferences</gui></guiseq> and selecting |
2430 | - editors from drop-down menus of installed applications. |
2431 | - </p> |
2432 | - |
2433 | - <p> |
2434 | - Once your editors have been set, select a photo and choose <guiseq><gui>Photos</gui> |
2435 | - <gui>Open With External Editor</gui></guiseq> to open the photo with the external editor. |
2436 | - Likewise, if the original photo is a RAW file, select <guiseq><gui>Photos</gui><gui>Open |
2437 | - With RAW Editor</gui></guiseq> to edit the RAW file directly with the set RAW editor. |
2438 | - </p> |
2439 | - |
2440 | - <p> |
2441 | - When you complete your edits and save the file, Shotwell will detect the changes and |
2442 | - update the photo. When external edits have been made, press and hold the |
2443 | - <key>Shift</key> key in full-window view to show the original photo rather than the |
2444 | - externally-edited one. |
2445 | - </p> |
2446 | - |
2447 | - <p> |
2448 | - Reverting to original will erase any external edits. |
2449 | - </p> |
2450 | - |
2451 | - <note> |
2452 | - <p> |
2453 | - If you externally edit a RAW photo and save the result to another image, such as a |
2454 | - JPEG or PNG, Shotwell cannot automatically determine that the original RAW and the |
2455 | - new image should be paired. |
2456 | - </p> |
2457 | - |
2458 | - <p> |
2459 | - If you want to work within the resulting image within Shotwell, you'll need to |
2460 | - import it yourself. |
2461 | - </p> |
2462 | - </note> |
2463 | -</page> |
2464 | |
2465 | === removed file 'help/C/edit-nondestructive.page' |
2466 | --- help/C/edit-nondestructive.page 2011-08-22 20:44:14 +0000 |
2467 | +++ help/C/edit-nondestructive.page 1970-01-01 00:00:00 +0000 |
2468 | @@ -1,22 +0,0 @@ |
2469 | -<page xmlns="http://projectmallard.org/1.0/" |
2470 | - type="guide" |
2471 | - id="edit-nondestructive"> |
2472 | - |
2473 | - <info> |
2474 | - <link type="guide" xref="index#edit"/> |
2475 | - <desc>Shotwell is a non-destructive photo editor - it does not modify your original photos.</desc> |
2476 | - |
2477 | - <link type="next" xref="edit-time-date" /> |
2478 | - </info> |
2479 | - |
2480 | - <title>What happens to the original when I edit a photo?</title> |
2481 | - |
2482 | -<p>Shotwell is a non-destructive photo editor. It does not modify your original photographs. That is to say, if you crop a photo or adjust its colors, the photo file on disc remains untouched. Shotwell stores your edits in a database and applies them on the fly as necessary. This means you can undo any alterations you make to a photograph.</p> |
2483 | - |
2484 | -<p>If you want to see what a photo looked like before your modifications, press the <key>Shift</key> key. The original photo will be displayed as long as you hold the key down.</p> |
2485 | - |
2486 | -<p>Note that Shotwell can optionally write metadata (such as tags and titles) to photo files. |
2487 | -For more information, see the section <link xref="other-files">Photo files</link>.</p> |
2488 | - |
2489 | -</page> |
2490 | - |
2491 | |
2492 | === removed file 'help/C/edit-redeye.page' |
2493 | --- help/C/edit-redeye.page 2011-08-22 20:44:14 +0000 |
2494 | +++ help/C/edit-redeye.page 1970-01-01 00:00:00 +0000 |
2495 | @@ -1,26 +0,0 @@ |
2496 | -<page xmlns="http://projectmallard.org/1.0/" |
2497 | - type="guide" |
2498 | - id="edit-redeye"> |
2499 | - |
2500 | - <info> |
2501 | - <link type="guide" xref="index#edit"/> |
2502 | - <desc>Correct photos where people have red eyes because of the camera's flash.</desc> |
2503 | - |
2504 | - <link type="next" xref="edit-rotate" /> |
2505 | - </info> |
2506 | - |
2507 | - <title>Removing red-eye</title> |
2508 | - |
2509 | - <p>Red-eye occurs when the camera's flash reflects off the pupil of someone's eye. To eliminate this in a photo, use the Red-eye tool.</p> |
2510 | - <steps> |
2511 | - <item> |
2512 | - <p>Click <gui>Red-eye</gui>. A circle will appear on the photo.</p> |
2513 | - </item> |
2514 | - <item> |
2515 | - <p>Drag the circle over the affected pupil, adjust its size with the slider control, and press <gui>Apply</gui>. The redness will be removed.</p> |
2516 | - </item> |
2517 | - <item> |
2518 | - <p>Repeat this process for all red pupils in your photo. Press <gui>Close</gui> when finished.</p> |
2519 | - </item> |
2520 | - </steps> |
2521 | -</page> |
2522 | |
2523 | === removed file 'help/C/edit-rotate.page' |
2524 | --- help/C/edit-rotate.page 2012-04-03 01:14:09 +0000 |
2525 | +++ help/C/edit-rotate.page 1970-01-01 00:00:00 +0000 |
2526 | @@ -1,27 +0,0 @@ |
2527 | -<page xmlns="http://projectmallard.org/1.0/" |
2528 | - type="guide" |
2529 | - id="edit-rotate"> |
2530 | - |
2531 | - <info> |
2532 | - <link type="guide" xref="index#edit"/> |
2533 | - <desc>Click the <gui>Rotate</gui> button, or choose one of the commands in the <gui>Photo</gui> menu.</desc> |
2534 | - |
2535 | - <link type="next" xref="edit-straighten" /> |
2536 | - </info> |
2537 | - |
2538 | - <title>Rotate or flip a photo</title> |
2539 | - |
2540 | - <p>You can rotate your photos left and right (clockwise and counterclockwise) with the <gui>Rotate</gui> button on the toolbar of most views. You can also make a mirror image of any photo.</p> |
2541 | - |
2542 | - <p>To rotate right, click on the <gui>Rotate</gui> button. To rotate left, press and hold the <key>Ctrl</key> key and then click the button. Both commands are available in the <gui>Photos</gui> menu too. Alternatively, use the following keyboard shortcuts:</p> |
2543 | - <list> |
2544 | - <item><p>rotate left: <keyseq><key>Shift</key><key>Ctrl</key><key>R</key></keyseq> or <key>[</key></p></item> |
2545 | - <item><p>rotate right: <keyseq><key>Ctrl</key><key>R</key></keyseq> or <key>]</key></p></item> |
2546 | - </list> |
2547 | - <p>To create a mirror image of a photo, use the <gui>Flip Horizontally</gui> command in the <gui>Photos</gui> menu. To flip an image vertically, use the <gui>Flip Vertically</gui> command in the same menu.</p> |
2548 | - |
2549 | - <note> |
2550 | - <p>If you select more than one image, you can rotate all of them at the same time.</p> |
2551 | - </note> |
2552 | - |
2553 | -</page> |
2554 | |
2555 | === removed file 'help/C/edit-straighten.page' |
2556 | --- help/C/edit-straighten.page 2012-04-03 01:14:09 +0000 |
2557 | +++ help/C/edit-straighten.page 1970-01-01 00:00:00 +0000 |
2558 | @@ -1,28 +0,0 @@ |
2559 | -<page xmlns="http://projectmallard.org/1.0/" |
2560 | - type="guide" |
2561 | - id="edit-straighten"> |
2562 | - |
2563 | - <info> |
2564 | - <link type="guide" xref="index#edit"/> |
2565 | - <desc>Straighten a photo so that its horizon appears level.</desc> |
2566 | - |
2567 | - <link type="next" xref="edit-undo" /> |
2568 | - </info> |
2569 | - |
2570 | - <title>Straighten photos</title> |
2571 | - |
2572 | -<p>The straighten tools allows photos to be leveled and straightened. The straighten tool is only available in full-window or fullscreen mode. </p> |
2573 | - |
2574 | - <steps> |
2575 | - <item> |
2576 | - <p>Click <gui>Straighten</gui>. The straighten slider will appear. Alternatively, use the keyboard shortcut <keyseq><key>Ctrl</key><key>A</key></keyseq>.</p> |
2577 | - </item> |
2578 | - <item> |
2579 | - <p>Drag the slider to achieve the desired degree of straightening.</p> |
2580 | - </item> |
2581 | - <item> |
2582 | - <p>Press <gui>OK</gui> when finished.</p> |
2583 | - </item> |
2584 | - </steps> |
2585 | - |
2586 | -</page> |
2587 | |
2588 | === removed file 'help/C/edit-time-date.page' |
2589 | --- help/C/edit-time-date.page 2011-08-22 20:44:14 +0000 |
2590 | +++ help/C/edit-time-date.page 1970-01-01 00:00:00 +0000 |
2591 | @@ -1,21 +0,0 @@ |
2592 | -<page xmlns="http://projectmallard.org/1.0/" |
2593 | - type="guide" |
2594 | - id="edit-time-date"> |
2595 | - |
2596 | - <info> |
2597 | - <link type="guide" xref="index#edit"/> |
2598 | - <desc>Change the time and date of photos if those details are incorrect.</desc> |
2599 | - |
2600 | - <link type="next" xref="edit-enhance" /> |
2601 | - </info> |
2602 | - |
2603 | - <title>Adjust the time and date of photos</title> |
2604 | - |
2605 | -<p>To adjust the time and date of photos, select the photos you would like to adjust, choose <guiseq><gui>Photos</gui><gui>Adjust Time and Date</gui></guiseq> and select a new time and date.</p> |
2606 | - |
2607 | -<p>If you are changing the date and time of multiple photos at once, you can choose to shift all the photos by the same amount of time or to set all the photos to the same time.</p> |
2608 | - |
2609 | -<p>By default, the time and date are only changed inside Shotwell. You can also choose to modify the time and date in the original file, but this cannot be undone once you exit Shotwell.</p> |
2610 | - |
2611 | -</page> |
2612 | - |
2613 | |
2614 | === removed file 'help/C/edit-undo.page' |
2615 | --- help/C/edit-undo.page 2011-08-22 20:44:14 +0000 |
2616 | +++ help/C/edit-undo.page 1970-01-01 00:00:00 +0000 |
2617 | @@ -1,22 +0,0 @@ |
2618 | -<page xmlns="http://projectmallard.org/1.0/" |
2619 | - type="guide" |
2620 | - id="edit-undo"> |
2621 | - |
2622 | - <info> |
2623 | - <link type="guide" xref="index#edit"/> |
2624 | - <desc>Return a photo to its original, unedited form.</desc> |
2625 | - |
2626 | - <link type="seealso" xref="edit-nondestructive" /> |
2627 | - |
2628 | - <link type="next" xref="edit-nondestructive" /> |
2629 | - </info> |
2630 | - |
2631 | - <title>Undoing changes</title> |
2632 | - |
2633 | - <p>Because Shotwell is a non-destructive photo editor, you can undo any alterations you make to a photograph.</p> |
2634 | - |
2635 | - <p>If you want to see what a photo looked like before your modifications, press the <key>Shift</key> key. The original photo will be displayed as long as you hold the key down.</p> |
2636 | - |
2637 | - <p>To completely undo all the changes you've made to a photo, click <guiseq><gui>Photos</gui><gui>Revert to Original</gui></guiseq>. The only exception is that time and date adjustments will not be reverted.</p> |
2638 | - |
2639 | -</page> |
2640 | |
2641 | === removed directory 'help/C/figures' |
2642 | === removed file 'help/C/figures/crop_thirds.jpg' |
2643 | Binary files help/C/figures/crop_thirds.jpg 2010-08-26 18:55:49 +0000 and help/C/figures/crop_thirds.jpg 1970-01-01 00:00:00 +0000 differ |
2644 | === removed file 'help/C/figures/edit_toolbar.png' |
2645 | Binary files help/C/figures/edit_toolbar.png 2010-08-20 01:34:02 +0000 and help/C/figures/edit_toolbar.png 1970-01-01 00:00:00 +0000 differ |
2646 | === removed file 'help/C/figures/editing_overview.png' |
2647 | Binary files help/C/figures/editing_overview.png 2010-08-20 01:34:02 +0000 and help/C/figures/editing_overview.png 1970-01-01 00:00:00 +0000 differ |
2648 | === removed file 'help/C/figures/shotwell_logo.png' |
2649 | Binary files help/C/figures/shotwell_logo.png 2010-08-20 01:34:02 +0000 and help/C/figures/shotwell_logo.png 1970-01-01 00:00:00 +0000 differ |
2650 | === removed file 'help/C/figures/trash_process.png' |
2651 | Binary files help/C/figures/trash_process.png 2010-08-20 01:34:02 +0000 and help/C/figures/trash_process.png 1970-01-01 00:00:00 +0000 differ |
2652 | === removed file 'help/C/formats.page' |
2653 | --- help/C/formats.page 2011-09-02 19:02:26 +0000 |
2654 | +++ help/C/formats.page 1970-01-01 00:00:00 +0000 |
2655 | @@ -1,35 +0,0 @@ |
2656 | -<page xmlns="http://projectmallard.org/1.0/" |
2657 | - type="guide" |
2658 | - id="formats"> |
2659 | - |
2660 | - <info> |
2661 | - <link type="guide" xref="index"/> |
2662 | - <desc>Shotwell supports JPEG, PNG, TIFF, BMP and RAW photo files as well as video files.</desc> |
2663 | - |
2664 | - <link type="next" xref="running" /> |
2665 | - </info> |
2666 | - |
2667 | - <title>Supported photo and video formats</title> |
2668 | - |
2669 | - <p>Shotwell supports JPEG, PNG, TIFF, BMP and <link type="guide" xref="other-raw">RAW</link> photo files. Shotwell does not yet support other graphics format such as GIF.</p> |
2670 | - |
2671 | -<p>Shotwell's RAW format support is currently limited. When you view a RAW photo, you are actually viewing a JPEG derived from the RAW photo, not the RAW image itself. Additionally, the RAW editing pipeline is not fully 16-bit - you can only export edited photos as 8-bit files. All supported formats can be used for export (JPEG, PNG, TIFF, BMP).</p> |
2672 | - |
2673 | -<p>For more information about RAW-format photos in Shotwell, please see |
2674 | -the <link type="guide" xref="other-raw">RAW</link> section. |
2675 | -</p> |
2676 | - |
2677 | -<p>Shotwell also supports video files in any format supported by the GStreamer media library on the system where |
2678 | -Shotwell is running. This typically includes the following formats among others:</p> |
2679 | -<list> |
2680 | -<item><p>Container formats: Ogg, QuickTime, MP4, AVI.</p></item> |
2681 | -<item><p>Codecs: Theora, Quicktime, MPEG-4, Motion JPEG. <em>Note that some operating systems may not include all |
2682 | -codecs listed here due to legal or licensing restrictions.</em></p></item> |
2683 | -</list> |
2684 | - |
2685 | -<p>Shotwell supports both photos and videos, but for simplicity, this documentation uses just the term "photos" |
2686 | -in most places. Many operations in Shotwell apply to both photos and videos, however. In particular, events, |
2687 | -flagging, rating, tagging, and publishing work both for photos and for videos.</p> |
2688 | - |
2689 | -</page> |
2690 | - |
2691 | |
2692 | === removed file 'help/C/import-camera.page' |
2693 | --- help/C/import-camera.page 2011-08-22 20:44:14 +0000 |
2694 | +++ help/C/import-camera.page 1970-01-01 00:00:00 +0000 |
2695 | @@ -1,33 +0,0 @@ |
2696 | -<page xmlns="http://projectmallard.org/1.0/" |
2697 | - type="guide" |
2698 | - id="import-camera"> |
2699 | - |
2700 | - <info> |
2701 | - <link type="guide" xref="index#import"/> |
2702 | - <desc>Copy photos from a digital camera.</desc> |
2703 | - |
2704 | - <link type="next" xref="import-memorycard"/> |
2705 | - </info> |
2706 | - |
2707 | - <title>Importing from a camera</title> |
2708 | - |
2709 | - <p>To import photos from a digital camera:</p> |
2710 | - |
2711 | - <steps> |
2712 | - <item> |
2713 | - <p>Connect the camera to your computer and switch it on. |
2714 | - Shotwell will detect it and list it in the sidebar.</p> |
2715 | - </item> |
2716 | - <item> |
2717 | - <p>Select the camera in the sidebar. Previews of each photo on the camera will be displayed.</p> |
2718 | - </item> |
2719 | - <item> |
2720 | - <p>If you like, you can choose a set of specific photos to import. To do this, hold down the <key>Ctrl</key> key and click to select individual photos. You can hold down <key>Shift</key> and click to select a range of photos too.</p> |
2721 | - </item> |
2722 | - <item> |
2723 | - <p>Click either <gui>Import Selected</gui> or <gui>Import All</gui>. The photos will be copied from the camera and saved on your computer.</p> |
2724 | - </item> |
2725 | - </steps> |
2726 | - |
2727 | - <p>Once the import is complete, you can open the <gui>Last Import</gui> view (in the sidebar) to see all photos that were imported. The Events list (also in the sidebar) will also show the new photos, organized by date.</p> |
2728 | -</page> |
2729 | |
2730 | === removed file 'help/C/import-f-spot.page' |
2731 | --- help/C/import-f-spot.page 2011-08-22 20:44:14 +0000 |
2732 | +++ help/C/import-f-spot.page 1970-01-01 00:00:00 +0000 |
2733 | @@ -1,22 +0,0 @@ |
2734 | -<page xmlns="http://projectmallard.org/1.0/" |
2735 | - type="guide" |
2736 | - id="import-f-spot"> |
2737 | - |
2738 | - <info> |
2739 | - <link type="guide" xref="index#import"/> |
2740 | - <desc>Shotwell can import all your photos and tags from the F-Spot photo manager.</desc> |
2741 | - |
2742 | - <link type="next" xref="import-camera"/> |
2743 | - </info> |
2744 | - |
2745 | - <title>Importing from F-Spot</title> |
2746 | - |
2747 | - <p>To import an existing photo collection from F-Spot:</p> |
2748 | - <steps> |
2749 | - <item><p>Select <guiseq><gui>File</gui><gui>Import From F-Spot</gui></guiseq>. </p></item> |
2750 | - <item><p>Now choose either the default F-Spot library or another F-Spot database. |
2751 | - If importing from another F-Spot database, select a directory and file from the chooser dialog box.</p></item> |
2752 | - </steps> |
2753 | - <p>Shotwell will import your photos, together with their tags and other information. |
2754 | - Once the import is complete, you can select <gui>Last Import</gui> in the sidebar to see all photos successfully imported. The Events list will also show new entries for the dates corresponding to the imported photos.</p> |
2755 | -</page> |
2756 | |
2757 | === removed file 'help/C/import-file.page' |
2758 | --- help/C/import-file.page 2011-09-08 00:16:45 +0000 |
2759 | +++ help/C/import-file.page 1970-01-01 00:00:00 +0000 |
2760 | @@ -1,24 +0,0 @@ |
2761 | -<page xmlns="http://projectmallard.org/1.0/" |
2762 | - type="guide" |
2763 | - id="import-file"> |
2764 | - |
2765 | - <info> |
2766 | - <link type="guide" xref="index#import"/> |
2767 | - <desc>Import photos that are already saved on your computer.</desc> |
2768 | - |
2769 | - <link type="next" xref="import-f-spot"/> |
2770 | - </info> |
2771 | - |
2772 | - <title>Importing from your hard disk</title> |
2773 | - |
2774 | - <p>To import photo files from your hard disk into Shotwell, just drag them from your file browser into the Shotwell window.</p> |
2775 | - |
2776 | - <p>Alternatively, click <guiseq><gui>File</gui><gui>Import From Folder</gui></guiseq> and select the folder containing the photos you want to import.</p> |
2777 | - |
2778 | - <p>Shotwell will ask whether you want to copy the photo files to your library folder (usually this is the <file>Pictures</file> folder in your home directory) or to import them in place without copying the files.</p> |
2779 | - |
2780 | - <p>If you hold down <key>Ctrl</key> while dragging photos in, Shotwell will copy the photos into your library folder without prompting. Similarly, if you hold down <keyseq><key>Ctrl</key><key>Shift</key></keyseq> while dragging photos in, Shotwell will import the photos without copying them.</p> |
2781 | - |
2782 | - <p>Once the import is complete, you can select <gui>Last Import</gui> in the sidebar to see all photos successfully imported. The Events list will also show new entries for the dates corresponding to the imported photos.</p> |
2783 | - |
2784 | -</page> |
2785 | |
2786 | === removed file 'help/C/import-memorycard.page' |
2787 | --- help/C/import-memorycard.page 2011-08-22 20:44:14 +0000 |
2788 | +++ help/C/import-memorycard.page 1970-01-01 00:00:00 +0000 |
2789 | @@ -1,32 +0,0 @@ |
2790 | -<page xmlns="http://projectmallard.org/1.0/" |
2791 | - type="guide" |
2792 | - id="import-memorycard"> |
2793 | - |
2794 | - <info> |
2795 | - <link type="guide" xref="index#import"/> |
2796 | - <desc>Import photos from a digital camera's memory card.</desc> |
2797 | - |
2798 | - <link type="next" xref="import-file"/> |
2799 | - </info> |
2800 | - |
2801 | - <title>Importing from a memory card</title> |
2802 | - |
2803 | -<p>To import photos from a camera memory card:</p> |
2804 | - |
2805 | -<steps> |
2806 | - <item> |
2807 | - <p>Put the card into your card reader. Make sure the card reader is plugged in to the computer and switched on.</p> |
2808 | - </item> |
2809 | - <item> |
2810 | - <p>The card reader and card should be detected automatically.</p> |
2811 | - </item> |
2812 | - <item> |
2813 | - <p>Follow the instructions for <link xref="import-file">importing photos from your hard disk</link>. If you click <guiseq><gui>File</gui><gui>Import From Folder</gui></guiseq>, the memory card should be visible as a folder in the side bar of the file selection window.</p> |
2814 | - </item> |
2815 | -</steps> |
2816 | - |
2817 | -<p>Shotwell can import photos from any memory card that is compatible with your card reader.</p> |
2818 | - |
2819 | -<p>If the card is not detected automatically, your card reader may not have been recognized. Try unplugging it and then plugging it in again. If that doesn't work, you should still be able to import photos by <link xref="import-camera">connecting your camera directly to the computer</link>, though.</p> |
2820 | - |
2821 | -</page> |
2822 | |
2823 | === removed file 'help/C/index.page' |
2824 | --- help/C/index.page 2010-12-23 01:39:32 +0000 |
2825 | +++ help/C/index.page 1970-01-01 00:00:00 +0000 |
2826 | @@ -1,48 +0,0 @@ |
2827 | -<page xmlns="http://projectmallard.org/1.0/" |
2828 | - type="guide" |
2829 | - id="index"> |
2830 | - |
2831 | - <info> |
2832 | - <title type="link">Shotwell</title> |
2833 | - <title type="text">Shotwell</title> |
2834 | - <credit type="author"> |
2835 | - <name>Jim Nelson</name> |
2836 | - <email>jim@yorba.org</email> |
2837 | - <name>Allison Barlow</name> |
2838 | - <email>allison@yorba.org</email> |
2839 | - <name>Robert Ancell</name> |
2840 | - <email>robert.ancell@canonical.com</email> |
2841 | - <name>Peter Smith</name> |
2842 | - <email>pdo.smith@gmail.com</email> |
2843 | - <name>Phil Bull</name> |
2844 | - <email>philbull@gmail.com</email> |
2845 | - </credit> |
2846 | - </info> |
2847 | - |
2848 | - |
2849 | - <title><media type="image" src="figures/shotwell_logo.png"></media>Shotwell Photo Manager</title> |
2850 | - |
2851 | - <section id="import" style="2column"> |
2852 | - <title>Importing Photos</title> |
2853 | - </section> |
2854 | - |
2855 | - <section id="view" style="2column"> |
2856 | - <title>Viewing Photos</title> |
2857 | - </section> |
2858 | - |
2859 | - <section id="organize" style="2column"> |
2860 | - <title>Organizing Photos</title> |
2861 | - </section> |
2862 | - |
2863 | - <section id="edit" style="2column"> |
2864 | - <title>Editing Photos</title> |
2865 | - </section> |
2866 | - |
2867 | - <section id="share" style="2column"> |
2868 | - <title>Sharing Photos</title> |
2869 | - </section> |
2870 | - |
2871 | - <section id="other" style="2column"> |
2872 | - <title>Other Features</title> |
2873 | - </section> |
2874 | -</page> |
2875 | |
2876 | === removed file 'help/C/organize-event.page' |
2877 | --- help/C/organize-event.page 2011-08-22 20:44:14 +0000 |
2878 | +++ help/C/organize-event.page 1970-01-01 00:00:00 +0000 |
2879 | @@ -1,60 +0,0 @@ |
2880 | -<page xmlns="http://projectmallard.org/1.0/" |
2881 | - type="guide" |
2882 | - id="event"> |
2883 | - |
2884 | - <info> |
2885 | - <link type="guide" xref="index#organize"/> |
2886 | - <desc>Group photos together that were taken at the same time. Learn how to rename, merge, and sort events.</desc> |
2887 | - |
2888 | - <link type="next" xref="flag"/> |
2889 | - </info> |
2890 | - |
2891 | - <title>Events</title> |
2892 | - |
2893 | - <p>An event is a group of photos that were taken at approximately the same time. When you import photos, Shotwell checks when each photo was taken. It then groups the photos into events.</p> |
2894 | - |
2895 | - <p>Choose <gui>Events</gui> from the sidebar to see your photos organized by date. If you select a month or year from the sidebar, a list of events will be displayed in the main window. Double-click an event to see all the photos that were taken around that time.</p> |
2896 | - |
2897 | - <p>If a photo has no embedded date/time information, then Shotwell can't automatically |
2898 | - place it in any event. In this case the photo will appear in the <gui>No Event</gui> |
2899 | - view accessible from the sidebar. You can still move the photo to any event you like |
2900 | - as described below. |
2901 | - </p> |
2902 | - |
2903 | - <section> |
2904 | - <title>Renaming events</title> |
2905 | - |
2906 | - <p>To give an event a name rather than referring to it by its date, select the event, click <guiseq><gui>Edit</gui><gui>Rename Event</gui></guiseq> and enter a new name. Another way of renaming an event is to double-click its name in the sidebar; type a new name and then press <key>Enter</key>.</p> |
2907 | - </section> |
2908 | - |
2909 | - <section> |
2910 | - <title>Moving photos between events</title> |
2911 | - |
2912 | - <p>Even though photos are initially grouped into events by their date, you can move photos between events. To do this, drag any photo to the sidebar and drop it on an event.</p> |
2913 | - </section> |
2914 | - |
2915 | - <section> |
2916 | - <title>Creating and merging events</title> |
2917 | - <p>To create a new event, select the photos you would like in the new event and click <guiseq><gui>Events</gui><gui>New Event</gui></guiseq>.</p> |
2918 | - <p>To merge events, select <guiseq><gui>Events</gui></guiseq> from the sidebar, then, while holding down <key>Ctrl</key> click on the events you want to merge in the main window area. Finally, click <guiseq><gui>Events</gui><gui>Merge Events</gui></guiseq>.</p> |
2919 | - </section> |
2920 | - |
2921 | - <section> |
2922 | - <title>Sorting events</title> |
2923 | - |
2924 | - <p>Events are displayed in a tree in the sidebar, organized by the year and month of the earliest photo in the event. |
2925 | - To change the event sort order, click <guiseq><gui>View</gui><gui>Sort Events</gui></guiseq> and select either ascending or descending.</p> |
2926 | - |
2927 | - </section> |
2928 | - |
2929 | - <section> |
2930 | - <title>Change the photo used to represent each event</title> |
2931 | - |
2932 | - <p>If you select the Events item in the sidebar, you'll see a single photo which represents each event. This is called the key photo.</p> |
2933 | - |
2934 | - <p>By default, Shotwell uses the first photo in each event as its key photo. |
2935 | - To use a different key photo, select the photo and choose <guiseq><gui>Photos</gui><gui>Make Key Photo for Event</gui></guiseq>.</p> |
2936 | - |
2937 | - </section> |
2938 | - |
2939 | -</page> |
2940 | |
2941 | === removed file 'help/C/organize-flag.page' |
2942 | --- help/C/organize-flag.page 2011-08-22 20:44:14 +0000 |
2943 | +++ help/C/organize-flag.page 1970-01-01 00:00:00 +0000 |
2944 | @@ -1,35 +0,0 @@ |
2945 | -<page xmlns="http://projectmallard.org/1.0/" |
2946 | - type="guide" |
2947 | - id="flag"> |
2948 | - |
2949 | - <info> |
2950 | - <link type="guide" xref="index#organize"/> |
2951 | - <desc>Flag photos to mark them as special or to work with them as a set.</desc> |
2952 | - |
2953 | - <link type="next" xref="rating"/> |
2954 | - </info> |
2955 | - |
2956 | - <title>Flagging photos</title> |
2957 | - |
2958 | - <p>Shotwell lets you <em>flag</em> photos. When a photo is flagged, a small flag icon |
2959 | - appears in its upper right corner. You can select the <gui>Flagged</gui> item in the sidebar to see |
2960 | - all photos which have been flagged.</p> |
2961 | - |
2962 | - <p>Flagging a photo marks it as special. You can interpret this in any way you like. For example, |
2963 | - you might flag all photos which need visual |
2964 | - adjustment, or all photos which you want to share with a friend.</p> |
2965 | - |
2966 | - <p>Flagging |
2967 | - is also useful because you can operate on all flagged photos as a set. For example, you can |
2968 | - select the <gui>Flagged</gui> view and then upload all flagged photos to a publishing service.</p> |
2969 | - |
2970 | - <section> |
2971 | - <title>To flag or unflag a photo</title> |
2972 | - <p> |
2973 | - To flag or unflag a photo, right-click the photo and choose <gui>Flag</gui> or <gui>Unflag</gui> |
2974 | - from the context menu. Or use the <keyseq><key>Ctrl</key><key>G</key></keyseq> or <key>/</key> |
2975 | - shortcut keys. |
2976 | - </p> |
2977 | - </section> |
2978 | - |
2979 | -</page> |
2980 | |
2981 | === removed file 'help/C/organize-rating.page' |
2982 | --- help/C/organize-rating.page 2011-08-22 20:44:14 +0000 |
2983 | +++ help/C/organize-rating.page 1970-01-01 00:00:00 +0000 |
2984 | @@ -1,30 +0,0 @@ |
2985 | -<page xmlns="http://projectmallard.org/1.0/" |
2986 | - type="guide" |
2987 | - id="rating"> |
2988 | - |
2989 | - <info> |
2990 | - <link type="guide" xref="index#organize"/> |
2991 | - <desc>Give photos a rating between 1 and 5 stars. You can reject bad photos, hiding them from view.</desc> |
2992 | - |
2993 | - <link type="next" xref="delete"/> |
2994 | - </info> |
2995 | - |
2996 | - <title>Ratings</title> |
2997 | -<p>You can assign each photo a rating from 1-5 stars, or may alternatively rate it as Rejected, in which case Shotwell will hide the photo by default.</p> |
2998 | - |
2999 | -<p>You can rate a photo or a set of photos in any of these ways:</p> |
3000 | - |
3001 | -<list> |
3002 | -<item><p>Select the photo(s), then choose a rating from the top-level <guiseq><gui>Photos</gui><gui>Set Rating</gui></guiseq> menu.</p></item> |
3003 | -<item><p>Right-click on the photo(s), then choose a rating from the Set Rating context menu.</p></item> |
3004 | -<item><p>Select the photo(s), then press any of the shortcut keys <key>1</key>, <key>2</key>, <key>3</key>, <key>4</key> or <key>5</key> to assign a rating. Or press <key>9</key> to mark the photo(s) as rejected or <key>0</key> to clear the rating(s).</p></item> |
3005 | -</list> |
3006 | - |
3007 | -<p> |
3008 | -Normally Shotwell displays all photos except rejected photos. You can set a different rating filter using the <guiseq><gui>View</gui><gui>Filter Photos</gui></guiseq> menu - for example, you can display only photos rated with 3 stars or higher, or you can display all photos including those marked rejected. The Shotwell icon on the toolbar displays the current rating filter and can also be used to set the filter.</p> |
3009 | - |
3010 | -<p>Shotwell normally displays each photo's rating in its lower left-hand corner. You can turn off the display of ratings using the <guiseq><gui>View</gui><gui>Ratings</gui></guiseq> menu item.</p> |
3011 | - |
3012 | -<p>You can increase or decrease a photo's rating using the <guiseq><gui>Set Rating</gui><gui>Increase</gui></guiseq> and <guiseq><gui>Set Rating</gui><gui>Decrease</gui></guiseq> commands, or the keyboard shortcuts <key><</key> and <key>></key>. </p> |
3013 | -</page> |
3014 | - |
3015 | |
3016 | === removed file 'help/C/organize-remove.page' |
3017 | --- help/C/organize-remove.page 2011-08-22 20:44:14 +0000 |
3018 | +++ help/C/organize-remove.page 1970-01-01 00:00:00 +0000 |
3019 | @@ -1,45 +0,0 @@ |
3020 | -<page xmlns="http://projectmallard.org/1.0/" |
3021 | - type="guide" |
3022 | - id="delete"> |
3023 | - |
3024 | - <info> |
3025 | - <link type="guide" xref="index#organize"/> |
3026 | - <desc>Remove photos from the library, or delete them from your computer entirely.</desc> |
3027 | - |
3028 | - <link type="next" xref="search"/> |
3029 | - </info> |
3030 | - |
3031 | - <title>Removing and deleting photos</title> |
3032 | - |
3033 | - <p>You may remove photos from your library and you may additionally delete them entirely from your hard disk.</p> |
3034 | -<media type="image" src="figures/trash_process.png">Delete process</media> |
3035 | -<p>This diagram shows how a photo, when deleted, is first put into Shotwell's trash. If you delete it from Shotwell's trash, it is put into your computer's trash. If you delete it from your computer's trash the photo is finally and irretrievably deleted from your computer.</p> |
3036 | -<section id="delete-remove"> |
3037 | - <title>Removing photos from the library</title> |
3038 | - <p>Select the photos to remove and choose <guiseq><gui>Edit</gui><gui>Move to Trash</gui></guiseq>. |
3039 | - (You can also press the <key>Delete</key> key.) |
3040 | - The photos will be moved from your library to Shotwell's Trash.</p> |
3041 | - <p>If you want to remove photos from Shotwell without having them pass through the trash, simply select the photos to be removed and choose <guiseq><gui>Edit</gui><gui>Remove From Library</gui></guiseq>. The photo files will be left in place on disk.</p> |
3042 | -</section> |
3043 | - |
3044 | -<section id="delete-empty"> |
3045 | - <title>Emptying or restoring the trash folder</title> |
3046 | - <p>Select the Trash entry in the Sidebar and Shotwell will display all photos that have been marked for removal or deletion. In the Trash view, the following commands are available:</p> |
3047 | - <terms> |
3048 | - <item><title>Delete</title><p>Delete the selected photos from the trash folder.</p></item> |
3049 | - <item><title>Restore</title><p>Restore the selected photos into Shotwell.</p></item> |
3050 | - <item><title>Empty trash</title><p>Delete all photos from the trash folder.</p></item> |
3051 | - </terms> |
3052 | -</section> |
3053 | - |
3054 | -<section id="delete-trash"> |
3055 | - <title>Deleting or emptying Trash</title> |
3056 | - <p>When you delete files from the Trash folder or empty the Trash folder, you will be given the following choices:</p> |
3057 | - <terms> |
3058 | - <item><title>Only Remove</title><p>Remove photos from the library but leave the photos in their location on the computer.</p></item> |
3059 | - <item><title>Trash file</title><p>Remove photos from the library and delete them from the computer.</p></item> |
3060 | - <item><title>Cancel</title><p>Do nothing.</p></item> |
3061 | - </terms> |
3062 | -</section> |
3063 | - |
3064 | -</page> |
3065 | |
3066 | === removed file 'help/C/organize-search.page' |
3067 | --- help/C/organize-search.page 2011-08-22 20:44:14 +0000 |
3068 | +++ help/C/organize-search.page 1970-01-01 00:00:00 +0000 |
3069 | @@ -1,63 +0,0 @@ |
3070 | -<page xmlns="http://projectmallard.org/1.0/" |
3071 | - type="guide" |
3072 | - id="search"> |
3073 | - |
3074 | - <info> |
3075 | - <link type="guide" xref="index#organize"/> |
3076 | - <desc>Find photos and videos in your collection by a variety of criteria.</desc> |
3077 | - |
3078 | - <link type="next" xref="tag"/> |
3079 | - </info> |
3080 | - |
3081 | - <title>Searching</title> |
3082 | - |
3083 | - <p> |
3084 | - There are two ways to search in Shotwell: the filter toolbar, and with a saved search. The search |
3085 | - bar allows you to quickly search the current view for certain criteria. Saved Searches feature |
3086 | - more complex search criteria and persist in the sidebar between sessions. |
3087 | - </p> |
3088 | - |
3089 | - <section id="searchbar"> |
3090 | - <title>Search bar</title> |
3091 | - <p> |
3092 | - The <guiseq><gui>View</gui><gui>Search Bar</gui></guiseq> checkbox toggles the display of the |
3093 | - search bar. You can also hit <keyseq><key>Ctrl</key><key>F</key></keyseq> or <key>F8</key> to |
3094 | - bring up the search bar. From this bar, you can find, show and hide photos and videos based on |
3095 | - title, tag, rating or other options. |
3096 | - </p> |
3097 | - |
3098 | - <p> |
3099 | - To begin searching, simply enter a search keyword in the text box, or click on <gui>Flagged</gui>, |
3100 | - <gui>Rating</gui> or <gui>Type</gui>. The text search matches your keywords across tag names, |
3101 | - photo or video titles and photos' original filenames. The <gui>Flagged</gui>, |
3102 | - <gui>Rating</gui> and <gui>Type</gui> buttons allow you to filter your collection by |
3103 | - whether photos are flagged, their current number of stars, and whether the items shown are |
3104 | - images, videos, or raw camera files, respectively. |
3105 | - </p> |
3106 | - |
3107 | - <p> |
3108 | - Disabling the search bar or exiting Shotwell automatically resets the search bar. |
3109 | - </p> |
3110 | - </section> |
3111 | - |
3112 | - <section id="savedsearch"> |
3113 | - <title>Saved search</title> |
3114 | - <p> |
3115 | - A saved search persists across Shotwell sessions, and is updated as photos and videos are added |
3116 | - and removed from your Shotwell library. |
3117 | - </p> |
3118 | - |
3119 | - <p> |
3120 | - Create a new saved search with <guiseq><gui>Edit</gui><gui>New Search</gui></guiseq> or by hitting |
3121 | - <keyseq><key>Ctrl</key><key>S</key></keyseq>. The dialog box allows you to enter a name for the |
3122 | - search and select whether you want to meet Any, All, or None of the criteria in the following rows. |
3123 | - </p> |
3124 | - |
3125 | - <p> |
3126 | - Each row represents a search criterion. Use the + button to add more rows, and the - button to |
3127 | - remove a specific row. The combo box on the left of each row selects the type of criteria. |
3128 | - Criteria must be entered correctly before the OK button becomes available. |
3129 | - </p> |
3130 | - </section> |
3131 | - |
3132 | -</page> |
3133 | |
3134 | === removed file 'help/C/organize-tag.page' |
3135 | --- help/C/organize-tag.page 2011-08-22 20:44:14 +0000 |
3136 | +++ help/C/organize-tag.page 1970-01-01 00:00:00 +0000 |
3137 | @@ -1,94 +0,0 @@ |
3138 | -<page xmlns="http://projectmallard.org/1.0/" |
3139 | - type="guide" |
3140 | - id="tag"> |
3141 | - |
3142 | - <info> |
3143 | - <link type="guide" xref="index#organize"/> |
3144 | - <desc>Organize photos by labelling them.</desc> |
3145 | - |
3146 | - <link type="seealso" xref="event"/> |
3147 | - |
3148 | - <link type="next" xref="title"/> |
3149 | - </info> |
3150 | - |
3151 | - <title>Tagging photos</title> |
3152 | - |
3153 | - <p> |
3154 | - You can assign one or more tags to selected photos. |
3155 | - A tag can be one or more words that you want to associate with |
3156 | - those photos. |
3157 | - </p> |
3158 | - |
3159 | - <p> |
3160 | - To add new tags to photos, select the photos you would like to |
3161 | - tag, then do any of the following: |
3162 | - </p> |
3163 | - |
3164 | - <list> |
3165 | - <item><p>Choose <guiseq><gui>Tags</gui><gui>Add Tags</gui></guiseq>.</p></item> |
3166 | - <item><p>Type <keyseq><key>Ctrl</key><key>T</key></keyseq>.</p></item> |
3167 | - <item><p>Drag the selected photos and drop them on the desired tag.</p></item> |
3168 | - </list> |
3169 | - |
3170 | - <p> |
3171 | - When you use <keyseq><key>Ctrl</key><key>T</key></keyseq> or |
3172 | - <guiseq><gui>Tags</gui><gui>Add Tags</gui></guiseq> you can type |
3173 | - in the names of one or more tags, separated by commas. |
3174 | - Once you have created a tag, you can rename it by selecting that |
3175 | - tag in the sidebar and choosing |
3176 | - <guiseq><gui>Tags</gui><gui>Rename Tag "[name]"</gui></guiseq>, |
3177 | - by rightclicking on it and choose <gui>Rename...</gui> or |
3178 | - double-click on the tag in the sidebar. |
3179 | - </p> |
3180 | - |
3181 | - <p> |
3182 | - To change which tags are associated with a particular photo, |
3183 | - select that photo, choose |
3184 | - <guiseq><gui>Tags</gui><gui>Modify Tags</gui></guiseq> or |
3185 | - right-click on a photo and select <gui>Modify Tags</gui> and |
3186 | - edit the comma separated list. |
3187 | - To remove a tag from one or more photos, first select that tag |
3188 | - in the sidebar, then select the photos you would like to remove, |
3189 | - and choose |
3190 | - <guiseq><gui>Tags</gui><gui>Remove Tag "[name]" from Photos</gui></guiseq> |
3191 | - or right-click on the photos an select |
3192 | - <gui>Remove Tag "[name]" from Photos</gui>. |
3193 | - </p> |
3194 | - |
3195 | - <p> |
3196 | - To delete a tag entirely, select that tag in the sidebar and choose |
3197 | - <guiseq><gui>Tags</gui><gui>Delete Tag "[name]"</gui></guiseq> |
3198 | - or by right-click and select <gui>Delete Tag "[name]"</gui>. |
3199 | - </p> |
3200 | - |
3201 | - <p> |
3202 | - When you create a tag, it will appear in the sidebar under the |
3203 | - Tags item, which is hidden if there are no tags. Photos can have |
3204 | - multiple tags attached to them, and when you click on the name |
3205 | - of a given tag in the sidebar, you will see all the photos |
3206 | - associated with that tag. |
3207 | - </p> |
3208 | - |
3209 | - <section id="hierarchaicaltags"> |
3210 | - <title>Hierarchical Tags</title> |
3211 | - <p> |
3212 | - Shotwell supports also hierarchial tags. You can |
3213 | - rearrange your tags by drag and drop a tag onto another. |
3214 | - To create a new subtag right-click on a tag and select |
3215 | - <gui>New</gui>. |
3216 | - </p> |
3217 | - |
3218 | - <p> |
3219 | - Hierarchial tags can help you to sort your tag list in |
3220 | - ways that better match how you work or think; for example, |
3221 | - you can store location tags like "Mountains" or "Beach" |
3222 | - under a parent tag "Places", which itself can be placed |
3223 | - under the tag "Summer Holidays". |
3224 | - </p> |
3225 | - |
3226 | - <p> |
3227 | - Note that deleting a parent tag will also delete its |
3228 | - child tags. |
3229 | - </p> |
3230 | - </section> |
3231 | -</page> |
3232 | |
3233 | === removed file 'help/C/organize-title.page' |
3234 | --- help/C/organize-title.page 2011-11-28 18:01:49 +0000 |
3235 | +++ help/C/organize-title.page 1970-01-01 00:00:00 +0000 |
3236 | @@ -1,20 +0,0 @@ |
3237 | -<page xmlns="http://projectmallard.org/1.0/" |
3238 | - type="guide" |
3239 | - id="title"> |
3240 | - |
3241 | - <info> |
3242 | - <link type="guide" xref="index#organize"/> |
3243 | - <desc>Give titles to your photos.</desc> |
3244 | - |
3245 | - <link type="next" xref="event" /> |
3246 | - </info> |
3247 | - |
3248 | - <title>Titles</title> |
3249 | - |
3250 | -<p>The <guiseq><gui>View</gui><gui>Titles</gui></guiseq> checkbox toggles the display of titles |
3251 | -beneath each photo. By default, a photo's title is its filename.</p> |
3252 | - |
3253 | -<p>To change a photo's title, |
3254 | -select the photo and click <guiseq><gui>Photos</gui><gui>Edit Title</gui></guiseq>, or press <key>F2</key>.</p> |
3255 | - |
3256 | -</page> |
3257 | |
3258 | === removed file 'help/C/other-files.page' |
3259 | --- help/C/other-files.page 2012-04-03 01:14:09 +0000 |
3260 | +++ help/C/other-files.page 1970-01-01 00:00:00 +0000 |
3261 | @@ -1,146 +0,0 @@ |
3262 | -<page xmlns="http://projectmallard.org/1.0/" |
3263 | - type="guide" |
3264 | - id="other-files"> |
3265 | - |
3266 | - <info> |
3267 | - <link type="guide" xref="index#other"/> |
3268 | - <desc>Keep the Shotwell library in sync with photo files on disk.</desc> |
3269 | - |
3270 | - <link type="next" xref="other-plugins"/> |
3271 | - </info> |
3272 | - |
3273 | - <title>Photo files</title> |
3274 | - |
3275 | - <p> |
3276 | - Every photo in the Shotwell library corresponds to a file stored on your hard disk. Shotwell has |
3277 | - several features which help you keep the Shotwell library and files on disk in sync. |
3278 | - </p> |
3279 | - <links type="section" /> |
3280 | - |
3281 | - <section id="dirpattern"> |
3282 | - <title>Using a custom directory pattern</title> |
3283 | - <p> |
3284 | - Shotwell allows you to specify how it names directories in your library. You can do this |
3285 | - by changing the <gui>Directory Structure</gui> and <gui>Pattern</gui> settings in the |
3286 | - <gui>Preferences</gui> dialog. You may use a preselected pattern, or choose <gui>Custom</gui> |
3287 | - and type in your own. |
3288 | - </p> |
3289 | - |
3290 | - <p> |
3291 | - The available symbols for the directory pattern begin with a % (percent sign). The values |
3292 | - these symbols produce are locale-dependent, so what you see on your computer may vary |
3293 | - from the examples below. |
3294 | - </p> |
3295 | - |
3296 | - <table frame="all" rules="rowgroups"> |
3297 | - <tbody> |
3298 | - <tr> |
3299 | - <td><p> </p></td> <td><p><em>Symbol</em></p></td> <td><p><em>Meaning</em></p></td> <td><p><em>Example</em></p></td> |
3300 | - </tr> |
3301 | - </tbody> |
3302 | - <tbody> |
3303 | - <tr> |
3304 | - <td><p> </p></td><td><p> %Y </p></td><td><p> Year: full </p></td><td><p> 2011 </p></td> |
3305 | - </tr> |
3306 | - <tr> |
3307 | - <td><p> </p></td><td><p> %y </p></td><td><p> Year: two digit </p></td><td><p> 11 </p></td> |
3308 | - </tr> |
3309 | - <tr> |
3310 | - <td><p> </p></td><td><p> %d </p></td><td><p> Day of the month with leading zero </p></td><td><p> 03 </p></td> |
3311 | - </tr> |
3312 | - <tr> |
3313 | - <td><p> </p></td><td><p> %A </p></td><td><p> Day name: full </p></td><td><p> Wednesday </p></td> |
3314 | - </tr> |
3315 | - <tr> |
3316 | - <td><p> </p></td><td><p> %a </p></td><td><p> Day name: abbreviated </p></td><td><p> Wed </p></td> |
3317 | - </tr> |
3318 | - <tr> |
3319 | - <td><p> </p></td><td><p> %m </p></td><td><p> Month number with leading zero </p></td><td><p> 02 </p></td> |
3320 | - </tr> |
3321 | - <tr><td><p> </p></td><td><p> %b </p></td><td><p> Month name: abbreviated </p></td><td><p> Feb |
3322 | - |
3323 | - </p></td></tr><tr><td><p> </p></td><td><p> %B </p></td><td><p> Month name: full </p></td><td><p> February |
3324 | - </p></td></tr><tr><td><p> </p></td><td><p> %I </p></td><td><p> Hour: 12 hour format </p></td><td><p> 05 |
3325 | - </p></td></tr><tr><td><p> </p></td><td><p> %H </p></td><td><p> Hour: 24 hour format </p></td><td><p> 17 |
3326 | - |
3327 | - </p></td></tr><tr><td><p> </p></td><td><p> %M </p></td><td><p> Minute </p></td><td><p> 16 |
3328 | - </p></td></tr><tr><td><p> </p></td><td><p> %S </p></td><td><p> Second </p></td><td><p> 30 |
3329 | - </p></td></tr><tr><td><p> </p></td><td><p> %p </p></td><td><p> AM or PM </p></td><td><p> PM </p></td></tr> |
3330 | - </tbody> |
3331 | - </table> |
3332 | - |
3333 | - <p> |
3334 | - There are other symbols available; please check the manual for strftime by running |
3335 | - the command <cmd>man strftime</cmd> if you need one that isn't listed here. |
3336 | - </p> |
3337 | - </section> |
3338 | - |
3339 | - <section id="automatic-import"> |
3340 | - <title>Automatically importing photos</title> |
3341 | - |
3342 | - <p>Shotwell can automatically import new photos which appear in the library directory. |
3343 | - (The library directory is usually the <file>Pictures</file> directory in your home directory; |
3344 | - you can change its location in in the <gui>Preferences</gui> window.) |
3345 | - </p> |
3346 | - |
3347 | - <p>To enable auto-import, |
3348 | - check the box <gui>Watch library directory for new files</gui> in |
3349 | - the <gui>Preferences</gui> window.</p> |
3350 | - |
3351 | - <note style="advanced"><p>Shotwell can also follow symbolic links inside automatically-imported directories.</p></note> |
3352 | - |
3353 | - </section> |
3354 | - |
3355 | - <section id="automatic-rename"> |
3356 | - <title>Automatically renaming imported photos to lowercase</title> |
3357 | - |
3358 | - <p> |
3359 | - Shotwell can automatically change the filenames of imported photos |
3360 | - to lowercase. To enable this, choose <guiseq><gui>Edit</gui><gui>Preferences</gui></guiseq>, |
3361 | - and in the <gui>Preferences</gui> window, check the <gui>Rename imported files to lowercase</gui> |
3362 | - box. |
3363 | - </p> |
3364 | - |
3365 | - </section> |
3366 | - |
3367 | - <section id="writing-metadata"> |
3368 | - <title>Writing metadata on the fly</title> |
3369 | - |
3370 | - <p>By default, Shotwell does not modify photo files, even when you edit photos or change their |
3371 | - tags or titles. Shotwell records these changes in its own database only.</p> |
3372 | - |
3373 | - <p>To change this behavior, you can enable the checkbox |
3374 | - <gui>Write tags, titles and other metadata to photo files</gui> |
3375 | - in the <gui>Preferences</gui> dialog. When this option is enabled, Shotwell will write |
3376 | - the following metadata to most photo files whenever you change it in Shotwell:</p> |
3377 | - |
3378 | - <list> |
3379 | - <item><p>titles</p></item> |
3380 | - <item><p>tags</p></item> |
3381 | - <item><p>ratings</p></item> |
3382 | - <item><p>rotation information</p></item> |
3383 | - <item><p>time/date</p></item> |
3384 | - </list> |
3385 | - |
3386 | - <p>Shotwell stores this information in photo files in EXIF, IPTC and/or XMP format. Note |
3387 | - that Shotwell can write only to photo files in JPEG, PNG and TIFF format, not to BMP photos, RAW photos |
3388 | - or to video files. |
3389 | - </p> |
3390 | - |
3391 | - </section> |
3392 | - |
3393 | - <section id="runtime-monitoring"> |
3394 | - <title>Runtime monitoring</title> |
3395 | - |
3396 | - <p>While Shotwell is running, it notices changes made to any photo file externally. |
3397 | - When a photo file changes, Shotwell rereads the file and updates your view of the |
3398 | - photo and metadata.</p> |
3399 | - |
3400 | - <p>Note that Shotwell checks all photo files for changes at startup, but only photo files contained in |
3401 | - the library directory are monitored in real time after startup. We hope to remove this limitation |
3402 | - in a further release.</p> |
3403 | - |
3404 | - </section> |
3405 | - |
3406 | -</page> |
3407 | - |
3408 | |
3409 | === removed file 'help/C/other-missing.page' |
3410 | --- help/C/other-missing.page 2011-08-22 20:44:14 +0000 |
3411 | +++ help/C/other-missing.page 1970-01-01 00:00:00 +0000 |
3412 | @@ -1,23 +0,0 @@ |
3413 | -<page xmlns="http://projectmallard.org/1.0/" |
3414 | - type="guide" |
3415 | - id="other-missing"> |
3416 | - |
3417 | - <info> |
3418 | - <link type="guide" xref="index#other"/> |
3419 | - <desc>If Shotwell can't find a photo in your library, it marks it as missing.</desc> |
3420 | - |
3421 | - <link type="next" xref="other-multiple"/> |
3422 | - </info> |
3423 | - |
3424 | - <title>Missing photos</title> |
3425 | - |
3426 | -<p>Each time Shotwell starts up, it scans your photo library to verify that all photo files still exist on your hard drive. If Shotwell finds that any photo files are missing, it will not display them in the normal Photos, Events and Tags views, but will instead show them in a separate Missing Files view which will appear in the sidebar.</p> |
3427 | - |
3428 | -<p>If you no longer want the missing files to be part of your Shotwell collection (perhaps because you deleted them), go to the Missing Files view, select the photos and then click <gui>Remove From Library</gui>.</p> |
3429 | - |
3430 | -<p>If you have photos on a removable disk, such as a CD or USB flash drive, and <link xref="index#import">import</link> them into Shotwell <em>without</em> copying the photos to your computer, they will show up as missing files if you then disconnect the removable disk. See <link xref="import-file"/> to learn how to copy files from removable disks onto your computer.</p> |
3431 | - |
3432 | -<p>If any missing photo files become available again, Shotwell will notice this the next time it starts. The photos will once again appear in the Photos, Events and Tags views.</p> |
3433 | - |
3434 | -</page> |
3435 | - |
3436 | |
3437 | === removed file 'help/C/other-multiple.page' |
3438 | --- help/C/other-multiple.page 2011-08-22 20:44:14 +0000 |
3439 | +++ help/C/other-multiple.page 1970-01-01 00:00:00 +0000 |
3440 | @@ -1,23 +0,0 @@ |
3441 | -<page xmlns="http://projectmallard.org/1.0/" |
3442 | - type="guide" |
3443 | - id="other-multiple"> |
3444 | - |
3445 | - <info> |
3446 | - <link type="guide" xref="index#other"/> |
3447 | - <desc>You can open Shotwell with a different photo library by using the command line.</desc> |
3448 | - |
3449 | - <link type="next" xref="other-files"/> |
3450 | - </info> |
3451 | - |
3452 | - <title>Multiple libraries</title> |
3453 | - |
3454 | -<p>Shotwell normally stores its database and photo thumbnails in the directory <file>~/.shotwell</file> . This directory does not hold photos, but the database in this directory contains a list of all the photos in the Shotwell library.</p> |
3455 | - |
3456 | -<p>As an advanced feature, it's possible for you to have multiple Shotwell libraries, each of which has its own set of photos. Each library needs its own database directory. To launch Shotwell with an alternate library, specify an alternate database directory on the command line as follows:</p> |
3457 | - |
3458 | -<screen> |
3459 | -shotwell -d [library-directory] |
3460 | -</screen> |
3461 | - |
3462 | -</page> |
3463 | - |
3464 | |
3465 | === removed file 'help/C/other-plugins.page' |
3466 | --- help/C/other-plugins.page 2012-04-03 01:14:09 +0000 |
3467 | +++ help/C/other-plugins.page 1970-01-01 00:00:00 +0000 |
3468 | @@ -1,29 +0,0 @@ |
3469 | -<page xmlns="http://projectmallard.org/1.0/" |
3470 | - type="guide" |
3471 | - id="other-plugins"> |
3472 | - |
3473 | - <info> |
3474 | - <link type="guide" xref="index#other"/> |
3475 | - <desc>Extend Shotwell's functionality dynamically.</desc> |
3476 | - |
3477 | - <link type="next" xref="other-missing"/> |
3478 | - </info> |
3479 | - |
3480 | - <title>Plugins</title> |
3481 | - <p> |
3482 | - Shotwell can be used with <em>plugins</em>, which are companion shared libraries that can |
3483 | - add support for new publishing destinations or new slideshow transitions. |
3484 | - </p> |
3485 | - |
3486 | - <p> |
3487 | - To see a list of installed plugins, choose <guiseq><gui>Edit</gui><gui>Preferences</gui></guiseq>, |
3488 | - and in the <gui>Preferences</gui> window, click on the <gui>Plugins</gui> tab. You'll see a list |
3489 | - of currently-installed plugins, each with a checkbox by it, and you may enable or disable each by |
3490 | - selecting or deselecting the checkbox by its name. |
3491 | - </p> |
3492 | - |
3493 | - <note style="advanced"><p>Full documentation on how to develop new plugins is available at |
3494 | - <link href="http://redmine.yorba.org/projects/shotwell/wiki/ShotwellArchWritingPlugins">http://redmine.yorba.org/projects/shotwell/wiki/ShotwellArchWritingPlugins</link></p></note> |
3495 | - |
3496 | -</page> |
3497 | - |
3498 | |
3499 | === removed file 'help/C/raw.page' |
3500 | --- help/C/raw.page 2011-09-08 00:16:45 +0000 |
3501 | +++ help/C/raw.page 1970-01-01 00:00:00 +0000 |
3502 | @@ -1,46 +0,0 @@ |
3503 | -<page xmlns="http://projectmallard.org/1.0/" |
3504 | - type="guide" |
3505 | - id="other-raw"> |
3506 | - |
3507 | - <info> |
3508 | - <link type="guide" xref="index#other"/> |
3509 | - <desc>More about RAW support in Shotwell.</desc> |
3510 | - |
3511 | - <link type="next" xref="running" /> |
3512 | - </info> |
3513 | - |
3514 | - <title>RAW support in Shotwell</title> |
3515 | - <p>Some cameras have the ability to store data directly off the sensor |
3516 | - and into a file that contains extra color information; this is commonly |
3517 | - referred to as 'RAW' or 'camera RAW', and Shotwell supports these files |
3518 | - as well.</p> |
3519 | - |
3520 | - <p>Since RAW photographs normally cannot be displayed directly, but must |
3521 | - be first developed - that is, have their extra information interpreted and |
3522 | - readied for displaying - most cameras will either embed a JPEG inside a |
3523 | - RAW-format file, or produce a JPEG alongside the RAW file at the time the |
3524 | - snapshot is taken. The latter is referred to throughout this document as |
3525 | - RAW+JPEG. If you import a RAW+JPEG pair, Shotwell will |
3526 | - keep them paired and treat them as one item in your library. |
3527 | - </p> |
3528 | - |
3529 | - <p>When you import a RAW file, you can choose to either use the camera's |
3530 | - internally-developed JPEG or Shotwell's by selecting |
3531 | - <guiseq><gui>Photos</gui><gui>Developer</gui></guiseq> in the menus. |
3532 | - </p> |
3533 | - |
3534 | - <note> |
3535 | - <p> |
3536 | - Changing between developers will cause all edits made to a photograph |
3537 | - to be discarded. |
3538 | - </p> |
3539 | - </note> |
3540 | - |
3541 | - <p> |
3542 | - In order to publish or use a RAW photograph in most other software, it has to be |
3543 | - exported first. Shotwell can export your RAW photos in JPEG, PNG, TIFF |
3544 | - or BMP format, and, when publishing, will internally export a JPEG version |
3545 | - for you and publish that. |
3546 | - </p> |
3547 | - |
3548 | -</page> |
3549 | |
3550 | === removed file 'help/C/running.page' |
3551 | --- help/C/running.page 2011-08-22 20:44:14 +0000 |
3552 | +++ help/C/running.page 1970-01-01 00:00:00 +0000 |
3553 | @@ -1,29 +0,0 @@ |
3554 | -<page xmlns="http://projectmallard.org/1.0/" |
3555 | - type="guide" |
3556 | - id="running"> |
3557 | - |
3558 | - <info> |
3559 | - <link type="guide" xref="index"/> |
3560 | - <desc>Find Shotwell in the Applications menu, or have it start automatically when you plug in a camera.</desc> |
3561 | - |
3562 | - <link type="seealso" xref="other-multiple" /> |
3563 | - |
3564 | - <link type="next" xref="formats" /> |
3565 | - </info> |
3566 | - |
3567 | - <title>Running Shotwell</title> |
3568 | - |
3569 | -<p>Once installed, Shotwell is available in your <gui>Applications</gui> menu under <gui>Graphics</gui> or <gui>Photography</gui>.</p> |
3570 | - |
3571 | -<p>Shotwell may also be executed automatically when a camera is plugged in to your computer. To check |
3572 | -that your system is set up to run Shotwell when a camera is detected, go to |
3573 | -<guiseq><gui>Edit</gui><gui>Preferences</gui></guiseq> in any |
3574 | -Nautilus (file browser) window and choose the <gui>Media</gui> tab. You'll see a dropdown box |
3575 | -entitled <gui>Photos:</gui> which lets you choose Shotwell as your photo handling application.</p> |
3576 | - |
3577 | -<note style="advanced"> |
3578 | - <p>Shotwell may also be executed directly from its build directory, although this is only recommended for testing out Shotwell or for developers.</p> |
3579 | -</note> |
3580 | - |
3581 | -</page> |
3582 | - |
3583 | |
3584 | === removed file 'help/C/share-background.page' |
3585 | --- help/C/share-background.page 2011-08-22 20:44:14 +0000 |
3586 | +++ help/C/share-background.page 1970-01-01 00:00:00 +0000 |
3587 | @@ -1,23 +0,0 @@ |
3588 | -<page xmlns="http://projectmallard.org/1.0/" |
3589 | - type="guide" |
3590 | - id="share-background"> |
3591 | - |
3592 | - <info> |
3593 | - <link type="guide" xref="index#share"/> |
3594 | - <desc>Set your desktop background to a single photo or to a slideshow of photos.</desc> |
3595 | - |
3596 | - <link type="next" xref="share-slideshow" /> |
3597 | - </info> |
3598 | - |
3599 | - <title>Set a desktop background or slideshow</title> |
3600 | - |
3601 | - <p>To set a single photo as your desktop background, select the photo and choose <guiseq><gui>File</gui><gui>Set as Desktop Background</gui></guiseq>.</p> |
3602 | - |
3603 | - <p>You can also set your background to a slideshow of photos. To do this, select the photos for |
3604 | - the slideshow and choose <guiseq><gui>File</gui><gui>Set as Desktop Slideshow</gui></guiseq>. |
3605 | - Shotwell will prompt you for a slideshow delay, which can be any interval up to one day in length. |
3606 | - The background slideshow will proceed even when Shotwell is not running. |
3607 | - </p> |
3608 | - |
3609 | -</page> |
3610 | - |
3611 | |
3612 | === removed file 'help/C/share-export.page' |
3613 | --- help/C/share-export.page 2013-01-11 19:55:46 +0000 |
3614 | +++ help/C/share-export.page 1970-01-01 00:00:00 +0000 |
3615 | @@ -1,45 +0,0 @@ |
3616 | -<page xmlns="http://projectmallard.org/1.0/" |
3617 | - type="guide" |
3618 | - id="share-export"> |
3619 | - |
3620 | - <info> |
3621 | - <link type="guide" xref="index#share"/> |
3622 | - <desc>Copy photos out of Shotwell so you can put them somewhere else.</desc> |
3623 | - |
3624 | - <link type="next" xref="share-print" /> |
3625 | - </info> |
3626 | - |
3627 | - <title>Exporting photos</title> |
3628 | - |
3629 | -<p>To export photos from Shotwell via drag and drop, drag the photos from Shotwell onto |
3630 | -a file manager window or your desktop. The new files will be full-sized copies of |
3631 | -the photos in your library.</p> |
3632 | - |
3633 | -<p> |
3634 | -Alternatively, select a set of photos and choose the <guiseq><gui>File</gui><gui>Export</gui></guiseq> command or press <keyseq><key>Shift</key><key>Ctrl</key><key>E</key></keyseq>, which exports photos while letting you fine-tune the size and dimensions of your photo files. |
3635 | -A window will appear allowing you to make several choices: |
3636 | -</p> |
3637 | - |
3638 | -<list> |
3639 | -<item><p>A format for export. |
3640 | -</p> |
3641 | -<list> |
3642 | -<item><p>Choose <gui>Unmodified</gui> to export photos in their original format without |
3643 | -any edits made in Shotwell. RAW photos will be exported in their original RAW format.</p></item> |
3644 | -<item><p>Choose <gui>Current</gui> to export photos including edits made in Shotwell. RAW photos will be |
3645 | -exported in JPEG format if you have edited them in Shotwell, and otherwise in their original RAW format.</p></item> |
3646 | -<item><p> |
3647 | -Or you can choose a particular image format (JPEG, PNG, TIFF, BMP) to be used for exporting. Any edits made in |
3648 | -Shotwell will be included, and Shotwell will convert photos to the destination format. |
3649 | -</p></item> |
3650 | -</list> |
3651 | -</item> |
3652 | -<item><p>The image quality for exporting (Low, Medium, High, or Maximum).</p></item> |
3653 | -<item><p>A scaling constraint (which means how Shotwell will decide to scale the photos down), and the desired pixel size.</p></item> |
3654 | -<item><p>The option whether you like to export metadatas such as tags or ratings. This can help to save your privacy if you have geolocation tags or tags which shouldn't be seen by anyone.</p></item> |
3655 | -</list> |
3656 | - |
3657 | -<p>If selected, Shotwell will write tags, titles, and other metadata to the new files.</p> |
3658 | - |
3659 | -</page> |
3660 | - |
3661 | |
3662 | === removed file 'help/C/share-print.page' |
3663 | --- help/C/share-print.page 2011-08-22 20:44:14 +0000 |
3664 | +++ help/C/share-print.page 1970-01-01 00:00:00 +0000 |
3665 | @@ -1,24 +0,0 @@ |
3666 | -<page xmlns="http://projectmallard.org/1.0/" |
3667 | - type="guide" |
3668 | - id="share-print"> |
3669 | - |
3670 | - <info> |
3671 | - <link type="guide" xref="index#share"/> |
3672 | - <desc>Click <guiseq><gui>File</gui><gui>Print</gui></guiseq>. For more printing options, select the <gui>Page Setup</gui> tab in the <gui>Print</gui> dialog.</desc> |
3673 | - |
3674 | - <link type="next" xref="share-upload" /> |
3675 | - </info> |
3676 | - |
3677 | - <title>Printing</title> |
3678 | - |
3679 | - <p>To print a photo, select it and choose <guiseq><gui>File</gui><gui>Print</gui></guiseq>.</p> |
3680 | - |
3681 | - <p> |
3682 | - Shotwell can also print multiple images in one page; to do this, select multiple images, |
3683 | - choose <guiseq><gui>File</gui><gui>Print</gui></guiseq>, and in the <gui>Print</gui> dialog, |
3684 | - choose the <gui>Image Settings</gui> tab. In <gui>Image Settings</gui>, choose one of the |
3685 | - multiple-image-per-page options under <gui>Autosize</gui>. |
3686 | - </p> |
3687 | - |
3688 | - <p>If you would like to set formatting, paper size, and orientation options, choose the <gui>Page Setup</gui> tab in the <gui>Print</gui> dialog prior to printing.</p> |
3689 | -</page> |
3690 | |
3691 | === removed file 'help/C/share-send.page' |
3692 | --- help/C/share-send.page 2011-08-22 20:44:14 +0000 |
3693 | +++ help/C/share-send.page 1970-01-01 00:00:00 +0000 |
3694 | @@ -1,25 +0,0 @@ |
3695 | -<page xmlns="http://projectmallard.org/1.0/" |
3696 | - type="guide" |
3697 | - id="share-send"> |
3698 | - |
3699 | - <info> |
3700 | - <link type="guide" xref="index#share"/> |
3701 | - <desc>Send photos via email, instant messaging or in other ways.</desc> |
3702 | - |
3703 | - <link type="next" xref="share-background" /> |
3704 | - </info> |
3705 | - |
3706 | - <title>Sending photos</title> |
3707 | - |
3708 | - <p>Shotwell can send photos using the GNOME desktop's Send To mechanism, which |
3709 | - lets you send photos via email, instant messaging or in other ways.</p> |
3710 | - <p>To send photos, select them in Shotwell and choose |
3711 | - <guiseq><gui>File</gui><gui>Send To...</gui></guiseq>, |
3712 | - or right-click the photos and choose <gui>Send To...</gui> from the context menu. |
3713 | - A <gui>Send To</gui> dialog box will appear which lets you choose a mechanism for |
3714 | - sending the files (such as email or instant messaging) and a destination. You can |
3715 | - optionally choose to send the files in a compressed format. |
3716 | - </p> |
3717 | - |
3718 | -</page> |
3719 | - |
3720 | |
3721 | === removed file 'help/C/share-slideshow.page' |
3722 | --- help/C/share-slideshow.page 2011-08-22 20:44:14 +0000 |
3723 | +++ help/C/share-slideshow.page 1970-01-01 00:00:00 +0000 |
3724 | @@ -1,23 +0,0 @@ |
3725 | -<page xmlns="http://projectmallard.org/1.0/" |
3726 | - type="guide" |
3727 | - id="share-slideshow"> |
3728 | - |
3729 | - <info> |
3730 | - <link type="guide" xref="index#share"/> |
3731 | - <desc>Watch a slideshow of your photos.</desc> |
3732 | - |
3733 | - <link type="next" xref="share-export" /> |
3734 | - </info> |
3735 | - |
3736 | - <title>Slideshows</title> |
3737 | - |
3738 | - <p>To see a sideshow of any collection in Shotwell, navigate to that collection and select <guiseq><gui>View</gui><gui>Slideshow</gui></guiseq> or press <key>F5</key>.</p> |
3739 | - |
3740 | - <p>You can change some settings in a running slideshow:</p> |
3741 | - |
3742 | - <list> |
3743 | - <item><p>The duration how long an image should be shown: 1 - 30 seconds</p></item> |
3744 | - <item><p>You can select different transition effects.</p></item> |
3745 | - <item><p>The time for each transition effect: 0.1 - 1.0 seconds</p></item> |
3746 | - </list> |
3747 | -</page> |
3748 | |
3749 | === removed file 'help/C/share-upload.page' |
3750 | --- help/C/share-upload.page 2012-11-26 20:28:41 +0000 |
3751 | +++ help/C/share-upload.page 1970-01-01 00:00:00 +0000 |
3752 | @@ -1,38 +0,0 @@ |
3753 | -<page xmlns="http://projectmallard.org/1.0/" |
3754 | - type="guide" |
3755 | - id="share-upload"> |
3756 | - |
3757 | - <info> |
3758 | - <link type="guide" xref="index#share"/> |
3759 | - <desc>Publish photos to Facebook, Flickr, Picasa Web Albums, or other sites.</desc> |
3760 | - |
3761 | - <link type="next" xref="share-send" /> |
3762 | - </info> |
3763 | - |
3764 | - <title>Publishing to the Web</title> |
3765 | - |
3766 | - <p>Through the use of <link xref="other-plugins">plugins</link>, Shotwell can publish photos |
3767 | - and videos to the following services, each of which requires an account:</p> |
3768 | - |
3769 | - <list> |
3770 | - <item><p><link href="http://facebook.com">Facebook</link></p></item> |
3771 | - <item><p><link href="http://flickr.com">Flickr</link></p></item> |
3772 | - <item><p><link href="http://picasaweb.google.com">Picasa Web Albums</link> and <link href="http://plus.google.com">Google+</link></p></item> |
3773 | - <item><p><link href="http://youtube.com">YouTube</link> (videos only)</p></item> |
3774 | - <item><p><link href="http://fotki.yandex.ru">Yandex.Fotki</link>, a photo site popular in Russia (photos only)</p></item> |
3775 | - <item><p>Any site running the <link href="http://piwigo.org">Piwigo</link> photo gallery software (photos only)</p></item> |
3776 | - </list> |
3777 | - |
3778 | - <p>To publish selected photos in a collection, choose <guiseq><gui>Edit</gui><gui>Preferences</gui></guiseq> and |
3779 | - click on the <gui>Plugins</gui> tab to enable the plugin for the service you want to publish to. Next, choose, |
3780 | - <guiseq><gui>File</gui><gui>Publish</gui></guiseq>, press the <gui>Publish</gui> toolbar button or use <keyseq><key>Ctrl</key><key>P</key></keyseq>. |
3781 | - You will see a dialog that lets you select a publishing service. You will then need to log in or create an account.</p> |
3782 | - |
3783 | - <p>Publishing to Facebook requires you to grant certain permissions to the Shotwell Connect Facebook application. |
3784 | - You only need to grant these permissions once, when you first associate Shotwell Connect with your Facebook account. |
3785 | -</p> |
3786 | - |
3787 | - <p>Similarly, publishing to Flickr requires you to log in and permit Shotwell Connect to access your account.</p> |
3788 | - |
3789 | - <p>If you have a Google account, but have not yet used Picasa Web Albums, you will need to log in to Picasa using a browser once before you can publish to this service.</p> |
3790 | -</page> |
3791 | |
3792 | === removed file 'help/C/view-displaying.page' |
3793 | --- help/C/view-displaying.page 2011-08-22 20:44:14 +0000 |
3794 | +++ help/C/view-displaying.page 1970-01-01 00:00:00 +0000 |
3795 | @@ -1,28 +0,0 @@ |
3796 | -<page xmlns="http://projectmallard.org/1.0/" |
3797 | - type="guide" |
3798 | - id="view-view"> |
3799 | - |
3800 | - <info> |
3801 | - <link type="guide" xref="index#view"/> |
3802 | - <desc>Learn about different ways of viewing your photos: in a grid, filling the main window, or filling the whole screen.</desc> |
3803 | - |
3804 | - <link type="next" xref="view-sidebar"/> |
3805 | - </info> |
3806 | - |
3807 | - <title>Photo views</title> |
3808 | - |
3809 | -<p>When you select any collection in the sidebar, Shotwell displays all photos in the collection in the main window area. At the bottom right is a slider which adjusts the viewing size of the thumbnails. You may also adjust the thumbnail size using the plus and minus keys (<key>+</key> and <key>-</key>) or by pressing <key>Ctrl</key> while moving your mouse scroll wheel.</p> |
3810 | - |
3811 | -<p>You can view a photo full-window by double-clicking on it. From there you may move to other photos in the collection with the Back and Forward buttons. To return to the collection, double-click on the photo or press <key>Esc</key>.</p> |
3812 | - |
3813 | -<p>When viewing a photo in full-window mode, the slider on the toolbar controls zoom. You can pan around by grabbing and dragging anywhere on the photo. You can also zoom using your scroll wheel or by pressing the following keyboard shortcuts: <keyseq><key>Ctrl</key>0</keyseq> for the full image, <keyseq><key>Ctrl</key>1</keyseq> for 100% (1 photo pixel = 1 screen pixel), and <keyseq><key>Ctrl</key>2</keyseq> for 200% (1 photo pixel = 2x2 screen pixels).</p> |
3814 | - |
3815 | -<p>Shotwell offers a fullscreen mode to display photos. Choose <guiseq><gui>View</gui><gui>Fullscreen</gui></guiseq> or press <key>F11</key>. To see the fullscreen toolbar, move your mouse to the bottom of the screen. The toolbar offers buttons to move through the collection, to pin the toolbar down (so it isn't hidden when you move the mouse away), and to leave fullscreen view.</p> |
3816 | - |
3817 | -<section> |
3818 | -<title>Viewing videos</title> |
3819 | -<p>When you double-click a video, Shotwell will launch an external video player to play the video. It's not currently |
3820 | -possible to display a video in full-window mode in Shotwell or to play the video within Shotwell itself.</p> |
3821 | -</section> |
3822 | - |
3823 | -</page> |
3824 | |
3825 | === removed file 'help/C/view-information.page' |
3826 | --- help/C/view-information.page 2011-08-22 20:44:14 +0000 |
3827 | +++ help/C/view-information.page 1970-01-01 00:00:00 +0000 |
3828 | @@ -1,19 +0,0 @@ |
3829 | -<page xmlns="http://projectmallard.org/1.0/" |
3830 | - type="guide" |
3831 | - id="view-information"> |
3832 | - |
3833 | - <info> |
3834 | - <link type="guide" xref="index#view"/> |
3835 | - <desc>View more detailed information about photos, like the exposure mode used by the camera.</desc> |
3836 | - |
3837 | - <link type="next" xref="view-view"/> |
3838 | - </info> |
3839 | - |
3840 | - <title>Basic and extended information</title> |
3841 | - |
3842 | -<p>The Basic Information pane appears at the bottom of the sidebar, and displays a brief summary of the photos you've selected. If no photos are selected, it displays a summary of the entire collection. You can toggle the display of this pane using the <guiseq><gui>View</gui><gui>Basic Information</gui></guiseq> command.</p> |
3843 | - |
3844 | -<p>The floating Extended Information window displays more information about the selected photo. The <guiseq><gui>View</gui><gui>Extended Information</gui></guiseq> command or <keyseq><key>Ctrl</key><key>Shift</key><key>X</key></keyseq> toggles the display of this window.</p> |
3845 | - |
3846 | -</page> |
3847 | - |
3848 | |
3849 | === removed file 'help/C/view-sidebar.page' |
3850 | --- help/C/view-sidebar.page 2012-10-24 00:35:07 +0000 |
3851 | +++ help/C/view-sidebar.page 1970-01-01 00:00:00 +0000 |
3852 | @@ -1,36 +0,0 @@ |
3853 | -<page xmlns="http://projectmallard.org/1.0/" |
3854 | - type="guide" |
3855 | - id="view-sidebar"> |
3856 | - |
3857 | - <info> |
3858 | - <link type="guide" xref="index#view"/> |
3859 | - <desc>The sidebar on the left of the window lists various views of your library.</desc> |
3860 | - |
3861 | - <link type="seealso" xref="event"/> |
3862 | - <link type="seealso" xref="tag"/> |
3863 | - <link type="seealso" xref="flag"/> |
3864 | - <link type="seealso" xref="search#savedsearch"/> |
3865 | - <link type="seealso" xref="import-file"/> |
3866 | - <link type="seealso" xref="import-f-spot"/> |
3867 | - <link type="seealso" xref="import-memorycard"/> |
3868 | - <link type="seealso" xref="import-camera"/> |
3869 | - |
3870 | - <link type="next" xref="view-information"/> |
3871 | - </info> |
3872 | - |
3873 | - <title>The sidebar</title> |
3874 | - |
3875 | -<p>The sidebar on the left side of the Shotwell window lists various views of your library. Although you may see the same photo in multiple views, it's only stored once on your hard drive.</p> |
3876 | - |
3877 | -<p>The <gui>Last Import</gui> view lists your last imported photos no matter if they are imported from F-Spot, your camera, a memory card or the hard disk.</p> |
3878 | - |
3879 | -<p>The <gui>Flagged</gui> lists all photos you had previous flagged.</p> |
3880 | - |
3881 | -<p>The <gui>Saved Search</gui> allows you to sort your library by many criteria.</p> |
3882 | - |
3883 | -<p>The <gui>Events</gui> folder lists all events in your library. An event is a group of photos that were taken at approximately the same time.</p> |
3884 | - |
3885 | -<p>The <gui>Tags</gui> folder lists all tags you've assigned to photos. Photos can have multiple tags attached to them. When you click on the name of a tag in the sidebar, you will see all the photos associated with that tag.</p> |
3886 | - |
3887 | -</page> |
3888 | - |
3889 | |
3890 | === removed file 'help/Makefile.am' |
3891 | --- help/Makefile.am 2014-01-16 09:32:34 +0000 |
3892 | +++ help/Makefile.am 1970-01-01 00:00:00 +0000 |
3893 | @@ -1,46 +0,0 @@ |
3894 | -# Dummy Makefile.am to allow the help to be translated on l10n.gnome.org. |
3895 | -# This isn't actually processed by automake. |
3896 | - |
3897 | -DOC_ID = shotwell |
3898 | - |
3899 | -DOC_PAGES = \ |
3900 | - edit-adjustments.page \ |
3901 | - edit-crop.page \ |
3902 | - edit-enhance.page \ |
3903 | - edit-external.page \ |
3904 | - edit-nondestructive.page \ |
3905 | - edit-redeye.page \ |
3906 | - edit-rotate.page \ |
3907 | - edit-straighten.page \ |
3908 | - edit-time-date.page \ |
3909 | - edit-undo.page \ |
3910 | - formats.page \ |
3911 | - import-camera.page \ |
3912 | - import-file.page \ |
3913 | - import-f-spot.page \ |
3914 | - import-memorycard.page \ |
3915 | - index.page \ |
3916 | - organize-event.page \ |
3917 | - organize-flag.page \ |
3918 | - organize-rating.page \ |
3919 | - organize-remove.page \ |
3920 | - organize-search.page \ |
3921 | - organize-tag.page \ |
3922 | - organize-title.page \ |
3923 | - other-files.page \ |
3924 | - other-missing.page \ |
3925 | - other-multiple.page \ |
3926 | - other-plugins.page \ |
3927 | - raw.page \ |
3928 | - running.page \ |
3929 | - share-background.page \ |
3930 | - share-export.page \ |
3931 | - share-print.page \ |
3932 | - share-send.page \ |
3933 | - share-slideshow.page \ |
3934 | - share-upload.page \ |
3935 | - view-displaying.page \ |
3936 | - view-information.page \ |
3937 | - view-sidebar.page |
3938 | - |
3939 | -DOC_LINGUAS = es |
3940 | |
3941 | === removed directory 'help/es' |
3942 | === removed file 'help/es/es.po' |
3943 | --- help/es/es.po 2014-01-16 09:32:34 +0000 |
3944 | +++ help/es/es.po 1970-01-01 00:00:00 +0000 |
3945 | @@ -1,2192 +0,0 @@ |
3946 | -# Spanish translation for shotwell. |
3947 | -# Copyright (C) 2014 shotwell's COPYRIGHT HOLDER |
3948 | -# This file is distributed under the same license as the shotwell package. |
3949 | -# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR. |
3950 | -# Daniel Mustieles <daniel.mustieles@gmail.com>, 2014. |
3951 | -# |
3952 | -msgid "" |
3953 | -msgstr "" |
3954 | -"Project-Id-Version: shotwell master\n" |
3955 | -"POT-Creation-Date: 2014-01-15 20:18+0000\n" |
3956 | -"PO-Revision-Date: 2014-01-16 10:30+0100\n" |
3957 | -"Last-Translator: Daniel Mustieles <daniel.mustieles@gmail.com>\n" |
3958 | -"Language-Team: Español <gnome-es-list@gnome.org>\n" |
3959 | -"MIME-Version: 1.0\n" |
3960 | -"Content-Type: text/plain; charset=UTF-8\n" |
3961 | -"Content-Transfer-Encoding: 8bit\n" |
3962 | -"Language: es\n" |
3963 | -"Plural-Forms: nplurals=2; plural=(n!=1);\n" |
3964 | -"X-Generator: Gtranslator 2.91.5\n" |
3965 | - |
3966 | -#: C/view-sidebar.page:7(desc) |
3967 | -msgid "" |
3968 | -"The sidebar on the left of the window lists various views of your library." |
3969 | -msgstr "" |
3970 | - |
3971 | -#: C/view-sidebar.page:21(title) |
3972 | -msgid "The sidebar" |
3973 | -msgstr "" |
3974 | - |
3975 | -#: C/view-sidebar.page:23(p) |
3976 | -msgid "" |
3977 | -"The sidebar on the left side of the Shotwell window lists various views of " |
3978 | -"your library. Although you may see the same photo in multiple views, it's " |
3979 | -"only stored once on your hard drive." |
3980 | -msgstr "" |
3981 | - |
3982 | -#: C/view-sidebar.page:25(p) |
3983 | -msgid "" |
3984 | -"The <gui>Last Import</gui> view lists your last imported photos no matter if " |
3985 | -"they are imported from F-Spot, your camera, a memory card or the hard disk." |
3986 | -msgstr "" |
3987 | - |
3988 | -#: C/view-sidebar.page:27(p) |
3989 | -msgid "The <gui>Flagged</gui> lists all photos you had previous flagged." |
3990 | -msgstr "" |
3991 | - |
3992 | -#: C/view-sidebar.page:29(p) |
3993 | -msgid "" |
3994 | -"The <gui>Saved Search</gui> allows you to sort your library by many criteria." |
3995 | -msgstr "" |
3996 | - |
3997 | -#: C/view-sidebar.page:31(p) |
3998 | -msgid "" |
3999 | -"The <gui>Events</gui> folder lists all events in your library. An event is a " |
4000 | -"group of photos that were taken at approximately the same time." |
4001 | -msgstr "" |
4002 | - |
4003 | -#: C/view-sidebar.page:33(p) |
4004 | -msgid "" |
4005 | -"The <gui>Tags</gui> folder lists all tags you've assigned to photos. Photos " |
4006 | -"can have multiple tags attached to them. When you click on the name of a tag " |
4007 | -"in the sidebar, you will see all the photos associated with that tag." |
4008 | -msgstr "" |
4009 | - |
4010 | -#: C/view-information.page:7(desc) |
4011 | -msgid "" |
4012 | -"View more detailed information about photos, like the exposure mode used by " |
4013 | -"the camera." |
4014 | -msgstr "" |
4015 | - |
4016 | -#: C/view-information.page:12(title) |
4017 | -msgid "Basic and extended information" |
4018 | -msgstr "" |
4019 | - |
4020 | -#: C/view-information.page:14(p) |
4021 | -msgid "" |
4022 | -"The Basic Information pane appears at the bottom of the sidebar, and " |
4023 | -"displays a brief summary of the photos you've selected. If no photos are " |
4024 | -"selected, it displays a summary of the entire collection. You can toggle the " |
4025 | -"display of this pane using the <guiseq><gui>View</gui><gui>Basic " |
4026 | -"Information</gui></guiseq> command." |
4027 | -msgstr "" |
4028 | - |
4029 | -#: C/view-information.page:16(p) |
4030 | -msgid "" |
4031 | -"The floating Extended Information window displays more information about the " |
4032 | -"selected photo. The <guiseq><gui>View</gui><gui>Extended Information</gui></" |
4033 | -"guiseq> command or <keyseq><key>Ctrl</key><key>Shift</key><key>X</key></" |
4034 | -"keyseq> toggles the display of this window." |
4035 | -msgstr "" |
4036 | - |
4037 | -#: C/view-displaying.page:7(desc) |
4038 | -msgid "" |
4039 | -"Learn about different ways of viewing your photos: in a grid, filling the " |
4040 | -"main window, or filling the whole screen." |
4041 | -msgstr "" |
4042 | - |
4043 | -#: C/view-displaying.page:12(title) |
4044 | -msgid "Photo views" |
4045 | -msgstr "" |
4046 | - |
4047 | -#: C/view-displaying.page:14(p) |
4048 | -msgid "" |
4049 | -"When you select any collection in the sidebar, Shotwell displays all photos " |
4050 | -"in the collection in the main window area. At the bottom right is a slider " |
4051 | -"which adjusts the viewing size of the thumbnails. You may also adjust the " |
4052 | -"thumbnail size using the plus and minus keys (<key>+</key> and <key>-</key>) " |
4053 | -"or by pressing <key>Ctrl</key> while moving your mouse scroll wheel." |
4054 | -msgstr "" |
4055 | - |
4056 | -#: C/view-displaying.page:16(p) |
4057 | -msgid "" |
4058 | -"You can view a photo full-window by double-clicking on it. From there you " |
4059 | -"may move to other photos in the collection with the Back and Forward " |
4060 | -"buttons. To return to the collection, double-click on the photo or press " |
4061 | -"<key>Esc</key>." |
4062 | -msgstr "" |
4063 | - |
4064 | -#: C/view-displaying.page:18(p) |
4065 | -msgid "" |
4066 | -"When viewing a photo in full-window mode, the slider on the toolbar controls " |
4067 | -"zoom. You can pan around by grabbing and dragging anywhere on the photo. You " |
4068 | -"can also zoom using your scroll wheel or by pressing the following keyboard " |
4069 | -"shortcuts: <keyseq><key>Ctrl</key>0</keyseq> for the full image, " |
4070 | -"<keyseq><key>Ctrl</key>1</keyseq> for 100% (1 photo pixel = 1 screen pixel), " |
4071 | -"and <keyseq><key>Ctrl</key>2</keyseq> for 200% (1 photo pixel = 2x2 screen " |
4072 | -"pixels)." |
4073 | -msgstr "" |
4074 | - |
4075 | -#: C/view-displaying.page:20(p) |
4076 | -msgid "" |
4077 | -"Shotwell offers a fullscreen mode to display photos. Choose " |
4078 | -"<guiseq><gui>View</gui><gui>Fullscreen</gui></guiseq> or press <key>F11</" |
4079 | -"key>. To see the fullscreen toolbar, move your mouse to the bottom of the " |
4080 | -"screen. The toolbar offers buttons to move through the collection, to pin " |
4081 | -"the toolbar down (so it isn't hidden when you move the mouse away), and to " |
4082 | -"leave fullscreen view." |
4083 | -msgstr "" |
4084 | - |
4085 | -#: C/view-displaying.page:23(title) |
4086 | -msgid "Viewing videos" |
4087 | -msgstr "" |
4088 | - |
4089 | -#: C/view-displaying.page:24(p) |
4090 | -msgid "" |
4091 | -"When you double-click a video, Shotwell will launch an external video player " |
4092 | -"to play the video. It's not currently possible to display a video in full-" |
4093 | -"window mode in Shotwell or to play the video within Shotwell itself." |
4094 | -msgstr "" |
4095 | - |
4096 | -#: C/share-upload.page:7(desc) |
4097 | -msgid "Publish photos to Facebook, Flickr, Picasa Web Albums, or other sites." |
4098 | -msgstr "" |
4099 | - |
4100 | -#: C/share-upload.page:12(title) |
4101 | -msgid "Publishing to the Web" |
4102 | -msgstr "" |
4103 | - |
4104 | -#: C/share-upload.page:14(p) |
4105 | -msgid "" |
4106 | -"Through the use of <link xref=\"other-plugins\">plugins</link>, Shotwell can " |
4107 | -"publish photos and videos to the following services, each of which requires " |
4108 | -"an account:" |
4109 | -msgstr "" |
4110 | - |
4111 | -#: C/share-upload.page:18(link) |
4112 | -msgid "Facebook" |
4113 | -msgstr "" |
4114 | - |
4115 | -#: C/share-upload.page:19(link) |
4116 | -msgid "Flickr" |
4117 | -msgstr "" |
4118 | - |
4119 | -#: C/share-upload.page:20(p) |
4120 | -msgid "" |
4121 | -"<link href=\"http://picasaweb.google.com\">Picasa Web Albums</link> and " |
4122 | -"<link href=\"http://plus.google.com\">Google+</link>" |
4123 | -msgstr "" |
4124 | - |
4125 | -#: C/share-upload.page:21(p) |
4126 | -msgid "<link href=\"http://youtube.com\">YouTube</link> (videos only)" |
4127 | -msgstr "" |
4128 | - |
4129 | -#: C/share-upload.page:22(p) |
4130 | -msgid "" |
4131 | -"<link href=\"http://fotki.yandex.ru\">Yandex.Fotki</link>, a photo site " |
4132 | -"popular in Russia (photos only)" |
4133 | -msgstr "" |
4134 | - |
4135 | -#: C/share-upload.page:23(p) |
4136 | -msgid "" |
4137 | -"Any site running the <link href=\"http://piwigo.org\">Piwigo</link> photo " |
4138 | -"gallery software (photos only)" |
4139 | -msgstr "" |
4140 | - |
4141 | -#: C/share-upload.page:26(p) |
4142 | -msgid "" |
4143 | -"To publish selected photos in a collection, choose <guiseq><gui>Edit</" |
4144 | -"gui><gui>Preferences</gui></guiseq> and click on the <gui>Plugins</gui> tab " |
4145 | -"to enable the plugin for the service you want to publish to. Next, choose, " |
4146 | -"<guiseq><gui>File</gui><gui>Publish</gui></guiseq>, press the <gui>Publish</" |
4147 | -"gui> toolbar button or use <keyseq><key>Ctrl</key><key>P</key></keyseq>. You " |
4148 | -"will see a dialog that lets you select a publishing service. You will then " |
4149 | -"need to log in or create an account." |
4150 | -msgstr "" |
4151 | - |
4152 | -#: C/share-upload.page:31(p) |
4153 | -msgid "" |
4154 | -"Publishing to Facebook requires you to grant certain permissions to the " |
4155 | -"Shotwell Connect Facebook application. You only need to grant these " |
4156 | -"permissions once, when you first associate Shotwell Connect with your " |
4157 | -"Facebook account." |
4158 | -msgstr "" |
4159 | - |
4160 | -#: C/share-upload.page:35(p) |
4161 | -msgid "" |
4162 | -"Similarly, publishing to Flickr requires you to log in and permit Shotwell " |
4163 | -"Connect to access your account." |
4164 | -msgstr "" |
4165 | - |
4166 | -#: C/share-upload.page:37(p) |
4167 | -msgid "" |
4168 | -"If you have a Google account, but have not yet used Picasa Web Albums, you " |
4169 | -"will need to log in to Picasa using a browser once before you can publish to " |
4170 | -"this service." |
4171 | -msgstr "" |
4172 | - |
4173 | -#: C/share-slideshow.page:7(desc) |
4174 | -msgid "Watch a slideshow of your photos." |
4175 | -msgstr "" |
4176 | - |
4177 | -#: C/share-slideshow.page:12(title) |
4178 | -msgid "Slideshows" |
4179 | -msgstr "" |
4180 | - |
4181 | -#: C/share-slideshow.page:14(p) |
4182 | -msgid "" |
4183 | -"To see a sideshow of any collection in Shotwell, navigate to that collection " |
4184 | -"and select <guiseq><gui>View</gui><gui>Slideshow</gui></guiseq> or press " |
4185 | -"<key>F5</key>." |
4186 | -msgstr "" |
4187 | - |
4188 | -#: C/share-slideshow.page:16(p) |
4189 | -msgid "You can change some settings in a running slideshow:" |
4190 | -msgstr "" |
4191 | - |
4192 | -#: C/share-slideshow.page:19(p) |
4193 | -msgid "The duration how long an image should be shown: 1 - 30 seconds" |
4194 | -msgstr "" |
4195 | - |
4196 | -#: C/share-slideshow.page:20(p) |
4197 | -msgid "You can select different transition effects." |
4198 | -msgstr "" |
4199 | - |
4200 | -#: C/share-slideshow.page:21(p) |
4201 | -msgid "The time for each transition effect: 0.1 - 1.0 seconds" |
4202 | -msgstr "" |
4203 | - |
4204 | -#: C/share-send.page:7(desc) |
4205 | -msgid "Send photos via email, instant messaging or in other ways." |
4206 | -msgstr "" |
4207 | - |
4208 | -#: C/share-send.page:12(title) |
4209 | -msgid "Sending photos" |
4210 | -msgstr "" |
4211 | - |
4212 | -#: C/share-send.page:14(p) |
4213 | -msgid "" |
4214 | -"Shotwell can send photos using the GNOME desktop's Send To mechanism, which " |
4215 | -"lets you send photos via email, instant messaging or in other ways." |
4216 | -msgstr "" |
4217 | - |
4218 | -#: C/share-send.page:16(p) |
4219 | -msgid "" |
4220 | -"To send photos, select them in Shotwell and choose <guiseq><gui>File</" |
4221 | -"gui><gui>Send To...</gui></guiseq>, or right-click the photos and choose " |
4222 | -"<gui>Send To...</gui> from the context menu. A <gui>Send To</gui> dialog box " |
4223 | -"will appear which lets you choose a mechanism for sending the files (such as " |
4224 | -"email or instant messaging) and a destination. You can optionally choose to " |
4225 | -"send the files in a compressed format." |
4226 | -msgstr "" |
4227 | - |
4228 | -#: C/share-print.page:7(desc) |
4229 | -msgid "" |
4230 | -"Click <guiseq><gui>File</gui><gui>Print</gui></guiseq>. For more printing " |
4231 | -"options, select the <gui>Page Setup</gui> tab in the <gui>Print</gui> dialog." |
4232 | -msgstr "" |
4233 | - |
4234 | -#: C/share-print.page:12(title) |
4235 | -msgid "Printing" |
4236 | -msgstr "" |
4237 | - |
4238 | -#: C/share-print.page:14(p) |
4239 | -msgid "" |
4240 | -"To print a photo, select it and choose <guiseq><gui>File</gui><gui>Print</" |
4241 | -"gui></guiseq>." |
4242 | -msgstr "" |
4243 | - |
4244 | -#: C/share-print.page:16(p) |
4245 | -msgid "" |
4246 | -"Shotwell can also print multiple images in one page; to do this, select " |
4247 | -"multiple images, choose <guiseq><gui>File</gui><gui>Print</gui></guiseq>, " |
4248 | -"and in the <gui>Print</gui> dialog, choose the <gui>Image Settings</gui> " |
4249 | -"tab. In <gui>Image Settings</gui>, choose one of the multiple-image-per-page " |
4250 | -"options under <gui>Autosize</gui>." |
4251 | -msgstr "" |
4252 | - |
4253 | -#: C/share-print.page:23(p) |
4254 | -msgid "" |
4255 | -"If you would like to set formatting, paper size, and orientation options, " |
4256 | -"choose the <gui>Page Setup</gui> tab in the <gui>Print</gui> dialog prior to " |
4257 | -"printing." |
4258 | -msgstr "" |
4259 | - |
4260 | -#: C/share-export.page:7(desc) |
4261 | -msgid "Copy photos out of Shotwell so you can put them somewhere else." |
4262 | -msgstr "" |
4263 | - |
4264 | -#: C/share-export.page:12(title) |
4265 | -msgid "Exporting photos" |
4266 | -msgstr "" |
4267 | - |
4268 | -#: C/share-export.page:14(p) |
4269 | -msgid "" |
4270 | -"To export photos from Shotwell via drag and drop, drag the photos from " |
4271 | -"Shotwell onto a file manager window or your desktop. The new files will be " |
4272 | -"full-sized copies of the photos in your library." |
4273 | -msgstr "" |
4274 | - |
4275 | -#: C/share-export.page:18(p) |
4276 | -msgid "" |
4277 | -"Alternatively, select a set of photos and choose the <guiseq><gui>File</" |
4278 | -"gui><gui>Export</gui></guiseq> command or press <keyseq><key>Shift</" |
4279 | -"key><key>Ctrl</key><key>E</key></keyseq>, which exports photos while letting " |
4280 | -"you fine-tune the size and dimensions of your photo files. A window will " |
4281 | -"appear allowing you to make several choices:" |
4282 | -msgstr "" |
4283 | - |
4284 | -#: C/share-export.page:24(p) |
4285 | -msgid "A format for export." |
4286 | -msgstr "" |
4287 | - |
4288 | -#: C/share-export.page:27(p) |
4289 | -msgid "" |
4290 | -"Choose <gui>Unmodified</gui> to export photos in their original format " |
4291 | -"without any edits made in Shotwell. RAW photos will be exported in their " |
4292 | -"original RAW format." |
4293 | -msgstr "" |
4294 | - |
4295 | -#: C/share-export.page:29(p) |
4296 | -msgid "" |
4297 | -"Choose <gui>Current</gui> to export photos including edits made in Shotwell. " |
4298 | -"RAW photos will be exported in JPEG format if you have edited them in " |
4299 | -"Shotwell, and otherwise in their original RAW format." |
4300 | -msgstr "" |
4301 | - |
4302 | -#: C/share-export.page:31(p) |
4303 | -msgid "" |
4304 | -"Or you can choose a particular image format (JPEG, PNG, TIFF, BMP) to be " |
4305 | -"used for exporting. Any edits made in Shotwell will be included, and " |
4306 | -"Shotwell will convert photos to the destination format." |
4307 | -msgstr "" |
4308 | - |
4309 | -#: C/share-export.page:37(p) |
4310 | -msgid "The image quality for exporting (Low, Medium, High, or Maximum)." |
4311 | -msgstr "" |
4312 | - |
4313 | -#: C/share-export.page:38(p) |
4314 | -msgid "" |
4315 | -"A scaling constraint (which means how Shotwell will decide to scale the " |
4316 | -"photos down), and the desired pixel size." |
4317 | -msgstr "" |
4318 | - |
4319 | -#: C/share-export.page:39(p) |
4320 | -msgid "" |
4321 | -"The option whether you like to export metadatas such as tags or ratings. " |
4322 | -"This can help to save your privacy if you have geolocation tags or tags " |
4323 | -"which shouldn't be seen by anyone." |
4324 | -msgstr "" |
4325 | - |
4326 | -#: C/share-export.page:42(p) |
4327 | -msgid "" |
4328 | -"If selected, Shotwell will write tags, titles, and other metadata to the new " |
4329 | -"files." |
4330 | -msgstr "" |
4331 | - |
4332 | -#: C/share-background.page:7(desc) |
4333 | -msgid "" |
4334 | -"Set your desktop background to a single photo or to a slideshow of photos." |
4335 | -msgstr "" |
4336 | - |
4337 | -#: C/share-background.page:12(title) |
4338 | -msgid "Set a desktop background or slideshow" |
4339 | -msgstr "" |
4340 | - |
4341 | -#: C/share-background.page:14(p) |
4342 | -msgid "" |
4343 | -"To set a single photo as your desktop background, select the photo and " |
4344 | -"choose <guiseq><gui>File</gui><gui>Set as Desktop Background</gui></guiseq>." |
4345 | -msgstr "" |
4346 | - |
4347 | -#: C/share-background.page:16(p) |
4348 | -msgid "" |
4349 | -"You can also set your background to a slideshow of photos. To do this, " |
4350 | -"select the photos for the slideshow and choose <guiseq><gui>File</" |
4351 | -"gui><gui>Set as Desktop Slideshow</gui></guiseq>. Shotwell will prompt you " |
4352 | -"for a slideshow delay, which can be any interval up to one day in length. " |
4353 | -"The background slideshow will proceed even when Shotwell is not running." |
4354 | -msgstr "" |
4355 | - |
4356 | -#: C/running.page:7(desc) |
4357 | -msgid "" |
4358 | -"Find Shotwell in the Applications menu, or have it start automatically when " |
4359 | -"you plug in a camera." |
4360 | -msgstr "" |
4361 | - |
4362 | -#: C/running.page:14(title) |
4363 | -msgid "Running Shotwell" |
4364 | -msgstr "" |
4365 | - |
4366 | -#: C/running.page:16(p) |
4367 | -msgid "" |
4368 | -"Once installed, Shotwell is available in your <gui>Applications</gui> menu " |
4369 | -"under <gui>Graphics</gui> or <gui>Photography</gui>." |
4370 | -msgstr "" |
4371 | - |
4372 | -#: C/running.page:18(p) |
4373 | -msgid "" |
4374 | -"Shotwell may also be executed automatically when a camera is plugged in to " |
4375 | -"your computer. To check that your system is set up to run Shotwell when a " |
4376 | -"camera is detected, go to <guiseq><gui>Edit</gui><gui>Preferences</gui></" |
4377 | -"guiseq> in any Nautilus (file browser) window and choose the <gui>Media</" |
4378 | -"gui> tab. You'll see a dropdown box entitled <gui>Photos:</gui> which lets " |
4379 | -"you choose Shotwell as your photo handling application." |
4380 | -msgstr "" |
4381 | - |
4382 | -#: C/running.page:25(p) |
4383 | -msgid "" |
4384 | -"Shotwell may also be executed directly from its build directory, although " |
4385 | -"this is only recommended for testing out Shotwell or for developers." |
4386 | -msgstr "" |
4387 | - |
4388 | -#: C/raw.page:7(desc) |
4389 | -msgid "More about RAW support in Shotwell." |
4390 | -msgstr "" |
4391 | - |
4392 | -#: C/raw.page:12(title) |
4393 | -msgid "RAW support in Shotwell" |
4394 | -msgstr "" |
4395 | - |
4396 | -#: C/raw.page:13(p) |
4397 | -msgid "" |
4398 | -"Some cameras have the ability to store data directly off the sensor and into " |
4399 | -"a file that contains extra color information; this is commonly referred to " |
4400 | -"as 'RAW' or 'camera RAW', and Shotwell supports these files as well." |
4401 | -msgstr "" |
4402 | - |
4403 | -#: C/raw.page:18(p) |
4404 | -msgid "" |
4405 | -"Since RAW photographs normally cannot be displayed directly, but must be " |
4406 | -"first developed - that is, have their extra information interpreted and " |
4407 | -"readied for displaying - most cameras will either embed a JPEG inside a RAW-" |
4408 | -"format file, or produce a JPEG alongside the RAW file at the time the " |
4409 | -"snapshot is taken. The latter is referred to throughout this document as RAW" |
4410 | -"+JPEG. If you import a RAW+JPEG pair, Shotwell will keep them paired and " |
4411 | -"treat them as one item in your library." |
4412 | -msgstr "" |
4413 | - |
4414 | -#: C/raw.page:27(p) |
4415 | -msgid "" |
4416 | -"When you import a RAW file, you can choose to either use the camera's " |
4417 | -"internally-developed JPEG or Shotwell's by selecting <guiseq><gui>Photos</" |
4418 | -"gui><gui>Developer</gui></guiseq> in the menus." |
4419 | -msgstr "" |
4420 | - |
4421 | -#: C/raw.page:33(p) |
4422 | -msgid "" |
4423 | -"Changing between developers will cause all edits made to a photograph to be " |
4424 | -"discarded." |
4425 | -msgstr "" |
4426 | - |
4427 | -#: C/raw.page:39(p) |
4428 | -msgid "" |
4429 | -"In order to publish or use a RAW photograph in most other software, it has " |
4430 | -"to be exported first. Shotwell can export your RAW photos in JPEG, PNG, TIFF " |
4431 | -"or BMP format, and, when publishing, will internally export a JPEG version " |
4432 | -"for you and publish that." |
4433 | -msgstr "" |
4434 | - |
4435 | -#: C/other-plugins.page:7(desc) |
4436 | -msgid "Extend Shotwell's functionality dynamically." |
4437 | -msgstr "" |
4438 | - |
4439 | -#: C/other-plugins.page:12(title) |
4440 | -msgid "Plugins" |
4441 | -msgstr "" |
4442 | - |
4443 | -#: C/other-plugins.page:13(p) |
4444 | -msgid "" |
4445 | -"Shotwell can be used with <em>plugins</em>, which are companion shared " |
4446 | -"libraries that can add support for new publishing destinations or new " |
4447 | -"slideshow transitions." |
4448 | -msgstr "" |
4449 | - |
4450 | -#: C/other-plugins.page:18(p) |
4451 | -msgid "" |
4452 | -"To see a list of installed plugins, choose <guiseq><gui>Edit</" |
4453 | -"gui><gui>Preferences</gui></guiseq>, and in the <gui>Preferences</gui> " |
4454 | -"window, click on the <gui>Plugins</gui> tab. You'll see a list of currently-" |
4455 | -"installed plugins, each with a checkbox by it, and you may enable or disable " |
4456 | -"each by selecting or deselecting the checkbox by its name." |
4457 | -msgstr "" |
4458 | - |
4459 | -#: C/other-plugins.page:25(p) |
4460 | -msgid "" |
4461 | -"Full documentation on how to develop new plugins is available at <link href=" |
4462 | -"\"http://redmine.yorba.org/projects/shotwell/wiki/ShotwellArchWritingPlugins" |
4463 | -"\">http://redmine.yorba.org/projects/shotwell/wiki/" |
4464 | -"ShotwellArchWritingPlugins</link>" |
4465 | -msgstr "" |
4466 | - |
4467 | -#: C/other-multiple.page:7(desc) |
4468 | -msgid "" |
4469 | -"You can open Shotwell with a different photo library by using the command " |
4470 | -"line." |
4471 | -msgstr "" |
4472 | - |
4473 | -#: C/other-multiple.page:12(title) |
4474 | -msgid "Multiple libraries" |
4475 | -msgstr "" |
4476 | - |
4477 | -#: C/other-multiple.page:14(p) |
4478 | -msgid "" |
4479 | -"Shotwell normally stores its database and photo thumbnails in the directory " |
4480 | -"<file>~/.shotwell</file> . This directory does not hold photos, but the " |
4481 | -"database in this directory contains a list of all the photos in the Shotwell " |
4482 | -"library." |
4483 | -msgstr "" |
4484 | - |
4485 | -#: C/other-multiple.page:16(p) |
4486 | -msgid "" |
4487 | -"As an advanced feature, it's possible for you to have multiple Shotwell " |
4488 | -"libraries, each of which has its own set of photos. Each library needs its " |
4489 | -"own database directory. To launch Shotwell with an alternate library, " |
4490 | -"specify an alternate database directory on the command line as follows:" |
4491 | -msgstr "" |
4492 | - |
4493 | -#: C/other-multiple.page:18(screen) |
4494 | -#, no-wrap |
4495 | -msgid "" |
4496 | -"\n" |
4497 | -"shotwell -d [library-directory]\n" |
4498 | -msgstr "" |
4499 | - |
4500 | -#: C/other-missing.page:7(desc) |
4501 | -msgid "If Shotwell can't find a photo in your library, it marks it as missing." |
4502 | -msgstr "" |
4503 | - |
4504 | -#: C/other-missing.page:12(title) |
4505 | -msgid "Missing photos" |
4506 | -msgstr "" |
4507 | - |
4508 | -#: C/other-missing.page:14(p) |
4509 | -msgid "" |
4510 | -"Each time Shotwell starts up, it scans your photo library to verify that all " |
4511 | -"photo files still exist on your hard drive. If Shotwell finds that any photo " |
4512 | -"files are missing, it will not display them in the normal Photos, Events and " |
4513 | -"Tags views, but will instead show them in a separate Missing Files view " |
4514 | -"which will appear in the sidebar." |
4515 | -msgstr "" |
4516 | - |
4517 | -#: C/other-missing.page:16(p) |
4518 | -msgid "" |
4519 | -"If you no longer want the missing files to be part of your Shotwell " |
4520 | -"collection (perhaps because you deleted them), go to the Missing Files view, " |
4521 | -"select the photos and then click <gui>Remove From Library</gui>." |
4522 | -msgstr "" |
4523 | - |
4524 | -#: C/other-missing.page:18(p) |
4525 | -msgid "" |
4526 | -"If you have photos on a removable disk, such as a CD or USB flash drive, and " |
4527 | -"<link xref=\"index#import\">import</link> them into Shotwell <em>without</" |
4528 | -"em> copying the photos to your computer, they will show up as missing files " |
4529 | -"if you then disconnect the removable disk. See <link xref=\"import-file\"/> " |
4530 | -"to learn how to copy files from removable disks onto your computer." |
4531 | -msgstr "" |
4532 | - |
4533 | -#: C/other-missing.page:20(p) |
4534 | -msgid "" |
4535 | -"If any missing photo files become available again, Shotwell will notice this " |
4536 | -"the next time it starts. The photos will once again appear in the Photos, " |
4537 | -"Events and Tags views." |
4538 | -msgstr "" |
4539 | - |
4540 | -#: C/other-files.page:7(desc) |
4541 | -msgid "Keep the Shotwell library in sync with photo files on disk." |
4542 | -msgstr "" |
4543 | - |
4544 | -#: C/other-files.page:12(title) |
4545 | -msgid "Photo files" |
4546 | -msgstr "" |
4547 | - |
4548 | -#: C/other-files.page:14(p) |
4549 | -msgid "" |
4550 | -"Every photo in the Shotwell library corresponds to a file stored on your " |
4551 | -"hard disk. Shotwell has several features which help you keep the Shotwell " |
4552 | -"library and files on disk in sync." |
4553 | -msgstr "" |
4554 | - |
4555 | -#: C/other-files.page:21(title) |
4556 | -msgid "Using a custom directory pattern" |
4557 | -msgstr "" |
4558 | - |
4559 | -#: C/other-files.page:22(p) |
4560 | -msgid "" |
4561 | -"Shotwell allows you to specify how it names directories in your library. You " |
4562 | -"can do this by changing the <gui>Directory Structure</gui> and <gui>Pattern</" |
4563 | -"gui> settings in the <gui>Preferences</gui> dialog. You may use a " |
4564 | -"preselected pattern, or choose <gui>Custom</gui> and type in your own." |
4565 | -msgstr "" |
4566 | - |
4567 | -#: C/other-files.page:29(p) |
4568 | -msgid "" |
4569 | -"The available symbols for the directory pattern begin with a % (percent " |
4570 | -"sign). The values these symbols produce are locale-dependent, so what you " |
4571 | -"see on your computer may vary from the examples below." |
4572 | -msgstr "" |
4573 | - |
4574 | -#: C/other-files.page:38(em) |
4575 | -msgid "Symbol" |
4576 | -msgstr "" |
4577 | - |
4578 | -#: C/other-files.page:38(em) |
4579 | -msgid "Meaning" |
4580 | -msgstr "" |
4581 | - |
4582 | -#: C/other-files.page:38(em) |
4583 | -msgid "Example" |
4584 | -msgstr "" |
4585 | - |
4586 | -#: C/other-files.page:43(p) |
4587 | -msgid "%Y" |
4588 | -msgstr "%Y" |
4589 | - |
4590 | -#: C/other-files.page:43(p) |
4591 | -msgid "Year: full" |
4592 | -msgstr "" |
4593 | - |
4594 | -#: C/other-files.page:43(p) |
4595 | -msgid "2011" |
4596 | -msgstr "2011" |
4597 | - |
4598 | -#: C/other-files.page:46(p) |
4599 | -msgid "%y" |
4600 | -msgstr "%y" |
4601 | - |
4602 | -#: C/other-files.page:46(p) |
4603 | -msgid "Year: two digit" |
4604 | -msgstr "" |
4605 | - |
4606 | -#: C/other-files.page:46(p) |
4607 | -msgid "11" |
4608 | -msgstr "11" |
4609 | - |
4610 | -#: C/other-files.page:49(p) |
4611 | -msgid "%d" |
4612 | -msgstr "%d" |
4613 | - |
4614 | -#: C/other-files.page:49(p) |
4615 | -msgid "Day of the month with leading zero" |
4616 | -msgstr "" |
4617 | - |
4618 | -#: C/other-files.page:49(p) |
4619 | -msgid "03" |
4620 | -msgstr "03" |
4621 | - |
4622 | -#: C/other-files.page:52(p) |
4623 | -msgid "%A" |
4624 | -msgstr "%A" |
4625 | - |
4626 | -#: C/other-files.page:52(p) |
4627 | -msgid "Day name: full" |
4628 | -msgstr "" |
4629 | - |
4630 | -#: C/other-files.page:52(p) |
4631 | -msgid "Wednesday" |
4632 | -msgstr "" |
4633 | - |
4634 | -#: C/other-files.page:55(p) |
4635 | -msgid "%a" |
4636 | -msgstr "%a" |
4637 | - |
4638 | -#: C/other-files.page:55(p) |
4639 | -msgid "Day name: abbreviated" |
4640 | -msgstr "" |
4641 | - |
4642 | -#: C/other-files.page:55(p) |
4643 | -msgid "Wed" |
4644 | -msgstr "" |
4645 | - |
4646 | -#: C/other-files.page:58(p) |
4647 | -msgid "%m" |
4648 | -msgstr "%m" |
4649 | - |
4650 | -#: C/other-files.page:58(p) |
4651 | -msgid "Month number with leading zero" |
4652 | -msgstr "" |
4653 | - |
4654 | -#: C/other-files.page:58(p) |
4655 | -msgid "02" |
4656 | -msgstr "02" |
4657 | - |
4658 | -#: C/other-files.page:60(p) |
4659 | -msgid "%b" |
4660 | -msgstr "%b" |
4661 | - |
4662 | -#: C/other-files.page:60(p) |
4663 | -msgid "Month name: abbreviated" |
4664 | -msgstr "" |
4665 | - |
4666 | -#: C/other-files.page:60(p) |
4667 | -msgid "Feb" |
4668 | -msgstr "Feb" |
4669 | - |
4670 | -#: C/other-files.page:62(p) |
4671 | -msgid "%B" |
4672 | -msgstr "%B" |
4673 | - |
4674 | -#: C/other-files.page:62(p) |
4675 | -msgid "Month name: full" |
4676 | -msgstr "" |
4677 | - |
4678 | -#: C/other-files.page:62(p) |
4679 | -msgid "February" |
4680 | -msgstr "" |
4681 | - |
4682 | -#: C/other-files.page:63(p) |
4683 | -msgid "%I" |
4684 | -msgstr "%I" |
4685 | - |
4686 | -#: C/other-files.page:63(p) |
4687 | -msgid "Hour: 12 hour format" |
4688 | -msgstr "" |
4689 | - |
4690 | -#: C/other-files.page:63(p) |
4691 | -msgid "05" |
4692 | -msgstr "05" |
4693 | - |
4694 | -#: C/other-files.page:64(p) |
4695 | -msgid "%H" |
4696 | -msgstr "%H" |
4697 | - |
4698 | -#: C/other-files.page:64(p) |
4699 | -msgid "Hour: 24 hour format" |
4700 | -msgstr "" |
4701 | - |
4702 | -#: C/other-files.page:64(p) |
4703 | -msgid "17" |
4704 | -msgstr "17" |
4705 | - |
4706 | -#: C/other-files.page:66(p) |
4707 | -msgid "%M" |
4708 | -msgstr "%M" |
4709 | - |
4710 | -#: C/other-files.page:66(p) |
4711 | -msgid "Minute" |
4712 | -msgstr "" |
4713 | - |
4714 | -#: C/other-files.page:66(p) |
4715 | -msgid "16" |
4716 | -msgstr "16" |
4717 | - |
4718 | -#: C/other-files.page:67(p) |
4719 | -msgid "%S" |
4720 | -msgstr "%S" |
4721 | - |
4722 | -#: C/other-files.page:67(p) |
4723 | -msgid "Second" |
4724 | -msgstr "" |
4725 | - |
4726 | -#: C/other-files.page:67(p) |
4727 | -msgid "30" |
4728 | -msgstr "30" |
4729 | - |
4730 | -#: C/other-files.page:68(p) |
4731 | -msgid "%p" |
4732 | -msgstr "%p" |
4733 | - |
4734 | -#: C/other-files.page:68(p) |
4735 | -msgid "AM or PM" |
4736 | -msgstr "AM o PM" |
4737 | - |
4738 | -#: C/other-files.page:68(p) |
4739 | -msgid "PM" |
4740 | -msgstr "PM" |
4741 | - |
4742 | -#: C/other-files.page:72(p) |
4743 | -msgid "" |
4744 | -"There are other symbols available; please check the manual for strftime by " |
4745 | -"running the command <cmd>man strftime</cmd> if you need one that isn't " |
4746 | -"listed here." |
4747 | -msgstr "" |
4748 | - |
4749 | -#: C/other-files.page:79(title) |
4750 | -msgid "Automatically importing photos" |
4751 | -msgstr "" |
4752 | - |
4753 | -#: C/other-files.page:81(p) |
4754 | -msgid "" |
4755 | -"Shotwell can automatically import new photos which appear in the library " |
4756 | -"directory. (The library directory is usually the <file>Pictures</file> " |
4757 | -"directory in your home directory; you can change its location in in the " |
4758 | -"<gui>Preferences</gui> window.)" |
4759 | -msgstr "" |
4760 | - |
4761 | -#: C/other-files.page:86(p) |
4762 | -msgid "" |
4763 | -"To enable auto-import, check the box <gui>Watch library directory for new " |
4764 | -"files</gui> in the <gui>Preferences</gui> window." |
4765 | -msgstr "" |
4766 | - |
4767 | -#: C/other-files.page:90(p) |
4768 | -msgid "" |
4769 | -"Shotwell can also follow symbolic links inside automatically-imported " |
4770 | -"directories." |
4771 | -msgstr "" |
4772 | - |
4773 | -#: C/other-files.page:95(title) |
4774 | -msgid "Automatically renaming imported photos to lowercase" |
4775 | -msgstr "" |
4776 | - |
4777 | -#: C/other-files.page:97(p) |
4778 | -msgid "" |
4779 | -"Shotwell can automatically change the filenames of imported photos to " |
4780 | -"lowercase. To enable this, choose <guiseq><gui>Edit</gui><gui>Preferences</" |
4781 | -"gui></guiseq>, and in the <gui>Preferences</gui> window, check the " |
4782 | -"<gui>Rename imported files to lowercase</gui> box." |
4783 | -msgstr "" |
4784 | - |
4785 | -#: C/other-files.page:107(title) |
4786 | -msgid "Writing metadata on the fly" |
4787 | -msgstr "" |
4788 | - |
4789 | -#: C/other-files.page:109(p) |
4790 | -msgid "" |
4791 | -"By default, Shotwell does not modify photo files, even when you edit photos " |
4792 | -"or change their tags or titles. Shotwell records these changes in its own " |
4793 | -"database only." |
4794 | -msgstr "" |
4795 | - |
4796 | -#: C/other-files.page:112(p) |
4797 | -msgid "" |
4798 | -"To change this behavior, you can enable the checkbox <gui>Write tags, titles " |
4799 | -"and other metadata to photo files</gui> in the <gui>Preferences</gui> " |
4800 | -"dialog. When this option is enabled, Shotwell will write the following " |
4801 | -"metadata to most photo files whenever you change it in Shotwell:" |
4802 | -msgstr "" |
4803 | - |
4804 | -#: C/other-files.page:118(p) |
4805 | -msgid "titles" |
4806 | -msgstr "" |
4807 | - |
4808 | -#: C/other-files.page:119(p) |
4809 | -msgid "tags" |
4810 | -msgstr "" |
4811 | - |
4812 | -#: C/other-files.page:120(p) |
4813 | -msgid "ratings" |
4814 | -msgstr "" |
4815 | - |
4816 | -#: C/other-files.page:121(p) |
4817 | -msgid "rotation information" |
4818 | -msgstr "" |
4819 | - |
4820 | -#: C/other-files.page:122(p) |
4821 | -msgid "time/date" |
4822 | -msgstr "" |
4823 | - |
4824 | -#: C/other-files.page:125(p) |
4825 | -msgid "" |
4826 | -"Shotwell stores this information in photo files in EXIF, IPTC and/or XMP " |
4827 | -"format. Note that Shotwell can write only to photo files in JPEG, PNG and " |
4828 | -"TIFF format, not to BMP photos, RAW photos or to video files." |
4829 | -msgstr "" |
4830 | - |
4831 | -#: C/other-files.page:133(title) |
4832 | -msgid "Runtime monitoring" |
4833 | -msgstr "" |
4834 | - |
4835 | -#: C/other-files.page:135(p) |
4836 | -msgid "" |
4837 | -"While Shotwell is running, it notices changes made to any photo file " |
4838 | -"externally. When a photo file changes, Shotwell rereads the file and updates " |
4839 | -"your view of the photo and metadata." |
4840 | -msgstr "" |
4841 | - |
4842 | -#: C/other-files.page:139(p) |
4843 | -msgid "" |
4844 | -"Note that Shotwell checks all photo files for changes at startup, but only " |
4845 | -"photo files contained in the library directory are monitored in real time " |
4846 | -"after startup. We hope to remove this limitation in a further release." |
4847 | -msgstr "" |
4848 | - |
4849 | -#: C/organize-title.page:7(desc) |
4850 | -msgid "Give titles to your photos." |
4851 | -msgstr "" |
4852 | - |
4853 | -#: C/organize-title.page:12(title) |
4854 | -msgid "Titles" |
4855 | -msgstr "" |
4856 | - |
4857 | -#: C/organize-title.page:14(p) |
4858 | -msgid "" |
4859 | -"The <guiseq><gui>View</gui><gui>Titles</gui></guiseq> checkbox toggles the " |
4860 | -"display of titles beneath each photo. By default, a photo's title is its " |
4861 | -"filename." |
4862 | -msgstr "" |
4863 | - |
4864 | -#: C/organize-title.page:17(p) |
4865 | -msgid "" |
4866 | -"To change a photo's title, select the photo and click <guiseq><gui>Photos</" |
4867 | -"gui><gui>Edit Title</gui></guiseq>, or press <key>F2</key>." |
4868 | -msgstr "" |
4869 | - |
4870 | -#: C/organize-tag.page:7(desc) |
4871 | -msgid "Organize photos by labelling them." |
4872 | -msgstr "" |
4873 | - |
4874 | -#: C/organize-tag.page:14(title) |
4875 | -msgid "Tagging photos" |
4876 | -msgstr "" |
4877 | - |
4878 | -#: C/organize-tag.page:16(p) |
4879 | -msgid "" |
4880 | -"You can assign one or more tags to selected photos. A tag can be one or more " |
4881 | -"words that you want to associate with those photos." |
4882 | -msgstr "" |
4883 | - |
4884 | -#: C/organize-tag.page:22(p) |
4885 | -msgid "" |
4886 | -"To add new tags to photos, select the photos you would like to tag, then do " |
4887 | -"any of the following:" |
4888 | -msgstr "" |
4889 | - |
4890 | -#: C/organize-tag.page:28(p) |
4891 | -msgid "Choose <guiseq><gui>Tags</gui><gui>Add Tags</gui></guiseq>." |
4892 | -msgstr "" |
4893 | - |
4894 | -#: C/organize-tag.page:29(p) |
4895 | -msgid "Type <keyseq><key>Ctrl</key><key>T</key></keyseq>." |
4896 | -msgstr "" |
4897 | - |
4898 | -#: C/organize-tag.page:30(p) |
4899 | -msgid "Drag the selected photos and drop them on the desired tag." |
4900 | -msgstr "" |
4901 | - |
4902 | -#: C/organize-tag.page:33(p) |
4903 | -msgid "" |
4904 | -"When you use <keyseq><key>Ctrl</key><key>T</key></keyseq> or " |
4905 | -"<guiseq><gui>Tags</gui><gui>Add Tags</gui></guiseq> you can type in the " |
4906 | -"names of one or more tags, separated by commas. Once you have created a tag, " |
4907 | -"you can rename it by selecting that tag in the sidebar and choosing " |
4908 | -"<guiseq><gui>Tags</gui><gui>Rename Tag \"[name]\"</gui></guiseq>, by " |
4909 | -"rightclicking on it and choose <gui>Rename...</gui> or double-click on the " |
4910 | -"tag in the sidebar." |
4911 | -msgstr "" |
4912 | - |
4913 | -#: C/organize-tag.page:44(p) |
4914 | -msgid "" |
4915 | -"To change which tags are associated with a particular photo, select that " |
4916 | -"photo, choose <guiseq><gui>Tags</gui><gui>Modify Tags</gui></guiseq> or " |
4917 | -"right-click on a photo and select <gui>Modify Tags</gui> and edit the comma " |
4918 | -"separated list. To remove a tag from one or more photos, first select that " |
4919 | -"tag in the sidebar, then select the photos you would like to remove, and " |
4920 | -"choose <guiseq><gui>Tags</gui><gui>Remove Tag \"[name]\" from Photos</gui></" |
4921 | -"guiseq> or right-click on the photos an select <gui>Remove Tag \"[name]\" " |
4922 | -"from Photos</gui>." |
4923 | -msgstr "" |
4924 | - |
4925 | -#: C/organize-tag.page:58(p) |
4926 | -msgid "" |
4927 | -"To delete a tag entirely, select that tag in the sidebar and choose " |
4928 | -"<guiseq><gui>Tags</gui><gui>Delete Tag \"[name]\"</gui></guiseq> or by right-" |
4929 | -"click and select <gui>Delete Tag \"[name]\"</gui>." |
4930 | -msgstr "" |
4931 | - |
4932 | -#: C/organize-tag.page:64(p) |
4933 | -msgid "" |
4934 | -"When you create a tag, it will appear in the sidebar under the Tags item, " |
4935 | -"which is hidden if there are no tags. Photos can have multiple tags attached " |
4936 | -"to them, and when you click on the name of a given tag in the sidebar, you " |
4937 | -"will see all the photos associated with that tag." |
4938 | -msgstr "" |
4939 | - |
4940 | -#: C/organize-tag.page:73(title) |
4941 | -msgid "Hierarchical Tags" |
4942 | -msgstr "" |
4943 | - |
4944 | -#: C/organize-tag.page:74(p) |
4945 | -msgid "" |
4946 | -"Shotwell supports also hierarchial tags. You can rearrange your tags by drag " |
4947 | -"and drop a tag onto another. To create a new subtag right-click on a tag and " |
4948 | -"select <gui>New</gui>." |
4949 | -msgstr "" |
4950 | - |
4951 | -#: C/organize-tag.page:81(p) |
4952 | -msgid "" |
4953 | -"Hierarchial tags can help you to sort your tag list in ways that better " |
4954 | -"match how you work or think; for example, you can store location tags like " |
4955 | -"\"Mountains\" or \"Beach\" under a parent tag \"Places\", which itself can " |
4956 | -"be placed under the tag \"Summer Holidays\"." |
4957 | -msgstr "" |
4958 | - |
4959 | -#: C/organize-tag.page:89(p) |
4960 | -msgid "Note that deleting a parent tag will also delete its child tags." |
4961 | -msgstr "" |
4962 | - |
4963 | -#: C/organize-search.page:7(desc) |
4964 | -msgid "Find photos and videos in your collection by a variety of criteria." |
4965 | -msgstr "" |
4966 | - |
4967 | -#: C/organize-search.page:12(title) |
4968 | -msgid "Searching" |
4969 | -msgstr "" |
4970 | - |
4971 | -#: C/organize-search.page:14(p) |
4972 | -msgid "" |
4973 | -"There are two ways to search in Shotwell: the filter toolbar, and with a " |
4974 | -"saved search. The search bar allows you to quickly search the current view " |
4975 | -"for certain criteria. Saved Searches feature more complex search criteria " |
4976 | -"and persist in the sidebar between sessions." |
4977 | -msgstr "" |
4978 | - |
4979 | -#: C/organize-search.page:21(title) |
4980 | -msgid "Search bar" |
4981 | -msgstr "" |
4982 | - |
4983 | -#: C/organize-search.page:22(p) |
4984 | -msgid "" |
4985 | -"The <guiseq><gui>View</gui><gui>Search Bar</gui></guiseq> checkbox toggles " |
4986 | -"the display of the search bar. You can also hit <keyseq><key>Ctrl</" |
4987 | -"key><key>F</key></keyseq> or <key>F8</key> to bring up the search bar. From " |
4988 | -"this bar, you can find, show and hide photos and videos based on title, tag, " |
4989 | -"rating or other options." |
4990 | -msgstr "" |
4991 | - |
4992 | -#: C/organize-search.page:29(p) |
4993 | -msgid "" |
4994 | -"To begin searching, simply enter a search keyword in the text box, or click " |
4995 | -"on <gui>Flagged</gui>, <gui>Rating</gui> or <gui>Type</gui>. The text search " |
4996 | -"matches your keywords across tag names, photo or video titles and photos' " |
4997 | -"original filenames. The <gui>Flagged</gui>, <gui>Rating</gui> and <gui>Type</" |
4998 | -"gui> buttons allow you to filter your collection by whether photos are " |
4999 | -"flagged, their current number of stars, and whether the items shown are " |
5000 | -"images, videos, or raw camera files, respectively." |
The diff has been truncated for viewing.