[csw-devel] SF.net SVN: gar:[18710] csw/mgar/pkg
pfelecan at users.sourceforge.net
pfelecan at users.sourceforge.net
Thu Jul 12 11:41:30 CEST 2012
Revision: 18710
http://gar.svn.sourceforge.net/gar/?rev=18710&view=rev
Author: pfelecan
Date: 2012-07-12 09:41:30 +0000 (Thu, 12 Jul 2012)
Log Message:
-----------
libming/trunk: migrated from a private recipe to a GAR based recipe;
not ready for release.
Added Paths:
-----------
csw/mgar/pkg/libming/
csw/mgar/pkg/libming/Makefile
csw/mgar/pkg/libming/branches/
csw/mgar/pkg/libming/tags/
csw/mgar/pkg/libming/trunk/
csw/mgar/pkg/libming/trunk/Makefile
csw/mgar/pkg/libming/trunk/checksums
csw/mgar/pkg/libming/trunk/files/
csw/mgar/pkg/libming/trunk/files/0001-PrintGifError-to-GifErrorString.patch
Added: csw/mgar/pkg/libming/Makefile
===================================================================
--- csw/mgar/pkg/libming/Makefile (rev 0)
+++ csw/mgar/pkg/libming/Makefile 2012-07-12 09:41:30 UTC (rev 18710)
@@ -0,0 +1,2 @@
+%:
+ $(MAKE) -C trunk $*
Property changes on: csw/mgar/pkg/libming/trunk
___________________________________________________________________
Added: svn:ignore
+ work
Added: csw/mgar/pkg/libming/trunk/Makefile
===================================================================
--- csw/mgar/pkg/libming/trunk/Makefile (rev 0)
+++ csw/mgar/pkg/libming/trunk/Makefile 2012-07-12 09:41:30 UTC (rev 18710)
@@ -0,0 +1,66 @@
+# $Id$
+
+NAME = libming
+VERSION = 0.4.4
+GARTYPE = v2
+CATEGORIES = lib
+
+DESCRIPTION = A library for generating Macromedia Flash files
+define BLURB
+ Ming is a library for generating Macromedia Flash files (.swf), written
+ in C, and includes useful utilities for working with .swf files.
+
+ It has wrappers that allow it to be used in C++, PHP, Python, Ruby, and
+ Perl.
+endef
+
+MASTER_SITES = $(SF_MIRRORS)
+SF_PROJ = ming
+DISTNAME = $(SF_PROJ)-$(VERSION)
+DISTFILES = $(DISTNAME).tar.bz2
+PATCHFILES += 0001-PrintGifError-to-GifErrorString.patch
+
+GARCOMPILER = GNU
+
+BUILD_DEP_PKGS += CSWphp5
+BUILD_DEP_PKGS += CSWphp5-dev
+
+CONFIGURE_ARGS = $(DIRPATHS)
+# gcc -kPIC issue because Python was compiled with SOS
+#CONFIGURE_ARGS += --enable-python
+# gcc dynamic link error durring tests
+# CONFIGURE_ARGS += --enable-perl
+# SOS: doesn't compile
+#CONFIGURE_ARGS += --enable-php
+# SOS: doesn't link with TCL library resulting in undefined references
+#CONFIGURE_ARGS += --enable-tcl
+
+TEST_SCRIPTS = custom
+
+include gar/category.mk
+
+PATH := /opt/csw/gnu:/opt/csw/php5/bin:$(PATH)
+
+pre-configure-modulated:
+ @echo "executing $@"
+ cd $(WORKSRC) && libtoolize
+ cd $(WORKSRC) && aclocal -I macros
+ cd $(WORKSRC) && automake -a
+ cd $(WORKSRC) && autoconf
+ $(MAKECOOKIE)
+
+# there are some tests failing for minor reasons, from my stand point,
+# going from missing initial files to incorrect evaluation of the
+# results:
+# Font/test03
+# Font/test06
+# Font/test07
+# Font/test07-cxx
+# consequently I choose to not block the release
+test-custom:
+ -$(MAKE) -k -C $(WORKSRC) check
+ $(MAKECOOKIE)
+
+# this is private and not available publicly
+mydependencies:
+ $(HOME)/bin/ocswdeplist --package $(NAME)
Property changes on: csw/mgar/pkg/libming/trunk/Makefile
___________________________________________________________________
Added: svn:keywords
+ Id
Added: csw/mgar/pkg/libming/trunk/checksums
===================================================================
--- csw/mgar/pkg/libming/trunk/checksums (rev 0)
+++ csw/mgar/pkg/libming/trunk/checksums 2012-07-12 09:41:30 UTC (rev 18710)
@@ -0,0 +1 @@
+9e780f93670eaf68b1eefa6cdfc1d1e2 ming-0.4.4.tar.bz2
Added: csw/mgar/pkg/libming/trunk/files/0001-PrintGifError-to-GifErrorString.patch
===================================================================
--- csw/mgar/pkg/libming/trunk/files/0001-PrintGifError-to-GifErrorString.patch (rev 0)
+++ csw/mgar/pkg/libming/trunk/files/0001-PrintGifError-to-GifErrorString.patch 2012-07-12 09:41:30 UTC (rev 18710)
@@ -0,0 +1,39 @@
+From 41a87d6dcc353ea79ca76a9923ab04c5786154fd Mon Sep 17 00:00:00 2001
+From: Peter Felecan <pfelecan at opencsw.org>
+Date: Wed, 11 Jul 2012 11:51:45 +0200
+Subject: [PATCH] PrintGifError to GifErrorString
+
+---
+ util/gif2dbl.c | 2 +-
+ util/gif2mask.c | 2 +-
+ 2 files changed, 2 insertions(+), 2 deletions(-)
+
+diff --git a/util/gif2dbl.c b/util/gif2dbl.c
+index 7c513d8..9b22817 100644
+--- a/util/gif2dbl.c
++++ b/util/gif2dbl.c
+@@ -20,7 +20,7 @@
+ void error(char *msg)
+ {
+ printf("%s:\n\n", msg);
+- PrintGifError();
++ printf("%s:\n\n", GifErrorString());
+ exit(-1);
+ }
+
+diff --git a/util/gif2mask.c b/util/gif2mask.c
+index 7636bc7..5a039a3 100644
+--- a/util/gif2mask.c
++++ b/util/gif2mask.c
+@@ -14,7 +14,7 @@
+ void error(char *msg)
+ {
+ printf("%s:\n\n", msg);
+- PrintGifError();
++ printf("%s:\n\n", GifErrorString());
+ exit(-1);
+ }
+
+--
+1.7.10.3
+
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
More information about the devel
mailing list