From: amydotsh <amydotsh@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: Re: [PR PATCH] [Updated] [WIP] New package: bdfresize-1.5
Date: Sun, 13 Feb 2022 17:14:49 +0100 [thread overview]
Message-ID: <20220213161449.9YkmGy0vn8vK0kqUwV-yTgAID-G4-G6IdNyP35p7I6U@z> (raw)
In-Reply-To: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-35548@inbox.vuxu.org>
[-- Attachment #1: Type: text/plain, Size: 1490 bytes --]
There is an updated 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: 6499 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/6] 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/6] 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/6] 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
From 77e972547e7f6e3dee0182457156308b2164facf Mon Sep 17 00:00:00 2001
From: "amy.sh" <amy5.sh@protonmail.com>
Date: Sat, 12 Feb 2022 15:43:32 -0800
Subject: [PATCH 4/6] lint+doc
---
srcpkgs/bdfresize/template | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/srcpkgs/bdfresize/template b/srcpkgs/bdfresize/template
index 9a16a52f2892..bd6d9bc09e06 100644
--- a/srcpkgs/bdfresize/template
+++ b/srcpkgs/bdfresize/template
@@ -10,3 +10,7 @@ homepage="https://github.com/ntwk/bdfresize"
distfiles="${homepage}/releases/download/v${version}/bdfresize-${version}.tar.gz"
checksum=440cfc0620a0237e46352c14a0774caa3f3059759b0a20defefc94e8490897a6
patch_args="-Np1 -i"
+
+post_install() {
+ vdoc README
+}
From 05d9c9b7e300608eabc4cd7b36817334494a7a55 Mon Sep 17 00:00:00 2001
From: "amy.sh" <amy5.sh@protonmail.com>
Date: Sun, 13 Feb 2022 08:11:32 -0800
Subject: [PATCH 5/6] args
---
srcpkgs/bdfresize/template | 7 +++----
1 file changed, 3 insertions(+), 4 deletions(-)
diff --git a/srcpkgs/bdfresize/template b/srcpkgs/bdfresize/template
index bd6d9bc09e06..a6186e7df043 100644
--- a/srcpkgs/bdfresize/template
+++ b/srcpkgs/bdfresize/template
@@ -2,14 +2,13 @@
pkgname=bdfresize
version=1.5
revision=1
-build_style=gnu-makefile
+build_style=gnu-configure
short_desc="Tool for resizing BDF format font"
maintainer="amy.sh <amy5.sh@protonmail.com>"
license="GPL-2.0-or-later"
-homepage="https://github.com/ntwk/bdfresize"
-distfiles="${homepage}/releases/download/v${version}/bdfresize-${version}.tar.gz"
+homepage="http://openlab.ring.gr.jp/efont/dist/tools/bdfresize/"
+distfiles="${homepage}/bdfresize-${version}.tar.gz"
checksum=440cfc0620a0237e46352c14a0774caa3f3059759b0a20defefc94e8490897a6
-patch_args="-Np1 -i"
post_install() {
vdoc README
From 35de9918443fe7941c3be807f2b6db92ebae7555 Mon Sep 17 00:00:00 2001
From: "amy.sh" <amy5.sh@protonmail.com>
Date: Sun, 13 Feb 2022 08:14:25 -0800
Subject: [PATCH 6/6] tab
---
srcpkgs/bdfresize/template | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/srcpkgs/bdfresize/template b/srcpkgs/bdfresize/template
index a6186e7df043..90f223ccad33 100644
--- a/srcpkgs/bdfresize/template
+++ b/srcpkgs/bdfresize/template
@@ -11,5 +11,5 @@ distfiles="${homepage}/bdfresize-${version}.tar.gz"
checksum=440cfc0620a0237e46352c14a0774caa3f3059759b0a20defefc94e8490897a6
post_install() {
- vdoc README
+ vdoc README
}
next prev parent reply other threads:[~2022-02-13 16:14 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-02-12 6:24 [PR PATCH] " 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 [this message]
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
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=20220213161449.9YkmGy0vn8vK0kqUwV-yTgAID-G4-G6IdNyP35p7I6U@z \
--to=amydotsh@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).