From: Schantl Stefan Date: Fri, 26 Feb 2010 20:40:03 +0000 (+0100) Subject: libart: New package. X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0bcd6c9992d11c45b91cd989fb44aafe6f1a7204;p=ipfire-3.x.git libart: New package. --- diff --git a/pkgs/core/libart/libart.nm b/pkgs/core/libart/libart.nm new file mode 100644 index 000000000..2c1b47cdb --- /dev/null +++ b/pkgs/core/libart/libart.nm @@ -0,0 +1,44 @@ +############################################################################### +# # +# IPFire.org - A linux based firewall # +# Copyright (C) 2007, 2008 Michael Tremer & Christian Schmidt # +# # +# This program is free software: you can redistribute it and/or modify # +# it under the terms of the GNU General Public License as published by # +# the Free Software Foundation, either version 3 of the License, or # +# (at your option) any later version. # +# # +# This program is distributed in the hope that it will be useful, # +# but WITHOUT ANY WARRANTY; without even the implied warranty of # +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # +# GNU General Public License for more details. # +# # +# You should have received a copy of the GNU General Public License # +# along with this program. If not, see . # +# # +############################################################################### + +############################################################################### +# Definitions +############################################################################### + +include $(PKGROOT)/Include + +PKG_NAME = libart_lgpl +PKG_VER = 2.3.19 +PKG_REL = 0 + +PKG_MAINTAINER = +PKG_GROUP = System/Graphics +PKG_URL = http://www.gnome.org +PKG_LICENSE = LGPLv2+ +PKG_SUMMARY = Library of graphics routines used by libgnomecanvas. + +PKG_DEPS += + +define PKG_DESCRIPTION + Graphics routines used by the GnomeCanvas widget and some other \ + applications. libart renders vector paths and the like. +endef + +PKG_TARBALL = $(THISAPP).tar.bz2 diff --git a/pkgs/core/libart/patches/libart_lgpl-2.3.19-upstream_fix-1.patch b/pkgs/core/libart/patches/libart_lgpl-2.3.19-upstream_fix-1.patch new file mode 100644 index 000000000..68d60ed49 --- /dev/null +++ b/pkgs/core/libart/patches/libart_lgpl-2.3.19-upstream_fix-1.patch @@ -0,0 +1,28 @@ +Submitted By: Randy McMurchy +Date: 2007-04-09 +Initial Package Version: 2.3.19 +Upstream Status: In upstream CVS +Origin: Upstream +Description: Fixes an error during the installation of KDE-Libs + + +diff -Naur libart_lgpl-2.3.19.orig/art_misc.h libart_lgpl-2.3.19/art_misc.h +--- libart_lgpl-2.3.19.orig/art_misc.h 2007-01-01 18:59:22.000000000 -0500 ++++ libart_lgpl-2.3.19/art_misc.h 2007-03-20 23:04:52.000000000 -0400 +@@ -34,9 +34,15 @@ + #include + #endif + ++#ifdef __cplusplus ++extern "C" { ++#endif + void *art_alloc(size_t size); + void art_free(void *ptr); + void *art_realloc(void *ptr, size_t size); ++#ifdef __cplusplus ++} ++#endif /* __cplusplus */ + + /* These aren't, strictly speaking, configuration macros, but they're + damn handy to have around, and may be worth playing with for +