mirror of
https://github.com/Mathewnd/Astral.git
synced 2026-10-31 14:38:21 +00:00
ports: fvwm
This commit is contained in:
@@ -0,0 +1,75 @@
|
|||||||
|
diff --git fvwm-clean/configure.ac fvwm-workdir/configure.ac
|
||||||
|
index 23fa0b8..e785e5a 100644
|
||||||
|
--- fvwm-clean/configure.ac
|
||||||
|
+++ fvwm-workdir/configure.ac
|
||||||
|
@@ -1244,15 +1244,16 @@ fi
|
||||||
|
|
||||||
|
# check for mkstemp, see the discution on this subject on the fvwm workers
|
||||||
|
# list (2001-02-16 and 2001-02-24)
|
||||||
|
-AM_SAFETY_CHECK_MKSTEMP
|
||||||
|
+#AM_SAFETY_CHECK_MKSTEMP
|
||||||
|
|
||||||
|
# Define some compatibility macros needed for config.h.
|
||||||
|
-mg_DEFINE_IF_NOT([#include <X11/keysym.h>],
|
||||||
|
- [defined XK_Page_Up && defined XK_Page_Down],
|
||||||
|
- [COMPAT_OLD_KEYSYMDEF], [$X_CFLAGS],
|
||||||
|
- [Old AIX systems (3.2.5) don't define some common keysyms.])
|
||||||
|
-AH_VERBATIM([_COMPAT_OLD_KEYSYMDEF],
|
||||||
|
-[#ifdef COMPAT_OLD_KEYSYMDEF
|
||||||
|
+#mg_DEFINE_IF_NOT([#include <X11/keysym.h>],
|
||||||
|
+# [defined XK_Page_Up && defined XK_Page_Down],
|
||||||
|
+# [COMPAT_OLD_KEYSYMDEF], [$X_CFLAGS],
|
||||||
|
+# well I'm not running AIX so........
|
||||||
|
+# [Old AIX systems (3.2.5) don't define some common keysyms.])
|
||||||
|
+#AH_VERBATIM([_COMPAT_OLD_KEYSYMDEF],
|
||||||
|
+#[#ifdef COMPAT_OLD_KEYSYMDEF
|
||||||
|
# define XK_Page_Up XK_Prior
|
||||||
|
# define XK_Page_Down XK_Next
|
||||||
|
#endif])
|
||||||
|
@@ -1514,4 +1515,4 @@ Fvwm3 Configuration:
|
||||||
|
Build man pages? $with_mandoc$problem_mandoc
|
||||||
|
Build html man pages? $with_htmldoc$problem_htmldoc
|
||||||
|
|
||||||
|
-"
|
||||||
|
\ No newline at end of file
|
||||||
|
+"
|
||||||
|
diff --git fvwm-clean/fvwm/fvwm3.c fvwm-workdir/fvwm/fvwm3.c
|
||||||
|
index 2265fd4..7f489ab 100644
|
||||||
|
--- fvwm-clean/fvwm/fvwm3.c
|
||||||
|
+++ fvwm-workdir/fvwm/fvwm3.c
|
||||||
|
@@ -1703,7 +1703,7 @@ int main(int argc, char **argv)
|
||||||
|
g_argv[g_argc] = NULL;
|
||||||
|
|
||||||
|
FlocaleInit(LC_CTYPE, "", "", "fvwm");
|
||||||
|
- FGettextInit("fvwm", LOCALEDIR, "fvwm");
|
||||||
|
+ //FGettextInit("fvwm", LOCALEDIR, "fvwm");
|
||||||
|
|
||||||
|
setVersionInfo();
|
||||||
|
/* Put the default module directory into the environment so it can be
|
||||||
|
@@ -2397,4 +2397,4 @@ int main(int argc, char **argv)
|
||||||
|
}
|
||||||
|
|
||||||
|
exit(0);
|
||||||
|
-}
|
||||||
|
\ No newline at end of file
|
||||||
|
+}
|
||||||
|
diff --git fvwm-clean/libs/Ficonv.h fvwm-workdir/libs/Ficonv.h
|
||||||
|
index 3f7e5ec..9a4a40a 100644
|
||||||
|
--- fvwm-clean/libs/Ficonv.h
|
||||||
|
+++ fvwm-workdir/libs/Ficonv.h
|
||||||
|
@@ -11,11 +11,11 @@
|
||||||
|
|
||||||
|
/* ---------------------------- global definitions ------------------------- */
|
||||||
|
|
||||||
|
-#ifdef HAVE_ICONV
|
||||||
|
-#define FiconvSupport 1
|
||||||
|
-#else
|
||||||
|
+//#ifdef HAVE_ICONV
|
||||||
|
+//#define FiconvSupport 1
|
||||||
|
+//#else
|
||||||
|
#define FiconvSupport 0
|
||||||
|
-#endif
|
||||||
|
+//#endif
|
||||||
|
|
||||||
|
#if FiconvSupport
|
||||||
|
|
||||||
@@ -0,0 +1,20 @@
|
|||||||
|
name=fvwm
|
||||||
|
revision=1
|
||||||
|
from_source=fvwm
|
||||||
|
imagedeps="base-devel"
|
||||||
|
hostdeps="xgcc xbinutils pkgconfig"
|
||||||
|
deps="mlibc libx11 libxinerama libxcursor libxt libevent libxrandr freetype libpng libxft"
|
||||||
|
|
||||||
|
build() {
|
||||||
|
cp -rvp ${source_dir}/* .
|
||||||
|
ac_cv_func_setpgrp_void=yes \
|
||||||
|
ac_cv_func_mkstemp=yes \
|
||||||
|
has_safety_mkstemp=yes \
|
||||||
|
./configure --prefix=${prefix} --host=x86_64-astral
|
||||||
|
|
||||||
|
make -j${parallelism}
|
||||||
|
}
|
||||||
|
|
||||||
|
package() {
|
||||||
|
make DESTDIR=${dest_dir} install
|
||||||
|
}
|
||||||
@@ -0,0 +1,9 @@
|
|||||||
|
name=fvwm
|
||||||
|
version=1.1.0
|
||||||
|
source_method=tarball
|
||||||
|
tarball_url="https://github.com/fvwmorg/fvwm3/releases/download/${version}/fvwm3-${version}.tar.gz"
|
||||||
|
tarball_sha512="47eea05cbdecf4da3313b9183fa938544b451b9f133d7a68062feb222c3c1af3873402f80b60485d603afe8cd23a03f3e86a503fc1f2070e1ad2e6e64d012341"
|
||||||
|
hostdeps="autoconf automake util-macros pkgconfig libtool"
|
||||||
|
regenerate() {
|
||||||
|
autoreconf -fvi
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user