Compare commits
3 commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
0e1ffde763 | ||
|
|
ea3deecc6f | ||
|
|
3c56ce781d |
6 changed files with 202 additions and 2 deletions
2
.gitignore
vendored
2
.gitignore
vendored
|
|
@ -1 +1 @@
|
|||
/*.tgz
|
||||
vdr-text2skin-1.3.1.tgz
|
||||
|
|
|
|||
|
|
@ -1 +0,0 @@
|
|||
This package was retired on 2013-03-11 due to a lack of a willing Fedora maintainer.
|
||||
1
sources
Normal file
1
sources
Normal file
|
|
@ -0,0 +1 @@
|
|||
b0f615b821731f46c36c2894d733b85f vdr-text2skin-1.3.1.tgz
|
||||
38
vdr-text2skin-1.3-skindir.patch
Normal file
38
vdr-text2skin-1.3-skindir.patch
Normal file
|
|
@ -0,0 +1,38 @@
|
|||
diff -up text2skin-1.3/common.c~ text2skin-1.3/common.c
|
||||
--- text2skin-1.3/common.c~ 2009-07-17 02:18:57.000000000 +0300
|
||||
+++ text2skin-1.3/common.c 2009-10-07 23:19:34.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 text2skin-1.3/README~ text2skin-1.3/README
|
||||
--- text2skin-1.3/README~ 2009-07-17 02:16:35.000000000 +0300
|
||||
+++ text2skin-1.3/README 2009-10-07 23:19:34.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
|
||||
diff -up text2skin-1.3/README.de~ text2skin-1.3/README.de
|
||||
--- text2skin-1.3/README.de~ 2009-09-06 18:31:27.000000000 +0300
|
||||
+++ text2skin-1.3/README.de 2009-10-07 23:19:34.000000000 +0300
|
||||
@@ -73,6 +73,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
|
||||
5
vdr-text2skin.conf
Normal file
5
vdr-text2skin.conf
Normal 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=""
|
||||
157
vdr-text2skin.spec
Normal file
157
vdr-text2skin.spec
Normal file
|
|
@ -0,0 +1,157 @@
|
|||
%global pname text2skin
|
||||
%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.3.1
|
||||
Release: 1%{?dist}
|
||||
Summary: OSD skin plugin for VDR
|
||||
|
||||
Group: Applications/Multimedia
|
||||
License: GPL+
|
||||
URL: http://projects.vdr-developer.org/projects/show/plg-text2skin
|
||||
Source0: http://projects.vdr-developer.org/attachments/download/344/%{name}-%{version}.tgz
|
||||
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}
|
||||
|
||||
%{?filter_setup:
|
||||
%filter_provides_in %{plugindir}/.*\.so
|
||||
%filter_setup}
|
||||
|
||||
%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 %{pname}-%{version}
|
||||
sed -e 's|/usr/share/vdr/|%{datadir}/|' %{PATCH0} | patch -p1
|
||||
chmod -c -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 Jun 22 2010 Ville Skyttä <ville.skytta@iki.fi> - 1.3.1-1
|
||||
- Update to 1.3.1 (#606725).
|
||||
|
||||
* Wed Oct 7 2009 Ville Skyttä <ville.skytta@iki.fi> - 1.3-1
|
||||
- Update to 1.3 (#527682).
|
||||
- Filter out autoprovided libvdr-*.so.* (if %%filter_setup is available).
|
||||
|
||||
* 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@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@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@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@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@iki.fi> - 1.1-20.20051217cvs
|
||||
- BuildRequires: gawk for extracting APIVERSION.
|
||||
|
||||
* Tue Aug 7 2007 Ville Skyttä <ville.skytta@iki.fi> - 1.1-19.20051217cvs
|
||||
- License: GPL+
|
||||
|
||||
* Sun Apr 8 2007 Ville Skyttä <ville.skytta@iki.fi> - 1.1-18.20051217cvs
|
||||
- Grab potential XML parse buffer overflow fix from upstream CVS.
|
||||
|
||||
* Sun Nov 19 2006 Ville Skyttä <ville.skytta@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@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@iki.fi> - 1.1-13.20051217
|
||||
- Rebuild for VDR 1.4.3.
|
||||
|
||||
* Sun Aug 6 2006 Ville Skyttä <ville.skytta@iki.fi> - 1.1-12.20051217
|
||||
- Rebuild for VDR 1.4.1-3.
|
||||
|
||||
* Sun Jun 11 2006 Ville Skyttä <ville.skytta@iki.fi> - 1.1-11.20051217
|
||||
- Rebuild for VDR 1.4.1.
|
||||
|
||||
* Sun Apr 30 2006 Ville Skyttä <ville.skytta@iki.fi> - 1.1-10.20051217
|
||||
- Rebuild for VDR 1.4.0.
|
||||
Loading…
Add table
Add a link
Reference in a new issue