* Re: [WIP] New package: bdfresize-1.5
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
` (11 subsequent siblings)
12 siblings, 0 replies; 14+ messages in thread
From: amydotsh @ 2022-02-12 17:21 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 176 bytes --]
New comment by amydotsh on void-packages repository
https://github.com/void-linux/void-packages/pull/35548#issuecomment-1037326861
Comment:
gonna fix linting when i get home
^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: [PR PATCH] [Updated] [WIP] New package: bdfresize-1.5
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 ` amydotsh
2022-02-12 23:47 ` amydotsh
` (10 subsequent siblings)
12 siblings, 0 replies; 14+ messages in thread
From: amydotsh @ 2022-02-12 23:45 UTC (permalink / raw)
To: ml
[-- 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: 4801 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/4] 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/4] 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/4] 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/4] 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
+}
^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: [WIP] New package: bdfresize-1.5
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
` (9 subsequent siblings)
12 siblings, 0 replies; 14+ messages in thread
From: amydotsh @ 2022-02-12 23:47 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 224 bytes --]
New comment by amydotsh on void-packages repository
https://github.com/void-linux/void-packages/pull/35548#issuecomment-1037326861
Comment:
gonna fix linting when i get home
edit: pretty sure adding doc fixes it anyways?
^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: [WIP] New package: bdfresize-1.5
2022-02-12 6:24 [PR PATCH] [WIP] New package: bdfresize-1.5 amydotsh
` (2 preceding siblings ...)
2022-02-12 23:47 ` amydotsh
@ 2022-02-12 23:47 ` amydotsh
2022-02-12 23:47 ` amydotsh
` (8 subsequent siblings)
12 siblings, 0 replies; 14+ messages in thread
From: amydotsh @ 2022-02-12 23:47 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 233 bytes --]
New comment by amydotsh on void-packages repository
https://github.com/void-linux/void-packages/pull/35548#issuecomment-1037326861
Comment:
gonna fix linting when i get home
edit: pretty sure adding post_install fixes it anyways?
^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: [WIP] New package: bdfresize-1.5
2022-02-12 6:24 [PR PATCH] [WIP] New package: bdfresize-1.5 amydotsh
` (3 preceding siblings ...)
2022-02-12 23:47 ` amydotsh
@ 2022-02-12 23:47 ` amydotsh
2022-02-12 23:52 ` amydotsh
` (7 subsequent siblings)
12 siblings, 0 replies; 14+ messages in thread
From: amydotsh @ 2022-02-12 23:47 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 229 bytes --]
New comment by amydotsh on void-packages repository
https://github.com/void-linux/void-packages/pull/35548#issuecomment-1037326861
Comment:
gonna fix linting when i get home
edit: i think adding post_install fixes it anyways?
^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: [WIP] New package: bdfresize-1.5
2022-02-12 6:24 [PR PATCH] [WIP] New package: bdfresize-1.5 amydotsh
` (4 preceding siblings ...)
2022-02-12 23:47 ` amydotsh
@ 2022-02-12 23:52 ` amydotsh
2022-02-13 16:12 ` [PR PATCH] [Updated] " amydotsh
` (6 subsequent siblings)
12 siblings, 0 replies; 14+ messages in thread
From: amydotsh @ 2022-02-12 23:52 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 379 bytes --]
New comment by amydotsh on void-packages repository
https://github.com/void-linux/void-packages/pull/35548#issuecomment-1037326861
Comment:
gonna fix linting when i get home
edit: i think adding post_install fixes it anyways?
another edit: maybe this could be marked as help wanted? i am still actively working on figuring out why it won't build, but i also want to learn :)
^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: [PR PATCH] [Updated] [WIP] New package: bdfresize-1.5
2022-02-12 6:24 [PR PATCH] [WIP] New package: bdfresize-1.5 amydotsh
` (5 preceding siblings ...)
2022-02-12 23:52 ` amydotsh
@ 2022-02-13 16:12 ` amydotsh
2022-02-13 16:14 ` amydotsh
` (5 subsequent siblings)
12 siblings, 0 replies; 14+ messages in thread
From: amydotsh @ 2022-02-13 16:12 UTC (permalink / raw)
To: ml
[-- 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: 5864 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/5] 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/5] 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/5] 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/5] 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/5] 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
^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: [PR PATCH] [Updated] [WIP] New package: bdfresize-1.5
2022-02-12 6:24 [PR PATCH] [WIP] New package: bdfresize-1.5 amydotsh
` (6 preceding siblings ...)
2022-02-13 16:12 ` [PR PATCH] [Updated] " amydotsh
@ 2022-02-13 16:14 ` amydotsh
2022-02-13 21:40 ` amydotsh
` (4 subsequent siblings)
12 siblings, 0 replies; 14+ messages in thread
From: amydotsh @ 2022-02-13 16:14 UTC (permalink / raw)
To: ml
[-- 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
}
^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: [PR PATCH] [Updated] [WIP] New package: bdfresize-1.5
2022-02-12 6:24 [PR PATCH] [WIP] New package: bdfresize-1.5 amydotsh
` (7 preceding siblings ...)
2022-02-13 16:14 ` amydotsh
@ 2022-02-13 21:40 ` amydotsh
2022-02-13 21:57 ` amydotsh
` (3 subsequent siblings)
12 siblings, 0 replies; 14+ messages in thread
From: amydotsh @ 2022-02-13 21:40 UTC (permalink / raw)
To: ml
[-- 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: 9350 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/7] 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/7] 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/7] 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/7] 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/7] 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/7] 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
}
From 3f6157103fb02c81091f6e77d297dad02f58e888 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 7/7] 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
---
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
+}
^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: [PR PATCH] [Updated] [WIP] New package: bdfresize-1.5
2022-02-12 6:24 [PR PATCH] [WIP] New package: bdfresize-1.5 amydotsh
` (8 preceding siblings ...)
2022-02-13 21:40 ` amydotsh
@ 2022-02-13 21:57 ` amydotsh
2022-02-13 21:59 ` amydotsh
` (2 subsequent siblings)
12 siblings, 0 replies; 14+ messages in thread
From: amydotsh @ 2022-02-13 21:57 UTC (permalink / raw)
To: ml
[-- 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
+}
^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: [PR PATCH] [Updated] [WIP] New package: bdfresize-1.5
2022-02-12 6:24 [PR PATCH] [WIP] New package: bdfresize-1.5 amydotsh
` (9 preceding siblings ...)
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
12 siblings, 0 replies; 14+ messages in thread
From: amydotsh @ 2022-02-13 21:59 UTC (permalink / raw)
To: ml
[-- 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: 2718 bytes --]
From b06655ab8fbac57660b7da3fc70d65a43a1a3364 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] 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
+}
^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: New package: bdfresize-1.5
2022-02-12 6:24 [PR PATCH] [WIP] New package: bdfresize-1.5 amydotsh
` (10 preceding siblings ...)
2022-02-13 21:59 ` amydotsh
@ 2022-06-23 2:15 ` github-actions
2022-06-24 20:04 ` [PR PATCH] [Merged]: " leahneukirchen
12 siblings, 0 replies; 14+ messages in thread
From: github-actions @ 2022-06-23 2:15 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 305 bytes --]
New comment by github-actions[bot] on void-packages repository
https://github.com/void-linux/void-packages/pull/35548#issuecomment-1163847461
Comment:
Pull Requests become stale 90 days after last activity and are closed 14 days after that. If this pull request is still relevant bump it or assign it.
^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: [PR PATCH] [Merged]: New package: bdfresize-1.5
2022-02-12 6:24 [PR PATCH] [WIP] New package: bdfresize-1.5 amydotsh
` (11 preceding siblings ...)
2022-06-23 2:15 ` github-actions
@ 2022-06-24 20:04 ` leahneukirchen
12 siblings, 0 replies; 14+ messages in thread
From: leahneukirchen @ 2022-06-24 20:04 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 1327 bytes --]
There's a merged pull request on the void-packages repository
New package: bdfresize-1.5
https://github.com/void-linux/void-packages/pull/35548
Description:
<!-- 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.
^ permalink raw reply [flat|nested] 14+ messages in thread