--- gmyth-0.7.1.orig/debian/gmyth-ls.1 +++ gmyth-0.7.1/debian/gmyth-ls.1 @@ -0,0 +1,13 @@ +.TH "GMYTH-LS" "1" "29 Jan 2008" "" "" +.SH "NAME" +gmyth\-ls \- gmyth utility to list streams to command line +.SH "DESCRIPTION" +\fBgmyth\-cat\fP is an application designed to list available streams directly from a MythTV + backend to stdout. It can be useful in creating pipes to display the stream as well + as diagnosing problems. +.SH "AUTHOR" +\fBgmyth\-cat\fP is by: +Alexsandro Jose Virginio dos Santos +Hallyson Luiz de Morais Melo +Leonardo Sobral Cunha +Rosfran Lins Borges --- gmyth-0.7.1.orig/debian/watch +++ gmyth-0.7.1/debian/watch @@ -0,0 +1,4 @@ +version=3 + +http://sf.net/gmyth/gmyth-(.*)-indt1\.tar\.gz + --- gmyth-0.7.1.orig/debian/rules +++ gmyth-0.7.1/debian/rules @@ -0,0 +1,27 @@ +#!/usr/bin/make -f + +include /usr/share/cdbs/1/rules/debhelper.mk +include /usr/share/cdbs/1/class/autotools.mk +include /usr/share/cdbs/1/rules/simple-patchsys.mk + +SVN_URL=https://gmyth.svn.sourceforge.net/svnroot/gmyth/trunk/gmyth +SVN_REVISION=$(shell echo $(DEB_UPSTREAM_VERSION) | cut -d 'n' -f 2) +TARFILE=$(DEB_SOURCE_PACKAGE)_$(DEB_UPSTREAM_VERSION).orig.tar.gz +VERSION=$(shell echo $(DEB_UPSTREAM_VERSION) | cut -d '.' -f -2) +RELEASE_URL=http://internap.dl.sourceforge.net/sourceforge/gmyth/gmyth_$(VERSION)-indt1.tar.gz + +get-svn-source:: export-svn-source build-svn-source +export-svn-source:: + svn export -r $(SVN_REVISION) $(SVN_URL) $(DEB_SOURCE_PACKAGE)-$(VERSION) +build-svn-source:: + cd $(DEB_SOURCE_PACKAGE)-$(DEB_UPSTREAM_VERSION) && sh autogen.sh --prefix=/usr --sysconfdir=/etc + cd $(DEB_SOURCE_PACKAGE)-$(DEB_UPSTREAM_VERSION) && rm -rf autom4te.cache + cd $(DEB_SOURCE_PACKAGE)-$(DEB_UPSTREAM_VERSION) && $(MAKE) distclean + tar czf $(CURDIR)/../$(TARFILE) $(DEB_SOURCE_PACKAGE)-$(VERSION) + rm -rf $(DEB_SOURCE_PACKAGE)-$(VERSION) + +get-orig-source:: + wget $(RELEASE_URL) -O ../$(TARFILE) + +LDFLAGS+=-Wl,-z,defs -Wl,-O1 -Wl,--as-needed +DEB_INSTALL_CHANGELOGS_ALL := ChangeLog --- gmyth-0.7.1.orig/debian/control +++ gmyth-0.7.1/debian/control @@ -0,0 +1,42 @@ +Source: gmyth +Section: graphics +Priority: optional +Maintainer: Mario Limonciello +Uploaders: Sebastian Dröge +Standards-Version: 3.7.3 +Homepage: http://gmyth.sourceforge.net/ +Build-Depends: debhelper (>= 5), + autotools-dev, + cdbs, + libcurl3, + libcurl4-gnutls-dev, + libxml2-dev, + libglib2.0-dev, + libmysqlclient15-dev | libmysqlclient-dev | libmysqlclient14-dev + +Package: libgmyth0 +Architecture: any +Section: libs +Depends: ${shlibs:Depends}, ${misc:Depends} +Description: GObject based library for accessing MythTV backend (runtime files) + GMyth accesses MythTV backend functionalities from a GLib/GObject perspective. + It includes access to the program guide, recorded programs, scheduling, etc. + +Package: libgmyth-dev +Architecture: any +Section: libdevel +Depends: libgmyth0 (=${binary:Version}), libcurl4-gnutls-dev, libmysqlclient15-dev | libmysqlclient-dev | libmysqlclient14-dev, libglib2.0-dev +Description: GObject based library for accessing MythTV backend (development files) + GMyth is a library intended to access MythTV backend functionalities + from a GLib/GObject perspective. It includes access to the program guide, + recorded programs, scheduling, etc. + +Package: gmyth-utils +Architecture: any +Depends: ${shlibs:Depends}, ${misc:Depends} +Description: The GMyth utilities package + GMyth is a library intended to access MythTV backend functionalities + from a GLib/GObject perspective. It includes access to the program guide, + recorded programs, scheduling, etc. + . + This package includes command line utilities for using GMyth. --- gmyth-0.7.1.orig/debian/gmyth-cat.1 +++ gmyth-0.7.1/debian/gmyth-cat.1 @@ -0,0 +1,13 @@ +.TH "GMYTH-CAT" "1" "29 Jan 2008" "" "" +.SH "NAME" +gmyth\-cat \- gmyth utility to read streams to command line +.SH "DESCRIPTION" +\fBgmyth\-cat\fP is an application designed to dump streams directly from a MythTV + backend to stdout. It can be useful in creating pipes to display the stream as well + as diagnosing problems. +.SH "AUTHOR" +\fBgmyth\-cat\fP is by: +Alexsandro Jose Virginio dos Santos +Hallyson Luiz de Morais Melo +Leonardo Sobral Cunha +Rosfran Lins Borges --- gmyth-0.7.1.orig/debian/libgmyth0.install +++ gmyth-0.7.1/debian/libgmyth0.install @@ -0,0 +1 @@ +debian/tmp/usr/lib/lib*.so.* --- gmyth-0.7.1.orig/debian/compat +++ gmyth-0.7.1/debian/compat @@ -0,0 +1 @@ +5 --- gmyth-0.7.1.orig/debian/copyright +++ gmyth-0.7.1/debian/copyright @@ -0,0 +1,39 @@ +This package was debianized by Mario Limonciello on +Tue, 29 Jan 2008 16:41:23 -0500 + +This original source for this package was obtained from: +http://sourceforge.net/projects/gmyth/ + +The archive had the debian directory renamed to debian_upstream. + +Copyright: + Copyright (C) 2006-2008 INdT - Instituto Nokia de Tecnologia. + +Authors: + Alexsandro Jose Virginio dos Santos + Hallyson Luiz de Morais Melo + Leonardo Sobral Cunha + Rosfran Lins Borges + +License: + + This Package is free software; you can redistribute it and/or + modify it under the terms of the GNU Library General Public + License as published by the Free Software Foundation; either + version 2 of the License, or (at your option) any later version. + + This package is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + General Public License for more details. + + You should have received a copy of the GNU Library General Public + License along with this package; if not, write to the Free Software + Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + +On Debian & Ubuntu systems, a complete copy of the LGPL v2 can be found under +/usr/share/common-licenses/LGPL-2 + +The Debian packaging is © 2007, Hallyson Melo and +© 2008, Mario Limonciello and is also licensed under the +LGPL. --- gmyth-0.7.1.orig/debian/changelog +++ gmyth-0.7.1/debian/changelog @@ -0,0 +1,39 @@ +gmyth (1:0.7.1-1.1) unstable; urgency=low + + * Non-maintainer upload with maintainer approval of Mario. + * libgmyth-dev: dep on libmysqlclient15-dev instead of + liblibmysqlclient15-dev. + * Move libmysqlclient15-dev to the start of the "|" alternate deps in bdeps + and libgmyth-dev deps as we want a real package listed first. + + -- Loic Minier Tue, 14 Apr 2009 17:57:45 +0200 + +gmyth (1:0.7.1-1) unstable; urgency=low + + * New upstream version. + - Fixes circular dependency problem with gmyth-upnp. + - No longer requires repacking as upstream doesn't + ship a debian directory anymore. + * Update kfreebsd.patch, libs-linking.patch, and libs-linking.patch + for source directory and autotools changes. + + -- Mario Limonciello Mon, 03 Mar 2008 22:20:26 -0600 + +gmyth (0.7.debian1-2) unstable; urgency=low + + * debian/patches/kfreebsd.patch: + + Patch by Petr Salinger to fix FTBFS on GNU/kFreeBSD (Closes: #467542). + + -- Sebastian Dröge Tue, 26 Feb 2008 10:53:00 +0100 + +gmyth (0.7.debian1-1) unstable; urgency=low + + [ Mario Limonciello ] + * Initial release. (Closes: #466342) + + [ Sebastian Dröge ] + * debian/patches/libs-linking.patch: + + Link libraries and utilities explicitely with GLib, GObject, GThread and + CURL. + + -- Mario Limonciello Sun, 24 Feb 2008 14:17:09 -0600 --- gmyth-0.7.1.orig/debian/gmyth-utils.install +++ gmyth-0.7.1/debian/gmyth-utils.install @@ -0,0 +1 @@ +debian/tmp/usr/bin/* --- gmyth-0.7.1.orig/debian/libgmyth-dev.install +++ gmyth-0.7.1/debian/libgmyth-dev.install @@ -0,0 +1,4 @@ +debian/tmp/usr/include/* +debian/tmp/usr/lib/lib*.a +debian/tmp/usr/lib/lib*.so +debian/tmp/usr/lib/pkgconfig/* --- gmyth-0.7.1.orig/debian/gmyth-utils.manpages +++ gmyth-0.7.1/debian/gmyth-utils.manpages @@ -0,0 +1,2 @@ +debian/gmyth-cat.1 +debian/gmyth-ls.1 --- gmyth-0.7.1.orig/debian/patches/ltmain-as-needed.patch +++ gmyth-0.7.1/debian/patches/ltmain-as-needed.patch @@ -0,0 +1,31 @@ +diff -Nur -x '*.orig' -x '*~' gmyth-0.7/ltmain.sh gmyth-0.7.new/ltmain.sh +--- gmyth-0.7/ltmain.sh 2007-08-14 12:43:36.000000000 -0500 ++++ gmyth-0.7.new/ltmain.sh 2008-02-18 23:55:09.000000000 -0600 +@@ -1794,6 +1794,11 @@ + arg=`$echo "X$arg" | $Xsed -e "s/^ //"` + ;; + ++ -Wl,--as-needed) ++ deplibs="$deplibs $arg" ++ continue ++ ;; ++ + -Wl,*) + args=`$echo "X$arg" | $Xsed -e "$sed_quote_subst" -e 's/^-Wl,//'` + arg= +@@ -2137,6 +2142,15 @@ + lib= + found=no + case $deplib in ++ -Wl,--as-needed) ++ if test "$linkmode,$pass" = "prog,link"; then ++ compile_deplibs="$deplib $compile_deplibs" ++ finalize_deplibs="$deplib $finalize_deplibs" ++ else ++ deplibs="$deplib $deplibs" ++ fi ++ continue ++ ;; + -mt|-mthreads|-kthread|-Kthread|-pthread|-pthreads|--thread-safe|-threads) + if test "$linkmode,$pass" = "prog,link"; then + compile_deplibs="$deplib $compile_deplibs" --- gmyth-0.7.1.orig/debian/patches/kfreebsd.patch +++ gmyth-0.7.1/debian/patches/kfreebsd.patch @@ -0,0 +1,46 @@ +only in patch2: +unchanged: +--- gmyth-0.7.debian1.orig/gmyth/gmyth_util.c ++++ gmyth-0.7.debian1/gmyth/gmyth_util.c +@@ -30,7 +30,7 @@ + #include "config.h" + #endif + +-#define _XOPEN_SOURCE ++#define _XOPEN_SOURCE 600 + #define _XOPEN_SOURCE_EXTENDED + #define __USE_MISC + +only in patch2: +unchanged: +--- gmyth-0.7.debian1.orig/gmyth/gmyth_socket.c ++++ gmyth-0.7.debian1/gmyth/gmyth_socket.c +@@ -203,7 +203,7 @@ + continue; + g_strlcpy(ifaddr, + inet_ntoa(((struct sockaddr_in *) &req.ifr_addr)-> +- sin_addr), sizeof(struct ifaddr) - 1); ++ sin_addr), sizeof(ifaddr)); + local_addrs = g_list_append(local_addrs, g_strdup(ifaddr)); + + gmyth_debug +@@ -221,7 +221,7 @@ + gchar * + gmyth_socket_get_primary_addr(void) + { +- gchar *if_eth0 = g_new0(gchar, sizeof(struct ifaddr) - 1); ++ gchar *if_eth0 = g_new0(gchar, 20+1); + GList *if_tmp = NULL; + + GList *interfs = gmyth_socket_get_local_addrs(NULL); +@@ -231,8 +231,7 @@ + if_tmp = g_list_first(interfs); + + if (if_tmp != NULL) +- g_strlcpy(if_eth0, (gchar *) if_tmp->data, +- sizeof(struct ifaddr) - 1); ++ g_strlcpy(if_eth0, (gchar *) if_tmp->data, 20+1); + + } + + --- gmyth-0.7.1.orig/debian/patches/libs-linking.patch +++ gmyth-0.7.1/debian/patches/libs-linking.patch @@ -0,0 +1,83 @@ +diff -Nur -x '*.orig' -x '*~' gmyth-0.7.1/gmyth/Makefile.am gmyth-0.7.1.new/gmyth/Makefile.am +--- gmyth-0.7.1/gmyth/Makefile.am 2008-03-03 05:59:37.000000000 -0600 ++++ gmyth-0.7.1.new/gmyth/Makefile.am 2008-03-03 23:30:25.000000000 -0600 +@@ -49,21 +49,25 @@ + -DDATADIR=\"$(pkgdatadir)\" \ + $(GLIB_CFLAGS) \ + $(GOBJECT_CFLAGS) \ ++ $(GTHREAD_CFLAGS) \ + $(GST_CFLAGS) \ + $(GSTBASE_CFLAGS) \ + $(GSTPLUGINSBASE_CFLAGS) \ + $(MYSQL_CFLAGS) \ +- $(LIBXML_CFLAGS) ++ $(LIBXML_CFLAGS) \ ++ $(LIBCURL_CFLAGS) + +-libgmyth_la_LDFLAGS = \ ++libgmyth_la_LDFLAGS = \ + -export-dynamic \ +- $(GLIB_CFLAGS) \ +- $(GOBJECT_CFLAGS) \ ++ $(GLIB_LIBS) \ ++ $(GOBJECT_LIBS) \ ++ $(GTHREAD_LIBS) \ + $(MYSQL_LIBS) \ + $(GST_LIBS) \ + $(GSTBASE_LIBS) \ + $(GSTPLUGINS_LIBS) \ +- $(LIBXML_LIBS) ++ $(LIBXML_LIBS) \ ++ $(LIBCURL_LIBS) + + libgmyth_includedir = \ + $(pkgincludedir) +diff -Nur -x '*.orig' -x '*~' gmyth-0.7.1/gmyth/Makefile.in gmyth-0.7.1.new/gmyth/Makefile.in +--- gmyth-0.7.1/gmyth/Makefile.in 2008-03-03 05:59:50.000000000 -0600 ++++ gmyth-0.7.1.new/gmyth/Makefile.in 2008-03-03 23:23:32.000000000 -0600 +@@ -245,25 +245,30 @@ + $(BUILT_SOURCES) + + EXTRA_libgmyth_la_SOURCES = gmyth_marshal.list +-libgmyth_la_CFLAGS = \ ++libgmyth_la_CFLAGS = \ + -DDATADIR=\"$(pkgdatadir)\" \ + $(GLIB_CFLAGS) \ + $(GOBJECT_CFLAGS) \ ++ $(GTHREAD_CFLAGS) \ + $(GST_CFLAGS) \ + $(GSTBASE_CFLAGS) \ + $(GSTPLUGINSBASE_CFLAGS) \ + $(MYSQL_CFLAGS) \ +- $(LIBXML_CFLAGS) ++ $(LIBXML_CFLAGS) \ ++ $(LIBCURL_CFLAGS) + +-libgmyth_la_LDFLAGS = \ ++libgmyth_la_LDFLAGS = \ + -export-dynamic \ +- $(GLIB_CFLAGS) \ +- $(GOBJECT_CFLAGS) \ ++ $(GLIB_LIBS) \ ++ $(GOBJECT_LIBS) \ ++ $(GTHREAD_LIBS) \ + $(MYSQL_LIBS) \ + $(GST_LIBS) \ + $(GSTBASE_LIBS) \ + $(GSTPLUGINS_LIBS) \ +- $(LIBXML_LIBS) ++ $(LIBXML_LIBS) \ ++ $(LIBCURL_LIBS) ++ + + libgmyth_includedir = \ + $(pkgincludedir) +@@ -357,7 +362,7 @@ + echo "rm -f \"$${dir}/so_locations\""; \ + rm -f "$${dir}/so_locations"; \ + done +-libgmyth.la: $(libgmyth_la_OBJECTS) $(libgmyth_la_DEPENDENCIES) ++libgmyth.la: $(libgmyth_la_OBJECTS) $(libgmyth_la_DEPENDENCIES) + $(LINK) -rpath $(libdir) $(libgmyth_la_LDFLAGS) $(libgmyth_la_OBJECTS) $(libgmyth_la_LIBADD) $(LIBS) + + mostlyclean-compile: