Skip to content

Commit 26358cc

Browse files
authored
debian: other small packaging improvements (#110)
* d/copyright: fix headers fields * debian: symbols with correct cjs versioning taken from debian packages * d/control: wrap and sort * d/control: improve packages description taken from debian packages
1 parent cae27a3 commit 26358cc

File tree

3 files changed

+127
-124
lines changed

3 files changed

+127
-124
lines changed

debian/control

Lines changed: 61 additions & 52 deletions
Original file line numberDiff line numberDiff line change
@@ -2,85 +2,94 @@ Source: cjs
22
Section: interpreters
33
Priority: optional
44
Maintainer: Linux Mint <root@linuxmint.com>
5-
Build-Depends: debhelper-compat (= 13),
6-
dh-sequence-gir,
7-
dh-sequence-gnome,
8-
pkg-config (>= 0.28),
9-
libffi-dev (>= 3.3),
10-
libglib2.0-dev (>= 2.66.0),
11-
libgirepository1.0-dev (>= 1.64),
12-
gir1.2-gtk-3.0,
13-
gobject-introspection (>= 1.64),
14-
libmozjs-78-dev (>= 78.2.0),
15-
libreadline-dev,
16-
libcairo2-dev,
17-
meson (>= 0.52.0),
18-
dbus <!nocheck>,
19-
dbus-x11 <!nocheck>,
20-
at-spi2-core <!nocheck>,
21-
xauth <!nocheck>,
22-
xvfb <!nocheck>
5+
Build-Depends:
6+
at-spi2-core <!nocheck>,
7+
dbus <!nocheck>,
8+
dbus-x11 <!nocheck>,
9+
debhelper-compat (= 13),
10+
dh-sequence-gir,
11+
dh-sequence-gnome,
12+
gir1.2-gtk-3.0,
13+
gobject-introspection (>= 1.64),
14+
libcairo2-dev,
15+
libffi-dev (>= 3.3),
16+
libgirepository1.0-dev (>= 1.64),
17+
libglib2.0-dev (>= 2.66.0),
18+
libmozjs-78-dev (>= 78.2.0),
19+
libreadline-dev,
20+
meson (>= 0.52.0),
21+
pkg-config (>= 0.28),
22+
xauth <!nocheck>,
23+
xvfb <!nocheck>,
2324
Rules-Requires-Root: no
2425
Standards-Version: 4.6.0
2526
Vcs-Git: https://github.com/linuxmint/cjs.git
2627

2728
Package: cjs
2829
Architecture: any
29-
Depends: ${shlibs:Depends},
30-
${misc:Depends},
31-
gir1.2-gtk-3.0
30+
Depends: gir1.2-gtk-3.0, ${misc:Depends}, ${shlibs:Depends}
3231
Description: Mozilla-based javascript bindings for the Cinnamon platform
3332
Makes it possible for applications to use all of Cinnamon's platform
34-
libraries using the JavaScript language. It's mainly based on the
35-
Mozilla JavaScript engine and the GObject introspection framework.
33+
libraries using the Javascript language. It's mainly based on the
34+
Mozilla javascript engine and the GObject introspection framework.
35+
.
36+
This package is the frozen version of gjs that the cinnamon desktop currently
37+
uses.
3638
.
3739
This package contains the interactive console application.
3840

39-
Package: libcjs0
41+
Package: libcjs-dbg
42+
Section: debug
4043
Architecture: any
41-
Multi-Arch: same
42-
Section: libs
43-
Depends: ${shlibs:Depends},
44-
${misc:Depends},
45-
${gir:Depends}
46-
Conflicts: libcjs0a, libcjs0c, libcjs0e, libcjs0f
47-
Replaces: libcjs0a, libcjs0c, libcjs0e, libcjs0f
48-
Provides: ${cjs:Provides}
44+
Priority: extra
45+
Depends: libcjs0 (= ${binary:Version}), ${misc:Depends}
4946
Description: Mozilla-based javascript bindings for the Cinnamon platform
5047
Makes it possible for applications to use all of Cinnamon's platform
5148
libraries using the JavaScript language. It's mainly based on the
5249
Mozilla JavaScript engine and the GObject introspection framework.
5350
.
54-
This is the shared library applications link to.
51+
This package is the frozen version of gjs that the cinnamon desktop currently
52+
uses.
53+
.
54+
This debug package contains unstripped binaries compiled with
55+
debugging symbols needed by gdb.
5556

5657
Package: libcjs-dev
5758
Architecture: any
5859
Multi-Arch: same
5960
Section: libdevel
60-
Depends: ${misc:Depends},
61-
cjs,
62-
libcjs0 (= ${binary:Version}),
63-
libgirepository1.0-dev (>= 1.64),
64-
libcairo2-dev,
65-
libmozjs-78-dev (>= 78.2.0),
66-
Description: Mozilla-based javascript bindings for the Cinnamon platform
61+
Depends:
62+
cjs,
63+
libcairo2-dev,
64+
libcjs0 (= ${binary:Version}),
65+
libgirepository1.0-dev (>= 1.64),
66+
libmozjs-78-dev (>= 78.2.0),
67+
${misc:Depends},
68+
Description: Development files for the javascript bindings for Cinnamon
6769
Makes it possible for applications to use all of Cinnamon's platform
68-
libraries using the JavaScript language. It's mainly based on the
69-
Mozilla JavaScript engine and the GObject introspection framework.
70+
libraries using the Javascript language. It's mainly based on the
71+
Mozilla javascript engine and the GObject introspection framework.
72+
.
73+
This package is the frozen version of gjs that the cinnamon desktop currently
74+
uses.
7075
.
7176
This package contains the development files applications need to
7277
build against.
7378

74-
Package: libcjs-dbg
75-
Section: debug
79+
Package: libcjs0
7680
Architecture: any
77-
Priority: extra
78-
Depends: libcjs0 (= ${binary:Version}),
79-
${misc:Depends}
80-
Description: Mozilla-based javascript bindings for the Cinnamon platform
81+
Multi-Arch: same
82+
Section: libs
83+
Depends: ${gir:Depends}, ${misc:Depends}, ${shlibs:Depends}
84+
Conflicts: libcjs0a, libcjs0c, libcjs0e, libcjs0f
85+
Replaces: libcjs0a, libcjs0c, libcjs0e, libcjs0f
86+
Provides: ${cjs:Provides}
87+
Description: Library of the javascript bindings for the Cinnamon
8188
Makes it possible for applications to use all of Cinnamon's platform
82-
libraries using the JavaScript language. It's mainly based on the
83-
Mozilla JavaScript engine and the GObject introspection framework.
89+
libraries using the Javascript language. It's mainly based on the
90+
Mozilla javascript engine and the GObject introspection framework.
8491
.
85-
This development package contains unstripped binaries compiled with
86-
debugging symbols needed by gdb.
92+
This package is the frozen version of gjs that the cinnamon desktop currently
93+
uses.
94+
.
95+
This package contains the shared library, used by cjs itself, and cinnamon.

debian/copyright

Lines changed: 3 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,7 @@
11
Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
2-
Source: https://download.gnome.org/sources/gjs/
3-
Comment:
4-
This work was packaged for Debian by:
5-
.
6-
Gustavo Noronha Silva <gustavo.noronha@collabora.co.uk> on Mon, 12 Oct 2009 18:38:36 -0300
7-
.
8-
Upstream Author:
9-
.
10-
litl, LLC
2+
Upstream-Name: cjs
3+
Upstream-Contact: Clement Lefebvre <clement.lefebvre@linuxmint.com>
4+
Source: https://github.com/linuxmint/cjs
115

126
Files: *
137
Copyright:

debian/libcjs0.symbols

Lines changed: 63 additions & 63 deletions
Original file line numberDiff line numberDiff line change
@@ -1,65 +1,65 @@
11
libcjs.so.0 libcjs0 #MINVER#
22
* Build-Depends-Package: libcjs-dev
3-
gjs_bindtextdomain@Base 1.63.90
4-
gjs_cairo_pdf_surface_proto_props@Base 1.70.0
5-
gjs_clear_terminal@Base 1.70.0
6-
gjs_console_clear@Base 1.70.0
7-
gjs_console_is_tty@Base 1.70.0
8-
gjs_context_define_string_array@Base 1.63.90
9-
gjs_context_eval@Base 1.63.90
10-
gjs_context_eval_file@Base 1.63.90
11-
gjs_context_eval_module@Base 1.67.2
12-
gjs_context_eval_module_file@Base 1.67.2
13-
gjs_context_gc@Base 1.63.90
14-
gjs_context_get_all@Base 1.63.90
15-
gjs_context_get_current@Base 1.63.90
16-
gjs_context_get_native_context@Base 1.63.90
17-
gjs_context_get_profiler@Base 1.63.90
18-
gjs_context_get_type@Base 1.63.90
19-
gjs_context_make_current@Base 1.63.90
20-
gjs_context_maybe_gc@Base 1.63.90
21-
gjs_context_new@Base 1.63.90
22-
gjs_context_new_with_search_path@Base 1.63.90
23-
gjs_context_print_stack_stderr@Base 1.63.90
24-
gjs_context_register_module@Base 1.67.2
25-
gjs_context_set_argv@Base 1.67.2
26-
gjs_context_setup_debugger_console@Base 1.63.90
27-
gjs_coverage_enable@Base 1.65.90
28-
gjs_coverage_get_type@Base 1.70.0
29-
gjs_coverage_new@Base 1.63.90
30-
gjs_coverage_write_statistics@Base 1.63.90
31-
gjs_dbus_implementation_emit_property_changed@Base 1.63.90
32-
gjs_dbus_implementation_emit_signal@Base 1.63.90
33-
gjs_dbus_implementation_get_type@Base 1.63.90
34-
gjs_dumpstack@Base 1.63.90
35-
gjs_error_quark@Base 1.63.90
36-
gjs_format_int_alternative_output@Base 1.63.90
37-
gjs_g_object_bind_property_full@Base 1.70.0
38-
gjs_get_js_version@Base 1.63.90
39-
gjs_gobject_class_info@Base 1.70.0
40-
gjs_gobject_interface_info@Base 1.70.0
41-
gjs_gtk_container_child_set_property@Base 1.63.90
42-
gjs_importer_class@Base 1.70.0
43-
gjs_importer_proto_funcs@Base 1.70.0
44-
gjs_js_error_get_type@Base 1.63.90
45-
gjs_js_error_quark@Base 1.63.90
46-
gjs_list_store_insert_sorted@Base 1.70.0
47-
gjs_list_store_sort@Base 1.70.0
48-
gjs_locale_category_get_type@Base 1.63.90
49-
gjs_log_set_writer_default@Base 1.70.0
50-
gjs_log_set_writer_func@Base 1.70.0
51-
gjs_memory_report@Base 1.63.90
52-
gjs_param_class@Base 1.70.0
53-
gjs_param_spec_get_flags@Base 1.63.90
54-
gjs_param_spec_get_owner_type@Base 1.63.90
55-
gjs_param_spec_get_value_type@Base 1.63.90
56-
gjs_profiler_chain_signal@Base 1.63.90
57-
gjs_profiler_get_type@Base 1.63.90
58-
gjs_profiler_set_capture_writer@Base 1.67.2
59-
gjs_profiler_set_fd@Base 1.63.90
60-
gjs_profiler_set_filename@Base 1.63.90
61-
gjs_profiler_start@Base 1.63.90
62-
gjs_profiler_stop@Base 1.63.90
63-
gjs_repo_class@Base 1.70.0
64-
gjs_setlocale@Base 1.63.90
65-
gjs_textdomain@Base 1.63.90
3+
gjs_bindtextdomain@Base 2.4.1
4+
gjs_cairo_pdf_surface_proto_props@Base 5.4.0
5+
gjs_clear_terminal@Base 5.4.0
6+
gjs_console_clear@Base 5.4.0
7+
gjs_console_is_tty@Base 5.4.0
8+
gjs_context_define_string_array@Base 2.0.0
9+
gjs_context_eval@Base 2.0.0
10+
gjs_context_eval_file@Base 2.0.0
11+
gjs_context_eval_module@Base 5.4.0
12+
gjs_context_eval_module_file@Base 5.4.0
13+
gjs_context_gc@Base 2.0.0
14+
gjs_context_get_all@Base 2.0.0
15+
gjs_context_get_current@Base 2.4.1
16+
gjs_context_get_native_context@Base 2.0.0
17+
gjs_context_get_profiler@Base 4.0.0
18+
gjs_context_get_type@Base 2.0.0
19+
gjs_context_make_current@Base 2.4.1
20+
gjs_context_maybe_gc@Base 2.0.0
21+
gjs_context_new@Base 2.0.0
22+
gjs_context_new_with_search_path@Base 2.0.0
23+
gjs_context_print_stack_stderr@Base 2.0.0
24+
gjs_context_register_module@Base 5.4.0
25+
gjs_context_set_argv@Base 5.4.0
26+
gjs_context_setup_debugger_console@Base 4.6.0
27+
gjs_coverage_enable@Base 4.6.0
28+
gjs_coverage_get_type@Base 5.4.0
29+
gjs_coverage_new@Base 2.4.1
30+
gjs_coverage_write_statistics@Base 2.4.1
31+
gjs_dbus_implementation_emit_property_changed@Base 2.0.0
32+
gjs_dbus_implementation_emit_signal@Base 2.0.0
33+
gjs_dbus_implementation_get_type@Base 2.0.0
34+
gjs_dumpstack@Base 2.0.0
35+
gjs_error_quark@Base 2.0.0
36+
gjs_format_int_alternative_output@Base 2.4.1
37+
gjs_g_object_bind_property_full@Base 5.4.0
38+
gjs_get_js_version@Base 4.0.0
39+
gjs_gobject_class_info@Base 5.4.0
40+
gjs_gobject_interface_info@Base 5.4.0
41+
gjs_gtk_container_child_set_property@Base 2.4.1
42+
gjs_importer_class@Base 5.4.0
43+
gjs_importer_proto_funcs@Base 5.4.0
44+
gjs_js_error_get_type@Base 4.0.0
45+
gjs_js_error_quark@Base 4.0.0
46+
gjs_list_store_insert_sorted@Base 5.4.0
47+
gjs_list_store_sort@Base 5.4.0
48+
gjs_locale_category_get_type@Base 3.4.4
49+
gjs_log_set_writer_default@Base 5.4.0
50+
gjs_log_set_writer_func@Base 5.4.0
51+
gjs_memory_report@Base 2.0.0
52+
gjs_param_class@Base 5.4.0
53+
gjs_param_spec_get_flags@Base 3.4.4
54+
gjs_param_spec_get_owner_type@Base 3.4.4
55+
gjs_param_spec_get_value_type@Base 3.4.4
56+
gjs_profiler_chain_signal@Base 4.0.0
57+
gjs_profiler_get_type@Base 4.0.0
58+
gjs_profiler_set_capture_writer@Base 5.4.0
59+
gjs_profiler_set_fd@Base 4.6.0
60+
gjs_profiler_set_filename@Base 4.0.0
61+
gjs_profiler_start@Base 4.0.0
62+
gjs_profiler_stop@Base 4.0.0
63+
gjs_repo_class@Base 5.4.0
64+
gjs_setlocale@Base 3.4.4
65+
gjs_textdomain@Base 2.4.1

0 commit comments

Comments
 (0)