Finish integrating Antonis's desktop_approots work

In addition:

- moved video type detection into a separate file: videoTypes.dt out
  of datatypes.dt.  Also, removed all actions from Antonis' dt files,
  as these are handled by the new actions (listed below).

  Image, postscript, and PDF types definitions are still located in
  datatypes.dt.src

- supports most image files, PDFs, postscript files, and video files
  via dtapp now.

- Added new actions:

  - DisplayImage
  - DisplayVideo
  - DisplayPDF
  - DisplayPS

  All of these call the dtapp_* helpers to locate an appropriate
  program to handle the task.

- Added a camera icon

- standardized the icons used to display the various types - all
  images use the Dtimage icon now, as an example.

- moved the new *.dt files to their proper place in programs/types,
  rather than programs/localized/C/types (my bad).

Please add any further video types into videoTypes.dt, and everything
else (for now) into datatypes.dt.

In the future, we should probably separate these out into
type-specific .dt files.  Also, something should be done about playing
audio files too (maybe DisplayVideo.dt can handle all those too?)
This commit is contained in:
Jon Trulson
2018-07-19 18:39:56 -06:00
parent 2b41b84c33
commit 2f6f1d2afb
81 changed files with 1302 additions and 576 deletions

View File

@@ -2310,7 +2310,35 @@ programs/localized/C/types/xpdf.dt
install_target = /usr/dt/appconfig/types/C/xpdf.dt
}
#
programs/localized/C/types/DisplayImage.dt
{ default
install_target = /usr/dt/appconfig/types/C/DisplayImage.dt
}
#
programs/localized/C/types/DisplayPDF.dt
{ default
install_target = /usr/dt/appconfig/types/C/DisplayPDF.dt
}
#
programs/localized/C/types/DisplayVideo.dt
{ default
install_target = /usr/dt/appconfig/types/C/DisplayVideo.dt
}
#
programs/localized/C/types/DisplayPS.dt
{ default
install_target = /usr/dt/appconfig/types/C/DisplayPS.dt
}
#
programs/localized/C/types/videoTypes.dt
{ default
install_target = /usr/dt/appconfig/types/C/videoTypes.dt
}
#
@@ -2602,11 +2630,6 @@ programs/dtapp/dtapp
type = sym_link
}
./dtapp
{ default
install_target = /usr/dt/bin/dtapp_vweb
type = sym_link
}
./dtapp
{ default
install_target = /usr/dt/bin/dtapp_vpdf
type = sym_link