mirror of
https://codeberg.org/guix/guix.git
synced 2025-10-02 02:15:12 +00:00
gnu: Add freesolid.
* gnu/packages/game-development.scm (freesolid): New variable. * gnu/packages/patches/freesolid-configure.patch: New file. * gnu/packages/patches/freesolid-pkgconfig.patch: Likewise. * gnu/packages/patches/freesolid-automake.patch: Likewise. * gnu/packages/patches/freesolid-autotools.patch: Likewise. * gnu/local.mk (dist_patch_DATA): Register them. Change-Id: I557332031a30d944f451d0a62c763e5b41c4e29b Signed-off-by: Liliana Marie Prikler <liliana.prikler@gmail.com>
This commit is contained in:
parent
1592f1ac3b
commit
27751a4e76
6 changed files with 271 additions and 0 deletions
58
gnu/packages/patches/freesolid-configure.patch
Normal file
58
gnu/packages/patches/freesolid-configure.patch
Normal file
|
@ -0,0 +1,58 @@
|
|||
Fixes an incompatibility with Libtool 2+.
|
||||
|
||||
Rebased on FreeSOLID-2.1.2.
|
||||
|
||||
Originally retrieved from Fedora (see:
|
||||
https://src.fedoraproject.org/rpms/FreeSOLID/raw/rawhide/f/FreeSOLID-2.1.1-configure.patch).
|
||||
|
||||
Upstream-status: https://sourceforge.net/p/freesolid/patches/10/
|
||||
|
||||
--- FreeSOLID-2.1.1/configure.in.orig 2012-05-24 20:58:30.000000000 +0200
|
||||
+++ FreeSOLID-2.1.1/configure.in 2012-05-24 21:08:00.932445488 +0200
|
||||
@@ -1,8 +1,11 @@
|
||||
dnl Process this file with autoconf to produce a configure script.
|
||||
-AC_INIT(sample/sample.cpp)
|
||||
+AC_INIT
|
||||
AC_CONFIG_MACRO_DIR([m4])
|
||||
+AC_CONFIG_SRCDIR([sample/sample.cpp])
|
||||
|
||||
-AC_CANONICAL_SYSTEM
|
||||
+AC_CONFIG_MACRO_DIR([m4])
|
||||
+
|
||||
+AC_CANONICAL_TARGET
|
||||
PACKAGE=FreeSOLID
|
||||
VERSION=2.1.1
|
||||
FREESOLID_CURRENT=2
|
||||
@@ -15,15 +18,14 @@
|
||||
|
||||
AM_INIT_AUTOMAKE($PACKAGE, $VERSION)
|
||||
|
||||
-AM_CONFIG_HEADER(include/config.h)
|
||||
+AC_CONFIG_HEADERS([include/config.h])
|
||||
|
||||
dnl Checks for programs.
|
||||
-AC_LIBTOOL_WIN32_DLL
|
||||
AC_PROG_CXX
|
||||
AC_PROG_CC
|
||||
AC_PROG_CPP
|
||||
AC_PROG_INSTALL
|
||||
-AC_PROG_LIBTOOL
|
||||
+LT_INIT([win32-dll])
|
||||
|
||||
CPPFLAGS="$CPPFLAGS -I../include -I./include -I. -I../libbroad -I../libmoto"
|
||||
AC_SUBST(CPPFLAGS)
|
||||
@@ -52,11 +54,6 @@
|
||||
AC_CHECK_FUNCS(sqrt)
|
||||
AC_CHECK_FUNCS(fabs)
|
||||
|
||||
-AC_OUTPUT([ doc/Makefile
|
||||
- sample/Makefile
|
||||
- Makefile
|
||||
- libbroad/Makefile
|
||||
- libmoto/Makefile
|
||||
- libsolid/Makefile
|
||||
- freesolid-config
|
||||
- FreeSOLID.pc])
|
||||
+AC_CONFIG_FILES([doc/Makefile sample/Makefile Makefile libbroad/Makefile libmoto/Makefile libsolid/Makefile freesolid-config])
|
||||
+AC_CONFIG_FILES([FreeSOLID.pc])
|
||||
+AC_OUTPUT
|
Loading…
Add table
Add a link
Reference in a new issue