agar, bump version (#7010)

This commit is contained in:
Schrijvers Luc
2022-07-02 09:05:56 +02:00
committed by GitHub
parent fb9105c642
commit 81eb578fc8
4 changed files with 553 additions and 57 deletions

View File

@@ -1,57 +0,0 @@
SUMMARY="A modern open-source, cross-platform toolkit for graphical applications"
DESCRIPTION="Cross-platform GUI toolkit. Agar provides a base framework and \
a collection of GUI widgets from which GUI applications can be built. Agar \
can be styled and themed using a CSS-style engine."
HOMEPAGE="http://libagar.org/index.html.en"
COPYRIGHT="2002-2016 Hypertrition, Inc."
LICENSE="BSD (2-clause)"
REVISION="2"
SOURCE_URI="http://stable.hypertriton.com/agar/agar-$portVersion.tar.gz"
CHECKSUM_SHA256="82342ded342c578141984befe9318f3d376176e5f427ae3278f8985f26663c00"
ARCHITECTURES="!all"
SECONDARY_ARCHITECTURES="!x86_gcc2 !x86"
PROVIDES="
agar$secondaryArchSuffix = $portVersion
cmd:agar$secondaryArchSuffix
"
REQUIRES="
haiku$secondaryArchSuffix
lib:libfreetype$secondaryArchSuffix
lib:libGL$secondaryArchSuffix
lib:libjpeg$secondaryArchSuffix
lib:liblua$secondaryArchSuffix
lib:libpng16$secondaryArchSuffix
lib:libsdl$secondaryArchSuffix
lib:libsndfile$secondaryArchSuffix
"
BUILD_REQUIRES="
haiku${secondaryArchSuffix}_devel
devel:libfontconfig$secondaryArchSuffix
devel:libfreetype$secondaryArchSuffix
devel:libGL$secondaryArchSuffix
devel:libjpeg$secondaryArchSuffix
devel:libpng16$secondaryArchSuffix
devel:libsdl$secondaryArchSuffix
devel:libsndfile$secondaryArchSuffix
"
BUILD_PREREQUIRES="
cmd:awk
cmd:gcc$secondaryArchSuffix
cmd:libtool$secondaryArchSuffix
cmd:make
cmd:perl
"
BUILD()
{
./configure --prefix=$prefix
make depend all $jobArgs
}
INSTALL()
{
make install
}

View File

@@ -0,0 +1,130 @@
SUMMARY="A modern open-source, cross-platform toolkit for graphical applications"
DESCRIPTION="Cross-platform GUI toolkit. Agar provides a base framework and \
a collection of GUI widgets from which GUI applications can be built. Agar \
can be styled and themed using a CSS-style engine."
HOMEPAGE="http://libagar.org/index.html.en"
COPYRIGHT="2002-2016 Hypertrition, Inc."
LICENSE="BSD (2-clause)
OFL v1.1"
REVISION="1"
SOURCE_URI="https://github.com/JulNadeauCA/libagar/archive/refs/tags/v$portVersion.tar.gz"
CHECKSUM_SHA256="1cc3fcbbce394981c421bb7429c70020e0ee443c1e15dbf701c2e0504ad035b0"
SOURCE_FILENAME="agar-v$portVersion.tar.gz"
SOURCE_DIR="libagar-$portVersion"
PATCHES="agar-$portVersion.patchset"
ARCHITECTURES="?all !x86_gcc2"
SECONDARY_ARCHITECTURES="?x86"
commandBinDir=$binDir
commandSuffix=$secondaryArchSuffix
if [ "$targetArchitecture" = x86_gcc2 ]; then
commandSuffix=
commandBinDir=$prefix/bin
fi
libVersion="6.0.0"
libVersionCompat="$libVersion compat >= ${libVersion%%.*}"
PROVIDES="
agar$secondaryArchSuffix = $portVersion
lib:libag_core$secondaryArchSuffix = $libVersionCompat
lib:libag_gui$secondaryArchSuffix = $libVersionCompat
lib:libag_math$secondaryArchSuffix = $libVersionCompat
lib:libag_net$secondaryArchSuffix = $libVersionCompat
lib:libag_sg$secondaryArchSuffix = $libVersionCompat
lib:libag_sk$secondaryArchSuffix = $libVersionCompat
lib:libag_vg$secondaryArchSuffix = $libVersionCompat
"
REQUIRES="
haiku$secondaryArchSuffix
lib:libfontconfig$secondaryArchSuffix
lib:libfreetype$secondaryArchSuffix
lib:libGL$secondaryArchSuffix
lib:libGLU$secondaryArchSuffix
lib:libjpeg$secondaryArchSuffix
lib:libpng16$secondaryArchSuffix
lib:libSDL_1.2$secondaryArchSuffix
"
PROVIDES_devel="
agar${secondaryArchSuffix}_devel = $portVersion
cmd:agar_config$commandSuffix
cmd:agar_core_config$commandSuffix
cmd:agar_math_config$commandSuffix
cmd:agar_net_config$commandSuffix
cmd:agar_sg_config$commandSuffix
cmd:agar_sk_config$commandSuffix
cmd:agar_vg_config$commandSuffix
devel:libag_core$secondaryArchSuffix = $libVersionCompat
devel:libag_gui$secondaryArchSuffix = $libVersionCompat
devel:libag_math$secondaryArchSuffix = $libVersionCompat
devel:libag_net$secondaryArchSuffix = $libVersionCompat
devel:libag_sg$secondaryArchSuffix = $libVersionCompat
devel:libag_sk$secondaryArchSuffix = $libVersionCompat
devel:libag_vg$secondaryArchSuffix = $libVersionCompat
"
REQUIRES_devel="
agar$secondaryArchSuffix == $portVersion base
devel:libfreetype$secondaryArchSuffix
devel:libpng16$secondaryArchSuffix
devel:libSDL_1.2$secondaryArchSuffix
devel:libz$secondaryArchSuffix
"
BUILD_REQUIRES="
haiku${secondaryArchSuffix}_devel
devel:libfontconfig$secondaryArchSuffix
devel:libfreetype$secondaryArchSuffix
devel:libGL$secondaryArchSuffix
devel:libGLU$secondaryArchSuffix
devel:libjpeg$secondaryArchSuffix
devel:libpng16$secondaryArchSuffix
devel:libSDL_1.2$secondaryArchSuffix
"
BUILD_PREREQUIRES="
cmd:awk
cmd:gcc$secondaryArchSuffix
cmd:libtool$secondaryArchSuffix
cmd:make
cmd:perl
cmd:pkg_config$secondaryArchSuffix
"
BUILD()
{
export LDFLAGS="-lnetwork"
runConfigure --omit-dirs \
"binDir includeDir oldIncludeDir" \
./configure --bindir=$commandBinDir
make depend all $jobArgs
}
INSTALL()
{
make install DATADIR=$dataDir INCLDIR=$includeDir PKGCONFIG_LIBDIR=$libDir/pkgconfig \
TTFDIR=$dataDir/agar/fonts
mkdir -p $dataDir/fonts/{otfonts,ttfonts}
mv $dataDir/*otf $dataDir/fonts/otfonts
mv $dataDir/*ttf $dataDir/fonts/ttfonts
rm -rf $libDir/*.la
rm -rf $dataDir/{*.md,*.bmp,*.xcf,*.css,*.txt}
sed -i "s|include|develop/headers$secondaryArchSubDir|" $commandBinDir/agar-config
sed -i "s|include|develop/headers$secondaryArchSubDir|" $commandBinDir/agar-core-config
sed -i "s|include|develop/headers$secondaryArchSubDir|" $commandBinDir/agar-math-config
sed -i "s|include|develop/headers$secondaryArchSubDir|" $commandBinDir/agar-net-config
sed -i "s|include|develop/headers$secondaryArchSubDir|" $commandBinDir/agar-sg-config
sed -i "s|include|develop/headers$secondaryArchSubDir|" $commandBinDir/agar-sk-config
sed -i "s|include|develop/headers$secondaryArchSubDir|" $commandBinDir/agar-vg-config
prepareInstalledDevelLibs libag_core libag_gui libag_math libag_net libag_vg libag_sg libag_sk
fixPkgconfig
packageEntries devel \
$commandBinDir \
$developDir \
$dataDir/aclocal
}

View File

@@ -0,0 +1,164 @@
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.
Algue Fonts
-----------
Copyright (c) 2003 by Bitstream, Inc. All Rights Reserved. Bitstream Vera is a trademark of Bitstream, Inc.
Copyright (c) 2006 by Tavmjong Bah. All Rights Reserved.
DejaVu changes are in public domain
Algue changes are in public domain
DejaVu Sans Fonts
-----------------
Fonts are (c) Bitstream (see below). DejaVu changes are in public domain.
Glyphs imported from Arev fonts are (c) Tavmjong Bah (see below)
Bitstream Vera Fonts
--------------------
Copyright (c) 2003 by Bitstream, Inc. All Rights Reserved. Bitstream Vera is a trademark of Bitstream, Inc.
Permission is hereby granted, free of charge, to any person obtaining a copy of the fonts accompanying this license ("Fonts") and associated documentation files (the "Font Software"), to reproduce and distribute the Font Software, including without limitation the rights to use, copy, merge, publish, distribute, and/or sell copies of the Font Software, and to permit persons to whom the Font Software is furnished to do so, subject to the following conditions:
The above copyright and trademark notices and this permission notice shall be included in all copies of one or more of the Font Software typefaces.
The Font Software may be modified, altered, or added to, and in particular the designs of glyphs or characters in the Fonts may be modified and additional glyphs or characters may be added to the Fonts, only if the fonts are renamed to names not containing either the words "Bitstream" or the word "Vera".
This License becomes null and void to the extent applicable to Fonts or Font Software that has been modified and is distributed under the "Bitstream Vera" names.
The Font Software may be sold as part of a larger software package but no copy of one or more of the Font Software typefaces may be sold by itself.
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 BITSTREAM OR THE GNOME FOUNDATION 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.
Except as contained in this notice, the names of Gnome, the Gnome Foundation, and Bitstream Inc., shall not be used in advertising or otherwise to promote the sale, use or other dealings in this Font Software without prior written authorization from the Gnome Foundation or Bitstream Inc., respectively. For further information, contact: fonts at gnome dot org.
Arev Fonts
----------
Copyright (c) 2006 by Tavmjong Bah. All Rights Reserved.
Permission is hereby granted, free of charge, to any person obtaining a copy of the fonts accompanying this license ("Fonts") and associated documentation files (the "Font Software"), to reproduce and distribute the modifications to the Bitstream Vera Font Software, including without limitation the rights to use, copy, merge, publish, distribute, and/or sell copies of the Font Software, and to permit persons to whom the Font Software is furnished to do so, subject to the following conditions:
The above copyright and trademark notices and this permission notice shall be included in all copies of one or more of the Font Software typefaces.
The Font Software may be modified, altered, or added to, and in particular the designs of glyphs or characters in the Fonts may be modified and additional glyphs or characters may be added to the Fonts, only if the fonts are renamed to names not containing either the words "Tavmjong Bah" or the word "Arev".
This License becomes null and void to the extent applicable to Fonts or Font Software that has been modified and is distributed under the "Tavmjong Bah Arev" names.
The Font Software may be sold as part of a larger software package but no copy of one or more of the Font Software typefaces may be sold by itself.
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 TAVMJONG BAH 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.
Except as contained in this notice, the name of Tavmjong Bah shall not be used in advertising or otherwise to promote the sale, use or other dealings in this Font Software without prior written authorization from Tavmjong Bah. For further information, contact: tavmjong @ free . fr.
TeX Gyre DJV Math
-----------------
Fonts are (c) Bitstream (see above). DejaVu changes are in public domain.
Math extensions done by B. Jackowski, P. Strzelczyk and P. Pianowski (on behalf of TeX users groups) are in public domain.
Letters imported from Euler Fraktur from AMSfonts are (c) American Mathematical Society (see below).
AMSFonts (v. 2.2) copyright
---------------------------
The PostScript Type 1 implementation of the AMSFonts produced by and previously distributed by Blue Sky Research and Y&Y, Inc. are now freely available for general use. This has been accomplished through the cooperation of a consortium of scientific publishers with Blue Sky Research and Y&Y. Members of this consortium include:
Elsevier Science IBM Corporation Society for Industrial and Applied Mathematics (SIAM) Springer-Verlag American Mathematical Society (AMS)
In order to assure the authenticity of these fonts, copyright will be held by the American Mathematical Society. This is not meant to restrict in any way the legitimate use of the fonts, such as (but not limited to) electronic distribution of documents containing these fonts, inclusion of these fonts into other public domain or commercial font collections or computer applications, use of the outline data to create derivative fonts and/or faces, etc. However, the AMS does require that the AMS copyright notice be removed from any derivative versions of the fonts which have been altered in any way. In addition, to ensure the fidelity of TeX documents using Computer Modern fonts, Professor Donald Knuth, creator of the Computer Modern faces, has requested that any alterations which yield different font metrics be given a different name.
AMSFonts (v. 2.2) copyright
---------------------------
Copyright (C) Authors of original metafont fonts:
Donald Ervin Knuth (cm, concrete fonts)
1995, 1996, 1997 J"org Knappen, 1990, 1992 Norbert Schwarz (ec fonts)
1992-2006 A.Khodulev, O.Lapko, A.Berdnikov, V.Volovich (lh fonts)
1997-2005 Claudio Beccari (cb greek fonts)
2002 FUKUI Rei (tipa fonts)
2003-2005 Han The Thanh (Vietnamese fonts)
1996-2005 Walter Schmidt (cmbright fonts)
Copyright (C) 2003-2009, Andrey V. Panov (panov@canopus.iacp.dvo.ru), with Reserved Font Family Name "Computer Modern Unicode fonts".
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
Bitstream Charter Fonts
-----------------------
This is a copy of the Charter fonts which Bitstream contributed to the X consortium. This is the original notice included with the fonts:
(c) Copyright 1989-1992, Bitstream Inc., Cambridge, MA.
You are hereby granted permission under all Bitstream propriety rights to use, copy, modify, sublicense, sell, and redistribute the 4 Bitstream Charter (r) Type 1 outline fonts and the 4 Courier Type 1 outline fonts for any purpose and without restriction; provided, that this notice is left intact on all copies of such fonts and that Bitstream's trademark is acknowledged as shown below on all unmodified copies of the 4 Charter Type 1 fonts. BITSTREAM CHARTER is a registered trademark of Bitstream Inc.
Courier Prime Fonts
-------------------
Copyright (c) 2013, Quote-Unquote Apps (http://quoteunquoteapps.com), with Reserved Font Name Courier Prime.
This Font Software is licensed under the SIL Open Font License, Version 1.1. This license is copied above, and is also available with a FAQ at: http://scripts.sil.org/OFL
Kanit Fonts
-----------
Copyright (c) 2015, Cadson Demak (info@cadsondemak.com)
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
League Gothic Fonts
-------------------
Copyright (c) 2010, Caroline Hadilaksono & Micah Rich <caroline@hadilaksono, micah@micahrich.com>, with Reserved Font Name: "League Gothic".
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
League Spartan Fonts
--------------------
Copyright (c) September 22 2014, Micah Rich micah@micahrich.com, with Reserved Font Name: "League Spartan".
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
Lobsang Monlam Fonts
--------------------
Copyright (c) 2008 by Lobsang monlam. All rights reserved.
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
Mukta Fonts
-----------
Copyright (c) 2013-2016 Ek Type (www.ektype.in)
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
Source Han Fonts
----------------
Copyright 2014-2019 Adobe (http://www.adobe.com/), with Reserved Font Name 'Source'. Source is a trademark of Adobe in the United States and/or other countries.
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
Unialgue Fonts
--------------
Copyright (c) 2003 by Bitstream, Inc. All Rights Reserved. Bitstream Vera is a trademark of Bitstream, Inc.
Copyright (c) 2008 by Lobsang monlam. All rights reserved.
Copyright (c) 2006 by Tavmjong Bah. All Rights Reserved.
Copyright (c) 2013-2016 Ek Type (www.ektype.in)
Copyright (c) 2015, Cadson Demak (info@cadsondemak.com)
DejaVu changes are in public domain
Unialgue changes are in public domain
UnifrakturMaguntia Fonts
------------------------
Copyright (c) 2010-2017 j. 'mach' wust, Gerrit Ansmann, Georg Duffner with Reserved Font Name UnifrakturMaguntia.
Copyright (c) 2009, Peter Wiegel.
This Font Software is licensed under the SIL Open Font License, Version 1.1. This license is copied above, and is also available with a FAQ at: http://scripts.sil.org/OFL

View File

@@ -0,0 +1,259 @@
From 07f63ca69ae713b20efe1405a0978acf141026ec Mon Sep 17 00:00:00 2001
From: begasus <begasus@gmail.com>
Date: Wed, 29 Jun 2022 11:36:41 +0200
Subject: Fix install path for agar.m4
diff --git a/Makefile b/Makefile
index a00dc8c..c7beef2 100644
--- a/Makefile
+++ b/Makefile
@@ -38,7 +38,7 @@ includes:
fi
cleandir-config:
- rm -fR include config
+ rm -fR include config
rm -f Makefile.config config.log configure.lua .projfiles.out .projfiles2.out
touch Makefile.config
-(cd tools && ${MAKE} cleandir)
@@ -88,12 +88,12 @@ install-config:
${SUDO} ${INSTALL_DATA} $$F ${DESTDIR}${PKGCONFIG_LIBDIR}; \
done; \
fi
- @if [ ! -e "${DESTDIR}${PREFIX}/share/aclocal" ]; then \
- echo "${INSTALL_DATA_DIR} ${PREFIX}/share/aclocal"; \
- ${SUDO} ${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/share/aclocal; \
+ @if [ ! -e "${DESTDIR}${DATADIR}/aclocal" ]; then \
+ echo "${INSTALL_DATA_DIR} ${DATADIR}/aclocal"; \
+ ${SUDO} ${INSTALL_DATA_DIR} ${DESTDIR}${DATADIR}/aclocal; \
fi
- @echo "${INSTALL_DATA} ${SRCDIR}/mk/agar.m4 ${PREFIX}/share/aclocal"
- @${SUDO} ${INSTALL_DATA} ${SRCDIR}/mk/agar.m4 ${DESTDIR}${PREFIX}/share/aclocal
+ @echo "${INSTALL_DATA} ${SRCDIR}/mk/agar.m4 ${DATADIR}/aclocal"
+ @${SUDO} ${INSTALL_DATA} ${SRCDIR}/mk/agar.m4 ${DESTDIR}${DATADIR}/aclocal
deinstall-config:
@for F in ${AVAIL_CONFIGSCRIPTS}; do \
@@ -107,7 +107,7 @@ deinstall-config:
done; \
fi
@echo "${DEINSTALL_DATA} ${PREFIX}/share/aclocal/agar.m4"
- @${SUDO} ${DEINSTALL_DATA} ${DESTDIR}${PREFIX}/share/aclocal/agar.m4
+ @${SUDO} ${DEINSTALL_DATA} ${DESTDIR}${DATADIR}/aclocal/agar.m4
pre-package:
@if [ "${PKG_OS}" = "windows" ]; then \
--
2.36.1
From 77d24792be6289502772f53f01e4bedc0e45bb36 Mon Sep 17 00:00:00 2001
From: begasus <begasus@gmail.com>
Date: Wed, 29 Jun 2022 12:20:20 +0200
Subject: Fix detection for libjpeg
diff --git a/configure b/configure
index 8adadcb..74aafe1 100755
--- a/configure
+++ b/configure
@@ -1,7 +1,7 @@
#!/bin/sh
#
# Do not edit!
-#
+#
# This file was generated from configure.in. To regenerate it properly, get
# BSDBuild 3.2 or later from https://bsdbuild.hypertriton.com/ and use:
#
@@ -676,7 +676,7 @@ if [ $? != 0 ]; then
fi
cat << EOT > conftest.1
.\" COMMENT
-.Dd
+.Dd
.Dd NOVEMBER 23, 2009
.Dt TEST 1
.Os
@@ -1916,7 +1916,7 @@ EOT
else
HAVE_OBJC="yes"
fi
-
+
if [ "${HAVE_OBJC}" = "yes" ]; then
if [ "${EXECSUFFIX}" = '' ]; then
EXECSUFFIX=''
@@ -6632,7 +6632,7 @@ echo 'hdefs["OPENGL_CFLAGS"] = nil' >>configure.lua
echo '#undef OPENGL_LIBS' >$bb_incdir/opengl_libs.h
echo 'hdefs["OPENGL_LIBS"] = nil' >>configure.lua
fi
-
+
if [ "${with_x}" != 'no' ]
then
$ECHO_N 'checking for the X window system...'
@@ -7416,7 +7416,7 @@ echo 'hdefs["XINERAMA_CFLAGS"] = nil' >>configure.lua
echo '#undef XINERAMA_LIBS' >$bb_incdir/xinerama_libs.h
echo 'hdefs["XINERAMA_LIBS"] = nil' >>configure.lua
fi
-
+
if [ "${with_cocoa}" != 'no' ]
then
$ECHO_N 'checking for the Cocoa framework...'
@@ -7635,7 +7635,7 @@ echo 'hdefs["GLX_CFLAGS"] = nil' >>configure.lua
echo '#undef GLX_LIBS' >$bb_incdir/glx_libs.h
echo 'hdefs["GLX_LIBS"] = nil' >>configure.lua
fi
-
+
if [ "${with_wgl}" != 'no' ]
then
$ECHO_N 'checking for the WGL interface...'
@@ -7741,7 +7741,7 @@ HAVE_WGL="no"
echo '#undef HAVE_WGL' >$bb_incdir/have_wgl.h
echo 'hdefs["HAVE_WGL"] = nil' >>configure.lua
fi
-
+
if [ "${with_freetype}" != 'no' ]
then
$ECHO_N 'checking for FreeType...'
@@ -8063,7 +8063,7 @@ echo 'hdefs["FREETYPE_CFFLAGS"] = nil' >>configure.lua
echo '#undef FREETYPE_LIBS' >$bb_incdir/freetype_libs.h
echo 'hdefs["FREETYPE_LIBS"] = nil' >>configure.lua
fi
-
+
if [ "${with_fontconfig}" != 'no' ]
then
$ECHO_N 'checking for fontconfig...'
@@ -8292,7 +8292,7 @@ echo 'hdefs["FONTCONFIG_CFLAGS"] = nil' >>configure.lua
echo '#undef FONTCONFIG_LIBS' >$bb_incdir/fontconfig_libs.h
echo 'hdefs["FONTCONFIG_LIBS"] = nil' >>configure.lua
fi
-
+
if [ "${with_jpeg}" != 'no' ]
then
$ECHO_N 'checking for libjpeg...'
@@ -8329,6 +8329,14 @@ if [ -e "/opt/include/jpeglib.h" ]; then
JPEG_CFLAGS="-I/opt/include"
JPEG_LIBS="-L/opt/lib -ljpeg"
fi
+if [ -e "/boot/system/develop/headers/x86/jpeglib.h" ]; then
+JPEG_CFLAGS="-I/boot/system/develop/headers/x86"
+JPEG_LIBS="-L/boot/systeem/lib/x86 -ljpeg"
+fi
+if [ -e "/boot/system/develop/headers/jpeglib.h" ]; then
+JPEG_CFLAGS="-I/boot/system/develop/headers"
+JPEG_LIBS="-L/boot/systeem/lib -ljpeg"
+fi
fi
if [ "${JPEG_LIBS}" != "" ]; then
echo 'yes'
@@ -8467,7 +8475,7 @@ echo 'hdefs["JPEG_CFLAGS"] = nil' >>configure.lua
echo '#undef JPEG_LIBS' >$bb_incdir/jpeg_libs.h
echo 'hdefs["JPEG_LIBS"] = nil' >>configure.lua
fi
-
+
if [ "${with_png}" != 'no' ]
then
$ECHO_N 'checking for libpng...'
@@ -13137,7 +13145,7 @@ while test \$# -gt 0; do
done
EOT
AVAIL_CONFIGSCRIPTS="$AVAIL_CONFIGSCRIPTS agar-config"
-
+
pkgconfig_module_out="agar"
pkgconfig_module_desc="Agar cross-platform GUI toolkit"
pkgconfig_module_requires="${X11_PC} ${SDL_PC} ${FREETYPE_PC} ${FONTCONFIG_PC} ${OPENGL_PC} ${XINERAMA_PC} ${JPEG_PC} ${PNG_PC} ${UIM_PC}"
--
2.36.1
From 34b90e57b34056e71faca6ea3b76547f3ce487d7 Mon Sep 17 00:00:00 2001
From: begasus <begasus@gmail.com>
Date: Wed, 29 Jun 2022 12:45:05 +0200
Subject: Fix detection for libGL
diff --git a/configure b/configure
index 74aafe1..6f994f6 100755
--- a/configure
+++ b/configure
@@ -6303,6 +6303,14 @@ if [ -e "/usr/local/include/GL" ]; then
GL_CFLAGS="-I/usr/local/include"
GL_FOUND=yes
fi
+if [ -e "/boot/system/develop/headers/x86/GL" ]; then
+GL_CFLAGS="-I/boot/system/develop/headers/x86"
+GL_FOUND=yes
+fi
+if [ -e "/boot/system/develop/headers/GL" ]; then
+GL_CFLAGS="-I/boot/system/develop/headers"
+GL_FOUND=yes
+fi
if [ -e "/usr/local/X11/lib" ]; then
GL_LIBS="${GL_LIBS} -L/usr/local/X11/lib"
GL_FOUND=yes
@@ -6331,6 +6339,14 @@ if [ -e "/usr/local/lib" ]; then
GL_LIBS="${GL_LIBS} -L/usr/local/lib"
GL_FOUND=yes
fi
+if [ -e "/boot/system/lib/x86" ]; then
+GL_LIBS="${GL_LIBS} -L/boot/system/lib/x86"
+GL_FOUND=yes
+fi
+if [ -e "/boot/system/lib" ]; then
+GL_LIBS="${GL_LIBS} -L/boot/system/lib"
+GL_FOUND=yes
+fi
;;
esac
fi
--
2.36.1
From 7a574fba87ed2ffc60deee904280a8f04e39f213 Mon Sep 17 00:00:00 2001
From: begasus <begasus@gmail.com>
Date: Wed, 29 Jun 2022 12:57:05 +0200
Subject: Fix detection for libGLU
diff --git a/configure b/configure
index 6f994f6..25fb6aa 100755
--- a/configure
+++ b/configure
@@ -6340,7 +6340,7 @@ GL_LIBS="${GL_LIBS} -L/usr/local/lib"
GL_FOUND=yes
fi
if [ -e "/boot/system/lib/x86" ]; then
-GL_LIBS="${GL_LIBS} -L/boot/system/lib/x86"
+GL_LIBS="${GL_LIBS} -L/boot/system/lib/x86p "
GL_FOUND=yes
fi
if [ -e "/boot/system/lib" ]; then
@@ -12672,6 +12672,14 @@ if [ -e "/usr/X11R6/include/GL/glu.h" ]; then
GLU_CFLAGS="-I/usr/X11R6/include"
GLU_LIBS="-L/usr/X11R6/lib -lGLU"
fi
+if [ -e "/boot/system/develop/headers/x86/GL/glu.h" ]; then
+GLU_CFLAGS="-I/boot/system/develop/headers/x86"
+GLU_LIBS="-L/boot/systeem/lib/x86 -lGLU"
+fi
+if [ -e "/boot/system/develop/headers/GL/glu.h" ]; then
+GLU_CFLAGS="-I/boot/system/develop/headers"
+GLU_LIBS="-L/boot/systeem/lib -lGLU"
+fi
fi
;;
esac
--
2.36.1