2021-07-28 Fred Gleason <fredg@paravelsystems.com>

* Added a '--enable-i18n-updates' switch to '.configure'.

Signed-off-by: Fred Gleason <fredg@paravelsystems.com>
This commit is contained in:
Fred Gleason
2021-07-28 19:54:17 -04:00
parent b2fc15ffef
commit f48184d6e3
22 changed files with 143 additions and 118 deletions

View File

@@ -22112,3 +22112,5 @@
* Fixed a regression in the 'Edit Audio Settings' * Fixed a regression in the 'Edit Audio Settings'
('RDExportSettingsDialog') dialog that made it impossible to ('RDExportSettingsDialog') dialog that made it impossible to
select any sample rate other than 32000. select any sample rate other than 32000.
2021-07-28 Fred Gleason <fredg@paravelsystems.com>
* Added a '--enable-i18n-updates' switch to '.configure'.

View File

@@ -101,6 +101,8 @@ AC_ARG_ENABLE(mp4v2,[ --disable-mp4 disable M4A decode support],
[MP4V2_DISABLED=yes],[]) [MP4V2_DISABLED=yes],[])
AC_ARG_ENABLE(rdxport-debug,[ --enable-rdxport-debug enable DEBUG support for RDXport services], AC_ARG_ENABLE(rdxport-debug,[ --enable-rdxport-debug enable DEBUG support for RDXport services],
[RDXPORT_DEBUG_ENABLED=yes],[]) [RDXPORT_DEBUG_ENABLED=yes],[])
AC_ARG_ENABLE(i18n-updates,[ --enable-i18n-updates enable I18N metadata updates],
[I18N_ENABLED=yes],[])
# #
@@ -205,6 +207,15 @@ case "$ar_distro_id" in
;; ;;
esac esac
#
# Internationalization
#
if test $I18N_ENABLED ; then
AC_SUBST(I18N_ACTIVE,1)
else
AC_SUBST(I18N_ACTIVE,0)
fi
# #
# Check for Expat # Check for Expat
# #
@@ -537,6 +548,7 @@ AC_CONFIG_FILES([rivendell.spec \
icons/Makefile \ icons/Makefile \
helpers/Makefile \ helpers/Makefile \
helpers/install_python.sh \ helpers/install_python.sh \
helpers/rdi18n_helper.sh \
apis/Makefile \ apis/Makefile \
apis/pypad/Makefile \ apis/pypad/Makefile \
apis/pypad/api/Makefile \ apis/pypad/api/Makefile \
@@ -626,6 +638,7 @@ AC_CONFIG_FILES([rivendell.spec \
]) ])
AC_OUTPUT() AC_OUTPUT()
chmod 755 helpers/rdi18n_helper.sh
chmod 755 helpers/install_python.sh chmod 755 helpers/install_python.sh
chmod 755 xdg/install_usermode.sh chmod 755 xdg/install_usermode.sh
chmod 755 build_debs.sh chmod 755 build_debs.sh
@@ -656,6 +669,11 @@ AC_MSG_NOTICE("|---------------------------------------------------------|")
AC_MSG_NOTICE("| Platform Information: |") AC_MSG_NOTICE("| Platform Information: |")
AC_MSG_NOTICE("$DISTRO_NAME") AC_MSG_NOTICE("$DISTRO_NAME")
AC_MSG_NOTICE("$DISTRO_FAMILY") AC_MSG_NOTICE("$DISTRO_FAMILY")
if test $I18N_ENABLED ; then
AC_MSG_NOTICE("| Update I18N Data ... Yes |")
else
AC_MSG_NOTICE("| Update I18N Data ... No |")
fi
AC_MSG_NOTICE("| |") AC_MSG_NOTICE("| |")
AC_MSG_NOTICE("| Configured Audio Drivers: |") AC_MSG_NOTICE("| Configured Audio Drivers: |")
if test -z $USING_ALSA ; then if test -z $USING_ALSA ; then

View File

@@ -2,7 +2,7 @@
## ##
## helper/ Automake.am for Rivendell ## helper/ Automake.am for Rivendell
## ##
## (C) Copyright 2003-2005,2016 Fred Gleason <fredg@paravelsystems.com> ## (C) Copyright 2003-2021 Fred Gleason <fredg@paravelsystems.com>
## ##
## Use automake to process this into a Makefile.in ## Use automake to process this into a Makefile.in
## ##
@@ -33,7 +33,8 @@ dist_cwrap_SOURCES = cwrap.cpp cwrap.h
dist_jsmin_SOURCES = jsmin.c dist_jsmin_SOURCES = jsmin.c
EXTRA_DIST = install_python.sh.in\ EXTRA_DIST = rdi18n_helper.sh.in\
install_python.sh.in\
rdpack.sh\ rdpack.sh\
rdtrans.sh\ rdtrans.sh\
rdtransgui.sh\ rdtransgui.sh\
@@ -44,6 +45,7 @@ CLEANFILES = *~\
moc_* moc_*
DISTCLEANFILES = docbook\ DISTCLEANFILES = docbook\
rdi18n_helper.sh\
install_python.sh install_python.sh
MAINTAINERCLEANFILES = *~\ MAINTAINERCLEANFILES = *~\

