Git Product home page Git Product logo

Comments (25)

zhtengw avatar zhtengw commented on August 21, 2024

Sorry, I haven't tried and I don't know if deepin desktop environment can run with openrc or not. And the dde-session-ui is designed to run on systemd, so it is not possible to use dde-session-ui without systemd.

from deepin-overlay.

SleepyMario avatar SleepyMario commented on August 21, 2024

i did try it a little while ago. it will boot up, but the menuing will be off. sadly i'm not knowledgeable enough to do something about it.

from deepin-overlay.

AmberisMyShiba avatar AmberisMyShiba commented on August 21, 2024

我的gentoo用的也是openrc。也比较难以接受systemd

from deepin-overlay.

zhtengw avatar zhtengw commented on August 21, 2024

dde-daemon, which is the base runtime daemon of DDE, can not run without systemd.

from deepin-overlay.

zhtengw avatar zhtengw commented on August 21, 2024

I am the only maintainer of deepin-overlay, and I don't have enough time and energy to patch DDE
to run without systemd. I will be appreciative if someone can help me.

from deepin-overlay.

zhtengw avatar zhtengw commented on August 21, 2024

@Fulgurance @SleepyMario @tefiszx Hi all, I spend some time this weekend to do a clean installation of gentoo and DDE. And I try to build up DDE without systemd. Could you please refer the guide in README.md and have a try? If you get any issues, please let me know.

from deepin-overlay.

SleepyMario avatar SleepyMario commented on August 21, 2024

Sure. One of these days I'll do an install and report back here.

from deepin-overlay.

SleepyMario avatar SleepyMario commented on August 21, 2024

I quickly tried something in a VM and ran into issues when comping dde-terminal and (especially) dde-files. The dde-files one was Kencoding related, deepin-terminal probably needs gnome-base/librsvg with the vala flag turned on? I still ran into some issues afterward changing that.
You probably need some logs; I will do a new attempt soon and gather the logs.

from deepin-overlay.

zhtengw avatar zhtengw commented on August 21, 2024

@SleepyMario Thank you. I tested deepin-terminal with librsvg and confirmed this. Fixed with a6fd3ac.

from deepin-overlay.

SleepyMario avatar SleepyMario commented on August 21, 2024

I'm doing an installation on real hardware atm and have problems emerging deepin-terminal and deepin-wm. Here are the logs: http://dpaste.com/3CJ7Y6S and http://dpaste.com/0KJ1P37

emerge --info --> http://dpaste.com/1N7SD7X

Let me know if you need other information.

from deepin-overlay.

zhtengw avatar zhtengw commented on August 21, 2024
  1. deepin-terminal need x11-libs/vte to be higher than 0.50.1, I forgot to add the version dependency when I disabled deepin-terminal to build with vendor(1e90036). I will fix it.

  2. deepin-wm need x11-wm/deepin-mutter, and I surely wrote it to the dependencies list. I cannot find out why it declared not find libdeepin-mutter in the system.

from deepin-overlay.

SleepyMario avatar SleepyMario commented on August 21, 2024
  1. on x11-wm/deepin-wm: I think I found the problem. When compiling x11-wm/deepin-mutter will complain about not being able to find systemd and then instead of compiling just install a few docs only, and then x11-wm/deepin-wm will fail to build. (Switching to systemd did indeed fix it. I think I'll start now to by getting an installation with systemd to work first and try to make openrc work once that's done.)

  2. The geoip database locations for dde-base/dde-control-center probably need to be updated? I'm getting "Error 404: Not Found." for every single one of them.

  3. After switching to systemd and am getting an error with dde-base/dde-file-manager (this one has been popping up on the VM as well). For some reason my usual pastebin is not working, so I'll post (what I think is) the relevant information below:


