-
-
Notifications
You must be signed in to change notification settings - Fork 14.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Packaging the Deepin Desktop Environment #59023
Comments
#59038 adds |
#59092 adds deepin.qcef (Qt5 binding of Chromium Embedded Framework), a dependency for the forthcoming deepin manual. |
@romildo Do you have an expression for Just checking so I don't duplicate one if you have it and just haven't pr'd it. |
Yes, I have. I will open a PR for it. |
@worldofpeace When a package has associated dbus services, systemd services, kernel modules, and/or specific groups and users, it deserves a NixOS module, like I have been doing, right? The alternative would be having a unique module for the entire DDE, which would enable those services and kernel modules, and create groups and users for all deepin packages in a single place. It seems that GNOME is going from something like this second alternative to the first one alternative. |
So with GNOME, lots of the pieces need to be shared. For example, gnome-settings-daemon has many forks so it has a Now with deepin I think there should be individual modules for applications if needed (deepin-screenshot, etc.). So having
for the tightly coupled stuff makes sense to me. |
Note: discussion on IRC is convenient to me for further discussion |
I've drafted a but haven't had time to make it build. perhaps it has to do with this https://src.fedoraproject.org/rpms/deepin-control-center/blob/master/f/deepin-control-center.spec#_49 ? |
I have tried your expression, and it fails to build for me too.
I think this is not related. This is just Fedora fixing the I have found that somehow $ grep VERSION /nix/store/8kpivw2m04mx1p7ja1b8fgr3bxbw0lmv-dtkcore-2.0.14/include/libdtk-2.0.6/DCore/dtkcore_config.h
#define DTK_VERSION_MAJOR 2
#define DTK_VERSION_MINOR 0
#define DTK_VERSION_PATCH 6
#define DTK_VERSION_BUILD 0
#define DTK_VERSION_STR "2.0.6" and as a consequence the test at https://github.com/linuxdeepin/dde-control-center/blob/master/src/frame/modules/sound/soundworker.h#L121 is evaluating to true, and an aditional header file is included, exactly where an error is being reported:
|
With #63795 |
Cool, I should be able to pr that properly now 👍 |
Remeber to add the dbus service to the nixos module: nixos/modules/services/desktops/deepin/deepin.nix | 2 ++
1 file changed, 2 insertions(+)
diff --git a/nixos/modules/services/desktops/deepin/deepin.nix b/nixos/modules/services/desktops/deepin/deepin.nix
index d9d5d539e42..d45fa638ef4 100644
--- a/nixos/modules/services/desktops/deepin/deepin.nix
+++ b/nixos/modules/services/desktops/deepin/deepin.nix
@@ -33,6 +33,7 @@
environment.systemPackages = [
pkgs.deepin.dde-api
pkgs.deepin.dde-calendar
+ pkgs.deepin.dde-control-center
pkgs.deepin.dde-daemon
pkgs.deepin.dde-dock
pkgs.deepin.dde-file-manager
@@ -45,6 +46,7 @@
services.dbus.packages = [
pkgs.deepin.dde-api
pkgs.deepin.dde-calendar
+ pkgs.deepin.dde-control-center
pkgs.deepin.dde-daemon
pkgs.deepin.dde-dock
pkgs.deepin.dde-file-manager
--
2.22.0 |
@romildo I think this could be a very informative read for us linuxdeepin/developer-center#1093 (particularly on there frequent releases) They seem to move at a very fast rate and I'm wondering how we can align this in our release process to get the best experience for the end user. |
Summarizing: they release new versions of packages very fast, without any indication of stability. Sometimes the released code is unstable. That is making packagers (mainly of archlinux derivative distributions) unhappy. If there was a way of telling which releases are stable, it would be simpler. For now we can complete the packaging of DDE so that we can use it ourselves for testing, and fixing packaging issues. We can try to update frequently and test the desktop environment to check that it mostly works. |
@worldofpeace Any idea on how to handle a package that originally install files at All files installed by Other packages look for them at that location:
|
So I'm half guessing that they want you to be able to modify the user icon in I don't think any of these things would require them to install files to |
It looks like wrappers for qt have been merged #54525. |
Is this still under development? |
The final piece should be here #63813, through since the switch to kwin it's no longer working. |
Thank you for your contributions.
|
Still in progress. |
Packaging of the Deepin Desktop Environment has been cancelled (#94870). |
The Deepin Desktop Environment (DDE) is an elegant and easy to use desktop environment of the Chinese Deepin Linux distribution.
The purpose of this issue is to list the packages needed to have DDE in NixOS, as well as to discuss ideas on the process of packaging them.
Some of them have already been packaged.
Packages:
Extra packages:
Services;
Debugging:
Issues:
/var/cache/appearance/thumbnail/backgrounds/
. This is not allowed because it is outside of the Nix store. FHS says that/var/cache
is intended for cached data from applications. Such data is locally generated as a result of time-consuming I/O or calculation. The application must be able to regenerate or restore the data. Unlike/var/spool
, the cached files can be deleted without data loss. Maybe they are generated bylib/deepin-daemon/theme-thumb-tool
and can be omitted from the installation. Let's see when testing DDE.../var/lib/polkit-1/localauthority/10-vendor.d/
dde-authority-pam
:share/pam-configs
etc/pam.d
.pam-configs
seems to be documented at https://wiki.ubuntu.com/PAMConfigFrameworkSpecshare/polkit-1/actions/com.deepin.dde.dock.overlay.policy
(see deepin.dde-dock: init at 4.9.8 #59244 (comment))dpa-ext-gnomekeyring
)deepin-desktop-schemas
) are used bydtkwidget
and its dependencies, so it may need wrapping (see deepin.dde-file-manager: init at 4.8.6.2 #61366 (comment)).cc @worldofpeace
The text was updated successfully, but these errors were encountered: