Github messages for voidlinux
 help / color / mirror / Atom feed
From: ypsvlq <ypsvlq@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: Re: [PR PATCH] [Updated] vice: update to 3.6.1.
Date: Sun, 11 Sep 2022 19:46:13 +0200	[thread overview]
Message-ID: <20220911174613.Or084BB1OoGkg0OLQCsUCBSZoxJkFlOkFbjPi4zn04A@z> (raw)
In-Reply-To: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-37480@inbox.vuxu.org>

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

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

https://github.com/ypsvlq/void-packages vice
https://github.com/void-linux/void-packages/pull/37480

vice: update to 3.6.1.
<!-- Uncomment relevant sections and delete options which are not applicable -->

#### Testing the changes
- I tested the changes in this PR: **YES**

<!--
#### New package
- This new package conforms to the [quality requirements](https://github.com/void-linux/void-packages/blob/master/Manual.md#quality-requirements): **YES**|**NO**
-->

<!-- Note: If the build is likely to take more than 2 hours, please add ci skip tag as described in
https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration
and test at least one native build and, if supported, at least one cross build.
Ignore this section if this PR is not skipping CI.
-->
<!--
#### Local build testing
- 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/37480.patch is attached

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

From 3bfefda9b66fc2a43841e8311f298cd18cc38def Mon Sep 17 00:00:00 2001
From: Elaine Gibson <ypsvlq@gmail.com>
Date: Fri, 10 Jun 2022 09:53:21 +0100
Subject: [PATCH] vice: update to 3.6.1.

---
 srcpkgs/vice/template | 34 +++++++++++++++-------------------
 1 file changed, 15 insertions(+), 19 deletions(-)

diff --git a/srcpkgs/vice/template b/srcpkgs/vice/template
index 0924767cfcfb..3dc6cbb0d2f8 100644
--- a/srcpkgs/vice/template
+++ b/srcpkgs/vice/template
@@ -1,26 +1,24 @@
 # Template file for 'vice'
 pkgname=vice
-version=3.5
+version=3.6.1
 revision=1
 build_style=gnu-configure
 configure_args="
 	$(vopt_enable sdl2 sdlui2)
 	$(vopt_with sdl2 sdlsound)
-	$(vopt_enable gtk3 gnomeui3)
+	$(vopt_enable gtk3 native-gtk3ui)
+	$(vopt_enable gtk3 desktop-files)
 	$(vopt_with gtk3 pulse)
-	$(vopt_enable ffmpeg  external-ffmpeg)
-	--disable-option-checking
+	$(vopt_enable ffmpeg external-ffmpeg)
 	--enable-cpuhistory
 	--enable-x64
 	--disable-pdf-docs
-	AR=${AR}"
-hostmakedepends="bdftopcf flex mkfontdir perl pkg-config xa
- glib-devel autoconf texinfo automake dos2unix"
+	--libdir=/usr/lib$XBPS_TARGET_WORDSIZE"
+hostmakedepends="pkg-config flex dos2unix xa perl glib-devel xdg-utils"
 makedepends="
 	zlib-devel
 	readline-devel
 	libpng-devel
-	giflib-devel
 	glew-devel
 	alsa-lib-devel
 	$(vopt_if sdl2 SDL2_mixer-devel)
@@ -32,10 +30,10 @@ makedepends="
 short_desc="Emulator for C64, C128, CBM-II, PET, VIC20, Plus4 and C16"
 maintainer="Orphaned <orphan@voidlinux.org>"
 license="GPL-2.0-or-later"
-homepage="http://vice-emu.sourceforge.net/"
+homepage="https://vice-emu.sourceforge.net/"
 changelog="https://vice-emu.sourceforge.io/NEWS"
 distfiles="${SOURCEFORGE_SITE}/vice-emu/releases/vice-${version}.tar.gz"
-checksum=56b978faaeb8b2896032bd604d03c3501002187eef1ca58ceced40f11a65dc0e
+checksum=20df84c851aaf2f5000510927f6d31b32f269916d351465c366dc0afc9dc150c
 
 # Package build options
 build_options="sdl2 gtk3 ffmpeg"
@@ -43,15 +41,13 @@ build_options_default="gtk3 ffmpeg"
 
 desc_option_ffmpeg="Support video recording via FFmpeg"
 
-CFLAGS="-fcommon"
+export XDG_DATA_DIRS=$DESTDIR/usr/share
 
-case "$XBPS_TARGET_MACHINE" in
-	*-musl) configure_args+=" --disable-nls";;
-esac
+post_patch() {
+	sed -i -e 's/\$(XDG_DESKTOP_MENU) install/$(XDG_DESKTOP_MENU) install --mode system/' src/arch/gtk3/data/unix/Makefile.in
+}
 
-pre_configure() {
-	# __u_char is not portable...
-	sed -i 's,__u_char,unsigned char,g' src/*.[ch]
-	sed -i 's/lib64/lib/g' configure.ac
-	autoreconf -fi
+pre_install() {
+	# required for xdg-desktop-menu to work
+	mkdir -p $DESTDIR/usr/share/{applications,desktop-directories}
 }

  parent reply	other threads:[~2022-09-11 17:46 UTC|newest]

Thread overview: 27+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-06-10  8:54 [PR PATCH] " ypsvlq
2022-06-10 16:02 ` [PR REVIEW] " paper42
2022-06-10 16:02 ` paper42
2022-06-10 16:02 ` paper42
2022-06-10 17:10 ` ypsvlq
2022-06-10 17:20 ` [PR PATCH] [Updated] " ypsvlq
2022-09-09  2:15 ` github-actions
2022-09-10  7:27 ` ypsvlq
2022-09-10 10:22 ` [PR REVIEW] " paper42
2022-09-10 10:22 ` paper42
2022-09-10 10:22 ` paper42
2022-09-11 17:16 ` ypsvlq
2022-09-11 17:20 ` ypsvlq
2022-09-11 17:46 ` ypsvlq [this message]
2022-09-11 17:46 ` ypsvlq
2022-12-11  2:03 ` github-actions
2022-12-11  2:47 ` ypsvlq
2023-03-12  2:02 ` github-actions
2023-03-12  8:18 ` ypsvlq
2023-04-07 21:37 ` [PR REVIEW] " zlice
2023-06-24 18:59 ` classabbyamp
2023-06-24 18:59 ` classabbyamp
2023-06-24 19:36 ` [PR PATCH] [Updated] " ypsvlq
2023-06-24 19:46 ` ypsvlq
2023-06-24 19:57 ` [PR PATCH] [Updated] vice: update to 3.7.1 ypsvlq
2023-06-24 20:01 ` ypsvlq
2023-06-24 20:16 ` [PR PATCH] [Merged]: " classabbyamp

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=20220911174613.Or084BB1OoGkg0OLQCsUCBSZoxJkFlOkFbjPi4zn04A@z \
    --to=ypsvlq@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).