commit:     746f4841bb0a4d09794e40556b794ff41106cd5d
Author:     Volkmar W. Pogatzki <gentoo <AT> pogatzki <DOT> net>
AuthorDate: Sat Oct 24 07:45:26 2020 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Tue Oct 27 21:11:35 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=746f4841

net-misc/unison: drop unison-2.51.2-r1

Package-Manager: Portage-3.0.8, Repoman-3.0.2
Signed-off-by: Volkmar W. Pogatzki <gentoo <AT> pogatzki.net>
Closes: https://github.com/gentoo/gentoo/pull/17989
Signed-off-by: Sam James <sam <AT> gentoo.org>

 net-misc/unison/Manifest                           |  3 -
 .../unison/files/unison-2.51.2-ocaml-4.08.patch    | 50 -------------
 net-misc/unison/unison-2.51.2-r1.ebuild            | 82 ----------------------
 3 files changed, 135 deletions(-)

diff --git a/net-misc/unison/Manifest b/net-misc/unison/Manifest
index a5277f2845b..ad624096e76 100644
--- a/net-misc/unison/Manifest
+++ b/net-misc/unison/Manifest
@@ -1,8 +1,5 @@
 DIST unison-2.48.15v4.tar.gz 1911781 BLAKE2B 
d3dabea1b8b0d2a8c64716144d33265ba904d7658f64c7f0e74b47a1dd10cf2b692d150052e3234be74aedbcf35a37fe1da9f393802c96810e36ef115609dcec
 SHA512 
658b37fd18d8dee517e88ad707f7e80c1731542a0e07e6a8d56e6598e38bcf405cdb8db224274bf9b3319ed87efc45057d1f79e6437c4ca53afe9cec4afe6c78
 DIST unison-2.48.4-manual.html 278110 BLAKE2B 
8a85662399aff31a016964783b32c195cb32f5e6bab44c2f0f08740ab88393f4c73b98ecf58d6930bf103c1bec45720306343fa9fe39d3cdd73ffbbac2b9093c
 SHA512 
b995712cda51d612bd81c89589d872099b3b9c90f7413268b24ab399a1eff7690200980514a834ee3d12bd3c89ef61bb8a29b3970c01433e0c4671d363a96b68
 DIST unison-2.48.4-manual.pdf 516093 BLAKE2B 
8e752a01b8c4335d6687b1f4f20ee09fda90b7521b7ed87af43273416fb3119682078d969772e8c3f7395ef499257dafd67c455a4646868008090ea15063869e
 SHA512 
514da1eda0405416e53b1c8e027d39a803f9030824deccfaf5630aec21c52c6c9ea0d1006461faa8fb26738f4a33eecfe1ae24126fdb7a53ada6b90db270e6c9
-DIST unison-2.51.2-manual.html 311981 BLAKE2B 
1e1bc18d5bca5d50976b28c4e59cc27fcc1ef4415514c6a8db4be02659c168949738cf2941f88cb949097c16e455bd3fb50aee0fdc6023d3d36d6821f74acd05
 SHA512 
2fc47e51ffde2e9176ca85d4d29fe0d254b539112d867782e9bb0f71ea74ad02892a88b6bfe59756268875f0d62abfb125406e4939671a0eb8a64696ba01b997
-DIST unison-2.51.2-manual.pdf 518963 BLAKE2B 
30d0010e7a11b10bb9fba3f5836e084452429f09a94cfcc639305d17ea69499eeeac1026a0bd35c785b08456d79b1b4c68c348c10237509c8cf4e45720d037e0
 SHA512 
170b280e5a9ad0fc4ed848aaa1c4a6a8977edfdcc133bf3288c03e1d4d6d20383cfa06593b9d149e746795945f6afb8d807cfa16f5cf8ab47795e3074776518d
-DIST unison-2.51.2.tar.gz 691251 BLAKE2B 
39f72e7229826ec1a2151b7d7af416d85ffe2f9e6f1277be77d2202088d41fa3aca45413b931e661d72b787710f7d3429352542554990bb638589d52f77fe43f
 SHA512 
