Coder Social home page Coder Social logo

1.27.2: build fails about mate-panel HOT 8 CLOSED

kloczek avatar kloczek commented on July 17, 2024
1.27.2: build fails

from mate-panel.

Comments (8)

raveit65 avatar raveit65 commented on July 17, 2024

Can you try mate-desktop from master?
Or rebuild my SRPM (1.27.3 + master commits)
https://www.dropbox.com/scl/fi/jzy3cnabi10dxunps8yxw/mate-desktop-1.27.3-2.fc38.src.rpm?rlkey=wk9rvmpjk2ganvitliqa9ypq7&dl=0

from mate-panel.

kloczek avatar kloczek commented on July 17, 2024

Tested tjat and it sdoes not work. Part of my spec file

URL:            https://mate-desktop.org/
VCS:            https://github.com/mate-desktop/mate-panel/
Source:         https://pub.mate-desktop.org/releases/%(v=%{version}; echo ${v%.*})/%{name}-%{version}.tar.xz
Source:         %{name}_fedora-28.layout
Source:         %{name}_rhel.layout
Patch:          %{VCS}/commit/cf544b71.patch#/%{name}-Hidpi-x11-center-panel-force-quit-popup-window.patch
Patch:          %{VCS}/commit/170842ce.patch#/%{name}-Force-quit-x11-Fix-misalignment-of-popup-with-multim.patch
Patch:          %{VCS}/commit/4c6fc7e3.patch#/%{name}-Wayland-Make-panel-shutdown-button-work-under-waylan.patch
Patch:          %{VCS}/commit/a6ea51bb.patch#/%{name}-Wayland-Fix-force-quit-unsupported-message-dialog.patch
Patch:          %{VCS}/commit/675f72ff.patch#/%{name}-Main-menus-fix-missing-Places-System-icons.patch
Patch:          %{VCS}/commit/353c71ea.patch#/%{name}-status-notifier-fix-a-typo.patch
Patch:          %{VCS}/commit/95a92215.patch#/%{name}-status-notifier-fix-typo.patch
Patch:          %{VCS}/commit/d87c912c.patch#/%{name}-status-notifier-Show-AttentionIcon-when-Status-is-Ne.patch

and ..

[tkloczko@pers-jacek mate-panel]$ grep -r MATE_TYPE_IMAGE_MENU_ITEM /usr/include/
/usr/include/mate-desktop-2.0/libmate-desktop/mate-image-menu-item.h:#define MATE_TYPE_IMAGE_MENU_ITEM            (mate_image_menu_item_get_type ())

So I've added patch:

--- a/mate-panel/panel-menu-items.c
+++ b/mate-panel/panel-menu-items.c
@@ -47,6 +47,7 @@
 #include <libpanel-util/panel-keyfile.h>
 #include <libpanel-util/panel-launch.h>
 #include <libpanel-util/panel-show.h>
+#include <libmate-desktop/mate-image-menu-item.h>

 #include "menu.h"
 #include "panel-action-button.h"

and with that patch I was able sucessfuly build mate-panel.

from mate-panel.

kloczek avatar kloczek commented on July 17, 2024

BTW I made short test ..

[tkloczko@pers-jacek SPECS]$ rpmbuild -ba mate-panel.spec --quiet 2>&1 | grep -- \\[-W | sed 's/.*\[//; s/\]//' | sort | uniq -c | sort -nr
    121 -Wdeprecated-declarations
      6 -Wmisleading-indentation
      1 -Wunused-but-set-variable

It would be good start working on clean all those warnings ..

from mate-panel.

raveit65 avatar raveit65 commented on July 17, 2024

#include <libmate-desktop/mate-image-menu-item.h>
https://github.com/mate-desktop/mate-panel/blob/master/mate-panel/panel-menu-items.c#L44

from mate-panel.

lukefromdc avatar lukefromdc commented on July 17, 2024

from mate-panel.

kloczek avatar kloczek commented on July 17, 2024

As you see I'm applying commits patches on top of dist tar ball.

from mate-panel.

kloczek avatar kloczek commented on July 17, 2024

Just checked one more time dist tar ball and looks like it has missing that line..

from mate-panel.

raveit65 avatar raveit65 commented on July 17, 2024

Because the commit which added that line was commited after the 1.27.2 release.
ebb3a79
I recommend using distro rpms from stable 1.26 branch eg. from fedora.

from mate-panel.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.