On 1/14/08, Patrick Ale <patrick.ale at gmail.com> wrote:
> Hi,

I think I fixed it. It surely won't win the coding beauty contest but
at least I'm able to build and install SUNWgnome-a11y-gok atfer three
weeks or so ;-)

I think something needs to the SUNWgnome-a11y-gok.proto file as well.
I get an error about installed but unpackaged files and indeed, I dont
see them in any of the prototype files. This would lead up to one
patch added to the repository and two diffs. This has _NOT_ yet been
done, I just want to show what I did and if it looks alright to you :)

A patches/gok-03-fix-xmlDATA-install.diff
U prototypes/x86/SUNWgnome-a11y-gok.proto
U base-specs/gok.spec

--- SUNWgnome-a11y-gok.proto    (revision 12779)
+++ SUNWgnome-a11y-gok.proto    (working copy)
@@ -81,3 +81,18 @@
 f none share/omf/gok/gok-C.omf=usr/share/omf/gok/gok-C.omf 0644 root bin
 d none share/pixmaps 0755 root other
 f none share/pixmaps/gok.png=usr/share/pixmaps/gok.png 0644 root bin
+d none share/gnome/help/gok/C 0755 root bin
+f none share/gnome/help/gok/C/legal.xml 0755 root bin
+f none share/gnome/help/gok/C/gok.xml 0644 root bin
+d none share/gok/C 0755 root bin
+f none share/gok/C/gok-controls.kbd 0644 root bin
+f none share/gok/C/hide.kbd 0644 root bin
+f none share/gok/C/launcher.kbd 0644 root bin
+f none share/gok/C/main.kbd 0644 root bin
+f none share/gok/C/mouse.kbd 0644 root bin
+f none share/gok/C/move-resize.kbd 0644 root bin
+f none share/gok/C/numberpad.kbd 0644 root bin
+f none share/gok/C/quit.kbd 0644 root bin
+f none share/gok/C/text-operations.kbd 0644 root bin
+f none share/gok/C/valuator.kbd 0644 root bin

--- base-specs/gok.spec (revision 12779)
+++ base-specs/gok.spec (working copy)
@@ -27,6 +27,8 @@
 %endif
 #owner:gheet date:2007-10-09 type:bug bugzilla:485036 bugster:6573993
 Patch2:              gok-02-dot-desktop.diff
+Patch3:              gok-03-fix-xmlDATA-install.diff
+#owner: pale date: 2007-01-14 type:bug
 URL:          http://developer.gnome.org/projects/gap/
 BuildRoot:    %{_tmppath}/%{name}-%{version}-build
 Docdir:       %{_defaultdocdir}/%{name}
@@ -71,6 +73,7 @@
 %endif
 %patch1 -p1
 %patch2 -p1
+%patch3 -p1

 %build
 %ifos linux
@@ -138,6 +141,8 @@
 %{_mandir}/man1/*

 %changelog
+* Mon Jan 14 2008 - patrick.ale at gmail.com
+- Add gok-03-fix-xmlDATA-install.diff
 * Fri Oct 19 2007 - damien.carbery at sun.com
 - Bump to 1.3.7.
 * Tue Oct 09 2007 - ghee.teo at sun.com


--- gok-1.3.7/Makefile.in.orig  2008-01-14 16:40:20.919634729 +0100
+++ gok-1.3.7/Makefile.in       2008-01-14 16:40:25.098319904 +0100
@@ -572,10 +572,16 @@
        @$(NORMAL_INSTALL)
        test -z "$(xmldir)" || $(mkdir_p) "$(DESTDIR)$(xmldir)"
        @list='$(xml_DATA)'; for p in $$list; do \
-         if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
          f=$(am__strip_dir) \
+         if [ -z $$d ]; then /bin/true ; else \
          echo " $(xmlDATA_INSTALL) '$$d$$p' '$(DESTDIR)$(xmldir)/$$f'"; \
          $(xmlDATA_INSTALL) "$$d$$p" "$(DESTDIR)$(xmldir)/$$f"; \
+          fi; \
+       done
+       for z in $(srcdir)/*.xam; \
+       do \
+               echo "$(xmlDATA_INSTALL) $$z $(DESTDIR)$(xmldir)/$$z"; \
+               $(xmlDATA_INSTALL) $$z $(DESTDIR)$(xmldir)/$$z; \
        done

 uninstall-xmlDATA:

Reply via email to