Merged haikuports/haikuports into master

This commit is contained in:
Amjad Mash'al
2015-01-13 14:20:27 +02:00
112 changed files with 2403 additions and 1792 deletions

View File

@@ -1,70 +0,0 @@
SUMMARY="Generate documentation from source code"
DESCRIPTION="
Doxygen is the de facto standard tool for generating documentation from \
annotated C++ sources, but it also supports other popular programming \
languages such as C, Objective-C, C#, PHP, Java, Python, IDL (Corba and \
Microsoft flavors), Fortran, VHDL, Tcl, and to some extent D.
Doxygen can help you in three ways:
1. It can generate an on-line documentation browser (in HTML) and/or an \
off-line reference manual (in $\mbox{\LaTeX}$) from a set of documented source \
files. There is also support for generating output in RTF (MS-Word), \
PostScript, hyperlinked PDF, compressed HTML, and Unix man pages. The \
documentation is extracted directly from the sources, which makes it much \
easier to keep the documentation consistent with the source code.
2. You can configure doxygen to extract the code structure from undocumented \
source files. This is very useful to quickly find your way in large source \
distributions. Doxygen can also visualize the relations between the various \
elements by means of include dependency graphs, inheritance diagrams, and \
collaboration diagrams, which are all generated automatically.
3. You can also use doxygen for creating normal documentation (as I did for \
the doxygen user manual and web-site).
"
HOMEPAGE="http://www.doxygen.org"
COPYRIGHT="1997-2010 Dimitri van Heesch"
LICENSE="GNU GPL v2"
SRC_URI="http://ftp.stack.nl/pub/users/dimitri/doxygen-1.6.3.src.tar.gz"
CHECKSUM_SHA256="a3a6524b5fc1da084fd0e081507c99240abaffff85f76ef7b15c9fb3ae248492"
REVISION="4"
ARCHITECTURES="x86_gcc2 x86 x86_64"
PATCHES="doxygen-1.6.3.patchset"
PROVIDES="
doxygen = $portVersion compat >= 1.6
cmd:doxygen = $portVersion compat >= 1.6
cmd:doxytag = $portVersion compat >= 1.6
"
REQUIRES="
haiku
lib:libiconv
"
BUILD_REQUIRES="
devel:libiconv
"
BUILD_PREREQUIRES="
haiku_devel
cmd:bison
cmd:flex
cmd:gcc
cmd:ld
cmd:make
cmd:perl
cmd:sed
"
PATCH()
{
sed -i "s,MAN1DIR = man/man1,MAN1DIR = $relativeManDir/man1," Makefile.in
}
BUILD()
{
./configure --prefix $prefix --docdir $docDir
make $jobArgs
}
INSTALL()
{
make install
}

View File

@@ -1,42 +0,0 @@
SUMMARY="Generate documentation from source code"
DESCRIPTION="
Doxygen is the de facto standard tool for generating documentation from \
annotated C++ sources, but it also supports other popular programming \
languages such as C, Objective-C, C#, PHP, Java, Python, IDL (Corba and \
Microsoft flavors), Fortran, VHDL, Tcl, and to some extent D.
Doxygen can help you in three ways:
1. It can generate an on-line documentation browser (in HTML) and/or an \
off-line reference manual (in $\mbox{\LaTeX}$) from a set of documented source \
files. There is also support for generating output in RTF (MS-Word), \
PostScript, hyperlinked PDF, compressed HTML, and Unix man pages. The \
documentation is extracted directly from the sources, which makes it much \
easier to keep the documentation consistent with the source code.
2. You can configure doxygen to extract the code structure from undocumented \
source files. This is very useful to quickly find your way in large source \
distributions. Doxygen can also visualize the relations between the various \
elements by means of include dependency graphs, inheritance diagrams, and \
collaboration diagrams, which are all generated automatically.
3. You can also use doxygen for creating normal documentation (as I did for \
the doxygen user manual and web-site).
"
HOMEPAGE="http://www.doxygen.org"
SRC_URI="http://ftp.stack.nl/pub/users/dimitri/doxygen-1.7.4.src.tar.gz"
CHECKSUM_MD5="ff908759ff7cd9464424b04ae6c68e48"
REVISION="1"
STATUS_HAIKU="stable"
DEPEND=""
BUILD()
{
cd doxygen-1.7.4
sed -i 's/MAN1DIR = man\/man1/MAN1DIR = documentation\/man\/man1/' Makefile.in
./configure --prefix `finddir B_COMMON_DIRECTORY`
make
}
INSTALL()
{
cd doxygen-1.7.4
make install
}
LICENSE="GNU GPL v2"
COPYRIGHT="1997-2011 Dimitri van Heesch"

View File

@@ -0,0 +1,66 @@
SUMMARY="Generate documentation from source code"
DESCRIPTION="
Doxygen is the de facto standard tool for generating documentation from \
annotated C++ sources, but it also supports other popular programming \
languages such as C, Objective-C, C#, PHP, Java, Python, IDL (Corba and \
Microsoft flavors), Fortran, VHDL, Tcl, and to some extent D.
Doxygen can:
* generate an on-line documentation browser (in HTML) and/or an \
off-line reference manual (in LaTeX) from a set of documented source \
files. There is also support for generating output in RTF (MS-Word), \
PostScript, hyperlinked PDF, compressed HTML, and Unix man pages. The \
documentation is extracted directly from the sources, which makes it much \
easier to keep the documentation consistent with the source code.
* extract the code structure from undocumented source files. This is \
very useful to quickly find your way in large source distributions. \
Doxygen can also visualize the relations between the various elements \
by means of include dependency graphs, inheritance diagrams, and \
collaboration diagrams, which are all generated automatically."
HOMEPAGE="http://www.doxygen.org"
COPYRIGHT="1997-2011 Dimitri van Heesch"
LICENSE="GNU GPL v2"
SRC_URI="http://ftp.stack.nl/pub/users/dimitri/doxygen-$portVersion.src.tar.gz"
CHECKSUM_SHA256="0e60e794fb172d3fa4a9a9535f0b8e0eeb04e8366153f6b417569af0bcd61fcd"
PATCHES="doxygen-$portVersion.patch"
REVISION="1"
ARCHITECTURES="x86_gcc2 ?x86 ?x86_64"
PROVIDES="
doxygen = $portVersion compat >= 1.7
cmd:doxygen = $portVersion compat >= 1.7
cmd:doxytag = $portVersion compat >= 1.7
"
REQUIRES="
haiku
lib:libiconv
"
BUILD_REQUIRES="
devel:libiconv
"
BUILD_PREREQUIRES="
haiku_devel
cmd:bison
cmd:flex
cmd:gcc
cmd:ld
cmd:make
cmd:perl
cmd:sed
"
PATCH()
{
sed -i "s,MAN1DIR = man/man1,MAN1DIR = $relativeManDir/man1," Makefile.in
}
BUILD()
{
# not an autotools configure
./configure --prefix $prefix --docdir $docDir
make $jobArgs
}
INSTALL()
{
make install
}

View File