View File

@@ -0,0 +1,68 @@
#!/bin/sh
# rdi18n_helper.sh
#
# Helper script for managing internationalization files for Rivendell
#
# (C) Copyright 2021 Fred Gleason <fredg@paravelsystems.com>
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License version 2 as
# published by the Free Software Foundation.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public
# License along with this program; if not, write to the Free Software
# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
#
USAGE="rdi18n_helper.sh --install|--uninstall|--update <basename> <installdir>"
OPERATION=$1
BASENAME=$2
INSTALLDIR=$3
if test -z $BASENAME ; then
echo $USAGE
exit 1
fi
function Install {
mkdir -p ${INSTALLDIR}
cp ${BASENAME}_*.qm ${INSTALLDIR}/
}
function Uninstall {
rm -f ${INSTALLDIR}/${BASENAME}_*.qm
}
function Update {
if test @I18N_ACTIVE@ -eq 1 ; then
@QT_LUPDATE@ ${BASENAME}.pro
fi
@QT_LRELEASE@ ${BASENAME}.pro
}
if test $OPERATION = "--install" ; then
Install
exit 0
fi
if test $OPERATION = "--uninstall" ; then
Uninstall
exit 0
fi
if test $OPERATION = "--update" ; then
Update
exit 0
fi
echo $USAGE
exit 1

View File

@@ -22,8 +22,6 @@
AM_CPPFLAGS = -Wall -DPREFIX=\"$(prefix)\" @QT5_CFLAGS@ @MUSICBRAINZ_CFLAGS@ -Wno-strict-aliasing -std=c++11 -fPIC -I/usr/include/taglib AM_CPPFLAGS = -Wall -DPREFIX=\"$(prefix)\" @QT5_CFLAGS@ @MUSICBRAINZ_CFLAGS@ -Wno-strict-aliasing -std=c++11 -fPIC -I/usr/include/taglib
MOC = @QT_MOC@ MOC = @QT_MOC@
LUPDATE = @QT_LUPDATE@
LRELEASE = @QT_LRELEASE@
CWRAP = ../helpers/cwrap CWRAP = ../helpers/cwrap
# The dependency for qt's Meta Object Compiler (moc) # The dependency for qt's Meta Object Compiler (moc)
@@ -32,15 +30,13 @@ moc_%.cpp: %.h
# I18N Stuff # I18N Stuff
install-exec-local: install-exec-local:
mkdir -p $(DESTDIR)$(prefix)/share/rivendell ../helpers/rdi18n_helper.sh --install librd $(DESTDIR)$(prefix)/share/rivendell
cp librd_*.qm $(DESTDIR)$(prefix)/share/rivendell
uninstall-local: uninstall-local:
rm -f $(DESTDIR)$(prefix)/share/rivendell/librd_*.qm ../helpers/rdi18n_helper.sh --uninstall librd $(DESTDIR)$(prefix)/share/rivendell
all: all:
$(LUPDATE) lib.pro ../helpers/rdi18n_helper.sh --update librd $(DESTDIR)$(prefix)/share/rivendell
$(LRELEASE) lib.pro
lib_LTLIBRARIES = librd.la lib_LTLIBRARIES = librd.la
dist_librd_la_SOURCES = dbversion.h\ dist_librd_la_SOURCES = dbversion.h\
@@ -438,7 +434,7 @@ nodist_librd_la_SOURCES = moc_rdadd_cart.cpp\
librd_la_LDFLAGS = -release $(VERSION) librd_la_LDFLAGS = -release $(VERSION)
EXTRA_DIST = lib.pro\ EXTRA_DIST = librd.pro\
librd_cs.ts\ librd_cs.ts\
librd_de.ts\ librd_de.ts\
librd_es.ts\ librd_es.ts\

View File

@@ -23,8 +23,6 @@
AM_CPPFLAGS = -Wall -DPREFIX=\"$(prefix)\" -Wno-strict-aliasing -std=c++11 -fPIC -I$(top_srcdir)/lib @QT5_CFLAGS@ @MUSICBRAINZ_CFLAGS@ AM_CPPFLAGS = -Wall -DPREFIX=\"$(prefix)\" -Wno-strict-aliasing -std=c++11 -fPIC -I$(top_srcdir)/lib @QT5_CFLAGS@ @MUSICBRAINZ_CFLAGS@
LIBS = -L$(top_srcdir)/lib LIBS = -L$(top_srcdir)/lib
MOC = @QT_MOC@ MOC = @QT_MOC@
LUPDATE = @QT_LUPDATE@
LRELEASE = @QT_LRELEASE@
CWRAP = ../helpers/cwrap CWRAP = ../helpers/cwrap
# The dependency for qt's Meta Object Compiler (moc) # The dependency for qt's Meta Object Compiler (moc)
@@ -39,15 +37,13 @@ global_credits.c:
# I18N Stuff # I18N Stuff
install-exec-local: install-exec-local:
mkdir -p $(DESTDIR)$(prefix)/share/rivendell ../helpers/rdi18n_helper.sh --install rdadmin $(DESTDIR)$(prefix)/share/rivendell
cp rdadmin_*.qm $(DESTDIR)$(prefix)/share/rivendell
uninstall-local: uninstall-local:
rm -f $(DESTDIR)$(prefix)/share/rivendell/rdadmin_*.qm ../helpers/rdi18n_helper.sh --uninstall rdadmin $(DESTDIR)$(prefix)/share/rivendell
all: all:
$(LUPDATE) rdadmin.pro ../helpers/rdi18n_helper.sh --update rdadmin $(DESTDIR)$(prefix)/share/rivendell
$(LRELEASE) rdadmin.pro
bin_PROGRAMS = rdadmin bin_PROGRAMS = rdadmin

