pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/x11



Module Name:    pkgsrc
Committed By:   gutteridge
Date:           Sat Apr 25 17:37:47 UTC 2020

Modified Files:
        pkgsrc/x11: Makefile
Added Files:
        pkgsrc/x11/lxqt-admin: DESCR Makefile PLIST distinfo
        pkgsrc/x11/lxqt-admin/patches: patch-CMakeLists.txt
            patch-lxqt-admin-time_lxqt-admin-time-helper.freebsd

Log Message:
lxqt-admin: add new package, version 0.14.1

This is the admin panel for the LXQt desktop. (Packaged in wip by pin@,
final review by myself.)


To generate a diff of this commit:
cvs rdiff -u -r1.894 -r1.895 pkgsrc/x11/Makefile
cvs rdiff -u -r0 -r1.1 pkgsrc/x11/lxqt-admin/DESCR \
    pkgsrc/x11/lxqt-admin/Makefile pkgsrc/x11/lxqt-admin/PLIST \
    pkgsrc/x11/lxqt-admin/distinfo
cvs rdiff -u -r0 -r1.1 pkgsrc/x11/lxqt-admin/patches/patch-CMakeLists.txt \
    pkgsrc/x11/lxqt-admin/patches/patch-lxqt-admin-time_lxqt-admin-time-helper.freebsd

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/x11/Makefile
diff -u pkgsrc/x11/Makefile:1.894 pkgsrc/x11/Makefile:1.895
--- pkgsrc/x11/Makefile:1.894   Sat Apr 25 16:20:02 2020
+++ pkgsrc/x11/Makefile Sat Apr 25 17:37:47 2020
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.894 2020/04/25 16:20:02 gutteridge Exp $
+# $NetBSD: Makefile,v 1.895 2020/04/25 17:37:47 gutteridge Exp $
 #
 
 COMMENT=       Packages to support the X window system
@@ -261,6 +261,7 @@ SUBDIR+=    lxde-common
 SUBDIR+=       lxinput
 SUBDIR+=       lxlauncher
 SUBDIR+=       lxqt-about
+SUBDIR+=       lxqt-admin
 SUBDIR+=       lxqt-config
 SUBDIR+=       lxqt-globalkeys
 SUBDIR+=       lxqt-notificationd

Added files:

