Compare commits

...
Sign in to create a new pull request.

3 commits

Author SHA1 Message Date
Fedora Release Engineering
838bb41bf7 dist-git conversion 2010-07-29 16:02:47 +00:00
4b56fb1b38 Build xnoise-plugins-core for F-13 2010-07-08 11:29:09 +00:00
bd93c02e7f Initialize branch F-13 for xnoise-plugins-core 2010-07-05 01:48:51 +00:00
6 changed files with 109 additions and 21 deletions

View file

1
.gitignore vendored Normal file
View file

@ -0,0 +1 @@
xnoise-plugins-core-0.1.6.tar.gz

View file

@ -1,21 +0,0 @@
# Makefile for source rpm: xnoise-plugins-core
# $Id$
NAME := xnoise-plugins-core
SPECFILE = $(firstword $(wildcard *.spec))
define find-makefile-common
for d in common ../common ../../common ; do if [ -f $$d/Makefile.common ] ; then if [ -f $$d/CVS/Root -a -w $$d/Makefile.common ] ; then cd $$d ; cvs -Q update ; fi ; echo "$$d/Makefile.common" ; break ; fi ; done
endef
MAKEFILE_COMMON := $(shell $(find-makefile-common))
ifeq ($(MAKEFILE_COMMON),)
# attept a checkout
define checkout-makefile-common
test -f CVS/Root && { cvs -Q -d $$(cat CVS/Root) checkout common && echo "common/Makefile.common" ; } || { echo "ERROR: I can't figure out how to checkout the 'common' module." ; exit -1 ; } >&2
endef
MAKEFILE_COMMON := $(shell $(checkout-makefile-common))
endif
include $(MAKEFILE_COMMON)

View file

@ -0,0 +1 @@
ae9c069696b77470459e5782cb90d4b5 xnoise-plugins-core-0.1.6.tar.gz

View file

@ -0,0 +1,11 @@
--- xnoise-plugins-core-0.1.6/src/notifications/xnoise-notifications.c.no_bold 2010-06-10 17:56:47.000000000 +0200
+++ xnoise-plugins-core-0.1.6/src/notifications/xnoise-notifications.c 2010-07-03 15:24:52.114278710 +0200
@@ -376,7 +376,7 @@
_xnoise_track_data_unref0 (td);
}
xnoise_get_image_path_for_media_uri (uri, &image_path);
- summary = (_tmp18_ = g_strconcat (_tmp17_ = g_strconcat ("<b>", title, NULL), "</b>", NULL), _g_free0 (_tmp17_), _tmp18_);
+ summary = (_tmp18_ = g_strdup (title), _g_free0 (summary), _tmp18_);
body = (_tmp25_ = g_strconcat (_tmp24_ = g_strconcat (_tmp23_ = g_strconcat (_tmp22_ = g_strconcat (_tmp21_ = g_strconcat (_tmp20_ = g_strconcat (_tmp19_ = g_strconcat (_ ("by"), " <b>", NULL), artist, NULL), "</b> \n", NULL), _ ("on"), NULL), " <b>", NULL), album, NULL), "</b>", NULL), _g_free0 (_tmp24_), _g_free0 (_tmp23_), _g_free0 (_tmp22_), _g_free0 (_tmp21_), _g_free0 (_tmp20_), _g_free0 (_tmp19_), _tmp25_);
if (self->priv->notification == NULL) {
NotifyNotification* _tmp26_;

96
xnoise-plugins-core.spec Normal file
View file

@ -0,0 +1,96 @@
Name: xnoise-plugins-core
Version: 0.1.6
Release: 2%{?dist}
Summary: Core plugins for xnoise
Group: Applications/Multimedia
License: GPLv2+
URL: http://www.xnoise-media-player.com/
Source0: http://xnoise.googlecode.com/files/%{name}-%{version}.tar.gz
# http://code.google.com/p/xnoise/issues/detail?id=46
Patch0: %{name}-0.1.6-no_bold.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires: xnoise-devel = %{version}
BuildRequires: gstreamer-plugins-base-devel
BuildRequires: intltool
BuildRequires: libnotify-devel
BuildRequires: libsoup-devel
BuildRequires: libxml2-devel
BuildRequires: sqlite-devel
BuildRequires: taglib-devel
BuildRequires: unique-devel
%description
This package contains the core plugins for xnoise. Their usage with
xnoise is optional.
%if 0%{?_with_devel:1}
%package devel
Summary: Development files for %{name}
Group: Development/Libraries
Requires: %{name} = %{version}-%{release}
%description devel
The %{name}-devel package contains the pkg-config configuration file
for developing additional xnoise plugins.
%endif
%prep
%setup -q
%patch0 -p1 -b .no_bold
%build
# these plugins are currently unstable
%configure \
--disable-mediawatcher \
--disable-lastfm-covers
make %{?_smp_mflags}
%install
rm -rf $RPM_BUILD_ROOT
make install DESTDIR=$RPM_BUILD_ROOT
find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} ';'
# remove invalid locale file
rm -rf $RPM_BUILD_ROOT%{_share}/locale/default
%if 0%{!?_with_devel:1}
# Remove unneeded pkgconfig file
rm $RPM_BUILD_ROOT%{_libdir}/pkgconfig/%{name}-1.0.pc
%endif
%find_lang %{name}
%clean
rm -rf $RPM_BUILD_ROOT
%files -f %{name}.lang
%defattr(-,root,root,-)
%doc COPYING AUTHORS
# TODO
# switch ownership of directory itself to the core xnoise package and
# enable the line below
#{_libdir}/xnoise/*
%{_libdir}/xnoise
# the license files included here are not used (yet)
%exclude %{_datadir}/xnoise-plugins-core
%if 0%{?_with_devel:1}
%files devel
%defattr(-,root,root,-)
%{_libdir}/pkgconfig/%{name}-1.0.pc
%endif
%changelog
* Sat Jul 3 2010 Michel Salim <salimma@fedoraproject.org> - 0.1.6-2
- Add missing BR on intltool
- notification plugin: remove <b>...</b> formatting
- disable mediawatcher and lastfm-covers plugins for now
* Thu Jun 24 2010 Michel Salim <salimma@fedoraproject.org> - 0.1.6-1
- Initial package