/usr/lib/gcc/x86_64-pc-linux-gnu/8.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: /var/tmp/portage/dde-base/dde-file-manager-4.8.3/work/dde-file-manager-4.8.3/dde-desktop/../dde-file-manager-lib/libdde-file-manager.so: undefined reference to KEncodingProber::~KEncodingProber()' /usr/lib/gcc/x86_64-pc-linux-gnu/8.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: /var/tmp/portage/dde-base/dde-file-manager-4.8.3/work/dde-file-manager-4.8.3/dde-desktop/../dde-file-manager-lib/libdde-file-manager.so: undefined reference to KEncodingProber::setProberType(KEncodingProber::ProberType)'
/usr/lib/gcc/x86_64-pc-linux-gnu/8.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: /var/tmp/portage/dde-base/dde-file-manager-4.8.3/work/dde-file-manager-4.8.3/dde-desktop/../dde-file-manager-lib/libdde-file-manager.so: undefined reference to KEncodingProber::confidence() const' /usr/lib/gcc/x86_64-pc-linux-gnu/8.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: /var/tmp/portage/dde-base/dde-file-manager-4.8.3/work/dde-file-manager-4.8.3/dde-desktop/../dde-file-manager-lib/libdde-file-manager.so: undefined reference to KEncodingProber::encoding() const'
/usr/lib/gcc/x86_64-pc-linux-gnu/8.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: /var/tmp/portage/dde-base/dde-file-manager-4.8.3/work/dde-file-manager-4.8.3/dde-desktop/../dde-file-manager-lib/libdde-file-manager.so: undefined reference to KEncodingProber::KEncodingProber(KEncodingProber::ProberType)' /usr/lib/gcc/x86_64-pc-linux-gnu/8.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: /var/tmp/portage/dde-base/dde-file-manager-4.8.3/work/dde-file-manager-4.8.3/dde-desktop/../dde-file-manager-lib/libdde-file-manager.so: undefined reference to KEncodingProber::feed(QByteArray const&)'
collect2: error: ld returned 1 exit status
make[1]: *** [Makefile:298: dde-desktop] Error 1
make[1]: Leaving directory '/var/tmp/portage/dde-base/dde-file-manager-4.8.3/work/dde-file-manager-4.8.3/dde-desktop'
make: *** [Makefile:180: sub-dde-desktop-make_first] Error 2
x86_64-pc-linux-gnu-g++ -Wl,-O1 -Wl,--as-needed -o dde-file-manager-daemon command.o partitionmanager.o partition.o string_util.o structs.o readusagemanager.o main.o filemanagerdaemon.o appcontroller.o fileoperation.o renamejob.o fileoperation_adaptor.o renamejob_adaptor.o fileoperation_interface.o renamejob_interface.o filemanagerclient.o dbusinforet.o policykithelper.o basejob.o createfolderjob.o createtemplatefilejob.o movejob.o copyjob.o deletejob.o copyjob_adaptor.o createfolderjob_adaptor.o createtemplatefilejob_adaptor.o deletejob_adaptor.o movejob_adaptor.o copyjob_interface.o createfolderjob_interface.o createtemplatefilejob_interface.o deletejob_interface.o movejob_interface.o usersharemanager.o usershare_adaptor.o usershare_interface.o usbformatter.o usbformatter_adaptor.o usbformatter_interface.o commandmanager.o commandmanager_adaptor.o commandmanager_interface.o deviceinfomanager.o deviceinfomanager_adaptor.o deviceinfomanager_interface.o tagmanagerdaemon.o tagmanagerdaemon_adaptor.o moc_partitionmanager.o moc_readusagemanager.o moc_filemanagerdaemon.o moc_appcontroller.o moc_fileoperation.o moc_renamejob.o moc_fileoperation_adaptor.o moc_renamejob_adaptor.o moc_fileoperation_interface.o moc_renamejob_interface.o moc_filemanagerclient.o moc_basejob.o moc_createfolderjob.o moc_createtemplatefilejob.o moc_movejob.o moc_copyjob.o moc_deletejob.o moc_copyjob_adaptor.o moc_createfolderjob_adaptor.o moc_createtemplatefilejob_adaptor.o moc_deletejob_adaptor.o moc_movejob_adaptor.o moc_copyjob_interface.o moc_createfolderjob_interface.o moc_createtemplatefilejob_interface.o moc_deletejob_interface.o moc_movejob_interface.o moc_usersharemanager.o moc_usershare_adaptor.o moc_usershare_interface.o moc_usbformatter.o moc_usbformatter_adaptor.o moc_usbformatter_interface.o moc_commandmanager.o moc_commandmanager_adaptor.o moc_commandmanager_interface.o moc_deviceinfomanager.o moc_deviceinfomanager_adaptor.o moc_deviceinfomanager_interface.o moc_tagmanagerdaemon.o moc_tagmanagerdaemon_adaptor.o -L/var/tmp/portage/dde-base/dde-file-manager-4.8.3/work/dde-file-manager-4.8.3/dde-file-manager-daemon/../dde-file-manager-lib -ldde-file-manager -lX11 -lpolkit-agent-1 -lpolkit-gobject-1 -lgio-2.0 -lgobject-2.0 -lglib-2.0 -lpolkit-qt5-gui-1 -lpolkit-qt5-core-1 -lpolkit-qt5-agent-1 -lQt5Gui -ldtkwidget -ldtkcore -lQt5DBus -lQt5Concurrent -lQt5Core -lpthread
/usr/lib/gcc/x86_64-pc-linux-gnu/8.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: /var/tmp/portage/dde-base/dde-file-manager-4.8.3/work/dde-file-manager-4.8.3/dde-file-manager-daemon/../dde-file-manager-lib/libdde-file-manager.so: undefined reference to KEncodingProber::~KEncodingProber()' /usr/lib/gcc/x86_64-pc-linux-gnu/8.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: /var/tmp/portage/dde-base/dde-file-manager-4.8.3/work/dde-file-manager-4.8.3/dde-file-manager-daemon/../dde-file-manager-lib/libdde-file-manager.so: undefined reference to KEncodingProber::setProberType(KEncodingProber::ProberType)'
/usr/lib/gcc/x86_64-pc-linux-gnu/8.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: /var/tmp/portage/dde-base/dde-file-manager-4.8.3/work/dde-file-manager-4.8.3/dde-file-manager-daemon/../dde-file-manager-lib/libdde-file-manager.so: undefined reference to KEncodingProber::confidence() const' /usr/lib/gcc/x86_64-pc-linux-gnu/8.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: /var/tmp/portage/dde-base/dde-file-manager-4.8.3/work/dde-file-manager-4.8.3/dde-file-manager-daemon/../dde-file-manager-lib/libdde-file-manager.so: undefined reference to KEncodingProber::encoding() const'
/usr/lib/gcc/x86_64-pc-linux-gnu/8.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: /var/tmp/portage/dde-base/dde-file-manager-4.8.3/work/dde-file-manager-4.8.3/dde-file-manager-daemon/../dde-file-manager-lib/libdde-file-manager.so: undefined reference to KEncodingProber::KEncodingProber(KEncodingProber::ProberType)' /usr/lib/gcc/x86_64-pc-linux-gnu/8.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: /var/tmp/portage/dde-base/dde-file-manager-4.8.3/work/dde-file-manager-4.8.3/dde-file-manager-daemon/../dde-file-manager-lib/libdde-file-manager.so: undefined reference to KEncodingProber::feed(QByteArray const&)'
collect2: error: ld returned 1 exit status
make[1]: *** [Makefile:341: dde-file-manager-daemon] Error 1
make[1]: Leaving directory '/var/tmp/portage/dde-base/dde-file-manager-4.8.3/work/dde-file-manager-4.8.3/dde-file-manager-daemon'
make: *** [Makefile:80: sub-dde-file-manager-daemon-make_first] Error 2

  • ERROR: dde-base/dde-file-manager-4.8.3::deepin failed (compile phase):
  • emake failed

