Compare commits

..

3 commits

Author SHA1 Message Date
Fedora Release Engineering
e3b4aa3814 dist-git conversion 2010-07-29 14:56:18 +00:00
Bill Nottingham
b36ca291b9 Fix typo that causes a failure to update the common directory. (releng
#2781)
2009-11-26 01:12:58 +00:00
Jesse Keating
62542840c7 Initialize branch F-12 for vdr-text2skin 2009-09-29 07:15:13 +00:00
6 changed files with 193 additions and 2 deletions

2
.gitignore vendored
View file

@ -1 +1 @@
/*.tgz
vdr-plugin-text2skin-97c95bc.tar.gz

View file

@ -1 +0,0 @@
This package was retired on 2013-03-11 due to a lack of a willing Fedora maintainer.

1
sources Normal file
View file

@ -0,0 +1 @@
4f2c86e5a12283ef7bb159ae29794d61 vdr-plugin-text2skin-97c95bc.tar.gz

View file

@ -0,0 +1,38 @@
diff -up vdr-plugin-text2skin/common.c.orig vdr-plugin-text2skin/common.c
--- vdr-plugin-text2skin/common.c.orig 2009-08-22 01:11:50.000000000 +0300
+++ vdr-plugin-text2skin/common.c 2009-09-01 22:31:23.000000000 +0300
@@ -14,7 +14,7 @@
const std::string &SkinPath(void)
{
// should never change
- static std::string path = cPlugin::ConfigDirectory(PLUGIN_NAME_I18N);
+ static std::string path = "/usr/share/vdr/text2skin";
return path;
}
diff -up vdr-plugin-text2skin/README.de.orig vdr-plugin-text2skin/README.de
--- vdr-plugin-text2skin/README.de.orig 2009-08-22 01:11:50.000000000 +0300
+++ vdr-plugin-text2skin/README.de 2009-09-01 22:31:23.000000000 +0300
@@ -70,6 +70,9 @@ root@linux # ./vdr -P text2skin
Wo die Skins hingehören:
------------------------
+*** rpm package note: this text2skin package has been patched to load skins
+*** from /usr/share/vdr/text2skin instead of the path documented below.
+
Wie Sie vielleicht wissen, hat VDR einen Unterordner "plugins" innerhalb seines
Konfigurationsordners, in dem alle Dateien, die zu Plugins gehören, enthalten
sein sollten. Wenn Sie nicht wissen, wo das sein könnte, schauen Sie in dem
diff -up vdr-plugin-text2skin/README.orig vdr-plugin-text2skin/README
--- vdr-plugin-text2skin/README.orig 2009-08-22 01:11:50.000000000 +0300
+++ vdr-plugin-text2skin/README 2009-09-01 22:31:23.000000000 +0300
@@ -68,6 +68,9 @@ root@linux # ./vdr -P text2skin
Where to put the skins:
-----------------------
+*** rpm package note: this text2skin package has been patched to load skins
+*** from /usr/share/vdr/text2skin instead of the path documented below.
+
As you might know, VDR has a subfolder "plugins" inside it's configuration
folder, where all plugin-related files should reside. If you don't know, where
this could be, look into the folder you gave to VDR with the -v parameter

5
vdr-text2skin.conf Normal file
View file

@ -0,0 +1,5 @@
# Configuration snippet for vdr-text2skin -*- sh -*-
#
# Add command line options to pass to the text2skin plugin to PLUGIN_OPTIONS.
PLUGIN_OPTIONS=""

148
vdr-text2skin.spec Normal file
View file

@ -0,0 +1,148 @@
%global pname text2skin
%global gitrev 97c95bc
%global plugindir %(vdr-config --plugindir 2>/dev/null || echo ERROR)
%global datadir %(vdr-config --datadir 2>/dev/null || echo ERROR)
%global apiver %(vdr-config --apiversion 2>/dev/null || echo ERROR)
# imagelib: imagemagick, graphicsmagick, imlib2 or %{nil}
%{!?imagelib: %global imagelib graphicsmagick}
Name: vdr-%{pname}
Version: 1.2
Release: 3.git%{gitrev}%{?dist}
Summary: OSD skin plugin for VDR
Group: Applications/Multimedia
License: GPL+
URL: http://projects.vdr-developer.org/projects/show/plg-text2skin
# wget --content-disposition "http://projects.vdr-developer.org/git/?p=vdr-plugin-text2skin.git;a=snapshot;h=%{gitrev};sf=tgz"
Source0: vdr-plugin-%{pname}-%{gitrev}.tar.gz
Source1: %{name}.conf
Patch0: %{name}-1.3-skindir.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
%if "%{imagelib}" == "imagemagick"
BuildRequires: ImageMagick-c++-devel
%endif
%if "%{imagelib}" == "graphicsmagick"
BuildRequires: GraphicsMagick-c++-devel
# Dependency missing in GraphicsMagick-devel <= 1.1.14-4.fc11
BuildRequires: freetype-devel
%endif
%if "%{imagelib}" == "imlib2"
BuildRequires: imlib2-devel
%endif
BuildRequires: vdr-devel >= 1.6.0
BuildRequires: gawk
BuildRequires: gettext
Requires: vdr(abi)%{?_isa} = %{apiver}
%description
This plugin is designed to load and interpret a set of files
describing the layout of VDR's on screen display and to make this
"skin" available to VDR via Setup -> OSD in the main menu. Of course
it is possible to load more than one text based skin this way and to
choose between them while running VDR. All skins may be themeable
(you can create your own color theme) and translatable as the author
of the skin wishes.
%prep
%setup -q -n vdr-plugin-%{pname}
sed -e 's|/usr/share/vdr/|%{datadir}/|' %{PATCH0} | patch -p1
chmod -x contrib/*.pl
%build
make %{?_smp_mflags} STRIP=: IMAGELIB=%{?imagelib} LIBDIR=. LOCALEDIR=./locale \
VDRDIR=%{_libdir}/vdr all
%install
rm -rf $RPM_BUILD_ROOT
install -dm 755 $RPM_BUILD_ROOT%{plugindir}
install -pm 755 libvdr-%{pname}.so.%{apiver} $RPM_BUILD_ROOT%{plugindir}
install -Dpm 644 %{SOURCE1} \
$RPM_BUILD_ROOT%{_sysconfdir}/sysconfig/vdr-plugins.d/%{pname}.conf
install -dm 755 $RPM_BUILD_ROOT%{datadir}/text2skin
install -dm 755 $RPM_BUILD_ROOT%{_datadir}/locale
cp -pR locale/* $RPM_BUILD_ROOT%{_datadir}/locale
%find_lang %{name}
%clean
rm -rf $RPM_BUILD_ROOT
%files -f %{name}.lang
%defattr(-,root,root,-)
%doc CONTRIBUTORS COPYING HISTORY README Docs/*.txt contrib/skin_to_10.pl
%lang(de) %doc README.de
%config(noreplace) %{_sysconfdir}/sysconfig/vdr-plugins.d/%{pname}.conf
%{plugindir}/libvdr-%{pname}.so.%{apiver}
%{datadir}/text2skin/
%changelog
* Tue Sep 1 2009 Ville Skyttä <ville.skytta@iki.fi> - 1.2-3.git97c95bc
- Update to git revision 97c95bc for several bugfixes and better fonts handling.
- Build with GraphicsMagick instead of imlib2 by default.
- Make vdr(abi) dependency ISA qualified.
- Install translations.
- Use %%global instead of %%define.
* Sun Jul 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.2-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
* Thu Jul 9 2009 Ville Skyttä <ville.skytta at iki.fi> - 1.2-1
- Update to 1.2.
- Specfile cleanups.
- Fix spelling errors in description.
* Wed Feb 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.1-24.cvsext0.10
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
* Mon Apr 7 2008 Ville Skyttä <ville.skytta at iki.fi> - 1.1-23.cvsext0.10
- Update to 1.1-cvs_ext-0.10.
- Build for VDR 1.6.0.
* Sun Apr 6 2008 Ville Skyttä <ville.skytta at iki.fi> - 1.1-22.20051217cvs
- Apply VDR 1.5+ patches from e-tobi.net Debian package.
* Fri Jan 4 2008 Ville Skyttä <ville.skytta at iki.fi> - 1.1-21.20051217cvs
- Fix build with gcc 4.3's cleaned up C++ headers.
* Wed Aug 22 2007 Ville Skyttä <ville.skytta at iki.fi> - 1.1-20.20051217cvs
- BuildRequires: gawk for extracting APIVERSION.
* Tue Aug 7 2007 Ville Skyttä <ville.skytta at iki.fi> - 1.1-19.20051217cvs
- License: GPL+
* Sun Apr 8 2007 Ville Skyttä <ville.skytta at iki.fi> - 1.1-18.20051217cvs
- Grab potential XML parse buffer overflow fix from upstream CVS.
* Sun Nov 19 2006 Ville Skyttä <ville.skytta at iki.fi> - 1.1-16.20051217cvs
- Migrate real skins directory to /usr/share/vdr/text2skin.
- Patch for freetype 2.2 compatibility.
* Sat Nov 4 2006 Ville Skyttä <ville.skytta at iki.fi> - 1.1-15.20051217
- Build with imlib2 instead of imagemagick by default due to #212478.
- Build for VDR 1.4.4.
* Fri Oct 06 2006 Thorsten Leemhuis <fedora [AT] leemhuis [DOT] info> 1.1-14
- rebuilt for unwind info generation, broken in gcc-4.1.1-21
* Sat Sep 23 2006 Ville Skyttä <ville.skytta at iki.fi> - 1.1-13.20051217
- Rebuild for VDR 1.4.3.
* Sun Aug 6 2006 Ville Skyttä <ville.skytta at iki.fi> - 1.1-12.20051217
- Rebuild for VDR 1.4.1-3.
* Sun Jun 11 2006 Ville Skyttä <ville.skytta at iki.fi> - 1.1-11.20051217
- Rebuild for VDR 1.4.1.
* Sun Apr 30 2006 Ville Skyttä <ville.skytta at iki.fi> - 1.1-10.20051217
- Rebuild for VDR 1.4.0.