[arch-commits] Commit in mldonkey/repos/community-x86_64 (11 files)
Balló György
bgyorgy at archlinux.org
Fri Jun 5 18:55:07 UTC 2020
Date: Friday, June 5, 2020 @ 18:55:06
Author: bgyorgy
Revision: 639187
archrelease: copy trunk to community-x86_64
Added:
mldonkey/repos/community-x86_64/PKGBUILD
(from rev 639186, mldonkey/trunk/PKGBUILD)
mldonkey/repos/community-x86_64/lablgtk-2.14.2.patch
(from rev 639186, mldonkey/trunk/lablgtk-2.14.2.patch)
mldonkey/repos/community-x86_64/mldonkey.conf
(from rev 639186, mldonkey/trunk/mldonkey.conf)
mldonkey/repos/community-x86_64/mldonkey.service
(from rev 639186, mldonkey/trunk/mldonkey.service)
mldonkey/repos/community-x86_64/mldonkey.sysusers
(from rev 639186, mldonkey/trunk/mldonkey.sysusers)
mldonkey/repos/community-x86_64/mldonkey.tmpfiles
(from rev 639186, mldonkey/trunk/mldonkey.tmpfiles)
Deleted:
mldonkey/repos/community-x86_64/PKGBUILD
mldonkey/repos/community-x86_64/mldonkey.conf
mldonkey/repos/community-x86_64/mldonkey.service
mldonkey/repos/community-x86_64/mldonkey.sysusers
mldonkey/repos/community-x86_64/mldonkey.tmpfiles
----------------------+
PKGBUILD | 110 +++++++++++++++++++++++++------------------------
lablgtk-2.14.2.patch | 10 ++++
mldonkey.conf | 4 -
mldonkey.service | 20 ++++----
mldonkey.sysusers | 2
mldonkey.tmpfiles | 4 -
6 files changed, 82 insertions(+), 68 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2020-06-05 18:55:00 UTC (rev 639186)
+++ PKGBUILD 2020-06-05 18:55:06 UTC (rev 639187)
@@ -1,53 +0,0 @@
-# Maintainer: Anatol Pomozov <anatol.pomozov at gmail.com>
-
-pkgname=mldonkey
-pkgver=3.1.6
-pkgrel=3
-pkgdesc='A multi-network P2P client'
-arch=(x86_64)
-url='http://mldonkey.sourceforge.net/'
-license=(GPL)
-depends=(file gd miniupnpc libnatpmp libminiupnpc.so)
-makedepends=(gtk2 librsvg) # we build our own version of ocaml and lablgtk2
-optdepends=('librsvg: GUI support'
- 'gtk2: GUI support')
-backup=(etc/conf.d/mldonkey)
-source=(https://github.com/ygrek/mldonkey/releases/download/release-${pkgver//./-}/mldonkey-$pkgver.tar.bz2{,.asc}
- https://downloads.sourceforge.net/sourceforge/mldonkey/$pkgname-$pkgver.tar.bz2
- mldonkey.conf
- mldonkey.service
- mldonkey.tmpfiles
- mldonkey.sysusers
- https://caml.inria.fr/distrib/ocaml-3.12/ocaml-3.12.0.tar.gz
- https://forge.ocamlcore.org/frs/download.php/561/lablgtk-2.14.2.tar.gz)
-sha256sums=('1b36b57c05a83c2e363c085bf8e80630884c6c92ecdeffc1ad5e1c39a98e043d'
- 'SKIP'
- '1b36b57c05a83c2e363c085bf8e80630884c6c92ecdeffc1ad5e1c39a98e043d'
- 'f1d9401cefd591662d49011c53fdb2788755a6f745a963e46d8037b990edeb6a'
- '778cebe8edcffd63db3594054c2daa62ce571644a96ad235b8c95470b55c0415'
- '9c78fbfbba4f8286e2c2299e4da6f76d0f34f33fde26964922707c34fb75157b'
- '24d7ef8f6af93a8d87a82842b0ed796e35ce2f88d81734d9275eede8f4e10fba'
- 'd964b385e110c1517c9de1c6331476d5e7a3585cc692b6b6b8973f3a9be7da4b'
- '4981abedabdc462303f345104042c88af227ccd50fd30a9bf48fd353ab02d0ba')
-validpgpkeys=(A34C49DD3DB8B78DFAEBE0FA6346B945708D5A0C)
-
-build() {
- cd mldonkey-$pkgver
- # mldonkey hardcodes its dependencies to some specific version
- ln -s "$srcdir"/ocaml-3.12.0.tar.gz "$srcdir"/lablgtk-2.14.2.tar.gz patches/
- ./configure --prefix=/usr --enable-gui=newgui2 --enable-upnp-natpmp --enable-batch
- make
-}
-
-package() {
- cd mldonkey-$pkgver
- make DESTDIR="$pkgdir" install
-
- install -Dm644 icons/rsvg/type_source_normal.svg "$pkgdir"/usr/share/icons/mldonkey.svg
- install -Dm644 distrib/mldonkey.desktop "$pkgdir"/usr/share/applications/mldonkey.desktop
-
- install -Dm644 "$srcdir"/mldonkey.conf "$pkgdir"/etc/conf.d/mldonkey
- install -Dm644 "$srcdir"/mldonkey.service "$pkgdir"/usr/lib/systemd/system/mldonkey.service
- install -Dm644 "$srcdir"/mldonkey.tmpfiles "$pkgdir"/usr/lib/tmpfiles.d/mldonkey.conf
- install -Dm644 "$srcdir"/mldonkey.sysusers "$pkgdir"/usr/lib/sysusers.d/mldonkey.conf
-}
Copied: mldonkey/repos/community-x86_64/PKGBUILD (from rev 639186, mldonkey/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2020-06-05 18:55:06 UTC (rev 639187)
@@ -0,0 +1,57 @@
+# Maintainer: Anatol Pomozov <anatol.pomozov at gmail.com>
+
+pkgname=mldonkey
+pkgver=3.1.6
+pkgrel=4
+pkgdesc='A multi-network P2P client'
+arch=(x86_64)
+url='http://mldonkey.sourceforge.net/'
+license=(GPL)
+depends=(file gd hicolor-icon-theme miniupnpc libnatpmp libminiupnpc.so)
+makedepends=(gtk2 librsvg) # we build our own version of ocaml and lablgtk2
+optdepends=('librsvg: GUI support'
+ 'gtk2: GUI support')
+backup=(etc/conf.d/mldonkey)
+source=(https://github.com/ygrek/mldonkey/releases/download/release-${pkgver//./-}/mldonkey-$pkgver.tar.bz2{,.asc}
+ https://downloads.sourceforge.net/sourceforge/mldonkey/$pkgname-$pkgver.tar.bz2
+ mldonkey.conf
+ mldonkey.service
+ mldonkey.tmpfiles
+ mldonkey.sysusers
+ https://caml.inria.fr/distrib/ocaml-3.12/ocaml-3.12.0.tar.gz
+ https://forge.ocamlcore.org/frs/download.php/561/lablgtk-2.14.2.tar.gz
+ lablgtk-2.14.2.patch)
+sha256sums=('1b36b57c05a83c2e363c085bf8e80630884c6c92ecdeffc1ad5e1c39a98e043d'
+ 'SKIP'
+ '1b36b57c05a83c2e363c085bf8e80630884c6c92ecdeffc1ad5e1c39a98e043d'
+ 'f1d9401cefd591662d49011c53fdb2788755a6f745a963e46d8037b990edeb6a'
+ '778cebe8edcffd63db3594054c2daa62ce571644a96ad235b8c95470b55c0415'
+ '9c78fbfbba4f8286e2c2299e4da6f76d0f34f33fde26964922707c34fb75157b'
+ '24d7ef8f6af93a8d87a82842b0ed796e35ce2f88d81734d9275eede8f4e10fba'
+ 'd964b385e110c1517c9de1c6331476d5e7a3585cc692b6b6b8973f3a9be7da4b'
+ '4981abedabdc462303f345104042c88af227ccd50fd30a9bf48fd353ab02d0ba'
+ '465895fadd4f370578c3c0263877d04d8fabaa7b9e5df69281f4b02fedd654f3')
+validpgpkeys=(A34C49DD3DB8B78DFAEBE0FA6346B945708D5A0C)
+
+build() {
+ cd mldonkey-$pkgver
+ # mldonkey hardcodes its dependencies to some specific version
+ ln -s "$srcdir"/ocaml-3.12.0.tar.gz "$srcdir"/lablgtk-2.14.2.tar.gz "$srcdir"/lablgtk-2.14.2.patch patches/
+ ./configure --prefix=/usr --enable-gui=newgui2 --enable-upnp-natpmp --enable-batch
+ make
+}
+
+package() {
+ cd mldonkey-$pkgver
+ make DESTDIR="$pkgdir" install
+
+ install -Dm644 packages/rpm/mldonkey-icon-16.png "$pkgdir"/usr/share/icons/hicolor/16x16/apps/mldonkey.png
+ install -Dm644 packages/rpm/mldonkey-icon-32.png "$pkgdir"/usr/share/icons/hicolor/32x32/apps/mldonkey.png
+ install -Dm644 packages/rpm/mldonkey-icon-48.png "$pkgdir"/usr/share/icons/hicolor/48x48/apps/mldonkey.png
+ install -Dm644 distrib/mldonkey.desktop "$pkgdir"/usr/share/applications/mldonkey.desktop
+
+ install -Dm644 "$srcdir"/mldonkey.conf "$pkgdir"/etc/conf.d/mldonkey
+ install -Dm644 "$srcdir"/mldonkey.service "$pkgdir"/usr/lib/systemd/system/mldonkey.service
+ install -Dm644 "$srcdir"/mldonkey.tmpfiles "$pkgdir"/usr/lib/tmpfiles.d/mldonkey.conf
+ install -Dm644 "$srcdir"/mldonkey.sysusers "$pkgdir"/usr/lib/sysusers.d/mldonkey.conf
+}
Copied: mldonkey/repos/community-x86_64/lablgtk-2.14.2.patch (from rev 639186, mldonkey/trunk/lablgtk-2.14.2.patch)
===================================================================
--- lablgtk-2.14.2.patch (rev 0)
+++ lablgtk-2.14.2.patch 2020-06-05 18:55:06 UTC (rev 639187)
@@ -0,0 +1,10 @@
+--- src/Makefile.sic 2020-01-23 15:38:11.000000000 +0100
++++ src/Makefile .2020-05-17 13:03:30.869429005 +0200
+@@ -17,6 +17,7 @@
+ DLLDIR = $(LIBDIR)/stublibs
+
+ include $(CONFIG)
++GTKCFLAGS += -fcommon
+
+ TARGETS = varcc$(XE) lablgtktop$(XE) lablgtk2$(XB) gdk_pixbuf_mlsource$(XE)
+
Deleted: mldonkey.conf
===================================================================
--- mldonkey.conf 2020-06-05 18:55:00 UTC (rev 639186)
+++ mldonkey.conf 2020-06-05 18:55:06 UTC (rev 639187)
@@ -1,2 +0,0 @@
-# Parameters to be passed to the daemon (default is empty)
-PARAMS=""
Copied: mldonkey/repos/community-x86_64/mldonkey.conf (from rev 639186, mldonkey/trunk/mldonkey.conf)
===================================================================
--- mldonkey.conf (rev 0)
+++ mldonkey.conf 2020-06-05 18:55:06 UTC (rev 639187)
@@ -0,0 +1,2 @@
+# Parameters to be passed to the daemon (default is empty)
+PARAMS=""
Deleted: mldonkey.service
===================================================================
--- mldonkey.service 2020-06-05 18:55:00 UTC (rev 639186)
+++ mldonkey.service 2020-06-05 18:55:06 UTC (rev 639187)
@@ -1,10 +0,0 @@
-[Unit]
-Description=Mldonkey - Multiple Peer-To-Peer Network Client
-After=network.target
-
-[Service]
-User=mldonkey
-ExecStart=/usr/bin/mlnet -log_to_syslog true -log_file /dev/null -pid /run/mldonkey
-
-[Install]
-WantedBy=multi-user.target
Copied: mldonkey/repos/community-x86_64/mldonkey.service (from rev 639186, mldonkey/trunk/mldonkey.service)
===================================================================
--- mldonkey.service (rev 0)
+++ mldonkey.service 2020-06-05 18:55:06 UTC (rev 639187)
@@ -0,0 +1,10 @@
+[Unit]
+Description=Mldonkey - Multiple Peer-To-Peer Network Client
+After=network.target
+
+[Service]
+User=mldonkey
+ExecStart=/usr/bin/mlnet -log_to_syslog true -log_file /dev/null -pid /run/mldonkey
+
+[Install]
+WantedBy=multi-user.target
Deleted: mldonkey.sysusers
===================================================================
--- mldonkey.sysusers 2020-06-05 18:55:00 UTC (rev 639186)
+++ mldonkey.sysusers 2020-06-05 18:55:06 UTC (rev 639187)
@@ -1 +0,0 @@
-u mldonkey - "Mldonkey daemon user" /var/lib/mldonkey
Copied: mldonkey/repos/community-x86_64/mldonkey.sysusers (from rev 639186, mldonkey/trunk/mldonkey.sysusers)
===================================================================
--- mldonkey.sysusers (rev 0)
+++ mldonkey.sysusers 2020-06-05 18:55:06 UTC (rev 639187)
@@ -0,0 +1 @@
+u mldonkey - "Mldonkey daemon user" /var/lib/mldonkey
Deleted: mldonkey.tmpfiles
===================================================================
--- mldonkey.tmpfiles 2020-06-05 18:55:00 UTC (rev 639186)
+++ mldonkey.tmpfiles 2020-06-05 18:55:06 UTC (rev 639187)
@@ -1,2 +0,0 @@
-d /run/mldonkey 755 mldonkey mldonkey -
-d /var/lib/mldonkey - mldonkey mldonkey -
Copied: mldonkey/repos/community-x86_64/mldonkey.tmpfiles (from rev 639186, mldonkey/trunk/mldonkey.tmpfiles)
===================================================================
--- mldonkey.tmpfiles (rev 0)
+++ mldonkey.tmpfiles 2020-06-05 18:55:06 UTC (rev 639187)
@@ -0,0 +1,2 @@
+d /run/mldonkey 755 mldonkey mldonkey -
+d /var/lib/mldonkey - mldonkey mldonkey -
More information about the arch-commits
mailing list