Skip to Content.
Sympa Menu

sm-commit - [SM-Commit] GIT changes to master grimoire by Ismael Luceno (e1ec7cdbcd196bd15f7af2d9328f6ad4b5d52908)

sm-commit AT lists.ibiblio.org

Subject: Source Mage code commit list

List archive

Chronological Thread  
  • From: Ismael Luceno <scm AT sourcemage.org>
  • To: sm-commit AT lists.ibiblio.org
  • Subject: [SM-Commit] GIT changes to master grimoire by Ismael Luceno (e1ec7cdbcd196bd15f7af2d9328f6ad4b5d52908)
  • Date: Sun, 26 Dec 2021 19:25:53 +0000

GIT changes to master grimoire by Ismael Luceno <ismael AT sourcemage.org>:

ChangeLog | 3
+
libs/libcdr/DEPENDS | 8
++++
libs/libcdr/DETAILS | 15
++++++++
libs/libcdr/HISTORY | 2
+
libs/libfreehand/BUILD | 2
+
libs/libfreehand/DEPENDS | 10
+++++
libs/libfreehand/DETAILS | 15
++++++++
libs/libfreehand/HISTORY | 4
++
libs/libfreehand/PRE_BUILD | 4
++
libs/libfreehand/patches/0001-libfreehand-fix-build-w-newer-icu.patch | 18
++++++++++
libs/libfreehand/patches/0001-libfreehand-fix-gcc-8-2-0-build.patch | 18
++++++++++
11 files changed, 99 insertions(+)

New commits:
commit e1ec7cdbcd196bd15f7af2d9328f6ad4b5d52908
Author: Ismael Luceno <ismael AT sourcemage.org>
Commit: Ismael Luceno <ismael AT sourcemage.org>

libfreehand: new spell, Adobe FreeHand document file format parser

commit 3806e00c91dacb3d207a8cc27259bb086a6827d2
Author: Ismael Luceno <ismael AT sourcemage.org>
Commit: Ismael Luceno <ismael AT sourcemage.org>

libcdr: new spell, CorelDRAW document parser library

diff --git a/ChangeLog b/ChangeLog
index 57ea4ac..235d6ce 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -2,6 +2,9 @@
* libs/libnumbertext: new spell, Number to number name and money
text conversion libraries
* libs/libetonyek: new spell, Apple iWork document parser library
+ * libs/libcdr: new spell, CorelDRAW document parser library
+ * libs/libfreehand: new spell, Adobe FreeHand document file format
+ parser

