unofficial mirror of guix-devel@gnu.org 
 help / color / mirror / code / Atom feed
* Re: Package for LXQt. Help wanted.
@ 2018-10-23  3:41 Meiyo Peng
  2018-10-23 13:27 ` 宋文武
  0 siblings, 1 reply; 10+ messages in thread
From: Meiyo Peng @ 2018-10-23  3:41 UTC (permalink / raw)
  To: iyzsong; +Cc: guix-devel

Hello, Mr. Song.

Thank you for your reply.

> Some notes to you:
> - Wrap lines under 80 characters if possible.

My emacs automatically wrap lines at exactly 80 characters. Should I set
it to less than 80?

#+BEGIN_SRC emacs-lisp
  (setq-default fill-column 80)  ;; Change this to 70?
#+END_SRC

"宋文武" is a Chinese name. Are you a Chinese? I am a Chinese. My name
is 彭美玉 (Peng Mei Yu in Pinyin).

--
Meiyo Peng

^ permalink raw reply	[flat|nested] 10+ messages in thread
* Re: Package for LXQt. Help wanted.
@ 2018-10-26 15:11 Meiyo Peng
  2018-10-27 11:51 ` 宋文武
  0 siblings, 1 reply; 10+ messages in thread
From: Meiyo Peng @ 2018-10-26 15:11 UTC (permalink / raw)
  To: iyzsong; +Cc: guix-devel

Hello Song,

> Hello, thank you again, I have push them!

Thank you.

> - Add comments about the missing translations (disable the
>   PULL_TANSLATIONS), which are in the lxqt-l10n git repository.  I think
>   we can prefetch it as a 'origin', add it to the input of the
>   application, or add a 'lxqt-l10n' package.

I didn't add lxqt-l10n because it is stated as deprecated on it's home
page.

> - Correct some licenses, eg: obconf-qt, qps are under GPL2+.

Sorry about this. I should have been more careful.

