[arch-commits] Commit in pingus/repos (6 files)

Felix Yan felixonmars at archlinux.org
Thu May 31 02:42:47 UTC 2018


    Date: Thursday, May 31, 2018 @ 02:42:46
  Author: felixonmars
Revision: 333926

archrelease: copy trunk to community-staging-x86_64

Added:
  pingus/repos/community-staging-x86_64/
  pingus/repos/community-staging-x86_64/ChangeLog
    (from rev 333922, pingus/trunk/ChangeLog)
  pingus/repos/community-staging-x86_64/PKGBUILD
    (from rev 333922, pingus/trunk/PKGBUILD)
  pingus/repos/community-staging-x86_64/missing-header.patch
    (from rev 333922, pingus/trunk/missing-header.patch)
  pingus/repos/community-staging-x86_64/pingus-0.7.6-gcc470-udl.patch
    (from rev 333922, pingus/trunk/pingus-0.7.6-gcc470-udl.patch)
  pingus/repos/community-staging-x86_64/pingus.desktop
    (from rev 333922, pingus/trunk/pingus.desktop)

-------------------------------+
 ChangeLog                     |   21 ++++++++++++++++++++
 PKGBUILD                      |   42 ++++++++++++++++++++++++++++++++++++++++
 missing-header.patch          |   22 ++++++++++++++++++++
 pingus-0.7.6-gcc470-udl.patch |   22 ++++++++++++++++++++
 pingus.desktop                |    9 ++++++++
 5 files changed, 116 insertions(+)

Copied: pingus/repos/community-staging-x86_64/ChangeLog (from rev 333922, pingus/trunk/ChangeLog)
===================================================================
--- community-staging-x86_64/ChangeLog	                        (rev 0)
+++ community-staging-x86_64/ChangeLog	2018-05-31 02:42:46 UTC (rev 333926)
@@ -0,0 +1,21 @@
+2010-03-18  Jaroslav Lichtblau  <dragonlord at aur.archlinux.org>
+
+        * pingus 0.7.2-8
+        * Rebuilt against boost 1.41.0
+
+2010-02-23  Eric Belanger  <eric at archlinux.org>
+
+	* pingus 0.7.2-7
+	* Rebuilt against boost 1.42.0
+
+2010-01-20  Eric Belanger  <eric at archlinux.org>
+
+	* pingus 0.7.2-6
+	* Rebuilt against libpng 1.4/libjpeg 8
+
+2009-07-13  Eric Belanger  <eric at archlinux.org>
+
+	* pingus 0.7.2-2
+	* Rebuilt against boost 1.39
+	* Added gcc 4.4 patch
+	* Added ChangeLog

