]> git.ipfire.org Git - ipfire-3.x.git/commitdiff
libart: New package.
authorSchantl Stefan <Stevee@ipfire.org>
Fri, 26 Feb 2010 20:40:03 +0000 (21:40 +0100)
committerSchantl Stefan <Stevee@ipfire.org>
Fri, 26 Feb 2010 20:40:03 +0000 (21:40 +0100)
pkgs/core/libart/libart.nm [new file with mode: 0644]
pkgs/core/libart/patches/libart_lgpl-2.3.19-upstream_fix-1.patch [new file with mode: 0644]

diff --git a/pkgs/core/libart/libart.nm b/pkgs/core/libart/libart.nm
new file mode 100644 (file)
index 0000000..2c1b47c
--- /dev/null
@@ -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 <http://www.gnu.org/licenses/>.       #
+#                                                                             #
+###############################################################################
+
+###############################################################################
+# 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 (file)
index 0000000..68d60ed
--- /dev/null
@@ -0,0 +1,28 @@
+Submitted By:            Randy McMurchy <randy_at_linuxfromscratch_dot_org>
+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 <libart_lgpl/art_config.h>
+ #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
+