From 26358cc6b1d97cab036ab253eb963e51eae1f9b9 Mon Sep 17 00:00:00 2001 From: Fabio Fantoni Date: Mon, 21 Nov 2022 11:38:17 +0100 Subject: [PATCH] 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 --- debian/control | 113 +++++++++++++++++++----------------- debian/copyright | 12 +--- debian/libcjs0.symbols | 126 ++++++++++++++++++++--------------------- 3 files changed, 127 insertions(+), 124 deletions(-) diff --git a/debian/control b/debian/control index 968c2189..ca5271de 100644 --- a/debian/control +++ b/debian/control @@ -2,85 +2,94 @@ Source: cjs Section: interpreters Priority: optional Maintainer: Linux Mint -Build-Depends: debhelper-compat (= 13), - dh-sequence-gir, - dh-sequence-gnome, - pkg-config (>= 0.28), - libffi-dev (>= 3.3), - libglib2.0-dev (>= 2.66.0), - libgirepository1.0-dev (>= 1.64), - gir1.2-gtk-3.0, - gobject-introspection (>= 1.64), - libmozjs-78-dev (>= 78.2.0), - libreadline-dev, - libcairo2-dev, - meson (>= 0.52.0), - dbus , - dbus-x11 , - at-spi2-core , - xauth , - xvfb +Build-Depends: + at-spi2-core , + dbus , + dbus-x11 , + debhelper-compat (= 13), + dh-sequence-gir, + dh-sequence-gnome, + gir1.2-gtk-3.0, + gobject-introspection (>= 1.64), + libcairo2-dev, + libffi-dev (>= 3.3), + libgirepository1.0-dev (>= 1.64), + libglib2.0-dev (>= 2.66.0), + libmozjs-78-dev (>= 78.2.0), + libreadline-dev, + meson (>= 0.52.0), + pkg-config (>= 0.28), + xauth , + xvfb , Rules-Requires-Root: no Standards-Version: 4.6.0 Vcs-Git: https://github.com/linuxmint/cjs.git Package: cjs Architecture: any -Depends: ${shlibs:Depends}, - ${misc:Depends}, - gir1.2-gtk-3.0 +Depends: gir1.2-gtk-3.0, ${misc:Depends}, ${shlibs:Depends} Description: Mozilla-based javascript bindings for the Cinnamon platform Makes it possible for applications to use all of Cinnamon's platform - libraries using the JavaScript language. It's mainly based on the - Mozilla JavaScript engine and the GObject introspection framework. + libraries using the Javascript language. It's mainly based on the + Mozilla javascript engine and the GObject introspection framework. + . + This package is the frozen version of gjs that the cinnamon desktop currently + uses. . This package contains the interactive console application. -Package: libcjs0 +Package: libcjs-dbg +Section: debug Architecture: any -Multi-Arch: same -Section: libs -Depends: ${shlibs:Depends}, - ${misc:Depends}, - ${gir:Depends} -Conflicts: libcjs0a, libcjs0c, libcjs0e, libcjs0f -Replaces: libcjs0a, libcjs0c, libcjs0e, libcjs0f -Provides: ${cjs:Provides} +Priority: extra +Depends: libcjs0 (= ${binary:Version}), ${misc:Depends} Description: Mozilla-based javascript bindings for the Cinnamon platform Makes it possible for applications to use all of Cinnamon's platform libraries using the JavaScript language. It's mainly based on the Mozilla JavaScript engine and the GObject introspection framework. . - This is the shared library applications link to. + This package is the frozen version of gjs that the cinnamon desktop currently + uses. + . + This debug package contains unstripped binaries compiled with + debugging symbols needed by gdb. Package: libcjs-dev Architecture: any Multi-Arch: same Section: libdevel -Depends: ${misc:Depends}, - cjs, - libcjs0 (= ${binary:Version}), - libgirepository1.0-dev (>= 1.64), - libcairo2-dev, - libmozjs-78-dev (>= 78.2.0), -Description: Mozilla-based javascript bindings for the Cinnamon platform +Depends: + cjs, + libcairo2-dev, + libcjs0 (= ${binary:Version}), + libgirepository1.0-dev (>= 1.64), + libmozjs-78-dev (>= 78.2.0), + ${misc:Depends}, +Description: Development files for the javascript bindings for Cinnamon Makes it possible for applications to use all of Cinnamon's platform - libraries using the JavaScript language. It's mainly based on the - Mozilla JavaScript engine and the GObject introspection framework. + libraries using the Javascript language. It's mainly based on the + Mozilla javascript engine and the GObject introspection framework. + . + This package is the frozen version of gjs that the cinnamon desktop currently + uses. . This package contains the development files applications need to build against. -Package: libcjs-dbg -Section: debug +Package: libcjs0 Architecture: any -Priority: extra -Depends: libcjs0 (= ${binary:Version}), - ${misc:Depends} -Description: Mozilla-based javascript bindings for the Cinnamon platform +Multi-Arch: same +Section: libs +Depends: ${gir:Depends}, ${misc:Depends}, ${shlibs:Depends} +Conflicts: libcjs0a, libcjs0c, libcjs0e, libcjs0f +Replaces: libcjs0a, libcjs0c, libcjs0e, libcjs0f +Provides: ${cjs:Provides} +Description: Library of the javascript bindings for the Cinnamon Makes it possible for applications to use all of Cinnamon's platform - libraries using the JavaScript language. It's mainly based on the - Mozilla JavaScript engine and the GObject introspection framework. + libraries using the Javascript language. It's mainly based on the + Mozilla javascript engine and the GObject introspection framework. . - This development package contains unstripped binaries compiled with - debugging symbols needed by gdb. + This package is the frozen version of gjs that the cinnamon desktop currently + uses. + . + This package contains the shared library, used by cjs itself, and cinnamon. diff --git a/debian/copyright b/debian/copyright index 22b19022..9cf12349 100644 --- a/debian/copyright +++ b/debian/copyright @@ -1,13 +1,7 @@ Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ -Source: https://download.gnome.org/sources/gjs/ -Comment: - This work was packaged for Debian by: - . - Gustavo Noronha Silva on Mon, 12 Oct 2009 18:38:36 -0300 - . - Upstream Author: - . - litl, LLC +Upstream-Name: cjs +Upstream-Contact: Clement Lefebvre +Source: https://github.com/linuxmint/cjs Files: * Copyright: diff --git a/debian/libcjs0.symbols b/debian/libcjs0.symbols index eedeecb7..ddacccce 100644 --- a/debian/libcjs0.symbols +++ b/debian/libcjs0.symbols @@ -1,65 +1,65 @@ libcjs.so.0 libcjs0 #MINVER# * Build-Depends-Package: libcjs-dev - gjs_bindtextdomain@Base 1.63.90 - gjs_cairo_pdf_surface_proto_props@Base 1.70.0 - gjs_clear_terminal@Base 1.70.0 - gjs_console_clear@Base 1.70.0 - gjs_console_is_tty@Base 1.70.0 - gjs_context_define_string_array@Base 1.63.90 - gjs_context_eval@Base 1.63.90 - gjs_context_eval_file@Base 1.63.90 - gjs_context_eval_module@Base 1.67.2 - gjs_context_eval_module_file@Base 1.67.2 - gjs_context_gc@Base 1.63.90 - gjs_context_get_all@Base 1.63.90 - gjs_context_get_current@Base 1.63.90 - gjs_context_get_native_context@Base 1.63.90 - gjs_context_get_profiler@Base 1.63.90 - gjs_context_get_type@Base 1.63.90 - gjs_context_make_current@Base 1.63.90 - gjs_context_maybe_gc@Base 1.63.90 - gjs_context_new@Base 1.63.90 - gjs_context_new_with_search_path@Base 1.63.90 - gjs_context_print_stack_stderr@Base 1.63.90 - gjs_context_register_module@Base 1.67.2 - gjs_context_set_argv@Base 1.67.2 - gjs_context_setup_debugger_console@Base 1.63.90 - gjs_coverage_enable@Base 1.65.90 - gjs_coverage_get_type@Base 1.70.0 - gjs_coverage_new@Base 1.63.90 - gjs_coverage_write_statistics@Base 1.63.90 - gjs_dbus_implementation_emit_property_changed@Base 1.63.90 - gjs_dbus_implementation_emit_signal@Base 1.63.90 - gjs_dbus_implementation_get_type@Base 1.63.90 - gjs_dumpstack@Base 1.63.90 - gjs_error_quark@Base 1.63.90 - gjs_format_int_alternative_output@Base 1.63.90 - gjs_g_object_bind_property_full@Base 1.70.0 - gjs_get_js_version@Base 1.63.90 - gjs_gobject_class_info@Base 1.70.0 - gjs_gobject_interface_info@Base 1.70.0 - gjs_gtk_container_child_set_property@Base 1.63.90 - gjs_importer_class@Base 1.70.0 - gjs_importer_proto_funcs@Base 1.70.0 - gjs_js_error_get_type@Base 1.63.90 - gjs_js_error_quark@Base 1.63.90 - gjs_list_store_insert_sorted@Base 1.70.0 - gjs_list_store_sort@Base 1.70.0 - gjs_locale_category_get_type@Base 1.63.90 - gjs_log_set_writer_default@Base 1.70.0 - gjs_log_set_writer_func@Base 1.70.0 - gjs_memory_report@Base 1.63.90 - gjs_param_class@Base 1.70.0 - gjs_param_spec_get_flags@Base 1.63.90 - gjs_param_spec_get_owner_type@Base 1.63.90 - gjs_param_spec_get_value_type@Base 1.63.90 - gjs_profiler_chain_signal@Base 1.63.90 - gjs_profiler_get_type@Base 1.63.90 - gjs_profiler_set_capture_writer@Base 1.67.2 - gjs_profiler_set_fd@Base 1.63.90 - gjs_profiler_set_filename@Base 1.63.90 - gjs_profiler_start@Base 1.63.90 - gjs_profiler_stop@Base 1.63.90 - gjs_repo_class@Base 1.70.0 - gjs_setlocale@Base 1.63.90 - gjs_textdomain@Base 1.63.90 + gjs_bindtextdomain@Base 2.4.1 + gjs_cairo_pdf_surface_proto_props@Base 5.4.0 + gjs_clear_terminal@Base 5.4.0 + gjs_console_clear@Base 5.4.0 + gjs_console_is_tty@Base 5.4.0 + gjs_context_define_string_array@Base 2.0.0 + gjs_context_eval@Base 2.0.0 + gjs_context_eval_file@Base 2.0.0 + gjs_context_eval_module@Base 5.4.0 + gjs_context_eval_module_file@Base 5.4.0 + gjs_context_gc@Base 2.0.0 + gjs_context_get_all@Base 2.0.0 + gjs_context_get_current@Base 2.4.1 + gjs_context_get_native_context@Base 2.0.0 + gjs_context_get_profiler@Base 4.0.0 + gjs_context_get_type@Base 2.0.0 + gjs_context_make_current@Base 2.4.1 + gjs_context_maybe_gc@Base 2.0.0 + gjs_context_new@Base 2.0.0 + gjs_context_new_with_search_path@Base 2.0.0 + gjs_context_print_stack_stderr@Base 2.0.0 + gjs_context_register_module@Base 5.4.0 + gjs_context_set_argv@Base 5.4.0 + gjs_context_setup_debugger_console@Base 4.6.0 + gjs_coverage_enable@Base 4.6.0 + gjs_coverage_get_type@Base 5.4.0 + gjs_coverage_new@Base 2.4.1 + gjs_coverage_write_statistics@Base 2.4.1 + gjs_dbus_implementation_emit_property_changed@Base 2.0.0 + gjs_dbus_implementation_emit_signal@Base 2.0.0 + gjs_dbus_implementation_get_type@Base 2.0.0 + gjs_dumpstack@Base 2.0.0 + gjs_error_quark@Base 2.0.0 + gjs_format_int_alternative_output@Base 2.4.1 + gjs_g_object_bind_property_full@Base 5.4.0 + gjs_get_js_version@Base 4.0.0 + gjs_gobject_class_info@Base 5.4.0 + gjs_gobject_interface_info@Base 5.4.0 + gjs_gtk_container_child_set_property@Base 2.4.1 + gjs_importer_class@Base 5.4.0 + gjs_importer_proto_funcs@Base 5.4.0 + gjs_js_error_get_type@Base 4.0.0 + gjs_js_error_quark@Base 4.0.0 + gjs_list_store_insert_sorted@Base 5.4.0 + gjs_list_store_sort@Base 5.4.0 + gjs_locale_category_get_type@Base 3.4.4 + gjs_log_set_writer_default@Base 5.4.0 + gjs_log_set_writer_func@Base 5.4.0 + gjs_memory_report@Base 2.0.0 + gjs_param_class@Base 5.4.0 + gjs_param_spec_get_flags@Base 3.4.4 + gjs_param_spec_get_owner_type@Base 3.4.4 + gjs_param_spec_get_value_type@Base 3.4.4 + gjs_profiler_chain_signal@Base 4.0.0 + gjs_profiler_get_type@Base 4.0.0 + gjs_profiler_set_capture_writer@Base 5.4.0 + gjs_profiler_set_fd@Base 4.6.0 + gjs_profiler_set_filename@Base 4.0.0 + gjs_profiler_start@Base 4.0.0 + gjs_profiler_stop@Base 4.0.0 + gjs_repo_class@Base 5.4.0 + gjs_setlocale@Base 3.4.4 + gjs_textdomain@Base 2.4.1