[arch-commits] Commit in rmlint/repos/community-x86_64 (3 files)

Massimiliano Torromeo mtorromeo at archlinux.org
Mon Dec 31 17:07:59 UTC 2018


    Date: Monday, December 31, 2018 @ 17:07:58
  Author: mtorromeo
Revision: 420042

archrelease: copy trunk to community-x86_64

Added:
  rmlint/repos/community-x86_64/PKGBUILD
    (from rev 420041, rmlint/trunk/PKGBUILD)
  rmlint/repos/community-x86_64/no-sse4.patch
    (from rev 420041, rmlint/trunk/no-sse4.patch)
Deleted:
  rmlint/repos/community-x86_64/PKGBUILD

---------------+
 PKGBUILD      |  103 ++++++++++++++++++++++++++++----------------------------
 no-sse4.patch |   16 ++++++++
 2 files changed, 69 insertions(+), 50 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2018-12-31 17:07:37 UTC (rev 420041)
+++ PKGBUILD	2018-12-31 17:07:58 UTC (rev 420042)
@@ -1,50 +0,0 @@
-# Maintainer: Massimiliano Torromeo <massimiliano.torromeo at gmail.com>
-# Contributor: Blisfull <narthana.epa at gmail.com>
-# Contributor: SahibBommelig <sahib at online.de>
-
-pkgbase=rmlint
-pkgname=(rmlint rmlint-shredder)
-pkgver=2.8.0
-pkgrel=1
-url="https://github.com/sahib/rmlint"
-license=('GPL3')
-arch=('x86_64')
-makedepends=('scons' 'python-sphinx' 'gettext' 'sqlite' 'libutil-linux'
-             'binutils' 'json-glib' 'libelf' 'python-gobject' 'python-cairo'
-             'dconf' 'gtksourceview3' 'librsvg' 'desktop-file-utils' 'python-requests')
-source=("https://github.com/sahib/rmlint/archive/v$pkgver/$pkgbase-$pkgver.tar.gz")
-sha256sums=('196bb595ac4d3d1a76ed62542b7895bda1cea47f0f77483286b2dfc8fc797253')
-
-prepare() {
-    cd "$srcdir"/$pkgbase-$pkgver
-    sed 's/python4/python/' -i gui/SConscript
-}
-
-build() {
-    cd "$srcdir"/$pkgbase-$pkgver
-    scons config
-    scons -j4 DEBUG=1 --prefix="$pkgdir"/usr --actual-prefix=/usr
-}
-
-package_rmlint() {
-    pkgdesc="Tool to remove duplicates and other lint, being much faster than fdupes"
-    depends=('sqlite' 'libutil-linux' 'binutils' 'json-glib' 'libelf')
-
-    cd "$srcdir"/$pkgbase-$pkgver
-    scons DEBUG=1 --prefix="$pkgdir"/usr install --actual-prefix=/usr
-
-    rm -rf "$pkgdir"/usr/share/{glib-2.0,icons,applications}
-    rm -rf "$pkgdir"/usr/lib
-}
-
-package_rmlint-shredder() {
-    pkgdesc="Graphical user interface for rmlint"
-    depends=('rmlint' 'python-gobject' 'python-cairo' 'dconf' 'librsvg'
-             'gtksourceview3' 'xdg-utils')
-
-    cd "$srcdir"/$pkgbase-$pkgver
-    scons DEBUG=1 --prefix="$pkgdir"/usr install --actual-prefix=/usr
-
-    rm -rf "$pkgdir"/usr/{bin,share/locale,share/man}
-    rm "$pkgdir"/usr/share/glib-2.0/schemas/gschemas.compiled
-}

