diff --git a/README.md b/README.md index f3bd5a6..73302fe 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,4 @@ # xosd +XOSD displays text on your screen, sounds simple right? The difference is it is unmanaged and shaped, so it appears transparent. This gives the effect of an On Screen Display, like your TV/VCR etc.. The package also includes an xmms plugin, which automatically displays various interesting things as they change (song name, volume etc...) + diff --git a/xosd-2.2.14-libxosdm4.patch b/xosd-2.2.14-libxosdm4.patch new file mode 100644 index 0000000..c3633e0 --- /dev/null +++ b/xosd-2.2.14-libxosdm4.patch @@ -0,0 +1,11 @@ +--- xosd-2.2.14/libxosd.m4 2004-08-20 00:39:40.000000000 +0200 ++++ xosd-2.2.14/libxosd.m4-gil 2008-09-21 01:24:10.000000000 +0200 +@@ -6,7 +6,7 @@ + dnl AM_PATH_LIBXOSD([ACTION-IF-FOUND [, ACTION-IF-NOT-FOUND]]) + dnl Test to see if libxosd is installed, and define LIBXOSD_CFLAGS, LIBXOSDLIBS + dnl +-AC_DEFUN(AM_PATH_LIBXOSD, ++AC_DEFUN([AM_PATH_LIBXOSD], + [dnl + dnl Get the cflags and libraries from the xosd-config script + dnl diff --git a/xosd.spec b/xosd.spec new file mode 100644 index 0000000..22aecf3 --- /dev/null +++ b/xosd.spec @@ -0,0 +1,123 @@ +%define xmms_generaldir %(xmms-config --general-plugin-dir 2>/dev/null || echo %{_libdir}/xmms/General) + +Name: xosd +Version: 2.2.14 +Release: 4mamba +Summary: Displays transparent text on your screen like the OSD of TVs +Group: System/Libraries +Vendor: openmamba +Distribution: openmamba +Packager: Silvan Calarco +URL: http://www.ignavus.net/software.html +Source: http://downloads.sourceforge.net/libxosd/xosd-%{version}.tar.gz +# http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=286156 +Patch: xosd-2.2.14-libxosdm4.patch +License: GPL +## AUTOBUILDREQ-BEGIN +BuildRequires: glibc-devel +BuildRequires: libgdk-pixbuf-devel +BuildRequires: libglib1-devel +BuildRequires: libgtk1-devel +BuildRequires: libX11-devel +BuildRequires: libXau-devel +BuildRequires: libxcb-devel +BuildRequires: libXdmcp-devel +BuildRequires: libXext-devel +BuildRequires: libXinerama-devel +## AUTOBUILDREQ-END +BuildRequires: gcc-c++ +%ifnarch arm +BuildRequires: xmms-devel >= 1.2.10 +%endif +BuildRoot: %{_tmppath}/%{name}-%{version}-root + +%description +XOSD displays text on your screen, sounds simple right? The difference is it is unmanaged and shaped, so it appears transparent. This gives the effect of an On Screen Display, like your TV/VCR etc.. The package also includes an xmms plugin, which automatically displays various interesting things as they change (song name, volume etc...) + +%package devel +Summary: Development files for the XOSD on-screen display library +Group: Development/Libraries +Requires: %{name} = %{version} + +%description devel +The xosd-devel package contains static libraries, header files and documentation for developing applications that use the XOSD on-screen display. + +%package -n xmms-xosd +Summary: XMMS plugin for on-screen display that uses the XOSD library +Group: Applications/Multimedia +Requires: %{name} = %{version}, xmms +Obsoletes: xosd-xmms == 2.2.12 + +%description -n xmms-xosd +An X MultiMedia System plugin to display information on-screen through the XOSD library, similarly to TV OSD. + +%prep +%setup -q +%patch -p1 + +%build +%configure \ + --disable-dependency-tracking \ + --enable-old-plugin \ + --with-plugindir="%{xmms_generaldir}" +%make + +%install +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" +%makeinstall + +%post -p /sbin/ldconfig +%postun -p /sbin/ldconfig + +%clean +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" + +%files +%defattr(-, root, root) +%{_bindir}/osd_cat +%{_libdir}/*.so.* +%{_datadir}/xosd/ +%{_mandir}/man1/osd_cat* +%doc AUTHORS COPYING + +%files devel +%defattr(-, root, root) +%{_bindir}/xosd-config +%{_datadir}/aclocal/*.m4 +%{_includedir}/*.h +%{_libdir}/*.a +%{_libdir}/*.la +%{_libdir}/*.so +%{_mandir}/man1/xosd-config* +%{_mandir}/man3/* +%doc ChangeLog README + +%ifnarch arm +%files -n xmms-xosd +%defattr(-, root, root, 0755) +%{xmms_generaldir}/*.so +%{xmms_generaldir}/*.la +%endif + +%changelog +* Mon Oct 04 2010 Silvan Calarco 2.2.14-4mamba +- rebuilt with libgdk-pixbuf 2.22.0 + +* Wed May 20 2009 Automatic Build System 2.2.14-3mamba +- automatic rebuild by autodist + +* Sun Sep 21 2008 gil 2.2.14-2mamba +- added patch for fixed http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=286156 + +* Sun Sep 14 2008 gil 2.2.14-1mamba +- update to 2.2.14 + +* Wed Jun 29 2005 Davide Madrisan 2.2.12-3qilnx +- fixed package group +- use macros for building/installing + +* Fri Jun 10 2005 Alessandro Ramazzina 2.2.12-2qilnx +- rebuild and moved from devel-contrib repository to devel repository + +* Fri Jun 10 2005 Matteo Bernasconi 2.2.12-1qilnx +- first build \ No newline at end of file