cellbroadcastd (0.0.3) unstable; urgency=medium

  [ Evangelos Ribeiro Tzaras ]
  * meson: Rename project to cellbroadcastd
  * treewide: Assign copyright to Phosh.mobi e.V.
    This change has been discussed and
    all contributors are fine with this.
  * tests: Split off daemon and library tests.
    Closes: https://gitlab.freedesktop.org/devrtz/cellbroadcastd/-/issues/25
  * ci: Build and test without daemon

  [ Guido Günther ]
  * libcellbroadcast: Build vapi files.
    Let's support vala too
  * packaging: Enable vapi and install files
  * packaging: Depend on systemd-dev.
    Otherwise the service unit won't be at the expected location:
    https://source.puri.sm/guido.gunther/phosh-debs/-/jobs/473827#L1962
  * libcellbroadcast: Depend on generated enum headers.
  * service-providers: Use plural form consistently.
    The class uses service-providers but some methods were just
    service-provider.
    Fixes: 3bfe349 ("channel-manager: Keep track of relevant CBS channels")
  * service-providers: Ignore case when comparing country.
    That way it doesn't matter how we get it from MM.
  * mm-manager: Allow to get channel manager
  * manager: Use channel manager from mm-manager.
    The channel manager used by `CbdManager` wasn't initialized
    with the correct country and not updated on country changes
    either. The one used by `CbdMmManager` handles this already
    so just use that one. This also avoids parsing the channel
    information in multiple places.
    This fixes incorrect severity on Cell Broadcast messages
    in the database due to a not set country in the channel
    manager.
    Fixes: 92fea28 ("manager: Use CbdChannelManager to determine message severity levels")
  * cellbroadcastd: Start for default target
    multi-user is for system services.
  * service-providers: Use correct free func.
    Channels is a `GArray`, not a hash table.
  * data: Fix copyright.
    Can't be correct as the code is much newer :)
    Fixes: 55037e5 ("treewide: Assign copyright to Phosh.mobi e.V.")
  * mm-manager: Use blocklist.
    It's more neutral than the current term
  * mm-manager: Get MM version early.
    If we do it later in the async call chain it might deadlock. Do
    it early as this will go away eventually anyway.

 -- Guido Günther <agx@sigxcpu.org>  Sat, 04 Oct 2025 12:06:42 +0200

cellbroadcastd (0.0.2) unstable; urgency=medium

  [ Guido Günther ]
  * libcellbroadcast: Fix symbol version (Closes: #30)
  * ci: Check consistency

  [ Evangelos Ribeiro Tzaras ]
  * test-message: Ensure timestamp is always 64 bit wide (Closes: #29)

 -- Evangelos Ribeiro Tzaras <devrtz-debian@fortysixandtwo.eu>  Fri, 27 Jun 2025 07:34:51 +0200

cellbroadcastd (0.0.1) unstable; urgency=medium

  [ Evangelos Ribeiro Tzaras ]
  * treewide: Initial skeleton
  * service: Fix executable name
  * build: Disable more gmobile features
  * ci: Update check-meson script to ignore subprojects
  * tree: Build library
  * treewide: Move severity level enums to the library
  * lib: Introduce LcbMessage
  * cbd-message: Inherit from LcbMessage
  * lcb-util: Add helpers to load and save gvdb message database
  * lib: Introduce library init/uninit functions
  * manager: Cancel cancellable on dispose
  * manager: Initial message deduplication
  * manager: Save messages to database
  * manager: Watch for and add new cell broadcast messages
  * manager: Use CbdChannelManager to determine message severity levels
  * manager: Implement message loading from the database
  * data/dbus: Readd OpenMessage method
  * manager: Implement OpenMessage() DBus Method
  * lib: Introduce lcb-cbd
  * tree: Add cbcli tool
  * tests: Add library initialization test
  * readme: Add fdo CoC
  * tests: Isolate library tests' session bus
  * ci: Install build-deps using apt build-dep subcommand
  * readme: Update link to d/control build deps
  * lib: Install mkenum headers
  * cli: Print severity of messages
  * build: Include whether the daemon gets built in summary
  * data: Add systemd service
  * build: Unbreak configuring with disabled daemon
  * tests: Reorganize meson build files to use loop
  * tests: Add simple message tests
  * message: Allow setting current timestamp by specifying 0
  * lcb-cbd: Propagate error when failing to get any bytes
  * cli: Print to stderr on error
  * lcb-util: Be more lenient when saving messages
  * lcb-util: Propagate error when failing to get any raw messages
  * test-util: Cover NULL and empty messages case
  * test-util: Assert first on errors, then return values
  * lcb-message: Use gint64, not guint64 for timestamp
  * lcb-message: Add severity subject
  * cbd-manager: Ensure notification title is in sync with message subject
  * cbd-manager: Enable close-on-exec flag on passed file descriptors
  * cbd-manager: Use g_autofd from glib 2.76 to avoid leaking fds
  * lcb-cbd: Prefer g_autofd over manual closing
  * cbd-manager: Sort message list by timestamp

  [ Guido Günther ]
  * ci: Add some initial CI
  * channel-manager: Keep track of relevant CBS channels
  * modem-3gpp: Object to track MM's 3GPP modem properties
  * modem-cell-broadcast: Object to track MM's CellBroadcast interface
  * mm-manager: Track 3GPP and Cell Broadcast interfaces
  * data: Drop unimplemented DBus bits
  * mm-manager: Add has-cellbroadcasts property
  * service-providers: Don't leak text_buffer
  * channel-manager: Don't leak channels
  * tests: Don't leak channels
  * tests: Depend on schema
  * ci: Add ASAN check
  * 3gpp: Don't try to get country from a `NULL` operator
  * lcb: Fix library initialization
  * ci: Add gettext
  * data: Add desktop file
  * cbd-message: Don't forget to set severity
  * manager: Use correct cleanup for hash table
  * daemon: New object to wrap GApplication
  * cbd: Move main loop and DBus handling to daemon
  * manager: Avoid singleton
  * manager: Make channel manager a property
  * daemon: Cleanup gracefully on SIGTERM and SIGINT
  * packaging: Let daemon depend on mobile broadband provider info
  * packaging: Add dependencies for gir build
  * gitignore: Ignore packaging files and dirs
  * libcellbroadcast: Fix transfer annotations
  * libcellbroadcast: Use `Returns:` consistently
  * libcellbroadcast: Build gir
  * manager: Move recent check to separate method
  * manager: Return whether the message is recent
  * manager: Send notifications
  * mm-manager: Blacklist Cell Broadcast support on 1.24
  * util: Don't assume `severity-subject` is non-null
  * message: Fix property doc
  * message: Document the timestamps unit
  * cbd-manager: Fix duplication time
  * modem-3gpp: Allow to get operator code
  * mm-manager: Make the signal name match the enum value
  * mm-manager: Determine and emit operator code at time of CBM retrieval
  * message: Add operator-code property
  * manager: Save and store operator-code
  * cbd-manager: Duplication detection
  * manager: Drop recent table
  * treewide: Fix includes
  * libcellbroadcast: Make constructor and some methods private
  * libcellbroadcast: Fix doc string
  * libcellbroadcast: Indicate the library is for all DEs
  * treewide: Use static library for daemon and tests
  * libcellbroadcast: Add symbols file

  [ Mr Mojo Risin ]
  * tree: Initial debianization

 -- Evangelos Ribeiro Tzaras <devrtz-debian@fortysixandtwo.eu>  Wed, 25 Jun 2025 16:39:58 +0200