View File

@@ -23,8 +23,6 @@
AM_CPPFLAGS = -Wall -DPREFIX=\"$(prefix)\" -I$(top_srcdir)/lib -Wno-strict-aliasing -std=c++11 -fPIC @QT5_CFLAGS@ @MUSICBRAINZ_CFLAGS@ AM_CPPFLAGS = -Wall -DPREFIX=\"$(prefix)\" -I$(top_srcdir)/lib -Wno-strict-aliasing -std=c++11 -fPIC @QT5_CFLAGS@ @MUSICBRAINZ_CFLAGS@
LIBS = -L$(top_srcdir)/lib LIBS = -L$(top_srcdir)/lib
MOC = @QT_MOC@ MOC = @QT_MOC@
LUPDATE = @QT_LUPDATE@
LRELEASE = @QT_LRELEASE@
# The dependency for qt's Meta Object Compiler (moc) # The dependency for qt's Meta Object Compiler (moc)
moc_%.cpp: %.h moc_%.cpp: %.h
@@ -32,15 +30,13 @@ moc_%.cpp: %.h
# I18N Stuff # I18N Stuff
install-exec-local: install-exec-local:
mkdir -p $(DESTDIR)$(prefix)/share/rivendell ../helpers/rdi18n_helper.sh --install rdairplay $(DESTDIR)$(prefix)/share/rivendell
cp rdairplay_*.qm $(DESTDIR)$(prefix)/share/rivendell
uninstall-local: uninstall-local:
rm -f $(DESTDIR)$(prefix)/share/rivendell/rdairplay_*.qm ../helpers/rdi18n_helper.sh --uninstall rdairplay $(DESTDIR)$(prefix)/share/rivendell
all: all:
$(LUPDATE) rdairplay.pro ../helpers/rdi18n_helper.sh --update rdcatch $(DESTDIR)$(prefix)/share/rivendell
$(LRELEASE) rdairplay.pro
bin_PROGRAMS = rdairplay bin_PROGRAMS = rdairplay

View File

@@ -23,8 +23,6 @@
AM_CPPFLAGS = -Wall -DPREFIX=\"$(prefix)\" -Wno-strict-aliasing -std=c++11 -fPIC -I$(top_srcdir)/lib @QT5_CFLAGS@ @MUSICBRAINZ_CFLAGS@ AM_CPPFLAGS = -Wall -DPREFIX=\"$(prefix)\" -Wno-strict-aliasing -std=c++11 -fPIC -I$(top_srcdir)/lib @QT5_CFLAGS@ @MUSICBRAINZ_CFLAGS@
LIBS = -L$(top_srcdir)/lib LIBS = -L$(top_srcdir)/lib
MOC = @QT_MOC@ MOC = @QT_MOC@
LUPDATE = @QT_LUPDATE@
LRELEASE = @QT_LRELEASE@
# The dependency for qt's Meta Object Compiler (moc) # The dependency for qt's Meta Object Compiler (moc)
moc_%.cpp: %.h moc_%.cpp: %.h
@@ -32,15 +30,13 @@ moc_%.cpp: %.h
# I18N Stuff # I18N Stuff
install-exec-local: install-exec-local:
mkdir -p $(DESTDIR)$(prefix)/share/rivendell ../helpers/rdi18n_helper.sh --install rdcartslots $(DESTDIR)$(prefix)/share/rivendell
cp rdcartslots_*.qm $(DESTDIR)$(prefix)/share/rivendell
uninstall-local: uninstall-local:
rm -f $(DESTDIR)$(prefix)/share/rivendell/rdcartslots_*.qm ../helpers/rdi18n_helper.sh --uninstall rdcatch $(DESTDIR)$(prefix)/share/rivendell
all: all:
$(LUPDATE) rdcartslots.pro ../helpers/rdi18n_helper.sh --update rdcatch $(DESTDIR)$(prefix)/share/rivendell
$(LRELEASE) rdcartslots.pro
bin_PROGRAMS = rdcartslots bin_PROGRAMS = rdcartslots

View File

