2017-12-18 Fred Gleason <fredg@paravelsystems.com>

* Added 'opsguide' subpackage.
This commit is contained in:
Fred Gleason 2017-12-18 11:43:58 -05:00
parent f2d7fcbe7f
commit 6b8aee6b54
13 changed files with 148 additions and 15 deletions

13
.gitignore vendored
View File

@ -32,9 +32,18 @@ configure
depcomp depcomp
docs/apis/*.html docs/apis/*.html
docs/apis/*.pdf docs/apis/*.pdf
docs/opsguide/frontspiece.xml
docs/opsguide/*.html docs/opsguide/*.html
docs/opsguide/*.pdf docs/opsguide/*.pdf
docs/opsguide/chain.png
docs/opsguide/frontspiece.xml
docs/opsguide/mic16.png
docs/opsguide/music.png
docs/opsguide/notemarker.png
docs/opsguide/play.png
docs/opsguide/rml5.png
docs/opsguide/track_cart.png
docs/opsguide/traffic.png
docs/opsguide/trashcan-32x32.png
helpers/cwrap helpers/cwrap
helpers/docbook helpers/docbook
helpers/jsmin helpers/jsmin
@ -117,3 +126,5 @@ utils/rdrender/rdrender
utils/rdrevert/rdrevert utils/rdrevert/rdrevert
utils/sas_shim/sas_shim utils/sas_shim/sas_shim
web/rdfeed/rdfeed.xml web/rdfeed/rdfeed.xml
xdg/rivendell-opsguide-html.desktop
xdg/rivendell-opsguide-pdf.desktop

View File

@ -16501,3 +16501,5 @@
* Added missing *.html files to 'docs/opsguide/Makefile.am'. * Added missing *.html files to 'docs/opsguide/Makefile.am'.
2017-12-18 Fred Gleason <fredg@paravelsystems.com> 2017-12-18 Fred Gleason <fredg@paravelsystems.com>
* Cleaned up hanging files from the 'make uninstall' target. * Cleaned up hanging files from the 'make uninstall' target.
2017-12-18 Fred Gleason <fredg@paravelsystems.com>
* Added 'opsguide' subpackage.

View File

@ -459,6 +459,36 @@ dnl AC_SUBST(RPM_ROOT,/usr/src/packages)
fi fi
AC_SUBST(RPM_DATESTAMP,`date +%a\ %b\ %d\ %Y`) AC_SUBST(RPM_DATESTAMP,`date +%a\ %b\ %d\ %Y`)
#
# Create icon symlinks for Operations Guide
#
rm -f docs/opsguide/chain.png
ln -s ../../icons/chain.png docs/opsguide/chain.png
rm -f docs/opsguide/mic16.png
ln -s ../../icons/mic16.png docs/opsguide/mic16.png
rm -f docs/opsguide/music.png
ln -s ../../icons/music.png docs/opsguide/music.png
rm -f docs/opsguide/notemarker.png
ln -s ../../icons/notemarker.png docs/opsguide/notemarker.png
rm -f docs/opsguide/play.png
ln -s ../../icons/play.png docs/opsguide/play.png
rm -f docs/opsguide/rml5.png
ln -s ../../icons/rml5.png docs/opsguide/rml5.png
rm -f docs/opsguide/track_cart.png
ln -s ../../icons/track_cart.png docs/opsguide/track_cart.png
rm -f docs/opsguide/traffic.png
ln -s ../../icons/traffic.png docs/opsguide/traffic.png
rm -f docs/opsguide/trashcan-32x32.png
ln -s ../../icons/trashcan-32x32.png docs/opsguide/trashcan-32x32.png
AC_CONFIG_FILES([rivendell.spec \ AC_CONFIG_FILES([rivendell.spec \
Makefile \ Makefile \
make_slack \ make_slack \
@ -514,6 +544,8 @@ AC_CONFIG_FILES([rivendell.spec \
docs/opsguide/Makefile \ docs/opsguide/Makefile \
docs/stylesheets/Makefile \ docs/stylesheets/Makefile \
docs/tables/Makefile \ docs/tables/Makefile \
xdg/rivendell-opsguide-html.desktop \
xdg/rivendell-opsguide-pdf.desktop \
debian/Makefile \ debian/Makefile \
debian/patches/Makefile \ debian/patches/Makefile \
xdg/Makefile \ xdg/Makefile \

View File

@ -261,8 +261,18 @@ OPSGUIDE_IMAGES = rdadmin.audio_resource_information_dialog.png\
voicetracking.voice_tracker_dialog_track_completed.png\ voicetracking.voice_tracker_dialog_track_completed.png\
voicetracking.voice_tracker_dialog_track_selected.png voicetracking.voice_tracker_dialog_track_selected.png
OPSGUIDE_ICONS = chain.png\
mic16.png\
music.png\
notemarker.png\
play.png\
rml5.png\
track_cart.png\
traffic.png\
trashcan-32x32.png
OPSGUIDE_DEPS = $(OPSGUIDE_IMAGES) \ OPSGUIDE_DEPS = $(OPSGUIDE_IMAGES) \
$(OPSGUIDE_ICONS) \
filepath_wildcards.xml\ filepath_wildcards.xml\
gpio_switcher_devices.xml\ gpio_switcher_devices.xml\
gplv2.xml\ gplv2.xml\
@ -292,6 +302,17 @@ opsguide.pdf: $(OPSGUIDE_DEPS) ../../PACKAGE_VERSION\
../stylesheets/book-fo-titlepages.xsl ../stylesheets/book-fo-titlepages.xsl
xsltproc ../stylesheets/book-fo.xml opsguide.xml | fop - -pdf opsguide.pdf xsltproc ../stylesheets/book-fo.xml opsguide.xml | fop - -pdf opsguide.pdf
install-exec-local:
mkdir -p $(DESTDIR)$(prefix)/share/rivendell/html
cp opsguide.pdf $(DESTDIR)$(prefix)/share/rivendell/
cp $(OPSGUIDE_HTML) $(DESTDIR)$(prefix)/share/rivendell/html/
cp $(OPSGUIDE_IMAGES) $(DESTDIR)$(prefix)/share/rivendell/html/
cp $(OPSGUIDE_ICONS) $(DESTDIR)$(prefix)/share/rivendell/html/
uninstall-local:
rm -rf $(DESTDIR)$(prefix)/share/rivendell/html
rm -rf $(DESTDIR)$(prefix)/share/rivendell/opsguide.pdf
all-local: $(OPSGUIDE_HTML) \ all-local: $(OPSGUIDE_HTML) \
$(OPSGUIDE_IMAGES) \ $(OPSGUIDE_IMAGES) \
opsguide.pdf opsguide.pdf
@ -306,6 +327,16 @@ CLEANFILES = *~\
*.html\ *.html\
*.pdf *.pdf
DISTCLEANFILES = chain.png \
mic16.png \
music.png \
notemarker.png \
play.png \
rml5.png \
track_cart.png \
traffic.png \
trashcan-32x32.png
MAINTAINERCLEANFILES = *~\ MAINTAINERCLEANFILES = *~\
*.1\ *.1\
*.8\ *.8\

View File

@ -359,7 +359,7 @@
<para> <para>
<mediaobject> <mediaobject>
<imageobject> <imageobject>
<imagedata align="left" fileref="../../icons/trashcan-32x32.png" scale="60"/> <imagedata align="left" fileref="trashcan-32x32.png" scale="60"/>
</imageobject> </imageobject>
</mediaobject> </mediaobject>
</para> </para>

View File

@ -130,7 +130,7 @@
<entry align="center"> <entry align="center">
<inlinemediaobject> <inlinemediaobject>
<imageobject> <imageobject>
<imagedata fileref="../../icons/play.png" scale="100"/> <imagedata fileref="play.png" scale="100"/>
</imageobject> </imageobject>
</inlinemediaobject> </inlinemediaobject>
</entry> </entry>
@ -142,7 +142,7 @@
<entry align="center"> <entry align="center">
<inlinemediaobject> <inlinemediaobject>
<imageobject> <imageobject>
<imagedata fileref="../../icons/track_cart.png" scale="100"/> <imagedata fileref="track_cart.png" scale="100"/>
</imageobject> </imageobject>
</inlinemediaobject> </inlinemediaobject>
</entry> </entry>
@ -154,7 +154,7 @@
<entry align="center"> <entry align="center">
<inlinemediaobject> <inlinemediaobject>
<imageobject> <imageobject>
<imagedata fileref="../../icons/rml5.png" scale="100"/> <imagedata fileref="rml5.png" scale="100"/>
</imageobject> </imageobject>
</inlinemediaobject> </inlinemediaobject>
</entry> </entry>
@ -166,7 +166,7 @@
<entry align="center"> <entry align="center">
<inlinemediaobject> <inlinemediaobject>
<imageobject> <imageobject>
<imagedata fileref="../../icons/notemarker.png" scale="100"/> <imagedata fileref="notemarker.png" scale="100"/>
</imageobject> </imageobject>
</inlinemediaobject> </inlinemediaobject>
</entry> </entry>
@ -178,7 +178,7 @@
<entry align="center"> <entry align="center">
<inlinemediaobject> <inlinemediaobject>
<imageobject> <imageobject>
<imagedata fileref="../../icons/mic16.png" scale="100"/> <imagedata fileref="mic16.png" scale="100"/>
</imageobject> </imageobject>
</inlinemediaobject> </inlinemediaobject>
</entry> </entry>
@ -190,7 +190,7 @@
<entry align="center"> <entry align="center">
<inlinemediaobject> <inlinemediaobject>
<imageobject> <imageobject>
<imagedata fileref="../../icons/chain.png" scale="100"/> <imagedata fileref="chain.png" scale="100"/>
</imageobject> </imageobject>
</inlinemediaobject> </inlinemediaobject>
</entry> </entry>
@ -202,7 +202,7 @@
<entry align="center"> <entry align="center">
<inlinemediaobject> <inlinemediaobject>
<imageobject> <imageobject>
<imagedata fileref="../../icons/music.png" scale="100"/> <imagedata fileref="music.png" scale="100"/>
</imageobject> </imageobject>
</inlinemediaobject> </inlinemediaobject>
</entry> </entry>
@ -214,7 +214,7 @@
<entry align="center"> <entry align="center">
<inlinemediaobject> <inlinemediaobject>
<imageobject> <imageobject>
<imagedata fileref="../../icons/traffic.png" scale="100"/> <imagedata fileref="traffic.png" scale="100"/>
</imageobject> </imageobject>
</inlinemediaobject> </inlinemediaobject>
</entry> </entry>

View File

@ -183,7 +183,6 @@ install-exec-am:
cp rivendell-16x16.xpm $(DESTDIR)@prefix@/share/X11/fvwm2/pixmaps/mini.rivendell.xpm cp rivendell-16x16.xpm $(DESTDIR)@prefix@/share/X11/fvwm2/pixmaps/mini.rivendell.xpm
cp rivendell-32x32.xpm $(DESTDIR)@prefix@/share/X11/fvwm2/pixmaps/rivendell.xpm cp rivendell-32x32.xpm $(DESTDIR)@prefix@/share/X11/fvwm2/pixmaps/rivendell.xpm
uninstall-local: uninstall-local:
rm -f $(DESTDIR)@libexecdir@/greencheckmark.png rm -f $(DESTDIR)@libexecdir@/greencheckmark.png
rm -f $(DESTDIR)@libexecdir@/redx.png rm -f $(DESTDIR)@libexecdir@/redx.png

View File

@ -39,6 +39,10 @@ Summary: Library importers for the Rivendell Broadcast Automation System
Group: Productivity/Multimedia/Other Group: Productivity/Multimedia/Other
Requires: rivendell madplay Requires: rivendell madplay
%package opsguide
Summary: The Rivendell Operations and Administration Guide
Group: Productivity/Multimedia/Other
Requires: evince firefox rivendell
%package devel %package devel
Summary: Header files and example code for developing Rivendell Loadable Modules Summary: Header files and example code for developing Rivendell Loadable Modules
@ -74,6 +78,11 @@ initializing switcher matrices for the Christian Radio Consortium
are included. are included.
%description opsguide
This package contains the Rivendell Operations and Administration Guide,
in both HTML and PDF formats.
%description devel %description devel
This package contains header files and example code for developing Rivendell This package contains header files and example code for developing Rivendell
Loadable Modules (RLMs), which can be used to generate custom Now & Next data Loadable Modules (RLMs), which can be used to generate custom Now & Next data
@ -130,10 +139,7 @@ cp docs/misc/ALSA.txt $RPM_BUILD_ROOT/%{_datadir}/doc/rivendell-%{version}/misc/
cp docs/misc/RDMONITOR.txt $RPM_BUILD_ROOT/%{_datadir}/doc/rivendell-%{version}/misc/ cp docs/misc/RDMONITOR.txt $RPM_BUILD_ROOT/%{_datadir}/doc/rivendell-%{version}/misc/
cp docs/misc/scheduler_formats.ods $RPM_BUILD_ROOT/%{_datadir}/doc/rivendell-%{version}/misc/ cp docs/misc/scheduler_formats.ods $RPM_BUILD_ROOT/%{_datadir}/doc/rivendell-%{version}/misc/
cp docs/misc/ando_interface.odt $RPM_BUILD_ROOT/%{_datadir}/doc/rivendell-%{version}/misc/ cp docs/misc/ando_interface.odt $RPM_BUILD_ROOT/%{_datadir}/doc/rivendell-%{version}/misc/
mkdir -p $RPM_BUILD_ROOT/%{_datadir}/doc/rivendell-%{version}/opsguide/html mkdir -p $RPM_BUILD_ROOT/%{_datadir}/doc/rivendell-%{version}
cp docs/opsguide/*.pdf $RPM_BUILD_ROOT/%{_datadir}/doc/rivendell-%{version}/opsguide/
cp docs/opsguide/*.html $RPM_BUILD_ROOT/%{_datadir}/doc/rivendell-%{version}/opsguide/html/
cp docs/opsguide/*.png $RPM_BUILD_ROOT/%{_datadir}/doc/rivendell-%{version}/opsguide/html
mkdir -p $RPM_BUILD_ROOT/%{_datadir}/doc/rivendell-%{version}/apis mkdir -p $RPM_BUILD_ROOT/%{_datadir}/doc/rivendell-%{version}/apis
cp docs/apis/*.pdf $RPM_BUILD_ROOT/%{_datadir}/doc/rivendell-%{version}/apis/ cp docs/apis/*.pdf $RPM_BUILD_ROOT/%{_datadir}/doc/rivendell-%{version}/apis/
mkdir -p $RPM_BUILD_ROOT/%{_datadir}/doc/rivendell-%{version}/tables mkdir -p $RPM_BUILD_ROOT/%{_datadir}/doc/rivendell-%{version}/tables
@ -380,6 +386,7 @@ rm -rf $RPM_BUILD_ROOT
@LOCAL_PREFIX@/share/applications/rivendell-rmlsend.desktop @LOCAL_PREFIX@/share/applications/rivendell-rmlsend.desktop
@LOCAL_PREFIX@/share/applications/rivendell-rdsoftkeys.desktop @LOCAL_PREFIX@/share/applications/rivendell-rdsoftkeys.desktop
@LOCAL_PREFIX@/share/desktop-directories/rivendell-configuration.directory @LOCAL_PREFIX@/share/desktop-directories/rivendell-configuration.directory
@LOCAL_PREFIX@/share/desktop-directories/rivendell-documentation.directory
@LOCAL_PREFIX@/share/desktop-directories/rivendell-logtools.directory @LOCAL_PREFIX@/share/desktop-directories/rivendell-logtools.directory
@LOCAL_PREFIX@/share/desktop-directories/rivendell-rivendell.directory @LOCAL_PREFIX@/share/desktop-directories/rivendell-rivendell.directory
@LOCAL_PREFIX@/share/desktop-directories/rivendell-utilities.directory @LOCAL_PREFIX@/share/desktop-directories/rivendell-utilities.directory
@ -446,6 +453,13 @@ rm -rf $RPM_BUILD_ROOT
%{_docdir}/rivendell-importers-%{version}/* %{_docdir}/rivendell-importers-%{version}/*
%files opsguide
@LOCAL_PREFIX@/share/applications/rivendell-opsguide-html.desktop
@LOCAL_PREFIX@/share/applications/rivendell-opsguide-pdf.desktop
@LOCAL_PREFIX@/share/rivendell/opsguide.pdf
@LOCAL_PREFIX@/share/rivendell/html/*
%files devel %files devel
@LOCAL_PREFIX@/include/rlm/* @LOCAL_PREFIX@/include/rlm/*
@LOCAL_PREFIX@/src/rlm/* @LOCAL_PREFIX@/src/rlm/*

View File

@ -21,6 +21,8 @@
install-exec-am: install-exec-am:
mkdir -p $(DESTDIR)@prefix@/share/applications mkdir -p $(DESTDIR)@prefix@/share/applications
cp rivendell-opsguide-html.desktop $(DESTDIR)@prefix@/share/applications/
cp rivendell-opsguide-pdf.desktop $(DESTDIR)@prefix@/share/applications/
cp rivendell-rdadmin.desktop $(DESTDIR)@prefix@/share/applications/ cp rivendell-rdadmin.desktop $(DESTDIR)@prefix@/share/applications/
cp rivendell-rdairplay.desktop $(DESTDIR)@prefix@/share/applications/ cp rivendell-rdairplay.desktop $(DESTDIR)@prefix@/share/applications/
cp rivendell-rdcartslots.desktop $(DESTDIR)@prefix@/share/applications/ cp rivendell-rdcartslots.desktop $(DESTDIR)@prefix@/share/applications/
@ -71,7 +73,10 @@ EXTRA_DIST = rdalsaconfig-root-consolehelper\
rdhpiinfo-root-consolehelper\ rdhpiinfo-root-consolehelper\
rdhpiinfo-root-pam\ rdhpiinfo-root-pam\
rivendell-configuration.directory\ rivendell-configuration.directory\
rivendell-documentation.directory\
rivendell-logtools.directory\ rivendell-logtools.directory\
rivendell-opsguide-html.desktop.in\
rivendell-opsguide-pdf.desktop.in\
rivendell-rdadmin.desktop\ rivendell-rdadmin.desktop\
rivendell-rdairplay.desktop\ rivendell-rdairplay.desktop\
rivendell-rdalsaconfig.desktop\ rivendell-rdalsaconfig.desktop\
@ -98,5 +103,8 @@ EXTRA_DIST = rdalsaconfig-root-consolehelper\
CLEANFILES = *~ CLEANFILES = *~
DISTCLEANFILES = rivendell-opsguide-html.desktop\
rivendell-opsguide-pdf.desktop
MAINTAINERCLEANFILES = *~\ MAINTAINERCLEANFILES = *~\
Makefile.in Makefile.in

View File

@ -0,0 +1,6 @@
[Desktop Entry]
Encoding=UTF-8
Type=Directory
Name=Documentation
Icon=rivendell

View File

@ -0,0 +1,11 @@
[Desktop Entry]
Encoding=UTF-8
Terminal=false
Categories=Qt;KDE;Rivendell;
Name=Rivendell Operations Guide (HTML)
GenericName=Rivendell Operations Guide
Exec=firefox @prefix@/share/rivendell/html/index.html
Icon=rivendell
Type=Application
Terminal=false

View File

@ -0,0 +1,11 @@
[Desktop Entry]
Encoding=UTF-8
Terminal=false
Categories=Qt;KDE;Rivendell;
Name=Rivendell Operations Guide (PDF)
GenericName=Rivendell Operations Guide
Exec=evince @prefix@/share/rivendell/opsguide.pdf
Icon=rivendell
Type=Application
Terminal=false

View File

@ -26,6 +26,14 @@
<Filename>rivendell-rdhpiinfo-root.desktop</Filename> <Filename>rivendell-rdhpiinfo-root.desktop</Filename>
</Include> </Include>
</Menu> </Menu>
<Menu>
<Name>Documentation</Name>
<Directory>rivendell-documentation.directory</Directory>
<Include>
<Filename>rivendell-opsguide-html.desktop</Filename>
<Filename>rivendell-opsguide-pdf.desktop</Filename>
</Include>
</Menu>
<Menu> <Menu>
<Name>Log Tools</Name> <Name>Log Tools</Name>
<Directory>rivendell-logtools.directory</Directory> <Directory>rivendell-logtools.directory</Directory>