[csw-devel] SF.net SVN: gar:[14589] csw/mgar/pkg/libspectre/trunk

dmichelsen at users.sourceforge.net dmichelsen at users.sourceforge.net
Tue May 17 14:49:59 CEST 2011


Revision: 14589
          http://gar.svn.sourceforge.net/gar/?rev=14589&view=rev
Author:   dmichelsen
Date:     2011-05-17 12:49:59 +0000 (Tue, 17 May 2011)

Log Message:
-----------
libspectre: Split packages, remove fixes for reported upstream bugs

Modified Paths:
--------------
    csw/mgar/pkg/libspectre/trunk/Makefile
    csw/mgar/pkg/libspectre/trunk/checksums

Removed Paths:
-------------
    csw/mgar/pkg/libspectre/trunk/files/patch-stdint.diff

Modified: csw/mgar/pkg/libspectre/trunk/Makefile
===================================================================
--- csw/mgar/pkg/libspectre/trunk/Makefile	2011-05-17 12:29:38 UTC (rev 14588)
+++ csw/mgar/pkg/libspectre/trunk/Makefile	2011-05-17 12:49:59 UTC (rev 14589)
@@ -7,29 +7,25 @@
 endef
 
 MASTER_SITES = http://libspectre.freedesktop.org/releases/
-DISTFILES  = $(NAME)-$(VERSION).tar.gz
+DISTFILES  = $(DISTNAME).tar.gz
 
-# Use int_types.h instead of stdint.h until this is fixed:
-#   https://bugs.freedesktop.org/show_bug.cgi?id=27734
-PATCHFILES = patch-stdint.diff
+VENDOR_URL = http://libspectre.freedesktop.org
 
-SPKG_SOURCEURL = http://libspectre.freedesktop.org
-
-# We define upstream file regex so we can be notifed of new upstream software release
-UFILES_REGEX = $(NAME)-(\d+(?:\.\d+)*).tar.gz
-
 DEP_PKGS = CSWgs
 
-# The flags -pedantic gets selected during configure as it seems to cause
-# no harm, but it effectively triggers performance tuning and fails as some
-# files miss _mcount as the performance lib is not linked in.
-# Do this until this bug is resolved:
-#   https://bugs.freedesktop.org/show_bug.cgi?id=27735
-BUILD_OVERRIDE_VARS = SPECTRE_CFLAGS
-BUILD_OVERRIDE_VAR_SPECTRE_CFLAGS =
+PACKAGES += CSWlibspectre1
+PKGFILES_CSWlibspectre1 += $(call pkgfiles_lib,libspectre.so.1)
+SPKG_DESC_CSWlibspectre1 += A small library for rendering Postscript documents, libspectre.so.1
+RUNTIME_DEP_PKGS_CSWlibspectre += CSWlibspectre1
+OBSOLETED_BY_CSWlibspectre1 = CSWlibspectre
+CATALOGNAME_CSWlibspectre = libspectre_stub
 
+PACKAGES += CSWlibspectre-dev
+SPKG_DESC_CSWlibspectre-dev = Development files for libspectre.so.1
+# PKGFILES is catchall
+RUNTIME_DEP_PKGS_CSWlibspectre-dev = CSWlibspectre1
+
 # Disable for now as libgs is missing 64 bit
 #BUILD64 = 1
-CONFIGURE_ARGS = $(DIRPATHS)
 
 include gar/category.mk

Modified: csw/mgar/pkg/libspectre/trunk/checksums
===================================================================
--- csw/mgar/pkg/libspectre/trunk/checksums	2011-05-17 12:29:38 UTC (rev 14588)
+++ csw/mgar/pkg/libspectre/trunk/checksums	2011-05-17 12:49:59 UTC (rev 14589)
@@ -1,2 +1 @@
 5c6db35f2097c3a04c48c7f435d4b507  libspectre-0.2.6.tar.gz
-7f3edd354885de75d806dfd740a23881  patch-stdint.diff

Deleted: csw/mgar/pkg/libspectre/trunk/files/patch-stdint.diff
===================================================================
--- csw/mgar/pkg/libspectre/trunk/files/patch-stdint.diff	2011-05-17 12:29:38 UTC (rev 14588)
+++ csw/mgar/pkg/libspectre/trunk/files/patch-stdint.diff	2011-05-17 12:49:59 UTC (rev 14589)
@@ -1,15 +0,0 @@
-diff -Naur libspectre-0.2.2.orig/libspectre/spectre-device.c libspectre-0.2.2.patched/libspectre/spectre-device.c
---- libspectre-0.2.2.orig/libspectre/spectre-device.c	2008-11-25 16:15:50.000000000 +0100
-+++ libspectre-0.2.2.patched/libspectre/spectre-device.c	2009-04-14 13:38:53.249669809 +0200
-@@ -21,7 +21,11 @@
- #include <stdio.h>
- #include <stdlib.h>
- #include <string.h>
-+#ifdef __sun
-+#include <sys/int_types.h>
-+#else
- #include <stdint.h>
-+#endif
- 
- #include "spectre-device.h"
- #include "spectre-gs.h"


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