Date: Tuesday, May 16, 2023 @ 09:00:09
  Author: grawlinson
Revision: 1461946

archrelease: copy trunk to community-x86_64

Added:
  criu/repos/community-x86_64/PKGBUILD
    (from rev 1461945, criu/trunk/PKGBUILD)
  criu/repos/community-x86_64/no-amdgpu-manpage.patch
    (from rev 1461945, criu/trunk/no-amdgpu-manpage.patch)
  criu/repos/community-x86_64/no-python-pip.patch
    (from rev 1461945, criu/trunk/no-python-pip.patch)
  criu/repos/community-x86_64/no-recompile-on-install.patch
    (from rev 1461945, criu/trunk/no-recompile-on-install.patch)
Deleted:
  criu/repos/community-x86_64/PKGBUILD
  criu/repos/community-x86_64/no-amdgpu-manpage.patch
  criu/repos/community-x86_64/no-python-pip.patch
  criu/repos/community-x86_64/no-recompile-on-install.patch

-------------------------------+
 PKGBUILD                      |  210 ++++++++++++++++++++--------------------
 no-amdgpu-manpage.patch       |   20 +--
 no-python-pip.patch           |   26 ++--
 no-recompile-on-install.patch |   42 ++++----
 4 files changed, 149 insertions(+), 149 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD    2023-05-16 08:57:29 UTC (rev 1461945)