@@ -23,8 +23,6 @@
AM_CPPFLAGS = -Wall -DPREFIX=\"$(prefix)\" -Wno-strict-aliasing -std=c++11 -fPIC -I$(top_srcdir)/lib @QT5_CFLAGS@ @MUSICBRAINZ_CFLAGS@ AM_CPPFLAGS = -Wall -DPREFIX=\"$(prefix)\" -Wno-strict-aliasing -std=c++11 -fPIC -I$(top_srcdir)/lib @QT5_CFLAGS@ @MUSICBRAINZ_CFLAGS@
LIBS = -L$(top_srcdir)/lib LIBS = -L$(top_srcdir)/lib
MOC = @QT_MOC@ MOC = @QT_MOC@
LUPDATE = @QT_LUPDATE@
LRELEASE = @QT_LRELEASE@
# The dependency for qt's Meta Object Compiler (moc) # The dependency for qt's Meta Object Compiler (moc)
moc_%.cpp: %.h moc_%.cpp: %.h
@@ -32,15 +30,13 @@ moc_%.cpp: %.h
# I18N Stuff # I18N Stuff
install-exec-local: install-exec-local:
mkdir -p $(DESTDIR)$(prefix)/share/rivendell ../helpers/rdi18n_helper.sh --install rdcastmanager $(DESTDIR)$(prefix)/share/rivendell
cp rdcastmanager_*.qm $(DESTDIR)$(prefix)/share/rivendell
uninstall-local: uninstall-local:
rm -f $(DESTDIR)$(prefix)/share/rivendell/rdcastmanager_*.qm ../helpers/rdi18n_helper.sh --uninstall rdcastmanager $(DESTDIR)$(prefix)/share/rivendell
all: all:
$(LUPDATE) rdcastmanager.pro ../helpers/rdi18n_helper.sh --update rdcastmanager $(DESTDIR)$(prefix)/share/rivendell
$(LRELEASE) rdcastmanager.pro
bin_PROGRAMS = rdcastmanager bin_PROGRAMS = rdcastmanager

View File

@@ -23,8 +23,6 @@
AM_CPPFLAGS = -Wall -DPREFIX=\"$(prefix)\" -Wno-strict-aliasing -std=c++11 -fPIC -I$(top_srcdir)/lib @QT5_CFLAGS@ @MUSICBRAINZ_CFLAGS@ AM_CPPFLAGS = -Wall -DPREFIX=\"$(prefix)\" -Wno-strict-aliasing -std=c++11 -fPIC -I$(top_srcdir)/lib @QT5_CFLAGS@ @MUSICBRAINZ_CFLAGS@
LIBS = -L$(top_srcdir)/lib LIBS = -L$(top_srcdir)/lib
MOC = @QT_MOC@ MOC = @QT_MOC@
LUPDATE = @QT_LUPDATE@
LRELEASE = @QT_LRELEASE@
# The dependency for qt's Meta Object Compiler (moc) # The dependency for qt's Meta Object Compiler (moc)
moc_%.cpp: %.h moc_%.cpp: %.h
@@ -32,15 +30,13 @@ moc_%.cpp: %.h
# I18N Stuff # I18N Stuff
install-exec-local: install-exec-local:
mkdir -p $(DESTDIR)$(prefix)/share/rivendell ../helpers/rdi18n_helper.sh --install rdcatch $(DESTDIR)$(prefix)/share/rivendell
cp rdcatch_*.qm $(DESTDIR)$(prefix)/share/rivendell
uninstall-local: uninstall-local:
rm -f $(DESTDIR)$(prefix)/share/rivendell/rdcatch_*.qm ../helpers/rdi18n_helper.sh --uninstall rdcatch $(DESTDIR)$(prefix)/share/rivendell
all: all:
$(LUPDATE) rdcatch.pro ../helpers/rdi18n_helper.sh --update rdcatch $(DESTDIR)$(prefix)/share/rivendell
$(LRELEASE) rdcatch.pro
bin_PROGRAMS = rdcatch bin_PROGRAMS = rdcatch

View File

@@ -24,8 +24,6 @@
AM_CPPFLAGS = -Wall -DPREFIX=\"$(prefix)\" -Wno-strict-aliasing -std=c++11 -fPIC -I$(top_srcdir)/lib @QT5_CFLAGS@ AM_CPPFLAGS = -Wall -DPREFIX=\"$(prefix)\" -Wno-strict-aliasing -std=c++11 -fPIC -I$(top_srcdir)/lib @QT5_CFLAGS@
LIBS = -L$(top_srcdir)/lib LIBS = -L$(top_srcdir)/lib
MOC = @QT_MOC@ MOC = @QT_MOC@
LUPDATE = @QT_LUPDATE@
LRELEASE = @QT_LRELEASE@
CWRAP = ../helpers/cwrap CWRAP = ../helpers/cwrap
# The dependency for qt's Meta Object Compiler (moc) # The dependency for qt's Meta Object Compiler (moc)
@@ -38,15 +36,13 @@ html_%.cpp: %.html
# I18N Stuff # I18N Stuff
install-exec-local: install-exec-local:
mkdir -p $(DESTDIR)$(prefix)/share/rivendell ../helpers/rdi18n_helper.sh --install rdhpi $(DESTDIR)$(prefix)/share/rivendell
cp rdhpi_*.qm $(DESTDIR)$(prefix)/share/rivendell
uninstall-local: uninstall-local:
rm -f $(DESTDIR)$(prefix)/share/rivendell/rdhpi_*.qm ../helpers/rdi18n_helper.sh --uninstall rdhpi $(DESTDIR)$(prefix)/share/rivendell
all: all:
$(LUPDATE) rdhpi.pro ../helpers/rdi18n_helper.sh --update rdhpi $(DESTDIR)$(prefix)/share/rivendell
$(LRELEASE) rdhpi.pro
lib_LTLIBRARIES = librdhpi.la lib_LTLIBRARIES = librdhpi.la
dist_librdhpi_la_SOURCES = rdhpiinformation.cpp rdhpiinformation.h\ dist_librdhpi_la_SOURCES = rdhpiinformation.cpp rdhpiinformation.h\

