--- nuntium-1.4.orig/debian/changelog +++ nuntium-1.4/debian/changelog @@ -0,0 +1,171 @@ +nuntium (1.4-0ubuntu2) vivid; urgency=medium + + * Adjusting packaging to work on ppc64el. + + -- Sergio Schvezov Thu, 22 Jan 2015 10:33:33 -0300 + +nuntium (1.4-0ubuntu1) vivid; urgency=medium + + [Manuel de la Pena] + * Adding support for multiple recipients. (LP: #1398440) + + -- Sergio Schvezov Tue, 20 Jan 2015 11:42:30 -0300 + +nuntium (1.1-0ubuntu1) vivid; urgency=medium + + * Minor tree refactor. + * Test tool added. + * Documentation added. + + -- Sergio Schvezov Fri, 07 Nov 2014 16:01:53 -0300 + +nuntium (0.1+14.10.20141013-0ubuntu1) 14.09; urgency=low + + [ Sergio Schvezov ] + * Hold off on retrying when ofono fails to activate a context with a + generic failure (LP: #1380699) + + -- Ubuntu daily release Mon, 13 Oct 2014 16:59:11 +0000 + +nuntium (0.1+14.10.20141002-0ubuntu1) 14.09; urgency=low + + [ Sergio Schvezov ] + * Allow context selection over the org.ofono.mms.Service interface + (LP: #1370660) + * Syncing upload/download operations with activation/deactivation per + request. Moving all the ofono context property checks and reflection + logic to proper functions for easier reuse and readability. (LP: + #1376224) + * Retry on NotAttached ofono errors (LP: #1371032) + + -- Ubuntu daily release Thu, 02 Oct 2014 15:06:31 +0000 + +nuntium (0.1+14.10.20140924-0ubuntu1) 14.09; urgency=low + + [ Sergio Schvezov ] + * Using the same optional parameters android uses for sending, fixing + length encoding for lengths < 30, adding extra params to the content + types. (LP: #1349299) + + -- Ubuntu daily release Wed, 24 Sep 2014 12:39:58 +0000 + +nuntium (0.1+14.10.20140918-0ubuntu1) 14.09; urgency=low + + [ Sergio Schvezov ] + * Iterate over a list of possible valid MMS contexts and store the + preferred one (LP: #1370659) + + -- Ubuntu daily release Thu, 18 Sep 2014 04:37:21 +0000 + +nuntium (0.1+14.10.20140915.1-0ubuntu1) 14.09; urgency=low + + [ Ubuntu daily release ] + * New rebuild forced + + [ Sergio Schvezov ] + * Add a missing return statement when decoding fails with an + additional decoding test. (LP: #1369143) + + -- Ubuntu daily release Mon, 15 Sep 2014 14:59:46 +0000 + +nuntium (0.1+14.10.20140912-0ubuntu1) utopic; urgency=low + + [ Sergio Schvezov ] + * Allow proxyless contexts to be selected for MMS (LP: #1362008) + + -- Ubuntu daily release Fri, 12 Sep 2014 00:38:34 +0000 + +nuntium (0.1+14.10.20140904-0ubuntu1) utopic; urgency=low + + [ Sergio Schvezov ] + * Better error handling on sending MMS and lowering the supported + version number for broader carrier support (LP: #1349299) + + -- Ubuntu daily release Thu, 04 Sep 2014 19:21:58 +0000 + +nuntium (0.1+14.10.20140902-0ubuntu1) utopic; urgency=low + + [ Sergio Schvezov ] + * Read reflected content length for push data into the correct type. + (LP: #1342441) + + -- Ubuntu daily release Tue, 02 Sep 2014 08:39:25 +0000 + +nuntium (0.1+14.10.20140814-0ubuntu1) utopic; urgency=low + + [ Tiago Salem Herrmann ] + * Add ModemObjectPath property to Service. + + -- Ubuntu daily release Thu, 14 Aug 2014 20:25:23 +0000 + +nuntium (0.1+14.10.20140721-0ubuntu1) utopic; urgency=low + + [ Sergio Schvezov ] + * Calling sync and close after encoding and before uploading. + * Header parameter encoding corrections for content type and from + token insert address length. + * Attachment encoding fixes. (LP: #1342270) + * Tracking response file for uploads (remaining parts to be done when + telepathy-ofono integration work starts) + + -- Ubuntu daily release Mon, 21 Jul 2014 09:44:10 +0000 + +nuntium (0.1+14.10.20140702.2-0ubuntu1) utopic; urgency=low + + [ CI bot ] + * Upload support while moving udm to it's new package namespace + * SendMessage telepathy service support with necessary encoder fixes. + + [ Sergio Schvezov ] + * Improving incoming dbus method call handling for the mms service + interface + * Waiting for calls to GetServices on the proper interface + * Adding a minimal telepathy message interface + * Fixing recv for multiple recipients. + * Making decoding less verbose and logging information on errors only + * Adding encode -> decode tests for the cases where decoding is the + inverse function of encoding. + * Relaxing matching for smil media type + * Length bound checks fix (LP: #1336146) + * Sending MessageAdded with draft Status for new outgoing messages + + -- Ubuntu daily release Wed, 02 Jul 2014 21:15:22 +0000 + +nuntium (0.1+14.10.20140621-0ubuntu1) utopic; urgency=low + + [ Sergio Schvezov ] + * Decoding well known media types in the push notification. (LP: + #1330917) + + -- Ubuntu daily release Sat, 21 Jun 2014 19:53:48 +0000 + +nuntium (0.1+14.10.20140529-0ubuntu1) utopic; urgency=low + + [ Sergio Schvezov ] + * Fixing constrained content type decoding (LP: #1324182) + + -- Ubuntu daily release Thu, 29 May 2014 13:55:29 +0000 + +nuntium (0.1+14.10.20140514.1-0ubuntu1) utopic; urgency=low + + [ Sergio Schvezov ] + * Fixing a string decode bounds issue + * Removing redundant log line + * Adding one more condition to the upstart start stanza since the + first event can be missed + * Splitting up ofono package to smaller logical bits + * Encoder improvements + + -- Ubuntu daily release Wed, 14 May 2014 14:21:59 +0000 + +nuntium (0.1-0ubuntu2) utopic; urgency=medium + + * Moving stray Built-Using from Depends into Built-Using. + + -- Sergio Schvezov Mon, 12 May 2014 10:04:25 -0300 + +nuntium (0.1-0ubuntu1) utopic; urgency=low + + * Initial packaging. + + -- Sergio Schvezov Thu, 03 Apr 2014 15:01:24 -0300 --- nuntium-1.4.orig/debian/cleanup.sh +++ nuntium-1.4/debian/cleanup.sh @@ -0,0 +1,21 @@ +#!/bin/sh + +build_dir=$1 +gopkg=$2 + +gopkg_path=$build_dir/usr/share/gocode/src/$gopkg + +rm -r \ + $gopkg_path/test \ + $gopkg_path/storage \ + $gopkg_path/scripts \ + $gopkg_path/docs \ + $gopkg_path/.travis.yml \ + $gopkg_path/.gitignore \ + $gopkg_path/README.md \ + $gopkg_path/cmd + +[ -f $build_dir/usr/bin/*/test ] && rm $build_dir/usr/bin/*/test +[ -f $build_dir/usr/bin/test ] && rm $build_dir/usr/bin/test + +exit 0 --- nuntium-1.4.orig/debian/compat +++ nuntium-1.4/debian/compat @@ -0,0 +1 @@ +9 --- nuntium-1.4.orig/debian/control +++ nuntium-1.4/debian/control @@ -0,0 +1,70 @@ +Source: nuntium +Section: devel +Priority: optional +Maintainer: Ubuntu Developers +Build-Depends: + debhelper (>= 9), + dh-golang, + gccgo, + gccgo-go, + golang-go-dbus-dev, + golang-go-flags-dev, + golang-go-xdg-dev, + golang-gocheck-dev, + golang-udm-dev, +Standards-Version: 3.9.5 +Homepage: https://launchpad.net/nuntium +Vcs-Browser: http://bazaar.launchpad.net/~phablet-team/packaging/trunk/files +Vcs-Bzr: lp:packaging + +Package: nuntium +Architecture: any +Depends: ofono, ubuntu-download-manager, ubuntu-upload-manager, ${misc:Depends}, ${shlibs:Depends} +Built-Using: ${misc:Built-Using} +Recommends: telepathy-ofono +Conflicts: mmsd +Description: Bridges push notifications from ofono to telepathy-ofono + This component registers a push agent with ofono and handles the MMS workflow + by bridging with telepathy-ofono + +Package: nuntium-decode-cli +Depends: nuntium-tools, ${misc:Depends} +Architecture: all +Priority: extra +Section: oldlibs +Built-Using: ${misc:Built-Using} +Description: transitional dummy package + This is a transitional dummy package. It can safely be removed. + +Package: nuntium-tools +Architecture: any +Depends: ${misc:Depends}, ${shlibs:Depends} +Replaces: nuntium-decode-cli (<< 1.1~) +Breaks: nuntium-decode-cli (<< 1.1~) +Built-Using: ${misc:Built-Using} +Description: Useful tools for working with MMS and nuntium. + - Decode m-retrieve.conf messages + - Stub an ofono push notification into nuntium. + +Package: golang-nuntium-mms-dev +Architecture: all +Depends: ${misc:Depends} +Built-Using: ${misc:Built-Using} +Description: Go library for manipulating MMS + This package handles MMS PDUs and has hooks for related actions in the MMS + workflow + +Package: golang-nuntium-ofono-dev +Architecture: all +Depends: ${misc:Depends} +Built-Using: ${misc:Built-Using} +Description: Go library for interfacing with ofono + Provides facilities to interface with ofono with regards to MMS through dbus + +Package: golang-nuntium-telepathy-dev +Architecture: all +Depends: ${misc:Depends} +Built-Using: ${misc:Built-Using} +Description: Go library for interfacing with telepathy-ofono + Provides facilities to interface with telepathy ofono with regards to MMS + through dbus --- nuntium-1.4.orig/debian/copyright +++ nuntium-1.4/debian/copyright @@ -0,0 +1,22 @@ +Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ +Upstream-Name: nuntium +Source: https://launchpad.net/nuntium + +Files: * +Copyright: Copyright (C) 2013 Canonical, Ltd. +License: GPL-3 + This program is free software: you can redistribute it and/or modify it + under the terms of the the GNU General Public License version 3, as + published by the Free Software Foundation. + . + This program is distributed in the hope that it will be useful, but + WITHOUT ANY WARRANTY; without even the implied warranties of + MERCHANTABILITY, SATISFACTORY QUALITY or FITNESS FOR A PARTICULAR + PURPOSE. See the applicable version of the GNU Lesser General Public + License for more details. + . + You should have received a copy of the GNU General Public License + along with this program. If not, see . + . + On Debian systems, the complete text of the GNU General Public License + can be found in `/usr/share/common-licenses/GPL-3' --- nuntium-1.4.orig/debian/docs +++ nuntium-1.4/debian/docs @@ -0,0 +1,2 @@ +README.md +docs --- nuntium-1.4.orig/debian/golang-nuntium-mms-dev.install +++ nuntium-1.4/debian/golang-nuntium-mms-dev.install @@ -0,0 +1 @@ +usr/share/gocode/src/github.com/ubuntu-phonedations/nuntium/mms --- nuntium-1.4.orig/debian/golang-nuntium-ofono-dev.install +++ nuntium-1.4/debian/golang-nuntium-ofono-dev.install @@ -0,0 +1 @@ +usr/share/gocode/src/github.com/ubuntu-phonedations/nuntium/ofono --- nuntium-1.4.orig/debian/golang-nuntium-telepathy-dev.install +++ nuntium-1.4/debian/golang-nuntium-telepathy-dev.install @@ -0,0 +1 @@ +usr/share/gocode/src/github.com/ubuntu-phonedations/nuntium/telepathy --- nuntium-1.4.orig/debian/nuntium-tools.install.in +++ nuntium-1.4/debian/nuntium-tools.install.in @@ -0,0 +1,2 @@ +usr/bin/@DEB_HOST_ARCH@/nuntium-decode-cli +usr/bin/@DEB_HOST_ARCH@/nuntium-inject-push --- nuntium-1.4.orig/debian/nuntium.conf +++ nuntium-1.4/debian/nuntium.conf @@ -0,0 +1,6 @@ +description "nuntium service binds ofono and telepathy-ofono for MMS" + +start on (:sys:started JOB=ofono or started dbus) +stop on :sys:stopping JOB=ofono + +exec nuntium --- nuntium-1.4.orig/debian/nuntium.install.in +++ nuntium-1.4/debian/nuntium.install.in @@ -0,0 +1,2 @@ +debian/nuntium.conf /usr/share/upstart/sessions/ +usr/bin/@DEB_HOST_ARCH@/nuntium --- nuntium-1.4.orig/debian/rules +++ nuntium-1.4/debian/rules @@ -0,0 +1,41 @@ +#!/usr/bin/make -f +# -*- makefile -*- + +export DH_OPTIONS +export DH_GOPKG := github.com/ubuntu-phonedations/nuntium +export DH_GOLANG_INSTALL_ALL := 1 + +DEB_HOST_ARCH := $(shell dpkg-architecture -qDEB_HOST_ARCH) + +%: + dh $@ \ + --buildsystem=golang \ + --with=golang \ + --fail-missing + +override_dh_auto_test: +# The test runners panic when running on powerpc64. +ifneq ($(DEB_HOST_ARCH),powerpc) + dh_auto_test +endif + +override_dh_auto_install: + dh_auto_install -O--buildsystem=golang + sh debian/cleanup.sh ${CURDIR}/debian/tmp $(DH_GOPKG) + +override_dh_install: debian/nuntium.install debian/nuntium-tools.install + dh_install + +override_dh_strip: + echo "Skipping strip" + +debian/%.install: debian/%.install.in +ifeq ($(DEB_HOST_ARCH),ppc64el) + sed 's/@DEB_HOST_ARCH@/*/g' $< > $@ +else + sed 's/@DEB_HOST_ARCH@//g' $< > $@ +endif + +override_dh_clean: + rm -f debian/nuntium.install debian/nuntium-tools.install + dh_clean