@@ -1,177 +0,0 @@
From 9612cfcd716d5924547e90229bd6e3cb51c950e9 Mon Sep 17 00:00:00 2001
From: Chris Roberts <cpr420@gmail.com>
Date: Wed, 21 Aug 2013 12:02:33 +0200
Subject: add support for Haiku
diff --git a/Makefile.in b/Makefile.in
index 781d359..9cd43eb 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -2,7 +2,7 @@
# cd qtools ; $(MAKE)
# cd src ; $(MAKE)
-DESTDIR =
+#DESTDIR =
clean: FORCE
cd examples ; $(MAKE) clean
diff --git a/PLATFORMS b/PLATFORMS
index c358a1d..18c4ed5 100644
--- a/PLATFORMS
+++ b/PLATFORMS
@@ -4,6 +4,7 @@ beos-g++
dgux-g++
freebsd-g++
gnu-g++
+haiku-g++
hpux-acc
hpux-cc
hpux-g++
diff --git a/configure b/configure
index c0db1c6..d631e47 100755
--- a/configure
+++ b/configure
@@ -180,6 +180,9 @@ if test -z "$f_platform"; then
f_insttool=/usr/bin/install
fi
;;
+ Haiku:*)
+ f_platform=haiku-g++
+ ;;
HP-UX:*)
f_platform=hpux-g++
if test "$f_insttool" = NO; then
diff --git a/qtools/qglobal.h b/qtools/qglobal.h
index 700cb80..259446d 100644
--- a/qtools/qglobal.h
+++ b/qtools/qglobal.h
@@ -150,6 +150,8 @@
#define _OS_CYGWIN_
#elif defined(__BEOS__)
#define _OS_BEOS_
+#elif defined(__HAIKU__)
+#define _OS_HAIKU_
#elif defined(__MINT__)
#define _OS_MINT_
#else
diff --git a/src/doxygen.pro.in b/src/doxygen.pro.in
index cc93820..c8a8d50 100644
--- a/src/doxygen.pro.in
+++ b/src/doxygen.pro.in
@@ -19,6 +19,7 @@ CONFIG = console warn_on $extraopts
HEADERS = doxygen.h
SOURCES = main.cpp
unix:LIBS += -L../lib -ldoxygen -ldoxycfg -lqtools -lmd5
+haiku-g++:LIBS += -L/boot/common/lib -liconv
win32:INCLUDEPATH += .
win32-mingw:LIBS += -L../lib -ldoxygen -ldoxycfg -lqtools -lmd5
win32-msvc:LIBS += qtools.lib md5.lib doxygen.lib doxycfg.lib shell32.lib iconv.lib
diff --git a/tmake/lib/haiku-g++/app.t b/tmake/lib/haiku-g++/app.t
new file mode 100644
index 0000000..867725e
--- /dev/null
+++ b/tmake/lib/haiku-g++/app.t
@@ -0,0 +1,2 @@
+#! Use the common Unix template
+#$ IncludeTemplate("../unix/app.t");
diff --git a/tmake/lib/haiku-g++/lib.t b/tmake/lib/haiku-g++/lib.t
new file mode 100644
index 0000000..2523b2f
--- /dev/null
+++ b/tmake/lib/haiku-g++/lib.t
@@ -0,0 +1,2 @@
+#! Use the common Unix template
+#$ IncludeTemplate("../unix/lib.t");
diff --git a/tmake/lib/haiku-g++/subdirs.t b/tmake/lib/haiku-g++/subdirs.t
new file mode 100644
index 0000000..5e888af
--- /dev/null
+++ b/tmake/lib/haiku-g++/subdirs.t
@@ -0,0 +1,2 @@
+#! Use the common Unix template
+#$ IncludeTemplate("../unix/subdirs.t");
diff --git a/tmake/lib/haiku-g++/tmake.conf b/tmake/lib/haiku-g++/tmake.conf
new file mode 100644
index 0000000..23a2738
--- /dev/null
+++ b/tmake/lib/haiku-g++/tmake.conf
@@ -0,0 +1,51 @@
+#
+#
+#
+# tmake configuration for haiku-g++
+#
+
+TEMPLATE = app
+CONFIG = qt warn_on release
+
+TMAKE_CC = gcc
+TMAKE_CFLAGS =
+TMAKE_CFLAGS_WARN_ON = -Wall -W
+TMAKE_CFLAGS_WARN_OFF =
+TMAKE_CFLAGS_RELEASE =
+TMAKE_CFLAGS_DEBUG = -g
+TMAKE_CFLAGS_SHLIB = -fPIC
+TMAKE_CFLAGS_YACC = -Wno-unused -Wno-parentheses
+
+TMAKE_CXX = g++
+TMAKE_CXXFLAGS = $$TMAKE_CFLAGS
+TMAKE_CXXFLAGS_WARN_ON = $$TMAKE_CFLAGS_WARN_ON
+TMAKE_CXXFLAGS_WARN_OFF = $$TMAKE_CFLAGS_WARN_OFF
+TMAKE_CXXFLAGS_RELEASE = $$TMAKE_CFLAGS_RELEASE
+TMAKE_CXXFLAGS_DEBUG = $$TMAKE_CFLAGS_DEBUG
+TMAKE_CXXFLAGS_SHLIB = $$TMAKE_CFLAGS_SHLIB
+TMAKE_CXXFLAGS_YACC = $$TMAKE_CFLAGS_YACC
+
+TMAKE_INCDIR =
+TMAKE_LIBDIR =
+TMAKE_INCDIR_QT = $(QTDIR)/include
+TMAKE_LIBDIR_QT = $(QTDIR)/lib
+
+TMAKE_LINK = g++
+TMAKE_LINK_SHLIB = g++
+TMAKE_LFLAGS = -Wl,-rpath=/lib:$(QTDIR)/lib
+TMAKE_LFLAGS_RELEASE =
+TMAKE_LFLAGS_DEBUG =
+TMAKE_LFLAGS_SHLIB = -shared
+TMAKE_LFLAGS_SONAME = -Wl,-soname,
+
+TMAKE_LIBS =
+TMAKE_LIBS_QT = -lqt
+TMAKE_LIBS_QT_MT = -lqt-mt
+
+TMAKE_MOC = moc
+
+TMAKE_AR = ar cqs
+TMAKE_RANLIB =
+
+TMAKE_TAR = tar -cf
+TMAKE_GZIP = gzip -9f
--
1.8.3.4
From 2e7199416501ace72e5ab2a548cc07ab25ef910e Mon Sep 17 00:00:00 2001
From: Ingo Weinhold <ingo_weinhold@gmx.de>
Date: Wed, 21 Aug 2013 12:21:09 +0200
Subject: qvaluestack.h: fix gcc 4 build
diff --git a/qtools/qvaluestack.h b/qtools/qvaluestack.h
index 3fb61fd..7438fcb 100644
--- a/qtools/qvaluestack.h
+++ b/qtools/qvaluestack.h
@@ -49,7 +49,7 @@ class Q_EXPORT QValueStack : public QValueList<T>
public:
QValueStack() {}
~QValueStack() {}
- void push( const T& d ) { append(d); }
+ void push( const T& d ) { this->append(d); }
T pop()
{
T elem( this->last() );
--
1.8.3.4

View File

@@ -1,158 +0,0 @@
diff -up doxygen-1.7.4/Makefile.in.orig doxygen-1.7.4/Makefile.in
--- doxygen-1.7.4/Makefile.in.orig 2009-08-20 13:41:13.056098816 -0600
+++ doxygen-1.7.4/Makefile.in 2011-05-14 12:14:04.776208384 -0600
@@ -2,7 +2,7 @@
# cd qtools ; $(MAKE)
# cd src ; $(MAKE)
-DESTDIR =
+#DESTDIR =
clean: FORCE
cd examples ; $(MAKE) clean
diff -up doxygen-1.7.4/PLATFORMS.orig doxygen-1.7.4/PLATFORMS
--- doxygen-1.7.4/PLATFORMS.orig 2007-11-24 09:12:35.056360960 -0700
+++ doxygen-1.7.4/PLATFORMS 2011-05-14 12:14:04.777519104 -0600
@@ -4,6 +4,7 @@ beos-g++
dgux-g++
freebsd-g++
gnu-g++
+haiku-g++
hpux-acc
hpux-cc
hpux-g++
diff -up doxygen-1.7.4/configure.orig doxygen-1.7.4/configure
--- doxygen-1.7.4/configure.orig 2011-03-28 07:12:47.055050240 -0600
+++ doxygen-1.7.4/configure 2011-05-14 12:14:04.783548416 -0600
@@ -180,6 +180,9 @@ if test -z "$f_platform"; then
f_insttool=/usr/bin/install
fi
;;
+ Haiku:*)
+ f_platform=haiku-g++
+ ;;
HP-UX:*)
f_platform=hpux-g++
if test "$f_insttool" = NO; then
diff -up doxygen-1.7.4/qtools/qglobal.h.orig doxygen-1.7.4/qtools/qglobal.h
--- doxygen-1.7.4/qtools/qglobal.h.orig 2010-06-09 03:49:13.006553600 -0600
+++ doxygen-1.7.4/qtools/qglobal.h 2011-05-14 12:14:04.784859136 -0600
@@ -150,6 +150,8 @@
#define _OS_CYGWIN_
#elif defined(__BEOS__)
#define _OS_BEOS_
+#elif defined(__HAIKU__)
+#define _OS_HAIKU_
#elif defined(__MINT__)
#define _OS_MINT_
#else
diff -up doxygen-1.7.4/qtools/qthread_unix.cpp.orig doxygen-1.7.4/qtools/qthread_unix.cpp
--- doxygen-1.7.4/qtools/qthread_unix.cpp.orig 2010-05-15 09:48:47.012058624 -0600
+++ doxygen-1.7.4/qtools/qthread_unix.cpp 2011-05-14 12:14:04.785645568 -0600
@@ -123,7 +123,7 @@ void QThread::start()
pthread_attr_t attr;
pthread_attr_init(&attr);
pthread_attr_setdetachstate(&attr,PTHREAD_CREATE_DETACHED);
- pthread_attr_setinheritsched(&attr, PTHREAD_INHERIT_SCHED);
+ //pthread_attr_setinheritsched(&attr, PTHREAD_INHERIT_SCHED);
if (d->stackSize>0)
{
#if defined(_POSIX_THREAD_ATTR_STACKSIZE) && (_POSIX_THREAD_ATTR_STACKSIZE-0>0)
diff -up doxygen-1.7.4/src/doxygen.cpp.orig doxygen-1.7.4/src/doxygen.cpp
--- doxygen-1.7.4/src/doxygen.cpp.orig 2011-03-22 15:56:58.029360128 -0600
+++ doxygen-1.7.4/src/doxygen.cpp 2011-05-14 12:14:04.802684928 -0600
@@ -9465,7 +9465,7 @@ void readConfiguration(int argc, char **
{
if (optind+4<argc || QFileInfo("Doxyfile").exists())
{
- QCString df = optind+4<argc ? argv[optind+4] : QCString("Doxyfile");
+ QCString df = optind+4<argc ? (QCString)argv[optind+4] : QCString("Doxyfile");
if (!Config::instance()->parse(df))
{
err("error opening or reading configuration file %s!\n",argv[optind+4]);
diff -up doxygen-1.7.4/src/doxygen.pro.in.orig doxygen-1.7.4/src/doxygen.pro.in
--- doxygen-1.7.4/src/doxygen.pro.in.orig 2011-01-03 13:14:46.046661632 -0700
+++ doxygen-1.7.4/src/doxygen.pro.in 2011-05-14 12:15:50.176947200 -0600
@@ -18,7 +18,8 @@ TEMPLATE = app.t
CONFIG = console warn_on $extraopts
HEADERS = doxygen.h
SOURCES = main.cpp
-unix:LIBS += -L../lib -ldoxygen -ldoxycfg -lqtools -lmd5 -lpthread
+unix:LIBS += -L../lib -ldoxygen -ldoxycfg -lqtools -lmd5
+haiku-g++:LIBS += -L/boot/common/lib -liconv
win32:INCLUDEPATH += .
win32-mingw:LIBS += -L../lib -ldoxygen -ldoxycfg -lqtools -lmd5 -lpthread
win32-msvc:LIBS += qtools.lib md5.lib doxygen.lib doxycfg.lib shell32.lib iconv.lib
diff -up doxygen-1.7.4/tmake/lib/haiku-g++/app.t.orig doxygen-1.7.4/tmake/lib/haiku-g++/app.t
--- doxygen-1.7.4/tmake/lib/haiku-g++/app.t.orig 2011-05-14 12:14:04.823132160 -0600
+++ doxygen-1.7.4/tmake/lib/haiku-g++/app.t 2011-05-14 12:14:04.818937856 -0600
@@ -0,0 +1,2 @@
+#! Use the common Unix template
+#$ IncludeTemplate("../unix/app.t");
diff -up doxygen-1.7.4/tmake/lib/haiku-g++/lib.t.orig doxygen-1.7.4/tmake/lib/haiku-g++/lib.t
--- doxygen-1.7.4/tmake/lib/haiku-g++/lib.t.orig 2011-05-14 12:14:04.828375040 -0600
+++ doxygen-1.7.4/tmake/lib/haiku-g++/lib.t 2011-05-14 12:14:04.827326464 -0600
@@ -0,0 +1,2 @@
+#! Use the common Unix template
+#$ IncludeTemplate("../unix/lib.t");
diff -up doxygen-1.7.4/tmake/lib/haiku-g++/subdirs.t.orig doxygen-1.7.4/tmake/lib/haiku-g++/subdirs.t
--- doxygen-1.7.4/tmake/lib/haiku-g++/subdirs.t.orig 2011-05-14 12:14:04.830210048 -0600
+++ doxygen-1.7.4/tmake/lib/haiku-g++/subdirs.t 2011-05-14 12:14:04.828899328 -0600
@@ -0,0 +1,2 @@
+#! Use the common Unix template
+#$ IncludeTemplate("../unix/subdirs.t");
diff -up doxygen-1.7.4/tmake/lib/haiku-g++/tmake.conf.orig doxygen-1.7.4/tmake/lib/haiku-g++/tmake.conf
--- doxygen-1.7.4/tmake/lib/haiku-g++/tmake.conf.orig 2011-05-14 12:14:04.832045056 -0600
+++ doxygen-1.7.4/tmake/lib/haiku-g++/tmake.conf 2011-05-14 12:14:04.830734336 -0600
@@ -0,0 +1,51 @@
+#
+#
+#
+# tmake configuration for haiku-g++
+#
+
+TEMPLATE = app
+CONFIG = qt warn_on release
+
+TMAKE_CC = gcc
+TMAKE_CFLAGS =
+TMAKE_CFLAGS_WARN_ON = -Wall -W
+TMAKE_CFLAGS_WARN_OFF =
+TMAKE_CFLAGS_RELEASE =
+TMAKE_CFLAGS_DEBUG = -g
+TMAKE_CFLAGS_SHLIB = -fPIC
+TMAKE_CFLAGS_YACC = -Wno-unused -Wno-parentheses
+
+TMAKE_CXX = g++
+TMAKE_CXXFLAGS = $$TMAKE_CFLAGS
+TMAKE_CXXFLAGS_WARN_ON = $$TMAKE_CFLAGS_WARN_ON
+TMAKE_CXXFLAGS_WARN_OFF = $$TMAKE_CFLAGS_WARN_OFF
+TMAKE_CXXFLAGS_RELEASE = $$TMAKE_CFLAGS_RELEASE
+TMAKE_CXXFLAGS_DEBUG = $$TMAKE_CFLAGS_DEBUG
+TMAKE_CXXFLAGS_SHLIB = $$TMAKE_CFLAGS_SHLIB
+TMAKE_CXXFLAGS_YACC = $$TMAKE_CFLAGS_YACC
+
+TMAKE_INCDIR =
+TMAKE_LIBDIR =
+TMAKE_INCDIR_QT = $(QTDIR)/include
+TMAKE_LIBDIR_QT = $(QTDIR)/lib
+
+TMAKE_LINK = g++
+TMAKE_LINK_SHLIB = g++
+TMAKE_LFLAGS = -Wl,-rpath=/lib:$(QTDIR)/lib
+TMAKE_LFLAGS_RELEASE =
+TMAKE_LFLAGS_DEBUG =
+TMAKE_LFLAGS_SHLIB = -shared
+TMAKE_LFLAGS_SONAME = -Wl,-soname,
+
+TMAKE_LIBS =
+TMAKE_LIBS_QT = -lqt
+TMAKE_LIBS_QT_MT = -lqt-mt
+
+TMAKE_MOC = moc
+
+TMAKE_AR = ar cqs
+TMAKE_RANLIB =
+
+TMAKE_TAR = tar -cf
+TMAKE_GZIP = gzip -9f

View File

@@ -0,0 +1,216 @@
From 9309a5412ccb754634cca91ce1f43fd30ed4e0ce Mon Sep 17 00:00:00 2001
From: Augustin Cavalier <waddlesplash@gmail.com>
Date: Sat, 10 Jan 2015 20:13:41 -0500
Subject: [PATCH] Modifications so Doxygen works on Haiku.
---
PLATFORMS | 1 +
configure | 3 +++
qtools/qglobal.h | 6 +++--
qtools/qthread_unix.cpp | 2 +-
src/doxygen.cpp | 2 +-
src/doxygen.pro.in | 11 ++++-----
tmake/lib/haiku-g++/app.t | 2 ++
tmake/lib/haiku-g++/lib.t | 2 ++
tmake/lib/haiku-g++/subdirs.t | 2 ++
tmake/lib/haiku-g++/tmake.conf | 51 ++++++++++++++++++++++++++++++++++++++++++
10 files changed, 73 insertions(+), 9 deletions(-)
create mode 100644 tmake/lib/haiku-g++/app.t
create mode 100644 tmake/lib/haiku-g++/lib.t
create mode 100644 tmake/lib/haiku-g++/subdirs.t
create mode 100644 tmake/lib/haiku-g++/tmake.conf
diff --git a/PLATFORMS b/PLATFORMS
index c358a1d..18c4ed5 100644
--- a/PLATFORMS
+++ b/PLATFORMS
@@ -4,6 +4,7 @@ beos-g++
dgux-g++
freebsd-g++
gnu-g++
+haiku-g++
hpux-acc
hpux-cc
hpux-g++
diff --git a/configure b/configure
index 07b0ef0..a4625e2 100755
--- a/configure
+++ b/configure
@@ -180,6 +180,9 @@ if test -z "$f_platform"; then
f_insttool=/usr/bin/install
fi
;;
+ Haiku:*)
+ f_platform=haiku-g++
+ ;;
HP-UX:*)
f_platform=hpux-g++
if test "$f_insttool" = NO; then
diff --git a/qtools/qglobal.h b/qtools/qglobal.h
index 352d985..20601e3 100644
--- a/qtools/qglobal.h
+++ b/qtools/qglobal.h
@@ -1,5 +1,5 @@
/****************************************************************************
-**
+**
**
** Global type declarations and definitions
**
@@ -153,6 +153,8 @@
#define _OS_CYGWIN_
#elif defined(__BEOS__)
#define _OS_BEOS_
+#elif defined(__HAIKU__)
+#define _OS_HAIKU_
#elif defined(__MINT__)
#define _OS_MINT_
#else
@@ -295,7 +297,7 @@
#define _CC_V2002
#else
#define _CC_V1998
-#endif
+#endif
#endif
#ifndef Q_PACKED
diff --git a/qtools/qthread_unix.cpp b/qtools/qthread_unix.cpp
index 5a7b788..0d4fd6e 100644
--- a/qtools/qthread_unix.cpp
+++ b/qtools/qthread_unix.cpp
@@ -124,7 +124,7 @@ void QThread::start()
pthread_attr_t attr;
pthread_attr_init(&attr);
pthread_attr_setdetachstate(&attr,PTHREAD_CREATE_DETACHED);
- pthread_attr_setinheritsched(&attr, PTHREAD_INHERIT_SCHED);
+ //pthread_attr_setinheritsched(&attr, PTHREAD_INHERIT_SCHED);
if (d->stackSize>0)
{
#if defined(_POSIX_THREAD_ATTR_STACKSIZE) && (_POSIX_THREAD_ATTR_STACKSIZE-0>0)
diff --git a/src/doxygen.cpp b/src/doxygen.cpp
index b790410..117e639 100644
--- a/src/doxygen.cpp
+++ b/src/doxygen.cpp
@@ -9566,7 +9566,7 @@ void readConfiguration(int argc, char **argv)
{
if (optind+4<argc || QFileInfo("Doxyfile").exists())
{
- QCString df = optind+4<argc ? argv[optind+4] : QCString("Doxyfile");
+ QCString df = optind+4<argc ? (QCString)argv[optind+4] : QCString("Doxyfile");
if (!Config::instance()->parse(df))
{
err("error opening or reading configuration file %s!\n",argv[optind+4]);
diff --git a/src/doxygen.pro.in b/src/doxygen.pro.in
index afdf242..bb64792 100644
--- a/src/doxygen.pro.in
+++ b/src/doxygen.pro.in
@@ -4,8 +4,8 @@
# Copyright (C) 1997-2011 by Dimitri van Heesch.
#
# Permission to use, copy, modify, and distribute this software and its
-# documentation under the terms of the GNU General Public License is hereby
-# granted. No representations are made about the suitability of this software
+# documentation under the terms of the GNU General Public License is hereby
+# granted. No representations are made about the suitability of this software
# for any purpose. It is provided "as is" without express or implied warranty.
# See the GNU General Public License for more details.
#
@@ -16,9 +16,10 @@
TEMPLATE = app.t
CONFIG = console warn_on $extraopts
-HEADERS = doxygen.h
-SOURCES = main.cpp
-unix:LIBS += -L../lib -ldoxygen -ldoxycfg -lqtools -lmd5 -lpthread
+HEADERS = doxygen.h
+SOURCES = main.cpp
+unix:LIBS += -L../lib -ldoxygen -ldoxycfg -lqtools -lmd5
+haiku-g++:LIBS += -liconv
win32:INCLUDEPATH += .
win32-mingw:LIBS += -L../lib -ldoxygen -ldoxycfg -lqtools -lmd5 -lpthread
win32-msvc:LIBS += qtools.lib md5.lib doxygen.lib doxycfg.lib shell32.lib iconv.lib
diff --git a/tmake/lib/haiku-g++/app.t b/tmake/lib/haiku-g++/app.t
new file mode 100644
index 0000000..867725e
--- /dev/null
+++ b/tmake/lib/haiku-g++/app.t
@@ -0,0 +1,2 @@
+#! Use the common Unix template
+#$ IncludeTemplate("../unix/app.t");
diff --git a/tmake/lib/haiku-g++/lib.t b/tmake/lib/haiku-g++/lib.t
new file mode 100644
index 0000000..2523b2f
--- /dev/null
+++ b/tmake/lib/haiku-g++/lib.t
@@ -0,0 +1,2 @@
+#! Use the common Unix template
+#$ IncludeTemplate("../unix/lib.t");
diff --git a/tmake/lib/haiku-g++/subdirs.t b/tmake/lib/haiku-g++/subdirs.t
new file mode 100644
index 0000000..5e888af
--- /dev/null
+++ b/tmake/lib/haiku-g++/subdirs.t
@@ -0,0 +1,2 @@
+#! Use the common Unix template
+#$ IncludeTemplate("../unix/subdirs.t");
diff --git a/tmake/lib/haiku-g++/tmake.conf b/tmake/lib/haiku-g++/tmake.conf
new file mode 100644
index 0000000..3b8c103
--- /dev/null
+++ b/tmake/lib/haiku-g++/tmake.conf
@@ -0,0 +1,51 @@
+#
+#
+#
+# tmake configuration for haiku-g++
+#
+
+TEMPLATE = app
+CONFIG = qt warn_on release
+
+TMAKE_CC = gcc
+TMAKE_CFLAGS =
+TMAKE_CFLAGS_WARN_ON = -Wall -W
+TMAKE_CFLAGS_WARN_OFF =
+TMAKE_CFLAGS_RELEASE =
+TMAKE_CFLAGS_DEBUG = -g
+TMAKE_CFLAGS_SHLIB = -fPIC
+TMAKE_CFLAGS_YACC = -Wno-unused -Wno-parentheses
+
+TMAKE_CXX = g++
+TMAKE_CXXFLAGS = $$TMAKE_CFLAGS
+TMAKE_CXXFLAGS_WARN_ON = $$TMAKE_CFLAGS_WARN_ON
+TMAKE_CXXFLAGS_WARN_OFF = $$TMAKE_CFLAGS_WARN_OFF
+TMAKE_CXXFLAGS_RELEASE = $$TMAKE_CFLAGS_RELEASE
+TMAKE_CXXFLAGS_DEBUG = $$TMAKE_CFLAGS_DEBUG
+TMAKE_CXXFLAGS_SHLIB = $$TMAKE_CFLAGS_SHLIB
+TMAKE_CXXFLAGS_YACC = $$TMAKE_CFLAGS_YACC
+
+TMAKE_INCDIR =
+TMAKE_LIBDIR =
+TMAKE_INCDIR_QT = $(QTDIR)/include
+TMAKE_LIBDIR_QT = $(QTDIR)/lib
+
+TMAKE_LINK = g++
+TMAKE_LINK_SHLIB = g++
+TMAKE_LFLAGS = -Wl,-rpath=/lib:$(QTDIR)/lib
+TMAKE_LFLAGS_RELEASE =
+TMAKE_LFLAGS_DEBUG =
+TMAKE_LFLAGS_SHLIB = -shared
+TMAKE_LFLAGS_SONAME = -Wl,-soname,
+
+TMAKE_LIBS =
+TMAKE_LIBS_QT = -lqt
+TMAKE_LIBS_QT_MT = -lqt-mt
+
+TMAKE_MOC = moc
+
+TMAKE_AR = ar cqs
+TMAKE_RANLIB =
+
+TMAKE_TAR = tar -cf
+TMAKE_GZIP = gzip -9f
--
1.8.3.4

View File

@@ -0,0 +1,49 @@
SUMMARY="Google Maps Mini"
DESCRIPTION="
Qt Widget that allows a user to choose lat/lng from a GoogleMap view, with location search
"
HOMEPAGE="http://www.haikuware.com/directory/view-details/internet-network/web-browsers/googlemaps-mini"
SRC_URI="git+https://github.com/mgermain-genymobile/GoogleMapQtWidget.git#3fefbef368430deda7bd26e2a875cca3db2126ce"
REVISION="1"
LICENSE="MIT"
COPYRIGHT="2013 Morgan Germain"
ARCHITECTURES="?x86 ?x86_64"
if [ $effectiveTargetArchitecture != x86_gcc2 ]; then
ARCHITECTURES="$ARCHITECTURES x86_gcc2"
else
ARCHITECTURES="$ARCHITECTURES !x86_gcc2"
fi
SECONDARY_ARCHITECTURES="x86"
PROVIDES="
googlemaps_mini = $portVersion
app:googlemaps_mini = $portVersion
"
REQUIRES="
haiku${secondaryArchSuffix}
libqt4${secondaryArchSuffix} < 5
"
BUILD_REQUIRES="
haiku${secondaryArchSuffix}_devel
libqt4${secondaryArchSuffix}_devel < 5
"
BUILD_PREREQUIRES="
cmd:make
cmd:gcc${secondaryArchSuffix}
cmd:qmake${secondaryArchSuffix}
"
BUILD()
{
qmake
make $jobArgs
}
INSTALL()
{
mkdir -p $appsDir
cp build/mgeGoogleMap $appsDir/GoogleMapsMini
addAppDeskbarSymlink $appsDir/GoogleMapsMini
}

View File

@@ -7,7 +7,7 @@ incorporates useful features from the Korn and C shells (ksh and csh).
HOMEPAGE="http://www.gnu.org/software/bash/"
SRC_URI="https://ftp.gnu.org/gnu/bash/bash-4.3.tar.gz"
CHECKSUM_SHA256="afc687a28e0e24dc21b988fa159ff9dbcf6b7caa92ade8645cc6d5605cd024d4"
for i in {001..030}; do
for i in {001..033}; do
eval "SRC_URI_$i=\"https://ftp.gnu.org/gnu/bash/bash-4.3-patches/bash43-$i#noarchive\""
done
CHECKSUM_SHA256_001="ecb3dff2648667513e31554b3ad054ccd89fce38e33367c9459ac3a285153742"
@@ -40,6 +40,9 @@ CHECKSUM_SHA256_027="1eb76ad28561d27f7403ff3c76a36e932928a4b58a01b868d663c165f07
CHECKSUM_SHA256_028="e8b0dbed4724fa7b9bd8ff77d12c7f03da0fbfc5f8251ef5cb8511eb082b469d"
CHECKSUM_SHA256_029="4cc4a397fe6bc63ecb97d030a4e44258ef2d4e076d0e90c77782968cc43d6292"
CHECKSUM_SHA256_030="85434f8a2f379d0c49a3ff6d9ffa12c8b157188dd739e556d638217d2a58385b"
CHECKSUM_SHA256_031="cd529f59dd0f2fdd49d619fe34691da6f0affedf87cc37cd460a9f3fe812a61d"
CHECKSUM_SHA256_032="889357d29a6005b2c3308ca5b6286cb223b5e9c083219e5db3156282dd554f4a"
CHECKSUM_SHA256_033="fb2a7787a13fbe027a7335aca6eb3c21cdbd813e9edc221274b6a9d8692eaa16"
PATCHES="bash-kill_by_name.patch"
SOURCE_DIR="bash-4.3"
REVISION="1"
@@ -75,7 +78,7 @@ BUILD_PREREQUIRES="
PATCH()
{
for i in {001..030}; do
for i in {001..033}; do
patch -p0 < ../../sources-$i/bash43-$i
done
}

View File

@@ -1,4 +1,4 @@
From f7d6b2b6f44a8f9337c9103d298222747d547ebf Mon Sep 17 00:00:00 2001
From 87c88af3eef31c978cecf0d96665af0c4109d7e5 Mon Sep 17 00:00:00 2001
From: Jerome Duval <jerome.duval@gmail.com>
Date: Wed, 12 Mar 2014 21:17:06 +0000
Subject: initial Haiku patch
@@ -79,7 +79,7 @@ index b9f1c6c..7be61d3 100644
# finalize_unix ()
diff --git a/Lib/distutils/sysconfig.py b/Lib/distutils/sysconfig.py
index 4aa9334..d06e5e8 100644
index de7da1d..8180c8e 100644
--- a/Lib/distutils/sysconfig.py
+++ b/Lib/distutils/sysconfig.py
@@ -90,7 +90,8 @@ def get_python_inc(plat_specific=0, prefix=None):
@@ -497,10 +497,10 @@ index 53a6c3e..6c5f52f 100644
if (PyErr_Occurred()) {
Py_DECREF(result);
diff --git a/Modules/socketmodule.c b/Modules/socketmodule.c
index 880f311..54b66f7 100644
index e9e4479..84b6305 100644
--- a/Modules/socketmodule.c
+++ b/Modules/socketmodule.c
@@ -4868,7 +4868,9 @@ init_socket(void)
@@ -4869,7 +4869,9 @@ init_socket(void)
#ifndef __BEOS__
/* We have incomplete socket support. */
PyModule_AddIntConstant(m, "SOCK_RAW", SOCK_RAW);
@@ -511,7 +511,7 @@ index 880f311..54b66f7 100644
PyModule_AddIntConstant(m, "SOCK_RDM", SOCK_RDM);
#endif
diff --git a/Modules/socketmodule.h b/Modules/socketmodule.h
index 8515499..4e33e4f 100644
index d98e00e..2bfb3dc 100644
--- a/Modules/socketmodule.h
+++ b/Modules/socketmodule.h
@@ -47,6 +47,10 @@ typedef int socklen_t;
@@ -584,10 +584,10 @@ index c64501e..7df3ad7 100755
elif sys.platform.startswith("atheos"):
searchdirs=os.environ['C_INCLUDE_PATH'].split(':')
diff --git a/configure.ac b/configure.ac
index 54f8c0f..1ea438a 100644
index 94a215e..41fbd47 100644
--- a/configure.ac
+++ b/configure.ac
@@ -883,7 +883,7 @@ if test $enable_shared = "yes"; then
@@ -886,7 +886,7 @@ if test $enable_shared = "yes"; then
RUNSHARED=LD_LIBRARY_PATH=`pwd`${LD_LIBRARY_PATH:+:${LD_LIBRARY_PATH}}
INSTSONAME="$LDLIBRARY".$SOVERSION
;;
@@ -596,7 +596,7 @@ index 54f8c0f..1ea438a 100644
LDLIBRARY='libpython$(VERSION).so'
BLDLIBRARY='-L. -lpython$(VERSION)'
RUNSHARED=LD_LIBRARY_PATH=`pwd`${LD_LIBRARY_PATH:+:${LD_LIBRARY_PATH}}
@@ -891,6 +891,9 @@ if test $enable_shared = "yes"; then
@@ -894,6 +894,9 @@ if test $enable_shared = "yes"; then
FreeBSD*)
SOVERSION=`echo $SOVERSION|cut -d "." -f 1`
;;
@@ -606,7 +606,7 @@ index 54f8c0f..1ea438a 100644
esac
INSTSONAME="$LDLIBRARY".$SOVERSION
;;
@@ -1006,7 +1009,7 @@ AC_PROG_MKDIR_P
@@ -1009,7 +1012,7 @@ AC_PROG_MKDIR_P
AC_SUBST(LN)
if test -z "$LN" ; then
case $ac_sys_system in
@@ -615,7 +615,7 @@ index 54f8c0f..1ea438a 100644
CYGWIN*) LN="ln -s";;
atheos*) LN="ln -s";;
*) LN=ln;;
@@ -2030,7 +2033,7 @@ then
@@ -2033,7 +2036,7 @@ then
BLDSHARED="$LDSHARED"
fi
;;
@@ -624,7 +624,7 @@ index 54f8c0f..1ea438a 100644
LDSHARED='$(CC) -shared'
LDCXXSHARED='$(CXX) -shared';;
BSD/OS*/4*)
@@ -2102,7 +2105,7 @@ then
@@ -2105,7 +2108,7 @@ then
then CCSHARED="-fPIC";
else CCSHARED="+z";
fi;;
@@ -633,7 +633,7 @@ index 54f8c0f..1ea438a 100644
BSD/OS*/4*) CCSHARED="-fpic";;
FreeBSD*|NetBSD*|OpenBSD*|DragonFly*) CCSHARED="-fPIC";;
OpenUNIX*|UnixWare*)
@@ -2134,7 +2137,7 @@ then
@@ -2137,7 +2140,7 @@ then
LINKFORSHARED="-Wl,-E -Wl,+s";;
# LINKFORSHARED="-Wl,-E -Wl,+s -Wl,+b\$(BINLIBDEST)/lib-dynload";;
BSD/OS/4*) LINKFORSHARED="-Xlinker -export-dynamic";;
@@ -642,7 +642,7 @@ index 54f8c0f..1ea438a 100644
# -u libsys_s pulls in all symbols in libsys
Darwin/*)
# -u _PyMac_Error is needed to pull in the mac toolbox glue,
@@ -2249,14 +2252,16 @@ case "$ac_sys_system" in
@@ -2252,14 +2255,16 @@ case "$ac_sys_system" in
esac
# Most SVR4 platforms (e.g. Solaris) need -lsocket and -lnsl.
@@ -663,7 +663,7 @@ index 54f8c0f..1ea438a 100644
esac
AC_MSG_CHECKING(for --with-libs)
@@ -3592,7 +3597,7 @@ fi],
@@ -3595,7 +3600,7 @@ fi],
AC_SUBST(LIBM)
case $ac_sys_system in
Darwin) ;;
@@ -673,10 +673,10 @@ index 54f8c0f..1ea438a 100644
esac
AC_MSG_CHECKING(for --with-libm=STRING)
diff --git a/setup.py b/setup.py
index a46bf35..9fe247f 100644
index 7868b7b..bc4a1a4 100644
--- a/setup.py
+++ b/setup.py
@@ -523,6 +523,12 @@ class PyBuildExt(build_ext):
@@ -525,6 +525,12 @@ class PyBuildExt(build_ext):
lib_dirs += os.getenv('LIBRARY_PATH', '').split(os.pathsep)
inc_dirs += ['/system/include', '/atheos/autolnk/include']
inc_dirs += os.getenv('C_INCLUDE_PATH', '').split(os.pathsep)
@@ -689,7 +689,7 @@ index a46bf35..9fe247f 100644
# OSF/1 and Unixware have some stuff in /usr/ccs/lib (like -ldb)
if host_platform in ['osf1', 'unixware7', 'openunix8']:
@@ -551,7 +557,7 @@ class PyBuildExt(build_ext):
@@ -553,7 +559,7 @@ class PyBuildExt(build_ext):
# Check for MacOS X, which doesn't need libm.a at all
math_libs = ['m']
@@ -698,7 +698,7 @@ index a46bf35..9fe247f 100644
math_libs = []
# XXX Omitted modules: gl, pure, dl, SGI-specific modules
@@ -790,15 +796,22 @@ class PyBuildExt(build_ext):
@@ -792,15 +798,22 @@ class PyBuildExt(build_ext):
'/usr/local/ssl/include',
'/usr/contrib/ssl/include/'
]
@@ -724,7 +724,7 @@ index a46bf35..9fe247f 100644
['/usr/local/ssl/lib',
'/usr/contrib/ssl/lib/'
] )
@@ -806,8 +819,8 @@ class PyBuildExt(build_ext):
@@ -808,8 +821,8 @@ class PyBuildExt(build_ext):
if (ssl_incs is not None and
ssl_libs is not None):
exts.append( Extension('_ssl', ['_ssl.c'],
@@ -735,7 +735,7 @@ index a46bf35..9fe247f 100644
libraries = ['ssl', 'crypto'],
depends = ['socketmodule.h']), )
else:
@@ -845,8 +858,8 @@ class PyBuildExt(build_ext):
@@ -847,8 +860,8 @@ class PyBuildExt(build_ext):
# The _hashlib module wraps optimized implementations
# of hash functions from the OpenSSL library.
exts.append( Extension('_hashlib', ['_hashopenssl.c'],
@@ -746,7 +746,7 @@ index a46bf35..9fe247f 100644
libraries = ['ssl', 'crypto']) )
else:
print ("warning: openssl 0x%08x is too old for _hashlib" %
@@ -1325,7 +1338,7 @@ class PyBuildExt(build_ext):
@@ -1327,7 +1340,7 @@ class PyBuildExt(build_ext):
missing.append('resource')
# Sun yellow pages. Some systems have the functions in libc.
@@ -759,14 +759,14 @@ index a46bf35..9fe247f 100644
1.8.3.4
From 571ed69e1ab40fd11c4a1fdcb6198ff787c5129b Mon Sep 17 00:00:00 2001
From 6347fda5298f9aa5eca939541924464fcf8a19d1 Mon Sep 17 00:00:00 2001
From: Jerome Duval <jerome.duval@gmail.com>
Date: Sat, 5 Apr 2014 21:16:40 +0000
Subject: fix pyconfig.h path
diff --git a/Makefile.pre.in b/Makefile.pre.in
index bcd83bf..f93c10a 100644
index 7f4ec2f..25a93e5 100644
--- a/Makefile.pre.in
+++ b/Makefile.pre.in
@@ -105,7 +105,7 @@ BINDIR= @bindir@
@@ -782,7 +782,7 @@ index bcd83bf..f93c10a 100644
1.8.3.4
From d49a8ee2494391b3a1c50bc652f0838ac036e046 Mon Sep 17 00:00:00 2001
From 5e90b750c4bfef1376bb083d48524c41fc5fefa6 Mon Sep 17 00:00:00 2001
From: Adrien Destugues <pulkomandy@pulkomandy.tk>
Date: Wed, 18 Jun 2014 12:19:13 +0000
Subject: Import missed change from the 2.6.9 patches
@@ -814,17 +814,17 @@ index d2e18f1..34d5aee 100644
1.8.3.4
From a0b72ccfc2f385c3ec9148523d981c7d971e2636 Mon Sep 17 00:00:00 2001
From 307d21aa5ea6336db7ec3dd9429436441b61ab8d Mon Sep 17 00:00:00 2001
From: Adrien Destugues <pulkomandy@pulkomandy.tk>
Date: Sun, 21 Sep 2014 18:59:44 +0200
Subject: gcc2 fix.
diff --git a/Modules/_ctypes/libffi/include/ffi_common.h b/Modules/_ctypes/libffi/include/ffi_common.h
index 650ca69..02a1913 100644
index 37f5a9e..37b0b25 100644
--- a/Modules/_ctypes/libffi/include/ffi_common.h
+++ b/Modules/_ctypes/libffi/include/ffi_common.h
@@ -115,7 +115,7 @@ typedef signed int SINT64 __attribute__((__mode__(__DI__)));
@@ -119,7 +119,7 @@ typedef signed int SINT64 __attribute__((__mode__(__DI__)));
typedef float FLOAT32;
@@ -837,17 +837,17 @@ index 650ca69..02a1913 100644
1.8.3.4
From d50a28e47cbd54263d065f47b2650333d917c2b9 Mon Sep 17 00:00:00 2001
From b1aabdb8e27c669873ec393344389aa343a6aeab Mon Sep 17 00:00:00 2001
From: Jerome Duval <jerome.duval@gmail.com>
Date: Fri, 28 Nov 2014 16:26:28 +0000
Subject: tarfile: let link fail and catch exception.
diff --git a/Lib/tarfile.py b/Lib/tarfile.py
index 57ea877..bc3f82c 100644
index b0d1292..b5952ae 100644
--- a/Lib/tarfile.py
+++ b/Lib/tarfile.py
@@ -2242,7 +2242,7 @@ class TarFile(object):
@@ -2261,7 +2261,7 @@ class TarFile(object):
(platform limitation), we try to make a copy of the referenced file
instead of a link.
"""
@@ -856,7 +856,7 @@ index 57ea877..bc3f82c 100644
# For systems that support symbolic and hard links.
if tarinfo.issym():
if os.path.lexists(targetpath):
@@ -2256,7 +2256,7 @@ class TarFile(object):
@@ -2275,7 +2275,7 @@ class TarFile(object):
os.link(tarinfo._link_target, targetpath)
else:
self._extract_member(self._find_link_target(tarinfo), targetpath)
@@ -868,3 +868,118 @@ index 57ea877..bc3f82c 100644
--
1.8.3.4
From 5398326cd9e24ca71a025f48ea0079b8d40456ec Mon Sep 17 00:00:00 2001
From: Timothy Gu <timothygu99@gmail.com>
Date: Sun, 11 Jan 2015 18:18:22 -0800
Subject: Fix resource module after the initial haiku patch
diff --git a/Modules/resource.c b/Modules/resource.c
index 6c5f52f..73758bb 100644
--- a/Modules/resource.c
+++ b/Modules/resource.c
@@ -101,6 +101,21 @@ resource_getrusage(PyObject *self, PyObject *args)
PyStructSequence_SET_ITEM(result, 13, PyInt_FromLong(ru.ru_nsignals));
PyStructSequence_SET_ITEM(result, 14, PyInt_FromLong(ru.ru_nvcsw));
PyStructSequence_SET_ITEM(result, 15, PyInt_FromLong(ru.ru_nivcsw));
+#else
+ PyStructSequence_SET_ITEM(result, 2, PyInt_FromLong(0));
+ PyStructSequence_SET_ITEM(result, 3, PyInt_FromLong(0));
+ PyStructSequence_SET_ITEM(result, 4, PyInt_FromLong(0));
+ PyStructSequence_SET_ITEM(result, 5, PyInt_FromLong(0));
+ PyStructSequence_SET_ITEM(result, 6, PyInt_FromLong(0));
+ PyStructSequence_SET_ITEM(result, 7, PyInt_FromLong(0));
+ PyStructSequence_SET_ITEM(result, 8, PyInt_FromLong(0));
+ PyStructSequence_SET_ITEM(result, 9, PyInt_FromLong(0));
+ PyStructSequence_SET_ITEM(result, 10, PyInt_FromLong(0));
+ PyStructSequence_SET_ITEM(result, 11, PyInt_FromLong(0));
+ PyStructSequence_SET_ITEM(result, 12, PyInt_FromLong(0));
+ PyStructSequence_SET_ITEM(result, 13, PyInt_FromLong(0));
+ PyStructSequence_SET_ITEM(result, 14, PyInt_FromLong(0));
+ PyStructSequence_SET_ITEM(result, 15, PyInt_FromLong(0));
#endif
if (PyErr_Occurred()) {
--
1.8.3.4
From 6d7958a9371618a6b7a53f8de6b71633be2af7c3 Mon Sep 17 00:00:00 2001
From: Timothy Gu <timothygu99@gmail.com>
Date: Sun, 11 Jan 2015 18:40:43 -0800
Subject: resource: Fix [gs]et_rlimit() modes detection
Haiku defines many of them, but they are actually empty stubs that will always
return EINVAL. No better way of doing this.
diff --git a/Modules/resource.c b/Modules/resource.c
index 73758bb..0c396f6 100644
--- a/Modules/resource.c
+++ b/Modules/resource.c
@@ -284,19 +284,19 @@ initresource(void)
(PyObject*) &StructRUsageType);
/* insert constants */
-#ifdef RLIMIT_CPU
+#if !defined(__HAIKU__) && defined(RLIMIT_CPU)
PyModule_AddIntConstant(m, "RLIMIT_CPU", RLIMIT_CPU);
#endif
-#ifdef RLIMIT_FSIZE
+#if !defined(__HAIKU__) && defined(RLIMIT_FSIZE)
PyModule_AddIntConstant(m, "RLIMIT_FSIZE", RLIMIT_FSIZE);
#endif
-#ifdef RLIMIT_DATA
+#if !defined(__HAIKU__) && defined(RLIMIT_DATA)
PyModule_AddIntConstant(m, "RLIMIT_DATA", RLIMIT_DATA);
#endif
-#ifdef RLIMIT_STACK
+#if !defined(__HAIKU__) && defined(RLIMIT_STACK)
PyModule_AddIntConstant(m, "RLIMIT_STACK", RLIMIT_STACK);
#endif
@@ -308,31 +308,31 @@ initresource(void)
PyModule_AddIntConstant(m, "RLIMIT_NOFILE", RLIMIT_NOFILE);
#endif
-#ifdef RLIMIT_OFILE
+#if !defined(__HAIKU__) && defined(RLIMIT_OFILE)
PyModule_AddIntConstant(m, "RLIMIT_OFILE", RLIMIT_OFILE);
#endif
-#ifdef RLIMIT_VMEM
+#if !defined(__HAIKU__) && defined(RLIMIT_VMEM)
PyModule_AddIntConstant(m, "RLIMIT_VMEM", RLIMIT_VMEM);
#endif
-#ifdef RLIMIT_AS
+#if !defined(__HAIKU__) && defined(RLIMIT_AS)
PyModule_AddIntConstant(m, "RLIMIT_AS", RLIMIT_AS);
#endif
-#ifdef RLIMIT_RSS
+#if !defined(__HAIKU__) && defined(RLIMIT_RSS)
PyModule_AddIntConstant(m, "RLIMIT_RSS", RLIMIT_RSS);
#endif
-#ifdef RLIMIT_NPROC
+#if !defined(__HAIKU__) && defined(RLIMIT_NPROC)
PyModule_AddIntConstant(m, "RLIMIT_NPROC", RLIMIT_NPROC);
#endif
-#ifdef RLIMIT_MEMLOCK
+#if !defined(__HAIKU__) && defined(RLIMIT_MEMLOCK)
PyModule_AddIntConstant(m, "RLIMIT_MEMLOCK", RLIMIT_MEMLOCK);
#endif
-#ifdef RLIMIT_SBSIZE
+#if !defined(__HAIKU__) && defined(RLIMIT_SBSIZE)
PyModule_AddIntConstant(m, "RLIMIT_SBSIZE", RLIMIT_SBSIZE);
#endif
--
1.8.3.4