Index: pkgsrc/x11/lxqt-admin/DESCR
diff -u /dev/null pkgsrc/x11/lxqt-admin/DESCR:1.1
--- /dev/null   Sat Apr 25 17:37:47 2020
+++ pkgsrc/x11/lxqt-admin/DESCR Sat Apr 25 17:37:47 2020
@@ -0,0 +1 @@
+Admin panel for the LXQt desktop environment.
Index: pkgsrc/x11/lxqt-admin/Makefile
diff -u /dev/null pkgsrc/x11/lxqt-admin/Makefile:1.1
--- /dev/null   Sat Apr 25 17:37:47 2020
+++ pkgsrc/x11/lxqt-admin/Makefile      Sat Apr 25 17:37:47 2020
@@ -0,0 +1,31 @@
+# $NetBSD: Makefile,v 1.1 2020/04/25 17:37:47 gutteridge Exp $
+
+DISTNAME=      lxqt-admin-0.14.1
+CATEGORIES=    x11
+MASTER_SITES=  https://downloads.lxqt.org/downloads/lxqt-admin/0.14.1/
+EXTRACT_SUFX=  .tar.xz
+
+MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE=      https://lxqt.org/
+COMMENT=       LXQt admin panel
+LICENSE=       gnu-lgpl-v2.1
+
+USE_CMAKE=     yes
+USE_TOOLS+=    pkg-config
+USE_LANGUAGES= c c++
+
+CONFIGURE_DIRS=        build
+CMAKE_ARG_PATH=        ..
+
+pre-configure:
+       ${MKDIR} -p ${WRKSRC}/build
+
+TOOL_DEPENDS+= lxqt-build-tools-[0-9]*:../../devel/lxqt-build-tools
+TOOL_DEPENDS+= qt5-qttools-[0-9]*:../../x11/qt5-qttools
+DEPENDS+=      lxqt-policykit-[0-9]*:../../security/lxqt-policykit
+
+.include "../../x11/qt5-qtbase/buildlink3.mk"
+.include "../../x11/kwindowsystem/buildlink3.mk"
+.include "../../security/polkit-qt5/buildlink3.mk"
+.include "../../x11/liblxqt/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
Index: pkgsrc/x11/lxqt-admin/PLIST
diff -u /dev/null pkgsrc/x11/lxqt-admin/PLIST:1.1
--- /dev/null   Sat Apr 25 17:37:47 2020
+++ pkgsrc/x11/lxqt-admin/PLIST Sat Apr 25 17:37:47 2020
@@ -0,0 +1,32 @@
+@comment $NetBSD: PLIST,v 1.1 2020/04/25 17:37:47 gutteridge Exp $
+bin/lxqt-admin-user
+bin/lxqt-admin-user-helper
+share/applications/lxqt-admin-user.desktop
+share/lxqt/translations/lxqt-admin-user/lxqt-admin-user_ar.qm
+share/lxqt/translations/lxqt-admin-user/lxqt-admin-user_ca.qm
+share/lxqt/translations/lxqt-admin-user/lxqt-admin-user_cs.qm
+share/lxqt/translations/lxqt-admin-user/lxqt-admin-user_cy.qm
+share/lxqt/translations/lxqt-admin-user/lxqt-admin-user_da.qm
+share/lxqt/translations/lxqt-admin-user/lxqt-admin-user_de.qm
+share/lxqt/translations/lxqt-admin-user/lxqt-admin-user_el.qm
+share/lxqt/translations/lxqt-admin-user/lxqt-admin-user_en_GB.qm
+share/lxqt/translations/lxqt-admin-user/lxqt-admin-user_es.qm
+share/lxqt/translations/lxqt-admin-user/lxqt-admin-user_fr.qm
+share/lxqt/translations/lxqt-admin-user/lxqt-admin-user_gl.qm
+share/lxqt/translations/lxqt-admin-user/lxqt-admin-user_he.qm
+share/lxqt/translations/lxqt-admin-user/lxqt-admin-user_hr.qm
+share/lxqt/translations/lxqt-admin-user/lxqt-admin-user_hu.qm
+share/lxqt/translations/lxqt-admin-user/lxqt-admin-user_id.qm
+share/lxqt/translations/lxqt-admin-user/lxqt-admin-user_it.qm
+share/lxqt/translations/lxqt-admin-user/lxqt-admin-user_ja.qm
+share/lxqt/translations/lxqt-admin-user/lxqt-admin-user_lt.qm
+share/lxqt/translations/lxqt-admin-user/lxqt-admin-user_nb_NO.qm
+share/lxqt/translations/lxqt-admin-user/lxqt-admin-user_nl.qm
+share/lxqt/translations/lxqt-admin-user/lxqt-admin-user_pl.qm
+share/lxqt/translations/lxqt-admin-user/lxqt-admin-user_pt.qm
+share/lxqt/translations/lxqt-admin-user/lxqt-admin-user_pt_BR.qm
+share/lxqt/translations/lxqt-admin-user/lxqt-admin-user_ru.qm
+share/lxqt/translations/lxqt-admin-user/lxqt-admin-user_tr.qm
+share/lxqt/translations/lxqt-admin-user/lxqt-admin-user_uk.qm
+share/lxqt/translations/lxqt-admin-user/lxqt-admin-user_zh_CN.qm
+share/polkit-1/actions/org.lxqt.lxqt-admin-user.policy
Index: pkgsrc/x11/lxqt-admin/distinfo
diff -u /dev/null pkgsrc/x11/lxqt-admin/distinfo:1.1
--- /dev/null   Sat Apr 25 17:37:47 2020
+++ pkgsrc/x11/lxqt-admin/distinfo      Sat Apr 25 17:37:47 2020
@@ -0,0 +1,8 @@
+$NetBSD: distinfo,v 1.1 2020/04/25 17:37:47 gutteridge Exp $
+
+SHA1 (lxqt-admin-0.14.1.tar.xz) = 4c4c76f1b1441063b6a77664fb45ba69792dd81c
+RMD160 (lxqt-admin-0.14.1.tar.xz) = 2519de22bdb1c90caa956d12e6ea6ae711c6f19a
+SHA512 (lxqt-admin-0.14.1.tar.xz) = bd6272a3042a71e9e00b2ba10be2575649c2d2750a4e00a6e11adaae6b91ccab5e3cf79a8ceb7bfbe808ec80c139b93e02cd96990f80b68a77a974c063e6a373
+Size (lxqt-admin-0.14.1.tar.xz) = 141088 bytes
+SHA1 (patch-CMakeLists.txt) = edb73bcfbf4655a9e9d223c21db4693c902ce6a4
+SHA1 (patch-lxqt-admin-time_lxqt-admin-time-helper.freebsd) = 6469e32073989df84233dc353b908052c7c5edb3

