Split the CallView in "CallView" and "VideoView" plugins.

Authored by lepagevalleeemmanuel on Jan 19 2019, 7:32 AM.

Description

Split the CallView in "CallView" and "VideoView" plugins.

(this allows for audio only clients)

The script to split was:

function createqmlplugin() {
  DIRNAME=$(echo "$1" | awk '{print tolower($0)}')
  MODURI="org.ringkde.${DIRNAME}"
  MACRO=$(echo "$1" | awk '{print toupper($0)}')

  echo DIR ../src/$DIRNAME

  cp -a $PLUGIN_TEMPLATE ../src/$DIRNAME
  git add ../src/$DIRNAME
  git ls-files ../src/$DIRNAME | xargs sed -e ':loop' -e "s/Wizard/$1/" -e 't loop' -i
  git ls-files ../src/$DIRNAME | xargs sed -e ':loop' -e "s/WIZARD/$MACRO/" -e 't loop' -i
  git ls-files ../src/$DIRNAME | xargs sed -e ':loop' -e "s/wizard/$DIRNAME/" -e 't loop' -i
  git ls-files ../src/$DIRNAME | xargs sed -e ':loop' -e "s/JamiJami/Jami/" -e 't loop' -i
  git ls-files ../src/$DIRNAME | xargs sed -e ':loop' -e "s/jamijami/jami/" -e 't loop' -i

  git mv ../src/$DIRNAME/cmake/JamiWizardConfig.cmake.in ../src/$DIRNAME/cmake/$1Config.cmake.in
}

Using the wizard as $PLUGIN_TEMPLATE

Details

Committed
lepagevalleeemmanuelJan 19 2019, 7:33 AM
Parents
R479:bd7befe159c3: Use explicit URIs for the CallView/DialView/CanvasIndicator
Branches
Unknown
Tags
Unknown