9ba24f8d46f3f8bf3c26ea1beb396e276a82a742d9e8479cb421ff9f97fa2051fc8fb809b5f47ebc88dcb6a04878e1bdeae8081540e35af710ccbdaead84c115
 DIST unison-2.51.3.tar.gz 1370060 BLAKE2B 
3e082c5de8c68d87fd4d061dbcf535b9001bd3bacd740fede4e94a239bc554e463c0493260748df61527304d2f874cb194f629fb1f066a47be5a5e54360f3cb7
 SHA512 
202bc592cf18d3ac76d7e29ec71add5d6e33a96b4b885e0e2add9a5a621db2290184f268c70e4f05e4884d6cdfed09f6fcd3dde85681c39628a10ea552917c8f
 DIST unison-2.51.3_p20201024.tar.gz 1371551 BLAKE2B 
780cc176ed203345408551aaa11990e4da1ec0d4adfd928f3e8ff9c180f35fafb6ac097c00c95da8fe9178db122ea025e9f4336413f0694cea099ab80e2ae00e
 SHA512 
87c7ce33621bc323607e901547da30b8fc0a842ba35128627f5d44fb4befd76ff94586ec1f8eb1f3359da756d09d8bf2481cf0d6eb2ea421113e0e4efdcbdf61

diff --git a/net-misc/unison/files/unison-2.51.2-ocaml-4.08.patch 
b/net-misc/unison/files/unison-2.51.2-ocaml-4.08.patch
deleted file mode 100644
index e3353e77e62..00000000000
--- a/net-misc/unison/files/unison-2.51.2-ocaml-4.08.patch
+++ /dev/null
@@ -1,50 +0,0 @@
-diff -ur src.orig/files.ml src/files.ml
---- src.orig/files.ml  2018-01-27 21:53:44.000000000 +0100
-+++ src/files.ml       2019-12-11 16:12:40.005712137 +0100
-@@ -734,7 +734,7 @@
-   with End_of_file ->
-     dirh.System.closedir ()
-   end;
--  Sort.list (<) !files
-+  List.sort compare !files
- 
- let ls dir pattern =
-   Util.convertUnixErrorsToTransient
-diff -ur src.orig/recon.ml src/recon.ml
---- src.orig/recon.ml  2018-01-27 21:53:44.000000000 +0100
-+++ src/recon.ml       2019-12-11 16:12:40.005712137 +0100
-@@ -661,8 +661,8 @@
- 
- (* Sorts the paths so that they will be displayed in order                   
*)
- let sortPaths pathUpdatesList =
--  Sort.list
--    (fun (p1, _) (p2, _) -> Path.compare p1 p2 <= 0)
-+  List.sort
-+    (fun (p1, _) (p2, _) -> Path.compare p1 p2)
-     pathUpdatesList
- 
- let rec enterPath p1 p2 t =
-diff -ur src.orig/system/system_generic.ml src/system/system_generic.ml
---- src.orig/system/system_generic.ml  2018-01-27 21:53:44.000000000 +0100
-+++ src/system/system_generic.ml       2019-12-11 16:12:40.005712137 +0100
-@@ -47,7 +47,7 @@
- let chmod = Unix.chmod
- let chown = Unix.chown
- let utimes = Unix.utimes
--let link = Unix.link
-+let link s1 s2 = Unix.link s1 s2
- let openfile = Unix.openfile
- let opendir f =
-   let h = Unix.opendir f in
-diff -ur src.orig/uigtk2.ml src/uigtk2.ml
---- src.orig/uigtk2.ml 2018-01-27 21:53:44.000000000 +0100
-+++ src/uigtk2.ml      2019-12-11 16:12:40.005712137 +0100
-@@ -94,7 +94,7 @@
- let icon =
-   let p = GdkPixbuf.create ~width:48 ~height:48 ~has_alpha:true () in
-   Gpointer.blit
--    (Gpointer.region_of_string Pixmaps.icon_data) (GdkPixbuf.get_pixels p);
-+    (Gpointer.region_of_bytes Pixmaps.icon_data) (GdkPixbuf.get_pixels p);
-   p
- 
- let leftPtrWatch =