2021-12-25 Pavel Vinogradov <public AT sourcemage.org>
* ruby-raa/ruby-3.1: new spell, Ruby 3.1
diff --git a/libs/libcdr/DEPENDS b/libs/libcdr/DEPENDS
new file mode 100755
index 0000000..0c4b4b7
--- /dev/null
+++ b/libs/libcdr/DEPENDS
@@ -0,0 +1,8 @@
+depends boost &&
+depends icu &&
+depends lcms2 &&
+depends librevenge &&
+depends zlib &&
+optional_depends doxygen \
+ --{with,without}-docs \
+ 'for building documentation'
diff --git a/libs/libcdr/DETAILS b/libs/libcdr/DETAILS
new file mode 100755
index 0000000..54422a3
--- /dev/null
+++ b/libs/libcdr/DETAILS
@@ -0,0 +1,15 @@
+ SPELL=libcdr
+ VERSION=0.1.7
+ SOURCE="$SPELL-$VERSION.tar.xz"
+ SOURCE_URL[0]=https://dev-www.libreoffice.org/src/$SPELL/$SOURCE
+
SOURCE_HASH=sha512:9af327fcf9f3f3ef1c446e92f4d2ff06ebaccb54d4c65b021960a212bf416f7098006324625f3e1c00500597eaa9da39832cc27b83a6cd593e97b76b1eb63d38
+SOURCE_DIRECTORY="$BUILD_DIRECTORY/$SPELL-$VERSION"
+ WEB_SITE="https://wiki.documentfoundation.org/DLP/Libraries/libcdr";
+ LICENSE[0]="MPL-2.0"
+ ENTERED=20211226
+ KEYWORDS=""
+ SHORT="CorelDRAW document parser library"
+cat << EOF
+Libcdr is a library that parses the file format of CorelDRAW documents of
+all versions.
+EOF
diff --git a/libs/libcdr/HISTORY b/libs/libcdr/HISTORY
new file mode 100644
index 0000000..0aadf93
--- /dev/null
+++ b/libs/libcdr/HISTORY
@@ -0,0 +1,2 @@
+2021-12-26 Ismael Luceno <ismael AT sourcemage.org>
+ * DEPENDS, DETAILS: spell created
diff --git a/libs/libfreehand/BUILD b/libs/libfreehand/BUILD
new file mode 100755
index 0000000..5f18791
--- /dev/null
+++ b/libs/libfreehand/BUILD
@@ -0,0 +1,2 @@
+CXXFLAGS+=' -Wno-deprecated-copy' &&
+default_build
diff --git a/libs/libfreehand/DEPENDS b/libs/libfreehand/DEPENDS
new file mode 100755
index 0000000..6cacaa6
--- /dev/null
+++ b/libs/libfreehand/DEPENDS
@@ -0,0 +1,10 @@
+depends boost &&
+depends gperf &&
+depends icu &&
+depends lcms2 &&
+depends librevenge &&
+depends zlib &&
+optional_depends doxygen \
+ "" \
+ "--without-docs" \
+ "for building documentation"
diff --git a/libs/libfreehand/DETAILS b/libs/libfreehand/DETAILS
new file mode 100755
index 0000000..f17fd83
--- /dev/null
+++ b/libs/libfreehand/DETAILS
@@ -0,0 +1,15 @@
+ SPELL=libfreehand
+ VERSION=0.1.2
+ SOURCE="$SPELL-$VERSION.tar.xz"
+ SOURCE_URL[0]=https://dev-www.libreoffice.org/src/$SPELL/$SOURCE
+
SOURCE_HASH=sha512:4112a76ac99999801d97d1b282596d631d8496a5bf65778ab26aa06da86637b1e2b630648a67ea01bf3316ecec9f2715546baff27af090b900267c87a011b963
+SOURCE_DIRECTORY="$BUILD_DIRECTORY/$SPELL-$VERSION"
+
WEB_SITE="https://wiki.documentfoundation.org/DLP/Libraries/libfreehand";
+ LICENSE[0]="MPL-2.0"
+ ENTERED=20211226
+ KEYWORDS=""
+ SHORT="Adobe FreeHand document file format parser"
+cat << EOF
+Libfreehand is a library that parses the file format of
Aldus/Macromedia/Adobe
+FreeHand documents. It supports documents from version 3 to 11.
+EOF
diff --git a/libs/libfreehand/HISTORY b/libs/libfreehand/HISTORY
new file mode 100644
index 0000000..f4d8b0e
--- /dev/null
+++ b/libs/libfreehand/HISTORY
@@ -0,0 +1,4 @@
+2021-12-26 Ismael Luceno <ismael AT sourcemage.org>
+ * BUILD, DEPENDS, DETAILS, PRE_BUILD,
+ patches/0001-libfreehand-fix-build-w-newer-icu.patch,
+ patches/0001-libfreehand-fix-gcc-8-2-0-build.patch: spell created
diff --git a/libs/libfreehand/PRE_BUILD b/libs/libfreehand/PRE_BUILD
new file mode 100755
index 0000000..49ddb90
--- /dev/null
+++ b/libs/libfreehand/PRE_BUILD
@@ -0,0 +1,4 @@
+default_pre_build &&
+cd "$SOURCE_DIRECTORY" &&
+apply_patch_dir patches &&
+sedit 's!maybe_os in$!& linux-musl*|\\!' config.sub
diff --git
a/libs/libfreehand/patches/0001-libfreehand-fix-build-w-newer-icu.patch
b/libs/libfreehand/patches/0001-libfreehand-fix-build-w-newer-icu.patch
new file mode 100644
index 0000000..c245962
--- /dev/null
+++ b/libs/libfreehand/patches/0001-libfreehand-fix-build-w-newer-icu.patch
@@ -0,0 +1,18 @@
+From d148c444e4ff9387da8ada8adf6c3af34e1c4729 Mon Sep 17 00:00:00 2001
+From: Jürgen Buchmüller <pullmoll AT t-online.de>
+Date: Sat, 27 Jun 2020 12:21:58 +0200
+Subject: [PATCH] libfreehand: fix build w/ newer icu
+
+Origin: Void Linux
+
+--- a/src/lib/libfreehand_utils.cpp
++++ b/src/lib/libfreehand_utils.cpp
+@@ -10,6 +10,8 @@
+ #include <cstdarg>
+ #include <cstdio>
+
++#define UPRV_BLOCK_MACRO_BEGIN
++#define UPRV_BLOCK_MACRO_END
+ #include <unicode/utf8.h>
+ #include <unicode/utf16.h>
+ #include "libfreehand_utils.h"
diff --git
a/libs/libfreehand/patches/0001-libfreehand-fix-gcc-8-2-0-build.patch
b/libs/libfreehand/patches/0001-libfreehand-fix-gcc-8-2-0-build.patch
new file mode 100644
index 0000000..279f9de
--- /dev/null
+++ b/libs/libfreehand/patches/0001-libfreehand-fix-gcc-8-2-0-build.patch
@@ -0,0 +1,18 @@
+From 84732ad38793ae5082f96f5acb1b784fd9028358 Mon Sep 17 00:00:00 2001
+From: Jürgen Buchmüller <pullmoll AT t-online.de>
+Date: Thu, 9 Aug 2018 11:08:16 +0200
+Subject: [PATCH] libfreehand: fix gcc-8.2.0 build
+
+Origin: Void Linux
+
+--- a/src/lib/FHCollector.cpp
++++ b/src/lib/FHCollector.cpp
+@@ -1907,7 +1907,7 @@
+ textObjectProps.insert("svg:width", width);
+ for (int i=0; i<4; ++i) // osnola: let assume that there is no padding
+ {
+- char const *(padding[])=
{"fo:padding-left","fo:padding-right","fo:padding-top","fo:padding-bottom"};
++ char const *padding[] =
{"fo:padding-left","fo:padding-right","fo:padding-top","fo:padding-bottom"};
+ textObjectProps.insert(padding[i],0,librevenge::RVNG_POINT);
+ }
+ if (!FH_ALMOST_ZERO(rotation))



  • [SM-Commit] GIT changes to master grimoire by Ismael Luceno (e1ec7cdbcd196bd15f7af2d9328f6ad4b5d52908), Ismael Luceno, 12/26/2021

Archive powered by MHonArc 2.6.24.

Top of Page