[arch-commits] Commit in sugar-activity-paint/repos/community-any (3 files)

Balló György bgyorgy at archlinux.org
Thu Mar 22 12:13:14 UTC 2018


    Date: Thursday, March 22, 2018 @ 12:13:14
  Author: bgyorgy
Revision: 310503

archrelease: copy trunk to community-any

Added:
  sugar-activity-paint/repos/community-any/PKGBUILD
    (from rev 310502, sugar-activity-paint/trunk/PKGBUILD)
Deleted:
  sugar-activity-paint/repos/community-any/PKGBUILD
  sugar-activity-paint/repos/community-any/fix-drawing-area.patch

------------------------+
 PKGBUILD               |   58 +++++++++++++++++++++--------------------------
 fix-drawing-area.patch |   22 -----------------
 2 files changed, 27 insertions(+), 53 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2018-03-22 12:13:08 UTC (rev 310502)
+++ PKGBUILD	2018-03-22 12:13:14 UTC (rev 310503)
@@ -1,31 +0,0 @@
-# $Id$
-# Maintainer: Balló György <ballogyor+arch at gmail dot com>
-
-pkgname=sugar-activity-paint
-_pkgname=Paint
-pkgver=66
-pkgrel=1
-pkgdesc="Sugar activity to create paintings or drawings"
-arch=('any')
-url="https://wiki.sugarlabs.org/go/Activities/Paint"
-license=('GPL')
-groups=('sugar-fructose')
-depends=('sugar-toolkit-gtk3')
-source=(https://download.sugarlabs.org/sources/honey/$_pkgname/$_pkgname-$pkgver.tar.bz2
-        fix-drawing-area.patch)
-sha256sums=('f9da78b564d22cbf53be69d715a69c582064da56dce9ed5c85a2c3e165e0ee08'
-            '023c0eefe5168bab0152fe7c6df391d3dccabf806b17bd12ed3539d01e8c1066')
-
-prepare() {
-  cd $_pkgname-$pkgver
-  sed -i 's@^#!.*python$@#!/usr/bin/python2@' setup.py
-  patch -Np1 -i ../fix-drawing-area.patch
-
-  rm -r fill
-}
-
-package() {
-  cd $_pkgname-$pkgver
-  python2 setup.py install --prefix "$pkgdir/usr"
-  rm -r "$pkgdir"/usr/share/applications
-}

Copied: sugar-activity-paint/repos/community-any/PKGBUILD (from rev 310502, sugar-activity-paint/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2018-03-22 12:13:14 UTC (rev 310503)
@@ -0,0 +1,27 @@
+# $Id$
+# Maintainer: Balló György <ballogyor+arch at gmail dot com>
+
+pkgname=sugar-activity-paint
+_pkgname=paint-activity
+pkgver=67
+pkgrel=1
+pkgdesc="Sugar activity to create paintings or drawings"
+arch=('any')
+url="https://wiki.sugarlabs.org/go/Activities/Paint"
+license=('GPL')
+groups=('sugar-fructose')
+depends=('sugar-toolkit-gtk3')
+source=($_pkgname-$pkgver.tar.gz::https://github.com/sugarlabs/$_pkgname/archive/v$pkgver.tar.gz)
+sha256sums=('d25d8615729deba23597470875c6333f4765d3f55278cf4e13f1633d4f8ccb3a')
+
+prepare() {
+  cd $_pkgname-$pkgver
+  sed -i 's@^#!.*python$@#!/usr/bin/python2@' setup.py
+
+  rm -r fill
+}
+
+package() {
+  cd $_pkgname-$pkgver
+  python2 setup.py install --prefix "$pkgdir/usr" --skip-install-desktop-file
+}

Deleted: fix-drawing-area.patch
===================================================================
--- fix-drawing-area.patch	2018-03-22 12:13:08 UTC (rev 310502)
+++ fix-drawing-area.patch	2018-03-22 12:13:14 UTC (rev 310503)
@@ -1,22 +0,0 @@
-From 4a10a044e40c98226d7b5cd54589db3fce598136 Mon Sep 17 00:00:00 2001
-From: =?UTF-8?q?Gy=C3=B6rgy=20Ball=C3=B3?= <ballogyor at gmail.com>
-Date: Fri, 7 Apr 2017 15:25:50 +0200
-Subject: [PATCH] Explicitely call map_cp on start
-
-Without this, the drawing area is invisible.
----
- OficinaActivity.py | 1 +
- 1 file changed, 1 insertion(+)
-
-diff --git a/OficinaActivity.py b/OficinaActivity.py
-index ef9a64b..b5966bc 100644
---- a/OficinaActivity.py
-+++ b/OficinaActivity.py
-@@ -153,6 +153,7 @@ def size_allocate_cb(widget, allocation):
-                                                   size_allocate_cb)
- 
-         self._setup_handle = self.connect('map', map_cp)
-+        map_cp(self)
- 
-         # Handle screen rotation
-         Gdk.Screen.get_default().connect('size-changed', self._configure_cb)



More information about the arch-commits mailing list