Hello,

I have built linux RPM package for the Fedora 9 distribution. I had to apply
two patches. Perhaps these patches will be suitable to be added upstream

1) Makefile patch that added $DESTDIR prefix to all paths

=======================================
diff -uNrp scid.orig/Makefile.conf scid/Makefile.conf
--- scid.orig/Makefile.conf    2008-05-25 22:05:46.000000000 +0400
+++ scid/Makefile.conf    2008-06-22 20:45:57.000000000 +0400
@@ -16,6 +16,7 @@
 COMPILE = @COMPILE@
 CC = @CC@
 LINK = @LINK@
+DESTDIR =

 # BINDIR: where the Scid programs are copied for "make install".
 #
@@ -236,42 +234,22 @@ toga:
 install: install_scid install_engines

 install_scid: all_scid
-    install -m 755 -d $(SHAREDIR)
-    install -m 755 -d $(BINDIR)
-    install -m 755 -d $(SHAREDIR)/data/
-    install -m 755 scid $(SCRIPTS) $(EXECS) $(BINDIR)
-    install -m 644 -p scid.eco $(SHAREDIR)/data/
-    install -m 755 -d $(SHAREDIR)/books
-    install -m 666 ./books/* $(SHAREDIR)/books/
-    install -m 755 -d $(SHAREDIR)/bases
-    install -m 666 ./bases/* $(SHAREDIR)/bases/
-    install -m 755 -d $(SHAREDIR)/html
-    cp -r ./html/* $(SHAREDIR)/html/
-    chmod -R 0777 $(SHAREDIR)/html/*
+    install -m 755 -d $(DESTDIR)$(SHAREDIR)
+    install -m 755 -d $(DESTDIR)$(BINDIR)
+    install -m 755 -d $(DESTDIR)$(SHAREDIR)/data/
+    install -m 755 scid $(SCRIPTS) $(EXECS) $(DESTDIR)$(BINDIR)
+    install -m 644 -p scid.eco $(DESTDIR)$(SHAREDIR)/data/
+    install -m 755 -d $(DESTDIR)$(SHAREDIR)/books
+    install -m 666 ./books/* $(DESTDIR)$(SHAREDIR)/books/
+    install -m 755 -d $(DESTDIR)$(SHAREDIR)/bases
+    install -m 666 ./bases/* $(DESTDIR)$(SHAREDIR)/bases/
+    install -m 755 -d $(DESTDIR)$(SHAREDIR)/html
+    cp -r ./html/* $(DESTDIR)$(SHAREDIR)/html/
+    chmod -R 0777 $(DESTDIR)$(SHAREDIR)/html/*
=======================================
This patch didn't add $(DESTDIR) to engines install path because I didn't
build and install engines from the scid package.

2) I converted tcl/lang/russian.tcl from the cp1251 encoding to UTF-8.
Otherwise menu translations are unreadable.

Also I have drawn SVG icon for the scid similar to existing ICO icon. Does
somebody want to review the result?

Mikhail Kalenkov.
-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
Scid-users mailing list
Scid-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/scid-users

Reply via email to