[arch-commits] Commit in deepin-movie/repos/community-any (4 files)
Date: Friday, January 13, 2017 @ 08:12:34 Author: felixonmars Revision: 207163 archrelease: copy trunk to community-any Added: deepin-movie/repos/community-any/PKGBUILD (from rev 207162, deepin-movie/trunk/PKGBUILD) Deleted: deepin-movie/repos/community-any/PKGBUILD deepin-movie/repos/community-any/ctypes.patch deepin-movie/repos/community-any/xcffib.patch --+ PKGBUILD | 82 ++--- ctypes.patch | 38 -- xcffib.patch | 43 - 3 files changed, 38 insertions(+), 125 deletions(-) Deleted: PKGBUILD === --- PKGBUILD2017-01-13 08:12:14 UTC (rev 207162) +++ PKGBUILD2017-01-13 08:12:34 UTC (rev 207163) @@ -1,44 +0,0 @@ -# $Id$ -# Maintainer: Felix Yan- -pkgname=deepin-movie -epoch=1 -pkgver=2.2.10 -pkgrel=4 -pkgdesc='Movie player based on QtAV' -arch=('any') -url="https://github.com/linuxdeepin/deepin-movie; -license=('GPL3') -depends=('python2-ass' 'python2-pyqt5' 'qtav' 'mediainfo' 'deepin-menu' 'python2-dbus' - 'python2-peewee' 'python2-magic' 'deepin-qml-widgets' 'python2-xpybutil' 'python2-pysrt' - 'python2-opengl' 'deepin-manual') -makedepends=('deepin-gettext-tools' 'git') -groups=('deepin-extra') -source=("git+https://github.com/linuxdeepin/deepin-movie.git#tag=$pkgver; -ctypes.patch xcffib.patch) -sha256sums=('SKIP' -'0427345ba7da2460795b992e566daa0f5be234f4c66dac6e73b64ade17ed1eb7' -'612699576290d30e3687995e76aa75b8559afd697d3bf8b8d8c858633a38eac5') - -prepare() { - cd deepin-movie - - # fix python version - find -iname "*.py" | xargs sed -i 's=\(^#! */usr/bin.*\)python *$=\1python2=' - - patch -p1 -i ../ctypes.patch - patch -p1 -i ../xcffib.patch -} - -build() { - cd deepin-movie - python2 configure.py - deepin-generate-mo locale/locale_config.ini -} - -package() { - cd deepin-movie - make DESTDIR="${pkgdir}" PREFIX="/usr" install - - chmod 0755 "$pkgdir"/usr/share/deepin-movie/main.py -} Copied: deepin-movie/repos/community-any/PKGBUILD (from rev 207162, deepin-movie/trunk/PKGBUILD) === --- PKGBUILD(rev 0) +++ PKGBUILD2017-01-13 08:12:34 UTC (rev 207163) @@ -0,0 +1,38 @@ +# $Id$ +# Maintainer: Felix Yan + +pkgname=deepin-movie +epoch=1 +pkgver=2.2.11 +pkgrel=1 +pkgdesc='Movie player based on QtAV' +arch=('any') +url="https://github.com/linuxdeepin/deepin-movie; +license=('GPL3') +depends=('python2-ass' 'python2-pyqt5' 'qtav' 'mediainfo' 'deepin-menu' 'python2-dbus' + 'python2-peewee' 'python2-magic' 'deepin-qml-widgets' 'python2-xpybutil' 'python2-pysrt' + 'python2-opengl' 'deepin-manual') +makedepends=('deepin-gettext-tools' 'git') +groups=('deepin-extra') +source=("git+https://github.com/linuxdeepin/deepin-movie.git#tag=$pkgver;) +sha256sums=('SKIP') + +prepare() { + cd deepin-movie + + # fix python version + find -iname "*.py" | xargs sed -i 's=\(^#! */usr/bin.*\)python *$=\1python2=' +} + +build() { + cd deepin-movie + python2 configure.py + deepin-generate-mo locale/locale_config.ini +} + +package() { + cd deepin-movie + make DESTDIR="${pkgdir}" PREFIX="/usr" install + + chmod 0755 "$pkgdir"/usr/share/deepin-movie/main.py +} Deleted: ctypes.patch === --- ctypes.patch2017-01-13 08:12:14 UTC (rev 207162) +++ ctypes.patch2017-01-13 08:12:34 UTC (rev 207163) @@ -1,38 +0,0 @@ -From 8451ef5e2937e1ef4cc9f67145c982773310b3de Mon Sep 17 00:00:00 2001 -From: Felix Yan -Date: Sun, 11 Oct 2015 20:37:29 +0800 -Subject: [PATCH] Fix a ctypes-related crash on Arch - -"Python integers and Python longs are passed as the platforms default C -int type, their value is masked to fit into the C type." So when they -are big enough a segfault will occur. - -Many thanks to lilydjwg. - -Change-Id: I2472ed375bf183c39267ea4f2aca5ff09dcea8cd - src/utils/font_utils.py | 3 +++ - 1 file changed, 3 insertions(+) - -diff --git a/src/utils/font_utils.py b/src/utils/font_utils.py -index c13eb21..36d85fa 100644 a/src/utils/font_utils.py -+++ b/src/utils/font_utils.py -@@ -30,7 +30,9 @@ - - # initialize - libfc.FcInit() -+libfc.FcPatternCreate.restype = c_void_p - pattern = libfc.FcPatternCreate() -+libfc.FcObjectSetBuild.restype = c_void_p - objectSet = libfc.FcObjectSetBuild("family", "familylang", -"lang", "spacing", None) - -@@ -86,6 +88,7 @@ def fontsByLocale(locale): - - # get all fonts - libfc.FcFontList.restype = POINTER(FcFontSet) -+libfc.FcFontList.argtypes = [c_void_p] * 3 - libfc.FcLangSetGetLangs.restype = POINTER(FcStrSet) - libfc.FcStrListNext.restype = c_char_p -
[arch-commits] Commit in deepin-movie/repos/community-any (4 files)
Date: Wednesday, November 25, 2015 @ 03:47:59 Author: fyan Revision: 147749 archrelease: copy trunk to community-any Added: deepin-movie/repos/community-any/PKGBUILD (from rev 147748, deepin-movie/trunk/PKGBUILD) deepin-movie/repos/community-any/deepin-movie.install (from rev 147748, deepin-movie/trunk/deepin-movie.install) Deleted: deepin-movie/repos/community-any/PKGBUILD deepin-movie/repos/community-any/deepin-movie.install --+ PKGBUILD | 76 - deepin-movie.install | 22 +++--- 2 files changed, 49 insertions(+), 49 deletions(-) Deleted: PKGBUILD === --- PKGBUILD2015-11-25 02:47:27 UTC (rev 147748) +++ PKGBUILD2015-11-25 02:47:59 UTC (rev 147749) @@ -1,38 +0,0 @@ -# $Id$ -# Maintainer: Felix Yan- -pkgname=deepin-movie -pkgver=2.3.0.20151020 -_commit=6bf276cd47e4c85568dd175dfb4e3705e39ccb93 -pkgrel=2 -pkgdesc='Movie player based on QtAV' -arch=('any') -url="https://gitcafe.com/Deepin/deepin-movie; -license=('GPL3') -depends=('python2-pyqt5' 'qtav' 'mediainfo' 'deepin-menu' 'python2-dbus' - 'python2-peewee' 'python2-pillow' 'python2-magic' 'python2-bottle' - 'deepin-qml-widgets' 'python2-xpybutil' 'python2-deepin-utils' - 'python2-requests' 'dleyna-renderer' 'deepin-dbus-factory') -makedepends=('deepin-gettext-tools' 'git') -groups=('deepin-extra') -install="${pkgname}.install" -source=("git+https://github.com/linuxdeepin/deepin-movie.git#commit=$_commit;) -sha256sums=('SKIP') - -prepare() { - cd deepin-movie - - # fix python version - find -iname "*.py" | xargs sed -i 's=\(^#! */usr/bin.*\)python *$=\1python2=' -} - -build() { - cd deepin-movie - python2 configure.py - deepin-generate-mo locale/locale_config.ini -} - -package() { - cd deepin-movie - make DESTDIR="${pkgdir}" PREFIX="/usr" install -} Copied: deepin-movie/repos/community-any/PKGBUILD (from rev 147748, deepin-movie/trunk/PKGBUILD) === --- PKGBUILD(rev 0) +++ PKGBUILD2015-11-25 02:47:59 UTC (rev 147749) @@ -0,0 +1,38 @@ +# $Id$ +# Maintainer: Felix Yan + +pkgname=deepin-movie +pkgver=2.3.0.20151102 +_commit=9046d58a99f0fd25e148e54290837712bc689a6c +pkgrel=1 +pkgdesc='Movie player based on QtAV' +arch=('any') +url="https://gitcafe.com/Deepin/deepin-movie; +license=('GPL3') +depends=('python2-pyqt5' 'qtav' 'mediainfo' 'deepin-menu' 'python2-dbus' + 'python2-peewee' 'python2-pillow' 'python2-magic' 'python2-bottle' + 'deepin-qml-widgets' 'python2-xpybutil' 'python2-deepin-utils' + 'python2-requests' 'dleyna-renderer' 'deepin-dbus-factory') +makedepends=('deepin-gettext-tools' 'git') +groups=('deepin-extra') +install="${pkgname}.install" +source=("git+https://github.com/linuxdeepin/deepin-movie.git#commit=$_commit;) +sha256sums=('SKIP') + +prepare() { + cd deepin-movie + + # fix python version + find -iname "*.py" | xargs sed -i 's=\(^#! */usr/bin.*\)python *$=\1python2=' +} + +build() { + cd deepin-movie + python2 configure.py + deepin-generate-mo locale/locale_config.ini +} + +package() { + cd deepin-movie + make DESTDIR="${pkgdir}" PREFIX="/usr" install +} Deleted: deepin-movie.install === --- deepin-movie.install2015-11-25 02:47:27 UTC (rev 147748) +++ deepin-movie.install2015-11-25 02:47:59 UTC (rev 147749) @@ -1,11 +0,0 @@ -post_install() { - update-desktop-database -q -} - -post_upgrade() { - post_install "$1" -} - -post_remove() { - post_install "$1" -} Copied: deepin-movie/repos/community-any/deepin-movie.install (from rev 147748, deepin-movie/trunk/deepin-movie.install) === --- deepin-movie.install(rev 0) +++ deepin-movie.install2015-11-25 02:47:59 UTC (rev 147749) @@ -0,0 +1,11 @@ +post_install() { + update-desktop-database -q +} + +post_upgrade() { + post_install "$1" +} + +post_remove() { + post_install "$1" +}
[arch-commits] Commit in deepin-movie/repos/community-any (4 files)
Date: Tuesday, October 20, 2015 @ 14:34:12 Author: fyan Revision: 144523 archrelease: copy trunk to community-any Added: deepin-movie/repos/community-any/PKGBUILD (from rev 144522, deepin-movie/trunk/PKGBUILD) deepin-movie/repos/community-any/deepin-movie.install (from rev 144522, deepin-movie/trunk/deepin-movie.install) Deleted: deepin-movie/repos/community-any/PKGBUILD deepin-movie/repos/community-any/deepin-movie.install --+ PKGBUILD | 76 - deepin-movie.install | 22 +++--- 2 files changed, 49 insertions(+), 49 deletions(-) Deleted: PKGBUILD === --- PKGBUILD2015-10-20 12:33:52 UTC (rev 144522) +++ PKGBUILD2015-10-20 12:34:12 UTC (rev 144523) @@ -1,38 +0,0 @@ -# $Id$ -# Maintainer: Felix Yan- -pkgname=deepin-movie -pkgver=2.3.0.20151020 -_commit=640ea9471b4d911728a9742bdae78a785f323b15 -pkgrel=1 -pkgdesc='Movie player based on QtAV' -arch=('any') -url="https://gitcafe.com/Deepin/deepin-movie; -license=('GPL3') -depends=('python2-pyqt5' 'qtav' 'mediainfo' 'deepin-menu' 'python2-dbus' - 'python2-peewee' 'python2-pillow' 'python2-peewee' 'python2-magic' - 'deepin-qml-widgets' 'python2-xpybutil' 'python2-deepin-utils' - 'python2-requests' 'python2-bottle' 'dleyna-renderer') -makedepends=('deepin-gettext-tools' 'git') -groups=('deepin-extra') -install="${pkgname}.install" -source=("git+https://github.com/linuxdeepin/deepin-movie.git#commit=$_commit;) -sha256sums=('SKIP') - -prepare() { - cd deepin-movie - - # fix python version - find -iname "*.py" | xargs sed -i 's=\(^#! */usr/bin.*\)python *$=\1python2=' -} - -build() { - cd deepin-movie - python2 configure.py - deepin-generate-mo locale/locale_config.ini -} - -package() { - cd deepin-movie - make DESTDIR="${pkgdir}" PREFIX="/usr" install -} Copied: deepin-movie/repos/community-any/PKGBUILD (from rev 144522, deepin-movie/trunk/PKGBUILD) === --- PKGBUILD(rev 0) +++ PKGBUILD2015-10-20 12:34:12 UTC (rev 144523) @@ -0,0 +1,38 @@ +# $Id$ +# Maintainer: Felix Yan + +pkgname=deepin-movie +pkgver=2.3.0.20151020 +_commit=6bf276cd47e4c85568dd175dfb4e3705e39ccb93 +pkgrel=2 +pkgdesc='Movie player based on QtAV' +arch=('any') +url="https://gitcafe.com/Deepin/deepin-movie; +license=('GPL3') +depends=('python2-pyqt5' 'qtav' 'mediainfo' 'deepin-menu' 'python2-dbus' + 'python2-peewee' 'python2-pillow' 'python2-magic' 'python2-bottle' + 'deepin-qml-widgets' 'python2-xpybutil' 'python2-deepin-utils' + 'python2-requests' 'dleyna-renderer' 'deepin-dbus-factory') +makedepends=('deepin-gettext-tools' 'git') +groups=('deepin-extra') +install="${pkgname}.install" +source=("git+https://github.com/linuxdeepin/deepin-movie.git#commit=$_commit;) +sha256sums=('SKIP') + +prepare() { + cd deepin-movie + + # fix python version + find -iname "*.py" | xargs sed -i 's=\(^#! */usr/bin.*\)python *$=\1python2=' +} + +build() { + cd deepin-movie + python2 configure.py + deepin-generate-mo locale/locale_config.ini +} + +package() { + cd deepin-movie + make DESTDIR="${pkgdir}" PREFIX="/usr" install +} Deleted: deepin-movie.install === --- deepin-movie.install2015-10-20 12:33:52 UTC (rev 144522) +++ deepin-movie.install2015-10-20 12:34:12 UTC (rev 144523) @@ -1,11 +0,0 @@ -post_install() { - update-desktop-database -q -} - -post_upgrade() { - post_install "$1" -} - -post_remove() { - post_install "$1" -} Copied: deepin-movie/repos/community-any/deepin-movie.install (from rev 144522, deepin-movie/trunk/deepin-movie.install) === --- deepin-movie.install(rev 0) +++ deepin-movie.install2015-10-20 12:34:12 UTC (rev 144523) @@ -0,0 +1,11 @@ +post_install() { + update-desktop-database -q +} + +post_upgrade() { + post_install "$1" +} + +post_remove() { + post_install "$1" +}