--- ethos-0.2.2.orig/debian/libethos-ui-1.0-0.symbols +++ ethos-0.2.2/debian/libethos-ui-1.0-0.symbols @@ -0,0 +1,7 @@ +libethos-ui-1.0.so.0 libethos-ui-1.0-0 #MINVER# +* Build-Depends-Package: libethos-ui-dev + ethos_ui_configurable_configure@Base 0.2.2 + ethos_ui_configurable_get_type@Base 0.2.2 + ethos_ui_manager_widget_get_type@Base 0.2.2 + ethos_ui_manager_widget_new@Base 0.2.2 + ethos_ui_manager_widget_set_manager@Base 0.2.2 --- ethos-0.2.2.orig/debian/rules +++ ethos-0.2.2/debian/rules @@ -0,0 +1,85 @@ +#!/usr/bin/make -f + +GIT_URL = git://git.dronelabs.com/ethos +GIT_BRANCH := "master" +GIT_BRANCH_NAME := ethos + +ifneq (,$(LOCAL_BRANCH)) +LOCAL_REAL_BRANCH = $(realpath $(LOCAL_BRANCH)) +endif + +DEB_SOURCE := $(shell dpkg-parsechangelog | grep Source: | sed -e 's/Source: //') +DEB_VERSION := $(shell dpkg-parsechangelog | grep Version: | sed -e 's/Version: //') +DEB_UPSTREAM_VERSION := $(shell echo $(DEB_VERSION) | sed -e 's/-[^-]*$$//') +DEB_MAJOR_VERSION := $(shell echo $(DEB_UPSTREAM_VERSION) | sed -e 's/git.*//') + +DEB_PYTHON_SYSTEM := pycentral + +include /usr/share/cdbs/1/rules/debhelper.mk +include /usr/share/cdbs/1/class/autotools.mk +include /usr/share/cdbs/1/rules/patchsys-quilt.mk +include /usr/share/cdbs/1/rules/utils.mk + +DEB_CONFIGURE_EXTRA_FLAGS += --enable-static --enable-gtk-doc +DEB_DH_MAKESHLIBS_ARGS_libethos-1.0-0 = -V 'libethos-1.0-0 (>= 0.1.0)' -- -c4 +DEB_DH_MAKESHLIBS_ARGS_python-ethos = -n + +binary-install/python-ethos:: + dh_pycentral -p$(cdbs_curpkg) + +clean:: + rm -f gtk-doc.make + +pre-build:: + gtkdocize --copy + intltoolize -c -f + autoreconf -f -i -v + +GET_SOURCE = \ + set -e; \ + tmpdir=`mktemp -d -t`; \ + cd $$tmpdir; \ + echo "cloning upstream repository ..."; \ + git clone $(if $(LOCAL_BRANCH),$(call LOCAL_REAL_BRANCH)/$(GIT_BRANCH_NAME),$(GIT_URL)) $(GIT_BRANCH_NAME); \ + echo "getting specific upstream revision/tag: $(1)"; \ + cd `ls | head -n 1`; git checkout -b orig $(1); \ + commit_id=`git log -n1 --abbrev-commit | grep '^commit ' | sed -e 's/commit //' | sed -e 's/\.\.\.$$//'`; \ + raw=`date --utc --date="$$(git log --pretty=fuller -n1 --date=rfc | grep CommitDate: | sed -e 's/CommitDate:[^0-9]*//')" "+%Y%m%dt%H%M%S"`; \ + if echo $(1) | grep -q -c "orig" || echo $(DEB_VERSION) | grep -q -c "git"; \ + then \ + upstream_version=$(DEB_MAJOR_VERSION)git.$$raw.$$commit_id; \ + else \ + upstream_version=$(DEB_UPSTREAM_VERSION); \ + fi; \ + cd ..; tar --exclude=.git -czf $(CURDIR)/$(DEB_SOURCE)_$$upstream_version.orig.tar.gz `ls | head -n 1`; \ + cd $(CURDIR); rm -rf $$tmpdir; + +get-current-source:: $(if $(LOCAL_BRANCH),update-local-branch) + set -e; if echo $(DEB_VERSION) | grep -q -c "git"; \ + then \ + git_version=`echo $(DEB_VERSION) | sed -e 's/^.*git\.*\([0-9t]*\)\.\(.*\)-.*$$/\2/g'`; \ + elif echo $(DEB_VERSION) | grep -q -c "0.2.2-1"; \ + then \ + git_version="ETHOS_0_2_2"; \ + else \ + git_version=$(DEB_UPSTREAM_VERSION); \ + fi; \ + $(call GET_SOURCE, $$git_version, "current") + +get-orig-source:: $(if $(LOCAL_BRANCH),update-local-branch) + $(call GET_SOURCE, "master", "orig") + +update-local-branch:: + @echo "updating local branch ($(LOCAL_BRANCH))" + @set -e; if ! test -d $(LOCAL_BRANCH)/$(GIT_BRANCH_NAME); then mkdir -p $(LOCAL_BRANCH)/$(GIT_BRANCH_NAME); \ + cd $(LOCAL_BRANCH)/$(GIT_BRANCH_NAME); \ + git init && git remote add -f -t $(GIT_BRANCH) -m master origin $(GIT_URL); \ + git merge remotes/origin/$(GIT_BRANCH); else cd $(LOCAL_BRANCH)/$(GIT_BRANCH_NAME); git pull -f; fi + @echo "updated local branch ($(LOCAL_BRANCH))" + +get-snapshot-info:: $(if $(LOCAL_BRANCH),update-local-branch) + @set -e; \ + git_version=`echo $(DEB_VERSION) | sed -e 's/^.*git\.*\([0-9t]*\)\.\(.*\)-.*$$/\2/g'`; \ + cd $(LOCAL_BRANCH)/$(GIT_BRANCH_NAME); \ + raw=`date --utc --date="$$(git log --pretty=fuller -n1 --date=rfc $$git_version | grep CommitDate: | sed -e 's/CommitDate:[^0-9]*//')" "+%Y-%m-%d %H:%M:%S (GMT)"`; \ + git log -n1 $$git_version --format="%n%s%n%n * upstream snapshot $$raw%n + %H%n"; --- ethos-0.2.2.orig/debian/copyright +++ ethos-0.2.2/debian/copyright @@ -0,0 +1,106 @@ +Format-Specification: http://dep.debian.net/deps/dep5/ +Name: ethos +Maintainer: Christian Hergert +Source: http://dronelabs.com/projects/ +Disclaimer: Dual-licensing of contents under doc/ granted by Maintainer. See X-License-Rationale. + +Files: * +Copyright: 2009, Christian Hergert +License: LGPL-2.1 + +Files: tests/manager-dep/jstest.test-plugin.disabled, + tests/manager-dep/another.test-plugin.disabled, + tests/manager-dep/sample.test-plugin.in, + tests/manager-dep/example.test-plugin.in +Copyright: 2009, Public Domain + + +Files: tests/c-plugins/sample.test-plugin.in, + examples/vala-host/plugins/sample2.valethos-plugin, + examples/vala-host/plugins/sample.valethos-plugin, + examples/sample/plugins/progress.sample-plugin, + examples/sample/plugins/entry.sample-plugin, + examples/sample/plugins/scroller.sample-plugin +Copyright: Public Domain + +Files: po/de.po, po/fr.po +Copyright: 2009, Novopia Solutions Inc. +License: LGPL-2.1 + +Files: debian/* +Copyright: 2009, Christian Hergert +Copyright: 2009, Mathieu Trudel +License: GPL-3 + +Files: doc/* +Copyright: 2009, Christian Hergert +License: GPL-2 or GFDL +X-License-Rationale: + From: Christian Hergert + To: Mathieu Trudel-Lapierre + + Sorry to get back to you so late, been super busy. + + I can dual license the text. + + -- Christian + + On Thu, Oct 15, 2009 at 10:22 AM, Mathieu Trudel-Lapierre < + mathieu.tl@gmail.com> wrote: + + > Hi Christian, + > + > One more detail, since I'm taking a look at the files available and + > more especially debian/copyright: + > + > The GFDL license under which the documentation materials under docs/ + > are distributed is incompatible with the DFSG [1], which is a + > significant blocker for uploading to Debian. + > + > Is there any chance you could also grant distribution of the + > documentation under a different license, such as the GPL? + > Dual licensing is obviously acceptable, and GFDL/GPL dual-licensing + > seems to be what is recommended in cases where licensing under the + > GFDL is needed for compatibility [2]. + > + > Regards, + > + > Mathieu Trudel + > mathieu.tl@gmail.com + > + > [1] http://www.debian.org/vote/2006/vote_001 + > [2] http://people.debian.org/~bap/dfsg-faq.html(Question #8 particularly) + > + --- + From: Christian Hergert + To: Mathieu Trudel-Lapierre + + GPL-2 is fine. + -- Christian + + On Tue, Oct 20, 2009 at 7:59 PM, Mathieu Trudel-Lapierre < + mathieu.tl@gmail.com> wrote: + + > On Tue, Oct 20, 2009 at 11:44 AM, Christian Hergert + > wrote: + > > Sorry to get back to you so late, been super busy. + > > + > > I can dual license the text. + > > + > + > Awesome. What would you prefer? GPL-2, 3? + > + > / Matt + > + +License: LGPL-2.1 + On Debian GNU/Linux systems, the complete text of the GNU Lesser General + Public License can be found in `/usr/share/common-licenses/LGPL-2.1'. + +License: GPL-2 + On Debian GNU/Linux systems, the complete text of the GNU General + Public License can be found in `/usr/share/common-licenses/GPL-2'. + +License: GPL-3 + On Debian GNU/Linux systems, the complete text of the GNU General + Public License can be found in `/usr/share/common-licenses/GPL-3'. --- ethos-0.2.2.orig/debian/libethos-ui-dev.install +++ ethos-0.2.2/debian/libethos-ui-dev.install @@ -0,0 +1,6 @@ +debian/tmp/usr/lib/libethos-ui-1.0.so +debian/tmp/usr/lib/pkgconfig/ethos-ui-1.0* +debian/tmp/usr/share/vala/vapi/ethos-ui-1.0.vapi +debian/tmp/usr/include/ethos-1.0/ethos/ethos-ui.h +debian/tmp/usr/include/ethos-1.0/ethos/ethos-ui-manager-widget.h +debian/tmp/usr/include/ethos-1.0/ethos/ethos-ui-configurable.h --- ethos-0.2.2.orig/debian/docs +++ ethos-0.2.2/debian/docs @@ -0,0 +1,3 @@ +AUTHORS +NEWS +README --- ethos-0.2.2.orig/debian/libethos-1.0-0.symbols +++ ethos-0.2.2/debian/libethos-1.0-0.symbols @@ -0,0 +1,57 @@ +libethos-1.0.so.0 libethos-1.0-0 #MINVER# +* Build-Depends-Package: libethos-dev + ethos_error_get_type@Base 0.1.0 + ethos_error_quark@Base 0.1.0 + ethos_manager_get_app_name@Base 0.1.0 + ethos_manager_get_plugin@Base 0.1.0 + ethos_manager_get_plugin_dirs@Base 0.1.0 + ethos_manager_get_plugin_info@Base 0.1.0 + ethos_manager_get_plugin_loaders@Base 0.1.0 + ethos_manager_get_type@Base 0.1.0 + ethos_manager_initialize@Base 0.1.0 + ethos_manager_load_plugin@Base 0.1.0 + ethos_manager_lookup_plugin_info@Base 0.1.0 + ethos_manager_lookup_plugin_loader@Base 0.1.0 + ethos_manager_new@Base 0.1.0 + ethos_manager_new_full@Base 0.1.0 + ethos_manager_set_app_name@Base 0.1.0 + ethos_manager_set_plugin_dirs@Base 0.1.0 + ethos_manager_unload@Base 0.1.0 + ethos_manager_unload_plugin@Base 0.1.0 + ethos_plugin_activate@Base 0.1.0 + ethos_plugin_deactivate@Base 0.1.0 + ethos_plugin_get_type@Base 0.1.0 + ethos_plugin_info_add_error@Base 0.1.0 + ethos_plugin_info_get_active@Base 0.1.0 + ethos_plugin_info_get_authors@Base 0.1.0 + ethos_plugin_info_get_copyright@Base 0.1.0 + ethos_plugin_info_get_dependencies@Base 0.1.0 + ethos_plugin_info_get_description@Base 0.1.0 + ethos_plugin_info_get_errors@Base 0.1.0 + ethos_plugin_info_get_filename@Base 0.1.0 + ethos_plugin_info_get_iage@Base 0.1.0 + ethos_plugin_info_get_icon_name@Base 0.1.0 + ethos_plugin_info_get_id@Base 0.1.0 + ethos_plugin_info_get_loader@Base 0.1.0 + ethos_plugin_info_get_module@Base 0.1.0 + ethos_plugin_info_get_name@Base 0.1.0 + ethos_plugin_info_get_type@Base 0.1.0 + ethos_plugin_info_get_version@Base 0.1.0 + ethos_plugin_info_get_website@Base 0.1.0 + ethos_plugin_info_has_errors@Base 0.1.0 + ethos_plugin_info_load_from_data@Base 0.1.0 + ethos_plugin_info_load_from_file@Base 0.1.0 + ethos_plugin_info_load_from_key_file@Base 0.1.0 + ethos_plugin_info_new@Base 0.1.0 + ethos_plugin_info_set_active@Base 0.1.0 + ethos_plugin_info_set_filename@Base 0.1.0 + ethos_plugin_info_set_id@Base 0.1.0 + ethos_plugin_info_set_version@Base 0.1.0 + ethos_plugin_loader_gc@Base 0.1.0 + ethos_plugin_loader_get_name@Base 0.1.0 + ethos_plugin_loader_get_type@Base 0.1.0 + ethos_plugin_loader_initialize@Base 0.1.0 + ethos_plugin_loader_load@Base 0.1.0 + ethos_plugin_loader_register_plugin@Base 0.1.0 + ethos_plugin_loader_unload@Base 0.1.0 + ethos_register_runtime_plugin@Base 0.1.0 --- ethos-0.2.2.orig/debian/README.source +++ ethos-0.2.2/debian/README.source @@ -0,0 +1,57 @@ +This package uses quilt to manage all modifications to the upstream +source. Changes are stored in the source package as diffs in +debian/patches and applied during the build. + +To configure quilt to use debian/patches instead of patches, you want +either to export QUILT_PATCHES=debian/patches in your environment +or use this snippet in your ~/.quiltrc: + + for where in ./ ../ ../../ ../../../ ../../../../ ../../../../../; do + if [ -e ${where}debian/rules -a -d ${where}debian/patches ]; then + export QUILT_PATCHES=debian/patches + fi + done + +To get the fully patched source after unpacking the source package, cd to +the root level of the source package and run: + + quilt push -a + +The last patch listed in debian/patches/series will become the current +patch. + +To add a new set of changes, first run quilt push -a, and then run: + + quilt new + +where is a descriptive name for the patch, used as the filename in +debian/patches. Then, for every file that will be modified by this patch, +run: + + quilt add + +before editing those files. You must tell quilt with quilt add what files +will be part of the patch before making changes or quilt will not work +properly. After editing the files, run: + + quilt refresh + +to save the results as a patch. + +Alternately, if you already have an external patch and you just want to +add it to the build system, run quilt push -a and then: + + quilt import -P /path/to/patch + quilt push -a + +(add -p 0 to quilt import if needed). as above is the filename to +use in debian/patches. The last quilt push -a will apply the patch to +make sure it works properly. + +To remove an existing patch from the list of patches that will be applied, +run: + + quilt delete + +You may need to run quilt pop -a to unapply patches first before running +this command. --- ethos-0.2.2.orig/debian/python-ethos.install +++ ethos-0.2.2/debian/python-ethos.install @@ -0,0 +1,3 @@ +debian/tmp/usr/share/pygtk/2.0/defs +debian/tmp/usr/lib/python* +debian/tmp/usr/lib/ethos/plugin-loaders/libpythonloader.so.* --- ethos-0.2.2.orig/debian/libethos-ui-1.0-0.install +++ ethos-0.2.2/debian/libethos-ui-1.0-0.install @@ -0,0 +1,2 @@ +debian/tmp/usr/lib/libethos-ui-1.0.so.* +debian/tmp/usr/share/ethos/icons/ethos-plugin.png --- ethos-0.2.2.orig/debian/libethos-dev.install +++ ethos-0.2.2/debian/libethos-dev.install @@ -0,0 +1,10 @@ +debian/tmp/usr/lib/libethos-1.0.so +debian/tmp/usr/lib/pkgconfig/ethos-1.0* +debian/tmp/usr/share/vala/vapi/ethos-1.0.vapi +debian/tmp/usr/include/ethos-1.0/ethos/ethos.h +debian/tmp/usr/include/ethos-1.0/ethos/ethos-version.h +debian/tmp/usr/include/ethos-1.0/ethos/ethos-plugin.h +debian/tmp/usr/include/ethos-1.0/ethos/ethos-plugin-info.h +debian/tmp/usr/include/ethos-1.0/ethos/ethos-error.h +debian/tmp/usr/include/ethos-1.0/ethos/ethos-manager.h +debian/tmp/usr/include/ethos-1.0/ethos/ethos-plugin-loader.h --- ethos-0.2.2.orig/debian/control +++ ethos-0.2.2/debian/control @@ -0,0 +1,107 @@ +Source: ethos +Section: libs +Priority: optional +Maintainer: Ubuntu Developers +XSBC-Original-Maintainer: Mathieu Trudel +Build-Depends: debhelper (>= 7), + cdbs (>= 0.4.49), + quilt, + valac-0.10, + gnome-pkg-tools (>= 0.11), + pkg-config (>= 0.14), + libglib2.0-dev (>= 2.16.0), + libgtk2.0-dev (>= 2.10.0), + libvala-0.10-dev, + gtk-doc-tools (>= 1.9), + python-dev (>= 2.2), + python-gtk2-dev, + python-gobject-dev, + python-central (>= 0.6), + dpkg-dev (>= 1.14.13) +Standards-Version: 3.8.3 +Homepage: http://dronelabs.com/projects/ +XS-Python-Version: >= 2.2 +Vcs-Bzr: https://code.edge.launchpad.net/~mathieu-tl/ethos/debian + +Package: libethos-1.0-0 +Architecture: any +Depends: ${shlibs:Depends}, + ${misc:Depends} +Description: GObject library for application plugins - shared libraries + Ethos is a library providing a standard plugin system that can be re-used. + The goal is to allow plugin developers to re-use their skills between + applications, therefore, increasing the developer base. + . + This package contains the shared libraries. + +Package: libethos-ui-1.0-0 +Architecture: any +Depends: ${shlibs:Depends}, + ${misc:Depends} +Description: GObject library for application plugins, GTK+ integration - shared libraries + Ethos is a library providing a standard plugin system that can be re-used. + The goal is to allow plugin developers to re-use their skills between + applications, therefore, increasing the developer base. + . + This package contains the shared libraries for the GTK+ integration. + +Package: libethos-dev +Section: libdevel +Architecture: any +Depends: libethos-1.0-0 (= ${binary:Version}), + ${misc:Depends}, + libglib2.0-dev (>= 2.16.0) +Suggests: libunique-doc, vala +Description: GObject library for application plugins - development files + Ethos is a library providing a standard plugin system that can be re-used. + The goal is to allow plugin developers to re-use their skills between + applications, therefore, increasing the developer base. + . + This package contains the headers and development libraries needed to + build applications using the Ethos library + +Package: libethos-ui-dev +Section: libdevel +Architecture: any +Depends: libethos-dev, + libethos-ui-1.0-0 (= ${binary:Version}), + ${misc:Depends}, + libglib2.0-dev (>= 2.16.0), + libgtk2.0-dev (>= 2.10.0) +Suggests: libunique-doc, vala +Description: GObject library for application plugins, GTK+ integration - development files + Ethos is a library providing a standard plugin system that can be re-used. + The goal is to allow plugin developers to re-use their skills between + applications, therefore, increasing the developer base. + . + This package contains the headers and development libraries needed to + build applications using the Ethos UI library + +Package: libethos-doc +Section: doc +Architecture: all +Depends: ${misc:Depends} +Recommends: libethos-1.0-0 +Suggests: devhelp +Description: GObject library for application plugins - documentation + Ethos is a library providing a standard plugin system that can be re-used. + The goal is to allow plugin developers to re-use their skills between + applications, therefore, increasing the developer base. + . + This package contains the HTML documentation for the Ethos library + +Package: python-ethos +Section: python +Architecture: any +Depends: ${shlibs:Depends}, + ${misc:Depends}, + ${python:Depends} +Provides: ${python:Provides} +XB-Python-Version: ${python:Versions} +Description: GObject library for application plugins - Python bindings + Ethos is a library providing a standard plugin system that can be re-used. + The goal is to allow plugin developers to re-use their skills between + applications, therefore, increasing the developer base. + . + This package contains the Python bindings for the Ethos library + --- ethos-0.2.2.orig/debian/watch +++ ethos-0.2.2/debian/watch @@ -0,0 +1,2 @@ +version=3 +http://ftp.dronelabs.com/sources/ethos/([0-9.]+)/ethos-([0-9.]+).tar.gz --- ethos-0.2.2.orig/debian/libethos-doc.install +++ ethos-0.2.2/debian/libethos-doc.install @@ -0,0 +1 @@ +debian/tmp/usr/share/gtk-doc/html/ethos/* --- ethos-0.2.2.orig/debian/compat +++ ethos-0.2.2/debian/compat @@ -0,0 +1 @@ +5 --- ethos-0.2.2.orig/debian/changelog +++ ethos-0.2.2/debian/changelog @@ -0,0 +1,28 @@ +ethos (0.2.2-1.1ubuntu1) natty; urgency=low + + * Transition from libvala-dev to libvala-0.10-dev. (LP: #618809) + + -- Barry Warsaw Tue, 04 Jan 2011 14:00:20 -0500 + +ethos (0.2.2-1.1build1) natty; urgency=low + + * Rebuild with python 2.7 as the python default. + + -- Matthias Klose Wed, 08 Dec 2010 15:02:37 +0000 + +ethos (0.2.2-1.1) unstable; urgency=low + + * Non-maintainer upload + * Make libethos-ui-dev depend on libethos-dev since it + needs ethos.h, and libethos-ui-1.0-0 instead of libethos-1.0-0 + (which will now be pulled in by the added libethos-ui-dev dep); + patch by Andreas Henriksson. (Closes: #575384) + * Don't install .la files (Squeeze release goal) + + -- Stefano Zacchiroli Wed, 07 Apr 2010 15:07:09 +0200 + +ethos (0.2.2-1) unstable; urgency=low + + * Initial packaging. (Closes: #551100) + + -- Mathieu Trudel Mon, 16 Nov 2009 11:15:57 -0500 --- ethos-0.2.2.orig/debian/libethos-1.0-0.install +++ ethos-0.2.2/debian/libethos-1.0-0.install @@ -0,0 +1,2 @@ +debian/tmp/usr/lib/libethos-1.0.so.* +debian/tmp/usr/lib/ethos/plugin-loaders/libcloader.so* --- ethos-0.2.2.orig/debian/patches/series +++ ethos-0.2.2/debian/patches/series @@ -0,0 +1,2 @@ +01-ethos-manager-typo.patch +02-pkg-config-for-vala-0.10.patch --- ethos-0.2.2.orig/debian/patches/01-ethos-manager-typo.patch +++ ethos-0.2.2/debian/patches/01-ethos-manager-typo.patch @@ -0,0 +1,13 @@ +From: Mathieu Trudel +Subject: Correct typo in ethos-manager g_warning message. +--- a/ethos/ethos-manager.c ++++ b/ethos/ethos-manager.c +@@ -186,7 +186,7 @@ + } + + if (!(dir = g_dir_open (loaders_dir, 0, NULL))) { +- g_warning ("plugin-loaders directory not accessable: %s", ++ g_warning ("plugin-loaders directory not accessible: %s", + loaders_dir); + return NULL; + } --- ethos-0.2.2.orig/debian/patches/02-pkg-config-for-vala-0.10.patch +++ ethos-0.2.2/debian/patches/02-pkg-config-for-vala-0.10.patch @@ -0,0 +1,14 @@ +--- a/configure.ac ++++ b/configure.ac +@@ -81,9 +81,9 @@ + + dnl = Enable Vala ========================================================== + enable_vala=no +-PKG_CHECK_MODULES(VALA, vala-1.0, enable_vala=yes, enable_vala=no) ++PKG_CHECK_MODULES(VALA, vala-0.10, enable_vala=yes, enable_vala=no) + if test "x$enable_vala" = "xyes"; then +- VAPI_DIR=`pkg-config --variable=vapidir vala-1.0` ++ VAPI_DIR=`pkg-config --variable=vapidir vala-0.10` + else + VAPI_DIR= + fi