+++ PKGBUILD    2023-05-16 09:00:09 UTC (rev 1461946)
@@ -1,105 +0,0 @@
-# Maintainer: George Rawlinson <[email protected]>
-# Contributor: Pavel Borzenkov <[email protected]>
-# Contributor: aksr <aksr at t-com dot me>
-
-pkgname=criu
-pkgver=3.18
-pkgrel=1
-pkgdesc='Utilities to checkpoint and restore processes in userspace'
-arch=('x86_64')
-url='https://criu.org'
-license=('GPL2')
-depends=(
-  'libbsd'
-  'libnet'
-  'libnl'
-  'protobuf-c'
-  'python-protobuf'
-  'gnutls'
-  'nftables'
-)
-makedepends=(
-  'git'
-  'xmlto'
-  'asciidoc'
-  'python-build'
-  'python-installer'
-  'python-setuptools'
-  'python-wheel'
-)
-# can't run tests due to privilege escalation
-# https://github.com/checkpoint-restore/criu/issues/434
-checkdepends=('libaio' 'python-yaml')
-options=('!buildflags' '!lto')
-_commit='4c1a2ac41bb80843c927d2fde8f2ff4186f8d278'
-source=(
-  "$pkgname::git+https://github.com/checkpoint-restore/criu#commit=$_commit";
-  'no-python-pip.patch'
-  'no-recompile-on-install.patch'
-  'no-amdgpu-manpage.patch'
-)
-b2sums=('SKIP'
-        
'd83da0ce0222c1aea1fc0c97bbf8a40f3cd5a6b5d55ee973b64f97bd9769df265b148e89cee8ee6564f065adc00552b511904f322555ac659b735933d42a9a64'
-        
'e4b7c4831fa513d602c73e377847705240a6a42ee1986effd10a589784bd0ad818032ff8283c1f9fd17cb7ddf3204e4a932796a1df816afc30a0e594c92b50f6'
-        
'9c713724e8f6b062f7a09e34555d31e5aa0315db6308b7527835484eaad8dbf5deac5c66521bf5a819462d5f38c64f6602ba421f7bbb73180a3b05189816c8f6')
-
-pkgver() {
-  cd "$pkgname"
-
-  git describe --tags | sed 's/^v//'
-}
-
-prepare() {
-  cd "$pkgname"
-
-  # do not invoke pip
-  patch -p1 -i "$srcdir/no-python-pip.patch"
-
-  # prevent recompilation with `make install`
-  patch -p1 -i "$srcdir/no-recompile-on-install.patch"
-
-  # do not install amdgpu_plugin manpage
-  patch -p1 -i "$srcdir/no-amdgpu-manpage.patch"
-}
-
-build() {
-  cd "$pkgname"
-
-  make
-
-
-  # build python wheel
-  cd crit
-
-  export CRIU_VERSION_MAJOR="${pkgver%%.*}"
-  export CRIU_VERSION_MINOR="${pkgver##*.}"
-
-  python -m build --wheel --no-isolation
-}
-
-#check() {
-#  cd "$pkgname"
-#
-#  make test
-#}
-
-package() {
-  cd "$pkgname"
-
-  # install python wheel
-  python -m installer --destdir="$pkgdir" crit/dist/*.whl
-
-  # rest of the application
-  make \
-    DESTDIR="$pkgdir" \
-    PREFIX=/usr \
-    SBINDIR=/usr/bin \
-    LIBDIR=/usr/lib \
-    LIBEXECDIR=/usr/lib \
-    install
-
-  # remove empty directories
-  rm -rf \
-    "$pkgdir/usr/include/compel/common/asm" \
-    "$pkgdir/var"
-}

Copied: criu/repos/community-x86_64/PKGBUILD (from rev 1461945, 
criu/trunk/PKGBUILD)
===================================================================
--- PKGBUILD                            (rev 0)
+++ PKGBUILD    2023-05-16 09:00:09 UTC (rev 1461946)
@@ -0,0 +1,105 @@
+# Maintainer: George Rawlinson <[email protected]>
+# Contributor: Pavel Borzenkov <[email protected]>
+# Contributor: aksr <aksr at t-com dot me>
+
+pkgname=criu
+pkgver=3.18
+pkgrel=1
+pkgdesc='Utilities to checkpoint and restore processes in userspace'
+arch=('x86_64')
+url='https://criu.org'
+license=('GPL2' 'LGPL2.1')
+depends=(
+  'libbsd'
+  'libnet'
+  'libnl'
+  'protobuf-c'
+  'python-protobuf'
+  'gnutls'
+  'nftables'
+)
+makedepends=(
+  'git'
+  'xmlto'
+  'asciidoc'
+  'python-build'
+  'python-installer'
+  'python-setuptools'
+  'python-wheel'
+)
+# can't run tests due to privilege escalation
+# https://github.com/checkpoint-restore/criu/issues/434
+#checkdepends=('libaio' 'python-yaml')
+options=('!buildflags' '!lto')
+_commit='4c1a2ac41bb80843c927d2fde8f2ff4186f8d278'
+source=(
+  "$pkgname::git+https://github.com/checkpoint-restore/criu#commit=$_commit";
+  'no-python-pip.patch'
+  'no-recompile-on-install.patch'
+  'no-amdgpu-manpage.patch'
+)
+b2sums=('SKIP'
+        
'd83da0ce0222c1aea1fc0c97bbf8a40f3cd5a6b5d55ee973b64f97bd9769df265b148e89cee8ee6564f065adc00552b511904f322555ac659b735933d42a9a64'
+        
'e4b7c4831fa513d602c73e377847705240a6a42ee1986effd10a589784bd0ad818032ff8283c1f9fd17cb7ddf3204e4a932796a1df816afc30a0e594c92b50f6'
+        
'9c713724e8f6b062f7a09e34555d31e5aa0315db6308b7527835484eaad8dbf5deac5c66521bf5a819462d5f38c64f6602ba421f7bbb73180a3b05189816c8f6')
+
+pkgver() {
+  cd "$pkgname"
+
+  git describe --tags | sed 's/^v//'
+}
+
+prepare() {
+  cd "$pkgname"
+
+  # do not invoke pip
+  patch -p1 -i "$srcdir/no-python-pip.patch"
+
+  # prevent recompilation with `make install`
+  patch -p1 -i "$srcdir/no-recompile-on-install.patch"
+
+  # do not install amdgpu_plugin manpage
+  patch -p1 -i "$srcdir/no-amdgpu-manpage.patch"
+}
+
+build() {
+  cd "$pkgname"
+
+  make
+
+
+  # build python wheel
+  cd crit
+
+  export CRIU_VERSION_MAJOR="${pkgver%%.*}"
+  export CRIU_VERSION_MINOR="${pkgver##*.}"
+
+  python -m build --wheel --no-isolation
+}
+
+#check() {
+#  cd "$pkgname"
+#
+#  make test
+#}
+
+package() {
+  cd "$pkgname"
+
+  # install python wheel
+  python -m installer --destdir="$pkgdir" crit/dist/*.whl
+
+  # rest of the application
+  make \
+    DESTDIR="$pkgdir" \
+    PREFIX=/usr \
+    SBINDIR=/usr/bin \
+    LIBDIR=/usr/lib \
+    LIBEXECDIR=/usr/lib \
+    install
+
+  # remove empty directories
+  rm -rf \
+    "$pkgdir/usr/include/compel/common/asm" \
+    "$pkgdir/var"
+}

Deleted: no-amdgpu-manpage.patch
===================================================================
--- no-amdgpu-manpage.patch     2023-05-16 08:57:29 UTC (rev 1461945)
+++ no-amdgpu-manpage.patch     2023-05-16 09:00:09 UTC (rev 1461946)
@@ -1,10 +0,0 @@
---- a/Documentation/Makefile
-+++ b/Documentation/Makefile
-@@ -16,7 +16,6 @@ ifeq ($(PYTHON),python3)
- SRC1          += criu-ns.txt
- endif
- SRC1          += compel.txt
--SRC1            += amdgpu_plugin.txt
- SRC8          += criu.txt
- SRC           := $(SRC1) $(SRC8)
- XMLS          := $(patsubst %.txt,%.xml,$(SRC))

Copied: criu/repos/community-x86_64/no-amdgpu-manpage.patch (from rev 1461945, 
criu/trunk/no-amdgpu-manpage.patch)
===================================================================
--- no-amdgpu-manpage.patch                             (rev 0)
+++ no-amdgpu-manpage.patch     2023-05-16 09:00:09 UTC (rev 1461946)
@@ -0,0 +1,10 @@
+--- a/Documentation/Makefile
++++ b/Documentation/Makefile
+@@ -16,7 +16,6 @@ ifeq ($(PYTHON),python3)
+ SRC1          += criu-ns.txt
+ endif
+ SRC1          += compel.txt
+-SRC1            += amdgpu_plugin.txt
+ SRC8          += criu.txt
+ SRC           := $(SRC1) $(SRC8)
+ XMLS          := $(patsubst %.txt,%.xml,$(SRC))

Deleted: no-python-pip.patch
===================================================================
--- no-python-pip.patch 2023-05-16 08:57:29 UTC (rev 1461945)
+++ no-python-pip.patch 2023-05-16 09:00:09 UTC (rev 1461946)
@@ -1,13 +0,0 @@
---- a/lib/Makefile
-+++ b/lib/Makefile
-@@ -54,10 +54,6 @@ install: lib-c lib-a lib-py crit/crit lib/c/criu.pc.in
-       $(Q) mkdir -p $(DESTDIR)$(LIBDIR)/pkgconfig
-       $(Q) sed -e 's,@version@,$(CRIU_VERSION),' -e 's,@libdir@,$(LIBDIR),' 
-e 's,@includedir@,$(dir $(INCLUDEDIR)/criu/),' lib/c/criu.pc.in > lib/c/criu.pc
-       $(Q) install -m 644 lib/c/criu.pc $(DESTDIR)$(LIBDIR)/pkgconfig
--ifeq ($(PYTHON),python3)
--      $(E) "  INSTALL " crit
--      $(Q) $(PYTHON) -m pip install --upgrade --force-reinstall 
--prefix=$(DESTDIR)$(PREFIX) ./crit
--endif
- .PHONY: install
- 
- uninstall:

Copied: criu/repos/community-x86_64/no-python-pip.patch (from rev 1461945, 
criu/trunk/no-python-pip.patch)
===================================================================
--- no-python-pip.patch                         (rev 0)
+++ no-python-pip.patch 2023-05-16 09:00:09 UTC (rev 1461946)
@@ -0,0 +1,13 @@
+--- a/lib/Makefile
++++ b/lib/Makefile
+@@ -54,10 +54,6 @@ install: lib-c lib-a lib-py crit/crit lib/c/criu.pc.in
+       $(Q) mkdir -p $(DESTDIR)$(LIBDIR)/pkgconfig
+       $(Q) sed -e 's,@version@,$(CRIU_VERSION),' -e 's,@libdir@,$(LIBDIR),' 
-e 's,@includedir@,$(dir $(INCLUDEDIR)/criu/),' lib/c/criu.pc.in > lib/c/criu.pc
+       $(Q) install -m 644 lib/c/criu.pc $(DESTDIR)$(LIBDIR)/pkgconfig
+-ifeq ($(PYTHON),python3)
+-      $(E) "  INSTALL " crit
+-      $(Q) $(PYTHON) -m pip install --upgrade --force-reinstall 
--prefix=$(DESTDIR)$(PREFIX) ./crit
+-endif
+ .PHONY: install
+ 
+ uninstall:

Deleted: no-recompile-on-install.patch
===================================================================
--- no-recompile-on-install.patch       2023-05-16 08:57:29 UTC (rev 1461945)
+++ no-recompile-on-install.patch       2023-05-16 09:00:09 UTC (rev 1461946)
@@ -1,21 +0,0 @@
---- a/Makefile.install
-+++ b/Makefile.install
-@@ -33,15 +33,15 @@ install-man:
-       $(Q) $(MAKE) -C Documentation install
- .PHONY: install-man
- 
--install-lib: lib
-+install-lib:
-       $(Q) $(MAKE) $(build)=lib install
- .PHONY: install-lib
- 
--install-criu: criu
-+install-criu:
-       $(Q) $(MAKE) $(build)=criu install
- .PHONY: install-criu
- 
--install-amdgpu_plugin: amdgpu_plugin
-+install-amdgpu_plugin:
-       $(Q) $(MAKE) -C plugins/amdgpu install
- .PHONY: install-amdgpu_plugin
- 

Copied: criu/repos/community-x86_64/no-recompile-on-install.patch (from rev 
1461945, criu/trunk/no-recompile-on-install.patch)
===================================================================
--- no-recompile-on-install.patch                               (rev 0)
+++ no-recompile-on-install.patch       2023-05-16 09:00:09 UTC (rev 1461946)
@@ -0,0 +1,21 @@
+--- a/Makefile.install
++++ b/Makefile.install
+@@ -33,15 +33,15 @@ install-man:
+       $(Q) $(MAKE) -C Documentation install
+ .PHONY: install-man
+ 
+-install-lib: lib
++install-lib:
+       $(Q) $(MAKE) $(build)=lib install
+ .PHONY: install-lib
+ 
+-install-criu: criu
++install-criu:
+       $(Q) $(MAKE) $(build)=criu install
+ .PHONY: install-criu
+ 
+-install-amdgpu_plugin: amdgpu_plugin
++install-amdgpu_plugin:
+       $(Q) $(MAKE) -C plugins/amdgpu install
+ .PHONY: install-amdgpu_plugin
+ 

Reply via email to