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=plover-open
5 plover_open_SOURCES=plover-open.c
7 plover_open_SOURCES+=resources.rc plover-open.exe.manifest
9 nodist_plover_open_SOURCES=icons.h
11 plover_open_LDFLAGS=-mwindows
13 scaleabledir=$(datadir)/icons/hicolor/scalable/mimetypes
14 scaleable_DATA=application-x-redhat-package-manager.svg
15 smallicondir=$(datadir)/icons/hicolor/24x24/mimetypes
16 smallicon_DATA=24x24/application-x-redhat-package-manager.png
17 bigicondir=$(datadir)/icons/hicolor/48x48/mimetypes
18 bigicon_DATA=48x48/application-x-redhat-package-manager.png
20 # PLOVER_V_SKIP: Don't echo anything for this command if V=0
21 PLOVER_V_SKIP = $(PLOVER_V_SKIP_$(V))
22 PLOVER_V_SKIP_ = $(PLOVER_V_SKIP_$(AM_DEFAULT_VERBOSITY))
26 $(AM_V_GEN)$(WINDRES) $< $@
28 resources.$(OBJEXT): plover-open.exe.manifest plover-open.ico
31 pngtopnm $< | pnmquant 256 > $@
33 mimetypes-application-x-rpm%.pnm: mimetypes-application-x-rpm.svg
34 $(PLOVER_V_SKIP)rsvg -w $* -h $* -f png $< temp.png
35 $(AM_V_GEN)pngtopnm temp.png | pnmquant -quiet 256 > $@
36 $(PLOVER_V_SKIP)$(RM) temp.png
38 mimetypes-application-x-rpm%.pgm: mimetypes-application-x-rpm.svg
39 $(PLOVER_V_SKIP)rsvg -w $* -h $* -f png $< temp.png
40 $(AM_V_GEN)pngtopnm -alpha temp.png > $@
41 $(PLOVER_V_SKIP)$(RM) temp.png
43 24x24/application-x-redhat-package-manager.png: mimetypes-application-x-rpm.svg
44 $(PLOVER_V_SKIP)mkdir -p 24x24
45 $(AM_V_GEN)rsvg -w 24 -h 24 -f png $< $@
47 48x48/application-x-redhat-package-manager.png: mimetypes-application-x-rpm.svg
48 $(PLOVER_V_SKIP)mkdir -p 48x48
49 $(AM_V_GEN)rsvg -w 48 -h 48 -f png $< $@
51 plover-open.ico: mimetypes-application-x-rpm16.pnm \
52 mimetypes-application-x-rpm16.pgm \
53 mimetypes-application-x-rpm22.pnm \
54 mimetypes-application-x-rpm22.pgm \
55 mimetypes-application-x-rpm32.pnm \
56 mimetypes-application-x-rpm32.pgm \
57 mimetypes-application-x-rpm46.pnm \
58 mimetypes-application-x-rpm46.pgm
59 $(AM_V_GEN)ppmtowinicon -andpgms -output=$@ $^
64 application-x-redhat-package-manager.svg: mimetypes-application-x-rpm.svg
67 EXTRA_DIST=mimetypes-application-x-rpm.svg
68 CLEANFILES=application-x-redhat-package-manager.svg