> And a "lxqt-build-tools: Dedifen LXQT_*_DIR variables" patch is
> unapplied:
>
>      (build-system cmake-build-system)
>      (arguments
> -     `(#:tests? #f))                    ; no tests
> +     `(#:tests? #f  ;; no tests
> +       #:configure-flags
> +       `("-DLXQT_DATA_DIR=/run/current-system/profile/share"
> +         "-DLXQT_ETC_XDG_DIR=/run/current-system/profile/etc/xdg")))
>
> What are thoses variables used for?  If I install the 'lxqt' package
> into my user profile, should I set them to the directories under my
> profile ($HOME/.guix-profile/share and $HOME/.guix-profile/etc/xdg)?

These variables are used by all LXQt packages during build time. But
there is no big issue if they are not defined here, I guess it is
because XDG_*_DIRS environment variables are set correctly during
runtime. They default to directories within
/gnu/store/*-lxqt-build-tools-*/ like this:
"/gnu/store/86wy8q4yplhalf3yvmzv673naarxn3na-lxqt-build-tools-0.5.0/share"

I defined these variables here to serve an aesthetic purpose, so that
the "Technical Info" tab within lxqt-about can show the values defined
above rather than directories like this:
"/gnu/store/86wy8q4yplhalf3yvmzv673naarxn3na-lxqt-build-tools-0.5.0/share".

--
Meiyo Peng

^ permalink raw reply	[flat|nested] 10+ messages in thread
* Re: Package for LXQt. Help wanted.
@ 2018-10-23  0:33 Meiyo Peng
  0 siblings, 0 replies; 10+ messages in thread
From: Meiyo Peng @ 2018-10-23  0:33 UTC (permalink / raw)
  To: guix-devel

Hello,

I checked kwindowsystem's package in debian. It seems the plugins
directory in kwindowsystem should be installed to
/run/current-system/profile/lib/qt5/plugins rather than
/run/current-system/profile/lib/plugins. Maybe this is a bug in the
kwindowsystem package.

File list of package libkf5windowsystem5 in stretch of architecture
amd64:

(link: https://packages.debian.org/stretch/amd64/libkf5windowsystem5/filelist)
#+BEGIN_EXAMPLE
  /usr/lib/x86_64-linux-gnu/libKF5WindowSystem.so.5
  /usr/lib/x86_64-linux-gnu/libKF5WindowSystem.so.5.28.0
  /usr/lib/x86_64-linux-gnu/qt5/plugins/kf5/org.kde.kwindowsystem.platforms/KF5WindowSystemWaylandPlugin.so
  /usr/lib/x86_64-linux-gnu/qt5/plugins/kf5/org.kde.kwindowsystem.platforms/KF5WindowSystemX11Plugin.so
  /usr/share/doc/libkf5windowsystem5/changelog.Debian.gz
  /usr/share/doc/libkf5windowsystem5/copyright
#+END_EXAMPLE

File list of kwindowsystem in guix:

#+BEGIN_EXAMPLE
  /gnu/store/snf6dh8fprihac2y0mwspgc5lchv12b6-kwindowsystem-5.49.0/lib
  ├── cmake
  │   └── KF5WindowSystem
  │       ├── KF5WindowSystemConfig.cmake
  │       ├── KF5WindowSystemConfigVersion.cmake
  │       ├── KF5WindowSystemTargets.cmake
  │       └── KF5WindowSystemTargets-relwithdebinfo.cmake
  ├── libKF5WindowSystem.so -> libKF5WindowSystem.so.5
  ├── libKF5WindowSystem.so.5 -> libKF5WindowSystem.so.5.49.0
  ├── libKF5WindowSystem.so.5.49.0
  ├── plugins
  │   └── kf5
  │       └── org.kde.kwindowsystem.platforms
  │           ├── KF5WindowSystemWaylandPlugin.so
  │           └── KF5WindowSystemX11Plugin.so
  └── qt5
      └── mkspecs
          └── modules
              └── qt_KWindowSystem.pri
#+END_EXAMPLE

--
Meiyo Peng

^ permalink raw reply	[flat|nested] 10+ messages in thread
* Package for LXQt. Help wanted.
@ 2018-10-22  4:57 Meiyo Peng
  2018-10-22 14:31 ` 宋文武
  2018-10-26 14:24 ` 宋文武
  0 siblings, 2 replies; 10+ messages in thread
From: Meiyo Peng @ 2018-10-22  4:57 UTC (permalink / raw)
  To: guix-devel

Hello everyone,

I made a series of packages for LXQt. The code is at:
https://github.com/meiyopeng/guix/tree/lxqt

I did this beacuse I want to run i3 window manager within lxqt
session. Currently most things work great except lxqt-panel. I have two
problems.

1. The $QT_PLUGIN_PATH environment variable points to
/run/current-system/profile/lib/qt5/plugins. I don't know where it's
set. So qtsvg has to be installed into syetem profile, or all the lxqt
applications can not properly display icons. Should I add qtsvg to
lxqt applications' propagated-inputs? If so, should I add qtbase too,
since qtbase also provides lib/qt5/plugins, although lxqt works without
qtbase in system profile but I can never be sure.

2. lxqt-panel complains about "Warning: Could not find any platform
plugin". (lxqt-runner also prints this message but it works.) I found
out this message was printed by kwindowsystem.

The related code in kwindowsystem:
https://github.com/KDE/kwindowsystem/blob/9f88c9a5d25ff7909c25ce399572ca348b5706b1/src/pluginwrapper.cpp#L79

Qt's document (https://doc.qt.io/qt-5/qcoreapplication.html#libraryPaths)
says "entries of the QT_PLUGIN_PATH environment variable are always
added to libraryPaths". So I install kwindowsystem into system profile,
and add /run/current-system/profile/lib/plugins to QT_PLUGIN_PATH. Then
this error message disappear. But lxqt-panel still does not work.

I still have no idea how to fix lxqt-panel. This does not affect me
because I use i3, so lxqt-panel is useless to me. But there may be other
people interested in LXQt and I want to help them get this fixed. Can
anybody help me?

Will anybody help me review the code? I'd appreciate it.

--
Meiyo Peng

^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2018-10-27 11:52 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-10-23  3:41 Package for LXQt. Help wanted Meiyo Peng
2018-10-23 13:27 ` 宋文武
  -- strict thread matches above, loose matches on Subject: below --
2018-10-26 15:11 Meiyo Peng
2018-10-27 11:51 ` 宋文武
2018-10-23  0:33 Meiyo Peng
2018-10-22  4:57 Meiyo Peng
2018-10-22 14:31 ` 宋文武
2018-10-26 14:24 ` 宋文武
2018-10-27  8:19   ` Meiyo Peng
2018-10-27 10:24     ` 宋文武

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).