[csw-devel] SF.net SVN: gar:[7917] csw/mgar/pkg

hson at users.sourceforge.net hson at users.sourceforge.net
Sat Jan 9 01:21:59 CET 2010


Revision: 7917
          http://gar.svn.sourceforge.net/gar/?rev=7917&view=rev
Author:   hson
Date:     2010-01-09 00:21:59 +0000 (Sat, 09 Jan 2010)

Log Message:
-----------
djvulibre: Initial commit

Added Paths:
-----------
    csw/mgar/pkg/djvulibre/
    csw/mgar/pkg/djvulibre/Makefile
    csw/mgar/pkg/djvulibre/branches/
    csw/mgar/pkg/djvulibre/tags/
    csw/mgar/pkg/djvulibre/trunk/
    csw/mgar/pkg/djvulibre/trunk/Makefile
    csw/mgar/pkg/djvulibre/trunk/files/
    csw/mgar/pkg/djvulibre/trunk/files/ddjvu.cpp.patch

Added: csw/mgar/pkg/djvulibre/Makefile
===================================================================
--- csw/mgar/pkg/djvulibre/Makefile	                        (rev 0)
+++ csw/mgar/pkg/djvulibre/Makefile	2010-01-09 00:21:59 UTC (rev 7917)
@@ -0,0 +1,15 @@
+# vim: ft=make ts=4 sw=4 noet
+
+default:
+	@echo "You are in the pkg/ directory."
+
+%:
+	$(MAKE) -C trunk $* 
+
+paranoid-%:
+	$(MAKE) -C trunk $* || exit 2 
+
+export BUILDLOG ?= $(shell pwd)/buildlog.txt
+
+report-%:
+	$(MAKE) -C trunk $* || echo "	*** make $* in $$i failed ***" >> $(BUILDLOG) 


Property changes on: csw/mgar/pkg/djvulibre/trunk
___________________________________________________________________
Added: svn:ignore
   + cookies
download
work


Added: svn:externals
   + gar https://gar.svn.sf.net/svnroot/gar/csw/mgar/gar/v2


Added: csw/mgar/pkg/djvulibre/trunk/Makefile
===================================================================
--- csw/mgar/pkg/djvulibre/trunk/Makefile	                        (rev 0)
+++ csw/mgar/pkg/djvulibre/trunk/Makefile	2010-01-09 00:21:59 UTC (rev 7917)
@@ -0,0 +1,67 @@
+GARNAME = djvulibre
+GARVERSION = 3.5.22
+CATEGORIES = apps
+
+DESCRIPTION = DjVu standalone viewer, browser plug-in, command line tools
+define BLURB
+endef
+
+SF_PROJ = djvu
+MASTER_SITES = $(SF_MIRRORS)/DjVuLibre/$(GARVERSION)/
+DISTFILES  = $(GARNAME)-$(GARVERSION).tar.gz
+
+PACKAGES = CSWdjvulibre CSWdjvulibrert CSWdjvulibredevel
+CATALOGNAME_CSWdjvulibre = djvulibre
+CATALOGNAME_CSWdjvulibrert = djvulibre_rt
+CATALOGNAME_CSWdjvulibredevel = djvulibre_devel
+
+SPKG_DESC_CSWdjvulibre += DjVu standalone viewer, browser plug-in, command linetools
+SPKG_DESC_CSWdjvulibrert += DjVu standalone viewer, browser plug-in, command line tools - runtime package
+SPKG_DESC_CSWdjvulibredevel += DjVu standalone viewer, browser plug-in, commandline tools - developer package
+
+REQUIRED_PKGS_CSWdjvulibre += CSWdjvulibrert
+REQUIRED_PKGS_CSWdjvulibrert +=
+REQUIRED_PKGS_CSWdjvulibredevel += CSWdjvulibre
+
+PKGFILES_CSWdjvulibrert = $(PKGFILES_RT)
+PKGFILES_CSWdjvulibredevel = $(PKGFILES_DEVEL)
+
+SPKG_SOURCEURL = http://djvu.sourceforge.net/
+
+LICENSE = COPYING
+
+PATCHFILES += ddjvu.cpp.patch
+
+# We define upstream file regex so we can be notifed of new upstream software re
+lease
+UPSTREAM_MASTER_SITES = $(SF_PROJECT_SHOWFILE)=32953
+UPSTREAM_USE_SF = 1
+UFILES_REGEX = (\d+(?:\.\d+)*)
+
+OPTS='-DNDEBUG'
+EXTRA_COMMON_EXPORTS += OPTS
+
+PTHREAD_LIBS = -lpthread
+PTHREAD_CFLAGS = -D_REENTRANT
+EXTRA_COMMON_EXPORTS += PTHREAD_LIBS
+EXTRA_COMMON_EXPORTS += PTHREAD_CFLAGS
+
+
+EXTRA_INC = $(prefix)/X11/include
+EXTRA_LIB = $(prefix)/X11/lib
+EXTRA_PKG_CONFIG_DIRS = $(prefix)/X11/lib
+
+X_CFLAGS = -I$(prefix)/X11/include
+X_LIBS = -L$(prefix)/X11/lib -R$(prefix)/X11/lib
+EXTRA_COMMON_EXPORTS += X_CFLAGS 
+EXTRA_COMMON_EXPORTS += X_LIBS 
+
+CONFIGURE_ARGS  = $(DIRPATHS)
+CONFIGURE_ARGS += --with-extra-includes=$(prefix)/X11/include
+CONFIGURE_ARGS += --with-extra-libraries=$(prefix)/X11/lib
+
+BUILD64 = 1
+
+TEST_TARGET =
+
+include gar/category.mk

Added: csw/mgar/pkg/djvulibre/trunk/files/ddjvu.cpp.patch
===================================================================
--- csw/mgar/pkg/djvulibre/trunk/files/ddjvu.cpp.patch	                        (rev 0)
+++ csw/mgar/pkg/djvulibre/trunk/files/ddjvu.cpp.patch	2010-01-09 00:21:59 UTC (rev 7917)
@@ -0,0 +1,13 @@
+--- djvulibre-3.5.22.orig/tools/ddjvu.cpp	2009-02-13 10:46:27.000000000 +0100
++++ djvulibre-3.5.22/tools/ddjvu.cpp	2010-01-07 17:45:43.925544787 +0100
+@@ -66,6 +66,10 @@
+ 
+ #include <stdlib.h>
+ #include <stdio.h>
++#if (defined(__SUNPRO_CC) && ( defined(__SunOS_5_8) || defined(__SunOS_5_9))) && !defined(__sparcv9)
++using std::__flsbuf;
++using std::__filbuf;
++#endif
+ #include <stdarg.h>
+ #include <string.h>
+ #include <locale.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