View File

@@ -13,7 +13,7 @@ LICENSE="Python"
COPYRIGHT="1990-2012, Python Software Foundation"
SRC_URI="https://www.python.org/ftp/python/$portVersion/Python-$portVersion.tar.xz"
CHECKSUM_SHA256="90d27e14ea7e03570026850e2e50ba71ad20b7eb31035aada1cf3def8f8d4916"
REVISION="1"
REVISION="3"
ARCHITECTURES="x86_gcc2 x86 x86_64"
PATCHES="python-$portVersion.patchset"

View File

@@ -15,7 +15,7 @@ conditions.
"
HOMEPAGE="http://www.openssl.org/"
SRC_URI="http://www.openssl.org/source/openssl-$portVersion.tar.gz"
CHECKSUM_SHA256="3895eb5b1c2ba079406d081340d9e1dc064f4fbf4d0f41d53cefd154adef2aa2"
CHECKSUM_SHA256="b745d11f19531620a2e7402167d54845d253f2da3e523c2d0950595aef104fc8"
LICENSE="OpenSSL"
COPYRIGHT="
1995-1998 Eric Young

View File

@@ -1,37 +0,0 @@
diff -Naur premake-4.3/build/gmake.unix/Premake4.make premake-4.3-haiku/build/gmake.unix/Premake4.make
--- premake-4.3/build/gmake.unix/Premake4.make 2010-11-16 11:29:14.028311552 +0000
+++ premake-4.3-haiku/build/gmake.unix/Premake4.make 2012-12-27 23:50:16.043253760 +0000
@@ -28,8 +28,8 @@
CPPFLAGS += -MMD -MP $(DEFINES) $(INCLUDES)
CFLAGS += $(CPPFLAGS) $(ARCH) -Wall -Os
CXXFLAGS += $(CFLAGS)
- LDFLAGS += -s -rdynamic
- LIBS += -lm -ldl
+ LDFLAGS += -s
+ LIBS +=
RESFLAGS += $(DEFINES) $(INCLUDES)
LDDEPS +=
LINKCMD = $(CC) -o $(TARGET) $(OBJECTS) $(LDFLAGS) $(RESOURCES) $(ARCH) $(LIBS)
diff -Naur premake-4.3/src/host/lua-5.1.4/src/luaconf.h premake-4.3-haiku/src/host/lua-5.1.4/src/luaconf.h
--- premake-4.3/src/host/lua-5.1.4/src/luaconf.h 2010-11-16 11:29:12.042991616 +0000
+++ premake-4.3-haiku/src/host/lua-5.1.4/src/luaconf.h 2012-12-27 23:50:16.050331648 +0000
@@ -55,7 +55,6 @@
#define LUA_USE_MKSTEMP
#define LUA_USE_ISATTY
#define LUA_USE_POPEN
-#define LUA_USE_ULONGJMP
#endif
diff -Naur premake-4.3/src/host/premake.h premake-4.3-haiku/src/host/premake.h
--- premake-4.3/src/host/premake.h 2010-11-16 11:29:12.047185920 +0000
+++ premake-4.3-haiku/src/host/premake.h 2012-12-27 23:50:16.052166656 +0000
@@ -12,7 +12,7 @@
/* Identify the current platform I'm not sure how to reliably detect
* Windows but since it is the most common I use it as the default */
-#if defined(__linux__)
+#if defined(__linux__) || defined(__HAIKU__)
#define PLATFORM_LINUX (1)
#define PLATFORM_STRING "linux"
#elif defined(__FreeBSD__) || defined(__NetBSD__) || defined(__OpenBSD__)

View File

@@ -1,23 +0,0 @@
DESCRIPTION="Powerfully simple build configuration"
HOMEPAGE="http://industriousone.com/premake"
SRC_URI="http://sourceforge.net/projects/premake/files/Premake/4.3/premake-4.3-src.zip/download"
CHECKSUM_MD5="8cfafee76f9665c93b2e9ad15b015eb7"
REVISION="1"
STATUS_HAIKU="stable"
DEPEND=""
BUILD()
{
cd premake-4.3/build/gmake.unix
make config=release
}
INSTALL()
{
cd premake-4.3/bin/release
mkdir -p $DESTDIR`finddir B_COMMON_BIN_DIRECTORY`
install -m 0755 premake4 $DESTDIR`finddir B_COMMON_BIN_DIRECTORY`
}
LICENSE="BSD (2-clause)"
COPYRIGHT="2012 Industrious One, LLC"

View File

@@ -0,0 +1,63 @@
SUMMARY="Powerfully simple build configuration"
DESCRIPTION="\
Describe your software project with a full-featured scripting language and \
let Premake write the build scripts for you. With one file your project can \
support both IDE-addicted Windows coders and Linux command-line junkies!
"
HOMEPAGE="http://industriousone.com/premake"
SRC_URI="http://sourceforge.net/projects/premake/files/Premake/4.4/premake-4.4-beta5-src.zip"
CHECKSUM_SHA256="0fa1ed02c5229d931e87995123cdb11d44fcc8bd99bba8e8bb1bbc0aaa798161"
REVISION="1"
LICENSE="BSD (2-clause)"
COPYRIGHT="2012 Industrious One, LLC"
ARCHITECTURES="x86 ?x86_64"
if [ $effectiveTargetArchitecture != x86_gcc2 ]; then
ARCHITECTURES="$ARCHITECTURES x86_gcc2"
else
ARCHITECTURES="$ARCHITECTURES !x86_gcc2"
fi
SECONDARY_ARCHITECTURES="x86"
PROVIDES="
premake
premake4$secondaryArchSuffix = $portVersion
cmd:premake4$secondaryArchSuffix = $portVersion
"
REQUIRES="
haiku$secondaryArchSuffix
"
BUILD_REQUIRES="
haiku${secondaryArchSuffix}_devel
"
BUILD_PREREQUIRES="
cmd:gcc$secondaryArchSuffix
cmd:ld$secondaryArchSuffix
cmd:make
"
SOURCE_DIR="premake-4.4-beta5"
PATCH()
{
sed -i '/#define LUA_USE_ULONGJMP/d' src/host/lua-5.1.4/src/luaconf.h
sed -i '/-lm/d' build/gmake.unix/Premake4.make
sed -i 's/-rdynamic//g' build/gmake.unix/Premake4.make
}
BUILD()
{
cd build/gmake.unix
make config=release
}
INSTALL()
{
cd bin/release
mkdir -p $binDir
install -m 0755 premake4 $binDir
}

View File