from deepin-overlay.

SleepyMario avatar SleepyMario commented on August 21, 2024

I tried to emerge dde-base/dde-meta with the kwin flag turned on as well (systemd), and run into this error when compiling x11-wm/dde-kwin --> http://dpaste.com/0DXNZKX

from deepin-overlay.

zhtengw avatar zhtengw commented on August 21, 2024

Hi @SleepyMario, I think you built some Kde-framwork libs with previous version of gcc. You may fix these "undefined reference" by rebuilding them. Rebuild kde-frameworks/kcodecs for your dde-file-manager issue, and rebuild kde-frameworks/kwindowsystem, kde-frameworks/kglobalaccel, kde-frameworks/kconfig for dde-kwin issue.

from deepin-overlay.

SleepyMario avatar SleepyMario commented on August 21, 2024

Hello @zhtengw, everything is working now (with systemd). It turned out to be an issue with the kde-frameworks packages you mentioned; The unstable versions (5.57.0) should be used instead of the stable ones (5.54.0-r1). I've just rebuild all the kde-frameworks/* with the unstable versions and then everything works fine (with gcc-8.2.0-r6, current stable). I'll try to convert the installation to openrc soon and will post some logs.

from deepin-overlay.

zhtengw avatar zhtengw commented on August 21, 2024

from deepin-overlay.

SleepyMario avatar SleepyMario commented on August 21, 2024

No wonder I ran into so many minor issues, I completely missed that for some reason. I will test openrc today then.

from deepin-overlay.

zhtengw avatar zhtengw commented on August 21, 2024

@SleepyMario. Sorry if my words make you unhappy. I just tested dde-file-manager with kcodecs-5.54 and everything work. So you may just rebuild these KF libs with current installed gcc to fix issues, as I said in #47 (comment)

from deepin-overlay.

SleepyMario avatar SleepyMario commented on August 21, 2024

@zhtengw No problem, thanks for the advice. Everything is working fine now :) (with systemd).
I'm currently upgrading everything to ~amd64, and will then see if openrc is working or not.

from deepin-overlay.

zhtengw avatar zhtengw commented on August 21, 2024

from deepin-overlay.

zhtengw avatar zhtengw commented on August 21, 2024

@SleepyMario, please sync this overlay before you trying. I just fixed some building issue.

from deepin-overlay.

SleepyMario avatar SleepyMario commented on August 21, 2024

@zhtengw Okay, I've synced the overlay and changed to openrc. Everything is working fine, but there is 1 problem left. Portage is asking for a rebuild with 'emerge @preserved-rebuild' of x11-wm/deepin-wm, which then fails.
This is the log for x11-wm/deepin-wm: http://dpaste.com/3M8KJ23
And this is the log for x11-wm/deepin-mutter: http://dpaste.com/2E3BQBC (it looks like there's something wrong with it, but I'm not sure.)

mutter itself is not important to me, as I prefer using kwin. The mutter USE flag is disabled in both virtual/dde-wm and dde-base/dde-meta.

from deepin-overlay.

zhtengw avatar zhtengw commented on August 21, 2024

@SleepyMario I see. When deepin-mutter build with "wayland" USE flag enabled, it need libsystemd. I omited it before and fixed it now.

from deepin-overlay.

SleepyMario avatar SleepyMario commented on August 21, 2024

@zhtengw Cool, everything is working now.
谢谢你的协助!

from deepin-overlay.

zhtengw avatar zhtengw commented on August 21, 2024

@SleepyMario, thanks for your discussion. You help me a lot.

from deepin-overlay.

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.