View File

@@ -23,8 +23,6 @@
AM_CPPFLAGS = -Wall -DPREFIX=\"$(prefix)\" -Wno-strict-aliasing -std=c++11 -fPIC -I$(top_srcdir)/lib @QT5_CFLAGS@ AM_CPPFLAGS = -Wall -DPREFIX=\"$(prefix)\" -Wno-strict-aliasing -std=c++11 -fPIC -I$(top_srcdir)/lib @QT5_CFLAGS@
LIBS = -L$(top_srcdir)/lib LIBS = -L$(top_srcdir)/lib
MOC = @QT_MOC@ MOC = @QT_MOC@
LUPDATE = @QT_LUPDATE@
LRELEASE = @QT_LRELEASE@
# The dependency for qt's Meta Object Compiler (moc) # The dependency for qt's Meta Object Compiler (moc)
moc_%.cpp: %.h moc_%.cpp: %.h
@@ -32,15 +30,13 @@ moc_%.cpp: %.h
# I18N Stuff # I18N Stuff
install-exec-local: install-exec-local:
mkdir -p $(DESTDIR)$(prefix)/share/rivendell ../helpers/rdi18n_helper.sh --install rdlibrary $(DESTDIR)$(prefix)/share/rivendell
cp rdlibrary_*.qm $(DESTDIR)$(prefix)/share/rivendell
uninstall-local: uninstall-local:
rm -f $(DESTDIR)$(prefix)/share/rivendell/rdlibrary_*.qm ../helpers/rdi18n_helper.sh --uninstall rdlibrary $(DESTDIR)$(prefix)/share/rivendell
all: all:
$(LUPDATE) rdlibrary.pro ../helpers/rdi18n_helper.sh --update rdlibrary $(DESTDIR)$(prefix)/share/rivendell
$(LRELEASE) rdlibrary.pro
bin_PROGRAMS = rdlibrary bin_PROGRAMS = rdlibrary

View File

@@ -21,8 +21,6 @@
AM_CPPFLAGS = -Wall -DPREFIX=\"$(prefix)\" -Wno-strict-aliasing -std=c++11 -fPIC -I$(top_srcdir)/lib @QT5_CFLAGS@ @MUSICBRAINZ_CFLAGS@ AM_CPPFLAGS = -Wall -DPREFIX=\"$(prefix)\" -Wno-strict-aliasing -std=c++11 -fPIC -I$(top_srcdir)/lib @QT5_CFLAGS@ @MUSICBRAINZ_CFLAGS@
LIBS = -L$(top_srcdir)/lib LIBS = -L$(top_srcdir)/lib
MOC = @QT_MOC@ MOC = @QT_MOC@
LUPDATE = @QT_LUPDATE@
LRELEASE = @QT_LRELEASE@
# The dependency for qt's Meta Object Compiler (moc) # The dependency for qt's Meta Object Compiler (moc)
moc_%.cpp: %.h moc_%.cpp: %.h
@@ -30,15 +28,13 @@ moc_%.cpp: %.h
# I18N Stuff # I18N Stuff
install-exec-local: install-exec-local:
mkdir -p $(DESTDIR)$(prefix)/share/rivendell ../helpers/rdi18n_helper.sh --install rdlogedit $(DESTDIR)$(prefix)/share/rivendell
cp rdlogedit_*.qm $(DESTDIR)$(prefix)/share/rivendell
uninstall-local: uninstall-local:
rm -f $(DESTDIR)$(prefix)/share/rivendell/rdlogedit_*.qm ../helpers/rdi18n_helper.sh --uninstall rdlogedit $(DESTDIR)$(prefix)/share/rivendell
all: all:
$(LUPDATE) rdlogedit.pro ../helpers/rdi18n_helper.sh --update rdlogedit $(DESTDIR)$(prefix)/share/rivendell
$(LRELEASE) rdlogedit.pro
bin_PROGRAMS = rdlogedit bin_PROGRAMS = rdlogedit

View File

