From 6a0ea55c1aa00ad95513855c384d097412ac6143 Mon Sep 17 00:00:00 2001 From: Wang Mingyu Date: Mon, 24 Oct 2022 13:54:36 +0800 Subject: fvwm: upgrade 2.6.9 -> 2.7.0 Changelog: ========== * Bug fixes: - Fix handling of configure's --enable-mandoc/--enable-htmldoc - Fix crash in FvwmPager when desk height or width is 0 - Added DoubleClick time to man page. - Fix to FvwmIconMan to disable a SizeHint warning. - Allow for reproducible builds. - Increase the number of supported mouse buttons to 15. - Tweaks to configure.ac Signed-off-by: Wang Mingyu Signed-off-by: Khem Raj --- meta-oe/recipes-graphics/fvwm/fvwm_2.6.9.bb | 123 ---------------------------- meta-oe/recipes-graphics/fvwm/fvwm_2.7.0.bb | 123 ++++++++++++++++++++++++++++ 2 files changed, 123 insertions(+), 123 deletions(-) delete mode 100644 meta-oe/recipes-graphics/fvwm/fvwm_2.6.9.bb create mode 100644 meta-oe/recipes-graphics/fvwm/fvwm_2.7.0.bb diff --git a/meta-oe/recipes-graphics/fvwm/fvwm_2.6.9.bb b/meta-oe/recipes-graphics/fvwm/fvwm_2.6.9.bb deleted file mode 100644 index 123af4d3aa..0000000000 --- a/meta-oe/recipes-graphics/fvwm/fvwm_2.6.9.bb +++ /dev/null @@ -1,123 +0,0 @@ -SUMMARY = "F Virtual Window Manager " -HOMEPAGE = "http://www.fvwm.org/" -SECTION = "x11/wm" -LICENSE = "GPL-2.0-only" -LIC_FILES_CHKSUM = "file://COPYING;md5=f8204787357db6ea518dcc9b6cf08388" - -DEPENDS = " \ - bison-native \ - flex-native \ - freetype-native \ - gettext-native \ - libxslt-native \ - fontconfig \ - libice \ - libpng \ - librsvg \ - libsm \ - libxau \ - libxcb \ - libxcursor \ - libxdmcp \ - libxext \ - libxfixes \ - libxft \ - libxinerama \ - libxml2 \ - libxrender \ - libxt \ - virtual/libx11 \ - xrandr \ - zlib \ -" - -SRC_URI = " \ - git://github.com/fvwmorg/fvwm.git;protocol=https;branch=master \ - file://0001-Fix-compilation-for-disabled-gnome.patch \ -" - -SRCREV = "88eab6dc16da6e5dd25fe97fbb56b96ef0d58657" - -S = "${WORKDIR}/git" - -inherit autotools gettext update-alternatives pkgconfig python3native perlnative features_check -# depends on virtual/libx11 -REQUIRED_DISTRO_FEATURES = "x11" - -ALTERNATIVE:${PN} = "x-window-manager" -ALTERNATIVE_TARGET[x-window-manager] = "${bindir}/fvwm" -ALTERNATIVE_PRIORITY[x-window-manager] = "20" - -EXTRA_OECONF = " \ - --disable-bidi \ - --disable-fontconfigtest \ - --disable-htmldoc \ - --disable-imlibtest \ - --disable-nls \ - --disable-perllib \ - --disable-rsvg \ - --disable-shape \ - --disable-sm \ - --disable-xfttest \ - --with-imlib-exec-prefix=/nonexistent \ - --with-imlib-prefix=/nonexistent \ - --without-ncurses-library \ - --without-readline-library \ - --without-rplay-library \ - --without-stroke-library \ - --without-termcap-library \ - --without-xpm-library \ - ac_cv_func_mkstemp=no \ - has_safety_mkstemp=yes \ -" - -# show the exact commands in the log file -EXTRA_OEMAKE = " \ - V=1 \ -" -# clang treats them as errors by default now starting with 15.0+ -CFLAGS += "-Wno-error=int-conversion -Wno-error=implicit-int" - -do_install:append() { - install -d -m 0755 ${D}/${sysconfdir}/xdg/fvwm - # You can install the config file here - - install -d -m 0755 ${D}/${datadir}/fvwm - touch ${D}/${datadir}/fvwm/ConfigFvwmDefaults - sed -i -e 's:${STAGING_BINDIR_NATIVE}/perl-native/perl:${USRBINPATH}/env perl:g' ${D}${bindir}/fvwm-* - sed -i -e 's:${STAGING_BINDIR_NATIVE}/perl-native/perl:${USRBINPATH}/env perl:g' ${D}${libexecdir}/fvwm/*/Fvwm* - sed -i -e 's:${STAGING_BINDIR_NATIVE}/python3-native/python3:${USRBINPATH}/env python3:g' ${D}${bindir}/fvwm-menu-desktop -} - -# the only needed packages (note: locale packages are automatically generated -# as well) -PACKAGES = " \ - ${PN} \ - ${PN}-extra \ - ${PN}-doc \ - ${PN}-dbg \ -" - -# minimal set of binaries -FILES:${PN} = " \ - ${bindir}/fvwm \ - ${bindir}/fvwm-root \ - ${datadir}/fvwm/ConfigFvwmDefaults \ -" - -FILES:${PN}-extra = " \ - ${bindir} \ - ${libexecdir} \ - ${sysconfdir}/xdg/fvwm \ -" -FILES:${PN}-doc = " \ - ${mandir} \ - ${datadir}/fvwm \ -" -RDEPENDS:${PN} = " \ - xuser-account \ -" -RDEPENDS:${PN}-extra += "\ - perl \ - python3-core \ -" diff --git a/meta-oe/recipes-graphics/fvwm/fvwm_2.7.0.bb b/meta-oe/recipes-graphics/fvwm/fvwm_2.7.0.bb new file mode 100644 index 0000000000..8daf38a0ba --- /dev/null +++ b/meta-oe/recipes-graphics/fvwm/fvwm_2.7.0.bb @@ -0,0 +1,123 @@ +SUMMARY = "F Virtual Window Manager " +HOMEPAGE = "http://www.fvwm.org/" +SECTION = "x11/wm" +LICENSE = "GPL-2.0-only" +LIC_FILES_CHKSUM = "file://COPYING;md5=f8204787357db6ea518dcc9b6cf08388" + +DEPENDS = " \ + bison-native \ + flex-native \ + freetype-native \ + gettext-native \ + libxslt-native \ + fontconfig \ + libice \ + libpng \ + librsvg \ + libsm \ + libxau \ + libxcb \ + libxcursor \ + libxdmcp \ + libxext \ + libxfixes \ + libxft \ + libxinerama \ + libxml2 \ + libxrender \ + libxt \ + virtual/libx11 \ + xrandr \ + zlib \ +" + +SRC_URI = " \ + git://github.com/fvwmorg/fvwm.git;protocol=https;branch=master \ + file://0001-Fix-compilation-for-disabled-gnome.patch \ +" + +SRCREV = "7baf540e56fb1a3e91752acba872a88543529d46" + +S = "${WORKDIR}/git" + +inherit autotools gettext update-alternatives pkgconfig python3native perlnative features_check +# depends on virtual/libx11 +REQUIRED_DISTRO_FEATURES = "x11" + +ALTERNATIVE:${PN} = "x-window-manager" +ALTERNATIVE_TARGET[x-window-manager] = "${bindir}/fvwm" +ALTERNATIVE_PRIORITY[x-window-manager] = "20" + +EXTRA_OECONF = " \ + --disable-bidi \ + --disable-fontconfigtest \ + --disable-htmldoc \ + --disable-imlibtest \ + --disable-nls \ + --disable-perllib \ + --disable-rsvg \ + --disable-shape \ + --disable-sm \ + --disable-xfttest \ + --with-imlib-exec-prefix=/nonexistent \ + --with-imlib-prefix=/nonexistent \ + --without-ncurses-library \ + --without-readline-library \ + --without-rplay-library \ + --without-stroke-library \ + --without-termcap-library \ + --without-xpm-library \ + ac_cv_func_mkstemp=no \ + has_safety_mkstemp=yes \ +" + +# show the exact commands in the log file +EXTRA_OEMAKE = " \ + V=1 \ +" +# clang treats them as errors by default now starting with 15.0+ +CFLAGS += "-Wno-error=int-conversion -Wno-error=implicit-int" + +do_install:append() { + install -d -m 0755 ${D}/${sysconfdir}/xdg/fvwm + # You can install the config file here + + install -d -m 0755 ${D}/${datadir}/fvwm + touch ${D}/${datadir}/fvwm/ConfigFvwmDefaults + sed -i -e 's:${STAGING_BINDIR_NATIVE}/perl-native/perl:${USRBINPATH}/env perl:g' ${D}${bindir}/fvwm-* + sed -i -e 's:${STAGING_BINDIR_NATIVE}/perl-native/perl:${USRBINPATH}/env perl:g' ${D}${libexecdir}/fvwm/*/Fvwm* + sed -i -e 's:${STAGING_BINDIR_NATIVE}/python3-native/python3:${USRBINPATH}/env python3:g' ${D}${bindir}/fvwm-menu-desktop +} + +# the only needed packages (note: locale packages are automatically generated +# as well) +PACKAGES = " \ + ${PN} \ + ${PN}-extra \ + ${PN}-doc \ + ${PN}-dbg \ +" + +# minimal set of binaries +FILES:${PN} = " \ + ${bindir}/fvwm \ + ${bindir}/fvwm-root \ + ${datadir}/fvwm/ConfigFvwmDefaults \ +" + +FILES:${PN}-extra = " \ + ${bindir} \ + ${libexecdir} \ + ${sysconfdir}/xdg/fvwm \ +" +FILES:${PN}-doc = " \ + ${mandir} \ + ${datadir}/fvwm \ +" +RDEPENDS:${PN} = " \ + xuser-account \ +" +RDEPENDS:${PN}-extra += "\ + perl \ + python3-core \ +" -- cgit 1.2.3-korg