Github messages for voidlinux
 help / color / mirror / Atom feed
From: travankor <travankor@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: Re: [PR PATCH] [Updated] widelands: update to 1.0.
Date: Mon, 30 Aug 2021 05:14:54 +0200	[thread overview]
Message-ID: <20210830031454.x4g0_ML0Wzv7vZhSHXvWn6R3x0wDLkxLFChi397aRp8@z> (raw)
In-Reply-To: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-32621@inbox.vuxu.org>

[-- Attachment #1: Type: text/plain, Size: 1596 bytes --]

There is an updated pull request by travankor against master on the void-packages repository

https://github.com/travankor/void-packages widelands
https://github.com/void-linux/void-packages/pull/32621

widelands: update to 1.0.
<!-- Mark items with [x] where applicable -->

#### General
- [ ] This is a new package and it conforms to the [quality requirements](https://github.com/void-linux/void-packages/blob/master/Manual.md#quality-requirements)

#### Have the results of the proposed changes been tested?
- [ ] I use the packages affected by the proposed changes on a regular basis and confirm this PR works for me
- [X] I generally don't use the affected packages but briefly tested this PR

<!--
If GitHub CI cannot be used to validate the build result (for example, if the
build is likely to take several hours), make sure to
[skip CI](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration).
When skipping CI, uncomment and fill out the following section.
Note: for builds that are likely to complete in less than 2 hours, it is not
acceptable to skip CI.
-->
<!-- 
#### Does it build and run successfully? 
(Please choose at least one native build and, if supported, at least one cross build. More are better.)
- [ ] I built this PR locally for my native architecture, (ARCH-LIBC)
- [ ] I built this PR locally for these architectures (if supported. mark crossbuilds):
  - [ ] aarch64-musl
  - [ ] armv7l
  - [ ] armv6l-musl
-->

A patch file from https://github.com/void-linux/void-packages/pull/32621.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-widelands-32621.patch --]
[-- Type: text/x-diff, Size: 5465 bytes --]

From d5285761ca869059e019a80c510e0eb2df3d4b33 Mon Sep 17 00:00:00 2001
From: travankor <travankor@tuta.io>
Date: Sat, 21 Aug 2021 20:11:28 -0700
Subject: [PATCH] widelands: update to 1.0.

---
 .../patches/cmake-build-type-none.patch       | 30 +++++++++++--------
 srcpkgs/widelands/patches/cmake-cross.patch   | 16 ----------
 srcpkgs/widelands/template                    | 16 +++++-----
 3 files changed, 26 insertions(+), 36 deletions(-)
 delete mode 100644 srcpkgs/widelands/patches/cmake-cross.patch

diff --git a/srcpkgs/widelands/patches/cmake-build-type-none.patch b/srcpkgs/widelands/patches/cmake-build-type-none.patch
index 67efba43e723..0f9b0cc921ad 100644
--- a/srcpkgs/widelands/patches/cmake-build-type-none.patch
+++ b/srcpkgs/widelands/patches/cmake-build-type-none.patch
@@ -2,62 +2,66 @@ Index: CMakeLists.txt
 ===================================================================
 --- a/CMakeLists.txt
 +++ b/CMakeLists.txt
-@@ -202,7 +202,7 @@ elseif(CMAKE_BUILD_TYPE STREQUAL "RelWit
+@@ -209,6 +209,8 @@ elseif(CMAKE_BUILD_TYPE STREQUAL "RelWithDebInfo")
+   endif ()
    set(WL_DEBUG_FLAGS "-DNDEBUG -DNOPARACHUTE")
    option(OPTION_ASAN "Build with AddressSanitizer" ON)
++elseif(CMAKE_BUILD_TYPE STREQUAL "None")
++  message(STATUS "Not setting any default flags.")
  else()
--  message(FATAL_ERROR "Unknown CMAKE_BUILD_TYPE: ${CMAKE_BUILD_TYPE}")
-+  set(WL_DEBUG_FLAGS "-DNDEBUG -DNOPARACHUTE")
+   message(FATAL_ERROR "Unknown CMAKE_BUILD_TYPE: ${CMAKE_BUILD_TYPE}")
  endif()
- 
- wl_add_flag(WL_GENERIC_CXX_FLAGS "-std=c++11")
-@@ -353,7 +353,7 @@ endif (OPTION_BUILD_TESTS)
+@@ -415,7 +417,7 @@ endif (OPTION_BUILD_TESTS)
  install (
    FILES ${CMAKE_CURRENT_BINARY_DIR}/VERSION
    DESTINATION ${WL_INSTALL_BASEDIR}
 -  CONFIGURATIONS Debug;Release
-+  CONFIGURATIONS Debug
++  CONFIGURATIONS Debug;Release;None
    COMPONENT CoreVersionFile
  )
  
-@@ -378,7 +378,6 @@ install(
+@@ -440,7 +442,7 @@ install(
      data/txts
      data/world
    DESTINATION ${WL_INSTALL_DATADIR}
 -  CONFIGURATIONS Debug;Release
++  CONFIGURATIONS Debug;Release;None
    COMPONENT CoreDataFiles
  )
  
-@@ -386,7 +385,6 @@ install(
+@@ -448,7 +450,7 @@ install(
    DIRECTORY
      data/maps
    DESTINATION ${WL_INSTALL_DATADIR}
 -  CONFIGURATIONS Debug;Release
++  CONFIGURATIONS Debug;Release;None
    COMPONENT MapFiles
  )
  
-@@ -395,7 +393,6 @@ install(
+@@ -457,7 +459,7 @@ install(
      data/music
      data/sound
    DESTINATION ${WL_INSTALL_DATADIR}
 -  CONFIGURATIONS Debug;Release
++  CONFIGURATIONS Debug;Release;None
    COMPONENT MusicFiles
  )
  
-@@ -405,7 +402,7 @@ install(
+@@ -467,7 +469,7 @@ install(
      CREDITS
      ChangeLog
    DESTINATION ${WL_INSTALL_BASEDIR}
 -  CONFIGURATIONS Debug;Release
-+  CONFIGURATIONS Debug
++  CONFIGURATIONS Debug;Release;None
    COMPONENT CoreLicenseFiles
  )
  
-@@ -424,7 +421,6 @@ install(
+@@ -486,7 +488,7 @@ install(
    DIRECTORY
      ${CMAKE_CURRENT_BINARY_DIR}/locale/
    DESTINATION ${WL_INSTALL_DATADIR}/locale
 -  CONFIGURATIONS Debug;Release
++  CONFIGURATIONS Debug;Release;None
    COMPONENT CoreLanguageFiles
  )
  
diff --git a/srcpkgs/widelands/patches/cmake-cross.patch b/srcpkgs/widelands/patches/cmake-cross.patch
deleted file mode 100644
index 6654c156f884..000000000000
--- a/srcpkgs/widelands/patches/cmake-cross.patch
+++ /dev/null
@@ -1,16 +0,0 @@
-upstream: no
-reason: Our SDL2-devel package has a for cross broken sdl2-config.cmake,
-this patches switched back to a find module cmake script
-
----
---- a/CMakeLists.txt	2020-07-19 19:54:00.744509368 +0200
-+++ b/CMakeLists.txt	2020-07-19 19:54:00.744509368 +0200
-@@ -110,7 +110,7 @@
- find_package(PNG REQUIRED)
- 
- find_package(Threads REQUIRED)
--find_package(SDL2 CONFIG)
-+find_package(SDL2 REQUIRED MODULE)
- if(SDL2_FOUND)
-   message(STATUS "Found SDL2 configuration file")
-   if(TARGET SDL2::SDL2)
diff --git a/srcpkgs/widelands/template b/srcpkgs/widelands/template
index 97b2c6254b24..c9894df514c0 100644
--- a/srcpkgs/widelands/template
+++ b/srcpkgs/widelands/template
@@ -1,21 +1,23 @@
 # Template file for 'widelands'
 pkgname=widelands
-version=21
-revision=5
-wrksrc="${pkgname}-build${version}"
+# Widelands 1.0 release supercedes beta builds
+reverts="21_5 21_4 21_3 21_2 21_1 20_4 20_3 20_2 20_1 19_10 19_9 19_8 19_7 19_6
+ 19_5 19_4 19_3 19_2 19_1 18_5 18_4 18_3 18_2 18_1"
+version=1.0
+revision=1
 build_style=cmake
 configure_args="-DOPENGL_INCLUDE_DIR=${XBPS_CROSS_BASE}/usr/include
  -DOPTION_BUILD_WEBSITE_TOOLS=OFF -DWL_INSTALL_DATADIR=/usr/share/widelands"
 hostmakedepends="python3 pkg-config gettext"
 makedepends="boost-devel icu-devel minizip-devel gettext-devel
- glu-devel glew-devel SDL2-devel SDL2_gfx-devel SDL2_image-devel
+ glu-devel glew-devel libcurl-devel SDL2-devel SDL2_gfx-devel SDL2_image-devel
  SDL2_net-devel SDL2_mixer-devel SDL2_ttf-devel"
 short_desc="Real-time strategy game"
-maintainer="Orphaned <orphan@voidlinux.org>"
+maintainer="travankor <travankor@tuta.io>"
 license="GPL-2.0-or-later"
 homepage="http://www.widelands.org/"
-distfiles="https://github.com/widelands/widelands/archive/build${version}.tar.gz>${pkgname}-${version}.tar.gz"
-checksum=601e0e4c6f91b3fb0ece2cd1b83ecfb02344a1b9194fbb70ef3f70e06994e357
+distfiles="https://github.com/widelands/widelands/archive/v${version}.tar.gz"
+checksum=1dab0c4062873cc72c5e0558f9e9620b0ef185f1a78923a77c4ce5b9ed76031a
 replaces="widelands-data>=0"
 
 CXXFLAGS="-DU_USING_ICU_NAMESPACE=1"

  parent reply	other threads:[~2021-08-30  3:14 UTC|newest]

Thread overview: 20+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-08-22  3:12 [PR PATCH] " travankor
2021-08-22  3:24 ` [PR PATCH] [Updated] " travankor
2021-08-22  3:48 ` travankor
2021-08-22  3:53 ` travankor
2021-08-22  4:22 ` travankor
2021-08-23 16:28 ` [PR REVIEW] " paper42
2021-08-23 16:28 ` paper42
2021-08-23 16:28 ` paper42
2021-08-24 22:52 ` travankor
2021-08-24 22:55 ` travankor
2021-08-24 22:55 ` [PR PATCH] [Updated] " travankor
2021-08-24 23:04 ` travankor
2021-08-24 23:04 ` [PR REVIEW] " travankor
2021-08-24 23:06 ` travankor
2021-08-25 21:37 ` paper42
2021-08-27 17:42 ` ericonr
2021-08-30  2:55 ` [PR PATCH] [Updated] " travankor
2021-08-30  3:14 ` travankor [this message]
2021-08-31 19:09 ` paper42
2021-08-31 19:09 ` [PR PATCH] [Merged]: " paper42

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20210830031454.x4g0_ML0Wzv7vZhSHXvWn6R3x0wDLkxLFChi397aRp8@z \
    --to=travankor@users.noreply.github.com \
    --cc=ml@inbox.vuxu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).