Skip to content

Commit

Permalink
Drop old gallery.
Browse files Browse the repository at this point in the history
The old gallery has been deprecated for a long while now
and it's replacement has been in core MythTV for several years.

The old gallery uses legacy OpenGL version 1 code for it's effects,
which no longer builds on all platforms.
  • Loading branch information
stuarta committed Sep 24, 2019
1 parent 077761a commit fce4029
Show file tree
Hide file tree
Showing 106 changed files with 0 additions and 33,659 deletions.
105 changes: 0 additions & 105 deletions mythplugins/configure
Expand Up @@ -272,7 +272,6 @@ check_lib_cxx(){
PLUGIN_LIST="
archive
browser
gallery
game
music
netvision
Expand All @@ -284,7 +283,6 @@ zmserver

DEPRECATED_PLUGIN_LIST="
flix
gallery
"

CONFIG_LIST="
Expand Down Expand Up @@ -345,14 +343,6 @@ MythArchive related options:
MythBrowser related options:
--enable-mythbrowser build the mythbrowser plugin [$browser]
MythGallery related options:
--enable-mythgallery build the mythgallery plugin [$gallery]
--enable-exif enable reading of EXIF headers [$exif]
--enable-new-exif use libexif > version 0.6.9 [$newexif]
--enable-dcraw use dcraw to view raw photos [$dcraw]
--icc-profile=PROFILE ICC profile for dcraw decoding [$icc]
--enable-opengl enable OpenGL (MythGallery) [$opengl]
MythGame related options:
--enable-mythgame build the mythgame plugin [$game]
Expand Down Expand Up @@ -632,11 +622,6 @@ if enabled opengl && test "$OPENGLV" != "CONFIG_OPENGL_VIDEO=yes"; then
disable opengl
fi

# OpenGL is only used for mythgallery and must not be OpenGL ES!
if enabled opengl && test "$OPENGLES" = "HAVE_GLES2_GL2_H=yes"; then
disable opengl
fi

#Test if fftw_lib3 is available
if enabled fftw &&! check_lib2 fftw3.h fftw_init_threads -lfftw3_threads -lfftw3f -lfftw3 ; then
disable fftw
Expand Down Expand Up @@ -804,13 +789,6 @@ else
echo " MythBrowser plugin will not be built"
fi

if enabled gallery ; then
echo " MythGallery plugin will be built"
echo "SUBDIRS += mythgallery" >> ./config.pro
else
echo " MythGallery plugin will not be built"
fi

if enabled game ; then
echo " MythGame plugin will be built"
echo "SUBDIRS += mythgame" >> ./config.pro
Expand Down Expand Up @@ -864,89 +842,6 @@ else
echo " MythZoneMinder plugin will not be built"
fi

###########################################################
# #
# MythGallery related configuration options #
# #
###########################################################

if enabled gallery ; then

echo "/*" > ./mythgallery/mythgallery/config.h
echo " Automatically generated by configure - do not modify" >> ./mythgallery/mythgallery/config.h
echo "*/" >> ./mythgallery/mythgallery/config.h

echo "#" > ./mythgallery/config.pro
echo "# Automatically generated by configure - modify only under penalty of death" >> ./mythgallery/config.pro
echo "#" >> ./mythgallery/config.pro

echo "#" > ./mythgallery/mythgallery/config.pro
echo "# Automatically generated by configure - modify only under penalty of death" >> ./mythgallery/mythgallery/config.pro
echo "#" >> ./mythgallery/mythgallery/config.pro

if enabled opengl ; then
echo " OpenGL support will be included in MythGallery"
echo "#define OPENGL_SUPPORT 1" >> ./mythgallery/mythgallery/config.h
echo "CONFIG += opengl" >> ./mythgallery/mythgallery/config.pro
echo "HEADERS += glsingleview.h" >> ./mythgallery/mythgallery/config.pro
echo "SOURCES += glsingleview.cpp" >> ./mythgallery/mythgallery/config.pro
else
echo " OpenGL support will not be included in MythGallery"
fi

if enabled exif ; then
echo " EXIF support will be included in MythGallery"
echo "#define EXIF_SUPPORT 1" >> ./mythgallery/mythgallery/config.h
echo "LIBS += -lexif" >> ./mythgallery/mythgallery/config.pro

if test x`which pkg-config 2>/dev/null` != x"" ; then
if `pkg-config --atleast-version 0.6.9 libexif` ; then
echo "#define NEW_LIB_EXIF 1" >> \
./mythgallery/mythgallery/config.h
fi
else
if test x"$newexif" = x"yes" ; then
echo "#define NEW_LIB_EXIF 1" >> \
./mythgallery/mythgallery/config.h
else
echo
echo "Could not determine libexif version, if it is greater"
echo "than or equal to 0.6.9 you need to add"
echo "--enable-new-exif to the configure flags"
echo
fi
fi
else
echo " EXIF support will not be included in MythGallery"
fi

if enabled dcraw ; then
echo " Dcraw support will be included in MythGallery"
echo "SUBDIRS += dcrawplugin" >> ./mythgallery/config.pro
echo "#define DCRAW_SUPPORT 1" >> ./mythgallery/mythgallery/config.h
echo "LIBS += -L../dcrawplugin -ldcrawplugin" >> ./mythgallery/mythgallery/config.pro
echo "TARGETDEPS += ../dcrawplugin/libdcrawplugin.a" >> ./mythgallery/mythgallery/config.pro

echo "/*" > ./mythgallery/dcrawplugin/config.h
echo " Automatically generated by configure - do not modify" >> ./mythgallery/dcrawplugin/config.h
echo "*/" >> ./mythgallery/dcrawplugin/config.h

if enabled exif ; then
echo "#define EXIF_SUPPORT 1" >> ./mythgallery/dcrawplugin/config.h

fi

if test x"$icc" != x ; then
echo " ICC profile $icc"
# Quote C escape characters.
quoted_icc=`echo "$icc" | sed 's/\\([\\\\"?]\\)/\\\\\\1/g;\$!{s/\$/\\\\/}'`
echo "#define ICC_PROFILE \"$quoted_icc\"" >> ./mythgallery/dcrawplugin/config.h
fi
else
echo " Dcraw support will not be included in MythGallery"
fi
fi

###########################################################
# #
# MythGame related configuration options #
Expand Down
3 changes: 0 additions & 3 deletions mythplugins/mythgallery/AUTHORS

This file was deleted.

3 changes: 0 additions & 3 deletions mythplugins/mythgallery/COPYING

This file was deleted.

122 changes: 0 additions & 122 deletions mythplugins/mythgallery/README

This file was deleted.

1 change: 0 additions & 1 deletion mythplugins/mythgallery/dcrawplugin/.gitignore

This file was deleted.

52 changes: 0 additions & 52 deletions mythplugins/mythgallery/dcrawplugin/dcrawformats.cpp

This file was deleted.

15 changes: 0 additions & 15 deletions mythplugins/mythgallery/dcrawplugin/dcrawformats.h

This file was deleted.

0 comments on commit fce4029

Please sign in to comment.