Github messages for voidlinux
 help / color / mirror / Atom feed
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 22:57:28 +0100	[thread overview]
Message-ID: <20220213215728.54lwKrE6RM-31fJz38HAVYhrYJT9N6LNc9JoSHAqn4I@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: 3119 bytes --]

From 7b060f0caa914cecd6207da1e199a84cf0d7e4ce 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] parent 5c451c5d59cd9300e31afdb890ec9fdfb59bd8fd author amy.sh
 <amy5.sh@protonmail.com> 1644638446 -0800 committer amy.sh
 <amy5.sh@protonmail.com> 1644789306 -0800

bdfresize initial commit

bdfresize pr

New package: bdfresize-1.5
cant get it to work, doing pr to learn!

lint+doc

args

tab

new package: bdfresize 1.5

New package: bdfresize-1.5
cant get it to work, doing pr to learn!

args

tab

new package: bdfresize-1.5
---
 srcpkgs/bdfresize/patches/01-ftbfs-gcc4.patch | 13 +++++++++++++
 srcpkgs/bdfresize/patches/02-minus-sign.patch | 14 ++++++++++++++
 srcpkgs/bdfresize/template                    | 15 +++++++++++++++
 3 files changed, 42 insertions(+)
 create mode 100644 srcpkgs/bdfresize/patches/01-ftbfs-gcc4.patch
 create mode 100644 srcpkgs/bdfresize/patches/02-minus-sign.patch
 create mode 100644 srcpkgs/bdfresize/template

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
diff --git a/srcpkgs/bdfresize/template b/srcpkgs/bdfresize/template
new file mode 100644
index 000000000000..90f223ccad33
--- /dev/null
+++ b/srcpkgs/bdfresize/template
@@ -0,0 +1,15 @@
+# Template file for 'bdfresize'
+pkgname=bdfresize
+version=1.5
+revision=1
+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="http://openlab.ring.gr.jp/efont/dist/tools/bdfresize/"
+distfiles="${homepage}/bdfresize-${version}.tar.gz"
+checksum=440cfc0620a0237e46352c14a0774caa3f3059759b0a20defefc94e8490897a6
+
+post_install() {
+	vdoc README
+}

  parent reply	other threads:[~2022-02-13 21:57 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
2022-02-13 21:40 ` amydotsh
2022-02-13 21:57 ` amydotsh [this message]
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=20220213215728.54lwKrE6RM-31fJz38HAVYhrYJT9N6LNc9JoSHAqn4I@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).