Skip to contentSkip to conversation

New Recipe: svgalib

PATCH New Christopher Lang 3 participants 4 messages Jan 22, 2010 – Apr 29, 2010

lore
Share & tools
lore
#0 lore raw

Hi,

and another one, old but sometimes quite useful: svgalib Checksums attached.

Tested with OE from Jan 11 on Opensuse 11 building for machine "x86", distro "minimal".

Checked with oe-stylize.py.

Chris

http://www.acurana.de/

[http://my.arava.co.il/~matan/svgalib/svgalib-1.9.24.tar.gz]
md5=3be376c08462caf88cfc150239481110 sha256=12f74fd44c13991ece0fb4bb0d4d95366ba1de2758c7eec10b59290bc6237ca1

[http://my.arava.co.il/~matan/svgalib/svgalib-1.9.25.tar.gz]
md5=4dda7e779e550b7404cfe118f1d74222 sha256=2ad5da713a6bd69622c483de4e4f448ed2b82f7b954db43dc477d5b6b12d8602

#1 lore raw

Dear Christopher,

Am Freitag, den 22.01.2010, 15:44 +0100 schrieb Christopher Lang:

Quoted 7 lines

and another one, old but sometimes quite useful: svgalib Checksums attached.

Tested with OE from Jan 11 on Opensuse 11 building for machine "x86", distro "minimal".

Checked with oe-stylize.py.

could you please send this as patch created with git format-patch and a commit message. The requirements (Signed-off-by, etc.) are described in [1].

You would ease the lives of the developers significantly, since review (no decompress) and committing the patch is much easier.

Thanks,

Paul

[1] http://wiki.openembedded.net/index.php/Commit_Policy

#2 lore raw
Quoted 1 line · On Friday 22 January 2010 15:51:28 Paul Menzel wrote:

could you please send this as patch created with git format-patch and

no problem, I'll check the Commit Policy doc and resubmit both recipes as patches.

Chris

#3 lore raw

PATCH 1/1 svgalib : add svgalib-1.9.25

In reply to Paul Menzel

- original recipe comes from :
http://lists.linuxtogo.org/pipermail/openembedded-devel/2010-January/016607.html
- added fix for compilation against recent kernel
- updated and tested on x86
- disable helper module
- configuration file /etc/vga/libga.config is not included in any package

---
 recipes/svgalib/files/gtfcalc-round.patch          |   17 ++
 recipes/svgalib/files/makefiles-ldconfig.patch     |   26 ++
 .../svgalib/files/svgalib-1.9.25-linux2.6.patch    |  289 ++++++++++++++++++++
 recipes/svgalib/svgalib_1.9.25.bb                  |  129 +++++++++
 4 files changed, 461 insertions(+), 0 deletions(-)
 create mode 100644 recipes/svgalib/files/gtfcalc-round.patch
 create mode 100644 recipes/svgalib/files/makefiles-ldconfig.patch
 create mode 100644 recipes/svgalib/files/svgalib-1.9.25-linux2.6.patch
 create mode 100644 recipes/svgalib/svgalib_1.9.25.bb
recipes/svgalib/files/gtfcalc-round.patch new file +17 -0
new file mode 100644
index 0000000..076c350
@@ -0,0 +1,17 @@
+Index: svgalib-1.9.25/utils/gtf/gtfcalc.c
+===================================================================
+--- svgalib-1.9.25.orig/utils/gtf/gtfcalc.c
++++ svgalib-1.9.25/utils/gtf/gtfcalc.c
+@@ -64,10 +64,12 @@ static GTF_constants GC = {
+ 
+ /*-------------------------- Implementation -------------------------------*/
+ 
++#ifndef HAVE_ROUND
+ static double round(double v)
+ {
+ 	return floor(v + 0.5);
+ }
++#endif
+ 
+ static void GetInternalConstants(GTF_constants *c)
+ /****************************************************************************
recipes/svgalib/files/makefiles-ldconfig.patch new file +26 -0
new file mode 100644
index 0000000..2802f17
@@ -0,0 +1,26 @@
+Index: svgalib-1.9.25/Makefile
+===================================================================
+--- svgalib-1.9.25.orig/Makefile
++++ svgalib-1.9.25/Makefile
+@@ -100,7 +100,7 @@ installsharedlib: $(SHAREDLIBS) $(SVGALI
+ 		 ln -sf $$foo `echo $$foo | sed 's/\.so\..*/.so/'` ); \
+ 	done
+ 	@./fixldsoconf
+-	-ldconfig
++#	-ldconfig
+ 
+ installstaticlib: static
+ 	@echo Installing static libraries in $(libdir).
+Index: svgalib-1.9.25/threeDKit/Makefile
+===================================================================
+--- svgalib-1.9.25.orig/threeDKit/Makefile
++++ svgalib-1.9.25/threeDKit/Makefile
+@@ -58,7 +58,7 @@ lib3dkit.so.$(VERSION): $(OBJECTS)
+ $(sharedlibdir)/lib3dkit.so.$(VERSION): lib3dkit.so.$(VERSION)
+ 	$(INSTALL_SHLIB) $< $(sharedlibdir)/$<
+ 	(cd $(sharedlibdir); ln -sf lib3dkit.so.$(VERSION) `echo lib3dkit.so.$(VERSION) | sed 's/\.so\..*/.so/'` )
+-	-ldconfig
++#	-ldconfig
+ 
+ install: $(sharedlibdir)/lib3dkit.so.$(VERSION) installheaders
+ 
recipes/svgalib/files/svgalib-1.9.25-linux2.6.patch new file +289 -0

289 lines not on this page · raw message

recipes/svgalib/svgalib_1.9.25.bb new file +129 -0

129 lines not on this page · raw message

Signature · 1 line
1.6.3.3