lbonn / rofi

Rofi: A window switcher, run dialog and dmenu replacement - fork with wayland support
Other
1.03k stars 43 forks source link

Release missing configure script #154

Closed joelpeapen closed 1 month ago

joelpeapen commented 1 month ago

Rofi version (rofi -v)

1.7.5

URL

https://github.com/lbonn/rofi/blob/wayland/INSTALL.md#autotools

Explain the issue with the documentation, please be verbose.

The installation instructions says run ../configure however, the release tar ball for this fork doesn't come with a configure script like the original rofi release

running autoconf which gives this output:

configure.ac:4: warning: The macro `AC_CONFIG_HEADER' is obsolete.
configure.ac:4: You should run autoupdate.
./lib/autoconf/status.m4:719: AC_CONFIG_HEADER is expanded from...
configure.ac:4: the top level
configure.ac:10: warning: AC_PROG_LEX without either yywrap or noyywrap is obsolete
./lib/autoconf/programs.m4:716: _AC_PROG_LEX is expanded from...
./lib/autoconf/programs.m4:709: AC_PROG_LEX is expanded from...
configure.ac:10: the top level
configure.ac:56: warning: The macro `AC_PROG_CC_C99' is obsolete.
configure.ac:56: You should run autoupdate.
./lib/autoconf/c.m4:1659: AC_PROG_CC_C99 is expanded from...
configure.ac:56: the top level
configure.ac:66: warning: AC_COMPILE_IFELSE was called before AC_USE_SYSTEM_EXTENSIONS
./lib/autoconf/specific.m4:364: AC_USE_SYSTEM_EXTENSIONS is expanded from...
configure.ac:66: the top level
configure.ac:66: warning: AC_LINK_IFELSE was called before AC_USE_SYSTEM_EXTENSIONS
./lib/autoconf/specific.m4:364: AC_USE_SYSTEM_EXTENSIONS is expanded from...
configure.ac:66: the top level
configure.ac:45: error: possibly undefined macro: AM_INIT_AUTOMAKE
      If this token and others are legitimate, please use m4_pattern_allow.
      See the Autoconf documentation.
configure.ac:46: error: possibly undefined macro: AM_SILENT_RULES
configure.ac:61: error: possibly undefined macro: AM_PROG_CC_C_O
configure.ac:72: error: possibly undefined macro: AM_PROG_AR
configure.ac:86: error: possibly undefined macro: AC_DEFINE
configure.ac:170: error: possibly undefined macro: AM_CONDITIONAL
configure.ac:176: error: possibly undefined macro: AM_PATH_GLIB_2_0

then running configure gave this:

./configure: line 4149: syntax error near unexpected token `-Wall'
./configure: line 4149: `AM_INIT_AUTOMAKE(-Wall -Werror foreign subdir-objects dist-xz)'

how do i solve this?

Optional fixed text

No response

Using wayland display server protocol

I've checked if the issue exists in the latest stable release

lbonn commented 1 month ago

This fork only supports building with meson, see #32