1
0
Fork 0
mirror of git://git.code.sf.net/p/cdesktopenv/code synced 2025-02-15 04:32:24 +00:00

appmanager action files: create and populate them

The appmanager action files (/usr/dt/appconfig/appmanager/*) are now
created properly for the main 4 languages supported.  As usual, the
en_US.UTF-8 locale is a symlink to C.

These files were previously created via the UDB database files via
imake.  Obviously we aren't going to be using those in autotools.

So, each language now has an appmanager/ dir in
programs/localized/$LANG/ that will create them properly on a make and
make install.  It uses a new appmgr.am template in localized/templates
to do this.

This also means all of these languages now can use the new actions
added by Antonis, even though they are not translated, they are at
least usable in those languages now.
This commit is contained in:
Jon Trulson 2020-03-24 14:53:07 -06:00
parent 316ab9c9db
commit 255b399760
68 changed files with 478 additions and 23 deletions

View file

@ -619,6 +619,7 @@ programs/localized/C/backdrops/Makefile
programs/localized/C/types/Makefile
programs/localized/C/palettes/Makefile
programs/localized/C/msg/Makefile
programs/localized/C/appmanager/Makefile
programs/localized/de_DE.UTF-8/Makefile
programs/localized/de_DE.UTF-8/app-defaults/Makefile
programs/localized/de_DE.UTF-8/config/Makefile
@ -626,6 +627,7 @@ programs/localized/de_DE.UTF-8/backdrops/Makefile
programs/localized/de_DE.UTF-8/types/Makefile
programs/localized/de_DE.UTF-8/palettes/Makefile
programs/localized/de_DE.UTF-8/msg/Makefile
programs/localized/de_DE.UTF-8/appmanager/Makefile
programs/localized/fr_FR.UTF-8/Makefile
programs/localized/fr_FR.UTF-8/app-defaults/Makefile
programs/localized/fr_FR.UTF-8/config/Makefile
@ -633,6 +635,7 @@ programs/localized/fr_FR.UTF-8/backdrops/Makefile
programs/localized/fr_FR.UTF-8/types/Makefile
programs/localized/fr_FR.UTF-8/palettes/Makefile
programs/localized/fr_FR.UTF-8/msg/Makefile
programs/localized/fr_FR.UTF-8/appmanager/Makefile
programs/localized/it_IT.UTF-8/Makefile
programs/localized/it_IT.UTF-8/app-defaults/Makefile
programs/localized/it_IT.UTF-8/config/Makefile
@ -640,6 +643,7 @@ programs/localized/it_IT.UTF-8/backdrops/Makefile
programs/localized/it_IT.UTF-8/types/Makefile
programs/localized/it_IT.UTF-8/palettes/Makefile
programs/localized/it_IT.UTF-8/msg/Makefile
programs/localized/it_IT.UTF-8/appmanager/Makefile
programs/localized/es_ES.UTF-8/Makefile
programs/localized/es_ES.UTF-8/app-defaults/Makefile
programs/localized/es_ES.UTF-8/config/Makefile
@ -647,6 +651,7 @@ programs/localized/es_ES.UTF-8/backdrops/Makefile
programs/localized/es_ES.UTF-8/types/Makefile
programs/localized/es_ES.UTF-8/palettes/Makefile
programs/localized/es_ES.UTF-8/msg/Makefile
programs/localized/es_ES.UTF-8/appmanager/Makefile
])

View file

@ -1 +1 @@
SUBDIRS = app-defaults config types msg palettes backdrops
SUBDIRS = app-defaults config types msg palettes backdrops appmanager

View file

@ -0,0 +1,6 @@
# This directory intentionally left blank
#
# Ignore everything in this directory
*
# Except this file
!.gitignore

View file

@ -0,0 +1,6 @@
# This directory intentionally left blank
#
# Ignore everything in this directory
*
# Except this file
!.gitignore

View file

@ -0,0 +1,6 @@
# This directory intentionally left blank
#
# Ignore everything in this directory
*
# Except this file
!.gitignore

View file

@ -0,0 +1,6 @@
# This directory intentionally left blank
#
# Ignore everything in this directory
*
# Except this file
!.gitignore

View file

@ -0,0 +1,6 @@
# This directory intentionally left blank
#
# Ignore everything in this directory
*
# Except this file
!.gitignore

View file

@ -0,0 +1,6 @@
# This directory intentionally left blank
#
# Ignore everything in this directory
*
# Except this file
!.gitignore

View file

@ -0,0 +1,6 @@
# This directory intentionally left blank
#
# Ignore everything in this directory
*
# Except this file
!.gitignore

View file

@ -0,0 +1,9 @@
MAINTAINERCLEANFILES = Makefile.in
include ../../templates/C.am
include ../../templates/appmgr.am
# Setup a symlink from C -> en_US.UTF-8
install-data-hook:
$(RM) $(DESTDIR)$(CDE_INSTALLATION_TOP)/appconfig/appmanager/en_US.UTF-8
cd $(DESTDIR)$(CDE_INSTALLATION_TOP)/appconfig/appmanager/ && $(LN_S) C en_US.UTF-8

View file

@ -0,0 +1,6 @@
# This directory intentionally left blank
#
# Ignore everything in this directory
*
# Except this file
!.gitignore

View file

@ -0,0 +1,6 @@
# This directory intentionally left blank
#
# Ignore everything in this directory
*
# Except this file
!.gitignore

View file

@ -0,0 +1,6 @@
# This directory intentionally left blank
#
# Ignore everything in this directory
*
# Except this file
!.gitignore

View file

@ -0,0 +1,6 @@
# This directory intentionally left blank
#
# Ignore everything in this directory
*
# Except this file
!.gitignore

View file

@ -1 +1 @@
SUBDIRS = msg app-defaults config types palettes backdrops
SUBDIRS = msg app-defaults config types palettes backdrops appmanager

View file

@ -0,0 +1,6 @@
# This directory intentionally left blank
#
# Ignore everything in this directory
*
# Except this file
!.gitignore

View file

@ -0,0 +1,6 @@
# This directory intentionally left blank
#
# Ignore everything in this directory
*
# Except this file
!.gitignore

View file

@ -0,0 +1,6 @@
# This directory intentionally left blank
#
# Ignore everything in this directory
*
# Except this file
!.gitignore

View file

@ -0,0 +1,6 @@
# This directory intentionally left blank
#
# Ignore everything in this directory
*
# Except this file
!.gitignore

View file

@ -0,0 +1,6 @@
# This directory intentionally left blank
#
# Ignore everything in this directory
*
# Except this file
!.gitignore

View file

@ -0,0 +1,6 @@
# This directory intentionally left blank
#
# Ignore everything in this directory
*
# Except this file
!.gitignore

View file

@ -0,0 +1,6 @@
# This directory intentionally left blank
#
# Ignore everything in this directory
*
# Except this file
!.gitignore

View file

@ -0,0 +1,4 @@
MAINTAINERCLEANFILES = Makefile.in
include ../../templates/German.am
include ../../templates/appmgr.am

View file

@ -0,0 +1,6 @@
# This directory intentionally left blank
#
# Ignore everything in this directory
*
# Except this file
!.gitignore

View file

@ -0,0 +1,6 @@
# This directory intentionally left blank
#
# Ignore everything in this directory
*
# Except this file
!.gitignore

View file

@ -0,0 +1,6 @@
# This directory intentionally left blank
#
# Ignore everything in this directory
*
# Except this file
!.gitignore

View file

@ -0,0 +1,6 @@
# This directory intentionally left blank
#
# Ignore everything in this directory
*
# Except this file
!.gitignore

View file

@ -1 +1 @@
SUBDIRS = msg app-defaults config types palettes backdrops
SUBDIRS = msg app-defaults config types palettes backdrops appmanager

View file

@ -0,0 +1,6 @@
# This directory intentionally left blank
#
# Ignore everything in this directory
*
# Except this file
!.gitignore

View file

@ -0,0 +1,6 @@
# This directory intentionally left blank
#
# Ignore everything in this directory
*
# Except this file
!.gitignore

View file

@ -0,0 +1,6 @@
# This directory intentionally left blank
#
# Ignore everything in this directory
*
# Except this file
!.gitignore

View file

@ -0,0 +1,6 @@
# This directory intentionally left blank
#
# Ignore everything in this directory
*
# Except this file
!.gitignore

View file

@ -0,0 +1,6 @@
# This directory intentionally left blank
#
# Ignore everything in this directory
*
# Except this file
!.gitignore

View file

@ -0,0 +1,6 @@
# This directory intentionally left blank
#
# Ignore everything in this directory
*
# Except this file
!.gitignore

View file

@ -0,0 +1,6 @@
# This directory intentionally left blank
#
# Ignore everything in this directory
*
# Except this file
!.gitignore

View file

@ -0,0 +1,4 @@
MAINTAINERCLEANFILES = Makefile.in
include ../../templates/Spanish.am
include ../../templates/appmgr.am

View file

@ -0,0 +1,6 @@
# This directory intentionally left blank
#
# Ignore everything in this directory
*
# Except this file
!.gitignore

View file

@ -0,0 +1,6 @@
# This directory intentionally left blank
#
# Ignore everything in this directory
*
# Except this file
!.gitignore

View file

@ -0,0 +1,6 @@
# This directory intentionally left blank
#
# Ignore everything in this directory
*
# Except this file
!.gitignore

View file

@ -0,0 +1,6 @@
# This directory intentionally left blank
#
# Ignore everything in this directory
*
# Except this file
!.gitignore

View file

@ -1 +1 @@
SUBDIRS = msg app-defaults config types palettes backdrops
SUBDIRS = msg app-defaults config types palettes backdrops appmanager

View file

@ -0,0 +1,6 @@
# This directory intentionally left blank
#
# Ignore everything in this directory
*
# Except this file
!.gitignore

View file

@ -0,0 +1,6 @@
# This directory intentionally left blank
#
# Ignore everything in this directory
*
# Except this file
!.gitignore

View file

@ -0,0 +1,6 @@
# This directory intentionally left blank
#
# Ignore everything in this directory
*
# Except this file
!.gitignore

View file

@ -0,0 +1,6 @@
# This directory intentionally left blank
#
# Ignore everything in this directory
*
# Except this file
!.gitignore

View file

@ -0,0 +1,6 @@
# This directory intentionally left blank
#
# Ignore everything in this directory
*
# Except this file
!.gitignore

View file

@ -0,0 +1,6 @@
# This directory intentionally left blank
#
# Ignore everything in this directory
*
# Except this file
!.gitignore

View file

@ -0,0 +1,6 @@
# This directory intentionally left blank
#
# Ignore everything in this directory
*
# Except this file
!.gitignore

View file

@ -0,0 +1,4 @@
MAINTAINERCLEANFILES = Makefile.in
include ../../templates/French.am
include ../../templates/appmgr.am

View file

@ -0,0 +1,6 @@
# This directory intentionally left blank
#
# Ignore everything in this directory
*
# Except this file
!.gitignore

View file

@ -0,0 +1,6 @@
# This directory intentionally left blank
#
# Ignore everything in this directory
*
# Except this file
!.gitignore

View file

@ -0,0 +1,6 @@
# This directory intentionally left blank
#
# Ignore everything in this directory
*
# Except this file
!.gitignore

View file

@ -0,0 +1,6 @@
# This directory intentionally left blank
#
# Ignore everything in this directory
*
# Except this file
!.gitignore

View file

@ -1 +1 @@
SUBDIRS = msg app-defaults config types palettes backdrops
SUBDIRS = msg app-defaults config types palettes backdrops appmanager

View file

@ -0,0 +1,6 @@
# This directory intentionally left blank
#
# Ignore everything in this directory
*
# Except this file
!.gitignore

View file

@ -0,0 +1,6 @@
# This directory intentionally left blank
#
# Ignore everything in this directory
*
# Except this file
!.gitignore

View file

@ -0,0 +1,6 @@
# This directory intentionally left blank
#
# Ignore everything in this directory
*
# Except this file
!.gitignore

View file

@ -0,0 +1,6 @@
# This directory intentionally left blank
#
# Ignore everything in this directory
*
# Except this file
!.gitignore

View file

@ -0,0 +1,6 @@
# This directory intentionally left blank
#
# Ignore everything in this directory
*
# Except this file
!.gitignore

View file

@ -0,0 +1,6 @@
# This directory intentionally left blank
#
# Ignore everything in this directory
*
# Except this file
!.gitignore

View file

@ -0,0 +1,6 @@
# This directory intentionally left blank
#
# Ignore everything in this directory
*
# Except this file
!.gitignore

View file

@ -0,0 +1,4 @@
MAINTAINERCLEANFILES = Makefile.in
include ../../templates/Italian.am
include ../../templates/appmgr.am

View file

@ -0,0 +1,6 @@
# This directory intentionally left blank
#
# Ignore everything in this directory
*
# Except this file
!.gitignore

View file

@ -0,0 +1,6 @@
# This directory intentionally left blank
#
# Ignore everything in this directory
*
# Except this file
!.gitignore

View file

@ -0,0 +1,6 @@
# This directory intentionally left blank
#
# Ignore everything in this directory
*
# Except this file
!.gitignore

View file

@ -0,0 +1,6 @@
# This directory intentionally left blank
#
# Ignore everything in this directory
*
# Except this file
!.gitignore

View file

@ -0,0 +1,91 @@
# Setup the Appmanager type 'executable' files
ACTION = $(top_builddir)/programs/localized/$(LANG)/types/action
desktop_appsdir = $(CDE_INSTALLATION_TOP)/appconfig/appmanager/$(LANG)/Desktop_Apps
desktop_apps_SCRIPTS = Desktop_Apps/Dtmanpageview \
Desktop_Apps/Dthelpview Desktop_Apps/DtPrintManager \
Desktop_Apps/Dtcreate Desktop_Apps/Dtstyle \
Desktop_Apps/Dtmail Desktop_Apps/Dttrash \
Desktop_Apps/DtLoadInfoLib Desktop_Apps/Dtterm \
Desktop_Apps/Dtappbuild Desktop_Apps/Dtpad \
Desktop_Apps/Dticon Desktop_Apps/Dtcm Desktop_Apps/Dtfile \
Desktop_Apps/Dtcalc
graphicsdir = $(CDE_INSTALLATION_TOP)/appconfig/appmanager/$(LANG)/Graphics
graphics_SCRIPTS = Graphics/xv Graphics/fontforge Graphics/gimp \
Graphics/inkscape Graphics/okular
internetdir = $(CDE_INSTALLATION_TOP)/appconfig/appmanager/$(LANG)/Internet
internet_SCRIPTS = Internet/firefox Internet/nxclient \
Internet/thunderbird Internet/skype Internet/chromium
gamesdir = $(CDE_INSTALLATION_TOP)/appconfig/appmanager/$(LANG)/Games
games_SCRIPTS = Games/pychess Games/powermanga Games/eboard \
Games/supertux Games/dreamchess Games/lbreakout2 \
Games/gcompris Games/xboard Games/ktuberling
texdir = $(CDE_INSTALLATION_TOP)/appconfig/appmanager/$(LANG)/Tex
tex_SCRIPTS = TeX/xdvi TeX/acroread TeX/xpdf TeX/TeX TeX/mgv \
TeX/emacs TeX/gv TeX/kile TeX/xournal
officedir = $(CDE_INSTALLATION_TOP)/appconfig/appmanager/$(LANG)/Office
office_SCRIPTS = Office/nedit Office/libreoffice-calc \
Office/libreoffice-writer Office/acroread Office/xpdf \
Office/libreoffice-draw Office/libreoffice-base \
Office/libreoffice-main Office/libreoffice-math \
Office/libreoffice-impress Office/xournal
systemdir = $(CDE_INSTALLATION_TOP)/appconfig/appmanager/$(LANG)/System
system_SCRIPTS = System/caja System/firestarter System/virtualbox \
System/engrampa System/wicd System/synaptic \
System/file-roller System/pgadmin
desktop_toolsdir = $(CDE_INSTALLATION_TOP)/appconfig/appmanager/$(LANG)/Desktop_Tools
desktop_tools_SCRIPTS = Desktop_Tools/Rm Desktop_Tools/DttermRlogin \
Desktop_Tools/Env Desktop_Tools/Uncompress \
Desktop_Tools/Xclipboard Desktop_Tools/Xwd \
Desktop_Tools/XtermRlogin Desktop_Tools/Xload \
Desktop_Tools/DttermConsole Desktop_Tools/Compress \
Desktop_Tools/Tar Desktop_Tools/DuSort Desktop_Tools/TarList \
Desktop_Tools/DttermErrorlog Desktop_Tools/Xprop \
Desktop_Tools/XclockDig Desktop_Tools/Spell \
Desktop_Tools/Xterm Desktop_Tools/Diff Desktop_Tools/Xdpyinfo \
Desktop_Tools/Xrefresh Desktop_Tools/Grep \
Desktop_Tools/ReloadApps Desktop_Tools/Xlsfonts \
Desktop_Tools/RestorePanel Desktop_Tools/Df \
Desktop_Tools/Xwud Desktop_Tools/SaveSession \
Desktop_Tools/Make Desktop_Tools/ExecuteCmd \
Desktop_Tools/CodeGen Desktop_Tools/ReloadResources \
Desktop_Tools/TarUnpack Desktop_Tools/Dttypes \
Desktop_Tools/Vi Desktop_Tools/Wc Desktop_Tools/Xfd \
Desktop_Tools/File Desktop_Tools/ReloadActions \
Desktop_Tools/DtImsMode Desktop_Tools/Xwininfo \
Desktop_Tools/Nm Desktop_Tools/Bitmap \
Desktop_Tools/DttermDtspcd Desktop_Tools/DtwmrcEdit \
Desktop_Tools/XtermDtspcd
media_toolsdir = $(CDE_INSTALLATION_TOP)/appconfig/appmanager/$(LANG)/Media_Tools
media_tools_SCRIPTS = Media_Tools/k3b Media_Tools/rhythmbox \
Media_Tools/xine Media_Tools/vlc Media_Tools/rosegarden \
Media_Tools/pavucontrol Media_Tools/sound-juicer \
Media_Tools/amarok Media_Tools/brasero Media_Tools/k9copy
educationdir = $(CDE_INSTALLATION_TOP)/appconfig/appmanager/$(LANG)/Education
education_SCRIPTS = Education/tuxpaint Education/gcompris \
Education/stellarium Education/geogebra
informationdir = $(CDE_INSTALLATION_TOP)/appconfig/appmanager/$(LANG)/Information
information_SCRIPTS = Information/OpenDtIntro
appmgr_allfiles = $(desktop_apps_SCRIPTS) $(graphics_SCRIPTS) \
$(internet_SCRIPTS) $(games_SCRIPTS) $(tex_SCRIPTS) \
$(office_SCRIPTS) $(system_SCRIPTS) $(desktop_tools_SCRIPTS) \
$(media_tools_SCRIPTS) $(education_SCRIPTS) \
$(information_SCRIPTS)
BUILT_SOURCES = $(appmgr_allfiles)
CLEANFILES = $(BUILT_SOURCES)
$(appmgr_allfiles): $(ACTION)
$(CP) $(ACTION) $@ || $(RM) $@

View file

@ -4,7 +4,7 @@
# hardcodes file names and the like.
.NOTPARALLEL:
BUILT_SOURCES = autoStart.dt user-prefs.dt uxstd.dt dt.dt develop.dt \
DTTYPES = autoStart.dt user-prefs.dt uxstd.dt dt.dt develop.dt \
datatypes.dt dtappman.dt dtfile.dt dtims.dt dtinfo.dt \
dtpad.dt xclients.dt dthelp.dt dthelpprint.dt print.dt \
dthelptag.dt dtmail.dt dtwm.fp dtscreen.dt dtcm.dt \
@ -12,28 +12,35 @@ BUILT_SOURCES = autoStart.dt user-prefs.dt uxstd.dt dt.dt develop.dt \
DisplayImage.dt DisplayPDF.dt DisplayVideo.dt DisplayPS.dt \
videoTypes.dt Education.dt gcompris.dt geogebra.dt \
stellarium.dt tuxpaint.dt dreamchess.dt eboard.dt Games.dt \
ktuberling.dt lbreakout2.dt powermanga.dt \
pychess.dt supertux.dt xboard.dt fontforge.dt gimp.dt \
Graphics.dt inkscape.dt okular.dt xv.dt chromium.dt \
firefox.dt Internet.dt nxclient.dt skype.dt thunderbird.dt \
amarok.dt brasero.dt k3b.dt k9copy.dt Media_Tools.dt \
pavucontrol.dt rhythmbox.dt rosegarden.dt sound-juicer.dt \
vlc.dt xine.dt libreoffice-base.dt libreoffice-calc.dt \
libreoffice-draw.dt libreoffice-impress.dt \
libreoffice-main.dt libreoffice-math.dt libreoffice-writer.dt \
nedit.dt Office.dt xournal.dt caja.dt engrampa.dt \
file-roller.dt firestarter.dt pgadmin.dt synaptic.dt \
System.dt virtualbox.dt wicd.dt acroread.dt emacs.dt gv.dt \
kile.dt mgv.dt TeX.dt xdvi.dt xournal.dt xpdf.dt
ktuberling.dt lbreakout2.dt powermanga.dt pychess.dt \
supertux.dt xboard.dt fontforge.dt gimp.dt Graphics.dt \
inkscape.dt okular.dt xv.dt chromium.dt firefox.dt \
Internet.dt nxclient.dt skype.dt thunderbird.dt amarok.dt \
brasero.dt k3b.dt k9copy.dt Media_Tools.dt pavucontrol.dt \
rhythmbox.dt rosegarden.dt sound-juicer.dt vlc.dt xine.dt \
libreoffice-base.dt libreoffice-calc.dt libreoffice-draw.dt \
libreoffice-impress.dt libreoffice-main.dt \
libreoffice-math.dt libreoffice-writer.dt nedit.dt Office.dt \
xournal.dt caja.dt engrampa.dt file-roller.dt firestarter.dt \
pgadmin.dt synaptic.dt System.dt virtualbox.dt wicd.dt \
acroread.dt emacs.dt gv.dt kile.dt mgv.dt TeX.dt xdvi.dt \
xournal.dt xpdf.dt
BUILT_SOURCES = $(DTTYPES) action
CLEANFILES = $(BUILT_SOURCES)
# we do not want to install 'action'
typesdir = $(CDE_INSTALLATION_TOP)/appconfig/types/$(LANG)
dist_types_DATA = $(BUILT_SOURCES)
dist_types_DATA = $(DTTYPES)
TOP = $(top_builddir)/programs
MERGE = $(top_builddir)/programs/localized/util/merge
# This isn't really an action/type - it's an executable placeholder
# used by and for appmanager.
action: $(TOP)/types/action action.tmsg
$(MERGE) -lang $(LANG) action.tmsg < $< > $@ || $(RM) $@
autoStart.dt: $(TOP)/types/autoStart.dt _common.dt.tmsg
$(MERGE) -lang $(LANG) _common.dt.tmsg < $< > $@ || $(RM) $@
@ -88,9 +95,6 @@ dtmail.dt: $(TOP)/types/dtmail.dt _common.dt.tmsg
dtwm.fp: $(TOP)/types/dtwm.fp _common.dt.tmsg
$(MERGE) -lang $(LANG) _common.dt.tmsg < $< > $@ || $(RM) $@
action: $(TOP)/types/action action.tmsg
$(MERGE) -lang $(LANG) action.tmsg < $< > $@ || $(RM) $@
dtscreen.dt: $(TOP)/types/dtscreen.dt _common.dt.tmsg
$(MERGE) -lang $(LANG) _common.dt.tmsg < $< > $@ || $(RM) $@