Index: pkgsrc/x11/lxqt-admin/patches/patch-CMakeLists.txt
diff -u /dev/null pkgsrc/x11/lxqt-admin/patches/patch-CMakeLists.txt:1.1
--- /dev/null   Sat Apr 25 17:37:47 2020
+++ pkgsrc/x11/lxqt-admin/patches/patch-CMakeLists.txt  Sat Apr 25 17:37:47 2020
@@ -0,0 +1,17 @@
+$NetBSD: patch-CMakeLists.txt,v 1.1 2020/04/25 17:37:47 gutteridge Exp $
+
+Allow building on NetBSD
+lxqt-admin-time depends on systemd
+
+--- CMakeLists.txt.orig        2019-02-25 22:10:39.000000000 +0000
++++ CMakeLists.txt
+@@ -38,8 +38,8 @@ include(LXQtCompilerSettings NO_POLICY_S
+ include(LXQtTranslate)
+ 
+ if(${CMAKE_SYSTEM_NAME} MATCHES "OpenBSD" OR ${CMAKE_SYSTEM_NAME} MATCHES "NetBSD")
+-    message(WARNING "${CMAKE_SYSTEM_NAME} is not supported by lxqt-admin-user")
+     message(WARNING "${CMAKE_SYSTEM_NAME} is not supported by lxqt-admin-time")
++    add_subdirectory(lxqt-admin-user)
+ else()
+     add_subdirectory(lxqt-admin-user)
+     add_subdirectory(lxqt-admin-time)
Index: pkgsrc/x11/lxqt-admin/patches/patch-lxqt-admin-time_lxqt-admin-time-helper.freebsd
diff -u /dev/null pkgsrc/x11/lxqt-admin/patches/patch-lxqt-admin-time_lxqt-admin-time-helper.freebsd:1.1
--- /dev/null   Sat Apr 25 17:37:47 2020
+++ pkgsrc/x11/lxqt-admin/patches/patch-lxqt-admin-time_lxqt-admin-time-helper.freebsd  Sat Apr 25 17:37:47 2020
@@ -0,0 +1,33 @@
+$NetBSD: patch-lxqt-admin-time_lxqt-admin-time-helper.freebsd,v 1.1 2020/04/25 17:37:47 gutteridge Exp $
+
+Avoid non-portable == shell test usage
+
+--- lxqt-admin-time/lxqt-admin-time-helper.freebsd.orig        2019-02-25 22:10:39.000000000 +0000
++++ lxqt-admin-time/lxqt-admin-time-helper.freebsd
+@@ -44,22 +44,22 @@ if [ "${newdate}" != "" ]; then
+       date -f %s ${settime}
+ fi;
+ if [ "${usentp}" != "" ];  then
+-      if [ "$usentp" == "true" ]; then
++      if [ "$usentp" = "true" ]; then
+       sysrc ntpd_enable=YES
+       service ntpd stop
+       ntpd -g -q
+       service ntpd start
+       fi;
+-      if [ "$usentp" == "false" ]; then
++      if [ "$usentp" = "false" ]; then
+               sysrc ntpd_enable=false
+               service ntpd onestop
+         fi;
+ fi;
+ if [ "${islocaltime}" != "" ]; then
+-      if  [ $islocaltime == "false" ]; then
++      if  [ $islocaltime = "false" ]; then
+       rm -f /etc/wall_cmos_clock;
+       fi;
+-      if [ $islocaltime == "true" ]; then
++      if [ $islocaltime = "true" ]; then
+       touch /etc/wall_cmos_clock
+       fi
+ fi;



Home | Main Index | Thread Index | Old Index