Copied: pingus/repos/community-staging-x86_64/PKGBUILD (from rev 333922, pingus/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD	                        (rev 0)
+++ community-staging-x86_64/PKGBUILD	2018-05-31 02:42:46 UTC (rev 333926)
@@ -0,0 +1,42 @@
+# $Id$
+# Maintainer: Eric Belanger <eric at archlinux.org>
+
+pkgname=pingus
+pkgver=0.7.6
+pkgrel=24
+pkgdesc="A Lemmings clone, i.e. a level-based puzzle game."
+arch=('x86_64')
+url="http://pingus.seul.org"
+license=('GPL')
+depends=('sdl_image' 'sdl_mixer' 'libgl' 'boost-libs>=1.49')
+makedepends=('scons' 'boost>=1.49' 'mesa' 'glu')
+source=("$pkgname-$pkgver.tgz::https://github.com/Pingus/pingus/archive/v$pkgver.tar.gz"
+        'pingus.desktop'
+        'pingus-0.7.6-gcc470-udl.patch'
+        'missing-header.patch')
+sha512sums=('ea0e7fd2cc1f6c23e62e222dffa1eb4764313ccecd716083c516fa4720c19562c9940da1dae4cbc527b85de9c0094f482e4f907212226b39ad044222b477769b'
+            '6c2a8da1bcb250217c47d70ad223c02cf12879bab201433e76bf98f5693886ab0d96da295a795bfefe1723596011d41ff615c2262a277414234b88c8e35c64c8'
+            'a6d541fc8417e49540f7760d707652d348ff46701e0d9d3df0463b1dfaca9c9781686ac1683b49bceebaca22cd9680652aaf1a65f3834f4e01cca41a002408ce'
+            'd2e04c4291c18f1b9d351137bd2143881f4bb5591baeb3c5866b05cbf06db7e6552aac6d00d1ac055e8624bfa4b312e3f5a58d7f29ceefd0dcf0c32ed24e7971')
+
+build() {
+  cd ${pkgname}-${pkgver}
+
+  # fedora patch to fix error due to new standards
+  # http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51282
+  patch -Np0 -i ${srcdir}/pingus-0.7.6-gcc470-udl.patch
+  # manpage must be in man6, not man1
+  sed -i "s#/man1/#/man6/#g" Makefile
+  # missing header
+  patch -Np1 -i ../missing-header.patch
+
+  scons prefix=/usr
+}
+
+package() {
+  cd ${pkgname}-${pkgver}
+
+  make install DESTDIR="${pkgdir}" PREFIX="/usr"
+
+  install -D -m644 "${srcdir}/pingus.desktop" "${pkgdir}/usr/share/applications/pingus.desktop"
+}

Copied: pingus/repos/community-staging-x86_64/missing-header.patch (from rev 333922, pingus/trunk/missing-header.patch)
===================================================================
--- community-staging-x86_64/missing-header.patch	                        (rev 0)
+++ community-staging-x86_64/missing-header.patch	2018-05-31 02:42:46 UTC (rev 333926)
@@ -0,0 +1,22 @@
+From df6e2f445d3e2925a94d22faeb17be9444513e92 Mon Sep 17 00:00:00 2001
+From: Jonathan Wakely <jwakely at redhat.com>
+Date: Mon, 30 Jan 2017 15:41:53 +0000
+Subject: [PATCH] Add missing header for std::function and std::bind
+
+---
+ src/pingus/screens/demo_session.cpp | 1 +
+ 1 file changed, 1 insertion(+)
+
+diff --git a/src/pingus/screens/demo_session.cpp b/src/pingus/screens/demo_session.cpp
+index e3ec49a2c..f887e50f0 100644
+--- a/src/pingus/screens/demo_session.cpp
++++ b/src/pingus/screens/demo_session.cpp
+@@ -18,6 +18,7 @@
+ 
+ #include <algorithm>
+ #include <iostream>
++#include <functional>
+ 
+ #include "engine/gui/gui_manager.hpp"
+ #include "engine/gui/surface_button.hpp"
+

Copied: pingus/repos/community-staging-x86_64/pingus-0.7.6-gcc470-udl.patch (from rev 333922, pingus/trunk/pingus-0.7.6-gcc470-udl.patch)
===================================================================
--- community-staging-x86_64/pingus-0.7.6-gcc470-udl.patch	                        (rev 0)
+++ community-staging-x86_64/pingus-0.7.6-gcc470-udl.patch	2018-05-31 02:42:46 UTC (rev 333926)
@@ -0,0 +1,22 @@
+--- src/pingus/pingus_main.cpp~	2011-12-24 15:46:47.000000000 -0600
++++ src/pingus/pingus_main.cpp	2012-01-03 13:13:03.034195720 -0600
+@@ -465,7 +465,7 @@
+ void
+ PingusMain::print_greeting_message()
+ {
+-  std::string greeting = "Welcome to Pingus "VERSION;
++  std::string greeting = "Welcome to Pingus " VERSION;
+   greeting += "!";
+   std::cout <<  greeting << std::endl;
+   for (unsigned int i = 0; i < greeting.length(); ++i)
+--- src/pingus/screens/pingus_menu.cpp~	2011-12-24 15:46:47.000000000 -0600
++++ src/pingus/screens/pingus_menu.cpp	2012-01-03 13:30:28.967700554 -0600
+@@ -153,7 +153,7 @@
+                          gc.get_height()/2 - 280));
+ 
+   gc.print_left(Fonts::pingus_small, Vector2i(gc.get_width()/2 - 400 + 25, gc.get_height()-140),
+-                "Pingus "VERSION" - Copyright (C) 1998-2011 Ingo Ruhnke <grumbel at gmail.com>\n"
++                "Pingus " VERSION " - Copyright (C) 1998-2011 Ingo Ruhnke <grumbel at gmail.com>\n"
+                 "See the file AUTHORS for a complete list of contributors.\n"
+                 "Pingus comes with ABSOLUTELY NO WARRANTY. This is free software, and you are\n"
+                 "welcome to redistribute it under certain conditions; see the file COPYING for details.\n");

Copied: pingus/repos/community-staging-x86_64/pingus.desktop (from rev 333922, pingus/trunk/pingus.desktop)
===================================================================
--- community-staging-x86_64/pingus.desktop	                        (rev 0)
+++ community-staging-x86_64/pingus.desktop	2018-05-31 02:42:46 UTC (rev 333926)
@@ -0,0 +1,9 @@
+[Desktop Entry]
+Encoding=UTF-8
+Name=Pingus
+Comment=A free Lemmings[tm] clone
+Exec=pingus
+Terminal=false
+Type=Application
+Categories=Application;Game;LogicGame
+Icon=/usr/share/pingus/images/core/editor/actions.png



More information about the arch-commits mailing list