File: devel-docs-Use-API-version-not-app-version-for-install-lo.patch

package info (click to toggle)
gimp 3.2.0~RC2-2
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 220,336 kB
  • sloc: ansic: 866,755; lisp: 10,855; python: 10,511; cpp: 7,330; perl: 4,469; sh: 1,439; xml: 965; yacc: 609; lex: 348; javascript: 150; makefile: 42
file content (48 lines) | stat: -rw-r--r-- 2,023 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
From: =?utf-8?q?Jeremy_B=C3=ADcha?= <jbicha@debian.org>
Date: Fri, 5 Dec 2025 00:02:38 -0500
Subject: devel-docs: Use API version not app version for install location

In other words, 3.0 instead of 3.2

Forwarded: https://gitlab.gnome.org/GNOME/gimp/-/merge_requests/2567
---
 devel-docs/reference/gimp-ui/meson.build | 2 +-
 devel-docs/reference/gimp/meson.build    | 2 +-
 gimp-data/images/logo/meson.build        | 2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/devel-docs/reference/gimp-ui/meson.build b/devel-docs/reference/gimp-ui/meson.build
index 32594c7..8a40d82 100644
--- a/devel-docs/reference/gimp-ui/meson.build
+++ b/devel-docs/reference/gimp-ui/meson.build
@@ -35,5 +35,5 @@ gimp_ui_docs = custom_target('gimp-ui-docs',
   ],
   build_by_default: true,
   install: true,
-  install_dir: get_option('datadir') / 'doc' / 'gimp-@0@'.format(gimp_app_version),
+  install_dir: get_option('datadir') / 'doc' / 'gimp-' + gimp_api_version,
 )
diff --git a/devel-docs/reference/gimp/meson.build b/devel-docs/reference/gimp/meson.build
index 5479741..357a8a8 100644
--- a/devel-docs/reference/gimp/meson.build
+++ b/devel-docs/reference/gimp/meson.build
@@ -32,5 +32,5 @@ gimp_docs = custom_target('gimp-docs',
   ],
   build_by_default: true,
   install: true,
-  install_dir: get_option('datadir') / 'doc' / 'gimp-@0@'.format(gimp_app_version),
+  install_dir: get_option('datadir') / 'doc' / 'gimp-' + gimp_api_version,
 )
diff --git a/gimp-data/images/logo/meson.build b/gimp-data/images/logo/meson.build
index eef3520..c32df61 100644
--- a/gimp-data/images/logo/meson.build
+++ b/gimp-data/images/logo/meson.build
@@ -41,7 +41,7 @@ if gi_docgen.found()
   endif
 
   install_symlink(fs.name(devel_logo.full_path()),
-                  install_dir: get_option('datadir') / 'doc' / 'gimp-@0@'.format(gimp_app_version) / 'images',
+                  install_dir: get_option('datadir') / 'doc' / 'gimp-' + gimp_api_version / 'images',
                   pointing_to: installed_image)
 endif