@@ -21,8 +21,6 @@
AM_CPPFLAGS = -Wall -DPREFIX=\"$(prefix)\" -Wno-strict-aliasing -std=c++11 -fPIC -I$(top_srcdir)/lib @QT5_CFLAGS@ @MUSICBRAINZ_CFLAGS@ AM_CPPFLAGS = -Wall -DPREFIX=\"$(prefix)\" -Wno-strict-aliasing -std=c++11 -fPIC -I$(top_srcdir)/lib @QT5_CFLAGS@ @MUSICBRAINZ_CFLAGS@
LIBS = -L$(top_srcdir)/lib LIBS = -L$(top_srcdir)/lib
MOC = @QT_MOC@ MOC = @QT_MOC@
LUPDATE = @QT_LUPDATE@
LRELEASE = @QT_LRELEASE@
# The dependency for qt's Meta Object Compiler (moc) # The dependency for qt's Meta Object Compiler (moc)
moc_%.cpp: %.h moc_%.cpp: %.h
@@ -30,15 +28,13 @@ moc_%.cpp: %.h
# I18N Stuff # I18N Stuff
install-exec-local: install-exec-local:
mkdir -p $(DESTDIR)$(prefix)/share/rivendell ../helpers/rdi18n_helper.sh --install rdlogin $(DESTDIR)$(prefix)/share/rivendell
cp rdlogin_*.qm $(DESTDIR)$(prefix)/share/rivendell
uninstall-local: uninstall-local:
rm -f $(DESTDIR)$(prefix)/share/rivendell/rdlogin_*.qm ../helpers/rdi18n_helper.sh --uninstall rdlogin $(DESTDIR)$(prefix)/share/rivendell
all: all:
$(LUPDATE) rdlogin.pro ../helpers/rdi18n_helper.sh --update rdlogin $(DESTDIR)$(prefix)/share/rivendell
$(LRELEASE) rdlogin.pro
bin_PROGRAMS = rdlogin bin_PROGRAMS = rdlogin

View File

@@ -21,8 +21,6 @@
AM_CPPFLAGS = -Wall -DPREFIX=\"$(prefix)\" -Wno-strict-aliasing -std=c++11 -fPIC -I$(top_srcdir)/lib @QT5_CFLAGS@ @MUSICBRAINZ_CFLAGS@ AM_CPPFLAGS = -Wall -DPREFIX=\"$(prefix)\" -Wno-strict-aliasing -std=c++11 -fPIC -I$(top_srcdir)/lib @QT5_CFLAGS@ @MUSICBRAINZ_CFLAGS@
LIBS = -L$(top_srcdir)/lib LIBS = -L$(top_srcdir)/lib
MOC = @QT_MOC@ MOC = @QT_MOC@
LUPDATE = @QT_LUPDATE@
LRELEASE = @QT_LRELEASE@
# The dependency for qt's Meta Object Compiler (moc) # The dependency for qt's Meta Object Compiler (moc)
moc_%.cpp: %.h moc_%.cpp: %.h
@@ -30,15 +28,13 @@ moc_%.cpp: %.h
# I18N Stuff # I18N Stuff
install-exec-local: install-exec-local:
mkdir -p $(DESTDIR)$(prefix)/share/rivendell ../helpers/rdi18n_helper.sh --install rdlogmanager $(DESTDIR)$(prefix)/share/rivendell
cp rdlogmanager_*.qm $(DESTDIR)$(prefix)/share/rivendell
uninstall-local: uninstall-local:
rm -f $(DESTDIR)$(prefix)/share/rivendell/rdlogmanager_*.qm ../helpers/rdi18n_helper.sh --uninstall rdlogmanager $(DESTDIR)$(prefix)/share/rivendell
all: all:
$(LUPDATE) rdlogmanager.pro ../helpers/rdi18n_helper.sh --update rdlogmanager $(DESTDIR)$(prefix)/share/rivendell
$(LRELEASE) rdlogmanager.pro
bin_PROGRAMS = rdlogmanager bin_PROGRAMS = rdlogmanager

View File

@@ -1,6 +1,6 @@
## Makefile.am ## Makefile.am
## ##
## (C) Copyright 2012-2020 Fred Gleason <fredg@paravelsystems.com> ## (C) Copyright 2012-2021 Fred Gleason <fredg@paravelsystems.com>
## ##
## This program is free software; you can redistribute it and/or modify ## This program is free software; you can redistribute it and/or modify
## it under the terms of the GNU General Public License version 2 as ## it under the terms of the GNU General Public License version 2 as
@@ -21,8 +21,6 @@
AM_CPPFLAGS = -Wall -DPREFIX=\"$(prefix)\" -Wno-strict-aliasing -std=c++11 -fPIC -I$(top_srcdir)/lib @QT5_CFLAGS@ @MUSICBRAINZ_CFLAGS@ AM_CPPFLAGS = -Wall -DPREFIX=\"$(prefix)\" -Wno-strict-aliasing -std=c++11 -fPIC -I$(top_srcdir)/lib @QT5_CFLAGS@ @MUSICBRAINZ_CFLAGS@
LIBS = -L$(top_srcdir)/lib LIBS = -L$(top_srcdir)/lib
MOC = @QT_MOC@ MOC = @QT_MOC@
LUPDATE = @QT_LUPDATE@
LRELEASE = @QT_LRELEASE@
# The dependency for qt's Meta Object Compiler (moc) # The dependency for qt's Meta Object Compiler (moc)
moc_%.cpp: %.h moc_%.cpp: %.h
@@ -30,15 +28,13 @@ moc_%.cpp: %.h
# I18N Stuff # I18N Stuff
install-exec-local: install-exec-local:
mkdir -p $(DESTDIR)$(prefix)/share/rivendell ../helpers/rdi18n_helper.sh --install rdmonitor $(DESTDIR)$(prefix)/share/rivendell
cp rdmonitor_*.qm $(DESTDIR)$(prefix)/share/rivendell
uninstall-local: uninstall-local:
rm -f $(DESTDIR)$(prefix)/share/rivendell/rdmonitor_*.qm ../helpers/rdi18n_helper.sh --uninstall rdmonitor $(DESTDIR)$(prefix)/share/rivendell
all: all:
$(LUPDATE) rdmonitor.pro ../helpers/rdi18n_helper.sh --update rdmonitor $(DESTDIR)$(prefix)/share/rivendell
$(LRELEASE) rdmonitor.pro
bin_PROGRAMS = rdmonitor bin_PROGRAMS = rdmonitor