@@ -0,0 +1,74 @@
SUMMARY="Cyberdogs SDL."
DESCRIPTION="DOS third-person shooting game. \
In this game, you get guns to shoot zombies and cyborgs. \
For a DOS game, the graphics are pretty good. \
This also comes with a map editor."
HOMEPAGE="https://github.com/lmartinking/cdogs-sdl"
SRC_URI="https://codeload.github.com/lmartinking/cdogs-sdl/zip/master"
SRC_URI_2="https://codeload.github.com/lmartinking/cdogs-sdl-data/zip/master"
SRC_FILENAME="cdogs-sdl-master.zip"
SRC_FILENAME_2="cdogs-sdl-data-master.zip"
CHECKSUM_SHA256="9dca57eb6d73e6ff0bbb97867b2ef1797d1a6899722294951f4f74bcf2c2f1af"
CHECKSUM_SHA256_2="8c71bf2d964f1bc098463abcd795bcd400570bad367fb952206be9e83bcdcb11"
SOURCE_DIR="cdogs-sdl-master/src"
REVISION="1"
LICENSE="GNU GPL v2"
COPYRIGHT="2008-2010 Lucas Martin-King"
ARCHITECTURES="x86 x86_gcc2"
PROVIDES="
Cyberdogs_SDL= $portVersion
app:Cyberdogs_SDL= $portVersion
"
REQUIRES="
haiku
lib:libsdl
lib:libsdl_mixer
"
BUILD_REQUIRES="
haiku_devel
devel:libsdl
devel:libsdl_mixer
"
BUILD_PREREQUIRES="
cmd:make
cmd:gcc
"
PATCH()
{
sed -i "s|PREFIX := /usr/local|PREFIX := $appsDir/cdogs_sdl|" $sourceDir/Makefile
sed -i "s|:= no|:= yes|" $sourceDir/Makefile
sed -i "s|BINDIR := "'$(PREFIX)'"/games/bin|BINDIR := $appsDir/cdogs_sdl|" $sourceDir/Makefile
sed -i "s|DATADIR := "'$(PREFIX)'"/share/games/cdogs-sdl|DATADIR := $appsDir/cdogs_sdl/data|" $sourceDir/Makefile
sed -i "s|DOCDIR := "'$(PREFIX)'"/share/doc/cdogs-sdl|DOCDIR := $appsDir/cdogs_sdl/docs|" $sourceDir/Makefile
sed -i "s|DATA := ../data|DATA := $appsDir/cdogs_sdl/data|" $sourceDir/Makefile
}
BUILD()
{
mkdir -p $appsDir/cdogs_sdl/doc/
mkdir -p $appsDir/cdogs_sdl/data
mkdir -p $sourceDir/data
mkdir -p $settingsDir/cdogs
cd $sourceDir/data
cp -r $sourceDir2/cdogs-sdl-data-master/* $sourceDir/data
cd $sourceDir
chmod 777 ./install.sh
mkdir -p data
make $jobArgs cdogs-sdl USE_PKGCONFIG=no
make $jobArgs cdogs-sdl-editor USE_PKGCONFIG=no
}
INSTALL()
{
mkdir -p $appsDir/cdogs_sdl
cp cdogs-sdl $appsDir/cdogs_sdl
cp cdogs-sdl-editor $appsDir/cdogs_sdl
cp -r data/* $appsDir/cdogs_sdl/data
addAppDeskbarSymlink $appsDir/cdogs_sdl/cdogs-sdl Cyberdogs-sdl
}

View File

@@ -76,7 +76,7 @@ index 9ed5d32..ff88206 100644
--
1.8.3.4
From c929f602fb74adcdf495e144b66f4981c0655ba5 Mon Sep 17 00:00:00 2001
From d04f6bda69bbf66b5aa9e3dd8e06c0b6f487bc0f Mon Sep 17 00:00:00 2001
From: Adrien Destugues <pulkomandy@pulkomandy.tk>
Date: Sun, 6 Apr 2014 19:41:58 +0200
Subject: [PATCH 3/4] Fix install directories.
@@ -84,8 +84,8 @@ Subject: [PATCH 3/4] Fix install directories.
---
bear/cmake-helper/bear-config.cmake | 2 +-
bear/cmake-module/CMakeLists.txt | 2 +-
plee-the-bear/CMakeLists.txt | 6 +++---
3 files changed, 5 insertions(+), 5 deletions(-)
plee-the-bear/CMakeLists.txt | 8 ++++----
3 files changed, 6 insertions(+), 6 deletions(-)
diff --git a/bear/cmake-helper/bear-config.cmake b/bear/cmake-helper/bear-config.cmake
index e66d79e..b483445 100644
@@ -114,10 +114,10 @@ index e182689..24c2113 100644
set( BEAR_CMAKE_MODULES
diff --git a/plee-the-bear/CMakeLists.txt b/plee-the-bear/CMakeLists.txt
index 6a123d9..c3dbb90 100644
index 6a123d9..3d81af2 100644
--- a/plee-the-bear/CMakeLists.txt
+++ b/plee-the-bear/CMakeLists.txt
@@ -23,7 +23,7 @@ include( docbook-to-man )
@@ -23,12 +23,12 @@ include( docbook-to-man )
#-------------------------------------------------------------------------------
# where the game resources are installed
if( NOT PTB_INSTALL_DATA_DIR )
@@ -126,6 +126,12 @@ index 6a123d9..c3dbb90 100644
endif( NOT PTB_INSTALL_DATA_DIR )
# where the game executables are installed
if( NOT PTB_INSTALL_EXECUTABLE_DIR )
- set( PTB_INSTALL_EXECUTABLE_DIR bin )
+ set( PTB_INSTALL_EXECUTABLE_DIR bin${CMAKE_HAIKU_SECONDARY_ARCH_SUBDIR} )
endif( NOT PTB_INSTALL_EXECUTABLE_DIR )
# where the game libraries (the items) are installed
@@ -38,7 +38,7 @@ if( NOT PTB_INSTALL_CUSTOM_LIBRARY_DIR )
"${PTB_INSTALL_EXECUTABLE_DIR}"
)
@@ -147,7 +153,7 @@ index 6a123d9..c3dbb90 100644
--
1.8.3.4
From 34aca4d0b287e50d35957badf3e72060264f7a45 Mon Sep 17 00:00:00 2001
From c842dde59df8ca44ecf4e318e8641bcc335e1ec5 Mon Sep 17 00:00:00 2001
From: Theodore Kokkoris <t.kokkoris@gmail.com>
Date: Wed, 24 Dec 2014 23:53:14 +0200
Subject: [PATCH 4/4] Change settings location on Haiku

View File

@@ -19,8 +19,8 @@ SECONDARY_ARCHITECTURES="!x86_gcc2 x86"
PROVIDES="
plee_the_bear = $portVersion
cmd:plee_the_bear = $portVersion
lib:libplee_the_bear$secondaryArchSuffix
cmd:plee_the_bear$secondaryArchSuffix = $portVersion
lib:libplee_the_bear$secondaryArchSuffix = $portVersion
lib:libbear_audio$secondaryArchSuffix
lib:libbear_communication$secondaryArchSuffix
lib:libbear_debug$secondaryArchSuffix
@@ -91,7 +91,7 @@ INSTALL()
make install
rm -r $prefix/share
addAppDeskbarSymlink $binDir/plee_the_bear "Plee the Bear"
addAppDeskbarSymlink $binDir/plee-the-bear "Plee the Bear"
}
# ----- DESCRIPTION -----------------------------------------------------------

View File

@@ -0,0 +1,87 @@
SUMMARY="A C++ 2D game engine designed for an easy cross-platform game development"
DESCRIPTION="
Entropia Engine++ is a C++ 2D game engine designed for an easy \
cross-platform game development.
"
HOMEPAGE="http://bitbucket.org/SpartanJ/eepp"
SRC_URI="hg+http://bitbucket.org/SpartanJ/eepp#7318464094366388344fe30e58f521c6b46781b6"
REVISION="1"
LICENSE="MIT"
COPYRIGHT="2011-2014 Martín Lucas Golini"
ARCHITECTURES="x86_gcc2 ?x86 ?x86_64"
SECONDARY_ARCHITECTURES="x86"
PROVIDES="
eepp$secondaryArchSuffix = $portVersion
lib:libeepp$secondaryArchSuffix = $portVersion
lib:libeepp_debug$secondaryArchSuffix = $portVersion
"
REQUIRES="
haiku$secondaryArchSuffix
lib:libsdl2$secondaryArchSuffix
lib:libopenal$secondaryArchSuffix
lib:libgl$secondaryArchSuffix
lib:libgcc_s$secondaryArchSuffix
lib:libstdc++$secondaryArchSuffix
"
BUILD_REQUIRES="
haiku${secondaryArchSuffix}_devel
devel:libsdl2$secondaryArchSuffix
devel:libopenal$secondaryArchSuffix
devel:libgl$secondaryArchSuffix
lib:libgcc_s$secondaryArchSuffix
lib:libstdc++$secondaryArchSuffix
"
BUILD_PREREQUIRES="
cmd:gcc$secondaryArchSuffix
cmd:ld$secondaryArchSuffix
cmd:premake4$secondaryArchSuffix
cmd:make
cmd:hg
"
SOURCE_DIR=""
BUILD()
{
cd src/eepp/helper
rm -rf SOIL2
hg clone http://bitbucket.org/SpartanJ/soil2 SOIL2 -r 5ebbd585ec79022bf94db977c0e56eae374e7156
sed -i '/targetname "soil2"/a \
\
configuration "haiku" \
buildoptions{ "-march=native" }' SOIL2/premake4.lua
cd ../../..
premake4 gmake --os=haiku
cd make/haiku
make
}
INSTALL()
{
mkdir -p $includeDir
mkdir -p $developLibDir
mkdir -p $libDir
cp -r include/* $includeDir/
cp libs/haiku/lib*.a $developLibDir/
cp libs/haiku/lib*.so $libDir/
prepareInstalledDevelLibs libeepp-debug
packageEntries devel $developDir
}
PROVIDES_devel="
eepp${secondaryArchSuffix}_devel = $portVersion
devel:libeepp$secondaryArchSuffix = $portVersion
devel:libeepp_debug$secondaryArchSuffix = $portVersion
devel:libeepp_main$secondaryArchSuffix = $portVersion
devel:libeepp_static_debug$secondaryArchSuffix = $portVersion
"
REQUIRES_devel="
eepp$secondaryArchSuffix == $portVersion
"

View File

@@ -0,0 +1,66 @@
SUMMARY="Abe's Amazing Adventure!!"
DESCRIPTION="This is a very simple platformer game for children. \
It's a worthwhile adventure, no doubt. Find treasures as you go! \
In addition, this game also comes with a Map Editor.
"
HOMEPAGE="http://abe.sourceforge.net/"
SRC_URI="http://superb-dca3.dl.sourceforge.net/project/abe/abe/abe-1.1/abe-1.1.tar.gz"
CHECKSUM_SHA256="dfc4ea74c04c92175abc5c9d65cfa6aad218209854d87d87758878e303b677f7"
SOURCE_DIR="abe-1.1"
REVISION="1"
LICENSE="GNU GPL v2"
COPYRIGHT="2001-2013 Gabor Torok"
ARCHITECTURES="x86 x86_gcc2"
PROVIDES="
Abe= $portVersion
app:Abe= $portVersion
"
REQUIRES="
haiku
lib:libsdl
lib:libsdl_mixer
"
BUILD_REQUIRES="
haiku_devel
devel:libsdl
devel:libsdl_mixer
"
BUILD_PREREQUIRES="
cmd:libtoolize
cmd:make
cmd:gcc
cmd:aclocal
cmd:automake
cmd:autoconf
"
PATCH()
{
sed -i 's/AM_CONFIG_HEADER/AC_CONFIG_HEADERS/g' configure.in
}
BUILD()
{
libtoolize --force --copy --install
aclocal -I $sourceDir
autoconf
./autogen.sh
runConfigure ./configure
make $jobArgs
}
INSTALL()
{
make install
mkdir -p $appsDir/Abe
cd src
cp abe $appsDir/Abe
cd $sourceDir
cp -r maps savegame sounds images devcpp dist $appsDir/Abe
addAppDeskbarSymlink $appsDir/Abe/abe
}

View File

@@ -0,0 +1,35 @@
resource app_signature "application/x-vnd.lgames.lmarbles";
resource vector_icon array {
$"6E63696604020106023D1D3F341202B40EF83D18AC49111A48F914FF00008200"
$"0097FF020116023D20000000000000003D2000494000496000FF4700DD044A82"
$"05010402044030C34530BC3A30304030BC3A30C3454050BC3A50C34550504050"
$"C34550BC3A0204C35CBC8C4BBDE0C295BB37BEBEBC03C084BAFABCF7BD0CBCEF"
$"C04BBC29BEF7BDB6C1A0C18DC0D4BFC7C1DDC354BFCB06033E414F3B48414939"
$"4540463D454649060EEEBFFB0F304E224724512142253F2333203A2530302F28"
$"2D312B3A27342740274331432E43344038433F443AC08DC14E4046434B434745"
$"4A504F4C48C7E4C8D24C5C4D5B4B5D3E55BFD5CC153359110A020100023D6148"
$"2CE9C7B814483D76EE4A84FB4A8D970A020100023C8D1ABC8FEE3CA8493CA55A"
$"48DD5F4A66B20A03010330242001178400040A010100023E6000000000000000"
$"3E6000C380004850000A02010220141A0A030100123E60000000000000003E60"
$"0046A00049300001178300040A000100023E60000000000000003E600046A000"
$"4930000A0201022024200A030100123E60000000000000003E60004910004A08"
$"0001178300040A010100023E60000000000000003E60004910004A08000A0301"
$"00123E60000000000000003E6000C3800044400001178300040A000100023E60"
$"000000000000003E6000C380004440000A030100123E60000000000000003E60"
$"0046A00046E00001178300040A010100023E60000000000000003E600046A000"
$"46E0000A0201022023130A030100123E60000000000000003E600046A000C280"
$"0001178300040A000100023E60000000000000003E600046A000C28000"
};
resource app_version {
major = 1,
middle = 0,
minor = 8,
variety = B_APPV_FINAL,
internal = 0,
short_info = "LMarbles",
long_info = "LMarbles ©2000 Michael Speck"
};

View File

@@ -9,17 +9,16 @@ and not a time limit. This way you have as much time as you need to think."
HOMEPAGE="http://lgames.sourceforge.net/"
SRC_URI="http://sourceforge.net/projects/lgames/files/lmarbles/lmarbles-1.0.8.tar.gz"
CHECKSUM_SHA256="0e5a16a0116d325589b28f3555ced6a0b486f0fd7632cd3d98bee5cddf213e83"
REVISION="1"
REVISION="2"
LICENSE="GNU GPL v2"
COPYRIGHT="2000 Michael Speck"
ARCHITECTURES="x86_gcc2 ?x86 ?x86_64"
PATCHES="lmarbles-1.0.8.patch"
GLOBAL_WRITABLE_FILES="var/lmarbles.prfs keep-old"
PATCHES="lmarbles-1.0.8.patchset"
PROVIDES="
lmarbles = $portVersion
cmd:lmarbles = $portVersion
app:LMarbles = $portVersion
"
REQUIRES="
@@ -39,6 +38,7 @@ BUILD_PREREQUIRES="
cmd:gcc
cmd:ld
cmd:libtoolize
cmd:xres
"
BUILD()
@@ -46,10 +46,15 @@ BUILD()
libtoolize --force --copy --install
runConfigure ./configure
make $jobArgs
addResourcesToBinaries $portDir/additional-files/lmarbles.rdef src/lmarbles
}
INSTALL()
{
make install
addAppDeskbarSymlink $binDir/lmarbles LMarbles
mkdir -p $appsDir
mv $binDir/lmarbles $appsDir/LMarbles
addAppDeskbarSymlink $appsDir/LMarbles LMarbles
mimeset -f $appsDir/LMarbles
}

View File

@@ -1,20 +0,0 @@
--- lmarbles-1.0.8/configure.org 2009-10-26 20:56:13.000000000 +0100
+++ lmarbles-1.0.8/configure 2014-07-14 18:31:02.527958016 +0200
@@ -5154,7 +5154,7 @@
echo $ECHO_N "(cached) $ECHO_C" >&6
else
ac_check_lib_save_LIBS=$LIBS
-LIBS="-lm $LIBS"
+LIBS="$LIBS"
cat >conftest.$ac_ext <<_ACEOF
/* confdefs.h. */
_ACEOF
@@ -5208,7 +5208,7 @@
#define HAVE_LIBM 1
_ACEOF
- LIBS="-lm $LIBS"
+ LIBS="$LIBS"
else
{ { echo "$as_me:$LINENO: error: lib math is needed" >&5

View File

@@ -0,0 +1,105 @@
From 6b5f57906db0f0fd8a15fc60da2a791d9ea2bc36 Mon Sep 17 00:00:00 2001
From: Puck Meerburg <puck@puckipedia.nl>
Date: Mon, 5 Jan 2015 17:41:59 +0100
Subject: Apply original lmarbles patch
diff --git a/configure b/configure
index 543fb95..b012313 100755
--- a/configure
+++ b/configure
@@ -5154,7 +5154,7 @@ if test "${ac_cv_lib_m_main+set}" = set; then
echo $ECHO_N "(cached) $ECHO_C" >&6
else
ac_check_lib_save_LIBS=$LIBS
-LIBS="-lm $LIBS"
+LIBS="$LIBS"
cat >conftest.$ac_ext <<_ACEOF
/* confdefs.h. */
_ACEOF
@@ -5208,7 +5208,7 @@ if test $ac_cv_lib_m_main = yes; then
#define HAVE_LIBM 1
_ACEOF
- LIBS="-lm $LIBS"
+ LIBS="$LIBS"
else
{ { echo "$as_me:$LINENO: error: lib math is needed" >&5
--
1.8.3.4
From f837403562b62f6aa17a967597fe61e54499a7bb Mon Sep 17 00:00:00 2001
From: Puck Meerburg <puck@puckipedia.nl>
Date: Mon, 5 Jan 2015 17:54:53 +0100
Subject: Have lmarbles use find_directory for config
diff --git a/src/cfg.c b/src/cfg.c
index 2831c1b..4d713f5 100644
--- a/src/cfg.c
+++ b/src/cfg.c
@@ -25,6 +25,10 @@
#include <sys/stat.h>
#include <dirent.h>
+#ifdef __HAIKU__
+#include <FindDirectory.h>
+#endif
+
#ifdef _WIN32
#define MKDIR(d, p) mkdir(d)
#else
@@ -40,14 +44,16 @@ Cfg cfg;
void C_StPth()
{
DIR *dir;
-#ifdef _WIN32
+#if defined(__HAIKU__)
+ find_directory(B_USER_SETTINGS_DIRECTORY, -1, false, c_pth, sizeof(c_pth) - 1);
+#elif defined(_WIN32)
snprintf( c_pth, sizeof(c_pth)-1, "%s/lgames", (getenv( "HOME" )?getenv( "HOME" ):".") );
#else
snprintf( c_pth, sizeof(c_pth)-1, "%s/.lgames", getenv( "HOME" ) );
#endif
/* create .lgames directory if not found */
if ( (dir = opendir( c_pth )) == 0 ) {
- fprintf( stderr, "Config directory ~/.lgames not found. Creating it.\n" );
+ fprintf( stderr, "Config directory %s not found. Creating it.\n", c_pth );
MKDIR( c_pth, S_IRWXU );
}
else
diff --git a/src/profile.c b/src/profile.c
index 218c856..9ebf47b 100644
--- a/src/profile.c
+++ b/src/profile.c
@@ -22,6 +22,10 @@
#include "cfg.h"
#include "file.h"
+#ifdef __HAIKU__
+#include <FindDirectory.h>
+#endif
+
// profiles //
DLst prfs;
// string list for the menu //
@@ -38,8 +42,13 @@ void Prf_Ini()
DL_Ini(&prfs);
prfs.flgs = DL_AUTODEL;
prfs.cb = Prf_Del;
-
+#ifdef __HAIKU__
+ find_directory(B_USER_SETTINGS_DIRECTORY, -1, false, prf_pth,
+ sizeof(prf_pth) - 1);
+ strcat(prf_pth, "/lmarbles.prfs");
+#else
sprintf(prf_pth, "%s/lmarbles.prfs", PRF_DIR);
+#endif
}
/* terminate profiles; must be saved first */
--
1.8.3.4

View File

@@ -14,7 +14,7 @@ COPYRIGHT="2002-2014 The Freeciv Team"
LICENSE="GNU GPL v2"
SRC_URI="http://sourceforge.net/projects/freeciv/files/Freeciv%202.4/$portVersion/freeciv-$portVersion.tar.bz2"
CHECKSUM_SHA256="7f107fe3b09f37934410dc7a64ac1b99a95997ddf53da53933b75d4da79fa899"
REVISION="1"
REVISION="2"
ARCHITECTURES="x86 x86_64"
if [ $effectiveTargetArchitecture != x86_gcc2 ]; then
# x86_gcc2 is fine as primary target architecture as long as we're building
@@ -25,6 +25,10 @@ else
fi
SECONDARY_ARCHITECTURES="x86"
GLOBAL_WRITABLE_FILES="
settings/freeciv/database.lua keep-old
"
PROVIDES="
freeciv$secondaryArchSuffix = $portVersion
app:freeciv$secondaryArchSuffix = $portVersion
@@ -43,17 +47,14 @@ REQUIRES="
lib:libpng$secondaryArchSuffix
lib:libreadline$secondaryArchSuffix
lib:libsdl$secondaryArchSuffix
lib:libSDL_image$secondaryArchSuffix
lib:libSDL_mixer$secondaryArchSuffix
lib:libsdl_image$secondaryArchSuffix
lib:libsdl_mixer$secondaryArchSuffix
lib:libz$secondaryArchSuffix
lib:libSDL_image_1.2$secondaryArchSuffix
lib:libSDL_mixer_1.2$secondaryArchSuffix
lib:libcrypto$secondaryArchSuffix
lib:libssl$secondaryArchSuffix
lib:libintl$secondaryArchSuffix
lib:libjpeg$secondaryArchSuffix
lib:libGL$secondaryArchSuffix
lib:libgl$secondaryArchSuffix
"
BUILD_REQUIRES="
haiku${secondaryArchSuffix}_devel
@@ -65,11 +66,11 @@ BUILD_REQUIRES="
devel:libpng$secondaryArchSuffix
devel:libreadline$secondaryArchSuffix
devel:libsdl$secondaryArchSuffix
devel:libSDL_image$secondaryArchSuffix
devel:libSDL_mixer$secondaryArchSuffix
devel:libsdl_image$secondaryArchSuffix
devel:libsdl_mixer$secondaryArchSuffix
devel:libz$secondaryArchSuffix
devel:libcrypto$secondaryArchSuffix
devel:libintl$secondaryArchSuffix
devel:libssl$secondaryArchSuffix
devel:libjpeg$secondaryArchSuffix
"
@@ -88,7 +89,7 @@ BUILD_PREREQUIRES="
BUILD()
{
autoreconf -fi
runConfigure ./configure
runConfigure ./configure --datarootdir=$dataRootDir --datadir=$dataDir
make $jobArgs
}
@@ -99,6 +100,8 @@ INSTALL()
mkdir -p $appsDir/freeciv
mv $binDir/freeciv-sdl $appsDir/freeciv/freeciv
addAppDeskbarSymlink $appsDir/freeciv/freeciv
mv $prefix/share/* $dataRootDir
rm -rf $prefix/share
rm -rf $prefix/lib
}

View File

@@ -0,0 +1,107 @@
SUMMARY="A free Civilization-like game."
DESCRIPTION="
Freeciv is a free Civilization-like game, primarily \
for X under Unix. It has support for multiplayer games locally or \
over a network, and an AI which gives most people a run for their money.
Freeciv aims to be mostly rule-compatible with Civilization II [tm], \
published by Sid Meier and Microprose [tm]. A few rules are different \
where we think it makes more sense, and we have lots and lots of \
adjustable parameters to make customizing games possible.
Freeciv has been implemented completely independently of Civilization; \
you do not need to own Civilization to play Freeciv."
HOMEPAGE="http://www.freeciv.org"
COPYRIGHT="2002-2014 The Freeciv Team"
LICENSE="GNU GPL v2"
SRC_URI="http://sourceforge.net/projects/freeciv/files/Freeciv%202.4/$portVersion/freeciv-$portVersion.tar.bz2"
CHECKSUM_SHA256="7f107fe3b09f37934410dc7a64ac1b99a95997ddf53da53933b75d4da79fa899"
REVISION="1"
ARCHITECTURES="x86 x86_64"
if [ $effectiveTargetArchitecture != x86_gcc2 ]; then
# x86_gcc2 is fine as primary target architecture as long as we're building
# for a different secondary architecture.
ARCHITECTURES="$ARCHITECTURES x86_gcc2"
else
ARCHITECTURES="$ARCHITECTURES !x86_gcc2"
fi
SECONDARY_ARCHITECTURES="x86"
GLOBAL_WRITABLE_FILES="
settings/freeciv/database.lua keep-old
"
PROVIDES="
freeciv$secondaryArchSuffix = $portVersion
app:freeciv$secondaryArchSuffix = $portVersion
cmd:freeciv_manual$secondaryArchSuffix
cmd:freeciv_sdl$secondaryArchSuffix
cmd:freeciv_server$secondaryArchSuffix
"
REQUIRES="
haiku$secondaryArchSuffix
lib:libbz2$secondaryArchSuffix
lib:libcurl$secondaryArchSuffix
lib:libfreetype$secondaryArchSuffix
lib:libiconv$secondaryArchSuffix
lib:liblzma$secondaryArchSuffix
lib:libpng$secondaryArchSuffix
lib:libreadline$secondaryArchSuffix
lib:libsdl$secondaryArchSuffix
lib:libsdl_image$secondaryArchSuffix
lib:libsdl_mixer$secondaryArchSuffix
lib:libz$secondaryArchSuffix
lib:libcrypto$secondaryArchSuffix
lib:libssl$secondaryArchSuffix
lib:libintl$secondaryArchSuffix
lib:libjpeg$secondaryArchSuffix
lib:libgl$secondaryArchSuffix
"
BUILD_REQUIRES="
haiku${secondaryArchSuffix}_devel
devel:libbz2$secondaryArchSuffix
devel:libcurl$secondaryArchSuffix
devel:libfreetype$secondaryArchSuffix
devel:libiconv$secondaryArchSuffix
devel:liblzma$secondaryArchSuffix
devel:libpng$secondaryArchSuffix
devel:libreadline$secondaryArchSuffix
devel:libsdl$secondaryArchSuffix
devel:libsdl_image$secondaryArchSuffix
devel:libsdl_mixer$secondaryArchSuffix
devel:libz$secondaryArchSuffix
devel:libcrypto$secondaryArchSuffix
devel:libintl$secondaryArchSuffix
devel:libssl$secondaryArchSuffix
devel:libjpeg$secondaryArchSuffix
"
BUILD_PREREQUIRES="
cmd:gcc$secondaryArchSuffix
cmd:ld$secondaryArchSuffix
cmd:make
cmd:autoconf
cmd:aclocal
cmd:libtool
cmd:gettext
cmd:find
cmd:pkg_config$secondaryArchSuffix
"
BUILD()
{
autoreconf -fi
runConfigure ./configure --datarootdir=$dataRootDir --datadir=$dataDir
make $jobArgs
}
INSTALL()
{
make install
mkdir -p $appsDir/freeciv
mv $binDir/freeciv-sdl $appsDir/freeciv/freeciv
addAppDeskbarSymlink $appsDir/freeciv/freeciv
mv $prefix/share/* $dataRootDir
rm -rf $prefix/share
rm -rf $prefix/lib
}

View File

@@ -0,0 +1,41 @@
SUMMARY="A Tracker add-on to encrypt files using AES cipher."
DESCRIPTION="AESAddOn is a Tracker add-on which adds the functionality of encrypting files \
with AES 128, 192, and 256 bit. It works only as a Tracker add-on."
HOMEPAGE="https://github.com/HaikuArchives/AESAddOn"
SRC_URI="git://github.com/HaikuArchives/AESAddOn#78dd4c50634a97bbe04bd68479cedc114a14cb4d"
REVISION="1"
LICENSE="MIT"
COPYRIGHT="2003 Jason Grenier"
ARCHITECTURES="!x86_gcc2 ?x86"
#Resulting Tracker add-on doesn't seem to be working.
PROVIDES="
aesaddon = $portVersion
app:AESAddOn = $portVersion
"
REQUIRES="
haiku
"
BUILD_REQUIRES="
haiku_devel
"
BUILD_PREREQUIRES="
makefile_engine
cmd:make
cmd:gcc
cmd:g++
"
BUILD()
{
cd src
make $jobArgs
}
INSTALL()
{
cd src
make install INSTALL_DIR=$addOnsDir/Tracker
}

View File

@@ -0,0 +1,50 @@
SUMMARY="A tool to convert browser bookmarks"
DESCRIPTION="This tool converts bookmarks between QupZilla and WebPositive. \
It can also convert WebPositive bookmarks to HTML and Chrome as intermediate \
formats."
HOMEPAGE="http://github.com/HaikuArchives/BookmarkConverter"
gitRevision="9f80b05d0afd07fb732f352b92a3e831077d005a"
SRC_URI="https://github.com/HaikuArchives/BookmarkConverter/archive/$gitRevision.zip"
CHECKSUM_SHA256="fcd74f4f71f9f399b6c5bf824486a898ad99aeef237e674da7c0928d3cafce1e"
SOURCE_DIR="BookmarkConverter-$gitRevision"
REVISION="1"
LICENSE="MIT"
COPYRIGHT="
2015 Markus Himmel
"
ARCHITECTURES="x86_gcc2 ?x86 ?ppc"
PROVIDES="
bookmarkconverter = $portVersion
cmd:bookmarkconverter = $portVersion
"
REQUIRES="
haiku
"
BUILD_REQUIRES="
haiku_devel
makefile_engine
"
BUILD_PREREQUIRES="
cmd:make
cmd:gcc
"
BUILD()
{
mkdir -p bin
make TARGET_DIR=bin
}
INSTALL()
{
mkdir -p $binDir
cp bin/bookmarkconverter $binDir/bookmarkconverter
}

View File

@@ -1,19 +1,19 @@
SUMMARY="An open source media compositing tool for the Haiku platform"
DESCRIPTION="Clockwerk is an Open Source media compositing tool for the
Haiku platform. It has been in development from Jan 2006 to July 2008
by Mindwork (www.mindwork.de) as one of the main in-house components of
an application suit to realize distributed multimedia playback on
SUMMARY="An open source media compositing tool"
DESCRIPTION="Clockwerk is an open source media compositing tool for the \
Haiku platform. It had been in development from January 2006 to July 2008 \
by Mindwork (www.mindwork.de) as one of the main in-house components of \
an application suite to realize distributed multimedia playback on \
Haiku client machines."
HOMEPAGE="https://github.com/stippi/Clockwerk"
SRC_URI="git+https://github.com/stippi/Clockwerk.git#8c3a33e"
SRC_URI="git+https://github.com/stippi/Clockwerk.git#6eab4202c857c7dc6f21b6e3262cff0b503acb0e"
REVISION="1"
REVISION="3"
LICENSE="GNU GPL v2"
COPYRIGHT="
2001-2009 Stephan Aßmus <superstippi@gmx.de>
2000-2006 Ingo Weinhold <ingo_weinhold@gmx.de>
2001-2009 Stephan Aßmus
2000-2006 Ingo Weinhold
"
ARCHITECTURES="x86_gcc2 x86 ?x86_64"
@@ -42,17 +42,17 @@ USER_SETTINGS_FILES="
BUILD()
{
jam -q
jam -q $jobArgs
}
INSTALL()
{
mkdir -p $appsDir
mkdir -p $appsDir/Clockwerk
jam fulldistro
cp "Quick HowTo" $appsDir/Clockwerk
cd generated/distro-haiku-with-libs
cp Clockwerk $appsDir
cp Clockwerk $appsDir/Clockwerk
addAppDeskbarSymlink $appsDir/Clockwerk
addAppDeskbarSymlink $appsDir/Clockwerk/Clockwerk
}

View File

@@ -0,0 +1,47 @@
SUMMARY="A simple note replicant-capable program"
DESCRIPTION="
With DeskNotes, you can now leave little notes all over your desktop \
reminding you of things to do. The main difference between DeskNotes and \
other Note utilities for Haiku, is that DeskNotes is designed to be used \
as a replicant. This means that when you tear a note from the DeskNotes \
application onto your desktop, it stays there! You don't have to save it \
before rebooting, or fiddle with your bootscript.
"
HOMEPAGE="https://github.com/HaikuArchives/DeskNotes"
SRC_URI="git+https://github.com/HaikuArchives/DeskNotes#93f0654745e3dc317152bdfc49ae8b6d23bf443b"
REVISION="1"
LICENSE="BSD (3-clause)"
COPYRIGHT="2000 Colin Stewart"
ARCHITECTURES="x86_gcc2 ?x86 ?x86_64"
PROVIDES="
desknotes = $portVersion
app:desknotes = $portVersion
"
REQUIRES="
haiku
lib:libstdc++
"
BUILD_REQUIRES="
haiku_devel
"
BUILD_PREREQUIRES="
makefile_engine
cmd:make
cmd:gcc
cmd:mkdepend
"
BUILD()
{
make $jobArgs OBJ_DIR=objects
}
INSTALL()
{
mkdir -p $appsDir
cp -a objects/DeskNotes $appsDir
addAppDeskbarSymlink $appsDir/DeskNotes
}

View File

@@ -5,11 +5,12 @@ may have shortcuts organized in \"tabs\", a tab of the running apps and some \
other general eyecandy.
"
HOMEPAGE="https://github.com/HaikuArchives/DockBert"
SRC_URI="git+https://github.com/HaikuArchives/DockBert#057c54674d"
SRC_URI="https://github.com/HaikuArchives/DockBert/archive/722161cf8646b18eee2d00208fa649a0ebfe8d00.zip"
CHECKSUM_SHA256="704a8cde914b41219e60ef8fc375ab7847cae580b1265f1b9b84cbe294334cce"
COPYRIGHT="2005 yellowTAB GmbH"
LICENSE="BSD (3-clause)"
REVISION="3"
REVISION="4"
ARCHITECTURES="x86_gcc2 x86 ?x86_64"
SECONDARY_ARCHITECTURES="x86_gcc2 x86"
@@ -34,11 +35,9 @@ BUILD_PREREQUIRES="
cmd:mkdepend
"
PATCHES="dockbert-1.0.2b1.patchset"
BUILD()
{
cd trunk
cd source
make OBJ_DIR=objects \
BUILDHOME=`finddir B_SYSTEM_DEVELOP_DIRECTORY`
}
@@ -46,6 +45,6 @@ BUILD()
INSTALL()
{
mkdir -p $appsDir
cp -a trunk/objects/Dock $appsDir/Dock
cp -a source/objects/Dock $appsDir/Dock
addAppDeskbarSymlink $appsDir/Dock
}

View File

@@ -1,99 +0,0 @@
From c7dd365b426c78ef62bfb1b1b8ba149e9b6a7afb Mon Sep 17 00:00:00 2001
From: Chris Roberts <cpr420@gmail.com>
Date: Mon, 2 Dec 2013 18:12:54 -0700
Subject: Fix makefile stdc++ libs
diff --git a/trunk/Makefile b/trunk/Makefile
index fa6193c..748e5fd 100644
--- a/trunk/Makefile
+++ b/trunk/Makefile
@@ -60,7 +60,7 @@ RSRCS= dockbert.rsrc
# naming scheme you need to specify the path to the library
# and it's name
# library: my_lib.a entry: my_lib.a or path/my_lib.a
-LIBS= be tracker stdc++.r4 locale localestub
+LIBS= be tracker $(STDCPPLIBS) localestub
# specify additional paths to directories following the standard
# libXXX.so or libXXX.a naming scheme. You can specify full paths
--
1.8.3.4
From ba30e33f9dc36ff2a92ed950ccbdc30c0aa1d0f0 Mon Sep 17 00:00:00 2001
From: Sergei Reznikov <diver@gelios.net>
Date: Tue, 28 Oct 2014 23:36:58 +0300
Subject: [PATCH] Include strings.h
---
trunk/InnerPanel.cpp | 1 +
trunk/InnerPanelIcons.cpp | 1 +
trunk/PanelWindow.cpp | 1 +
trunk/PanelWindowView.cpp | 2 ++
trunk/TrackerMenus.cpp | 1 +
5 files changed, 6 insertions(+)
diff --git a/trunk/InnerPanel.cpp b/trunk/InnerPanel.cpp
index 01e56e5..aecc924 100644
--- a/trunk/InnerPanel.cpp
+++ b/trunk/InnerPanel.cpp
@@ -22,6 +22,7 @@
#include <malloc.h>
#include <stdio.h>
#include <string.h>
+#include <strings.h>
#include "PanelWindow.h"
#include "PanelWindowView.h"
diff --git a/trunk/InnerPanelIcons.cpp b/trunk/InnerPanelIcons.cpp
index e22d297..74c47b0 100644
--- a/trunk/InnerPanelIcons.cpp
+++ b/trunk/InnerPanelIcons.cpp
@@ -12,6 +12,7 @@
#include <MessageRunner.h>
#include <Region.h>
#include <malloc.h>
+#include <strings.h>
#include <locale/Locale.h>
#include "InnerPanelIcons.h"
diff --git a/trunk/PanelWindow.cpp b/trunk/PanelWindow.cpp
index 3905f87..2254d1a 100644
--- a/trunk/PanelWindow.cpp
+++ b/trunk/PanelWindow.cpp
@@ -25,6 +25,7 @@
#include "tracker_private.h"
#include <stdio.h>
+#include <strings.h>
#include <malloc.h>
#include <Debug.h>
diff --git a/trunk/PanelWindowView.cpp b/trunk/PanelWindowView.cpp
index e620164..5230538 100644
--- a/trunk/PanelWindowView.cpp
+++ b/trunk/PanelWindowView.cpp
@@ -15,6 +15,8 @@
#include <FindDirectory.h>
#include <Alert.h>
+#include <strings.h>
+
#include <Autolock.h>
//#define USE_WINDOW_SHAPING /* BeOS Dano code*/
diff --git a/trunk/TrackerMenus.cpp b/trunk/TrackerMenus.cpp
index ff603a4..80445ef 100644
--- a/trunk/TrackerMenus.cpp
+++ b/trunk/TrackerMenus.cpp
@@ -19,6 +19,7 @@
#include <stdio.h>
+#include <strings.h>
#include "FSUtils.h"
#include "Commands.h"
--
1.8.3.4

View File

@@ -0,0 +1,50 @@
SUMMARY="Multitrack audio recording and editing suite."
DESCRIPTION="HyperStudio is a multitrack audio recording and editing \
suite with an easy to master graphical user interface. It's based off of \
BeAE, and improves on BeAE in numerous ways."
HOMEPAGE="https://github.com/HaikuArchives/HyperStudio"
LICENSE="MIT"
COPYRIGHT="2003 Xentronix
2007 Pier Luigi Fiorini"
srcrev="59b31f0bdc3f0e49feb7d9892faa67222ffb3f95"
SRC_URI="https://github.com/HaikuArchives/HyperStudio/archive/$srcrev.tar.gz"
CHECKSUM_SHA256="03c2a7fc68d2a95bce9c873bf6d8a32494370861a23dc8e2689285e7e201a4c9"
SOURCE_DIR="HyperStudio-$srcrev"
REVISION="2"
ARCHITECTURES="x86_gcc2 ?x86 ?x86_64"
PROVIDES="
hyperstudio = $portVersion
app:HyperStudio = $portVersion
"
REQUIRES="
haiku
"
BUILD_REQUIRES="
haiku_devel
"
BUILD_PREREQUIRES="
cmd:gcc
cmd:awk
cmd:jam
cmd:ld
"
BUILD()
{
./configure
jam -q
# multi-job builds don't work reliably
}
INSTALL()
{
mkdir -p $appsDir
cp -a generated/distro-haiku-$(getarch | sed s/_/-/)-release/HyperStudio $appsDir
cp -a generated/distro-haiku-$(getarch | sed s/_/-/)-release/HyperStudioRecorder $appsDir
addAppDeskbarSymlink $appsDir/HyperStudio
addAppDeskbarSymlink $appsDir/HyperStudioRecorder
}

View File

@@ -0,0 +1,44 @@
SUMMARY="A GUI-based diff application"
DESCRIPTION="
PonpokoDiff is a graphical file comparison utility. \
It can compare two files and show its differences graphically. \
Currently, the comparison of folders is not supported. \
You can also use it as an extenal diff command of Subversion (--diff-cmd).
"
HOMEPAGE="https://code.google.com/p/ponpokodiff/"
SRC_URI="git+https://github.com/HaikuArchives/PonpokoDiff#f68f59d8f359ddbaeec89e2c8a72da93142c139d"
REVISION="1"
LICENSE="MIT"
COPYRIGHT="2008 PonpokoDiff Project Contributors"
ARCHITECTURES="x86_gcc2 ?x86 ?x86_64"
PROVIDES="
ponpokodiff = $portVersion
app:ponpokodiff = $portVersion
"
REQUIRES="
haiku
"
BUILD_REQUIRES="
haiku_devel
"
BUILD_PREREQUIRES="
makefile_engine
cmd:make
cmd:gcc
cmd:mkdepend
"
BUILD()
{
make $jobArgs OBJ_DIR=objects
}
INSTALL()
{
mkdir -p $appsDir
cp -a objects/PonpokoDiff $appsDir
addAppDeskbarSymlink $appsDir/PonpokoDiff
}

View File

@@ -0,0 +1,73 @@
SUMMARY="An advanced MIDI sequencer"
DESCRIPTION="Sequitur is a BeOS-native MIDI sequencer with a MIDI processing \
add-on architecture. It allows you to record, compose, store, and play back \
music from your computer. Sequitur is designed for people who like to tinker \
with their music. It facilitates rapid, dynamic, and radical processing of your \
performance.
Features:
* An add-on architecture for processing MIDI and performing MIDI effects. \
Change a track's velocity, apply echo, add chorus, change it's key signature, \
etc. All the tools to write your own add-ons are included.
* MIDI processing is integrated with editing: Paint with echo effects, paint \
chords in key, etc.
* Easily rearrange songs with familiar phrase operations.
* Customize your interface with skinning.
* Achieve special effects with tool properties: Turn on gradual delete and \
slowly rub out MIDI events.
* Full support of Be's advanced MIDI services in R5: All R5-compatible \
software is automatically available.
* Record, edit, and playback note, program change, control change, and pitch \
bend MIDI data.
* Read and write standard MIDI files."
HOMEPAGE="https://github.com/HaikuArchives/Sequitur"
SRC_URI="git+https://github.com/HaikuArchives/Sequitur#dd5083155a9e1323327132b014766ca502458bbd"
REVISION="1"
LICENSE="Public Domain"
COPYRIGHT="2001 Eric Hackborn"
ARCHITECTURES="x86_gcc2"
PROVIDES="
sequitur = $portVersion
app:Sequitur = $portVersion
"
REQUIRES="
haiku
lib:libpng
lib:libz
"
BUILD_REQUIRES="
haiku_devel
devel:libpng
devel:libz
"
BUILD_PREREQUIRES="
makefile_engine
cmd:make
cmd:gcc
cmd:mkdepend
"
BUILD()
{
cd Sequitur
make $jobArgs
}
INSTALL()
{
mkdir -p $appsDir/Sequitur/lib
mkdir -p $dataDir/Sequitur
mkdir -p $docDir
cd Sequitur
cp -a lib/libAmKernel.so $appsDir/Sequitur/lib
cp -arL add-ons $appsDir/Sequitur
cp -a Sequitur $appsDir/Sequitur
cp -ar Examples $dataDir/Sequitur
cp -ar docs/* $docDir
addAppDeskbarSymlink $appsDir/Sequitur/Sequitur
}

View File

@@ -6,11 +6,11 @@ HOMEPAGE="https://github.com/HaikuArchives/SnapShot"
SRC_URI="git+https://github.com/HaikuArchives/Snapshot#9ba592336a0d54707b7e5983dce93f8958b61d37
LICENSE="BSD (3-clause)"
COPYRIGHT="2000 Jonas Sundström"
REVISION="1"
ARCHITECTURES="x86_gcc2"
USER_SETTINGS_FILES="settings/Kirilla/Snapshot/settings"
ARCHITECTURES="x86_gcc2"
PROVIDES="
snapshot = $portVersion
addon:snapshot = $portVersion

View File

@@ -5,11 +5,11 @@ downloading files. Users are not downloading data directly from \
server, but they are sending to and receiving it from themselves.
"
SUMMARY="Torrentor is a torrent client for the haiku operating system."
HOMEPAGE="https://github.com/Prodito/Torrentor"
SRC_URI="git+https://github.com/Prodito/Torrentor.git#c1fa0cb62963ec3c4980d99fb12e203789d9ab1a"
HOMEPAGE="https://github.com/HaikuArchives/Torrentor"
SRC_URI="git+https://github.com/HaikuArchives/Torrentor.git#a04c10fba39c8ba39ffb8ef16c5e67d217231ac6"
COPYRIGHT="2012 Guido Pola"
LICENSE="MIT"
REVISION="1"
REVISION="2"
ARCHITECTURES="x86 ?x86_64"
if [ $effectiveTargetArchitecture != x86_gcc2 ]; then
# x86_gcc2 is fine as primary target architecture as long as we're building
@@ -52,12 +52,13 @@ BUILD_PREREQUIRES="
BUILD()
{
jam
export NDEBUG=1
jam $jobArgs
}
INSTALL() # just trying compile, code below doesn't have to work well
{
mkdir -p $appsDir/Torrentor
cp Torrentor $appsDir/Torrentor/
cp build/Release/Torrentor $appsDir/Torrentor/
addAppDeskbarSymlink $appsDir/Torrentor/Torrentor
}

View File

@@ -0,0 +1,51 @@
SUMMARY="A game of chain reactions taking place in a nuclear reactor"
DESCRIPTION="\
CriticalMass is a strategy game where your goal is to keep the reaction \
under control by carefully placing protons and creating chain reactions. \
It can be played with a friend or against the computer, \
with different AI levels.
"
HOMEPAGE="https://github.com/pulkomandy/critical-mass"
SRC_URI="git+https://github.com/pulkomandy/critical-mass#f597cad218830451f2ec7f5985bef23020bf28ec"
REVISION="1"
LICENSE="CriticalMass"
COPYRIGHT="
1998 Hamish Carr
2011-2012 Adrien Destugues
"
ARCHITECTURES="x86_gcc2 ?x86 ?x86_64"
PROVIDES="
criticalmass = $portVersion
app:criticalmass = $portVersion
"
REQUIRES="
haiku
lib:libGL
"
BUILD_REQUIRES="
haiku_devel
devel:libgl
devel:libglu
"
BUILD_PREREQUIRES="
cmd:cmake
cmd:gcc
cmd:make
"
BUILD()
{
cmake -DCMAKE_INSTALL_PREFIX:PATH=$prefix -Wno-dev
make $jobArgs
}
INSTALL()
{
mkdir -p $appsDir
mkdir -p $documentationDir/criticalmass
cp -a Sources/CriticalMass $appsDir
cp -r Documentation/* $documentationDir/criticalmass
addAppDeskbarSymlink $appsDir/CriticalMass
}

View File

@@ -0,0 +1,2 @@
"Nobody sent money when I said it was shareware, so I shan't bother anymore. Consider it freeware. I.e. you can play it, distribute it, throw it in the garbage can, whatever, so long as authorship is acknowledged."
- Hamish Carr

View File

@@ -0,0 +1,44 @@
SUMMARY="A Windows Minesweeper clone"
DESCRIPTION="Minesweeper is a clone of the original Windows minesweeper game. \
It supports different board sizes and best time saving."
HOMEPAGE="https://github.com/HaikuArchives/Minesweeper"
SRC_URI="git+https://github.com/HaikuArchives/Minesweeper#702046e61588c953e759f7792930c5acc258359a"
REVISION="3"
LICENSE="MIT"
COPYRIGHT="
2013 Tri-Edge AI
2015 Josef Gajdusek
"
ARCHITECTURES="x86_gcc2 x86 x86_64"
PROVIDES="
minesweeper = $portVersion
app:minesweeper = $portVersion
"
REQUIRES="
haiku
"
BUILD_REQUIRES="
haiku_devel
"
BUILD_PREREQUIRES="
makefile_engine
cmd:make
cmd:gcc
cmd:mkdepend
"
USER_SETTINGS_FILES="settings/Minesweeper_settings"
BUILD()
{
make -C src $jobArgs OBJ_DIR=objects
}
INSTALL()
{
mkdir -p $appsDir
cp -a src/objects/Minesweeper $appsDir
addAppDeskbarSymlink $appsDir/Minesweeper
}

View File

@@ -0,0 +1,67 @@
SUMMARY="A set of C subroutines that is useful for indexing a set of key/value \
pairs"
DESCRIPTION="
AVLDupTree is a set of C subroutines (not C++, so you can use it in drivers) \
that is useful for indexing a set of key/value pairs, using the key to find \
a matching value. The standard AVL balanced binary tree algorithm is \
enhanced to support multiple values for the same key. It is designed for \
future use in a file system to support fast attribute indexing and queries, \
but you can use it for other things. This package also includes the \
AGMSAVLTest GUI App. It tests the operations on the tree, provided by \
libavlduptree.
"
LICENSE="GNU LGPL v2.1"
COPYRIGHT="2001 Alexander G. M. Smith"
HOMEPAGE="https://github.com/HaikuArchives/AVLDupTree"
SRC_URI="git+https://github.com/HaikuArchives/AVLDupTree.git#5969ca7e26e65857a9ade8ed6abee2fda7f1e9d9"
REVISION="1"
ARCHITECTURES="x86_gcc2 ?x86 ?x86_64"
SECONDARY_ARCHITECTURES="x86_gcc2 ?x86"
PROVIDES="
libavlduptree$secondaryArchSuffix = $portVersion
lib:libavlduptree$secondaryArchSuffix = 1.0.0 compat >= 1
"
REQUIRES="
haiku$secondaryArchSuffix
cmd:make
cmd:gcc$secondaryArchSuffix
cmd:ld$secondaryArchSuffix
"
BUILD_PREREQUIRES="
haiku${secondaryArchSuffix}_devel
cmd:make
cmd:gcc$secondaryArchSuffix
cmd:ld$secondaryArchSuffix
cmd:mkdir
"
BUILD()
{
make $jobArgs
}
INSTALL()
{
mkdir -p $libDir
make install INSTALL_DIR=$libDir
# set up the develop directory correctly
prepareInstalledDevelLibs libavlduptree
# devel package
packageEntries devel $developDir
}
# ----- devel package -------------------------------------------------------
PROVIDES_devel="
libavlduptree${secondaryArchSuffix}_devel = $portVersion
devel:libavlduptree$secondaryArchSuffix = 1.0.0 compat >= 1
"
REQUIRES_devel="
libavlduptree${secondaryArchSuffix} == $portVersion base
"

View File

@@ -1,5 +1,5 @@
SUMMARY="The Anonymous Pro Font Family"
DESCRIPTION="
DESCRIPTION="\
Anonymous Pro is a family of fixed-width fonts. It was designed especially for \
coding - characers that could be mistaken for one another (e. g. O and 0) have \
distinct shapes. It supports most of the Latin-based Western and Central \

View File

@@ -1,86 +0,0 @@
-----------------------------------------------------------
SIL OPEN FONT LICENSE Version 1.1 - 26 February 2007
-----------------------------------------------------------
PREAMBLE
The goals of the Open Font License (OFL) are to stimulate worldwide
development of collaborative font projects, to support the font creation
efforts of academic and linguistic communities, and to provide a free and
open framework in which fonts may be shared and improved in partnership
with others.
The OFL allows the licensed fonts to be used, studied, modified and
redistributed freely as long as they are not sold by themselves. The
fonts, including any derivative works, can be bundled, embedded,
redistributed and/or sold with any software provided that any reserved
names are not used by derivative works. The fonts and derivatives,
however, cannot be released under any other type of license. The
requirement for fonts to remain under this license does not apply
to any document created using the fonts or their derivatives.
DEFINITIONS
"Font Software" refers to the set of files released by the Copyright
Holder(s) under this license and clearly marked as such. This may
include source files, build scripts and documentation.
"Reserved Font Name" refers to any names specified as such after the
copyright statement(s).
"Original Version" refers to the collection of Font Software components as
distributed by the Copyright Holder(s).
"Modified Version" refers to any derivative made by adding to, deleting,
or substituting -- in part or in whole -- any of the components of the
Original Version, by changing formats or by porting the Font Software to a
new environment.
"Author" refers to any designer, engineer, programmer, technical
writer or other person who contributed to the Font Software.
PERMISSION & CONDITIONS
Permission is hereby granted, free of charge, to any person obtaining
a copy of the Font Software, to use, study, copy, merge, embed, modify,
redistribute, and sell modified and unmodified copies of the Font
Software, subject to the following conditions:
1) Neither the Font Software nor any of its individual components,
in Original or Modified Versions, may be sold by itself.
2) Original or Modified Versions of the Font Software may be bundled,
redistributed and/or sold with any software, provided that each copy
contains the above copyright notice and this license. These can be
included either as stand-alone text files, human-readable headers or
in the appropriate machine-readable metadata fields within text or
binary files as long as those fields can be easily viewed by the user.
3) No Modified Version of the Font Software may use the Reserved Font
Name(s) unless explicit written permission is granted by the corresponding
Copyright Holder. This restriction only applies to the primary font name as
presented to the users.
4) The name(s) of the Copyright Holder(s) or the Author(s) of the Font
Software shall not be used to promote, endorse or advertise any
Modified Version, except to acknowledge the contribution(s) of the
Copyright Holder(s) and the Author(s) or with their explicit written
permission.
5) The Font Software, modified or unmodified, in part or in whole,
must be distributed entirely under this license, and must not be
distributed under any other license. The requirement for fonts to
remain under this license does not apply to any document created
using the Font Software.
TERMINATION
This license becomes null and void if any of the above conditions are
not met.
DISCLAIMER
THE FONT SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT
OF COPYRIGHT, PATENT, TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL THE
COPYRIGHT HOLDER BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
INCLUDING ANY GENERAL, SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL
DAMAGES, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
FROM, OUT OF THE USE OR INABILITY TO USE THE FONT SOFTWARE OR FROM
OTHER DEALINGS IN THE FONT SOFTWARE.

View File

@@ -1,5 +1,5 @@
SUMMARY="Arabeyes Arabic TrueType fonts"
DESCRIPTION="
DESCRIPTION="\
Arabeyes is a Meta project that is aimed at fully supporting the Arabic \
language in the Unix/Linux environment. It is designed to be a central \
location to standardize the Arabization process. Arabeyes relies on voluntary \
@@ -23,7 +23,7 @@ BUILD_PREREQUIRES="
coreutils
"
SOURCE_DIR="ae_fonts1-1.1/"
SOURCE_DIR="ae_fonts1-1.1"
BUILD()
{

View File

@@ -1,5 +1,5 @@
SUMMARY="The Cantarell Font Family"
DESCRIPTION="
DESCRIPTION="\
The Cantarell font family is a contemporary humanistic sans serif. It was \
designed by Dave Crossland for on-screen reading - in particular for reading \
web pages on the author's HTC mobile phone. Since 2010 it's the default \

View File

@@ -1,86 +0,0 @@
-----------------------------------------------------------
SIL OPEN FONT LICENSE Version 1.1 - 26 February 2007
-----------------------------------------------------------
PREAMBLE
The goals of the Open Font License (OFL) are to stimulate worldwide
development of collaborative font projects, to support the font creation
efforts of academic and linguistic communities, and to provide a free and
open framework in which fonts may be shared and improved in partnership
with others.
The OFL allows the licensed fonts to be used, studied, modified and
redistributed freely as long as they are not sold by themselves. The
fonts, including any derivative works, can be bundled, embedded,
redistributed and/or sold with any software provided that any reserved
names are not used by derivative works. The fonts and derivatives,
however, cannot be released under any other type of license. The
requirement for fonts to remain under this license does not apply
to any document created using the fonts or their derivatives.
DEFINITIONS
"Font Software" refers to the set of files released by the Copyright
Holder(s) under this license and clearly marked as such. This may
include source files, build scripts and documentation.
"Reserved Font Name" refers to any names specified as such after the
copyright statement(s).
"Original Version" refers to the collection of Font Software components as
distributed by the Copyright Holder(s).
"Modified Version" refers to any derivative made by adding to, deleting,
or substituting -- in part or in whole -- any of the components of the
Original Version, by changing formats or by porting the Font Software to a
new environment.
"Author" refers to any designer, engineer, programmer, technical
writer or other person who contributed to the Font Software.
PERMISSION & CONDITIONS
Permission is hereby granted, free of charge, to any person obtaining
a copy of the Font Software, to use, study, copy, merge, embed, modify,
redistribute, and sell modified and unmodified copies of the Font
Software, subject to the following conditions:
1) Neither the Font Software nor any of its individual components,
in Original or Modified Versions, may be sold by itself.
2) Original or Modified Versions of the Font Software may be bundled,
redistributed and/or sold with any software, provided that each copy
contains the above copyright notice and this license. These can be
included either as stand-alone text files, human-readable headers or
in the appropriate machine-readable metadata fields within text or
binary files as long as those fields can be easily viewed by the user.
3) No Modified Version of the Font Software may use the Reserved Font
Name(s) unless explicit written permission is granted by the corresponding
Copyright Holder. This restriction only applies to the primary font name as
presented to the users.
4) The name(s) of the Copyright Holder(s) or the Author(s) of the Font
Software shall not be used to promote, endorse or advertise any
Modified Version, except to acknowledge the contribution(s) of the
Copyright Holder(s) and the Author(s) or with their explicit written
permission.
5) The Font Software, modified or unmodified, in part or in whole,
must be distributed entirely under this license, and must not be
distributed under any other license. The requirement for fonts to
remain under this license does not apply to any document created
using the Font Software.
TERMINATION
This license becomes null and void if any of the above conditions are
not met.
DISCLAIMER
THE FONT SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT
OF COPYRIGHT, PATENT, TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL THE
COPYRIGHT HOLDER BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
INCLUDING ANY GENERAL, SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL
DAMAGES, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
FROM, OUT OF THE USE OR INABILITY TO USE THE FONT SOFTWARE OR FROM
OTHER DEALINGS IN THE FONT SOFTWARE.

View File

@@ -1,5 +1,5 @@
SUMMARY="Font for classicists, medievalists and linguists"
DESCRIPTION="
DESCRIPTION="\
Cardo is a large Unicode font specifically designed for the needs of \
classicists, Biblical scholars, medievalists, and linguists. Since it may be \
used to prepare materials for publication, it also contains features that are \

View File

@@ -1,91 +0,0 @@
This Font Software is licensed under the SIL Open Font License, Version 1.1.
This license is copied below, and is also available with a FAQ at:
http://scripts.sil.org/OFL
-----------------------------------------------------------
SIL OPEN FONT LICENSE Version 1.1 - 26 February 2007
-----------------------------------------------------------
PREAMBLE
The goals of the Open Font License (OFL) are to stimulate worldwide
development of collaborative font projects, to support the font creation
efforts of academic and linguistic communities, and to provide a free and
open framework in which fonts may be shared and improved in partnership
with others.
The OFL allows the licensed fonts to be used, studied, modified and
redistributed freely as long as they are not sold by themselves. The
fonts, including any derivative works, can be bundled, embedded,
redistributed and/or sold with any software provided that any reserved
names are not used by derivative works. The fonts and derivatives,
however, cannot be released under any other type of license. The
requirement for fonts to remain under this license does not apply
to any document created using the fonts or their derivatives.
DEFINITIONS
"Font Software" refers to the set of files released by the Copyright
Holder(s) under this license and clearly marked as such. This may
include source files, build scripts and documentation.
"Reserved Font Name" refers to any names specified as such after the
copyright statement(s).
"Original Version" refers to the collection of Font Software components as
distributed by the Copyright Holder(s).
"Modified Version" refers to any derivative made by adding to, deleting,
or substituting -- in part or in whole -- any of the components of the
Original Version, by changing formats or by porting the Font Software to a
new environment.
"Author" refers to any designer, engineer, programmer, technical
writer or other person who contributed to the Font Software.
PERMISSION & CONDITIONS
Permission is hereby granted, free of charge, to any person obtaining
a copy of the Font Software, to use, study, copy, merge, embed, modify,
redistribute, and sell modified and unmodified copies of the Font
Software, subject to the following conditions:
1) Neither the Font Software nor any of its individual components,
in Original or Modified Versions, may be sold by itself.
2) Original or Modified Versions of the Font Software may be bundled,
redistributed and/or sold with any software, provided that each copy
contains the above copyright notice and this license. These can be
included either as stand-alone text files, human-readable headers or
in the appropriate machine-readable metadata fields within text or
binary files as long as those fields can be easily viewed by the user.
3) No Modified Version of the Font Software may use the Reserved Font
Name(s) unless explicit written permission is granted by the corresponding
Copyright Holder. This restriction only applies to the primary font name as
presented to the users.
4) The name(s) of the Copyright Holder(s) or the Author(s) of the Font
Software shall not be used to promote, endorse or advertise any
Modified Version, except to acknowledge the contribution(s) of the
Copyright Holder(s) and the Author(s) or with their explicit written
permission.
5) The Font Software, modified or unmodified, in part or in whole,
must be distributed entirely under this license, and must not be
distributed under any other license. The requirement for fonts to
remain under this license does not apply to any document created
using the Font Software.
TERMINATION
This license becomes null and void if any of the above conditions are
not met.
DISCLAIMER
THE FONT SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT
OF COPYRIGHT, PATENT, TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL THE
COPYRIGHT HOLDER BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
INCLUDING ANY GENERAL, SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL
DAMAGES, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
FROM, OUT OF THE USE OR INABILITY TO USE THE FONT SOFTWARE OR FROM
OTHER DEALINGS IN THE FONT SOFTWARE.

View File

@@ -1,5 +1,5 @@
SUMMARY="Font family from Google's Android project"
DESCRIPTION="
DESCRIPTION="\
The Droid family of fonts was designed by Ascender's Steve Matteson beginning \
in the fall of 2006. The goal was to provide optimal quality and reading \
comfort on a mobile handset. The Droid fonts were optimized for use in \

View File

@@ -1,5 +1,5 @@
SUMMARY="Font family from Google's Android project"
DESCRIPTION="
DESCRIPTION="\
The Droid family of fonts was designed by Ascender's Steve Matteson beginning \
in the fall of 2006. The goal was to provide optimal quality and reading \
comfort on a mobile handset. The Droid fonts were optimized for use in \

View File

@@ -1,5 +1,5 @@
SUMMARY="The Fira font"
DESCRIPTION="
DESCRIPTION="\
Designed to integrate with the character of Mozilla's Firefox OS, the \
Fira Sans typeface also aims to cover the legibility needs for a large range of \
handsets varying in screen quality and rendering. When working with Fira Sans \

View File

@@ -1,99 +0,0 @@
Copyright (c) 2014, Mozilla Foundation https://mozilla.org/
with Reserved Font Name Fira Sans.
Copyright (c) 2014, Mozilla Foundation https://mozilla.org/
with Reserved Font Name Fira Mono.
Copyright (c) 2014, Telefonica S.A.
This Font Software is licensed under the SIL Open Font License, Version 1.1.
This license is copied below, and is also available with a FAQ at:
http://scripts.sil.org/OFL
-----------------------------------------------------------
SIL OPEN FONT LICENSE Version 1.1 - 26 February 2007
-----------------------------------------------------------
PREAMBLE
The goals of the Open Font License (OFL) are to stimulate worldwide
development of collaborative font projects, to support the font creation
efforts of academic and linguistic communities, and to provide a free and
open framework in which fonts may be shared and improved in partnership
with others.
The OFL allows the licensed fonts to be used, studied, modified and
redistributed freely as long as they are not sold by themselves. The
fonts, including any derivative works, can be bundled, embedded,
redistributed and/or sold with any software provided that any reserved
names are not used by derivative works. The fonts and derivatives,
however, cannot be released under any other type of license. The
requirement for fonts to remain under this license does not apply
to any document created using the fonts or their derivatives.
DEFINITIONS
"Font Software" refers to the set of files released by the Copyright
Holder(s) under this license and clearly marked as such. This may
include source files, build scripts and documentation.
"Reserved Font Name" refers to any names specified as such after the
copyright statement(s).
"Original Version" refers to the collection of Font Software components as
distributed by the Copyright Holder(s).
"Modified Version" refers to any derivative made by adding to, deleting,
or substituting -- in part or in whole -- any of the components of the
Original Version, by changing formats or by porting the Font Software to a
new environment.
"Author" refers to any designer, engineer, programmer, technical
writer or other person who contributed to the Font Software.
PERMISSION & CONDITIONS
Permission is hereby granted, free of charge, to any person obtaining
a copy of the Font Software, to use, study, copy, merge, embed, modify,
redistribute, and sell modified and unmodified copies of the Font
Software, subject to the following conditions:
1) Neither the Font Software nor any of its individual components,
in Original or Modified Versions, may be sold by itself.
2) Original or Modified Versions of the Font Software may be bundled,
redistributed and/or sold with any software, provided that each copy
contains the above copyright notice and this license. These can be
included either as stand-alone text files, human-readable headers or
in the appropriate machine-readable metadata fields within text or
binary files as long as those fields can be easily viewed by the user.
3) No Modified Version of the Font Software may use the Reserved Font
Name(s) unless explicit written permission is granted by the corresponding
Copyright Holder. This restriction only applies to the primary font name as
presented to the users.
4) The name(s) of the Copyright Holder(s) or the Author(s) of the Font
Software shall not be used to promote, endorse or advertise any
Modified Version, except to acknowledge the contribution(s) of the
Copyright Holder(s) and the Author(s) or with their explicit written
permission.
5) The Font Software, modified or unmodified, in part or in whole,
must be distributed entirely under this license, and must not be
distributed under any other license. The requirement for fonts to
remain under this license does not apply to any document created
using the Font Software.
TERMINATION
This license becomes null and void if any of the above conditions are
not met.
DISCLAIMER
THE FONT SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT
OF COPYRIGHT, PATENT, TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL THE
COPYRIGHT HOLDER BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
INCLUDING ANY GENERAL, SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL
DAMAGES, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
FROM, OUT OF THE USE OR INABILITY TO USE THE FONT SOFTWARE OR FROM
OTHER DEALINGS IN THE FONT SOFTWARE.

View File

@@ -1,10 +1,10 @@
SUMMARY="The Humor-Sans font"
DESCRIPTION="
DESCRIPTION="\
A sans-serif typeface in the style of xkcd. Xkcd is a popular webcomics with \
focus on computer science or everything else.
"
HOMEPAGE="http://antiyawn.com/uploads/humorsans.html"
SRC_URI="http://antiyawn.com/uploads/Humor-Sans-1.0.ttf"
SRC_URI="http://antiyawn.com/uploads/Humor-Sans-1.0.ttf#noarchive"
CHECKSUM_SHA256="2ded6a27448c9ed30aaff177744e2bcf1e52e0aab018b2a8be64565df633318f"
LICENSE="SIL Open Font License v1.1"
COPYRIGHT="2009, Michael Ciuffo, with Reserved Font Name Humor-Sans"

View File

@@ -1,26 +1,41 @@
DESCRIPTION="Inconsolata Programmer's font"
SUMMARY="Inconsolata Programmer's font"
DESCRIPTION="Inconsolata is a monospace font, designed for code listings \
and the like, in print. There are a great many 'programmer fonts,' designed \
primarily for use on the screen, but in most cases do not have the attention \
to detail for high resolution rendering."
HOMEPAGE="http://www.levien.com/type/myfonts/inconsolata.html"
SRC_URI="http://media.nodnod.net/Inconsolata-dz.otf.zip"
REVISION="2"
STATUS_HAIKU="stable"
DEPEND=""
CHECKSUM_MD5="8510443343f43382566511e73abc06f8"
CHECKSUM_SHA256="002fed4b8c1e5417c03f9b55e009acc682da08b13cdbf8f601f52efaf5324d58"
SRC_URI_2="http://levien.com/type/myfonts/Inconsolata.otf#noarchive"
CHECKSUM_SHA256_2="1561e616c414a1b82d6e6dfbd18e5726fd65028913ade191e5fa38b6ec375a1a"
SRC_URI_3="http://www.cosmix.org/software/files/InconsolataHellenic.zip"
CHECKSUM_SHA256_3="415f6cd9badb1eefa90be8b10e6316e87f9824856b5e407213334bf5a77873e7"
REVISION="3"
LICENSE="SIL Open Font License v1.1"
COPYRIGHT="2006 Raph Levien
2009 David Zhou
2010-2012 Dimosthenis Kaponis
"
ARCHITECTURES="any"
DISABLE_SOURCE_PACKAGE=yes
PROVIDES="inconsolata = $portVersion"
REQUIRES=""
BUILD_REQUIRES=""
BUILD_PREREQUIRES="coreutils"
SOURCE_DIR=""
BUILD()
{
echo "No building required."
true
}
INSTALL()
{
FONTDIR=${fontsDir}/otfonts
mkdir -p ${FONTDIR}
wget http://levien.com/type/myfonts/Inconsolata.otf
wget http://www.cosmix.org/software/files/InconsolataHellenic.zip
unzip -o InconsolataHellenic.zip
cp -r *.otf ${FONTDIR}/
}
LICENSE="SIL Open Font License v1.1"
COPYRIGHT="2006 Raph Levien
2009 David Zhou
2010-2012 Dimosthenis Kaponis"

View File

@@ -1,25 +1,41 @@
DESCRIPTION="KACST Arabic Truetype Fonts"
SUMMARY="KACST Arabic Truetype Fonts"
DESCRIPTION="\
KacstOne font is part of KACST fonts, which are free fonts donated by \
King Abdulaziz City For Science And Technology (KACST) under GPL. \
Arabeyes version of KacstOne is modified for better visibility and \
readability on the screen, the font is optimized for 10pt size under \
100dpi. Special attention was given to diacritical marks (tashkil or \
harakat) and dots to make sure they are visible and easily distinguishable.
"
HOMEPAGE="http://www.arabeyes.org/project.php?proj=Khotot"
SRC_URI="http://sourceforge.net/projects/arabeyes/files/latest/download?source=files"
REVISION="2"
STATUS_HAIKU="stable"
DEPEND=""
CHECKSUM_MD5="0a7ad4538d3b97adfbefa4c5cf8c2660"
CHECKSUM_SHA256="1b016f49f99de16a65dcd990f229e729e6c4c6df02b23409771f6e27b69186a7"
REVISION="3"
LICENSE="GNU GPL v2"
COPYRIGHT="2004 KACST
2002,2003,2005,2008,2009 Free Software Foundation
2009-2011 Kahled Hosny (Arabeyes additions)"
ARCHITECTURES="any"
DISABLE_SOURCE_PACKAGE=yes
PROVIDES="kacst_fonts = $portVersion"
REQUIRES=""
BUILD_REQUIRES=""
BUILD_PREREQUIRES="coreutils"
SOURCE_DIR="kacst_one_5.0"
BUILD()
{
cd kacst_one_5.0
true
}
INSTALL()
{
cd kacst_one_5.0
FONTDIR=${fontsDir}/ttfonts
mkdir -p ${FONTDIR}
cp KacstOne-Bold.ttf ${FONTDIR}/
cp KacstOne.ttf ${FONTDIR}/
}
LICENSE="GNU GPL v2"
COPYRIGHT="2004 KACST
2002,2003,2005,2008,2009 Free Software Foundation
2009-2011 Kahled Hosny (Arabeyes additions)"

View File

@@ -1,13 +1,40 @@
DESCRIPTION="Arabic font"
SUMMARY="Arabic font"
DESCRIPTION="\
Lateef is named after Shah Abdul Lateef Bhitai, the famous Sindhi \
mystic and poet. It is intended to be an appropriate style for use \
in Sindhi and other languages of the South Asian region.
This font provides a simplified rendering of Arabic script, using basic \
connecting glyphs but not including a wide variety of additional ligatures \
or contextual alternates (only the required lam-alef ligatures). This \
simplified style is often preferred for clarity, especially in non-Arabic \
languages, but may be considered unattractive in more traditional and \
literate communities.
One font from this typeface family is included in this release:
* Lateef Regular
This release supports virtually all of the Unicode 5.0 Arabic character \
repertoire (excluding the Arabic Presentation Forms blocks, which are not \
recommended for normal use). Font smarts are implemented using OpenType \
technology."
HOMEPAGE="http://scripts.sil.org/ArabicFonts_Download"
SRC_URI="http://scripts.sil.org/cms/scripts/render_download.php?format=file&media_id=Lateef_OT_1_001&filename=LateefRegOT_1.001.zip"
REVISION="2"
STATUS_HAIKU="stable"
DEPEND=""
CHECKSUM_MD5="c060ab84ab33ae8f991103258b8e7f22"
CHECKSUM_SHA256="ca3f84555007975d69c18f3d958f6a1a1c79c5b550c13d168d600e07efac1c09"
REVISION="3"
LICENSE="SIL Open Font License v1.1"
COPYRIGHT="2004-2008 SIL International"
ARCHITECTURES="any"
DISABLE_SOURCE_PACKAGE=yes
PROVIDES="lateef_font = $portVersion"
REQUIRES=""
BUILD_REQUIRES=""
BUILD_PREREQUIRES="coreutils"
SOURCE_DIR=""
BUILD()
{
echo "No building required."
true
}
INSTALL()
@@ -17,5 +44,3 @@ INSTALL()
cp -r *.ttf ${FONTDIR}
}
LICENSE="SIL Open Font License v1.1"
COPYRIGHT="2004-2008 SIL International"

View File

@@ -1,91 +0,0 @@
This Font Software is licensed under the SIL Open Font License, Version 1.1.
This license is copied below, and is also available with a FAQ at:
http://scripts.sil.org/OFL
-----------------------------------------------------------
SIL OPEN FONT LICENSE Version 1.1 - 26 February 2007
-----------------------------------------------------------
PREAMBLE
The goals of the Open Font License (OFL) are to stimulate worldwide
development of collaborative font projects, to support the font creation
efforts of academic and linguistic communities, and to provide a free and
open framework in which fonts may be shared and improved in partnership
with others.
The OFL allows the licensed fonts to be used, studied, modified and
redistributed freely as long as they are not sold by themselves. The
fonts, including any derivative works, can be bundled, embedded,
redistributed and/or sold with any software provided that any reserved
names are not used by derivative works. The fonts and derivatives,
however, cannot be released under any other type of license. The
requirement for fonts to remain under this license does not apply
to any document created using the fonts or their derivatives.
DEFINITIONS
"Font Software" refers to the set of files released by the Copyright
Holder(s) under this license and clearly marked as such. This may
include source files, build scripts and documentation.
"Reserved Font Name" refers to any names specified as such after the
copyright statement(s).
"Original Version" refers to the collection of Font Software components as
distributed by the Copyright Holder(s).
"Modified Version" refers to any derivative made by adding to, deleting,
or substituting -- in part or in whole -- any of the components of the
Original Version, by changing formats or by porting the Font Software to a
new environment.
"Author" refers to any designer, engineer, programmer, technical
writer or other person who contributed to the Font Software.
PERMISSION & CONDITIONS
Permission is hereby granted, free of charge, to any person obtaining
a copy of the Font Software, to use, study, copy, merge, embed, modify,
redistribute, and sell modified and unmodified copies of the Font
Software, subject to the following conditions:
1) Neither the Font Software nor any of its individual components,
in Original or Modified Versions, may be sold by itself.
2) Original or Modified Versions of the Font Software may be bundled,
redistributed and/or sold with any software, provided that each copy
contains the above copyright notice and this license. These can be
included either as stand-alone text files, human-readable headers or
in the appropriate machine-readable metadata fields within text or
binary files as long as those fields can be easily viewed by the user.
3) No Modified Version of the Font Software may use the Reserved Font
Name(s) unless explicit written permission is granted by the corresponding
Copyright Holder. This restriction only applies to the primary font name as
presented to the users.
4) The name(s) of the Copyright Holder(s) or the Author(s) of the Font
Software shall not be used to promote, endorse or advertise any
Modified Version, except to acknowledge the contribution(s) of the
Copyright Holder(s) and the Author(s) or with their explicit written
permission.
5) The Font Software, modified or unmodified, in part or in whole,
must be distributed entirely under this license, and must not be
distributed under any other license. The requirement for fonts to
remain under this license does not apply to any document created
using the Font Software.
TERMINATION
This license becomes null and void if any of the above conditions are
not met.
DISCLAIMER
THE FONT SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT
OF COPYRIGHT, PATENT, TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL THE
COPYRIGHT HOLDER BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
INCLUDING ANY GENERAL, SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL
DAMAGES, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
FROM, OUT OF THE USE OR INABILITY TO USE THE FONT SOFTWARE OR FROM
OTHER DEALINGS IN THE FONT SOFTWARE.

View File

@@ -33,6 +33,6 @@ INSTALL()
FONTDIR=$fontsDir/ttfonts
mkdir -p $FONTDIR
cd *.ttf $FONTDIR
cp *.ttf $FONTDIR
}

View File

@@ -1,27 +0,0 @@
DESCRIPTION="
The Liberation(tm) Fonts is a font family which aims at metric compatibility \
with Arial, Times New Roman, and Courier New. It is sponsored by Red Hat.
"
HOMEPAGE="https://fedorahosted.org/liberation-fonts"
SRC_URI="http://ports-space.haiku-files.org/media-fonts/source/liberation-fonts-1.06.0.20100721.tar.gz"
REVISION="2"
STATUS_HAIKU="broken"
DEPEND="fontforge"
CHECKSUM_MD5="2f45bd873ab48cf0c3a00fbd350c0e80"
BUILD()
{
cd liberation-fonts-1.06.0.20100721
make
}
INSTALL()
{
cd liberation-fonts-1.06.0.20100721
FONTDIR=${fontsDir}/ttfonts
mkdir -p ${FONTDIR}
cp -a *.ttf ${FONTDIR}/.
}
LICENSE="GNU GPL v2
Liberation Exceptions"
COPYRIGHT="2007-2010 Red Hat, Inc."

View File

@@ -0,0 +1,37 @@
SUMMARY="The Liberation Fonts"
DESCRIPTION="\
The Liberation(tm) Fonts is a font family which aims at metric compatibility \
with Arial, Times New Roman, and Courier New. It is sponsored by Red Hat.
"
HOMEPAGE="https://fedorahosted.org/liberation-fonts"
SRC_URI="https://fedorahosted.org/releases/l/i/liberation-fonts/liberation-fonts-2.00.1.tar.gz"
CHECKSUM_SHA256="7acbc612c3665292d2d94fd38fe7cd88d826281d31f8c209af92702bdaf6b9fa"
REVISION="3"
LICENSE="GNU GPL v2
Liberation Exceptions"
COPYRIGHT="2007-2010 Red Hat, Inc."
ARCHITECTURES="any"
PROVIDES="liberation_fonts = $portVersion"
REQUIRES=""
BUILD_REQUIRES=""
BUILD_PREREQUIRES="
cmd:make
coreutils
"
SOURCE_DIR="liberation-fonts-2.00.1"
BUILD()
{
make $jobArgs
}
INSTALL()
{
FONTDIR=${fontsDir}/ttfonts
mkdir -p ${FONTDIR}
cp -a *.ttf ${FONTDIR}
}

View File

@@ -0,0 +1,37 @@
SUMMARY="The Liberation Fonts"
DESCRIPTION="\
The Liberation(tm) Fonts is a font family which aims at metric compatibility \
with Arial, Times New Roman, and Courier New. It is sponsored by Red Hat.
"
HOMEPAGE="https://fedorahosted.org/liberation-fonts"
SRC_URI="https://fedorahosted.org/releases/l/i/liberation-fonts/liberation-fonts-ttf-2.00.1.tar.gz"
CHECKSUM_SHA256="7890278a6cd17873c57d9cd785c2d230d9abdea837e96516019c5885dd271504"
REVISION="3"
LICENSE="GNU GPL v2
Liberation Exceptions"
COPYRIGHT="2007-2010 Red Hat, Inc."
ARCHITECTURES="any"
DISABLE_SOURCE_PACKAGE=yes
PROVIDES="liberation_fonts_ttf = $portVersion"
REQUIRES=""
BUILD_REQUIRES=""
BUILD_PREREQUIRES="
coreutils
"
SOURCE_DIR="liberation-fonts-ttf-2.00.1"
BUILD()
{
true
}
INSTALL()
{
FONTDIR=${fontsDir}/ttfonts
mkdir -p ${FONTDIR}
cp -a *.ttf ${FONTDIR}
}

View File

@@ -0,0 +1,19 @@
LICENSE AGREEMENT AND LIMITED PRODUCT WARRANTY
LIBERATION FONT SOFTWARE
This agreement governs the use of the Software and any updates to the Software, regardless of the delivery mechanism. Subject to the following terms, Red Hat, Inc. ("Red Hat") grants to the user ("Client") a license to this work pursuant to the GNU General Public License v.2 with the exceptions set forth below and such other terms as are set forth in this End User License Agreement.
1. The Software and License Exception. LIBERATION font software (the "Software") consists of TrueType-OpenType formatted font software for rendering LIBERATION typefaces in sans-serif, serif, and monospaced character styles. You are licensed to use, modify, copy, and distribute the Software pursuant to the GNU General Public License v.2 with the following exceptions:
(a) As a special exception, if you create a document which uses this font, and embed this font or unaltered portions of this font into the document, this font does not by itself cause the resulting document to be covered by the GNU General Public License. This exception does not however invalidate any other reasons why the document might be covered by the GNU General Public License. If you modify this font, you may extend this exception to your version of the font, but you are not obligated to do so. If you do not wish to do so, delete this exception statement from your version.
(b) As a further exception, any distribution of the object code of the Software in a physical product must provide you the right to access and modify the source code for the Software and to reinstall that modified version of the Software in object code form on the same physical product on which you received it.
2. Intellectual Property Rights. The Software and each of its components, including the source code, documentation, appearance, structure and organization are owned by Red Hat and others and are protected under copyright and other laws. Title to the Software and any component, or to any copy, modification, or merged portion shall remain with the aforementioned, subject to the applicable license. The "LIBERATION" trademark is a trademark of Red Hat, Inc. in the U.S. and other countries. This agreement does not permit Client to distribute modified versions of the Software using Red Hat's trademarks. If Client makes a redistribution of a modified version of the Software, then Client must modify the files names to remove any reference to the Red Hat trademarks and must not use the Red Hat trademarks in any way to reference or promote the modified Software.
3. Limited Warranty. To the maximum extent permitted under applicable law, the Software is provided and licensed "as is" without warranty of any kind, expressed or implied, including the implied warranties of merchantability, non-infringement or fitness for a particular purpose. Red Hat does not warrant that the functions contained in the Software will meet Client's requirements or that the operation of the Software will be entirely error free or appear precisely as described in the accompanying documentation.
4. Limitation of Remedies and Liability. To the maximum extent permitted by applicable law, Red Hat or any Red Hat authorized dealer will not be liable to Client for any incidental or consequential damages, including lost profits or lost savings arising out of the use or inability to use the Software, even if Red Hat or such dealer has been advised of the possibility of such damages.
5. General. If any provision of this agreement is held to be unenforceable, that shall not affect the enforceability of the remaining provisions. This agreement shall be governed by the laws of the State of North Carolina and of the United States, without regard to any conflict of laws provisions, except that the United Nations Convention on the International Sale of Goods shall not apply.
Copyright © 2007 Red Hat, Inc. All rights reserved. LIBERATION is a trademark of Red Hat, Inc.

View File

@@ -1,5 +1,5 @@
SUMMARY="The Lohit family of Indic fonts"
DESCRIPTION="
DESCRIPTION="\
Lohit, which means 'red' in Sanskrit, is a family of Indic fonts. It was first \
released by Red Hat in 2004 but now it's developed by Fedora Project. The \
font family currently supports 21 Indian languages: Assamese, Bengali, \

View File

@@ -3,7 +3,7 @@ DESCRIPTION="M+ FONTS are Japanese font families designed by Coji Morishita.
The 'M' stands for 'Minimum', while the plus sign means above minimum."
HOMEPAGE="mplus-fonts.sourceforge.jp"
SRC_URI="http://jaist.dl.sourceforge.jp/mplus-fonts/62344/mplus-TESTFLIGHT-059.tar.xz"
SOURCE_DIR="."
SOURCE_DIR=""
CHECKSUM_SHA256="7862e113e04986646117267c4baee30aea163d43a382c14693f15287f16bbf25"
LICENSE="GNU GPL v2"
COPYRIGHT="2002-2008 M+ Fonts Project"

View File

@@ -1,16 +1,28 @@
DESCRIPTION="
SUMMARY="The Nafees Nastaleed font"
DESCRIPTION="\
Urdu language font developed according to calligraphic rules, following the \
style of one of the finest calligraphers of Pakistan (Nafees Raqam).
"
HOMEPAGE="http://www.crulp.org/software/localization/Fonts/nafeesNastaleeq.html"
SRC_URI="http://www.crulp.org/Downloads/localization/fonts/NafeesNastaleeq/Nafees_Nastaleeq_v1.02.zip"
REVISION="2"
STATUS_HAIKU="stable"
DEPEND=""
CHECKSUM_MD5="34ca164ce011b682522431fc332c0cb6"
HOMEPAGE="http://cle.org,pk/software/localization/Fonts/nafeesNastaleeq.html"
SRC_URI="http://cle.org.pk/Downloads/localization/fonts/NafeesNastaleeq/Nafees_Nastaleeq_v1.02.zip"
CHECKSUM_SHA256="3de26b7e9477f5e58f6e6478a61a1fc3889f533c1b8424d0d14fbc4b4e2b33c0"
REVISION="3"
LICENSE="CRULP"
COPYRIGHT="2004 Center for Research in Urdu Language Processing"
ARCHITECTURES="any"
DISABLE_SOURCE_PACKAGE=yes
PROVIDES="nafees_nastaleeq = $portVersion"
REQUIRES=""
BUILD_REQUIRES=""
BUILD_PREREQUIRES="coreutils"
SOURCE_DIR=""
BUILD()
{
echo "Nothing to be done. To install this font, run haikuporter with -i option"
true
}
INSTALL()
@@ -20,5 +32,3 @@ INSTALL()
cp "Nafees Nastaleeq v1.02.ttf" ${FONTDIR}
}
LICENSE="CRULP"
COPYRIGHT="2004 Center for Research in Urdu Language Processing"

View File

@@ -1,15 +1,27 @@
DESCRIPTION="
Open Type Font for writng Urdu in Riqa script based on Unicode standard.
SUMMARY="The Nafees Riqa font"
DESCRIPTION="\
True Type Font for writng Urdu in Riqa script based on Unicode standard.
"
HOMEPAGE="http://www.crulp.org/software/localization/Fonts/nafeesRiqa.html"
SRC_URI="http://www.crulp.org/Downloads/localization/fonts/NafeesRiqa/Nafees_Riqa_v1.0.zip"
REVISION="2"
STATUS_HAIKU="stable"
DEPEND=""
CHECKSUM_MD5="504c6ada41a408575a120daf2a110b6f"
HOMEPAGE="http://cle.org.pk/software/localization/Fonts/nafeesRiqa.html"
SRC_URI="http://cle.org.pk/Downloads/localization/fonts/NafeesRiqa/Nafees_Riqa_v1.0.zip"
CHECKSUM_SHA256="11b567f9bddd8233973edd4abb912dc29644c96a4925bd01f1c948e575d531d2"
REVISION="3"
LICENSE="CRULP"
COPYRIGHT="2004 Center for Research in Urdu Language Processing"
ARCHITECTURES="any"
DISABLE_SOURCE_PACKAGE=yes
PROVIDES="nafees_riqa = $portVersion"
REQUIRES=""
BUILD_REQUIRES=""
BUILD_PREREQUIRES="coreutils"
SOURCE_DIR=""
BUILD()
{
echo "Nothing to be done. To install this font, run haikuporter with -i option"
true
}
INSTALL()
@@ -19,5 +31,3 @@ INSTALL()
cp "Nafees Riqa v1.0.ttf" ${FONTDIR}
}
LICENSE="CRULP"
COPYRIGHT="2004 Center for Research in Urdu Language Processing"

View File

@@ -1,91 +0,0 @@
This Font Software is licensed under the SIL Open Font License, Version 1.1.
This license is copied below, and is also available with a FAQ at:
http://scripts.sil.org/OFL
-----------------------------------------------------------
SIL OPEN FONT LICENSE Version 1.1 - 26 February 2007
-----------------------------------------------------------
PREAMBLE
The goals of the Open Font License (OFL) are to stimulate worldwide
development of collaborative font projects, to support the font creation
efforts of academic and linguistic communities, and to provide a free and
open framework in which fonts may be shared and improved in partnership
with others.
The OFL allows the licensed fonts to be used, studied, modified and
redistributed freely as long as they are not sold by themselves. The
fonts, including any derivative works, can be bundled, embedded,
redistributed and/or sold with any software provided that any reserved
names are not used by derivative works. The fonts and derivatives,
however, cannot be released under any other type of license. The
requirement for fonts to remain under this license does not apply
to any document created using the fonts or their derivatives.
DEFINITIONS
"Font Software" refers to the set of files released by the Copyright
Holder(s) under this license and clearly marked as such. This may
include source files, build scripts and documentation.
"Reserved Font Name" refers to any names specified as such after the
copyright statement(s).
"Original Version" refers to the collection of Font Software components as
distributed by the Copyright Holder(s).
"Modified Version" refers to any derivative made by adding to, deleting,
or substituting -- in part or in whole -- any of the components of the
Original Version, by changing formats or by porting the Font Software to a
new environment.
"Author" refers to any designer, engineer, programmer, technical
writer or other person who contributed to the Font Software.
PERMISSION & CONDITIONS
Permission is hereby granted, free of charge, to any person obtaining
a copy of the Font Software, to use, study, copy, merge, embed, modify,
redistribute, and sell modified and unmodified copies of the Font
Software, subject to the following conditions:
1) Neither the Font Software nor any of its individual components,
in Original or Modified Versions, may be sold by itself.
2) Original or Modified Versions of the Font Software may be bundled,
redistributed and/or sold with any software, provided that each copy
contains the above copyright notice and this license. These can be
included either as stand-alone text files, human-readable headers or
in the appropriate machine-readable metadata fields within text or
binary files as long as those fields can be easily viewed by the user.
3) No Modified Version of the Font Software may use the Reserved Font
Name(s) unless explicit written permission is granted by the corresponding
Copyright Holder. This restriction only applies to the primary font name as
presented to the users.
4) The name(s) of the Copyright Holder(s) or the Author(s) of the Font
Software shall not be used to promote, endorse or advertise any
Modified Version, except to acknowledge the contribution(s) of the
Copyright Holder(s) and the Author(s) or with their explicit written
permission.
5) The Font Software, modified or unmodified, in part or in whole,
must be distributed entirely under this license, and must not be
distributed under any other license. The requirement for fonts to
remain under this license does not apply to any document created
using the Font Software.
TERMINATION
This license becomes null and void if any of the above conditions are
not met.
DISCLAIMER
THE FONT SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT
OF COPYRIGHT, PATENT, TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL THE
COPYRIGHT HOLDER BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
INCLUDING ANY GENERAL, SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL
DAMAGES, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
FROM, OUT OF THE USE OR INABILITY TO USE THE FONT SOFTWARE OR FROM
OTHER DEALINGS IN THE FONT SOFTWARE.

View File

@@ -1,23 +1,32 @@
DESCRIPTION="
SUMMARY="The Nanum font"
DESCRIPTION="\
Korean monospace font distributed by NHN.
"
HOMEPAGE="http://dev.naver.com/projects/nanumfont"
SRC_URI="http://dev.naver.com/frs/download.php/441/NanumGothicCoding-2.0.zip"
REVISION="2"
STATUS_HAIKU="stable"
DEPEND=""
CHECKSUM_MD5="6214a5844454c96faeac9a60539c7daf"
CHECKSUM_SHA256="177317f060e305fa1dca079d453584d9ca7880153c992b188128c6b3b75ece2a"
REVISION="3"
LICENSE="SIL Open Font License v1.1"
COPYRIGHT="2009 NHN Corp."
ARCHITECTURES="any"
DISABLE_SOURCE_PACKAGE=yes
PROVIDES="nanumfont = $portVersion"
REQUIRES=""
BUILD_REQUIRES=""
BUILD_PREREQUIRES="coreutils"
SOURCE_DIR=""
BUILD()
{
echo "No building required."
true
}
INSTALL()
{
FONTDIR=${fontsDir}/ttfonts
mkdir -p ${FONTDIR}
cp -r *.ttf ${FONTDIR}/
cp *.ttf ${FONTDIR}
}
LICENSE="SIL Open Font License v1.1"
COPYRIGHT="2009 NHN Corp."

View File

@@ -3,7 +3,7 @@ LANG_DL="${LANG_EN}"
LANG_LC="bengali"
SUMMARY="The Noto Sans font for $LANG_EN"
DESCRIPTION="
DESCRIPTION="\
The Noto font family attempts to create a uniform look for all languages on \
Earth. This package contains the Noto Sans fonts for $LANG_EN.
"

View File

@@ -3,7 +3,7 @@ LANG_DL="CJK"
LANG_LC="cjk"
SUMMARY="The Noto Sans font for $LANG_EN"
DESCRIPTION="
DESCRIPTION="\
The Noto font family attempts to create a uniform look for all languages on \
Earth. This package contains the Noto Sans fonts for $LANG_EN.
"

View File

@@ -3,7 +3,7 @@ LANG_DL="${LANG_EN}"
LANG_LC="devanagari"
SUMMARY="The Noto Sans font for $LANG_EN"
DESCRIPTION="
DESCRIPTION="\
The Noto font family attempts to create a uniform look for all languages on \
Earth. This package contains the Noto Sans fonts for $LANG_EN.
"

View File

@@ -3,7 +3,7 @@ LANG_DL="${LANG_EN}"
LANG_LC="gujarati"
SUMMARY="The Noto Sans font for $LANG_EN"
DESCRIPTION="
DESCRIPTION="\
The Noto font family attempts to create a uniform look for all languages on \
Earth. This package contains the Noto Sans fonts for $LANG_EN.
"

View File

@@ -3,7 +3,7 @@ LANG_DL="${LANG_EN}"
LANG_LC="gurmukhi"
SUMMARY="The Noto Sans font for $LANG_EN"
DESCRIPTION="
DESCRIPTION="\
The Noto font family attempts to create a uniform look for all languages on \
Earth. This package contains the Noto Sans fonts for $LANG_EN.
"

View File

@@ -3,7 +3,7 @@ LANG_DL="${LANG_EN}"
LANG_LC="khmer"
SUMMARY="The Noto Sans font for $LANG_EN"
DESCRIPTION="
DESCRIPTION="\
The Noto font family attempts to create a uniform look for all languages on \
Earth. This package contains the Noto Sans fonts for $LANG_EN.
"

View File

@@ -3,7 +3,7 @@ LANG_DL="${LANG_EN}"
LANG_LC="lao"
SUMMARY="The Noto Sans font for $LANG_EN"
DESCRIPTION="
DESCRIPTION="\
The Noto font family attempts to create a uniform look for all languages on \
Earth. This package contains the Noto Sans fonts for $LANG_EN.
"

View File

@@ -6,7 +6,7 @@ LANG_DL="${LANG_EN}"
LANG_LC="myanmar"
SUMMARY="The Noto Sans font for $LANG_EN"
DESCRIPTION="
DESCRIPTION="\
The Noto font family attempts to create a uniform look for all languages on \
Earth. This package contains the Noto Sans fonts for $LANG_EN.
"

View File

@@ -3,13 +3,13 @@ LANG_DL="NewTaiLue"
LANG_LC="new_tai_lue"
SUMMARY="The Noto Sans font for $LANG_EN"
DESCRIPTION="
DESCRIPTION="\
The Noto font family attempts to create a uniform look for all languages on \
Earth. This package contains the Noto Sans fonts for $LANG_EN.
"
HOMEPAGE="https://www.google.com/get/noto/"
SRC_URI="https://www.google.com/get/noto/pkgs/NotoSans${LANG_DL}-unhinted.zip"
CHECKSUM_SHA256="660995d4cae6e4588a069f8d45ec52a96a624e501638a0c2ebd02683b623bced"
CHECKSUM_SHA256="922b5e02623a678b20b7f811a8589238b7b7f97e66704dcb866533f9c6d37476"
LICENSE="Apache v2"
COPYRIGHT="2012 Google Inc."
REVISION="1"

View File

@@ -3,7 +3,7 @@ LANG_DL="${LANG_EN}"
LANG_LC="sinhala"
SUMMARY="The Noto Sans font for $LANG_EN"
DESCRIPTION="
DESCRIPTION="\
The Noto font family attempts to create a uniform look for all languages on \
Earth. This package contains the Noto Sans fonts for $LANG_EN.
"

View File

@@ -3,7 +3,7 @@ LANG_DL="TaiLe"
LANG_LC="tai_le"
SUMMARY="The Noto Sans font for $LANG_EN"
DESCRIPTION="
DESCRIPTION="\
The Noto font family attempts to create a uniform look for all languages on \
Earth. This package contains the Noto Sans fonts for $LANG_EN.
"

View File

@@ -3,7 +3,7 @@ LANG_DL="TaiTham"
LANG_LC="tai_tham"
SUMMARY="The Noto Sans font for $LANG_EN"
DESCRIPTION="
DESCRIPTION="\
The Noto font family attempts to create a uniform look for all languages on \
Earth. This package contains the Noto Sans fonts for $LANG_EN.
"

View File

@@ -3,7 +3,7 @@ LANG_DL="TaiViet"
LANG_LC="tai_viet"
SUMMARY="The Noto Sans font for $LANG_EN"
DESCRIPTION="
DESCRIPTION="\
The Noto font family attempts to create a uniform look for all languages on \
Earth. This package contains the Noto Sans fonts for $LANG_EN.
"

View File

@@ -3,7 +3,7 @@ LANG_DL="${LANG_EN}"
LANG_LC="tamil"
SUMMARY="The Noto Sans font for $LANG_EN"
DESCRIPTION="
DESCRIPTION="\
The Noto font family attempts to create a uniform look for all languages on \
Earth. This package contains the Noto Sans fonts for $LANG_EN.
"

View File

@@ -3,7 +3,7 @@ LANG_DL="${LANG_EN}"
LANG_LC="telugu"
SUMMARY="The Noto Sans font for $LANG_EN"
DESCRIPTION="
DESCRIPTION="\
The Noto font family attempts to create a uniform look for all languages on \
Earth. This package contains the Noto Sans fonts for $LANG_EN.
"

View File

@@ -3,7 +3,7 @@ LANG_DL="${LANG_EN}"
LANG_LC="thai"
SUMMARY="The Noto Sans font for $LANG_EN"
DESCRIPTION="
DESCRIPTION="\
The Noto font family attempts to create a uniform look for all languages on \
Earth. This package contains the Noto Sans fonts for $LANG_EN.
"

View File

@@ -3,7 +3,7 @@ LANG_DL="${LANG_EN}"
LANG_LC="khmer"
SUMMARY="The Noto Serif font for $LANG_EN"
DESCRIPTION="
DESCRIPTION="\
The Noto font family attempts to create a uniform look for all languages on \
Earth. This package contains the Noto Serif fonts for $LANG_EN.
"

View File

@@ -3,7 +3,7 @@ LANG_DL="${LANG_EN}"
LANG_LC="lao"
SUMMARY="The Noto Serif font for $LANG_EN"
DESCRIPTION="
DESCRIPTION="\
The Noto font family attempts to create a uniform look for all languages on \
Earth. This package contains the Noto Serif fonts for $LANG_EN.
"

View File

@@ -3,7 +3,7 @@ LANG_DL="${LANG_EN}"
LANG_LC="thai"
SUMMARY="The Noto Serif font for $LANG_EN"
DESCRIPTION="
DESCRIPTION="\
The Noto font family attempts to create a uniform look for all languages on \
Earth. This package contains the Noto Serif fonts for $LANG_EN.
"

View File

@@ -0,0 +1,36 @@
SUMMARY="The Open Sans font"
DESCRIPTION="Open Sans is a humanist sans serif typeface designed by Steve Matteson, \
Type Director of Ascender Corp. Open Sans was designed with an upright stress, \
open forms and a neutral, yet friendly appearance. It was optimized for print, web, \
and mobile interfaces, and has excellent legibility characteristics in its letterforms."
HOMEPAGE="http://www.google.com/fonts/specimen/Open+Sans"
# From Google fonts,
# http://www.google.com/fonts#UsePlace:use/Collection:Open+Sans:300italic,400italic,600italic,700italic,800italic,400,300,600,700,800
# Leave out the checksum here as the file is generated on the fly.
SRC_URI="http://www.google.com/fonts/download?kit=3hvsV99qyKCBS55e5pvb3ltkqrIMaAZWyLYEoB48lSQ"
SRC_FILENAME="open-sans.zip"
LICENSE="Apache v2"
COPYRIGHT="2010-2011 Google Corporation"
REVISION="1"
ARCHITECTURES="any"
DISABLE_SOURCE_PACKAGE=yes
PROVIDES="open_sans = $portVersion"
REQUIRES=""
BUILD_REQUIRES=""
BUILD_PREREQUIRES="coreutils"
SOURCE_DIR=""
BUILD()
{
true
}
INSTALL()
{
FONTDIR=$fontsDir/ttfonts
mkdir -p ${FONTDIR}
cp *.ttf ${FONTDIR}
}

View File

@@ -1,5 +1,5 @@
SUMMARY="The Android Roboto font"
DESCRIPTION="
DESCRIPTION="\
The Android design language relies on traditional typographic tools such as \
scale, space, rhythm, and alignment with an underlying grid. Successful \
deployment of these tools is essential to help users quickly understand a \

View File

@@ -1,91 +0,0 @@
This Font Software is licensed under the SIL Open Font License, Version 1.1.
This license is copied below, and is also available with a FAQ at:
http://scripts.sil.org/OFL
-----------------------------------------------------------
SIL OPEN FONT LICENSE Version 1.1 - 26 February 2007
-----------------------------------------------------------
PREAMBLE
The goals of the Open Font License (OFL) are to stimulate worldwide
development of collaborative font projects, to support the font creation
efforts of academic and linguistic communities, and to provide a free and
open framework in which fonts may be shared and improved in partnership
with others.
The OFL allows the licensed fonts to be used, studied, modified and
redistributed freely as long as they are not sold by themselves. The
fonts, including any derivative works, can be bundled, embedded,
redistributed and/or sold with any software provided that any reserved
names are not used by derivative works. The fonts and derivatives,
however, cannot be released under any other type of license. The
requirement for fonts to remain under this license does not apply
to any document created using the fonts or their derivatives.
DEFINITIONS
"Font Software" refers to the set of files released by the Copyright
Holder(s) under this license and clearly marked as such. This may
include source files, build scripts and documentation.
"Reserved Font Name" refers to any names specified as such after the
copyright statement(s).
"Original Version" refers to the collection of Font Software components as
distributed by the Copyright Holder(s).
"Modified Version" refers to any derivative made by adding to, deleting,
or substituting -- in part or in whole -- any of the components of the
Original Version, by changing formats or by porting the Font Software to a
new environment.
"Author" refers to any designer, engineer, programmer, technical
writer or other person who contributed to the Font Software.
PERMISSION & CONDITIONS
Permission is hereby granted, free of charge, to any person obtaining
a copy of the Font Software, to use, study, copy, merge, embed, modify,
redistribute, and sell modified and unmodified copies of the Font
Software, subject to the following conditions:
1) Neither the Font Software nor any of its individual components,
in Original or Modified Versions, may be sold by itself.
2) Original or Modified Versions of the Font Software may be bundled,
redistributed and/or sold with any software, provided that each copy
contains the above copyright notice and this license. These can be
included either as stand-alone text files, human-readable headers or
in the appropriate machine-readable metadata fields within text or
binary files as long as those fields can be easily viewed by the user.
3) No Modified Version of the Font Software may use the Reserved Font
Name(s) unless explicit written permission is granted by the corresponding
Copyright Holder. This restriction only applies to the primary font name as
presented to the users.
4) The name(s) of the Copyright Holder(s) or the Author(s) of the Font
Software shall not be used to promote, endorse or advertise any
Modified Version, except to acknowledge the contribution(s) of the
Copyright Holder(s) and the Author(s) or with their explicit written
permission.
5) The Font Software, modified or unmodified, in part or in whole,
must be distributed entirely under this license, and must not be
distributed under any other license. The requirement for fonts to
remain under this license does not apply to any document created
using the Font Software.
TERMINATION
This license becomes null and void if any of the above conditions are
not met.
DISCLAIMER
THE FONT SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT
OF COPYRIGHT, PATENT, TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL THE
COPYRIGHT HOLDER BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
INCLUDING ANY GENERAL, SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL
DAMAGES, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
FROM, OUT OF THE USE OR INABILITY TO USE THE FONT SOFTWARE OR FROM
OTHER DEALINGS IN THE FONT SOFTWARE.

View File

@@ -1,5 +1,5 @@
SUMMARY="Arabic script font."
DESCRIPTION="
DESCRIPTION="\
Scheherazade, named after the heroine of the classic Arabian Nights tale, \
is designed in a similar style to traditional typefaces such as Monotype Naskh, \
extended to cover the full Unicode Arabic repertoire

View File

@@ -0,0 +1,47 @@
SUMMARY="The Source Sans Pro Font"
DESCRIPTION="\
Source Sans Pro was designed by Paul D. Hunt under the guidance of Robert Slimbach. \
It is Adobe's first open source typeface family, conceived primarily as a typeface \
for user interfaces. Source Sans Pro draws inspiration from the clarity and legibility \
of twentieth-century American gothic typeface designs. Distilling the best \
archetypical qualities of these models, Paul followed a rational design approach by \
simplifying glyph shapes by paring them to their essential form. However, in order \
to more easily differentiate similar letter shapes (such as uppercase I and lowercase L), \
some additional details have been added. Besides providing such explicitly \
clarity in short text strings, another fundamental design consideration was to create \
a typeface that reads well in extended settings. This can be seen in the general \
proportions: Source Sans Pro has been designed with a more generous width than many \
other comparable gothics, and its shorter majuscule letters, combined with minuscule \
letters with longer extenders, create a more pleasant reading texture in longer text passages.
"
HOMEPAGE="https://store1.adobe.com/cfusion/store/html/index.cfm?event=displayFontPackage&code=1959"
# From Google fonts,
# http://www.google.com/fonts#UsePlace:use/Collection:Source+Sans+Pro:200,300,400,600,700,900,200italic,300italic,400italic,600italic,700italic,900italic
# Leave out the checksum here as the file is generated on the fly.
SRC_URI="http://www.google.com/fonts/download?kit=oSlYq_wYbrV5L-loA5QUynXmVIqD4Rma_X5NukQ7EX0"
SRC_FILENAME="Source_Sans_Pro.zip"
LICENSE="SIL Open Font License v1.1"
COPYRIGHT="2010, 2012, 2014 Adobe Systems Incorporated"
REVISION="1"
ARCHITECTURES="any"
DISABLE_SOURCE_PACKAGE=yes
PROVIDES="source_sans_pro = $portVersion"
REQUIRES=""
BUILD_REQUIRES=""
BUILD_PREREQUIRES="coreutils"
SOURCE_DIR=""
BUILD()
{
true
}
INSTALL()
{
FONTDIR=$fontsDir/ttfonts
mkdir -p ${FONTDIR}
cp *.ttf ${FONTDIR}
}

View File

@@ -3,7 +3,7 @@ DESCRIPTION="Basic Latin, Greek, Cyrillic, and many Symbol blocks of The \
Unicode Standard, Version 7.0"
HOMEPAGE="http://users.teilar.gr/~g1951d"
SRC_URI="http://users.teilar.gr/~g1951d/Symbola.zip"
CHECKSUM_SHA256="4e98df630002a95da59970916cab05a2229874066871f12f2ad0b547b9c260b6"
CHECKSUM_SHA256="ad66a618d21b81f0c64a262efd8046c425326e958983552dde6965e73a7bf6bc"
LICENSE="Public Domain"
COPYRIGHT="None"
REVISION="1"

View File

@@ -1,5 +1,5 @@
SUMMARY="Font family from Ubuntu operating system"
DESCRIPTION="
DESCRIPTION="\
The Ubuntu Font Family belongs to sans-serif typeface. It's set as default \
font for the current releases of Ubuntu, one of the most popular Linux-based \
operating systems. It was designed by Dalton Maag in 2010 and now it covers \

View File

@@ -1,91 +0,0 @@
This Font Software is licensed under the SIL Open Font License, Version 1.1.
This license is copied below, and is also available with a FAQ at:
http://scripts.sil.org/OFL
-----------------------------------------------------------
SIL OPEN FONT LICENSE Version 1.1 - 26 February 2007
-----------------------------------------------------------
PREAMBLE
The goals of the Open Font License (OFL) are to stimulate worldwide
development of collaborative font projects, to support the font creation
efforts of academic and linguistic communities, and to provide a free and
open framework in which fonts may be shared and improved in partnership
with others.
The OFL allows the licensed fonts to be used, studied, modified and
redistributed freely as long as they are not sold by themselves. The
fonts, including any derivative works, can be bundled, embedded,
redistributed and/or sold with any software provided that any reserved
names are not used by derivative works. The fonts and derivatives,
however, cannot be released under any other type of license. The
requirement for fonts to remain under this license does not apply
to any document created using the fonts or their derivatives.
DEFINITIONS
"Font Software" refers to the set of files released by the Copyright
Holder(s) under this license and clearly marked as such. This may
include source files, build scripts and documentation.
"Reserved Font Name" refers to any names specified as such after the
copyright statement(s).
"Original Version" refers to the collection of Font Software components as
distributed by the Copyright Holder(s).
"Modified Version" refers to any derivative made by adding to, deleting,
or substituting -- in part or in whole -- any of the components of the
Original Version, by changing formats or by porting the Font Software to a
new environment.
"Author" refers to any designer, engineer, programmer, technical
writer or other person who contributed to the Font Software.
PERMISSION & CONDITIONS
Permission is hereby granted, free of charge, to any person obtaining
a copy of the Font Software, to use, study, copy, merge, embed, modify,
redistribute, and sell modified and unmodified copies of the Font
Software, subject to the following conditions:
1) Neither the Font Software nor any of its individual components,
in Original or Modified Versions, may be sold by itself.
2) Original or Modified Versions of the Font Software may be bundled,
redistributed and/or sold with any software, provided that each copy
contains the above copyright notice and this license. These can be
included either as stand-alone text files, human-readable headers or
in the appropriate machine-readable metadata fields within text or
binary files as long as those fields can be easily viewed by the user.
3) No Modified Version of the Font Software may use the Reserved Font
Name(s) unless explicit written permission is granted by the corresponding
Copyright Holder. This restriction only applies to the primary font name as
presented to the users.
4) The name(s) of the Copyright Holder(s) or the Author(s) of the Font
Software shall not be used to promote, endorse or advertise any
Modified Version, except to acknowledge the contribution(s) of the
Copyright Holder(s) and the Author(s) or with their explicit written
permission.
5) The Font Software, modified or unmodified, in part or in whole,
must be distributed entirely under this license, and must not be
distributed under any other license. The requirement for fonts to
remain under this license does not apply to any document created
using the Font Software.
TERMINATION
This license becomes null and void if any of the above conditions are
not met.
DISCLAIMER
THE FONT SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT
OF COPYRIGHT, PATENT, TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL THE
COPYRIGHT HOLDER BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
INCLUDING ANY GENERAL, SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL
DAMAGES, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
FROM, OUT OF THE USE OR INABILITY TO USE THE FONT SOFTWARE OR FROM
OTHER DEALINGS IN THE FONT SOFTWARE.

View File

@@ -1,13 +1,27 @@
SUMMARY="Uyghur Unicode fonts"
DESCRIPTION="Uyghur Computer Science Association font project"
HOMEPAGE="http://www.ukij.org/fonts/"
SRC_URI="http://ukijorgfonts.googlecode.com/files/ukijorgfonts.zip"
REVISION="2"
STATUS_HAIKU="stable"
DEPEND=""
CHECKSUM_MD5="e50ed1b90f96cad12e31f8769bd598dc"
CHECKSUM_SHA256="31fa76566d93fcebab9360147dc6c3f73bfb48a621fbe777dc30c4eff124ca36"
REVISION="3"
LICENSE="SIL Open Font License v1.1
GNU LGPL v2
GNU GPL v2"
COPYRIGHT="2004-2011 Uyghur Computer Science Association"
ARCHITECTURES="any"
DISABLE_SOURCE_PACKAGE=yes
PROVIDES="ukijorgfonts = $portVersion"
REQUIRES=""
BUILD_REQUIRES=""
BUILD_PREREQUIRES="coreutils"
SOURCE_DIR=""
BUILD()
{
echo "Nothing to be done. To install this font, run haikuporter with -i option"
true
}
INSTALL()
@@ -16,8 +30,3 @@ INSTALL()
mkdir -p ${FONTDIR}
cp *.ttf ${FONTDIR}
}
LICENSE="SIL Open Font License v1.1
GNU LGPL v2
GNU GPL v2"
COPYRIGHT="2004-2011 Uyghur Computer Science Association"

View File

@@ -4,7 +4,14 @@ The GNU Unifont by Roman Czyborra is a free bitmap font that covers the \
Unicode Basic Multilingual Plane (BMP), \
using an intermediate bitmapped font format."
HOMEPAGE="http://unifoundry.com"
SRC_URI="http://unifoundry.com/pub/unifont-7.0.06.tar.gz"
SRC_URI="http://unifoundry.com/pub/unifont-7.0.06/font-builds/unifont-7.0.06.ttf#noarchive"
CHECKSUM_SHA256="a7a49189502d01033cc4028048f10706c665952341f2d5831d4477c8b301b362"
SRC_URI_2="http://unifoundry.com/pub/unifont-7.0.06/font-builds/unifont_upper-7.0.06.ttf#noarchive"
CHECKSUM_SHA256_2="8cf9b9870860a3aec239d6ee43387a3ba8c3b8302d4b8d73bca8a419a7deb01d"
SRC_URI_3="http://unifoundry.com/pub/unifont-7.0.06/font-builds/unifont_csur-7.0.06.ttf#noarchive"
CHECKSUM_SHA256_3="ddf4b3632f7cda10d53c6f62e198db7989524cfd7131af2591ad50dc1aa31f06"
SRC_URI_4="http://unifoundry.com/pub/unifont-7.0.06/font-builds/unifont_upper_csur-7.0.06.ttf#noarchive"
CHECKSUM_SHA256_4="0e1841505d1be6636cf6d5e60cc4ff09b56784e29f2728060231b26d74ab7551"
SOURCE_DIR=""
LICENSE="GNU GPL v2"
COPYRIGHT="Unifoundry"
@@ -27,5 +34,5 @@ INSTALL()
FONTDIR=$fontsDir/ttfonts
mkdir -p ${FONTDIR}
cp unifont-7.0.06/font/precompiled/*.ttf ${FONTDIR}
cp ../sources*/*.ttf ${FONTDIR}
}

View File

@@ -1,5 +1,5 @@
SUMMARY="The typeface for bread and butter use"
DESCRIPTION="
DESCRIPTION="\
Vollkorn means wholemeal in German. The Vollkorn typeface is free and healthy \
typeface for bread and butter use. It intends to be a quiet, modest and well \
working text face. It might be used. It might be used as body type as well as \

View File

@@ -1,5 +1,5 @@
SUMMARY="A droid derived Sans-Serif style CJK font"
DESCRIPTION="
DESCRIPTION="\
A droid derived Sans-Serif style CJK font.
"
HOMEPAGE="http://wenq.org/wqy2/index.cgi?Home"

View File

@@ -1,5 +1,5 @@
SUMMARY="WenQuanYi Hei-Ti Style (sans-serif) Chinese outline font"
DESCRIPTION="
DESCRIPTION="\
WenQuanYi Hei-Ti Style (sans-serif) Chinese outline font.
"
HOMEPAGE="http://wenq.org/wqy2/index.cgi?Home"

Some files were not shown because too many files have changed in this diff Show More