[arch-commits] Commit in deepin-calendar/repos/community-x86_64 (4 files)

Felix Yan felixonmars at archlinux.org
Mon Nov 9 12:38:11 UTC 2020


    Date: Monday, November 9, 2020 @ 12:38:11
  Author: felixonmars
Revision: 746880

archrelease: copy trunk to community-x86_64

Added:
  deepin-calendar/repos/community-x86_64/PKGBUILD
    (from rev 746879, deepin-calendar/trunk/PKGBUILD)
  deepin-calendar/repos/community-x86_64/dde-calendar-icon.patch
    (from rev 746879, deepin-calendar/trunk/dde-calendar-icon.patch)
Deleted:
  deepin-calendar/repos/community-x86_64/PKGBUILD
  deepin-calendar/repos/community-x86_64/dde-calendar-icon.patch

-------------------------+
 PKGBUILD                |   94 +++++++++++++++++++++++-----------------------
 dde-calendar-icon.patch |   48 +++++++++++------------
 2 files changed, 71 insertions(+), 71 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2020-11-09 12:37:56 UTC (rev 746879)
+++ PKGBUILD	2020-11-09 12:38:11 UTC (rev 746880)
@@ -1,47 +0,0 @@
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-# Contributor: Josip Ponjavic <josipponjavic at gmail dot com>
-# Contributor: Xu Fasheng <fasheng.xu[AT]gmail.com>
-
-pkgname=deepin-calendar
-pkgver=5.7.0.17
-pkgrel=1
-pkgdesc='Calendar for Deepin Desktop Environment'
-arch=('x86_64')
-url="https://github.com/linuxdeepin/dde-calendar"
-license=('GPL3')
-depends=('deepin-qt5integration' 'hicolor-icon-theme')
-makedepends=('cmake' 'ninja' 'qt5-tools')
-groups=('deepin')
-source=("$pkgname-$pkgver.tar.gz::https://github.com/linuxdeepin/dde-calendar/archive/$pkgver.tar.gz"
-        "dde-calendar-icon.patch")
-sha512sums=('48fab34b05178dd3003ce70c3bc9146b785e9252212b5e13bcb56f63fd3a9d0e68d4818138da8403f1170b9707492faed0207c3e48066d7f5385cdac017d836a'
-            '40ffae29fcbd386512dac9b91c39219b420b349f1f5facc254467b9e5407091886c8d0ed0979d566ba79539c093464cbc7719da7268c9745bc30273f9d7db7e2')
-
-prepare() {
-  cd dde-calendar-$pkgver
-  sed -i '/<QQueue>/a #include <QMouseEvent>' src/widget/dayWidget/daymonthview.cpp
-  sed -i '/<QStylePainter>/a #include <QMouseEvent>' src/widget/schcedulesearchview.cpp
-  sed -i '/include <QJsonObject>/a #include <QMouseEvent>' src/view/draginfographicsview.cpp
-  sed -i '/include <QPainter>/a #include <QMouseEvent>' schedule-plugin/src/widget/itemwidget.h schedule-plugin/src/widget/modifyscheduleitem.h
-
-  # Not included in https://github.com/linuxdeepin/dde-calendar/pull/30 yet
-  sed -i '/include <QPainter>/a #include <QPainterPath>' src/widget/schcedulesearchview.cpp src/widget/dayWidget/daymonthview.cpp src/widget/weekWidget/weekheadview.cpp \
-                                                         src/customWidget/customframe.cpp src/widget/yearWidget/yearview.cpp schedule-plugin/src/widget/modifyscheduleitem.h \
-                                                         schedule-plugin/src/widget/itemwidget.h
-  sed -i '/include <QMessageBox>/a #include <QWheelEvent>' src/widget/yearWidget/yearwindow.cpp
-
-  # Install the application icon
-  # https://github.com/linuxdeepin/dde-calendar/pull/31
-  patch -Np1 -i ../dde-calendar-icon.patch
-}
-
-build() {
-  cd dde-calendar-$pkgver
-  cmake -GNinja -DCMAKE_INSTALL_PREFIX=/usr .
-  ninja
-}
-
-package() {
-  cd dde-calendar-$pkgver
-  DESTDIR="$pkgdir" ninja install
-}