View File

@@ -21,8 +21,6 @@
AM_CPPFLAGS = -Wall -DPREFIX=\"$(prefix)\" -Wno-strict-aliasing -std=c++11 -fPIC -I$(top_srcdir)/lib @QT5_CFLAGS@ @MUSICBRAINZ_CFLAGS@ AM_CPPFLAGS = -Wall -DPREFIX=\"$(prefix)\" -Wno-strict-aliasing -std=c++11 -fPIC -I$(top_srcdir)/lib @QT5_CFLAGS@ @MUSICBRAINZ_CFLAGS@
LIBS = -L$(top_srcdir)/lib LIBS = -L$(top_srcdir)/lib
MOC = @QT_MOC@ MOC = @QT_MOC@
LUPDATE = @QT_LUPDATE@
LRELEASE = @QT_LRELEASE@
# The dependency for qt's Meta Object Compiler (moc) # The dependency for qt's Meta Object Compiler (moc)
moc_%.cpp: %.h moc_%.cpp: %.h
@@ -30,15 +28,13 @@ moc_%.cpp: %.h
# I18N Stuff # I18N Stuff
install-exec-local: install-exec-local:
mkdir -p $(DESTDIR)$(prefix)/share/rivendell ../helpers/rdi18n_helper.sh --install rdpanel $(DESTDIR)$(prefix)/share/rivendell
cp rdpanel_*.qm $(DESTDIR)$(prefix)/share/rivendell
uninstall-local: uninstall-local:
rm -f $(DESTDIR)$(prefix)/share/rivendell/rdpanel_*.qm ../helpers/rdi18n_helper.sh --uninstall rdpanel $(DESTDIR)$(prefix)/share/rivendell
all: all:
$(LUPDATE) rdpanel.pro ../helpers/rdi18n_helper.sh --update rdpanel $(DESTDIR)$(prefix)/share/rivendell
$(LRELEASE) rdpanel.pro
bin_PROGRAMS = rdpanel bin_PROGRAMS = rdpanel

View File

@@ -21,8 +21,6 @@
AM_CPPFLAGS = -Wall -DPREFIX=\"$(prefix)\" -Wno-strict-aliasing -std=c++11 -fPIC -I$(top_srcdir)/lib @QT5_CFLAGS@ @MUSICBRAINZ_CFLAGS@ AM_CPPFLAGS = -Wall -DPREFIX=\"$(prefix)\" -Wno-strict-aliasing -std=c++11 -fPIC -I$(top_srcdir)/lib @QT5_CFLAGS@ @MUSICBRAINZ_CFLAGS@
LIBS = -L$(top_srcdir)/lib LIBS = -L$(top_srcdir)/lib
MOC = @QT_MOC@ MOC = @QT_MOC@
LUPDATE = @QT_LUPDATE@
LRELEASE = @QT_LRELEASE@
# The dependency for qt's Meta Object Compiler (moc) # The dependency for qt's Meta Object Compiler (moc)
moc_%.cpp: %.h moc_%.cpp: %.h
@@ -30,19 +28,17 @@ moc_%.cpp: %.h
# I18N Stuff # I18N Stuff
install-exec-hook: install-exec-hook:
mkdir -p $(DESTDIR)$(prefix)/share/rivendell ../helpers/rdi18n_helper.sh --install rdselect $(DESTDIR)$(prefix)/share/rivendell
cp rdselect_*.qm $(DESTDIR)$(prefix)/share/rivendell
mkdir -p $(DESTDIR)/etc/auto.master.d mkdir -p $(DESTDIR)/etc/auto.master.d
cp rd.audiostore.autofs $(DESTDIR)/etc/auto.master.d/ cp rd.audiostore.autofs $(DESTDIR)/etc/auto.master.d/
touch $(DESTDIR)/etc/auto.rd.audiostore touch $(DESTDIR)/etc/auto.rd.audiostore
uninstall-local: uninstall-local:
rm -f $(DESTDIR)$(prefix)/share/rivendell/rdselect_*.qm ../helpers/rdi18n_helper.sh --uninstall rdselect $(DESTDIR)$(prefix)/share/rivendell
rm -f $(DESTDIR)/etc/auto.master.d/rd.audiostore.autofs rm -f $(DESTDIR)/etc/auto.master.d/rd.audiostore.autofs
all: all:
$(LUPDATE) rdselect.pro ../helpers/rdi18n_helper.sh --update rdselect $(DESTDIR)$(prefix)/share/rivendell
$(LRELEASE) rdselect.pro
bin_PROGRAMS = rdselect bin_PROGRAMS = rdselect

