Support parallel installations. The idea is that for CAD screener, we want
to be able to install this on the same machine as a standard AVOT setup
(most notably for John's laptop). To allow for the possibility of a second
application that might have the same requirements, we add the concept of
vendor-specific distributions. Thus we can have one distribution for CAD
screener and one for The Next Big Thing. It doesn't seem trivial to have
both CAD screener and AVOT under the same vendor tag so we'll have to have
AVOT under "City Occupational" and CAD screener under "City Occupational Ltd"
or some such kludge.
Most of this is done although we are very short of test cases (in particular
we don't test that it's actually possible to install CAD screener in parallel
with AVOT or to update either of them once installed, which is fundamental).
We also have a lot of baggage left over, including an intercept of razor_set.
The problem that this was introduced to debug has been fixed but it looks
like there are a number of memory leaks which it might be useful to help
track down so it has been left in place for now.
There is still a lot of confusion in plover between path-based and URI-based
API. We should review the API, decide what we want and have a general clear up.
There is also confusion as to the purpose of RAZOR_ROOT (and meaning; path or
URI). This is not used at all in librazor (although it is used in razor.exe).
Ideally we shouldn't use it in plover or plover-gtk either although again, we
might want to support it or an equivalent in (some of) the various executables.
Work that would still to nice to do for CAD screener:
- uninstall (ideally as an installed program that hooks into Add/Remove programs
but even re-running the installer would be acceptable).
- xz support (smaller packages).
- repomd.xml and xml:base (would be needed for an Internet installer).
- graphical installer.
1 AM_CFLAGS=$(GUI_CFLAGS) -g -DPLOVER_DATADIR=\""$(pkgdatadir)"\" -I$(top_srcdir)
2 LDADD=../plover/libplover.la ../plover-gtk/libplover-gtk.la $(GUI_LIBS)
4 bin_PROGRAMS=app-manager fetch
5 app_manager_SOURCES=app-manager.c app-manager.h packagelist.c applications.c \
6 localmedia.c localmedia.h setup.c update.c
8 fetch_LDADD=$(LDADD) $(FETCH_LIBS)
10 app_manager_SOURCES+=resources.rc app-manager.exe.manifest
13 app_manager_LDFLAGS=-mwindows
16 ui_DATA=app-manager.ui
17 desktopdir=$(datadir)/applications
18 desktop_DATA=app-manager.desktop
19 scaleabledir=$(datadir)/icons/hicolor/scalable/apps
20 scaleable_DATA=plover-applications.svg
21 smallicondir=$(datadir)/icons/hicolor/24x24/apps
22 smallicon_DATA=24x24/plover-applications.png
23 bigicondir=$(datadir)/icons/hicolor/48x48/apps
24 bigicon_DATA=48x48/plover-applications.png
26 # PLOVER_V_SKIP: Don't echo anything for this command if V=0
27 PLOVER_V_SKIP = $(PLOVER_V_SKIP_$(V))
28 PLOVER_V_SKIP_ = $(PLOVER_V_SKIP_$(AM_DEFAULT_VERBOSITY))
32 $(AM_V_GEN)$(WINDRES) $< $@
34 resources.$(OBJEXT): app-manager.ico app-manager.exe.manifest
36 plover-applications%.pnm: plover-applications.svg
37 $(PLOVER_V_SKIP)rsvg -w $* -h $* -f png $< temp.png
38 $(AM_V_GEN)pngtopnm temp.png | pnmquant -quiet 256 > $@
39 $(PLOVER_V_SKIP)$(RM) temp.png
41 plover-applications%.pgm: plover-applications.svg
42 $(PLOVER_V_SKIP)rsvg -w $* -h $* -f png $< temp.png
43 $(AM_V_GEN)pngtopnm -alpha temp.png > $@
44 $(PLOVER_V_SKIP)$(RM) temp.png
46 24x24/plover-applications.png: plover-applications.svg
47 $(PLOVER_V_SKIP)mkdir -p 24x24
48 $(AM_V_GEN)rsvg -w 24 -h 24 -f png $< $@
50 48x48/plover-applications.png: plover-applications.svg
51 $(PLOVER_V_SKIP)mkdir -p 48x48
52 $(AM_V_GEN)rsvg -w 48 -h 48 -f png $< $@
54 app-manager.ico: plover-applications16.pnm plover-applications16.pgm \
55 plover-applications22.pnm plover-applications22.pgm \
56 plover-applications32.pnm plover-applications32.pgm \
57 plover-applications46.pnm plover-applications46.pgm
58 $(AM_V_GEN)ppmtowinicon -andpgms -output=$@ $^
63 EXTRA_DIST=app-manager.desktop app-manager.ui plover-applications.svg