Hi,

I tried to do some cleanups on PCR. I've looked at the packages which have 
unsatisfiable dependencies (expect the openrc/nonsystemd ones).

I checked the following:
- Is there a replacement in other repositories?
- Is it for accessibility? --> Keep it
- Can the package be rebuilt with other dependencies?
- Is the project still active?
- Where there any complaints that the version in PCR is not up to date for the 
last 1 - 2 years?

The libreoffice calc sheet with detailed comments is attached. The same
information is also attached as csv.

Here are my findings:

Keep as it is:
==============
dasher
screenkey
tahoe-lafs
printrun

Rebuild:
========
bbswitch-lts
zfec
lightspark
grail

Update:
=======
yafaray

Remove:
=======
apache-ant-contrib
litecoin-qt
lightspark-git
pybristol
jbuilder
cairo-compmgr
emacs-lucid
alarm-clock-applet
Gnome-rdp,
discosrv-git
petri-foo
rtorrent-color
nicotine
clang37
llvm37
llvm37-libs
librevpn
librevpn-git
apenwarr-redo
pyrenamer
gtg
python2-pyparser
qtqr
monkeysign
python2-pypump
python2-weberror
fair-coin
kommute
pgl
qtoctave
quackle
qwt-qt4
qwtpolar-qt4
kurso-de-esperanto
python2-carrot
python2-flask-lesscss
coccinella
bristol
python-pycrypto
ttf-gentium-plus
castle-combat (? , see seperate mail)

If you wish patch(es) for the removal packages, please tell me.

For the packages which are to be updated or rebuilt, the patches are attached. 
More informations can be found in the commit messages.

If you have any questions, need more informations or anything else, please ask!
Architecture;name;unsatisfiable dependency;Comment;Action
i686, x86_64;bbswitch-lts;linux-libre-lts-headers=4.19.97;"Project has not seen updates since 2013, 
Easy to rebuild for new kernel versions";Keep & rebuild
armv7h, x86_64;dasher;gnome-doc-utils;Accessibility, Parabola has newest version;keep it as it is
i686, x86_64;zfec;python2-argparse;argparse is in python included;Rebuild
i686;lightspark;boost-libs<1.71.1;;Rebuild for boos-libs-1.72.0
armv7h, i686, x86_64;grail;inputproto;Accessibility. Inputproto can be satisfied by extra/xorgproto;Rebuild with xorgproto
armv7h, i686, x86_64;apache-ant-contrib;apache-ivy;"Mailing list «Its pretty much dead but» 
Last Update: 2018 (in AUR 2015)";remove
i686m, x86_64;litecoin-qt;automoc4;"Not updated for 4 years, nobody complained 
(was marked OoD by oaken source)";Remove
i686, x86_64;lightspark-git;boost-libs<1.66;PKGBUILD is not in abs, there is pcr/lightspark;remove
armv7h;pybristol;bristol;«Synthesizer Emulator». Project has not seen activity since 2015;Remove
i686, x86_64;jbuilder;clingo;Replaced by community/dune;Remove
i686, x86_64;cairo-compmgr;gconf;Not updated for 5 years, nobody complained, project is dead;remove
armv7h, i686, x86_64;emacs-lucid;gconf;Project is deprecated;remove
i686, x86_64;alarm-clock-applet;gconf>=2.0;«Unfortunately, this project is no longer maintained.»;remove
armv7h, i686, x86_64;Gnome-rdp,;gnome-keyring-sharp;project has not seen a activity since 2013;Remove
x86_64;discosrv-git;godep;Last updated in 2014, nobody complained…;Remove
i686, x86_64;petri-foo;libgnomecanvas;project has not seen a new release since 2012;remove
i686, x86_64;rtorrent-color;libtorrent=0.13.7;"Color patched version of rtorrent, not updated for a year,
Patch does no more apply, functionality is in community/rtorrent";Remove
i686;nicotine;mutagen;Replaced by community/nicotine+;remove
armv7h;clang37;ocaml=4.04.0;provided in clang, nothing depends on it;remove
armv7h;llvm37;ocaml=4.04.0;was imported to pcr to satisfy dependencies, no longer needed;Remove
armv7h;llvm37-libs;ocaml=4.04.0;was imported to pcr to satisfy dependencies, no longer needed;Remove
armv7h;librevpn;pandoc;project is dead, cannot find any ressources or website;Remove
armv7h;librevpn-git;pandoc;project is dead, cannot find any ressources or website;Remove
armv7h, i686, x86_64;apenwarr-redo;python2-beautifulsoup3;"'Smaller, easier, more powerful, and more reliable than make.»
 Active project