Copied: rmlint/repos/community-x86_64/PKGBUILD (from rev 420041, rmlint/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2018-12-31 17:07:58 UTC (rev 420042)
@@ -0,0 +1,53 @@
+# Maintainer: Massimiliano Torromeo <massimiliano.torromeo at gmail.com>
+# Contributor: Blisfull <narthana.epa at gmail.com>
+# Contributor: SahibBommelig <sahib at online.de>
+
+pkgbase=rmlint
+pkgname=(rmlint rmlint-shredder)
+pkgver=2.8.0
+pkgrel=2
+url="https://github.com/sahib/rmlint"
+license=('GPL3')
+arch=('x86_64')
+makedepends=('scons' 'python-sphinx' 'gettext' 'sqlite' 'libutil-linux'
+             'binutils' 'json-glib' 'libelf' 'python-gobject' 'python-cairo'
+             'dconf' 'gtksourceview3' 'librsvg' 'desktop-file-utils' 'python-requests')
+source=("https://github.com/sahib/rmlint/archive/v$pkgver/$pkgbase-$pkgver.tar.gz"
+        "no-sse4.patch")
+sha256sums=('196bb595ac4d3d1a76ed62542b7895bda1cea47f0f77483286b2dfc8fc797253'
+            '634386ee36022f0ebbb4750a7fbc8475eb2be8e36bee051f7e5878ea09b791f1')
+
+prepare() {
+    cd "$srcdir"/$pkgbase-$pkgver
+    sed 's/python4/python/' -i gui/SConscript
+    # patch -p1 -i "$srcdir"/no-sse4.patch
+}
+
+build() {
+    cd "$srcdir"/$pkgbase-$pkgver
+    scons config
+    scons -j4 DEBUG=1 --prefix="$pkgdir"/usr --actual-prefix=/usr
+}
+
+package_rmlint() {
+    pkgdesc="Tool to remove duplicates and other lint, being much faster than fdupes"
+    depends=('sqlite' 'libutil-linux' 'binutils' 'json-glib' 'libelf')
+
+    cd "$srcdir"/$pkgbase-$pkgver
+    scons DEBUG=1 --prefix="$pkgdir"/usr install --actual-prefix=/usr
+
+    rm -rf "$pkgdir"/usr/share/{glib-2.0,icons,applications}
+    rm -rf "$pkgdir"/usr/lib
+}
+
+package_rmlint-shredder() {
+    pkgdesc="Graphical user interface for rmlint"
+    depends=('rmlint' 'python-gobject' 'python-cairo' 'dconf' 'librsvg'
+             'gtksourceview3' 'xdg-utils')
+
+    cd "$srcdir"/$pkgbase-$pkgver
+    scons DEBUG=1 --prefix="$pkgdir"/usr install --actual-prefix=/usr
+
+    rm -rf "$pkgdir"/usr/{bin,share/locale,share/man}
+    rm "$pkgdir"/usr/share/glib-2.0/schemas/gschemas.compiled
+}

Copied: rmlint/repos/community-x86_64/no-sse4.patch (from rev 420041, rmlint/trunk/no-sse4.patch)
===================================================================
--- no-sse4.patch	                        (rev 0)
+++ no-sse4.patch	2018-12-31 17:07:58 UTC (rev 420042)
@@ -0,0 +1,16 @@
+diff --git a/SConstruct b/SConstruct
+index 81d54a4..66cc632 100755
+--- a/SConstruct
++++ b/SConstruct
+@@ -661,10 +661,7 @@ if conf.env['IS_CYGWIN']:
+ else:
+     conf.env.Append(CCFLAGS=['-fPIC'])
+ 
+-# check _mm_crc32_u64 (SSE4.2) support:
+-conf.check_mm_crc32_u64()
+-if conf.env['HAVE_MM_CRC32_U64']:
+-    conf.env.Append(CCFLAGS=['-msse4.2'])
++conf.env['HAVE_MM_CRC32_U64'] = False
+ 
+ if 'clang' in os.path.basename(conf.env['CC']):
+     conf.env.Append(CCFLAGS=['-fcolor-diagnostics'])  # Colored warnings



More information about the arch-commits mailing list