Github messages for voidlinux
 help / color / mirror / Atom feed
* [PR PATCH] [WIP] New package: bdfresize-1.5
@ 2022-02-12  6:24 amydotsh
  2022-02-12 17:21 ` amydotsh
                   ` (12 more replies)
  0 siblings, 13 replies; 14+ messages in thread
From: amydotsh @ 2022-02-12  6:24 UTC (permalink / raw)
  To: ml

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

There is a new pull request by amydotsh against master on the void-packages repository

https://github.com/amydotsh/void-packages master
https://github.com/void-linux/void-packages/pull/35548

[WIP] New package: bdfresize-1.5
<!-- 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**

<!-- Note: If the build is likely to take more than 2 hours, please [skip CI](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-MUSL-LIBC)

This is my first package, I don't really know what I'm doing! Worked on this for a few hours referencing other packages and copied patches from the AUR package, which i think were patched for debian years before? I feel like I'm nearing the limit to what I can learn about creating an xbps package on my own, so here's the PR. This can be closed if you folks feel like it, or any other reason, I don't know what to expect.

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

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

From a2950521152238adb05bf9c9f40b6a802bcb9b0f Mon Sep 17 00:00:00 2001
From: "amy.sh" <amy5.sh@protonmail.com>
Date: Fri, 11 Feb 2022 20:00:46 -0800
Subject: [PATCH 1/3] bdfresize initial commit

---
 srcpkgs/bdfresize/template | 11 +++++++++++
 1 file changed, 11 insertions(+)
 create mode 100644 srcpkgs/bdfresize/template

diff --git a/srcpkgs/bdfresize/template b/srcpkgs/bdfresize/template
new file mode 100644
index 000000000000..0f58cb04a5f6
--- /dev/null
+++ b/srcpkgs/bdfresize/template
@@ -0,0 +1,11 @@
+# Template file for 'bdfresize'
+pkgname=bdfresize
+version=1.5
+revision=1
+build_style=gnu-configure
+short_desc="A tool for resizing BDF format font"
+maintainer="amy.sh <amy5.sh@protonmail.com>"
+license="GPL-2.0"
+homepage="https://github.com/ntwk/bdfresize"
+distfiles="${homepage}releases/download/v${version}/bdfresize-${version}.tar.gz"
+checksum=c7bb1ec14ef9ce9d4b7190beed9bb83e31ea485364a410161fb2786781dd87ef

From 459b5e099634caacebd3d5574b678c70f478b743 Mon Sep 17 00:00:00 2001
From: "amy.sh" <amy5.sh@protonmail.com>
Date: Fri, 11 Feb 2022 21:51:36 -0800
Subject: [PATCH 2/3] bdfresize pr

---
 srcpkgs/bdfresize/template | 11 ++++++-----
 1 file changed, 6 insertions(+), 5 deletions(-)

diff --git a/srcpkgs/bdfresize/template b/srcpkgs/bdfresize/template
index 0f58cb04a5f6..9a16a52f2892 100644
--- a/srcpkgs/bdfresize/template
+++ b/srcpkgs/bdfresize/template
@@ -2,10 +2,11 @@
 pkgname=bdfresize
 version=1.5
 revision=1
-build_style=gnu-configure
-short_desc="A tool for resizing BDF format font"
+build_style=gnu-makefile
+short_desc="Tool for resizing BDF format font"
 maintainer="amy.sh <amy5.sh@protonmail.com>"
-license="GPL-2.0"
+license="GPL-2.0-or-later"
 homepage="https://github.com/ntwk/bdfresize"
-distfiles="${homepage}releases/download/v${version}/bdfresize-${version}.tar.gz"
-checksum=c7bb1ec14ef9ce9d4b7190beed9bb83e31ea485364a410161fb2786781dd87ef
+distfiles="${homepage}/releases/download/v${version}/bdfresize-${version}.tar.gz"
+checksum=440cfc0620a0237e46352c14a0774caa3f3059759b0a20defefc94e8490897a6
+patch_args="-Np1 -i"