python2beautifulsoup3 was moved from the community repository to AUR
Is not even in the AUR";remove
i686, x86_64;pyrenamer;python2-gconf;Last release is from 2008;Remove
i686, x86_64;gtg;python2-notify;Was not updated for 5 years, nobody coomplained;remove
armv7h, i686, x86_64;python2-pyparser;python2-parse;Project has not seen a release since 2016, nothing depends on it;remove
i686, x86_64;qtqr;python2-pyqt4;Replaced by community/qreator;remove
i686, x86_64;monkeysign;python2-qrencode;project is probably dead (see https://0xacab.org/monkeysphere/monkeysign/-/issues/64);remove
armv7h, x86_64;python2-pypump;python2-requests-oauthlib;Project has not seen a activity since 4 years, nothing depends on it;remove
x86_64;python2-weberror;python2-tempita;official note: «This software is not actively maintained.» Nothing depends on it;remove
i686, x86_64;fair-coin;qt4;project has not seen a activity since 10/2018;Remove
armv7h, i686, x86_64;kommute;qt4;Not installable for over a year. Nobody complainey;Remove
i686, x86_64;pgl;qt4;"Comment on website: «Not developed actively anymore. Team might still be around. Some unreleased changes on git. Outdated technology.
«";remove
i686, x86_64;qtoctave;qt4;upstream octave GUI is now on qt;remove
armv7h, i686, x86_64;quackle;qt4;Not updated for 2 years. Nobody complained;Remove
x86_64,i686;qwt-qt4;qt4;replaced by extra/qwt;remove
i686, x86_64;qwtpolar-qt4;qt4;reeplaced by community qwtpolar;remove
i686, x86_64;kurso-de-esperanto;qt4,phonon,phonon-qt4-gstreamer;Not installable for over a year. Nobody complainey;remove
armv7h, i686, x86_64;python2-carrot;setuptools;"«Carrot is discontinued in favor of the new Kombu framework.»
Kombu is in the repos
Not required by other packages";Remove
armv7h, i686, x86_64;python2-flask-lesscss;setuptools;"project has not seen updates since 2015, nobody complained,
Nothing depends on it";Remove
armv7h;coccinella;tktreectrl,tkpng;project has not seen a new release since 2010;remove
i686, x86_64;bristol;;Project has not seen activity since 2011;Remove
;python-pycrypto;;See https://labs.parabola.nu/issues/2651;Remove
;ttf-gentium-plus;;See https://labs.parabola.nu/issues/2637;Remove
armv7h;castle-combat;python2-pygame;"A newer version of castle-combat uses python3 (with all dependencies in the repo).
However the game is buggy and crashes after seconds due to missing upgrades to newer python3 versions 
There was a recent OoD notification.";"Unless someone is motivated to further develop the game, remove it 
(probably update and wait if someone wants to debug it?)"
i686, x86_64;yafaray;qt4;moved to qt5;update
x86_64;screenkey;python2-distutils-extra;Project is about to change to python3;wait until project moved to python3 (do nothing)
i686, x86_64, armv7;tahoe-lafs;python2-foolscap>=0.12.6,python2-shutilwhich>=1.1.0;The project is in the transition to python3;wait until project moved to python3 (do nothing)
armv7h, x86_64;printrun;python2-pyglet;Project is about to change to python3;wait until project moved to python3 (do nothing)
armv7h, i686, x86_64;ocaml-extlib;cppo;;
armv7h, i686, x86_64;ocaml-lwt;cppo;;
armv7h, i686, x86_64;emacs-jabber;gconf;;
armv7h, i686, x86_64;maliit-framework;gconf;;
i686;phantomjs;icu<62;;
i686, x86_64;california;icu<64;;
i686, x86_64;java-asm;java-ow-util-ant-tasks;;
i686;dolphin-root;kuiserver;;
armv7h;libxtrx;liblms7002m;;
i686, x86_64;ndoutils;libmysqlclient;;
i686, x86_64;networkmanager-openswan;libnm-gtk;;
x86_64;xen;mingw-w64-binutils;;
armv7h, x86_64;xen-docs;mingw-w64-binutils,dev86,bin86,gcc-multilib;;
armv7h, x86_64;xen-syms;mingw-w64-binutils,dev86,bin86,gcc-multilib;;
i686, x86_64;idjc;mutagen;;
armv7h;rstudio-desktop;pandoc;;
armv7h;fwsnort;perl-iptables-parse;;
armv7h, x86_64;flowblade;pygtk,mlt-python-bindings;;
x86_64,i686;compiz;pygtk,pyrex;;
armv7h, i686, x86_64;monkeysign;pygtk,python2-qrencode;;
armv7h, i686, x86_64;gnuhealth;pygtk,python2-vobject,python2-qrcode,python2-ldap;;
armv7h, i686, x86_64;gnoduino;pygtksourceview2;;
armv7h, i686, x86_64;python-poppler-qt5;python-sip-pyqt5;;
i686, x86_64;python-gensim;python-smart_open;;
armv7h, i686, x86_64;gnuradio-osmosdr-xtrx;python2-cheetah;;
i686, x86_64;liblms7002m;python2-cheetah;;
x86_64;mugshot;python2-distutils-extra;;
armv7h;zeronet-git;python2-msgpack;;
armv7h;pivaders-git;python2-pygame;;
armv7h, i686, x86_64;trytond-account;python2-simpleeval;;
i686, x86_64;python2-gensim;python2-smart_open;;
armv7h, i686, x86_64;python2-caldav;python2-vobject;;
armv7h, i686, x86_64;trytond-calendar;python2-vobject>=0.8.0;;
armv7h, i686, x86_64;python2-pylons;python2-weborror,python2-formencode;;
armv7h, i686, x86_64;qtwebkit;qt4;"Remove, only Arora depends on it
'arora› is a webbrowser which has not seen activity for three years → also remov";
armv7h;xf86-video-armsoc-git;scrnsaverproto,resourceproto;;
armv7h;xf86-video-omap;scrnsaverproto,resourceproto;;
armv7h;xf86-video-omapfb;scrnsaverproto,resourceproto;;
armv7h, i686, x86_64;mailpile;spambayes>=1.1a6,python2-pydns;;
armv7h;xf86-video-fbturbo-git;X-ABI-VIDEODRV_VERSION=20;;
;;;;
;;;;
;;;;
;;;;
;;;;
;;;;
;;;;
;;;;
;;;;
;;;;
;;;;
;;;;
;;;;
;;;;
;;;;
;;;;
;;;;
;;;;
;;;50;

Attachment: unsatisfiable-pcr.ods
Description: application/vnd.oasis.opendocument.spreadsheet

From f559eecf9d0d5fc914c525b20f42e7e10a319f54 Mon Sep 17 00:00:00 2001
From: Theo von Arx <[email protected]>
Date: Wed, 15 Apr 2020 10:59:53 +0200
Subject: [PATCH 1/8] Update pcr/3proxy to v0.8.13

---
 pcr/3proxy/3proxy.service | 15 +++++++++++++++
 pcr/3proxy/PKGBUILD       | 37 ++++++++++++++++++++++++-------------
 2 files changed, 39 insertions(+), 13 deletions(-)
 create mode 100644 pcr/3proxy/3proxy.service

diff --git a/pcr/3proxy/3proxy.service b/pcr/3proxy/3proxy.service
new file mode 100644
index 000000000..95ee411fe
--- /dev/null
+++ b/pcr/3proxy/3proxy.service
@@ -0,0 +1,15 @@
+[Unit]
+Description=3proxy
+After=network.target
+
+[Service]
+Type=simple
+ExecStart=/usr/bin/3proxy /etc/3proxy/3proxy.cfg
+User=threeproxy
+Group=threeproxy
+Restart=on-failure
+PrivateUsers=true
+
+[Install]
+WantedBy=multi-user.target
+
diff --git a/pcr/3proxy/PKGBUILD b/pcr/3proxy/PKGBUILD
index 3a71342de..59557e061 100644
--- a/pcr/3proxy/PKGBUILD
+++ b/pcr/3proxy/PKGBUILD
@@ -1,3 +1,4 @@
+# Maintainer (AUR): asm0dey <[email protected]>
 # Contributor (AUR): d0wn
 # Contributor: André Silva <[email protected]>
 # Contributor: Márcio Silva <[email protected]>
@@ -6,28 +7,38 @@
 #  - no changes.
 
 pkgname=3proxy
-pkgver=0.8.10
+pkgver=0.8.13
 pkgrel=1
 pkgdesc="A tiny crossplatform proxy server"
 arch=('i686' 'x86_64' 'armv7h')
 url="http://www.3proxy.ru/";
 license=('BSD3')
-depends=()
+depends=('glibc')
+makedepends=('gcc' 'make')
+backup=('etc/3proxy/3proxy.cfg')
 source=("https://github.com/z3APA3A/3proxy/archive/$pkgver.tar.gz";
+        "3proxy.service"
 )
-md5sums=('7394c3373823f15882ad65d8ebcf33b5'
+md5sums=('d9420c56f05fb78bf9043dd8a30c6a1c'
+         '99fbf305116df79fde910402c1132295'
 )
 _prefix=/usr
 _etcdir=/etc/3proxy
 package() {
-       cd "$srcdir/3proxy-$pkgver"
-       cp Makefile.Linux Makefile.Linux~ && sed 's/^\(CFLAGS =\)/\1 
-Werror-implicit-function-declaration /' Makefile.Linux~ > Makefile.Linux || 
return 1
-       make='make -f Makefile.Linux INSTALL=/usr/bin/install'
-       $make prefix="$_prefix" ETCDIR="$_etcdir"
-       $make prefix="$_prefix" install DESTDIR="$pkgdir" 
ETCDIR="${pkgdir}${_etcdir}"
-       ( cd ${pkgdir}${_prefix}/bin && mv proxy 3proxy-proxy ) || return 1
-       rm -f ${pkgdir}${_etcdir}/counters ${pkgdir}${_etcdir}/passwd 
${pkgdir}${_etcdir}/bandlimiters
-       install -D -m644 copying 
${pkgdir}${_prefix}/share/licenses/$pkgname/copying
-       install -D -m644 cfg/3proxy.cfg.sample 
${pkgdir}${_etcdir}/3proxy.cfg.sample
-       install -D -m644 cfg/counters.sample ${pkgdir}${_etcdir}/counters.sample
+    cd "$srcdir/3proxy-$pkgver"
+    cp Makefile.Linux Makefile.Linux~ && sed 's/^\(CFLAGS =\)/\1 
-Werror-implicit-function-declaration /' Makefile.Linux~ > Makefile.Linux || 
return 1
+    make='make -f Makefile.Linux INSTALL=/usr/bin/install'
+    $make prefix="$_prefix" ETCDIR="$_etcdir"
+    $make prefix="$_prefix" install DESTDIR="$pkgdir" 
ETCDIR="${pkgdir}${_etcdir}"
+    ( cd ${pkgdir}${_prefix}/bin && mv proxy 3proxy-proxy ) || return 1
+    rm -f ${pkgdir}${_etcdir}/counters ${pkgdir}${_etcdir}/passwd 
${pkgdir}${_etcdir}/bandlimiters
+    install -D -m644 copying 
${pkgdir}${_prefix}/share/licenses/$pkgname/copying
+    install -D -m644 cfg/3proxy.cfg.sample 
${pkgdir}${_etcdir}/3proxy.cfg.sample
+    install -D -m644 cfg/counters.sample ${pkgdir}${_etcdir}/counters.sample
+    mkdir -p "$pkgdir/usr/lib/systemd/system/"
+    echo 'u     threeproxy    -              "3proxy user"' | install -Dm644 
/dev/stdin "$pkgdir"/usr/lib/sysusers.d/$pkgname.conf
+    install -D -m644 "$srcdir/3proxy.service" "$pkgdir/usr/lib/systemd/system/"
 }
+
+# vim: ts=4 sw=4 et:
+
-- 
2.26.0

From 0252c11ac1627b22a65d2bde819133ae0b4be873 Mon Sep 17 00:00:00 2001
From: Theo von Arx <[email protected]>
Date: Wed, 15 Apr 2020 11:46:49 +0200
Subject: [PATCH 2/8] Rebuild pcr/bbswitch-lts for lts kernel 5.4.28-1

Successfully build for x86_64, i686
bbswitch-lts is not available for the 'armv7h' architecture
---
 pcr/bbswitch-lts/PKGBUILD | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/pcr/bbswitch-lts/PKGBUILD b/pcr/bbswitch-lts/PKGBUILD
index dca761fd7..875479100 100644
--- a/pcr/bbswitch-lts/PKGBUILD
+++ b/pcr/bbswitch-lts/PKGBUILD
@@ -6,7 +6,7 @@
 # Contributor (Hyperbola): Márcio Silva <[email protected]>
 # Maintainer: Omar Vega Ramos <[email protected]>
 
-_basekernel=4.19.97-1
+_basekernel=5.4.28-1
 
 pkgname=bbswitch-lts
 pkgver=0.8
-- 
2.26.0

From a6c7718e53037b5571e1c42e80a0f6103f04b685 Mon Sep 17 00:00:00 2001
From: Theo von Arx <[email protected]>
Date: Wed, 15 Apr 2020 12:21:46 +0200
Subject: [PATCH 3/8] pcr/grail: Use xorgproto instead of inputproto

Successfully built for all three architectures
---
 pcr/grail/PKGBUILD | 10 ++++++----
 1 file changed, 6 insertions(+), 4 deletions(-)

diff --git a/pcr/grail/PKGBUILD b/pcr/grail/PKGBUILD
index e05381704..981044caa 100644
--- a/pcr/grail/PKGBUILD
+++ b/pcr/grail/PKGBUILD
@@ -3,17 +3,19 @@
 # Contributor (AUR): thn81 <root@scrat>
 
 # parabola changes and rationale:
-#  no changes.
+# - Add armv7h
+# - Use xorgproto instead of inputproto
 
 pkgname=grail
 pkgver=3.1.1
-pkgrel=1
+pkgrel=2
 pkgdesc="Gesture Recognition And Instantiation Library"
-arch=('i686' 'x86_64' 'armv7h')
+arch=('i686' 'x86_64')
+arch+=('armv7h')
 url="https://launchpad.net/grail";
 license=('GPL')
 depends=('frame>=2.5.0' 'libxi')
-makedepends=('inputproto')
+makedepends=('xorgproto')
 conflicts=('utouch-grail')
 replaces=('utouch-grail')
 options=('!libtool')
-- 
2.26.0

From afff825c32e689496f7b51a11b6a261d79e1609d Mon Sep 17 00:00:00 2001
From: Theo von Arx <[email protected]>
Date: Fri, 17 Apr 2020 10:17:00 +0200
Subject: [PATCH 4/8] Rebuild pcr/phantomjs for icu 65.1-3

Successfully built for  x86_64, i686, armv7h
---
 pcr/phantomjs/PKGBUILD | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/pcr/phantomjs/PKGBUILD b/pcr/phantomjs/PKGBUILD
index c68031848..89065729b 100644
--- a/pcr/phantomjs/PKGBUILD
+++ b/pcr/phantomjs/PKGBUILD
@@ -7,7 +7,7 @@
 
 pkgname=phantomjs
 pkgver=2.1.1
-pkgrel=16
+pkgrel=17
 pkgdesc='Headless WebKit with JavaScript API'
 url='http://www.phantomjs.org/'
 license=('BSD' 'LGPL' 'MIT')
-- 
2.26.0

From 7923f03b9ececac022879b0255d06bb5a522b0ec Mon Sep 17 00:00:00 2001
From: Theo von Arx <[email protected]>
Date: Fri, 17 Apr 2020 10:35:07 +0200
Subject: [PATCH 5/8] Rebuild pcr/lightspark for boost-libs 1.72.0-1

- Add include-boostserialization.patch as it was missing
- Successfully buit for x86_64, i686, build failed on armv7h
---
 pcr/lightspark/PKGBUILD                       |  5 +--
 .../include-boostserialization.patch          | 41 +++++++++++++++++++
 2 files changed, 43 insertions(+), 3 deletions(-)
 create mode 100644 pcr/lightspark/include-boostserialization.patch

diff --git a/pcr/lightspark/PKGBUILD b/pcr/lightspark/PKGBUILD
index abadafaa3..2e02f3b67 100644
--- a/pcr/lightspark/PKGBUILD
+++ b/pcr/lightspark/PKGBUILD
@@ -10,7 +10,7 @@
 
 pkgname=lightspark
 pkgver=0.8.2
-pkgrel=2
+pkgrel=3
 pkgdesc="An open source flash player implementation"
 arch=('armv7h' 'i686' 'x86_64')
 url=http://lightspark.github.io/
@@ -18,7 +18,6 @@ license=('LGPL3')
 
 depends=('boost-libs' 'cairo' 'curl' 'desktop-file-utils' 'ffmpeg' 'glew' \
          'glibmm' 'llvm' 'pango' 'rtmpdump' 'sdl2_mixer'                  )
-optdepends=('gnash-gtk: Gnash fallback support')
 makedepends=('cmake' 'nasm' 'boost')
 conflicts=('lightspark-git')
 install=lightspark.install
@@ -27,7 +26,7 @@ 
sha256sums=('05595a3085bf76ea5c9723f128dcadead5ccf38e177c3a456901ccee3265548a')
 
 # FIXME: FTBS against boost 1.72.0 - see note in prepare()
 source+=(include-boostserialization.patch)
-sha256sums+=('669b021aebb1bd0f4f8f7c029b963c575eaf3cdee1de194144bc8c9b8b61d2e5')
+sha256sums+=('d819ec32bd37c50a731a141e9cbc19b258c803925ec1258803fffad1ef9be8b4')
 
 
 _version_constraint() # (dep_pkgname)
diff --git a/pcr/lightspark/include-boostserialization.patch 
b/pcr/lightspark/include-boostserialization.patch
new file mode 100644
index 000000000..6e82e19ce
--- /dev/null
+++ b/pcr/lightspark/include-boostserialization.patch
@@ -0,0 +1,41 @@
+From a702f587fe5c130da9186e73a7d5e3a8b697923a Mon Sep 17 00:00:00 2001
+From: orbea <[email protected]>
+Date: Sat, 21 Dec 2019 13:33:03 -0800
+Subject: [PATCH] Fix build with boost 1.72.0.
+
+Fixes https://github.com/lightspark/lightspark/issues/406.
+---
+ src/scripting/flash/display/flashdisplay.h | 4 ++++
+ src/swf.h                                  | 4 ++++
+ 2 files changed, 8 insertions(+)
+
+diff --git a/src/scripting/flash/display/flashdisplay.h 
b/src/scripting/flash/display/flashdisplay.h
+index 875861655..119986fd4 100644
+--- a/src/scripting/flash/display/flashdisplay.h
++++ b/src/scripting/flash/display/flashdisplay.h
+@@ -20,6 +20,10 @@
+ #ifndef SCRIPTING_FLASH_DISPLAY_FLASHDISPLAY_H
+ #define SCRIPTING_FLASH_DISPLAY_FLASHDISPLAY_H 1
+
++#ifndef BOOST_BIMAP_DISABLE_SERIALIZATION
++#include <boost/serialization/split_member.hpp>
++#endif
++
+ #include <boost/bimap.hpp>
+ #include "compat.h"
+
+diff --git a/src/swf.h b/src/swf.h
+index c2fdd1252..030f8e831 100644
+--- a/src/swf.h
++++ b/src/swf.h
+@@ -20,6 +20,10 @@
+ #ifndef SWF_H
+ #define SWF_H 1
+
++#ifndef BOOST_BIMAP_DISABLE_SERIALIZATION
++#include <boost/serialization/split_member.hpp>
++#endif
++
+ #include "compat.h"
+ #include <fstream>
+ #include <list>
-- 
2.26.0

From fdd15bcf3ff7001f481497b6470af958b6322121 Mon Sep 17 00:00:00 2001
From: Theo von Arx <[email protected]>
Date: Fri, 17 Apr 2020 11:46:37 +0200
Subject: [PATCH 6/8] Update pcr/mugshot to 0.4.2

- Remove patches
- Make transition to python3
- Built on all three architectures, tested on x86_64
---
 pcr/mugshot/PKGBUILD                   | 42 ++++++++++----------------
 pcr/mugshot/missing_default_face.patch | 28 -----------------
 pcr/mugshot/office-phone.patch         | 35 ---------------------
 3 files changed, 16 insertions(+), 89 deletions(-)
 delete mode 100644 pcr/mugshot/missing_default_face.patch
 delete mode 100644 pcr/mugshot/office-phone.patch

diff --git a/pcr/mugshot/PKGBUILD b/pcr/mugshot/PKGBUILD
index d756a40c1..a46e69f2f 100644
--- a/pcr/mugshot/PKGBUILD
+++ b/pcr/mugshot/PKGBUILD
@@ -1,36 +1,26 @@
 # Maintainer: David P. <[email protected]>
-# Contributor: twa022 <[email protected]>
-# Contributor: Somasis <[email protected]>
+# Contributor: Theova
+# Maintainer (Arch): twa022 <[email protected]>
+# Contributor (Arch): Somasis <[email protected]>
 
 pkgname=mugshot
-pkgver=0.3.2
-pkgrel=3.parabola2
+pkgver=0.4.2
+pkgrel=1
+pkgrel+=.parabola1
 pkgdesc="Program to update personal user details"
 arch=('any')
-url="https://launchpad.net/mugshot";
+url="https://github.com/bluesabre/mugshot";
 license=('GPL3')
-depends=( 'python2-pexpect' 'python2-dbus' 'python2-cairo' 'python2-gobject' 
'accountsservice')
-makedepends=( 'python2-distutils-extra' )
-optdepends=( 'cheese: webcam support'
-             'pidgin: update buddy icon'
-             'libreoffice: update user details')
+depends=('gtk3' 'python-pexpect' 'python-dbus' 'python-cairo' 'python-gobject' 
'accountsservice')
+makedepends=('python-distutils-extra' 'intltool')
+optdepends=('cheese: webcam support'
+            'pidgin: update buddy icon'
+            'libreoffice: update user details')
 options=(!emptydirs)
-sha256sums=('ee3debca912c6ddbba613531ab0856496dd247a1f084740ba48cbf42b364c7f0'
-            '0cf536fa2ff25327f100d3fd13009cf56aab72cfd56dceda87579974722a212d'
-            '787848e6ba8eae35d9d6f15918b16ce6227de632106480c36725e348e715326a')
-
-source=("https://launchpad.net/mugshot/${pkgver%.*}/$pkgver/+download/mugshot-${pkgver}.tar.gz";
-        "office-phone.patch"
-        "missing_default_face.patch")
-
-prepare() {
-    cd "${srcdir}/${pkgname}-${pkgver}"
-    patch -p1 -i "${srcdir}"/office-phone.patch
-    cd "${srcdir}"
-    patch -Np1 -i "${srcdir}"/missing_default_face.patch
-}
+source=("${pkgname}-${pkgver}.tar.gz::${url}/archive/${pkgname}-${pkgver}.tar.gz")
+sha256sums=('05698a36494405b5a76be0bf92e89a87fec4e3e6e6168378833de160c9741c84')
 
 package() {
-    cd "${srcdir}/${pkgname}-${pkgver}"
-    python2 setup.py install --root "${pkgdir}"
+  cd "${srcdir}/${pkgname}-${pkgname}-${pkgver}"
+  python setup.py install --root "${pkgdir}" --optimize=1
 }
diff --git a/pcr/mugshot/missing_default_face.patch 
b/pcr/mugshot/missing_default_face.patch
deleted file mode 100644
index 4502e84f0..000000000
--- a/pcr/mugshot/missing_default_face.patch
+++ /dev/null
@@ -1,28 +0,0 @@
-diff -Naur ./mugshot-0.3.2.old/mugshot/MugshotWindow.py 
./mugshot-0.3.2/mugshot/MugshotWindow.py
---- ./mugshot-0.3.2.old/mugshot/MugshotWindow.py       2016-11-06 
09:13:47.604768017 -0500
-+++ ./mugshot-0.3.2/mugshot/MugshotWindow.py   2016-11-06 09:14:11.431116827 
-0500
-@@ -257,10 +257,11 @@
-             logger.debug('Found profile image: %s' % str(image))
- 
-             if os.path.isfile(face):
--                if os.path.samefile(image, face):
--                    self.updated_image = face
--                else:
--                    self.updated_image = None
-+                if os.path.exists(image):
-+                    if os.path.samefile(image, face):
-+                        self.updated_image = face
-+                    else:
-+                        self.updated_image = None
-                 self.set_user_image(face)
-             elif os.path.isfile(image):
-                 self.updated_image = image
-@@ -612,7 +613,7 @@
-             success = False
- 
-         logger.debug('Updating Office Phone...')
--        
-+
-         command = "%s -w \"%s\" %s" % (chfn, office_phone, username)
-         # Office phone is potentially handled by the -o flag in newer 
versions of chfn
-         command2 = "%s -o \"%s\" %s" % (chfn, office_phone, username)
diff --git a/pcr/mugshot/office-phone.patch b/pcr/mugshot/office-phone.patch
deleted file mode 100644
index dbca2c59d..000000000
--- a/pcr/mugshot/office-phone.patch
+++ /dev/null
@@ -1,35 +0,0 @@
-From 8f639e7a29b3bfebbbbd8f520c05637377560bb3 Mon Sep 17 00:00:00 2001
-From: Mike Keen <[email protected]>
-Date: Thu, 5 Nov 2015 11:47:30 -0500
-Subject: [PATCH] Support the -o flag if the -w flag fails
- 
----
-mugshot/MugshotWindow.py | 9 ++++++++-
- 1 file changed, 8 insertions(+), 1 deletion(-)
- 
-diff --git a/mugshot/MugshotWindow.py b/mugshot/MugshotWindow.py
-index 35323be..b557edf 100644
---- a/mugshot/MugshotWindow.py
-+++ b/mugshot/MugshotWindow.py
-@@ -632,11 +632,18 @@ class MugshotWindow(Window):
-             success = False
- 
-         logger.debug('Updating Office Phone...')
-+        
-         command = "%s -w \"%s\" %s" % (chfn, office_phone, username)
-+        # Office phone is potentially handled by the -o flag in newer 
versions of chfn
-+        command2 = "%s -o \"%s\" %s" % (chfn, office_phone, username)
-         if self.process_terminal_password(command, password):
-             self.office_phone = office_phone
-         else:
--            success = False
-+            # Retry with command2
-+            if self.process_terminal_password(command2, password):
-+                self.office_phone = office_phone
-+            else:
-+                success = False
- 
-         return (success, response)
- 
---
-2.6.2
-- 
2.26.0

From 81dc6f31981eaef8c3a59eb0dac03a29afd71f1f Mon Sep 17 00:00:00 2001
From: Theo von Arx <[email protected]>
Date: Fri, 17 Apr 2020 13:37:49 +0200
Subject: [PATCH 7/8] Rebuild pcr/zfec with new dependencies

- Remove dependency python2-argparse as 'argparse' is included in python
- Make split package and build python-zfec and python2-zfec
- Make PKGBUILD more similar to AUR
- Remove test as it is deprecated
---
 pcr/zfec/PKGBUILD | 37 +++++++++++++++++++++++--------------
 1 file changed, 23 insertions(+), 14 deletions(-)

diff --git a/pcr/zfec/PKGBUILD b/pcr/zfec/PKGBUILD
index b11962239..30c66b2f7 100644
--- a/pcr/zfec/PKGBUILD
+++ b/pcr/zfec/PKGBUILD
@@ -1,30 +1,39 @@
 # Maintainer (AUR): Nicolas Pouillard <[email protected]>
 # Contributor (AUR): Peter Simons <[email protected]>
-pkgname=zfec
+
+# Parabola rationals and changes:
+# - Install licenses
+
+pkgbase=zfec
+pkgname=('python2-zfec' 'python-zfec')
 pkgver=1.5.3
 pkgrel=1
+pkgrel+=.parabola1
 pkgdesc="A fast erasure codec which can be used with the command-line, C, 
Python, or Haskell"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'armvh')
 url='https://pypi.python.org/pypi/zfec'
 license=('GPL')
-depends=('python2' 'python2-pyutil' 'python2-argparse')
-makedepends=('python2-setuptools')
+makedepends=('python2-setuptools' 'python-setuptools')
 
source=("https://files.pythonhosted.org/packages/source/z/zfec/zfec-${pkgver}.tar.gz";)
 sha256sums=('b41bd4b0af9c6b3a78bd6734e1e4511475944164375e6241b53df518a366922b')
 
-build(){
-    cd "$srcdir/zfec-$pkgver"
-    python2 setup.py build
-}
+package_python2-zfec() {
+    depends=('python2-pyutil')
+    replaces=('zfec')
+    conflicts=('python-zfec')
 
-check() {
-    cd "$srcdir/zfec-$pkgver"
-    python2 setup.py test
+    cd "zfec-$pkgver"
+    python2 setup.py install --root="$pkgdir" --prefix='/usr' --optimize=1
+    install -d $pkgdir/usr/share/licenses/$pkgname/
+    install -m644 COPYING* $pkgdir/usr/share/licenses/$pkgname/
 }
 
-package(){
-    cd "$srcdir/zfec-$pkgver"
-    python2 setup.py install --root="$pkgdir" --optimize=1 --skip-build
+package_python-zfec() {
+    depends=('python-pyutil')
+    conflicts=('python2-zfec')
+
+    cd "zfec-$pkgver"
+    python setup.py install --root="$pkgdir" --prefix='/usr' --optimize=1
     install -d $pkgdir/usr/share/licenses/$pkgname/
     install -m644 COPYING* $pkgdir/usr/share/licenses/$pkgname/
 }
-- 
2.26.0

From 2be98b83337e3a25ddd56396ae6fd8a173697c03 Mon Sep 17 00:00:00 2001
From: Theo von Arx <[email protected]>
Date: Fri, 17 Apr 2020 13:41:38 +0200
Subject: [PATCH 8/8] Move pcr/zfec to pcr/python-zfec

This is a consequence of renaming the according to python packaging
guidelines.
---
 pcr/{zfec => python-zfec}/PKGBUILD | 0
 1 file changed, 0 insertions(+), 0 deletions(-)
 rename pcr/{zfec => python-zfec}/PKGBUILD (100%)

diff --git a/pcr/zfec/PKGBUILD b/pcr/python-zfec/PKGBUILD
similarity index 100%
rename from pcr/zfec/PKGBUILD
rename to pcr/python-zfec/PKGBUILD
-- 
2.26.0

Attachment: signature.asc
Description: PGP signature

_______________________________________________
Dev mailing list
[email protected]
https://lists.parabola.nu/mailman/listinfo/dev

Reply via email to