View File

@@ -2,7 +2,7 @@
# #
# The top level QMake project file for Rivendell # The top level QMake project file for Rivendell
# #
# (C) Copyright 2003-2004,2016 Fred Gleason <fredg@paravelsystems.com> # (C) Copyright 2003-2021 Fred Gleason <fredg@paravelsystems.com>
# #
# This program is free software; you can redistribute it and/or modify # This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License version 2 as # it under the terms of the GNU General Public License version 2 as
@@ -21,7 +21,6 @@ TEMPLATE = subdirs
SUBDIRS += lib SUBDIRS += lib
SUBDIRS += utils SUBDIRS += utils
#SUBDIRS += ripcd
SUBDIRS += rdlogedit SUBDIRS += rdlogedit
SUBDIRS += rdlogmanager SUBDIRS += rdlogmanager

View File

@@ -20,8 +20,6 @@
AM_CPPFLAGS = -Wall -DPREFIX=\"$(prefix)\" -Wno-strict-aliasing -std=c++11 -fPIC -I$(top_srcdir)/lib @QT5_CFLAGS@ @MUSICBRAINZ_CFLAGS@ AM_CPPFLAGS = -Wall -DPREFIX=\"$(prefix)\" -Wno-strict-aliasing -std=c++11 -fPIC -I$(top_srcdir)/lib @QT5_CFLAGS@ @MUSICBRAINZ_CFLAGS@
LIBS = -L$(top_srcdir)/lib LIBS = -L$(top_srcdir)/lib
MOC = @QT_MOC@ MOC = @QT_MOC@
LUPDATE = @QT_LUPDATE@
LRELEASE = @QT_LRELEASE@
# The dependency for qt's Meta Object Compiler (moc) # The dependency for qt's Meta Object Compiler (moc)
moc_%.cpp: %.h moc_%.cpp: %.h
@@ -29,15 +27,13 @@ moc_%.cpp: %.h
# I18N Stuff # I18N Stuff
install-exec-local: install-exec-local:
mkdir -p $(DESTDIR)$(prefix)/share/rivendell ../../helpers/rdi18n_helper.sh --install rdgpimon $(DESTDIR)$(prefix)/share/rivendell
cp rdgpimon_*.qm $(DESTDIR)$(prefix)/share/rivendell
uninstall-local: uninstall-local:
rm -f $(DESTDIR)$(prefix)/share/rivendell/rdgpimon_*.qm ../../helpers/rdi18n_helper.sh --uninstall rdgpimon $(DESTDIR)$(prefix)/share/rivendell
all: all:
$(LUPDATE) rdgpimon.pro ../../helpers/rdi18n_helper.sh --update rdgpimon $(DESTDIR)$(prefix)/share/rivendell
$(LRELEASE) rdgpimon.pro
bin_PROGRAMS = rdgpimon bin_PROGRAMS = rdgpimon

View File

@@ -20,8 +20,6 @@
AM_CPPFLAGS = -Wall -DPREFIX=\"$(prefix)\" -Wno-strict-aliasing -std=c++11 -fPIC -I$(top_srcdir)/lib @QT5_CFLAGS@ @MUSICBRAINZ_CFLAGS@ AM_CPPFLAGS = -Wall -DPREFIX=\"$(prefix)\" -Wno-strict-aliasing -std=c++11 -fPIC -I$(top_srcdir)/lib @QT5_CFLAGS@ @MUSICBRAINZ_CFLAGS@
LIBS = -L$(top_srcdir)/lib LIBS = -L$(top_srcdir)/lib
MOC = @QT_MOC@ MOC = @QT_MOC@
LUPDATE = @QT_LUPDATE@
LRELEASE = @QT_LRELEASE@
# The dependency for qt's Meta Object Compiler (moc) # The dependency for qt's Meta Object Compiler (moc)
moc_%.cpp: %.h moc_%.cpp: %.h
@@ -29,15 +27,13 @@ moc_%.cpp: %.h
# I18N Stuff # I18N Stuff
install-exec-local: install-exec-local:
mkdir -p $(DESTDIR)$(prefix)/share/rivendell ../../helpers/rdi18n_helper.sh --install rmlsend $(DESTDIR)$(prefix)/share/rivendell
cp rmlsend_*.qm $(DESTDIR)$(prefix)/share/rivendell
uninstall-local: uninstall-local:
rm -f $(DESTDIR)$(prefix)/share/rivendell/rmlsend_*.qm ../../helpers/rdi18n_helper.sh --uninstall rmlsend $(DESTDIR)$(prefix)/share/rivendell
all: all:
$(LUPDATE) rmlsend.pro ../../helpers/rdi18n_helper.sh --update rmlsend $(DESTDIR)$(prefix)/share/rivendell
$(LRELEASE) rmlsend.pro
bin_PROGRAMS = rmlsend bin_PROGRAMS = rmlsend