diff --git a/net-misc/unison/unison-2.51.2-r1.ebuild 
b/net-misc/unison/unison-2.51.2-r1.ebuild
deleted file mode 100644
index 9b7c3a033ec..00000000000
--- a/net-misc/unison/unison-2.51.2-r1.ebuild
+++ /dev/null
@@ -1,82 +0,0 @@
-# Copyright 1999-2020 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-DESCRIPTION="Two-way cross-platform file synchronizer"
-HOMEPAGE="https://www.seas.upenn.edu/~bcpierce/unison/";
-SRC_URI="https://www.seas.upenn.edu/~bcpierce/unison/download/releases/${P}/${P}.tar.gz
-       doc? (
-               
https://www.seas.upenn.edu/~bcpierce/unison/download/releases/${P}/${P}-manual.pdf
-               
https://www.seas.upenn.edu/~bcpierce/unison/download/releases/${P}/${P}-manual.html
-       )"
-
-LICENSE="GPL-2"
-SLOT="$(ver_cut 1-2)"
-KEYWORDS="~amd64 ~arm ~ppc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos 
~sparc-solaris"
-IUSE="debug doc gtk +ocamlopt threads"
-
-# ocaml version so we are sure it has ocamlopt use flag
-DEPEND="<dev-lang/ocaml-4.10.0:=[ocamlopt?]
-       gtk? ( dev-ml/lablgtk:2= )"
-
-RDEPEND="gtk? ( dev-ml/lablgtk:2=
-       || ( net-misc/x11-ssh-askpass net-misc/ssh-askpass-fullscreen ) )
-       >=app-eselect/eselect-unison-0.4"
-
-RESTRICT="!ocamlopt? ( strip )"
-S="${WORKDIR}"/src
-
-PATCHES=(
-       "${FILESDIR}"/${PN}-2.51.2-ocaml-4.08.patch # 
https://bugs.gentoo.org/709646
-)
-
-DOCS=( BUGS.txt CONTRIB INSTALL NEWS README ROADMAP.txt TODO.txt )
-
-src_compile() {
-       local myconf
-
-       if use threads; then
-               myconf="$myconf THREADS=true"
-       fi
-
-       if use debug; then
-               myconf="$myconf DEBUGGING=true"
-       fi
-
-       if use gtk; then
-               myconf="$myconf UISTYLE=gtk2"
-       else
-               myconf="$myconf UISTYLE=text"
-       fi
-
-       use ocamlopt || myconf="$myconf NATIVE=false"
-
-       # Discard cflags as it will try to pass them to ocamlc...
-       emake $myconf CFLAGS="" buildexecutable
-}
-
-src_test() {
-       emake selftest CFLAGS=""
-}
-
-src_install() {
-       # install manually, since it's just too much
-       # work to force the Makefile to do the right thing.
-       local binname
-       for binname in unison unison-fsmonitor; do
-               newbin ${binname} ${binname}-${SLOT}
-       done
-       if use doc; then
-               DOCS+=( "${DISTDIR}/${P}-manual.pdf" )
-               HTML_DOCS=( "${DISTDIR}/${P}-manual.html" )
-       fi
-       einstalldocs
-}
-
-pkg_postinst() {
-       elog "Unison now uses SLOTs, so you can specify 
servercmd=/usr/bin/unison-${SLOT}"
-       elog "in your profile files to access exactly this version over ssh."
-       elog "Or you can use 'eselect unison' to set the version."
-       eselect unison update
-}

Reply via email to