rev 9484 - in people/modax: . yauap yauap/trunk yauap/trunk/debian yauap/trunk/debian/patches
Modestas Vainius
modax-guest at alioth.debian.org
Sat Mar 1 13:42:54 UTC 2008
Author: modax-guest
Date: 2008-03-01 13:42:53 +0000 (Sat, 01 Mar 2008)
New Revision: 9484
Added:
people/modax/yauap/
people/modax/yauap/tags/
people/modax/yauap/trunk/
people/modax/yauap/trunk/debian/
people/modax/yauap/trunk/debian/changelog
people/modax/yauap/trunk/debian/compat
people/modax/yauap/trunk/debian/control
people/modax/yauap/trunk/debian/copyright
people/modax/yauap/trunk/debian/patches/
people/modax/yauap/trunk/debian/patches/01_shlibdeps.diff
people/modax/yauap/trunk/debian/patches/02_volume_range_0_1.diff
people/modax/yauap/trunk/debian/patches/series
people/modax/yauap/trunk/debian/rules
people/modax/yauap/trunk/debian/yauap.menu
Log:
Start packaging yauap.
TODO: copyright, man page
Added: people/modax/yauap/trunk/debian/changelog
===================================================================
--- people/modax/yauap/trunk/debian/changelog (rev 0)
+++ people/modax/yauap/trunk/debian/changelog 2008-03-01 13:42:53 UTC (rev 9484)
@@ -0,0 +1,11 @@
+yauap (0.2.2-1~pre4) unstable; urgency=low
+
+ * Initial release. (Closes: #445366)
+ * New patches:
+ - 01_shlibdeps.diff - patch Makefile to get rid of useless libraries when
+ linking.
+ - 02_volume_range_0_1.diff - map yauap volume range to gstreamer range 0-1
+ instead of 0-4. Volume value higher than 1 causes distortions on my
+ machine.
+
+ -- Modestas Vainius <modestas at vainius.eu> Sat, 01 Mar 2008 14:54:36 +0200
Added: people/modax/yauap/trunk/debian/compat
===================================================================
--- people/modax/yauap/trunk/debian/compat (rev 0)
+++ people/modax/yauap/trunk/debian/compat 2008-03-01 13:42:53 UTC (rev 9484)
@@ -0,0 +1 @@
+5
Added: people/modax/yauap/trunk/debian/control
===================================================================
--- people/modax/yauap/trunk/debian/control (rev 0)
+++ people/modax/yauap/trunk/debian/control 2008-03-01 13:42:53 UTC (rev 9484)
@@ -0,0 +1,33 @@
+Source: yauap
+Section: sound
+Priority: optional
+Maintainer: Modestas Vainius <modestas at vainius.eu>
+Standards-Version: 3.7.3
+Build-Depends: debhelper (>= 5.0.0), quilt, libdbus-glib-1-dev, libgstreamer-plugins-base0.10-dev
+DM-Upload-Allowed: yes
+Homepage: http://www.nongnu.org/yauap/
+Vcs-Svn: svn://svn.debian.org/svn/pkg-kde/people/modax/yauap/
+Vcs-Browser: http://svn.debian.org/wsvn/pkg-kde/people/modax/yauap/
+
+Package: yauap
+Architecture: any
+Depends: ${shlibs:Depends}, gstreamer0.10-plugins-good
+Recommends: gstreamer0.10-plugins-ugly
+Suggests: gstreamer0.10-plugins-bad, gstreamer0.10-gnomevfs
+Description: a simple command line audio player based on GStreamer
+ Yauap is a simple commandline audio player based on the GStreamer multimedia
+ framework. It also provides a DBus interface which allows other applications
+ to use Yauap as a backend for playing audio files and streams.
+ .
+ You should install gstreamer0.10-plugins-ugly to get support for popular MPEG
+ audio formats like MP3. You should install either gstreamer0.10-plugins-bad
+ or gstreamer0.10-gnomevfs to get support for network streamed playback.
+
+Package: yauap-dbg
+Architecture: any
+Priority: extra
+Depends: yauap (= ${binary:Version})
+Description: debugging symbols for Yauap
+ This package provides debugging symbols for binaries shipped in the 'yauap'
+ package. You should install this package to get more useful backtrace if you
+ are about to report a Yauap crash.
Added: people/modax/yauap/trunk/debian/copyright
===================================================================
--- people/modax/yauap/trunk/debian/copyright (rev 0)
+++ people/modax/yauap/trunk/debian/copyright 2008-03-01 13:42:53 UTC (rev 9484)
@@ -0,0 +1 @@
+TODO
Added: people/modax/yauap/trunk/debian/patches/01_shlibdeps.diff
===================================================================
--- people/modax/yauap/trunk/debian/patches/01_shlibdeps.diff (rev 0)
+++ people/modax/yauap/trunk/debian/patches/01_shlibdeps.diff 2008-03-01 13:42:53 UTC (rev 9484)
@@ -0,0 +1,15 @@
+--- yauap-0.2.2/Makefile 2008-01-14 12:24:16.000000000 +0200
++++ yauap-0.2.2/Makefile 2008-03-01 12:07:30.000000000 +0200
+@@ -10,10 +10,10 @@
+ LDFLAGS += `pkg-config --libs glib-2.0`
+ #gstreamer
+ CFLAGS += `pkg-config --cflags gstreamer-0.10`
+-LDFLAGS += `pkg-config --libs gstreamer-0.10` -lgstpbutils-0.10
++LDFLAGS += `pkg-config --libs gstreamer-0.10 | sed 's/^.*\(-lgstreamer[[:alnum:].-]*\)\b.*$$/\1/'` -lgstpbutils-0.10
+ #dbus
+ CFLAGS += `pkg-config --cflags dbus-1`
+-LDFLAGS += `pkg-config --libs dbus-1` -ldbus-glib-1
++LDFLAGS += -ldbus-glib-1
+
+
+
Added: people/modax/yauap/trunk/debian/patches/02_volume_range_0_1.diff
===================================================================
--- people/modax/yauap/trunk/debian/patches/02_volume_range_0_1.diff (rev 0)
+++ people/modax/yauap/trunk/debian/patches/02_volume_range_0_1.diff 2008-03-01 13:42:53 UTC (rev 9484)
@@ -0,0 +1,14 @@
+diff -uNr yauap-0.2.2/main.c yauap-0.2.2.n/main.c
+--- yauap-0.2.2/main.c 2008-01-14 12:24:16.000000000 +0200
++++ yauap-0.2.2.n/main.c 2008-03-01 14:39:51.000000000 +0200
+@@ -172,8 +172,8 @@
+ if(!priv->volume)
+ return TRUE;
+
+- /* change range from 0 - 100 to 0 - 4 */
+- volume *= 0.04;
++ /* change range from 0 - 100 to 0 - 1 */
++ volume *= 0.01;
+
+
+ /* ajust values */
Added: people/modax/yauap/trunk/debian/patches/series
===================================================================
--- people/modax/yauap/trunk/debian/patches/series (rev 0)
+++ people/modax/yauap/trunk/debian/patches/series 2008-03-01 13:42:53 UTC (rev 9484)
@@ -0,0 +1,2 @@
+01_shlibdeps.diff
+02_volume_range_0_1.diff
Added: people/modax/yauap/trunk/debian/rules
===================================================================
--- people/modax/yauap/trunk/debian/rules (rev 0)
+++ people/modax/yauap/trunk/debian/rules 2008-03-01 13:42:53 UTC (rev 9484)
@@ -0,0 +1,57 @@
+#!/usr/bin/make -f
+
+include /usr/share/quilt/quilt.make
+
+BUILD_STAMP=debian/stamp-build
+
+CFLAGS = -g
+ifeq (,$(filter noopt,$(DEB_BUILD_OPTIONS)))
+ CFLAGS += -O2
+else
+ CFLAGS += -O0
+endif
+export CFLAGS
+
+build: $(BUILD_STAMP)
+
+$(BUILD_STAMP): patch
+ dh_testdir
+ $(MAKE)
+
+install:
+ dh_testdir
+ dh_testroot
+ dh_clean -k
+ $(MAKE) DESTDIR=$(CURDIR)/debian/yauap install
+
+binary-arch: build install
+ dh_testdir
+ dh_testroot
+ dh_installchangelogs -a
+ dh_installdocs -a
+ dh_installmenu -a
+ dh_strip --dbg-package=yauap-dbg
+ dh_compress -a
+ dh_fixperms -a
+ dh_installdeb -a
+ dh_shlibdeps -a
+ dh_gencontrol -a
+ dh_md5sums -a
+ dh_builddeb -a
+
+binary-indep:
+ # No arch-indep files available
+
+binary: binary-arch binary-indep
+
+clean::
+ dh_testdir
+ dh_testroot
+
+ rm -f $(BUILD_STAMP)
+ $(MAKE) clean
+ dh_clean
+
+clean:: unpatch
+
+.PHONY: build clean binary-arch binary-indep binary install
Property changes on: people/modax/yauap/trunk/debian/rules
___________________________________________________________________
Name: svn:executable
+ *
Added: people/modax/yauap/trunk/debian/yauap.menu
===================================================================
--- people/modax/yauap/trunk/debian/yauap.menu (rev 0)
+++ people/modax/yauap/trunk/debian/yauap.menu 2008-03-01 13:42:53 UTC (rev 9484)
@@ -0,0 +1,5 @@
+?package(yauap): \
+ needs="text" \
+ section="Applications/Sound" \
+ title="Yauap - slave mode" \
+ command="yauap -slave -noexit"
More information about the pkg-kde-commits
mailing list