[arch-commits] Commit in xplc/repos/community-x86_64 (6 files)

Antonio Rojas arojas at gemini.archlinux.org
Sat Apr 23 17:35:07 UTC 2022


    Date: Saturday, April 23, 2022 @ 17:35:07
  Author: arojas
Revision: 1187700

archrelease: copy trunk to community-x86_64

Added:
  xplc/repos/community-x86_64/0001-Fix-narrowing-conversion-error.patch
    (from rev 1187698, xplc/trunk/0001-Fix-narrowing-conversion-error.patch)
  xplc/repos/community-x86_64/PKGBUILD
    (from rev 1187699, xplc/trunk/PKGBUILD)
  xplc/repos/community-x86_64/xplc-0.3.13-as-needed.patch
    (from rev 1187699, xplc/trunk/xplc-0.3.13-as-needed.patch)
Deleted:
  xplc/repos/community-x86_64/0001-Fix-narrowing-conversion-error.patch
  xplc/repos/community-x86_64/PKGBUILD
  xplc/repos/community-x86_64/xplc-0.3.13-as-needed.patch

-------------------------------------------+
 0001-Fix-narrowing-conversion-error.patch |   22 +++----
 PKGBUILD                                  |   81 ++++++++++++++--------------
 xplc-0.3.13-as-needed.patch               |   44 +++++++--------
 3 files changed, 74 insertions(+), 73 deletions(-)