Copied: deepin-calendar/repos/community-x86_64/PKGBUILD (from rev 746879, deepin-calendar/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2020-11-09 12:38:11 UTC (rev 746880)
@@ -0,0 +1,47 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Josip Ponjavic <josipponjavic at gmail dot com>
+# Contributor: Xu Fasheng <fasheng.xu[AT]gmail.com>
+
+pkgname=deepin-calendar
+pkgver=5.7.0.18
+pkgrel=1
+pkgdesc='Calendar for Deepin Desktop Environment'
+arch=('x86_64')
+url="https://github.com/linuxdeepin/dde-calendar"
+license=('GPL3')
+depends=('deepin-qt5integration' 'hicolor-icon-theme')
+makedepends=('cmake' 'ninja' 'qt5-tools')
+groups=('deepin')
+source=("$pkgname-$pkgver.tar.gz::https://github.com/linuxdeepin/dde-calendar/archive/$pkgver.tar.gz"
+        "dde-calendar-icon.patch")
+sha512sums=('c59fd2399317309d1da14bb3b6d9f2a3a74d3143fa2e1d3d40107a42bbbbf752a7195a1e6fdbc9349cddc9a10af121811582a456344361957c24102c0a825dc8'
+            '40ffae29fcbd386512dac9b91c39219b420b349f1f5facc254467b9e5407091886c8d0ed0979d566ba79539c093464cbc7719da7268c9745bc30273f9d7db7e2')
+
+prepare() {
+  cd dde-calendar-$pkgver
+  sed -i '/<QQueue>/a #include <QMouseEvent>' src/widget/dayWidget/daymonthview.cpp
+  sed -i '/<QStylePainter>/a #include <QMouseEvent>' src/widget/schcedulesearchview.cpp
+  sed -i '/include <QJsonObject>/a #include <QMouseEvent>' src/view/draginfographicsview.cpp
+  sed -i '/include <QPainter>/a #include <QMouseEvent>' schedule-plugin/src/widget/itemwidget.h schedule-plugin/src/widget/modifyscheduleitem.h
+
+  # Not included in https://github.com/linuxdeepin/dde-calendar/pull/30 yet
+  sed -i '/include <QPainter>/a #include <QPainterPath>' src/widget/schcedulesearchview.cpp src/widget/dayWidget/daymonthview.cpp src/widget/weekWidget/weekheadview.cpp \
+                                                         src/customWidget/customframe.cpp src/widget/yearWidget/yearview.cpp schedule-plugin/src/widget/modifyscheduleitem.h \
+                                                         schedule-plugin/src/widget/itemwidget.h
+  sed -i '/include <QMessageBox>/a #include <QWheelEvent>' src/widget/yearWidget/yearwindow.cpp
+
+  # Install the application icon
+  # https://github.com/linuxdeepin/dde-calendar/pull/31
+  patch -Np1 -i ../dde-calendar-icon.patch
+}
+
+build() {
+  cd dde-calendar-$pkgver
+  cmake -GNinja -DCMAKE_INSTALL_PREFIX=/usr .
+  ninja
+}
+
+package() {
+  cd dde-calendar-$pkgver
+  DESTDIR="$pkgdir" ninja install
+}

Deleted: dde-calendar-icon.patch
===================================================================
--- dde-calendar-icon.patch	2020-11-09 12:37:56 UTC (rev 746879)
+++ dde-calendar-icon.patch	2020-11-09 12:38:11 UTC (rev 746880)
@@ -1,24 +0,0 @@
-From 97129644e1fdd56a9254083e22430308ff0c9db6 Mon Sep 17 00:00:00 2001
-From: =?UTF-8?q?Ball=C3=B3=20Gy=C3=B6rgy?= <ballogyor at gmail.com>
-Date: Sat, 1 Aug 2020 13:54:20 +0200
-Subject: [PATCH] Install the application icon
-
----
- CMakeLists.txt | 4 ++--
- 1 file changed, 2 insertions(+), 2 deletions(-)
-
-diff --git a/CMakeLists.txt b/CMakeLists.txt
-index 863aa2f..946ba53 100644
---- a/CMakeLists.txt
-+++ b/CMakeLists.txt
-@@ -102,8 +102,8 @@ install(TARGETS dde-calendar DESTINATION bin)
- 
- file(GLOB APP_QM_FILES "translations/*.qm")
- 
--#install(FILES /usr/share/icons/bloom/apps/96/dde-calendar.svg
--#        DESTINATION /share/icons/hicolor/scalable/apps/)
-+install(FILES assets/resources/icon/dde-calendar.svg
-+        DESTINATION share/icons/hicolor/scalable/apps)
- install(FILES ${APP_QM_FILES} DESTINATION share/dde-calendar/translations)
- install(FILES ${APP_DESKTOP} DESTINATION share/applications)
- install(FILES ${APP_SERVICE} DESTINATION share/dbus-1/services)

Copied: deepin-calendar/repos/community-x86_64/dde-calendar-icon.patch (from rev 746879, deepin-calendar/trunk/dde-calendar-icon.patch)
===================================================================
--- dde-calendar-icon.patch	                        (rev 0)
+++ dde-calendar-icon.patch	2020-11-09 12:38:11 UTC (rev 746880)
@@ -0,0 +1,24 @@
+From 97129644e1fdd56a9254083e22430308ff0c9db6 Mon Sep 17 00:00:00 2001
+From: =?UTF-8?q?Ball=C3=B3=20Gy=C3=B6rgy?= <ballogyor at gmail.com>
+Date: Sat, 1 Aug 2020 13:54:20 +0200
+Subject: [PATCH] Install the application icon
+
+---
+ CMakeLists.txt | 4 ++--
+ 1 file changed, 2 insertions(+), 2 deletions(-)
+
+diff --git a/CMakeLists.txt b/CMakeLists.txt
+index 863aa2f..946ba53 100644
+--- a/CMakeLists.txt
++++ b/CMakeLists.txt
+@@ -102,8 +102,8 @@ install(TARGETS dde-calendar DESTINATION bin)
+ 
+ file(GLOB APP_QM_FILES "translations/*.qm")
+ 
+-#install(FILES /usr/share/icons/bloom/apps/96/dde-calendar.svg
+-#        DESTINATION /share/icons/hicolor/scalable/apps/)
++install(FILES assets/resources/icon/dde-calendar.svg
++        DESTINATION share/icons/hicolor/scalable/apps)
+ install(FILES ${APP_QM_FILES} DESTINATION share/dde-calendar/translations)
+ install(FILES ${APP_DESKTOP} DESTINATION share/applications)
+ install(FILES ${APP_SERVICE} DESTINATION share/dbus-1/services)



More information about the arch-commits mailing list