From 06c200a7fa04daec29239f08b52f2222aa8b2d9e Mon Sep 17 00:00:00 2001
From: "amy.sh" <amy5.sh@protonmail.com>
Date: Fri, 11 Feb 2022 21:54:35 -0800
Subject: [PATCH 3/3] New package: bdfresize-1.5 cant get it to work, doing pr
 to learn!

---
 srcpkgs/bdfresize/patches/01-ftbfs-gcc4.patch | 13 +++++++++++++
 srcpkgs/bdfresize/patches/02-minus-sign.patch | 14 ++++++++++++++
 2 files changed, 27 insertions(+)
 create mode 100644 srcpkgs/bdfresize/patches/01-ftbfs-gcc4.patch
 create mode 100644 srcpkgs/bdfresize/patches/02-minus-sign.patch

diff --git a/srcpkgs/bdfresize/patches/01-ftbfs-gcc4.patch b/srcpkgs/bdfresize/patches/01-ftbfs-gcc4.patch
new file mode 100644
index 000000000000..b69bc4b3d5a4
--- /dev/null
+++ b/srcpkgs/bdfresize/patches/01-ftbfs-gcc4.patch
@@ -0,0 +1,13 @@
+Description: Fix FTBFS with gcc 4.0
+Origin: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=258509#5
+Bug-Debian: http://bugs.debian.org/258509
+
+--- bdfresize-1.5/charresize.c	2000-12-12 20:18:14.000000000 +0900
++++ bdfresize-1.5-3.1/charresize.c	2008-05-11 23:01:11.000000000 +0900
+@@ -46,7 +46,6 @@
+ void
+ processChar(void)
+ {
+-  char	*malloc();
+   char	*srcimage;
+   int	*dstgray; 
diff --git a/srcpkgs/bdfresize/patches/02-minus-sign.patch b/srcpkgs/bdfresize/patches/02-minus-sign.patch
new file mode 100644
index 000000000000..54d69a09bebd
--- /dev/null
+++ b/srcpkgs/bdfresize/patches/02-minus-sign.patch
@@ -0,0 +1,14 @@
+Description: The - sign escapes, changes in debian/1.5-4
+Author: Frank Lichtenheld <djpig@debian.org>
+
+--- bdfresize-1.5/bdfresize.1	2000-12-11 17:18:15.000000000 +0900
++++ bdfresize-1.5-4/bdfresize.1	2008-05-11 23:01:11.000000000 +0900
+@@ -2,7 +2,7 @@
+ .SH NAME
+ bdfresize \- Resize BDF Format Font
+ .SH SYNOPSIS
+-bdfresize [-v] [-b \fInumber\fP] [-[whf] \fIfactor\fP] [\fIbdf-file\fP]
++bdfresize [\-v] [\-b \fInumber\fP] [\-[whf] \fIfactor\fP] [\fIbdf-file\fP]
+ .SH DESCRIPTION
+ .I Bdfresize
+ is a command to magnify or reduce fonts which are described with

^ permalink raw reply	[flat|nested] 14+ messages in thread

end of thread, other threads:[~2022-06-24 20:04 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-02-12  6:24 [PR PATCH] [WIP] New package: bdfresize-1.5 amydotsh
2022-02-12 17:21 ` amydotsh
2022-02-12 23:45 ` [PR PATCH] [Updated] " amydotsh
2022-02-12 23:47 ` amydotsh
2022-02-12 23:47 ` amydotsh
2022-02-12 23:47 ` amydotsh
2022-02-12 23:52 ` amydotsh
2022-02-13 16:12 ` [PR PATCH] [Updated] " amydotsh
2022-02-13 16:14 ` amydotsh
2022-02-13 21:40 ` amydotsh
2022-02-13 21:57 ` amydotsh
2022-02-13 21:59 ` amydotsh
2022-06-23  2:15 ` github-actions
2022-06-24 20:04 ` [PR PATCH] [Merged]: " leahneukirchen

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).