Ticket #13542: mythtv-template-modernization.patch

File mythtv-template-modernization.patch, 10.5 KB (added by Gary Buhrmaster, 4 years ago)

qmake .pro file modernization

  • deleted file mythplugins/mytharchive/i18n/dummy.c

    diff --git a/mythplugins/mytharchive/i18n/dummy.c b/mythplugins/mytharchive/i18n/dummy.c
    deleted file mode 100644
    index 58fe69254d..0000000000
    + -  
    1 int main(void)
    2 {
    3     return 0;
    4 }
  • mythplugins/mytharchive/i18n/i18n.pro

    diff --git a/mythplugins/mytharchive/i18n/i18n.pro b/mythplugins/mytharchive/i18n/i18n.pro
    index b6f2449c95..1cf2b04e45 100644
    a b  
    11include ( ../../mythconfig.mak )
    22include ( ../../settings.pro )
    33
    4 TEMPLATE = app
    5 CONFIG -= moc qt
     4TEMPLATE = aux
    65
    76trans.path = $${PREFIX}/share/mythtv/i18n/
    87trans.files += mytharchive_de.qm mytharchive_sl.qm mytharchive_fr.qm
    trans.files += mytharchive_zh_hk.qm 
    1615trans.files += mytharchive_it.qm
    1716
    1817INSTALLS += trans
    19 
    20 SOURCES += dummy.c
  • deleted file mythplugins/mythbrowser/i18n/dummy.c

    diff --git a/mythplugins/mythbrowser/i18n/dummy.c b/mythplugins/mythbrowser/i18n/dummy.c
    deleted file mode 100644
    index 58fe69254d..0000000000
    + -  
    1 int main(void)
    2 {
    3     return 0;
    4 }
  • mythplugins/mythbrowser/i18n/i18n.pro

    diff --git a/mythplugins/mythbrowser/i18n/i18n.pro b/mythplugins/mythbrowser/i18n/i18n.pro
    index ab741a3b74..4e7841206e 100644
    a b  
    11include ( ../../mythconfig.mak )
    22include ( ../../settings.pro )
    33
    4 TEMPLATE = app
    5 CONFIG -= moc qt
     4TEMPLATE = aux
    65
    76trans.path = $${PREFIX}/share/mythtv/i18n/
    87trans.files += mythbrowser_de.qm mythbrowser_sl.qm mythbrowser_fr.qm
    trans.files += mythbrowser_it.qm 
    1716trans.files += mythbrowser_zh_hk.qm
    1817
    1918INSTALLS += trans
    20 
    21 SOURCES += dummy.c
  • deleted file mythplugins/mythgame/i18n/dummy.c

    diff --git a/mythplugins/mythgame/i18n/dummy.c b/mythplugins/mythgame/i18n/dummy.c
    deleted file mode 100644
    index 58fe69254d..0000000000
    + -  
    1 int main(void)
    2 {
    3     return 0;
    4 }
  • mythplugins/mythgame/i18n/i18n.pro

    diff --git a/mythplugins/mythgame/i18n/i18n.pro b/mythplugins/mythgame/i18n/i18n.pro
    index c948c5c782..5e80e952a8 100644
    a b  
    11include ( ../../mythconfig.mak )
    22include ( ../../settings.pro )
    33
    4 TEMPLATE = app
    5 CONFIG -= moc qt
     4TEMPLATE = aux
    65
    76trans.path = $${PREFIX}/share/mythtv/i18n/
    87trans.files  = mythgame_it.qm mythgame_es.qm mythgame_ca.qm
    trans.files += mythgame_cs.qm mythgame_pl.qm mythgame_en_ca.qm 
    1514trans.files += mythgame_pt_br.qm mythgame_es_es.qm
    1615
    1716INSTALLS += trans
    18 
    19 SOURCES += dummy.c
    20 
  • deleted file mythplugins/mythmusic/i18n/dummy.c

    diff --git a/mythplugins/mythmusic/i18n/dummy.c b/mythplugins/mythmusic/i18n/dummy.c
    deleted file mode 100644
    index 58fe69254d..0000000000
    + -  
    1 int main(void)
    2 {
    3     return 0;
    4 }
  • mythplugins/mythmusic/i18n/i18n.pro

    diff --git a/mythplugins/mythmusic/i18n/i18n.pro b/mythplugins/mythmusic/i18n/i18n.pro
    index ace7849f7b..4acba56872 100644
    a b  
    11include ( ../../mythconfig.mak )
    22include ( ../../settings.pro )
    33
    4 TEMPLATE = app
    5 CONFIG -= moc qt
     4TEMPLATE = aux
    65
    76trans.path = $${PREFIX}/share/mythtv/i18n/
    87trans.files  = mythmusic_it.qm mythmusic_es.qm mythmusic_ca.qm
    trans.files += mythmusic_en_us.qm mythmusic_ru.qm mythmusic_el.qm 
    1514trans.files += mythmusic_en_ca.qm mythmusic_pt_br.qm mythmusic_es_es.qm
    1615
    1716INSTALLS += trans
    18 
    19 SOURCES += dummy.c
  • deleted file mythplugins/mythnetvision/i18n/dummy.c

    diff --git a/mythplugins/mythnetvision/i18n/dummy.c b/mythplugins/mythnetvision/i18n/dummy.c
    deleted file mode 100644
    index 58fe69254d..0000000000
    + -  
    1 int main(void)
    2 {
    3     return 0;
    4 }
  • mythplugins/mythnetvision/i18n/i18n.pro

    diff --git a/mythplugins/mythnetvision/i18n/i18n.pro b/mythplugins/mythnetvision/i18n/i18n.pro
    index 622fda9ee8..4e809e41d8 100644
    a b  
    11include ( ../../mythconfig.mak )
    22include ( ../../settings.pro )
    33
    4 TEMPLATE = app
    5 CONFIG -= moc qt
     4TEMPLATE = aux
    65
    76trans.path = $${PREFIX}/share/mythtv/i18n/
    87trans.files += mythnetvision_da.qm mythnetvision_fr.qm mythnetvision_en_gb.qm
    trans.files += mythnetvision_es_es.qm 
    1514trans.files += mythnetvision_it.qm
    1615
    1716INSTALLS += trans
    18 
    19 SOURCES += dummy.c
  • deleted file mythplugins/mythnews/i18n/dummy.c

    diff --git a/mythplugins/mythnews/i18n/dummy.c b/mythplugins/mythnews/i18n/dummy.c
    deleted file mode 100644
    index 58fe69254d..0000000000
    + -  
    1 int main(void)
    2 {
    3     return 0;
    4 }
  • mythplugins/mythnews/i18n/i18n.pro

    diff --git a/mythplugins/mythnews/i18n/i18n.pro b/mythplugins/mythnews/i18n/i18n.pro
    index c19fe3c9dd..1045b14311 100644
    a b  
    11include ( ../../mythconfig.mak )
    22include ( ../../settings.pro )
    33
    4 TEMPLATE = app
    5 CONFIG -= moc qt
     4TEMPLATE = aux
    65
    76trans.path = $${PREFIX}/share/mythtv/i18n/
    87trans.files  = mythnews_it.qm mythnews_es.qm mythnews_ca.qm
    trans.files += mythnews_en_ca.qm mythnews_es_es.qm 
    1615trans.files += mythnews_bg.qm
    1716
    1817INSTALLS += trans
    19 
    20 SOURCES += dummy.c
  • deleted file mythplugins/mythweather/i18n/dummy.c

    diff --git a/mythplugins/mythweather/i18n/dummy.c b/mythplugins/mythweather/i18n/dummy.c
    deleted file mode 100644
    index 58fe69254d..0000000000
    + -  
    1 int main(void)
    2 {
    3     return 0;
    4 }
  • mythplugins/mythweather/i18n/i18n.pro

    diff --git a/mythplugins/mythweather/i18n/i18n.pro b/mythplugins/mythweather/i18n/i18n.pro
    index e70f5d6b20..cba2059c7f 100644
    a b  
    11include ( ../../mythconfig.mak )
    22include ( ../../settings.pro )
    33
    4 TEMPLATE = app
    5 CONFIG -= moc qt
     4TEMPLATE = aux
    65
    76trans.path   = $${PREFIX}/share/mythtv/i18n/
    87trans.files  = mythweather_es.qm mythweather_ca.qm mythweather_nl.qm
    trans.files += mythweather_nb.qm mythweather_el.qm mythweather_pl.qm 
    1514trans.files += mythweather_en_ca.qm mythweather_es_es.qm
    1615
    1716INSTALLS += trans
    18 
    19 SOURCES += dummy.c
  • deleted file mythplugins/mythzoneminder/i18n/dummy.c

    diff --git a/mythplugins/mythzoneminder/i18n/dummy.c b/mythplugins/mythzoneminder/i18n/dummy.c
    deleted file mode 100644
    index 58fe69254d..0000000000
    + -  
    1 int main(void)
    2 {
    3     return 0;
    4 }
  • mythplugins/mythzoneminder/i18n/i18n.pro

    diff --git a/mythplugins/mythzoneminder/i18n/i18n.pro b/mythplugins/mythzoneminder/i18n/i18n.pro
    index ee0d93103f..69b32b03e9 100644
    a b  
    11include ( ../../mythconfig.mak )
    22include ( ../../settings.pro )
    33
    4 TEMPLATE = app
    5 CONFIG -= moc qt
     4TEMPLATE = aux
    65
    76trans.path = $${PREFIX}/share/mythtv/i18n/
    87trans.files += mythzoneminder_sv.qm mythzoneminder_da.qm mythzoneminder_en_gb.qm
    trans.files += mythzoneminder_bg.qm 
    1615trans.files += mythzoneminder_it.qm
    1716
    1817INSTALLS += trans
    19 
    20 SOURCES += dummy.c
  • deleted file mythtv/html/dummy.c

    diff --git a/mythtv/html/dummy.c b/mythtv/html/dummy.c
    deleted file mode 100644
    index c8a91a6214..0000000000
    + -  
    1 int main(int argc, char *argv[])
    2 {
    3     (void) argc;
    4     (void) argv;
    5     return 0;
    6 }
  • mythtv/html/html.pro

    diff --git a/mythtv/html/html.pro b/mythtv/html/html.pro
    index 3bf8b78915..ad68b99f6b 100644
    a b  
    11include ( ../settings.pro )
    22
    3 QMAKE_STRIP = echo
    4 
    5 TEMPLATE = app
    6 CONFIG -= moc qt
     3TEMPLATE = aux
    74
    85html.path = $${PREFIX}/share/mythtv/html/
    96html.files = frontend_index.qsp backend_index.qsp overview.html menu.qsp robots.txt
    html.files += css images js misc setup samples tv 
    118html.files += 3rdParty xslt video debug
    129
    1310INSTALLS += html
    14 
    15 # Input
    16 SOURCES += dummy.c
    17 
    18 OTHER_FILES += \
    19     video/gallery.qsp
  • deleted file mythtv/i18n/dummy.c

    diff --git a/mythtv/i18n/dummy.c b/mythtv/i18n/dummy.c
    deleted file mode 100644
    index 58fe69254d..0000000000
    + -  
    1 int main(void)
    2 {
    3     return 0;
    4 }
  • mythtv/i18n/i18n.pro

    diff --git a/mythtv/i18n/i18n.pro b/mythtv/i18n/i18n.pro
    index 24439c99ca..deb694ccdb 100644
    a b  
    11include ( ../settings.pro )
    22
    3 TEMPLATE = app
    4 CONFIG -= moc qt
     3TEMPLATE = aux
    54
    65trans.path = $${PREFIX}/share/mythtv/i18n/
    76trans.files  = mythfrontend_bg.qm
    trans.files += mythfrontend_zh_cn.qm 
    3736trans.files += mythfrontend_zh_hk.qm
    3837
    3938INSTALLS += trans
    40 
    41 SOURCES += dummy.c
  • deleted file mythtv/locales/dummy.c

    diff --git a/mythtv/locales/dummy.c b/mythtv/locales/dummy.c
    deleted file mode 100644
    index 58fe69254d..0000000000
    + -  
    1 int main(void)
    2 {
    3     return 0;
    4 }
  • mythtv/locales/locales.pro

    diff --git a/mythtv/locales/locales.pro b/mythtv/locales/locales.pro
    index 693f3fc0d2..014ff6b1c6 100644
    a b  
    11include ( ../settings.pro )
    22
    3 QMAKE_STRIP = echo
    4 
    5 TEMPLATE = app
    6 CONFIG -= moc qt
     3TEMPLATE = aux
    74
    85locales.path = $${PREFIX}/share/mythtv/locales/
    96locales.files = *.xml
    107
    118INSTALLS += locales
    12 
    13 # Input
    14 SOURCES += dummy.c
  • deleted file mythtv/programs/scripts/dummy.c

    diff --git a/mythtv/programs/scripts/dummy.c b/mythtv/programs/scripts/dummy.c
    deleted file mode 100644
    index 58fe69254d..0000000000
    + -  
    1 int main(void)
    2 {
    3     return 0;
    4 }
  • mythtv/programs/scripts/scripts.pro

    diff --git a/mythtv/programs/scripts/scripts.pro b/mythtv/programs/scripts/scripts.pro
    index 94e74fe817..3676d8b997 100644
    a b  
    11include ( ../../settings.pro )
    22
    3 QMAKE_STRIP = echo
    4 
    5 TEMPLATE = app
    6 CONFIG -= moc qt
     3TEMPLATE = aux
    74
    85installscripts.path = $${PREFIX}/share/mythtv
    96installscripts.files = database/*
    installinternetscripts.path = $${PREFIX}/share/mythtv 
    129installinternetscripts.files = internetcontent metadata hardwareprofile
    1310
    1411INSTALLS += installscripts installinternetscripts
    15 
    16 SOURCES += dummy.c
  • deleted file mythtv/themes/dummy.c

    diff --git a/mythtv/themes/dummy.c b/mythtv/themes/dummy.c
    deleted file mode 100644
    index 58fe69254d..0000000000
    + -  
    1 int main(void)
    2 {
    3     return 0;
    4 }
  • mythtv/themes/themes.pro

    diff --git a/mythtv/themes/themes.pro b/mythtv/themes/themes.pro
    index f3127a827c..c4654e5f74 100644
    a b  
    11include ( ../settings.pro )
    22
    3 QMAKE_STRIP = echo
    4 
    5 TEMPLATE = app
    6 CONFIG -= moc qt
     3TEMPLATE = aux
    74
    85themes.path = $${PREFIX}/share/mythtv/themes/
    96themes.files = default default-wide classic DVR Slave
    fonts.path = $${PREFIX}/share/mythtv/ 
    1512fonts.files = fonts
    1613
    1714INSTALLS += themes fonts
    18 
    19 # Input
    20 SOURCES += dummy.c