Deleted: 0001-Fix-narrowing-conversion-error.patch
===================================================================
--- 0001-Fix-narrowing-conversion-error.patch	2022-04-23 17:35:01 UTC (rev 1187699)
+++ 0001-Fix-narrowing-conversion-error.patch	2022-04-23 17:35:07 UTC (rev 1187700)
@@ -1,11 +0,0 @@
---- xplc-0.3.13/xplc/moduleloader.cpp	2005-04-27 23:38:09.000000000 +0200
-+++ xplc-0.3.13/xplc/moduleloader.cpp.new	2022-02-04 23:09:50.554289277 +0100
-@@ -60,7 +60,7 @@
-     return NULL;
-   }
- 
--  switch(moduleinfo->version_major) {
-+  switch((int)moduleinfo->version_major) {
- #ifdef UNSTABLE
-   case -1:
-     /* nothing to do */

Copied: xplc/repos/community-x86_64/0001-Fix-narrowing-conversion-error.patch (from rev 1187698, xplc/trunk/0001-Fix-narrowing-conversion-error.patch)
===================================================================
--- 0001-Fix-narrowing-conversion-error.patch	                        (rev 0)
+++ 0001-Fix-narrowing-conversion-error.patch	2022-04-23 17:35:07 UTC (rev 1187700)
@@ -0,0 +1,11 @@
+--- xplc-0.3.13/xplc/moduleloader.cpp	2005-04-27 23:38:09.000000000 +0200
++++ xplc-0.3.13/xplc/moduleloader.cpp.new	2022-02-04 23:09:50.554289277 +0100
+@@ -60,7 +60,7 @@
+     return NULL;
+   }
+ 
+-  switch(moduleinfo->version_major) {
++  switch((int)moduleinfo->version_major) {
+ #ifdef UNSTABLE
+   case -1:
+     /* nothing to do */

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2022-04-23 17:35:01 UTC (rev 1187699)
+++ PKGBUILD	2022-04-23 17:35:07 UTC (rev 1187700)
@@ -1,40 +0,0 @@
-# Maintainer:
-# Contributor: dorphell <dorphell at archlinux.org>
-
-pkgname=xplc
-pkgver=0.3.13
-pkgrel=9
-pkgdesc="Cross-Platform Lightweight Components"
-arch=('x86_64')
-url="http://xplc.sourceforge.net"
-license=('LGPL')
-depends=('gcc-libs')
-source=("https://downloads.sourceforge.net/${pkgname}/$pkgname-$pkgver.tar.gz"
-        0001-Fix-narrowing-conversion-error.patch
-        xplc-0.3.13-as-needed.patch)
-md5sums=('39da3270527c8712b8e8fcf03768d29f'
-         '049ca1c475703c52b2e11d06bfb676fc'
-         '308e3b8f7d7f6a7df05699bdcaed9b18')
-
-prepare() {
-  cd "$pkgname-$pkgver"
-  patch -Np1 -i ../0001-Fix-narrowing-conversion-error.patch
-  patch -Np0 -i ../xplc-0.3.13-as-needed.patch # Gentoo
-}
-
-build() {
-  cd "$pkgname-$pkgver"
-  ./configure --prefix=/usr \
-    --mandir=/usr/share/man \
-    --without-libuuid
-  make
-}
-
-package() {
-  cd "$pkgname-$pkgver"
-  make DESTDIR="$pkgdir" install
-
-  mv "$pkgdir/usr/share/man/man1/"{uuidgen.1,uuidcdef.1}
-  rm -f "$pkgdir/usr/bin/uuidgen"
-  rm "$pkgdir"/usr/lib/xplc-0.3.13/libxplc_s.a
-}

Copied: xplc/repos/community-x86_64/PKGBUILD (from rev 1187699, xplc/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2022-04-23 17:35:07 UTC (rev 1187700)
@@ -0,0 +1,41 @@
+# Maintainer:
+# Contributor: dorphell <dorphell at archlinux.org>
+
+pkgname=xplc
+pkgver=0.3.13
+pkgrel=10
+pkgdesc="Cross-Platform Lightweight Components"
+arch=('x86_64')
+url="http://xplc.sourceforge.net"
+license=('LGPL')
+depends=('gcc-libs')
+source=("https://downloads.sourceforge.net/${pkgname}/$pkgname-$pkgver.tar.gz"
+        0001-Fix-narrowing-conversion-error.patch
+        xplc-0.3.13-as-needed.patch)
+md5sums=('39da3270527c8712b8e8fcf03768d29f'
+         '049ca1c475703c52b2e11d06bfb676fc'
+         '308e3b8f7d7f6a7df05699bdcaed9b18')
+
+prepare() {
+  cd "$pkgname-$pkgver"
+  patch -Np1 -i ../0001-Fix-narrowing-conversion-error.patch
+  patch -Np0 -i ../xplc-0.3.13-as-needed.patch # Gentoo
+}
+
+build() {
+  cd "$pkgname-$pkgver"
+  CFLAGS+=" -ffat-lto-objects" \
+  ./configure --prefix=/usr \
+    --mandir=/usr/share/man \
+    --without-libuuid
+  make
+}
+
+package() {
+  cd "$pkgname-$pkgver"
+  make DESTDIR="$pkgdir" install
+
+  mv "$pkgdir/usr/share/man/man1/"{uuidgen.1,uuidcdef.1}
+  rm -f "$pkgdir/usr/bin/uuidgen"
+  rm "$pkgdir"/usr/lib/xplc-0.3.13/libxplc_s.a
+}

Deleted: xplc-0.3.13-as-needed.patch
===================================================================
--- xplc-0.3.13-as-needed.patch	2022-04-23 17:35:01 UTC (rev 1187699)
+++ xplc-0.3.13-as-needed.patch	2022-04-23 17:35:07 UTC (rev 1187700)
@@ -1,22 +0,0 @@
---- config/rules.mk.orig	2006-05-06 19:28:46.000000000 +0200
-+++ config/rules.mk	2006-05-06 19:28:53.000000000 +0200
-@@ -44,7 +44,7 @@
- 	$(RANLIB) $@
- 
- %.so:
--	$(LINK.cc) $(SHARED) $^ -o $@
-+	$(LINK.cc) $(SHARED) $^ $(LDLIBS) -o $@
- 
- %.dll:
- 	$(LINK.cc) $(SHARED) $^ -o $@
---- xplc/vars.mk.orig	2006-05-06 19:32:06.000000000 +0200
-+++ xplc/vars.mk	2006-05-06 19:32:12.000000000 +0200
-@@ -32,7 +32,7 @@
- 
- ifneq ("$(enable_loader)", "no")
- ifneq ("$(with_dlopen)", "no")
--libxplc.so: LDFLAGS+=$(with_dlopen)
-+libxplc.so: LDLIBS+=$(with_dlopen)
- endif
- endif
- 

Copied: xplc/repos/community-x86_64/xplc-0.3.13-as-needed.patch (from rev 1187699, xplc/trunk/xplc-0.3.13-as-needed.patch)
===================================================================
--- xplc-0.3.13-as-needed.patch	                        (rev 0)
+++ xplc-0.3.13-as-needed.patch	2022-04-23 17:35:07 UTC (rev 1187700)
@@ -0,0 +1,22 @@
+--- config/rules.mk.orig	2006-05-06 19:28:46.000000000 +0200
++++ config/rules.mk	2006-05-06 19:28:53.000000000 +0200
+@@ -44,7 +44,7 @@
+ 	$(RANLIB) $@
+ 
+ %.so:
+-	$(LINK.cc) $(SHARED) $^ -o $@
++	$(LINK.cc) $(SHARED) $^ $(LDLIBS) -o $@
+ 
+ %.dll:
+ 	$(LINK.cc) $(SHARED) $^ -o $@
+--- xplc/vars.mk.orig	2006-05-06 19:32:06.000000000 +0200
++++ xplc/vars.mk	2006-05-06 19:32:12.000000000 +0200
+@@ -32,7 +32,7 @@
+ 
+ ifneq ("$(enable_loader)", "no")
+ ifneq ("$(with_dlopen)", "no")
+-libxplc.so: LDFLAGS+=$(with_dlopen)
++libxplc.so: LDLIBS+=$(with_dlopen)
+ endif
+ endif
+ 



More information about the arch-commits mailing list