Bug#1063347: ITP: td -- telegram client library

2024-04-10 Thread Ying-Chun Liu (PaulLiu)

Hi Mike,

I have packaged it already. However I found that it embeds a sqlite library 
inside.
Not sure if we need to remove that and let it link to the system's sqlite.

It might need more effort to remove the embed sqlite because that sqlite is renamed to "tdsqlite" 
and spreads everywhere.


I think I'll push it to collab-maint so that you can see that too.

Yours,
Paul


OpenPGP_0x44173FA13D05.asc
Description: OpenPGP public key


OpenPGP_signature.asc
Description: OpenPGP digital signature


Bug#1066346: sc: FTBFS: sc.c:1301:46: error: implicit declaration of function ‘list_frames’; did you mean ‘list_ranges’? [-Werror=implicit-function-declaration]

2024-04-06 Thread Ying-Chun Liu (PaulLiu)

Hi,

I've fixed the bug. And I'll do NMU if no one object in 10 days.
I'll upload it to the delay/10 queue.

Attachment is the debdiff. Please review it.

Yours,
Paul
diff -Nru sc-7.16/debian/changelog sc-7.16/debian/changelog
--- sc-7.16/debian/changelog2022-01-26 01:22:23.0 +0800
+++ sc-7.16/debian/changelog2024-04-07 09:47:51.0 +0800
@@ -1,3 +1,11 @@
+sc (7.16-4.2) unstable; urgency=low
+
+  * Non-maintainer upload.
+  * Fix FTBFS by -Werror=implicit-function-declaration (Closes: #1066346)
+- Add debian/patches/fix-ftbfs-implicit-function-declaration.patch
+
+ -- Ying-Chun Liu (PaulLiu)   Sun, 07 Apr 2024 09:47:51 
+0800
+
 sc (7.16-4.1) unstable; urgency=low
 
   [ Ying-Chun Liu (PaulLiu)  ]
diff -Nru sc-7.16/debian/patches/fix-ftbfs-implicit-function-declaration.patch 
sc-7.16/debian/patches/fix-ftbfs-implicit-function-declaration.patch
--- sc-7.16/debian/patches/fix-ftbfs-implicit-function-declaration.patch
1970-01-01 08:00:00.0 +0800
+++ sc-7.16/debian/patches/fix-ftbfs-implicit-function-declaration.patch
2024-04-07 09:47:51.0 +0800
@@ -0,0 +1,27 @@
+Description: fix ftbfs caused by -Werror=implicit-function-declaration
+ For dpkg >= 1.22.6, -Werror=implicit-function-declaration is turned
+ on by default. So we need to declare every functions.
+Bug-Debian: http://bugs.debian.org/1066346
+Author: Ying-Chun Liu (PaulLiu) 
+Last-Update: 2024-04-07
+Index: sc-7.16/sc.h
+===
+--- sc-7.16.orig/sc.h
 sc-7.16/sc.h
+@@ -641,3 +641,16 @@ void leftlimit();
+ void rightlimit();
+ void gototop();
+ void gotobottom();
++void list_frames(FILE *);
++void yankrow(int);
++void yankcol(int);
++void ljustify(int, int, int, int);
++void rjustify(int, int, int, int);
++void center(int, int, int, int);
++void gotonote();
++void add_abbr(char *);
++void getframe(int);
++void getrange(char *, int);
++void doeval(struct enode *, char *, int, int, int);
++void doseval(struct enode *, int, int, int);
++void dogetkey();
diff -Nru sc-7.16/debian/patches/series sc-7.16/debian/patches/series
--- sc-7.16/debian/patches/series   2022-01-26 00:34:21.0 +0800
+++ sc-7.16/debian/patches/series   2024-04-07 09:47:51.0 +0800
@@ -4,3 +4,4 @@
 function_definitions
 nonotimeout.patch
 hardening
+fix-ftbfs-implicit-function-declaration.patch


OpenPGP_0x44173FA13D05.asc
Description: OpenPGP public key


OpenPGP_signature.asc
Description: OpenPGP digital signature


Bug#1066674: gramophone2: FTBFS: GRAMophone.c:94:9: error: implicit declaration of function ‘usageError’; did you mean ‘strerror’? [-Werror=implicit-function-declaration]

2024-03-31 Thread Ying-Chun Liu (PaulLiu)

Hi,

I've fixed the bug. I plan to do NMU to fix this bug.

I'll wait for 10 days if no one says no.
And I'll upload it to delay/10 queue.

The attachment is the debdiff and build log.

Yours,
Paul
diff -Nru gramophone2-0.8.13a/debian/changelog 
gramophone2-0.8.13a/debian/changelog
--- gramophone2-0.8.13a/debian/changelog2022-12-13 05:48:33.0 
+0800
+++ gramophone2-0.8.13a/debian/changelog2024-04-01 05:23:29.0 
+0800
@@ -1,3 +1,14 @@
+gramophone2 (0.8.13a-3.3) unstable; urgency=low
+
+  * Non-maintainer upload.
+  * Fix FTBFS caused by -Werror=implicit-function-declaration
+(Closes: #1066674)
+- Add debian/patches/fix-ftbfs-implicit-function-declaration.patch
+- Update debian/patches/clang_FTBFS.patch
+- Update debian/patches/GRAMophone.y.diff
+
+ -- Ying-Chun Liu (PaulLiu)   Mon, 01 Apr 2024 05:23:29 
+0800
+
 gramophone2 (0.8.13a-3.2) unstable; urgency=low
 
   [ Ying-Chun Liu (PaulLiu)  ]
diff -Nru gramophone2-0.8.13a/debian/patches/clang_FTBFS.patch 
gramophone2-0.8.13a/debian/patches/clang_FTBFS.patch
--- gramophone2-0.8.13a/debian/patches/clang_FTBFS.patch2022-12-13 
05:48:33.0 +0800
+++ gramophone2-0.8.13a/debian/patches/clang_FTBFS.patch2024-04-01 
05:23:29.0 +0800
@@ -1,9 +1,29 @@
 Description: fix FTBFS with clang [-Wreturn-type]
 Author: Nicolas Sévelin-Radiguet 
 Last-Update: 2014-09-06
 a/midifile.c
-+++ b/midifile.c
-@@ -156,7 +156,7 @@
+Index: gramophone2-0.8.13a/midifile.c
+===
+--- gramophone2-0.8.13a.orig/midifile.c
 gramophone2-0.8.13a/midifile.c
+@@ -78,6 +78,17 @@ static int read16bit();
+ static int to16bit();
+ static char *msg();
+ 
++int mferror(char *);
++int readheader();
++int readtrack();
++int chanmessage(int, int, int);
++int msginit();
++int msgadd(int);
++int metaevent(int);
++int sysex();
++int msgleng();
++int badbyte(int);
++
+ /*
+  * Write multi-length bytes to MIDI format files
+  */
+@@ -156,7 +167,7 @@ readheader()   /* read a header chunk */
int format, ntrks, division;
  
if ( readmt("MThd") == EOF )
diff -Nru 
gramophone2-0.8.13a/debian/patches/fix-ftbfs-implicit-function-declaration.patch
 
gramophone2-0.8.13a/debian/patches/fix-ftbfs-implicit-function-declaration.patch
--- 
gramophone2-0.8.13a/debian/patches/fix-ftbfs-implicit-function-declaration.patch
1970-01-01 08:00:00.0 +0800
+++ 
gramophone2-0.8.13a/debian/patches/fix-ftbfs-implicit-function-declaration.patch
2024-04-01 05:23:29.0 +0800
@@ -0,0 +1,84 @@
+Description: Fix FTBFS caused by -Werror=implicit-function-declaration
+ In dpkg 1.22.6, it enabled -Werror=implicit-function-declaration.
+ Thus we need to make sure every function has its definition.
+Bug-Debian: http://bugs.debian.org/1066674
+Author: Ying-Chun Liu (PaulLiu) 
+Last-Update: 2024-04-01
+Index: gramophone2-0.8.13a/midifile.h
+===
+--- gramophone2-0.8.13a.orig/midifile.h
 gramophone2-0.8.13a/midifile.h
+@@ -32,6 +32,11 @@ extern int (*Mf_writetempotrack)();
+ float mf_ticks2sec();
+ unsigned long mf_sec2ticks();
+ void mfwrite();
++int mf_write_midi_event(unsigned long, unsigned int, unsigned int, unsigned 
char *, unsigned long);
++int mf_write_meta_event(unsigned long, unsigned char, unsigned char *, 
unsigned long);
++void mf_write_tempo(unsigned long);
++int eputc(unsigned char);
++int biggermsg();
+ 
+ /* MIDI status commands most significant bit is 1 */
+ #define note_off  0x80
+Index: gramophone2-0.8.13a/global.h
+===
+--- gramophone2-0.8.13a.orig/global.h
 gramophone2-0.8.13a/global.h
+@@ -181,3 +181,33 @@ typedef struct macro_data {
+ } macro;
+ 
+ macro macros[NUM_MACRO];
++
++void usageError(void);
++unsigned int hash(char *v, unsigned char sentinel);
++void initGRAMophone(void);
++void init_local_flag(void);
++void init_player(void);
++int grammyvm();
++void print_local_params(unsigned char i);
++void print_composition_info();
++void print_global_params();
++void sntx_err(unsigned int error, char *msg);
++void dhInsert(pnote_var noteVar, char *text, unsigned char sentinel, unsigned 
char created_by_body);
++pnote_var dhSearch(char *v, unsigned char sentinel);
++char *dhSearch2(char *v);
++void code_update(unsigned int cc, unsigned int _goto);
++void gen_code(unsigned int op, unsigned int op1);
++void gen_code2(unsigned int op);
++void gen_code3(unsigned int op, unsigned type, unsigned op1);
++void gen_code4(unsigned int op, unsigned op1, unsigned op2, unsigned type);
++void gen_note_code(unsigned int op, unsigned int note, unsigned int type1,
++ unsigned int op1, unsigned int type2, unsigned int op2,
++ unsigned int type3, unsigned int op3, unsigned int type4,
++ unsigned int op4);
++void gen_exp1_code(unsigned int op, un

Bug#1065623: RM: libomxil-bellagio -- ROM; Dead upstream

2024-03-07 Thread Ying-Chun Liu (PaulLiu)

Package: ftp.debian.org
Control: affects -1 + src:libomxil-bellagio
X-Debbugs-Cc: libomxil-bella...@packages.debian.org
User: ftp.debian@packages.debian.org
Usertags: remove
X-Debbugs-Cc: paul...@debian.org
Severity: normal

Hi,

OpenMAX standard is inactive for many years by The Khronos Group.
And gst-omx is removed by the upstream (gstreamer1.0).

Let's remove all OpenMAX related packages in Debian.

Yours,
Paul



OpenPGP_0x44173FA13D05.asc
Description: OpenPGP public key


OpenPGP_signature.asc
Description: OpenPGP digital signature


Bug#1065622: RM: libomxxvideo -- ROM; Dead upstream

2024-03-07 Thread Ying-Chun Liu (PaulLiu)

Package: ftp.debian.org
Control: affects -1 + src:libomxxvideo
X-Debbugs-Cc: libomxxvi...@packages.debian.org
User: ftp.debian@packages.debian.org
Usertags: remove
X-Debbugs-Cc: paul...@debian.org
Severity: normal

Hi,

OpenMAX standard is inactive for many years by The Khronos Group.
And gst-omx is removed by the upstream (gstreamer1.0).

Let's remove all OpenMAX related packages in Debian.

Yours,
Paul



OpenPGP_0x44173FA13D05.asc
Description: OpenPGP public key


OpenPGP_signature.asc
Description: OpenPGP digital signature


Bug#1065621: RM: libomxvorbis -- ROM; Dead upstream

2024-03-07 Thread Ying-Chun Liu (PaulLiu)

Package: ftp.debian.org
Control: affects -1 + src:libomxvorbis
X-Debbugs-Cc: libomxvor...@packages.debian.org
User: ftp.debian@packages.debian.org
Usertags: remove
X-Debbugs-Cc: paul...@debian.org
Severity: normal

Hi,

OpenMAX standard is inactive for many years by The Khronos Group.
And gst-omx is removed by the upstream (gstreamer1.0).

Let's remove all OpenMAX related packages in Debian.

Yours,
Paul



OpenPGP_0x44173FA13D05.asc
Description: OpenPGP public key


OpenPGP_signature.asc
Description: OpenPGP digital signature


Bug#1065620: RM: libomxvideosrc -- ROM; Dead upstream

2024-03-07 Thread Ying-Chun Liu (PaulLiu)

Package: ftp.debian.org
Control: affects -1 + src:libomxvideosrc
X-Debbugs-Cc: libomxvideo...@packages.debian.org
User: ftp.debian@packages.debian.org
Usertags: remove
X-Debbugs-Cc: paul...@debian.org
Severity: normal

Hi,

OpenMAX standard is inactive for many years by The Khronos Group.
And gst-omx is removed by the upstream (gstreamer1.0).

Let's remove all OpenMAX related packages in Debian.

Yours,
Paul



OpenPGP_0x44173FA13D05.asc
Description: OpenPGP public key


OpenPGP_signature.asc
Description: OpenPGP digital signature


Bug#1065619: RM: libomxmad -- ROM; Dead upstream

2024-03-07 Thread Ying-Chun Liu (PaulLiu)

Package: ftp.debian.org
Control: affects -1 + src:libomxmad
X-Debbugs-Cc: libomx...@packages.debian.org
User: ftp.debian@packages.debian.org
Usertags: remove
X-Debbugs-Cc: paul...@debian.org
Severity: normal

Hi,

OpenMAX standard is inactive for many years by The Khronos Group.
And gst-omx is removed by the upstream (gstreamer1.0).

Let's remove all OpenMAX related packages in Debian.

Yours,
Paul



OpenPGP_0x44173FA13D05.asc
Description: OpenPGP public key


OpenPGP_signature.asc
Description: OpenPGP digital signature


Bug#1065618: RM: libomxfbdevsink -- ROM; Dead upstream

2024-03-07 Thread Ying-Chun Liu (PaulLiu)

Package: ftp.debian.org
Control: affects -1 + src:libomxfbdevsink
X-Debbugs-Cc: libomxfbdevs...@packages.debian.org
User: ftp.debian@packages.debian.org
Usertags: remove
X-Debbugs-Cc: paul...@debian.org
Severity: normal

Hi,

OpenMAX standard is inactive for many years by The Khronos Group.
And gst-omx is removed by the upstream (gstreamer1.0).

Let's remove all OpenMAX related packages in Debian.

Yours,
Paul



OpenPGP_0x44173FA13D05.asc
Description: OpenPGP public key


OpenPGP_signature.asc
Description: OpenPGP digital signature


Bug#1065617: RM: libomxcamera -- ROM; Dead upstream

2024-03-07 Thread Ying-Chun Liu (PaulLiu)

Package: ftp.debian.org
Control: affects -1 + src:libomxcamera
X-Debbugs-Cc: libomxcam...@packages.debian.org
User: ftp.debian@packages.debian.org
Usertags: remove
X-Debbugs-Cc: paul...@debian.org
Severity: normal

Hi,

OpenMAX standard is inactive for many years by The Khronos Group.
And gst-omx is removed by the upstream (gstreamer1.0).

Let's remove all OpenMAX related packages in Debian.

Yours,
Paul



OpenPGP_0x44173FA13D05.asc
Description: OpenPGP public key


OpenPGP_signature.asc
Description: OpenPGP digital signature


Bug#1065616: RM: libomxalsa -- ROM; Dead upstream

2024-03-07 Thread Ying-Chun Liu (PaulLiu)

Package: ftp.debian.org
Control: affects -1 + src:libomxalsa
X-Debbugs-Cc: libomxa...@packages.debian.org
User: ftp.debian@packages.debian.org
Usertags: remove
X-Debbugs-Cc: paul...@debian.org
Severity: normal

Hi,

OpenMAX standard is inactive for many years by The Khronos Group.
And gst-omx is removed by the upstream (gstreamer1.0).

Let's remove all OpenMAX related packages in Debian.

Yours,
Paul



OpenPGP_0x44173FA13D05.asc
Description: OpenPGP public key


OpenPGP_signature.asc
Description: OpenPGP digital signature


Bug#1065614: RM: gst-omx -- ROM; Dead upstream

2024-03-07 Thread Ying-Chun Liu (PaulLiu)

Package: ftp.debian.org
Control: affects -1 + src:gst-omx
X-Debbugs-Cc: gst-...@packages.debian.org
User: ftp.debian@packages.debian.org
Usertags: remove
X-Debbugs-Cc: paul...@debian.org
Severity: normal

Hi,

OpenMAX standard is inactive for many years by The Khronos Group.
And gst-omx is removed by the upstream (gstreamer1.0).

Let's remove all OpenMAX related packages in Debian.

Yours,
Paul



OpenPGP_0x44173FA13D05.asc
Description: OpenPGP public key


OpenPGP_signature.asc
Description: OpenPGP digital signature


Bug#1063347: ITP: td -- telegram client library

2024-02-06 Thread Ying-Chun Liu (PaulLiu)

Package: wnpp
X-Debbugs-Cc: debian-de...@lists.debian.org
Owner: "Ying-Chun Liu (PaulLiu)" 
Severity: wishlist

* Package name: td
  Version : 1.8.0
  Upstream Contact: https://github.com/tdlib/td
* URL : https://core.telegram.org/tdlib
* License : Boost Software License 1.0
  Programming Lang: C++
  Description : telegram database library
  TDLib (Telegram Database Library) is a cross-platform, fully functional
  Telegram client. This library helps third-party developers create their
  own custom apps using the Telegram platform.



OpenPGP_0x44173FA13D05.asc
Description: OpenPGP public key


OpenPGP_signature.asc
Description: OpenPGP digital signature


Bug#1055655: rebuild fails with node-typescript 4.9.5 in experimental

2024-01-04 Thread Ying-Chun Liu (PaulLiu)

Hi weepingclown,

I think 4.1.4-3 fixes the problem.

I tried to build 4.1.4-3 in experimental. The build log is as attachment.
Seems fixed.

Yours,
Paul


node-js-sdsl_4.1.4-3_amd64.build.gz
Description: application/gzip


OpenPGP_0x44173FA13D05.asc
Description: OpenPGP public key


OpenPGP_signature.asc
Description: OpenPGP digital signature


Bug#1056017: rlvm: FTBFS: boost1.83 transition

2023-12-25 Thread Ying-Chun Liu (PaulLiu)

Hi Bo YU,

Please NMU it and I'll sponsor it.

Yours,
Paul


On 2023/12/25 19:52, Bo YU wrote:

Source: rlvm
Version: 0.14-5.1
Followup-For: Bug #1056017
Tags: patch

Dear Maintainer,

I cost some time to fix the issue and patch attached. Please review it.

In order to fix the RC bug ASAP, I may do a NMU to mentor and find a
sponsor to upload it. Please feel free to break the process if there is
any issue.




OpenPGP_0x44173FA13D05.asc
Description: OpenPGP public key


OpenPGP_signature.asc
Description: OpenPGP digital signature


Bug#1058553: node-js-sdsl: FTBFS: TypeError: Cannot set property constructor of [object Object] which has only a getter

2023-12-25 Thread Ying-Chun Liu (PaulLiu)

Hi Yadd,

I think this FTBFS is caused by TTSC introduced by commit 
a3371fa529c30a579f52f507b6e5fcd902d30505.

Can I revert this change? Or we need to upgrade TTSC?

Yours,
Paul


OpenPGP_0x44173FA13D05.asc
Description: OpenPGP public key


OpenPGP_signature.asc
Description: OpenPGP digital signature


Bug#1051044: ITA: opentk -- Open Toolkit wrapper for OpenGL, OpenAL and OpenCL

2023-12-10 Thread Ying-Chun Liu (PaulLiu)

owner 1051044 !
retitle 1051044 ITA: opentk -- Open Toolkit wrapper for OpenGL, OpenAL and 
OpenCL
thanks

Hi all,

I'll take care of this package as I'm the user of this library.

Yours,
Paul


OpenPGP_0x44173FA13D05.asc
Description: OpenPGP public key


OpenPGP_signature.asc
Description: OpenPGP digital signature


Bug#1057367: ITP: cc-cedict -- Chinese-English dictionary for the dict server/client

2023-12-03 Thread Ying-Chun Liu (PaulLiu)

Package: wnpp
Owner: "Ying-Chun Liu (PaulLiu)" 
Severity: wishlist

* Package name: cc-cedict
  Version : 0.0.20231203
  Upstream Contact: https://www.mdbg.net/chinese/dictionary?page=contact
* URL : https://www.mdbg.net/chinese/dictionary?page=cedict
* License : CC-BY-SA 4.0
  Description : Chinese-English dictionary for the dict server/client
  This is Chinese-English dictionary from the CC-CEDICT project. It contains
  around 122247 headwords. It can be either used with dictd server and
  a dict client or with GoldenDict.




OpenPGP_0x44173FA13D05.asc
Description: OpenPGP public key


OpenPGP_signature.asc
Description: OpenPGP digital signature


Bug#1055963: ITP: minetest-mod-ltool -- Minetest mod providing utils for L-system trees

2023-11-14 Thread Ying-Chun Liu (PaulLiu)

Package: wnpp
Owner: "Ying-Chun Liu (PaulLiu)" 
Severity: wishlist

* Package name: minetest-mod-ltool
  Version : 1.6.1
  Upstream Contact: Wuzzy 
* URL : https://codeberg.org/Wuzzy/minetest_ltool
* License : Expat
  Programming Lang: Lua
  Description : Minetest mod providing utils for L-system trees.
 This minetest extension adds an util to create the L-system trees.
 It is an util that helps the mod developer to design their own trees by
 the L-system.




OpenPGP_0x44173FA13D05.asc
Description: OpenPGP public key


OpenPGP_signature.asc
Description: OpenPGP digital signature


Bug#1035802: RM: repsnapper -- RoQA; gtkglextmm dependency

2023-09-25 Thread Ying-Chun Liu (PaulLiu)

Hi Bastian,

Yes. You can do it. Otherwise I'll do it later.
We don't need this package anymore in next release.

Yours,
Paul


On 2023/9/24 01:03, Bastian Germann wrote:

Hi Paul,

On #1042739 you mentioned that repsnapper can be removed. Would it be okay to 
file a RM bug?

Thanks,
Bastian


OpenPGP_0x44173FA13D05.asc
Description: OpenPGP public key


OpenPGP_signature.asc
Description: OpenPGP digital signature


Bug#1051044: Updating the opentk Uploaders list

2023-09-20 Thread Ying-Chun Liu (PaulLiu)
Hi Bastian, 

OK. I'll take over this next week. 

Yours, 
Paul

於 2023年9月19日 下午7:52:18 [GMT+02:00],Bastian Germann  寫到:
>Control: retitle -1 O: opentk -- Open Toolkit wrapper for OpenGL, OpenAL and 
>OpenCL
>Control: reassign -1 wnpp
>X-Debbugs-Cc: paul...@debian.org
>
>Without Jo, the package is obviously not maintained anymore.
>I am orphaning it now.
>
>Paul, you maintain the only reverse dependency, so you might
>want to step up as a new maintainer.
>
>Description: Open Toolkit wrapper for OpenGL, OpenAL and OpenCL
> The Open Toolkit is an advanced, low-level C# library that wraps OpenGL,
> OpenCL and OpenAL. It is suitable for games, scientific applications and
> any other project that requires 3d graphics, audio or compute functionality.


Bug#1043241: options

2023-09-15 Thread Ying-Chun Liu (PaulLiu)
Hi Dann, 

Yeah. If that's the only option to make it work. But it seems to me that the 
package will be very ugly. Maybe we can wait until Debian Trixie has a more 
clear release date (release plan) and then decide it. 

Currently I still think that it is possible to upstream the patch. Another 
option is to apply the patch locally in Debian. But it is scary either because 
we have to rebase it everytime.

Yours,
Paul

於 2023年9月15日 下午7:10:38 [GMT+05:30],dann frazier  寫到:
>We've been discussing this with upstream at
>https://github.com/OP-TEE/optee_client/pull/355 , which is an attempt
>to make emulation a runtime option. An argument is being made that
>it should remain a build time switch, to avoid having to ship the
>emulation code in production environments. We'll see how that shakes
>out.
>
>If this remains a build-time switch, one option would be for Debian to
>consider building 2 different binary packages. Would the maintainer be
>open to that?


Bug#967301: darnwdl: depends on deprecated GTK 2

2023-09-10 Thread Ying-Chun Liu (PaulLiu)
Hi Bastian,


ok. agree. Just remove it when the time is coming. Actually I'll rewrite this 
app by Java awt/swing very soon. Might be able to port it to Windows easier. 
This app is created just because a wrong move of the Taiwan government. They 
intent to create a "portable document format" by themselves rather than pdf. 
And it is not open source. The company that creates this format is not 
maintaining their software anymore and causes all those docs locked in Windows 
XP. 

So I'll rewrite it to Java so that we won't depend on gtk anymore. And also 
save those employee of the government to continue open this kind of docs on 
newer systems. 

Yours,
Paul


於 2023年9月10日 上午2:14:42 [GMT+05:30],Bastian Germann  寫到:
>darnwdl is not used a lot. So when gtk2 is removed, this package should be 
>removed as well.


Bug#1040521: tpm2-tss: FTBFS (test failures)

2023-08-05 Thread Ying-Chun Liu (PaulLiu)

Hi.

Some updates.

I fixed one of the failed test on s390x.
https://github.com/tpm2-software/tpm2-tss/pull/2675
So now libtpms tests passed. (test/unit/tcti-libtpms).

The problem here is that it tries to make a call to libtpms but passing (size_t 
*) to (uint32_t *).
That works in little-endian (if the memory are cleared to zero and alignment are padded) but not 
working on bit-endian (the value will be changed).


The patch is as attachment.

But there are 3 more test that needed to be fixed.
1. test/unit/fapi-eventlog
2. test/unit/tcti-spi-helper
3. test/unit/fapi-ima-eventlog

I'll find some time to fix the rest of the failure and do a single upload that fixes every s390x 
test failure.


Yours,
Paul
From 9ae85535d6383a50731ad9e70c16b55622e126ae Mon Sep 17 00:00:00 2001
From: "Ying-Chun Liu (PaulLiu)" 
Date: Sun, 6 Aug 2023 05:24:02 +0800
Subject: [PATCH] tss2-tcti: tcti-libtpms: fix test failure on big-endian
 platform

Due to tcti_libtpms->response_len and tcti_libtpms->response_buffer_len
are size_t. We cannot convert the (size_t *) to (uint32_t *) on big-endian
platforms. Thus we create temp uint32_t variables. Make the call and
then assign it back to size_t variables.

This commit partially fix the test failure on big-endian platforms.

Signed-off-by: Ying-Chun Liu (PaulLiu) 
---
 src/tss2-tcti/tcti-libtpms.c | 11 +--
 1 file changed, 9 insertions(+), 2 deletions(-)

diff --git a/src/tss2-tcti/tcti-libtpms.c b/src/tss2-tcti/tcti-libtpms.c
index 922a4402..10ed913d 100644
--- a/src/tss2-tcti/tcti-libtpms.c
+++ b/src/tss2-tcti/tcti-libtpms.c
@@ -370,6 +370,8 @@ tcti_libtpms_transmit(
 tpm_header_t header;
 TSS2_RC rc;
 TPM_RESULT ret;
+uint32_t resp_size;
+uint32_t respbufsize;
 
 rc = tcti_common_transmit_checks(tcti_common, cmd_buf, TCTI_LIBTPMS_MAGIC);
 if (rc != TSS2_RC_SUCCESS) {
@@ -386,11 +388,16 @@ tcti_libtpms_transmit(
 }
 
 LOGBLOB_DEBUG(cmd_buf, size, "Sending command with TPM_CC 0x%" PRIx32, header.size);
+resp_size = (uint32_t) tcti_libtpms->response_len;
+respbufsize = (uint32_t) tcti_libtpms->response_buffer_len;
 LIBTPMS_API_CALL(fail, tcti_libtpms, TPMLIB_Process, _libtpms->response_buffer,
- (uint32_t *) _libtpms->response_len,
- (uint32_t *) _libtpms->response_buffer_len,
+ (uint32_t *) _size,
+ (uint32_t *) ,
  (uint8_t *) cmd_buf,
  size);
+tcti_libtpms->response_len = resp_size;
+tcti_libtpms->response_buffer_len = respbufsize;
+
 rc = tcti_libtpms_store_state(tcti_libtpms);
 if (rc != TSS2_RC_SUCCESS) {
 LOG_ERROR("Failed to store state file");
-- 
2.40.1



OpenPGP_0x44173FA13D05.asc
Description: OpenPGP public key


OpenPGP_signature
Description: OpenPGP digital signature


Bug#1042739: O: repetier-host -- host controller for RepRap style 3D printers

2023-08-02 Thread Ying-Chun Liu (PaulLiu)

Hi Bastian,

I'd like to know why you can orphan my package?

The problem here is repetier-host is still working.
And why it is not upgrading to 2.x.x is because 0.85 is the last open source 
version we can have.
Since 0.95 the upstream choose to close source. So the open source community 
can only use 0.85.

And 0.85 is still working quite well with most of the 3D printers.

Yours,
Paul


OpenPGP_0x44173FA13D05.asc
Description: OpenPGP public key


OpenPGP_signature
Description: OpenPGP digital signature


Bug#1041307: xtrx-dkms: module fails to build for Linux 6.4: error: too many arguments to function 'class_create'

2023-07-31 Thread Ying-Chun Liu (PaulLiu)

Hi,

Thanks for reporting the bug.
I've made a patch to fix this bug. As attachment.

I plan to do the NMU.
I'll upload to delay/10 queue after 3 days if no one complains.

Yours,
Paul

diff -Nru xtrx-dkms-0.0.1+git20190320.5ae3a3e/debian/changelog 
xtrx-dkms-0.0.1+git20190320.5ae3a3e/debian/changelog
--- xtrx-dkms-0.0.1+git20190320.5ae3a3e/debian/changelog2023-06-24 
04:22:04.0 +0800
+++ xtrx-dkms-0.0.1+git20190320.5ae3a3e/debian/changelog2023-08-01 
00:08:42.0 +0800
@@ -1,3 +1,11 @@
+xtrx-dkms (0.0.1+git20190320.5ae3a3e-3.4) unstable; urgency=low
+
+  * Non-maintainer upload.
+  * Fix dkms build failure with kernel 6.4 (Closes: #1041307)
+- add debian/patches/0004-xtrx.c-fix-build-error-with-kernel-6.4.patch
+
+ -- Ying-Chun Liu (PaulLiu)   Tue, 01 Aug 2023 00:08:42 
+0800
+
 xtrx-dkms (0.0.1+git20190320.5ae3a3e-3.3) unstable; urgency=low
 
   * Non-maintainer upload.
diff -Nru 
xtrx-dkms-0.0.1+git20190320.5ae3a3e/debian/patches/0004-xtrx.c-fix-build-error-with-kernel-6.4.patch
 
xtrx-dkms-0.0.1+git20190320.5ae3a3e/debian/patches/0004-xtrx.c-fix-build-error-with-kernel-6.4.patch
--- 
xtrx-dkms-0.0.1+git20190320.5ae3a3e/debian/patches/0004-xtrx.c-fix-build-error-with-kernel-6.4.patch
1970-01-01 08:00:00.0 +0800
+++ 
xtrx-dkms-0.0.1+git20190320.5ae3a3e/debian/patches/0004-xtrx.c-fix-build-error-with-kernel-6.4.patch
2023-08-01 00:08:42.0 +0800
@@ -0,0 +1,20 @@
+From: "Ying-Chun Liu (PaulLiu)" 
+Bug-Debian: http://bugs.debian.org/1041307
+Subject: [PATCH] xtrx.c: fix build error with kernel 6.4
+Last-Update: 2023-06-24
+Index: xtrx-dkms-0.0.1+git20190320.5ae3a3e/xtrx.c
+===
+--- xtrx-dkms-0.0.1+git20190320.5ae3a3e.orig/xtrx.c
 xtrx-dkms-0.0.1+git20190320.5ae3a3e/xtrx.c
+@@ -1532,7 +1532,11 @@ static int __init xtrx_init(void)
+   goto failed_chrdev;
+   }
+ 
++#if LINUX_VERSION_CODE < KERNEL_VERSION(6, 4, 0)
+   xtrx_class = class_create(THIS_MODULE, CLASS_NAME);
++#else
++  xtrx_class = class_create(CLASS_NAME);
++#endif
+   if (IS_ERR(xtrx_class)) {
+   printk(KERN_NOTICE PFX "Unable to register xtrx class\n");
+   goto failed_setup_cdev;
diff -Nru xtrx-dkms-0.0.1+git20190320.5ae3a3e/debian/patches/series 
xtrx-dkms-0.0.1+git20190320.5ae3a3e/debian/patches/series
--- xtrx-dkms-0.0.1+git20190320.5ae3a3e/debian/patches/series   2023-06-24 
04:21:41.0 +0800
+++ xtrx-dkms-0.0.1+git20190320.5ae3a3e/debian/patches/series   2023-08-01 
00:08:42.0 +0800
@@ -1,3 +1,4 @@
 0001-xtrx-fix-PCI-DMA-allow-free-with-kernel-5.18.patch
 0002-xtrx.c-fix-build-error-with-kernel-6.1.patch
 0003-xtrx.c-fix-build-error-with-kernel-6.3.patch
+0004-xtrx.c-fix-build-error-with-kernel-6.4.patch
From: "Ying-Chun Liu (PaulLiu)" 
Bug-Debian: http://bugs.debian.org/1041307
Subject: [PATCH] xtrx.c: fix build error with kernel 6.4
Last-Update: 2023-06-24
Index: xtrx-dkms-0.0.1+git20190320.5ae3a3e/xtrx.c
===
--- xtrx-dkms-0.0.1+git20190320.5ae3a3e.orig/xtrx.c
+++ xtrx-dkms-0.0.1+git20190320.5ae3a3e/xtrx.c
@@ -1532,7 +1532,11 @@ static int __init xtrx_init(void)
 		goto failed_chrdev;
 	}
 
+#if LINUX_VERSION_CODE < KERNEL_VERSION(6, 4, 0)
 	xtrx_class = class_create(THIS_MODULE, CLASS_NAME);
+#else
+	xtrx_class = class_create(CLASS_NAME);
+#endif
 	if (IS_ERR(xtrx_class)) {
 		printk(KERN_NOTICE PFX "Unable to register xtrx class\n");
 		goto failed_setup_cdev;


OpenPGP_0x44173FA13D05.asc
Description: OpenPGP public key


OpenPGP_signature
Description: OpenPGP digital signature


Bug#1041009: ITP: minetest-mod-colour-chat-56-csm -- Minetest mod - colour chat client side mod

2023-07-13 Thread Ying-Chun Liu (PaulLiu)

Package: wnpp
Owner: "Ying-Chun Liu (PaulLiu)" 
Severity: wishlist

* Package name: minetest-mod-colour-chat-56-csm
  Version : 0.0~git20200507.1ed6284
  Upstream Contact: BenjieFiftysix 
<31968410+benjiefifty...@users.noreply.github.com>
* URL : https://github.com/BenjieFiftysix/colour_chat
* License : Expat
  Programming Lang: Lua
  Description : Minetest mod - colour chat client side mod
 This package is a colour chat module of client side of minetest. It provides
 a set of commands that can chat with colour text.



OpenPGP_0x44173FA13D05.asc
Description: OpenPGP public key


OpenPGP_signature
Description: OpenPGP digital signature


Bug#1040521: tpm2-tss: FTBFS (test failures)

2023-07-10 Thread Ying-Chun Liu (PaulLiu)

Hi Bastian,

Thanks for adding more information here.

I've looked into the problem. The s390x should be the endian problem.
While the rest (i386, armel, armhf) is due to it is 32-bits.

According to the build log:
https://buildd.debian.org/status/fetch.php?pkg=tpm2-tss=armhf=4.0.1-1=1688685120=0

The test failed at Test: tcti_libtpms_remap_state_posix_fallocate_fail_test

We can look into the code.
First.
At test/unit/tcti-libtpms.c:1097, expect_value(TPMLIB_Process, cmd, cmd);
And cmd is an array.
unsigned char cmd[] = {0x80, 0x01, 0x00, 0x00, 0x00, 0x0c, 0x00, 0x00, 0x01
, 0x44, 0x00, 0x00};

At test/unit/tcti-libtpms.c:136, check_expected_ptr(cmd);

So the problem is actually at test/unit/tcti-libtpms.c:1097.
Because it tries to convert a pointer to integer.
The expect_value() of CMocka is expect_value(#func, #para, LargestIntegralType 
val)
So that cmd is converted to Integral Type.
I think we might want to use expect_memory() instead?
expect_memory(#func, #para, void* mem, size_t size)
So that cmd is pointer rather than converted to int.

Yours,
Paul



OpenPGP_0x44173FA13D05.asc
Description: OpenPGP public key


OpenPGP_signature
Description: OpenPGP digital signature


Bug#1040133: ITP: adarkroom -- web-based text adventure game

2023-07-02 Thread Ying-Chun Liu (PaulLiu)

Package: wnpp
Owner: "Ying-Chun Liu (PaulLiu)" 
Severity: wishlist

* Package name: adarkroom
  Version : 1.4
  Upstream Contact: Michael Townsend 
* URL : https://github.com/doublespeakgames/adarkroom
* License : MPL-2.0
  Programming Lang: JavaScript
  Description : web-based text adventure game
 adarkroom is a web-based text game that runs in a browser. Player needs
 to explore the world and trying to escape from it.



OpenPGP_0x44173FA13D05.asc
Description: OpenPGP public key


OpenPGP_signature
Description: OpenPGP digital signature


Bug#1038003: xtrx-dkms: module fails to build for Linux 6.3: error: assignment of read-only member 'vm_flags'

2023-06-23 Thread Ying-Chun Liu (PaulLiu)

Hi all,

I've fixed this bug.
I plan to do NMU after 10 days if no one complains.
It will be uploaded to delay/10 queue.
The debdiff is as attachment.


Yours,
Paul
diff -Nru xtrx-dkms-0.0.1+git20190320.5ae3a3e/debian/changelog 
xtrx-dkms-0.0.1+git20190320.5ae3a3e/debian/changelog
--- xtrx-dkms-0.0.1+git20190320.5ae3a3e/debian/changelog2023-01-21 
03:20:02.0 +0800
+++ xtrx-dkms-0.0.1+git20190320.5ae3a3e/debian/changelog2023-06-24 
04:22:04.0 +0800
@@ -1,3 +1,11 @@
+xtrx-dkms (0.0.1+git20190320.5ae3a3e-3.3) unstable; urgency=low
+
+  * Non-maintainer upload.
+  * Fix dkms build failure with kernel 6.3 (Closes: #1038003)
+- add debian/patches/0003-xtrx.c-fix-build-error-with-kernel-6.3.patch
+
+ -- Ying-Chun Liu (PaulLiu)   Sat, 24 Jun 2023 04:22:04 
+0800
+
 xtrx-dkms (0.0.1+git20190320.5ae3a3e-3.2) unstable; urgency=low
 
   * Non-maintainer upload.
diff -Nru 
xtrx-dkms-0.0.1+git20190320.5ae3a3e/debian/patches/0002-xtrx.c-fix-build-error-with-kernel-6.1.patch
 
xtrx-dkms-0.0.1+git20190320.5ae3a3e/debian/patches/0002-xtrx.c-fix-build-error-with-kernel-6.1.patch
--- 
xtrx-dkms-0.0.1+git20190320.5ae3a3e/debian/patches/0002-xtrx.c-fix-build-error-with-kernel-6.1.patch
2023-01-21 03:20:02.0 +0800
+++ 
xtrx-dkms-0.0.1+git20190320.5ae3a3e/debian/patches/0002-xtrx.c-fix-build-error-with-kernel-6.1.patch
2023-06-24 04:22:04.0 +0800
@@ -4,6 +4,7 @@
  const pointer when building with kernel version >= 6.1
 Forwarded: https://github.com/xtrx-sdr/xtrx_linux_pcie_drv/pull/15
 Author: Ying-Chun Liu (PaulLiu) 
+Bug-Debian: http://bugs.debian.org/1029135
 Last-Update: 2023-01-21
 Index: xtrx-dkms-0.0.1+git20190320.5ae3a3e/xtrx.c
 ===
diff -Nru 
xtrx-dkms-0.0.1+git20190320.5ae3a3e/debian/patches/0003-xtrx.c-fix-build-error-with-kernel-6.3.patch
 
xtrx-dkms-0.0.1+git20190320.5ae3a3e/debian/patches/0003-xtrx.c-fix-build-error-with-kernel-6.3.patch
--- 
xtrx-dkms-0.0.1+git20190320.5ae3a3e/debian/patches/0003-xtrx.c-fix-build-error-with-kernel-6.3.patch
1970-01-01 08:00:00.0 +0800
+++ 
xtrx-dkms-0.0.1+git20190320.5ae3a3e/debian/patches/0003-xtrx.c-fix-build-error-with-kernel-6.3.patch
2023-06-24 04:22:04.0 +0800
@@ -0,0 +1,58 @@
+From 68d80b30a74db6c767f9b4d555d7243930c955c4 Mon Sep 17 00:00:00 2001
+From: "Ying-Chun Liu (PaulLiu)" 
+Date: Sat, 24 Jun 2023 04:19:51 +0800
+Forwarded: https://github.com/myriadrf/xtrx_linux_pcie_drv/pull/17
+Bug-Debian: http://bugs.debian.org/1038003
+Last-Update: 2023-06-24
+Subject: [PATCH] xtrx.c: fix build error with kernel 6.3
+
+vma->vm_flags is now read-only. We need to use vm_flags_set() instead.
+
+Please refer kernel commit bc292ab00f6c
+("mm: introduce vma->vm_flags wrapper functions")
+
+Signed-off-by: Ying-Chun Liu (PaulLiu) 
+---
+ xtrx.c | 12 
+ 1 file changed, 12 insertions(+)
+
+Index: xtrx-dkms-0.0.1+git20190320.5ae3a3e/xtrx.c
+===
+--- xtrx-dkms-0.0.1+git20190320.5ae3a3e.orig/xtrx.c
 xtrx-dkms-0.0.1+git20190320.5ae3a3e/xtrx.c
+@@ -1072,7 +1072,11 @@ static int xtrxfd_mmap(struct file *filp
+   return -EINVAL;
+   }
+   //vma->vm_page_prot = pgprot_noncached(vma->vm_page_prot);
++#if LINUX_VERSION_CODE < KERNEL_VERSION(6, 3, 0)
+   vma->vm_flags |= VM_LOCKED;
++#else
++  vm_flags_set(vma, VM_LOCKED);
++#endif
+ 
+   if (remap_pfn_range(vma, vma->vm_start,
+   
virt_to_phys((void*)((unsigned long)xtrxdev->shared_mmap)) >> PAGE_SHIFT,
+@@ -1087,7 +1091,11 @@ static int xtrxfd_mmap(struct file *filp
+   unsigned long pfn;
+   int bar = (region == REGION_CTRL) ? 0 : 1;
+   vma->vm_page_prot = pgprot_device(vma->vm_page_prot);
++#if LINUX_VERSION_CODE < KERNEL_VERSION(6, 3, 0)
+   vma->vm_flags |= VM_IO;
++#else
++  vm_flags_set(vma, VM_IO);
++#endif
+   pfn = pci_resource_start(xtrxdev->pdev, bar) >> PAGE_SHIFT;
+ 
+   if (io_remap_pfn_range(vma, vma->vm_start, pfn,
+@@ -1112,7 +1120,11 @@ static int xtrxfd_mmap(struct file *filp
+   }
+ 
+   //vma->vm_page_prot = pgprot_noncached(vma->vm_page_prot);
++#if LINUX_VERSION_CODE < KERNEL_VERSION(6, 3, 0)
+   vma->vm_flags |= VM_LOCKED;
++#else
++  vm_flags_set(vma, VM_LOCKED);
++#endif
+ 
+   for (i = 0, off = 0; i < BUFS; ++i, off += bufsize) {
+ #ifdef VA_DMA_ADDR_FIXUP
diff -Nru xtrx-dkms-0.0.1+git20190320.5ae3a3e/debian/patches/series 
xtrx-dkms-0.0.1+git20190320.5ae3a3e/debian/patches/series
--- xtrx-dkms-0.0.1+git20190320.5ae3a3e/debian/patches/series   2023-01-21 
03:20:02.0 +0800
+++ xtrx-dkms-0.0.1+git20190320.5ae3a3e

Bug#1038003: xtrx-dkms: module fails to build for Linux 6.3: error: assignment of read-only member 'vm_flags'

2023-06-19 Thread Ying-Chun Liu (PaulLiu)

Hi Andreas,

I think I can fix this bug later.
This bug is caused by kernel commit bc292ab00f6c
("mm: introduce vma->vm_flags wrapper functions").

So all the vma->vm_flags |= VM_XXXD needs to be modifed to vm_flags_set(vma, 
VM_XXX).

Will NMU this later when I make a proper patch. Will also do an MR for the 
upstream.

Yours,
Paul


OpenPGP_0x44173FA13D05.asc
Description: OpenPGP public key


OpenPGP_signature
Description: OpenPGP digital signature


Bug#1037424: ITP: hatch-nodejs-version -- hatch plugin for versioning from a package.json file

2023-06-12 Thread Ying-Chun Liu (PaulLiu)

Package: wnpp
Severity: wishlist
Owner: Ying-Chun Liu (PaulLiu) 

* Package name: hatch-nodejs-version
  Version : 0.3.1
  Upstream Author : Angus Hollands 
* URL : https://github.com/agoose77/hatch-nodejs-version
* License : MIT
  Programming Lang: Python
  Description : hatch plugin for versioning from a package.json file
 This package provides two Hatch plugins:
 - version source plugin: reads/writes the package version from the
   `version` field of the Node.js `package.json` file.
 - metadata hook plugin: reads PEP 621 metadata from the Node.js
   `package.json` file.


Binary package names: python3-hatch-nodejs-version


OpenPGP_0x44173FA13D05.asc
Description: OpenPGP public key


OpenPGP_signature
Description: OpenPGP digital signature


Bug#1037149: ITP: oauth2token -- oAuth2 token management for cli applications

2023-06-06 Thread Ying-Chun Liu (PaulLiu)

Package: wnpp
Severity: wishlist
Owner: Ying-Chun Liu (PaulLiu) 

* Package name: oauth2token
  Version : 0.0.3
  Upstream Author : VannTen 
* URL : https://github.com/VannTen/oauth2token
* License : GPL-3.0+
  Programming Lang: Python
  Description : oAuth2 token management for cli applications
 oauth2token is a simple cli tool to create and use oauth2 for some
 cli applications.

Binary package names: python3-oauth2token



OpenPGP_0x44173FA13D05.asc
Description: OpenPGP public key


OpenPGP_signature
Description: OpenPGP digital signature


Bug#1033806: libntru: autopkgtest regression: undefined reference

2023-04-02 Thread Ying-Chun Liu (PaulLiu)
: bench.c:(.text.startup+0x289): undefined reference to 
`EES659EP1'
/usr/bin/ld: bench.c:(.text.startup+0x297): undefined reference to 
`EES659EP1'
/usr/bin/ld: bench.c:(.text.startup+0x2a6): undefined reference to 
`EES659EP1'
/usr/bin/ld: bench.c:(.text.startup+0x2b5): undefined reference to 
`EES659EP1'
/usr/bin/ld: bench.c:(.text.startup+0x2c4): undefined reference to 
`EES761EP1'
/usr/bin/ld: bench.c:(.text.startup+0x2d3): undefined reference to 
`EES761EP1'
/usr/bin/ld: bench.c:(.text.startup+0x2e2): undefined reference to 
`EES761EP1'
/usr/bin/ld: bench.c:(.text.startup+0x31b): undefined reference to 
`EES761EP1'
/usr/bin/ld: bench.c:(.text.startup+0x322): undefined reference to 
`EES761EP1'
/usr/bin/ld: bench.c:(.text.startup+0x32a): undefined reference to 
`EES1087EP1'
/usr/bin/ld: bench.c:(.text.startup+0x332): undefined reference to 
`EES1087EP1'
/usr/bin/ld: bench.c:(.text.startup+0x340): undefined reference to 
`EES1087EP1'
/usr/bin/ld: bench.c:(.text.startup+0x348): undefined reference to 
`EES1087EP1'
/usr/bin/ld: bench.c:(.text.startup+0x350): undefined reference to 
`EES1087EP1'
/usr/bin/ld: bench.c:(.text.startup+0x365): undefined reference to 
`EES1499EP1'
/usr/bin/ld: bench.c:(.text.startup+0x36d): undefined reference to 
`EES1499EP1'
/usr/bin/ld: bench.c:(.text.startup+0x375): undefined reference to 
`EES1499EP1'
/usr/bin/ld: bench.c:(.text.startup+0x392): undefined reference to 
`EES1499EP1'
/usr/bin/ld: bench.c:(.text.startup+0x3fc): undefined reference to 
`EES1499EP1'
/usr/bin/ld: bench.c:(.text.startup+0x4cf): undefined reference to 
`ntru_rand_default_release'
/usr/bin/ld: bench.c:(.text.startup+0x4f0): undefined reference to 
`ntru_rand_init'
/usr/bin/ld: bench.c:(.text.startup+0x538): undefined reference to 
`ntru_gen_key_pair'
/usr/bin/ld: bench.c:(.text.startup+0x620): undefined reference to 
`ntru_max_msg_len'
/usr/bin/ld: bench.c:(.text.startup+0x656): undefined reference to 
`ntru_rand_generate'
/usr/bin/ld: bench.c:(.text.startup+0x66b): undefined reference to 
`ntru_enc_len'
/usr/bin/ld: bench.c:(.text.startup+0x6f4): undefined reference to 
`ntru_encrypt'
/usr/bin/ld: bench.c:(.text.startup+0x7eb): undefined reference to 
`ntru_rand_release'
/usr/bin/ld: bench.c:(.text.startup+0x83e): undefined reference to 
`ntru_decrypt'

/usr/bin/ld: warning: creating DT_TEXTREL in a PIE
collect2: error: ld returned 1 exit status
autopkgtest [16:23:12]: test benchmark: ---]
diff -Nru libntru-0.5/debian/changelog libntru-0.5/debian/changelog
--- libntru-0.5/debian/changelog2017-11-07 15:31:48.0 +0800
+++ libntru-0.5/debian/changelog2023-04-03 01:02:48.0 +0800
@@ -1,3 +1,9 @@
+libntru (0.5-3) unstable; urgency=low
+
+  * Fix autopkgtest regression. (Closes: #1033806)
+
+ -- Ying-Chun Liu (PaulLiu)   Mon, 03 Apr 2023 01:02:48 
+0800
+
 libntru (0.5-2) unstable; urgency=low
 
   * Fix FTBFS on big-endian arches. (Closes: #880149)
diff -Nru libntru-0.5/debian/tests/benchmark libntru-0.5/debian/tests/benchmark
--- libntru-0.5/debian/tests/benchmark  2017-11-07 15:31:48.0 +0800
+++ libntru-0.5/debian/tests/benchmark  2023-04-03 01:02:48.0 +0800
@@ -2,7 +2,8 @@
 
 set -e
 
-gcc -DNTRU_AVOID_HAMMING_WT_PATENT -I/usr/include/libntru -lntru \
--O2 -o "$AUTOPKGTEST_TMP"/bench src/bench.c
+gcc -DNTRU_AVOID_HAMMING_WT_PATENT -I/usr/include/libntru \
+-O2 -o "$AUTOPKGTEST_TMP"/bench src/bench.c \
+-lntru
 
 "$AUTOPKGTEST_TMP"/bench
diff -Nru libntru-0.5/debian/tests/example1 libntru-0.5/debian/tests/example1
--- libntru-0.5/debian/tests/example1   2017-11-07 15:31:48.0 +0800
+++ libntru-0.5/debian/tests/example1   2023-04-03 01:02:48.0 +0800
@@ -2,7 +2,8 @@
 
 set -e
 
-gcc -DNTRU_AVOID_HAMMING_WT_PATENT -I/usr/include/libntru -lntru \
--O2 -o "$AUTOPKGTEST_TMP"/example1 debian/tests/example1.c
+gcc -DNTRU_AVOID_HAMMING_WT_PATENT -I/usr/include/libntru \
+-O2 -o "$AUTOPKGTEST_TMP"/example1 debian/tests/example1.c \
+-lntru 
 
 "$AUTOPKGTEST_TMP"/example1


OpenPGP_0x44173FA13D05.asc
Description: OpenPGP public key


OpenPGP_signature
Description: OpenPGP digital signature


Bug#1029135: xtrx-dkms: xtrx module fails to build for kernel version 6.1

2023-01-20 Thread Ying-Chun Liu (PaulLiu)

Hi all,

I plan to do NMU to fix this bug. The debdiff is as attachment.
I'll wait for 3 days to see if anyone objects. And I'll upload it to 
delay/10 queue.


Yours,
Paul
diff -Nru xtrx-dkms-0.0.1+git20190320.5ae3a3e/debian/changelog 
xtrx-dkms-0.0.1+git20190320.5ae3a3e/debian/changelog
--- xtrx-dkms-0.0.1+git20190320.5ae3a3e/debian/changelog2022-11-17 
13:30:42.0 +0800
+++ xtrx-dkms-0.0.1+git20190320.5ae3a3e/debian/changelog2023-01-21 
03:20:02.0 +0800
@@ -1,3 +1,11 @@
+xtrx-dkms (0.0.1+git20190320.5ae3a3e-3.2) unstable; urgency=low
+
+  * Non-maintainer upload.
+  * Fix dkms build failure with kernel 6.1 (Closes: #1029135)
+- add debian/patches/0002-xtrx.c-fix-build-error-with-kernel-6.1.patch
+
+ -- Ying-Chun Liu (PaulLiu)   Sat, 21 Jan 2023 03:20:02 
+0800
+
 xtrx-dkms (0.0.1+git20190320.5ae3a3e-3.1) unstable; urgency=low
 
   * Non-maintainer upload.
diff -Nru 
xtrx-dkms-0.0.1+git20190320.5ae3a3e/debian/patches/0002-xtrx.c-fix-build-error-with-kernel-6.1.patch
 
xtrx-dkms-0.0.1+git20190320.5ae3a3e/debian/patches/0002-xtrx.c-fix-build-error-with-kernel-6.1.patch
--- 
xtrx-dkms-0.0.1+git20190320.5ae3a3e/debian/patches/0002-xtrx.c-fix-build-error-with-kernel-6.1.patch
1970-01-01 08:00:00.0 +0800
+++ 
xtrx-dkms-0.0.1+git20190320.5ae3a3e/debian/patches/0002-xtrx.c-fix-build-error-with-kernel-6.1.patch
2023-01-21 03:20:02.0 +0800
@@ -0,0 +1,27 @@
+Description: xtrx.c: fix build error with kernel 6.1
+ uart_ops.set_termios type changes a little in kernel 6.1. Thus
+ we need to change xtrx_uart_set_termios() third parameter as a
+ const pointer when building with kernel version >= 6.1
+Forwarded: https://github.com/xtrx-sdr/xtrx_linux_pcie_drv/pull/15
+Author: Ying-Chun Liu (PaulLiu) 
+Last-Update: 2023-01-21
+Index: xtrx-dkms-0.0.1+git20190320.5ae3a3e/xtrx.c
+===
+--- xtrx-dkms-0.0.1+git20190320.5ae3a3e.orig/xtrx.c
 xtrx-dkms-0.0.1+git20190320.5ae3a3e/xtrx.c
+@@ -361,8 +361,13 @@ static void xtrx_uart_shutdown(struct ua
+ }
+ 
+ static void xtrx_uart_set_termios(struct uart_port *port,
+-   struct ktermios *new,
+-   struct ktermios *old)
++struct ktermios *new,
++#if LINUX_VERSION_CODE < KERNEL_VERSION(6, 1, 0)
++struct ktermios *old
++#else
++const struct ktermios *old
++#endif
++  )
+ {
+   unsigned long flags;
+ 
diff -Nru xtrx-dkms-0.0.1+git20190320.5ae3a3e/debian/patches/series 
xtrx-dkms-0.0.1+git20190320.5ae3a3e/debian/patches/series
--- xtrx-dkms-0.0.1+git20190320.5ae3a3e/debian/patches/series   2022-11-17 
13:30:42.0 +0800
+++ xtrx-dkms-0.0.1+git20190320.5ae3a3e/debian/patches/series   2023-01-21 
03:20:02.0 +0800
@@ -1 +1,2 @@
 0001-xtrx-fix-PCI-DMA-allow-free-with-kernel-5.18.patch
+0002-xtrx.c-fix-build-error-with-kernel-6.1.patch


OpenPGP_0x44173FA13D05.asc
Description: OpenPGP public key


OpenPGP_signature
Description: OpenPGP digital signature


Bug#1029135: xtrx-dkms: xtrx module fails to build for kernel version 6.1

2023-01-20 Thread Ying-Chun Liu (PaulLiu)

forwarded 1029135 https://github.com/xtrx-sdr/xtrx_linux_pcie_drv/pull/15
thanks

I fixed this bug. The patch is as attachment.

Yours,
Paul

Description: xtrx.c: fix build error with kernel 6.1
 uart_ops.set_termios type changes a little in kernel 6.1. Thus
 we need to change xtrx_uart_set_termios() third parameter as a
 const pointer when building with kernel version >= 6.1
Forwarded: https://github.com/xtrx-sdr/xtrx_linux_pcie_drv/pull/15
Author: Ying-Chun Liu (PaulLiu) 
Last-Update: 2023-01-21
Index: xtrx-dkms-0.0.1+git20190320.5ae3a3e/xtrx.c
===
--- xtrx-dkms-0.0.1+git20190320.5ae3a3e.orig/xtrx.c
+++ xtrx-dkms-0.0.1+git20190320.5ae3a3e/xtrx.c
@@ -361,8 +361,13 @@ static void xtrx_uart_shutdown(struct ua
 }
 
 static void xtrx_uart_set_termios(struct uart_port *port,
- struct ktermios *new,
- struct ktermios *old)
+  struct ktermios *new,
+#if LINUX_VERSION_CODE < KERNEL_VERSION(6, 1, 0)
+  struct ktermios *old
+#else
+  const struct ktermios *old
+#endif
+	)
 {
 	unsigned long flags;
 


OpenPGP_0x44173FA13D05.asc
Description: OpenPGP public key


OpenPGP_signature
Description: OpenPGP digital signature


Bug#1028978: libomxil-bellagio FTBFS on mipsel: error: ‘__builtin_strncpy’ destination unchanged after copying no bytes [-Werror=stringop-truncation]

2023-01-15 Thread Ying-Chun Liu (PaulLiu)


Thanks. I'm not sure what happened either. But this patch fixes the bug 
(attached). I'll upload it soon.




On 2023/1/15 19:59, Helmut Grohne wrote:

Source: libomxil-bellagio
Version: 0.9.3-7
Severity: serious
Tags: ftbfs

Hi,

libomxil-bellagio fails to build form source when built on mipsel. A
build ends as follows:

| gcc -DHAVE_CONFIG_H -I. -I..   -Wdate-time -D_FORTIFY_SOURCE=2 
-DOMXILCOMPONENTSPATH=\"/usr/lib/mipsel-linux-gnu/libomxil-bellagio0/\" 
-I../include -g -O2 -ffile-prefix-map=/root/libomxil-bellagio-0.9.3=. 
-fstack-protector-strong -Wformat -Werror=format-security -Wall -Werror 
-DCONFIG_DEBUG_LEVEL=0 -c -o omxregister_bellagio-omxregister.o `test -f 'omxregister.c' 
|| echo './'`omxregister.c
| In file included from /usr/include/string.h:535,
|  from omxregister.c:42:
| In function ‘strncpy’,
| inlined from ‘showComponentsList’ at omxregister.c:110:3,
| inlined from ‘main’ at omxregister.c:454:9:
| /usr/include/mipsel-linux-gnu/bits/string_fortified.h:95:10: error: 
‘__builtin_strncpy’ destination unchanged after copying no bytes 
[-Werror=stringop-truncation]
|95 |   return __builtin___strncpy_chk (__dest, __src, __len,
|   |  ^~
|96 |   __glibc_objsize (__dest));
|   |   ~
| cc1: all warnings being treated as errors
| make[4]: *** [Makefile:719: omxregister_bellagio-omxregister.o] Error 1
| make[4]: Leaving directory '/root/libomxil-bellagio-0.9.3/src'
| make[3]: *** [Makefile:776: all-recursive] Error 1
| make[3]: Leaving directory '/root/libomxil-bellagio-0.9.3/src'
| make[2]: *** [Makefile:495: all-recursive] Error 1
| make[2]: Leaving directory '/root/libomxil-bellagio-0.9.3'
| make[1]: *** [Makefile:381: all] Error 2
| make[1]: Leaving directory '/root/libomxil-bellagio-0.9.3'
| dh_auto_build: error: make -j1 returned exit code 2
| make: *** [debian/rules:9: build] Error 2
| dpkg-buildpackage: error: debian/rules build subprocess returned exit status 2

If you look at https://crossqa.debian.net/src/libomxil-bellagio, you can
guess that this is not entirely mipsel-specific, but probably also a
FTBFS on ppc64el and s390x. That said, I have only reproduced it on
mipsel and thus am filing it on mipsel.

A native build on amd64 succeeds.

I also briefly looked into it and couldn' really make sense of why gcc
thinks that the len parameter would become 0 here. Maybe someone else
figures?

Helmut
From: Ying-Chun Liu (PaulLiu) 
Subject: fix FTBFS on mipsel
 We got /usr/include/mipsel-linux-gnu/bits/string_fortified.h:95:10:
 error: ‘__builtin_strncpy’ destination unchanged after copying no bes
 [-Werror=stringop-truncation]
 Thus we check the size before call strncpy.
Bug-Debian: http://bugs.debian.org/1028978
Index: libomxil-bellagio-0.9.3/src/omxregister.c
===
--- libomxil-bellagio-0.9.3.orig/src/omxregister.c
+++ libomxil-bellagio-0.9.3/src/omxregister.c
@@ -107,7 +107,9 @@ static int showComponentsList(FILE* omxr
 		while ((temp_buffer[i] != '\0') && (temp_buffer[i] != ' ')) {
 			i++;
 		}
-		strncpy(comp_name, temp_buffer, i);
+		if (i > 0) {
+			strncpy(comp_name, temp_buffer, i);
+		}
 		comp_name[i] = '\0';
 		temp_buffer += i;
 		if (*temp_buffer != '\0') {


OpenPGP_0x44173FA13D05.asc
Description: OpenPGP public key


OpenPGP_signature
Description: OpenPGP digital signature


Bug#965835: tcd-utils: NMU to fix RC bugs

2022-12-12 Thread Ying-Chun Liu (PaulLiu)

Hi all,

I plan to NMU to fix RC bugs #965835 and #999110

The debdiff is attached.

My plan is I'll wait until 20th Dec and then upload to delay/10 queue.

Yours,
Paul
diff -Nru tcd-utils-20061127/debian/changelog 
tcd-utils-20061127/debian/changelog
--- tcd-utils-20061127/debian/changelog 2022-12-13 08:35:09.0 +0800
+++ tcd-utils-20061127/debian/changelog 2022-12-13 08:10:54.0 +0800
@@ -1,3 +1,12 @@
+tcd-utils (20061127-2.1) unstable; urgency=low
+
+  * Non-maintainer upload.
+  * Use DebSrc3.0 (quilt) format.
+  * Bump debhelper compat to 12 (Closes: #965835)
+  * debian/rules: Use dh (Closes: #999110)
+
+ -- Ying-Chun Liu (PaulLiu)   Tue, 13 Dec 2022 08:10:54 
+0800
+
 tcd-utils (20061127-2) unstable; urgency=low
 
   * Bug fix: "tcd-utils: FTBFS: checking for tcd.h... no".  Forgot to add
diff -Nru tcd-utils-20061127/debian/compat tcd-utils-20061127/debian/compat
--- tcd-utils-20061127/debian/compat2022-12-13 08:35:09.0 +0800
+++ tcd-utils-20061127/debian/compat1970-01-01 08:00:00.0 +0800
@@ -1 +0,0 @@
-5
diff -Nru tcd-utils-20061127/debian/control tcd-utils-20061127/debian/control
--- tcd-utils-20061127/debian/control   2022-12-13 08:35:09.0 +0800
+++ tcd-utils-20061127/debian/control   2022-12-13 08:10:54.0 +0800
@@ -1,8 +1,8 @@
 Source: tcd-utils
 Section: science
-Priority: extra
+Priority: optional
 Maintainer: Peter S Galbraith 
-Build-Depends: debhelper (>= 5), autotools-dev, libtcd-dev
+Build-Depends: debhelper-compat (= 12), libtcd-dev
 Standards-Version: 3.7.2
 
 Package: tcd-utils
@@ -13,4 +13,4 @@
  tcd-utils are command-line tools for converting Tide Constituent Database
  (TCD) files to and from other formats.  They are used to create tidal
  harmonics files used by XTide (see the xtide package), such as those found
- in the xtide-data package.
\ 檔案末沒有 newline 字元
+ in the xtide-data package.
diff -Nru tcd-utils-20061127/debian/rules tcd-utils-20061127/debian/rules
--- tcd-utils-20061127/debian/rules 2022-12-13 08:35:09.0 +0800
+++ tcd-utils-20061127/debian/rules 2022-12-13 08:10:54.0 +0800
@@ -15,87 +15,8 @@
 DEB_HOST_GNU_TYPE   ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE)
 DEB_BUILD_GNU_TYPE  ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE)
 
+%:
+   dh $@
 
-CFLAGS = -Wall -g
-
-ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS)))
-   CFLAGS += -O0
-else
-   CFLAGS += -O2
-endif
-
-config.status: configure
-   dh_testdir
-   # Add here commands to configure the package.
-ifneq "$(wildcard /usr/share/misc/config.sub)" ""
-   cp -f /usr/share/misc/config.sub config.sub
-endif
-ifneq "$(wildcard /usr/share/misc/config.guess)" ""
-   cp -f /usr/share/misc/config.guess config.guess
-endif
-   ./configure --host=$(DEB_HOST_GNU_TYPE) --build=$(DEB_BUILD_GNU_TYPE) 
--prefix=/usr --mandir=\$${prefix}/share/man --infodir=\$${prefix}/share/info 
CFLAGS="$(CFLAGS)" LDFLAGS="-Wl,-z,defs"
-
-
-build: build-stamp
-
-build-stamp:  config.status
-   dh_testdir
-
-   $(MAKE)
-
-   touch $@
-
-clean:
-   dh_testdir
-   dh_testroot
-   rm -f build-stamp 
-   -$(MAKE) distclean
-   rm -f config.sub config.guess
-
-   dh_clean 
-
-install: build
-   dh_testdir
-   dh_testroot
-   dh_clean -k 
-   dh_installdirs
-   $(MAKE) DESTDIR=$(CURDIR)/debian/tcd-utils install
-
-
-# Build architecture-independent files here.
-binary-indep: build install
-# We have nothing to do by default.
-
-# Build architecture-dependent files here.
-binary-arch: build install
-   dh_testdir
-   dh_testroot
-   dh_installchangelogs ChangeLog
-   dh_installdocs
-   dh_installexamples
-#  dh_install
-#  dh_installmenu
-#  dh_installdebconf   
-#  dh_installlogrotate
-#  dh_installemacsen
-#  dh_installpam
-#  dh_installmime
-#  dh_python
-#  dh_installinit
-#  dh_installcron
-#  dh_installinfo
-   dh_installman
-   dh_link
-   dh_strip
-   dh_compress
-   dh_fixperms
-#  dh_perl
-#  dh_makeshlibs
-   dh_installdeb
-   dh_shlibdeps
-   dh_gencontrol
-   dh_md5sums
-   dh_builddeb
-
-binary: binary-indep binary-arch
-.PHONY: build clean binary-indep binary-arch binary install 
+override_dh_auto_configure:
+   dh_auto_configure -- --prefix=/usr --mandir=\$${prefix}/share/man 
--infodir=\$${prefix}/share/info
diff -Nru tcd-utils-20061127/debian/source/format 
tcd-utils-20061127/debian/source/format
--- tcd-utils-20061127/debian/source/format 1970-01-01 08:00:00.0 
+0800
+++ tcd-utils-20061127/debian/source/format 2022-12-13 08:10:54.0 
+0800
@@ -0,0 +1 @@
+3.0 (quilt)


OpenPGP_0x44173FA13D05.asc
Description: OpenPGP public key


OpenPGP_signature
Description: OpenPGP digital signature


Bug#965861: vcheck: Removal of obsolete debhelper compat 5 and 6 in bookworm

2022-12-12 Thread Ying-Chun Liu (PaulLiu)

Hi all,

I plan to fix this RC bugs by NMU.

Please see the attached debdiff.

I'll wait until 20th Dec and then upload to delay/10 queue.

Yours,
Paul
diff -Nru vcheck-1.2.1/debian/changelog vcheck-1.2.1/debian/changelog
--- vcheck-1.2.1/debian/changelog   2015-08-27 00:56:56.0 +0800
+++ vcheck-1.2.1/debian/changelog   2022-12-13 08:01:53.0 +0800
@@ -1,3 +1,10 @@
+vcheck (1.2.1-7.2) unstable; urgency=low
+
+  * Non-maintainer upload.
+  * Bimp debhelper compat to 12. (Closes: #965861)
+
+ -- Ying-Chun Liu (PaulLiu)   Tue, 13 Dec 2022 08:01:53 
+0800
+
 vcheck (1.2.1-7.1) unstable; urgency=medium
 
   * Non-maintainer upload.
diff -Nru vcheck-1.2.1/debian/compat vcheck-1.2.1/debian/compat
--- vcheck-1.2.1/debian/compat  2011-02-11 09:04:07.0 +0800
+++ vcheck-1.2.1/debian/compat  1970-01-01 08:00:00.0 +0800
@@ -1 +0,0 @@
-5
diff -Nru vcheck-1.2.1/debian/control vcheck-1.2.1/debian/control
--- vcheck-1.2.1/debian/control 2011-02-11 09:17:24.0 +0800
+++ vcheck-1.2.1/debian/control 2022-12-13 07:57:11.0 +0800
@@ -3,7 +3,7 @@
 Priority: optional
 Maintainer: Dario Minnucci 
 Standards-Version: 3.9.1
-Build-Depends: debhelper (>= 7.0.50~), perl, libwww-perl (>= 5.0)
+Build-Depends: debhelper-compat (= 12), perl, libwww-perl (>= 5.0)
 Homepage: http://www.tu-ilmenau.de/~gomar/stuff/vcheck
 Vcs-Git: git://git.debian.org/collab-maint/vcheck.git
 Vcs-Browser: http://git.debian.org/?p=collab-maint/vcheck.git
diff -Nru vcheck-1.2.1/debian/copyright vcheck-1.2.1/debian/copyright
--- vcheck-1.2.1/debian/copyright   2011-02-11 11:20:57.0 +0800
+++ vcheck-1.2.1/debian/copyright   2022-12-13 07:58:51.0 +0800
@@ -5,12 +5,12 @@
 Files: *
 Copyright: 1999-2001 Marco Goetze  
 License: Artistic
-On a Debian system a copy of the Perl license can be found in the file
-'/usr/share/common-licenses/Artistic'.
 
 Files: debian/*
 Copyright: 2002-2004, Ardo van Rangelrooij 
2007-2011, Dario Minnucci  
 License: Artistic
-On a Debian system a copy of the Perl license can be found in the file
-'/usr/share/common-licenses/Artistic'.
+
+License: Artistic
+ On a Debian system a copy of the Perl license can be found in the file
+ '/usr/share/common-licenses/Artistic'.


OpenPGP_0x44173FA13D05.asc
Description: OpenPGP public key


OpenPGP_signature
Description: OpenPGP digital signature


Bug#965747: netsend: NMU to fix RC bugs.

2022-12-12 Thread Ying-Chun Liu (PaulLiu)

Hi all,

I plan to fix RC bugs #965747 and #999046 by NMU.

Please see the debdiff as attachment.

I'll wait until 20th Dec and then upload it to delay/10 queue.

Yours,
Paul
diff -Nru netsend-0.0~svnr250/debian/changelog 
netsend-0.0~svnr250/debian/changelog
--- netsend-0.0~svnr250/debian/changelog2022-12-13 07:49:30.0 
+0800
+++ netsend-0.0~svnr250/debian/changelog2022-12-13 07:24:55.0 
+0800
@@ -1,3 +1,12 @@
+netsend (0.0~svnr250-1.5) unstable; urgency=low
+
+  * Non-maintainer upload. (Closes: #1011647)
+  * Bump debhelper compat to 12 (Closes: #965747)
+  * debian/rules: Use dh. (Closes: #999046)
+  * Port to DebSrc3.0 (quilt).
+
+ -- Ying-Chun Liu (PaulLiu)   Tue, 13 Dec 2022 07:24:55 
+0800
+
 netsend (0.0~svnr250-1.4) unstable; urgency=medium
 
   * Non-maintainer upload.
diff -Nru netsend-0.0~svnr250/debian/compat netsend-0.0~svnr250/debian/compat
--- netsend-0.0~svnr250/debian/compat   2022-12-13 07:49:30.0 +0800
+++ netsend-0.0~svnr250/debian/compat   1970-01-01 08:00:00.0 +0800
@@ -1 +0,0 @@
-5
diff -Nru netsend-0.0~svnr250/debian/control netsend-0.0~svnr250/debian/control
--- netsend-0.0~svnr250/debian/control  2022-12-13 07:49:30.0 +0800
+++ netsend-0.0~svnr250/debian/control  2022-12-13 07:24:55.0 +0800
@@ -2,7 +2,7 @@
 Section: net
 Priority: optional
 Maintainer: Martin Peylo 
-Build-Depends: debhelper (>= 5), linux-libc-dev, perl
+Build-Depends: debhelper-compat (= 12), linux-libc-dev, perl
 Standards-Version: 3.7.3
 Homepage: http://netsend.berlios.de/
 
diff -Nru netsend-0.0~svnr250/debian/netsend.examples 
netsend-0.0~svnr250/debian/netsend.examples
--- netsend-0.0~svnr250/debian/netsend.examples 1970-01-01 08:00:00.0 
+0800
+++ netsend-0.0~svnr250/debian/netsend.examples 2022-12-13 07:24:55.0 
+0800
@@ -0,0 +1 @@
+unit_test.sh
diff -Nru netsend-0.0~svnr250/debian/netsend.manpages 
netsend-0.0~svnr250/debian/netsend.manpages
--- netsend-0.0~svnr250/debian/netsend.manpages 1970-01-01 08:00:00.0 
+0800
+++ netsend-0.0~svnr250/debian/netsend.manpages 2022-12-13 07:24:55.0 
+0800
@@ -0,0 +1 @@
+netsend.1
diff -Nru netsend-0.0~svnr250/debian/patches/0001_Makefile.patch 
netsend-0.0~svnr250/debian/patches/0001_Makefile.patch
--- netsend-0.0~svnr250/debian/patches/0001_Makefile.patch  1970-01-01 
08:00:00.0 +0800
+++ netsend-0.0~svnr250/debian/patches/0001_Makefile.patch  2022-12-13 
07:24:55.0 +0800
@@ -0,0 +1,11 @@
+--- netsend-0.0~svnr250.orig/Makefile
 netsend-0.0~svnr250/Makefile
+@@ -44,7 +44,7 @@
+   @bash configure
+ 
+ $(TARGET): $(OBJECTS)
+-  $(CC) $(LIBS) $(CFLAGS) -o $(TARGET) $(OBJECTS)
++  $(CC) $(CFLAGS) -o $(TARGET) $(OBJECTS) $(LIBS)
+ 
+ %.o: %.c analyze.h error.h global.h xfuncs.h Makefile
+   $(CC) $(CFLAGS) -c  $< -o $@
diff -Nru netsend-0.0~svnr250/debian/patches/0002_netsend_pod.patch 
netsend-0.0~svnr250/debian/patches/0002_netsend_pod.patch
--- netsend-0.0~svnr250/debian/patches/0002_netsend_pod.patch   1970-01-01 
08:00:00.0 +0800
+++ netsend-0.0~svnr250/debian/patches/0002_netsend_pod.patch   2022-12-13 
07:24:55.0 +0800
@@ -0,0 +1,14 @@
+--- netsend-0.0~svnr250.orig/netsend.pod
 netsend-0.0~svnr250/netsend.pod
+@@ -128,6 +128,11 @@
+ 
+ =back
+ 
++=back
++
++=back
++
++=back
+ 
+ =head1 EXIT STATUS
+ 
diff -Nru netsend-0.0~svnr250/debian/patches/0003_proto_udplite_recv.patch 
netsend-0.0~svnr250/debian/patches/0003_proto_udplite_recv.patch
--- netsend-0.0~svnr250/debian/patches/0003_proto_udplite_recv.patch
1970-01-01 08:00:00.0 +0800
+++ netsend-0.0~svnr250/debian/patches/0003_proto_udplite_recv.patch
2022-12-13 07:24:55.0 +0800
@@ -0,0 +1,10 @@
+--- netsend-0.0~svnr250.orig/proto_udplite_recv.c
 netsend-0.0~svnr250/proto_udplite_recv.c
+@@ -22,6 +22,7 @@
+ 
+ #include 
+ #include 
++#include 
+ #include 
+ #include 
+ #include 
diff -Nru netsend-0.0~svnr250/debian/patches/0004_proto_udplite_trans.patch 
netsend-0.0~svnr250/debian/patches/0004_proto_udplite_trans.patch
--- netsend-0.0~svnr250/debian/patches/0004_proto_udplite_trans.patch   
1970-01-01 08:00:00.0 +0800
+++ netsend-0.0~svnr250/debian/patches/0004_proto_udplite_trans.patch   
2022-12-13 07:24:55.0 +0800
@@ -0,0 +1,10 @@
+--- netsend-0.0~svnr250.orig/proto_udplite_trans.c
 netsend-0.0~svnr250/proto_udplite_trans.c
+@@ -24,6 +24,7 @@
+ 
+ #include 
+ #include 
++#include 
+ #include 
+ #include 
+ #include 
diff -Nru netsend-0.0~svnr250/debian/patches/series 
netsend-0.0~svnr250/debian/patches/series
--- netsend-0.0~svnr250/debian/patches/series   1970-01-01 08:00:00.0 
+0800
+++ netsend-0.0~svnr250/debian/patches/series   2022-12-13 07:24:55.0 
+0800
@@ -0,0 +1,4 @@
+0001_Makefile.patch
+0002_netsend_pod.patch
+0003_proto_udplite_recv.patch
+0004_proto_udplite_trans.patch
diff -Nru netsend-0.0~svnr250/debian/rules netsend-0.0~svnr250/debian/rules
--- netsend-0.0~svnr250/

Bug#1011647: RM: netsend -- RoQA, RC-buggy, dead-upstream, unmaintained, low popcon

2022-12-12 Thread Ying-Chun Liu (PaulLiu)

Hi,

I plan to NMU this package to fix RC bugs.

Yours,
Paul


OpenPGP_0x44173FA13D05.asc
Description: OpenPGP public key


OpenPGP_signature
Description: OpenPGP digital signature


Bug#965589: iat: NMU to fix RC bugs.

2022-12-12 Thread Ying-Chun Liu (PaulLiu)

Hi all,

I plan to NMU iat to fix #965589 and #999305.
Please see the debdiff as attachment.

My plan is I'll wait until 20th Dec. And then upload it to delay/10 queue.

Yours,
Paul

diff -Nru iat-0.1.3/debian/changelog iat-0.1.3/debian/changelog
--- iat-0.1.3/debian/changelog  2022-12-13 06:28:02.0 +0800
+++ iat-0.1.3/debian/changelog  2022-12-13 06:09:17.0 +0800
@@ -1,3 +1,12 @@
+iat (0.1.3-7.1) unstable; urgency=low
+
+  * Non-maintainer upload.
+  * Bump debhelper compat to 12. (Closes: #965589)
+  * Port to DebSrc3.0 (quilt)
+  * debian/rules: use dh (Closes: #999305)
+
+ -- Ying-Chun Liu (PaulLiu)   Tue, 13 Dec 2022 06:09:17 
+0800
+
 iat (0.1.3-7) unstable; urgency=low
 
   * My email address has been changed.
diff -Nru iat-0.1.3/debian/clean iat-0.1.3/debian/clean
--- iat-0.1.3/debian/clean  1970-01-01 08:00:00.0 +0800
+++ iat-0.1.3/debian/clean  2022-12-13 06:09:17.0 +0800
@@ -0,0 +1,9 @@
+Makefile.in
+Makefile
+config.status
+config.h
+config.log
+src/Makefile.in
+src/Makefile
+src/iat
+src/*.o
diff -Nru iat-0.1.3/debian/compat iat-0.1.3/debian/compat
--- iat-0.1.3/debian/compat 2022-12-13 06:28:02.0 +0800
+++ iat-0.1.3/debian/compat 1970-01-01 08:00:00.0 +0800
@@ -1 +0,0 @@
-5
diff -Nru iat-0.1.3/debian/control iat-0.1.3/debian/control
--- iat-0.1.3/debian/control2022-12-13 06:28:02.0 +0800
+++ iat-0.1.3/debian/control2022-12-13 06:09:17.0 +0800
@@ -1,13 +1,13 @@
 Source: iat
 Section: otherosfs
-Priority: extra
+Priority: optional
 Maintainer: Dmitry E. Oboukhov 
-Build-Depends: debhelper (>= 5)
+Build-Depends: debhelper-compat (= 12)
 Standards-Version: 3.7.3
 
 Package: iat
 Architecture: any
-Depends: ${shlibs:Depends}
+Depends: ${shlibs:Depends}, ${misc:Depends}
 Description: Converts many CD-ROM image formats to iso9660
  iat (Iso9660 Analyzer Tool) is a tool for detecting the structure 
  of many types of CD-ROM image file formats, such as BIN, MDF, PDI, 
diff -Nru iat-0.1.3/debian/patches/0001_iat_c.patch 
iat-0.1.3/debian/patches/0001_iat_c.patch
--- iat-0.1.3/debian/patches/0001_iat_c.patch   1970-01-01 08:00:00.0 
+0800
+++ iat-0.1.3/debian/patches/0001_iat_c.patch   2022-12-13 06:09:17.0 
+0800
@@ -0,0 +1,717 @@
+--- iat-0.1.3.orig/src/iat.c
 iat-0.1.3/src/iat.c
+@@ -14,84 +14,99 @@
+ along with this program; if not, write to the
+ Free Software Foundation, Inc.,
+ 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.
+-*/
++*/
+ 
+-/* Support Large File */
+ 
++/*
++ * Modified by Dmitry E. Oboukhov 
++ *  [+] Use 'getopt' function;
++ *  [+] Use STDOUT as output file (if not defined);
++ *  [*] Fix percent output.
++ */
++
++/* Support Large File */
+ #define _FILE_OFFSET_BITS 64
+ 
++#include 
+ #include 
+-#include 
+-#include 
+-#include 
++#include 
++#include 
++#include 
+ #include 
+ 
++
+ #define VERSION "0.1.3"
+ #define BLOCK_ISO_CD 2048
+ 
+-/* Signature for Image ISO-9660 */
+-const char ISO_9660_START[] = { 
+-  (char) 0x01,
+-  (char) 0x43,
+-  (char) 0x44,
+-  (char) 0x30,
+-  (char) 0x30,
+-  (char) 0x31,
+-  (char) 0x01,
+-  (char) 0x00
+-};
+-
+-const char ISO_9660[] = { 
+-  (char) 0x02,
+-  (char) 0x43,
+-  (char) 0x44,
+-  (char) 0x30,
+-  (char) 0x30,
+-  (char) 0x31,
+-  (char) 0x01,
+-  (char) 0x00
+-};
+-
+-const char ISO_9660_END[] = { 
+-  (char) 0xFF,
+-  (char) 0x43,
+-  (char) 0x44,
+-  (char) 0x30,
+-  (char) 0x30,
+-  (char) 0x31,
+-  (char) 0x01,
+-  (char) 0x00
+-};
+-
+-/* Signature for RAW image */
+-const char SYNC_RAW[12] = { 
+-  (char) 0x00,
+-  (char) 0xFF,
+-  (char) 0xFF,
+-  (char) 0xFF,
+-  (char) 0xFF,
+-  (char) 0xFF,
+-  (char) 0xFF,
+-  (char) 0xFF,
+-  (char) 0xFF,
+-  (char) 0xFF,
+-  (char) 0xFF,
+-  (char) 0x00
++
++#define OPTIONS_LIST   "h"
++
++
++static char *input_file=0, *output_file=0;
++
++/* Signature for Image ISO-9660 */
++const char ISO_9660_START[] = { 
++  (char) 0x01,
++  (char) 0x43,
++  (char) 0x44,
++  (char) 0x30,
++  (char) 0x30,
++  (char) 0x31,
++  (char) 0x01,
++  (char) 0x00
++};
++
++const char ISO_9660[] = { 
++  (char) 0x02,
++  (char) 0x43,
++  (char) 0x44,
++  (char) 0x30,
++  (char) 0x30,
++  (char) 0x31,
++  (char) 0x01,
++  (char) 0x00
++};
++
++const char ISO_9660_END[] = { 
++  (char) 0xFF,
++  (char) 0x43,
++  (char) 0x44,
++  (char) 0x30,
++  (char) 0x30,
++  (char) 0x31,
++  (char) 0x01,
++  (char) 0x00
++};
++
++/* Signature for RAW image */
++const char SYNC_RAW[12] = { 
++  (char) 0x00,
++  (char) 0xFF,
++  (char) 0xFF,
++  (char) 0xFF,
++  (char) 0xFF,
++  (char) 0xFF,
++  (char) 0xFF,
++  (char) 0xFF,
++  (char) 0xFF,
++  (char) 0xFF,
++  (char) 0xFF,
++  (char) 0x00
+ };
+ 
+ const char SYNC_RAW_2[8] = {
+-  (char) 0x00,
+-  (char) 0x00,
+-  (char) 0x08,
+-  (char) 0x00,
+-  (char) 0x00,
+-  (char) 0x00,
+-  (char) 0x08,
+-  (char) 0x00,
++  (char) 0x00,
++  (char) 0x00,
++  (char) 0x08,
++  (char) 0x00,
++  (char) 0x00,
++  (char

Bug#965567: gramophone2: NMU to fix RC bugs.

2022-12-12 Thread Ying-Chun Liu (PaulLiu)

Hi all,

I plan to NMU this package. The debdiff is as attachment.

I'll wait to 20th Dec and then upload to delay/10 queue.

Yours,
Paul
diff -Nru gramophone2-0.8.13a/debian/changelog 
gramophone2-0.8.13a/debian/changelog
--- gramophone2-0.8.13a/debian/changelog2020-03-28 08:24:28.0 
+0800
+++ gramophone2-0.8.13a/debian/changelog2022-12-13 05:48:33.0 
+0800
@@ -1,3 +1,17 @@
+gramophone2 (0.8.13a-3.2) unstable; urgency=low
+
+  [ Ying-Chun Liu (PaulLiu)  ]
+  * Non-maintainer upload.
+  * Bump debhelper compat to 10. (Closes: #965567)
+  [ Lukas Märdian  ]
+  * Fix FTBFS by gcc-10 (Closes: #966862)
+  [ Nicolas Sévelin-Radiguet  ]
+  * Fix FTBFS by clang (Closes: #760662)
+  [ Andreas Moog  ]
+  * Include patches from Ubuntu (Closes: #738279)
+
+ -- Ying-Chun Liu (PaulLiu)   Tue, 13 Dec 2022 05:48:33 
+0800
+
 gramophone2 (0.8.13a-3.1) unstable; urgency=medium
 
   * Non-maintainer upload.
diff -Nru gramophone2-0.8.13a/debian/compat gramophone2-0.8.13a/debian/compat
--- gramophone2-0.8.13a/debian/compat   2020-03-28 07:55:12.0 +0800
+++ gramophone2-0.8.13a/debian/compat   2022-12-13 05:48:23.0 +0800
@@ -1 +1 @@
-5
+10
diff -Nru gramophone2-0.8.13a/debian/control gramophone2-0.8.13a/debian/control
--- gramophone2-0.8.13a/debian/control  2020-03-28 07:55:12.0 +0800
+++ gramophone2-0.8.13a/debian/control  2022-12-13 05:48:30.0 +0800
@@ -2,7 +2,7 @@
 Section: sound
 Priority: optional
 Maintainer: Francesco Namuri 
-Build-Depends: debhelper (>= 5), cdbs, bison, flex, dpkg-dev (>= 1.16.1~), 
quilt
+Build-Depends: debhelper (>= 10), cdbs, bison, flex, dpkg-dev (>= 1.16.1~), 
quilt
 Standards-Version: 3.9.5
 Homepage: http://gramophone2.sourceforge.net/
 
diff -Nru gramophone2-0.8.13a/debian/patches/clang_FTBFS.patch 
gramophone2-0.8.13a/debian/patches/clang_FTBFS.patch
--- gramophone2-0.8.13a/debian/patches/clang_FTBFS.patch1970-01-01 
08:00:00.0 +0800
+++ gramophone2-0.8.13a/debian/patches/clang_FTBFS.patch2022-12-13 
05:48:33.0 +0800
@@ -0,0 +1,14 @@
+Description: fix FTBFS with clang [-Wreturn-type]
+Author: Nicolas Sévelin-Radiguet 
+Last-Update: 2014-09-06
+--- a/midifile.c
 b/midifile.c
+@@ -156,7 +156,7 @@
+   int format, ntrks, division;
+ 
+   if ( readmt("MThd") == EOF )
+-  return;
++  return -1;
+ 
+   Mf_toberead = read32bit();
+   format = read16bit();
diff -Nru gramophone2-0.8.13a/debian/patches/fix_gcc.patch 
gramophone2-0.8.13a/debian/patches/fix_gcc.patch
--- gramophone2-0.8.13a/debian/patches/fix_gcc.patch2020-03-28 
08:23:54.0 +0800
+++ gramophone2-0.8.13a/debian/patches/fix_gcc.patch1970-01-01 
08:00:00.0 +0800
@@ -1,27 +0,0 @@
-Description: Fix FTBFS with GCC
-
-Author: Sudip Mukherjee 
-

-
 gramophone2-0.8.13a.orig/Makefile
-+++ gramophone2-0.8.13a/Makefile
-@@ -1,7 +1,8 @@
- CC=gcc
- #CFLAGS+=-O2
- #Decomment this line if you use Linux:
--CFLAGS+=-O2 -lm
-+CFLAGS+=-O2
-+LIBS+=-lm
- 
- DESTDIR=/usr/local
- 
-@@ -9,7 +10,7 @@ default:  GRAMophone.tab.c
-   $(CC) $(CPPFLAGS) $(CFLAGS) $(LDFLAGS) -o gramophone2 
GRAMophone.c\
-   grammyVM.c init.c midicode.c\
-   midifile.c expcode.c debug.c errors.c\
--  hash.c GRAMophone.tab.c
-+  hash.c GRAMophone.tab.c $(LIBS)
- 
- GRAMophone.tab.c: lex.yy.c
-   bison -d GRAMophone.y
diff -Nru gramophone2-0.8.13a/debian/patches/Makefile.diff 
gramophone2-0.8.13a/debian/patches/Makefile.diff
--- gramophone2-0.8.13a/debian/patches/Makefile.diff2020-03-28 
07:55:12.0 +0800
+++ gramophone2-0.8.13a/debian/patches/Makefile.diff2022-12-13 
05:48:33.0 +0800
@@ -1,6 +1,26 @@
 a/Makefile
-+++ b/Makefile
-@@ -6,7 +6,7 @@
+Description: The included Makefile for unix has some problems:
+ It adds -lm to the CFLAGS. -lm is a linker option and as such
+ has no place in CFLAGS (which are used for compiler flags).
+ Due to this, -lm appears on the command line way before any
+ object files. This leads to it being discarded when the linker
+ flag --as-needed is set. An example failure can be observed under
+ Ubuntu: /«PKGBUILDDIR»/grammyVM.c:1498: undefined reference to `log10'
+Forwarded: yes, 
https://sourceforge.net/p/gramophone2/bugs/3/attachment/Makefile
+Bug: https://sourceforge.net/p/gramophone2/bugs/3/
+Bug-Ubuntu: https://bugs.launchpad.net/bugs/1277954
+
+Index: gramophone2-0.8.13a/Makefile
+===
+--- gramophone2-0.8.13a.orig/Makefile  2014-02-08 21:45:36.087812116 +0100
 gramophone2-0.8.13a/Makefile   2014-02-08 21:46:00.875811707 +0100
+@@ -1,15 +1,16 @@
+ CC=gcc
+ #CFLAGS+=-O2
+ #Decomment this line if you use Linux:
+-CFLAGS+=-O2 -lm
++CFLAGS+=-O2
++LDLIBS+=-lm
+ 
  DESTDIR=/usr/local
  
  default:  GRAMopho

Bug#965484: dbench: NMU to fix RC bugs.

2022-12-12 Thread Ying-Chun Liu (PaulLiu)

Hi all,

I plan to NMU to fix #965484 and #999156

The debdiff is as attachment.

I'll wait until 20th Dec and upload to delay/10 queue.

Yours,
Paul
diff -Nru dbench-4.0/dbench.1 dbench-4.0/dbench.1
--- dbench-4.0/dbench.1 2022-12-13 05:40:37.0 +0800
+++ dbench-4.0/dbench.1 2008-02-18 08:49:35.0 +0800
@@ -2,7 +2,7 @@
 .\" First parameter, NAME, should be all caps
 .\" Second parameter, SECTION, should be 1-8, maybe w/ subsection
 .\" other parameters are allowed: see man(7), man(1)
-.TH DBENCH 1 "June 18, 2005"
+.TH DBENCH 1 "October 15, 2001"
 .\" Please adjust this date whenever revising the manpage.
 .\"
 .\" Some roff macros, for reference:
@@ -43,17 +43,15 @@
 and WindowsNT.
 .br
 Given the requirements of running netbench (60 and 150 Windows PCs all
-on switched fast ethernet and a really grunty server, and some way to
-nurse all those machines along so they will run a very fussy benchmark
-suite without crashing), these programs were written to open up
+on switched fast ethernet and a really grunty server, and a to open up
 netbench to the masses.
 .br
 Both \fBdbench\fP and \fBtbench\fP read a load description file called
-client.txt that was derived from a network sniffer dump of a real
-netbench run. client.txt is about 4MB and describes the 90 thousand
-operations that a netbench client does in a typical netbench run. They
-parse client.txt and use it to produce the same load without having to
-buy a huge lab.
+client.txt that was derived from a capture of a real
+netbench run. client.txt is about 25MB and describes the
+500 thousand operations that a netbench client does in a typical
+netbench run. They parse client.txt and use it to produce
+the same load without having to buy a huge lab.
 .br
 dbench produces only the filesystem load. It does all the same IO
 calls that the smbd server in Samba would produce when confronted with
@@ -92,6 +90,10 @@
 should be invoked on that server before invoking \fBtbench\fP.
 \fBtbench\fP can also take the following options:
 .TP
+.B \-c loadfile
+Use this as the full path name of the client.txt file (the default is
+/usr/share/dbench/client.txt).
+.TP
 .B \-T option[,...]
 This sets the socket options for the connection to the server.  The
 options are a comma-separated list of one or more of the following:
@@ -112,13 +114,12 @@
 for details about these options.
 .br
 The \fBtbench_srv\fP can only take one option:
-.B \-T option[,...]
+.B \-t option[,...]
 as documented above.
 .SH SEE ALSO
 .I /usr/share/doc/dbench/README
 contains the original README by Andrew Tridgell which accompanies the
 dbench source.
 .SH AUTHOR
-This manual page was originally written by Paul Russell 
,
-for the Debian GNU/Linux system (but may be used by others). Modified and 
updated by
-Mattias Nordstrom .
+This manual page was written by Paul Russell ,
+for the Debian GNU/Linux system (but may be used by others).
diff -Nru dbench-4.0/debian/changelog dbench-4.0/debian/changelog
--- dbench-4.0/debian/changelog 2022-12-13 05:40:37.0 +0800
+++ dbench-4.0/debian/changelog 2022-12-12 22:43:32.0 +0800
@@ -1,3 +1,12 @@
+dbench (4.0-2.1) unstable; urgency=low
+
+  * Non-maintainer upload.
+  * Bump debhelper compat to 12. (Closes: #965484)
+  * debian/rules: use dh. (Closes: #999156)
+  * Port to DebSrc3.0 (quilt)
+
+ -- Ying-Chun Liu (PaulLiu)   Mon, 12 Dec 2022 22:43:32 
+0800
+
 dbench (4.0-2) unstable; urgency=low
 
   * Added build-depends on autoconf, fixes FTBFS (closes: #524415)
diff -Nru dbench-4.0/debian/clean dbench-4.0/debian/clean
--- dbench-4.0/debian/clean 1970-01-01 08:00:00.0 +0800
+++ dbench-4.0/debian/clean 2022-12-12 22:43:32.0 +0800
@@ -0,0 +1,4 @@
+Makefile
+config.h
+config.log
+config.status
diff -Nru dbench-4.0/debian/compat dbench-4.0/debian/compat
--- dbench-4.0/debian/compat2022-12-13 05:40:37.0 +0800
+++ dbench-4.0/debian/compat1970-01-01 08:00:00.0 +0800
@@ -1 +0,0 @@
-5
diff -Nru dbench-4.0/debian/control dbench-4.0/debian/control
--- dbench-4.0/debian/control   2022-12-13 05:40:37.0 +0800
+++ dbench-4.0/debian/control   2022-12-12 22:43:32.0 +0800
@@ -1,13 +1,13 @@
 Source: dbench
 Section: utils
-Priority: extra
+Priority: optional
 Maintainer: Mattias Nordstrom 
-Build-Depends: debhelper (>> 5.0.0), autoconf, libpopt-dev
+Build-Depends: debhelper-compat (= 12), autoconf, libpopt-dev
 Standards-Version: 3.8.1.0
 
 Package: dbench
 Architecture: any
-Depends: ${shlibs:Depends}
+Depends: ${shlibs:Depends}, ${misc:Depends}
 Homepage: http://samba.org/ftp/tridge/dbench/
 Description: The dbench (disk) and tbench (TCP) benchmarks
  dbench and tbench simulate the load of the netbench "industry
diff -Nru dbench-4.0/debian/dbench.manpages dbench-4.0/debian/dbench.manpages
--- dbench-4.0/debian/dbench.manpages   1970-01-01 08:00:00.0 +0800
+++ dbench-4.0/debian/dbench.manpages   2022-12-12 22:4

Bug#965695: libuninum: NMU to fix RC bugs.

2022-12-12 Thread Ying-Chun Liu (PaulLiu)

Hi all,

I plan to fix #965695 and #999178

The debdiff is as attachment.

Will upload to delay/10 queue after 10 days

Yours,
Paul


diff -Nru libuninum-2.7/debian/changelog libuninum-2.7/debian/changelog
--- libuninum-2.7/debian/changelog  2022-12-12 21:19:30.0 +0800
+++ libuninum-2.7/debian/changelog  2022-12-12 17:56:29.0 +0800
@@ -1,3 +1,13 @@
+libuninum (2.7-1.2) unstable; urgency=low
+
+  * Non-maintainer upload.
+  * Bump debhelper compat to 12 (Closes: #965695)
+  * debian/rules: use dh. (Closes: #999178)
+  * Port to DebSrc3.0 (quilt) format.
+  * Add autopkgtest
+
+ -- Ying-Chun Liu (PaulLiu)   Mon, 12 Dec 2022 17:56:29 
+0800
+
 libuninum (2.7-1.1) unstable; urgency=low
 
   * Non-maintainer upload.
diff -Nru libuninum-2.7/debian/compat libuninum-2.7/debian/compat
--- libuninum-2.7/debian/compat 2022-12-12 21:19:30.0 +0800
+++ libuninum-2.7/debian/compat 1970-01-01 08:00:00.0 +0800
@@ -1 +0,0 @@
-5
diff -Nru libuninum-2.7/debian/control libuninum-2.7/debian/control
--- libuninum-2.7/debian/control2022-12-12 21:19:30.0 +0800
+++ libuninum-2.7/debian/control2022-12-12 17:56:29.0 +0800
@@ -1,7 +1,7 @@
 Source: libuninum
-Priority: extra
+Priority: optional
 Maintainer: Bartosz Fenski 
-Build-Depends: debhelper (>= 5), autotools-dev, libgmp3-dev
+Build-Depends: debhelper-compat (= 12), libgmp3-dev
 Standards-Version: 3.7.3
 Section: libs
 Homepage: http://billposer.org/Software/libuninum.html
@@ -9,7 +9,7 @@
 Package: libuninum-dev
 Section: libdevel
 Architecture: any
-Depends: libuninum5 (>= ${binary:Version})
+Depends: libuninum5 (= ${binary:Version}), ${misc:Depends}
 Description: development files for Libuninum library
  Libuninum is a library for converting Unicode strings to numbers and numbers 
to
  Unicode strings. Standard functions like strtoul, strtod, and sprintf do
@@ -24,7 +24,7 @@
 Package: libuninum5
 Section: libs
 Architecture: any
-Depends: ${shlibs:Depends}
+Depends: ${shlibs:Depends}, ${misc:Depends}
 Description: library for handling numbers as Unicode strings
  Libuninum is a library for converting Unicode strings to numbers and numbers 
to
  Unicode strings. Standard functions like strtoul, strtod, and sprintf do
@@ -36,7 +36,7 @@
 Package: numconv
 Section: utils
 Architecture: any
-Depends: ${shlibs:Depends}
+Depends: ${shlibs:Depends}, ${misc:Depends}
 Description: utility for conversion numbers as Unicode strings
  numconv is an utility handling number system conversions and provides 
  a convenient way to delimit numbers generated by other programs without 
diff -Nru libuninum-2.7/debian/libuninum5.install 
libuninum-2.7/debian/libuninum5.install
--- libuninum-2.7/debian/libuninum5.install 2022-12-12 21:19:30.0 
+0800
+++ libuninum-2.7/debian/libuninum5.install 2022-12-12 17:56:29.0 
+0800
@@ -1 +1 @@
-usr/lib/lib*.so.*
+usr/lib/*/lib*.so.*
diff -Nru libuninum-2.7/debian/libuninum-dev.install 
libuninum-2.7/debian/libuninum-dev.install
--- libuninum-2.7/debian/libuninum-dev.install  2022-12-12 21:19:30.0 
+0800
+++ libuninum-2.7/debian/libuninum-dev.install  2022-12-12 17:56:29.0 
+0800
@@ -1,3 +1,3 @@
 usr/include/uninum/*
-usr/lib/lib*.a
-usr/lib/lib*.so
+usr/lib/*/lib*.a
+usr/lib/*/lib*.so
diff -Nru libuninum-2.7/debian/patches/0001_uninum.patch 
libuninum-2.7/debian/patches/0001_uninum.patch
--- libuninum-2.7/debian/patches/0001_uninum.patch  1970-01-01 
08:00:00.0 +0800
+++ libuninum-2.7/debian/patches/0001_uninum.patch  2022-12-12 
17:52:42.0 +0800
@@ -0,0 +1,19 @@
+--- libuninum-2.7.orig/uninum.c
 libuninum-2.7/uninum.c
+@@ -35,11 +35,11 @@
+  */
+ 
+ 
+-#define ucslen(x) wcslen((signed long *) x)
+-#define ucscpy(x,y) (UTF32 *)wcscpy((signed long *)x,(signed long *)y)
+-#define ucscat(x,y) (UTF32 *)wcscat((signed long *)x,(signed long *)y)
+-#define ucschr(x,y) (UTF32 *)wcschr((signed long *)x,(signed long)y)
+-#define ucsrchr(x,y) (UTF32 *)wcsrchr((signed long *)x,(signed long)y)
++#define ucslen(x) wcslen((wchar_t *) x)
++#define ucscpy(x,y) (UTF32 *)wcscpy((wchar_t *)x,(wchar_t *)y)
++#define ucscat(x,y) (UTF32 *)wcscat((wchar_t *)x,(wchar_t *)y)
++#define ucschr(x,y) (UTF32 *)wcschr((wchar_t *)x,(wchar_t)y)
++#define ucsrchr(x,y) (UTF32 *)wcsrchr((wchar_t *)x,(wchar_t)y)
+ 
+ #define UNINUM
+ 
diff -Nru libuninum-2.7/debian/patches/0002_unicode.patch 
libuninum-2.7/debian/patches/0002_unicode.patch
--- libuninum-2.7/debian/patches/0002_unicode.patch 1970-01-01 
08:00:00.0 +0800
+++ libuninum-2.7/debian/patches/0002_unicode.patch 2022-12-12 
17:52:57.0 +0800
@@ -0,0 +1,18 @@
+--- libuninum-2.7.orig/unicode.h
 libuninum-2.7/unicode.h
+@@ -1,8 +1,10 @@
+-typedef unsigned long UTF32;  /* at least 32 bits */
+-typedef unsigned shortUTF16;  /* at least 16 bits */
+-typedef unsigned shortUCS2;   /* at least 16 bits */
+-typedef unsigned char UTF8;   /* 8 bits */
+-typedef un

Bug#802416: zemberek-ooo: NMU to fix RC bugs

2022-12-11 Thread Ying-Chun Liu (PaulLiu)

Hi all,

I plan to fix #802416 and #965924.

The debdiff is as attachment.

I'll wait for 5 days. And then upload it to delay queue.

Teşekkürler,
Paul
diff -Nru zemberek-ooo-1.0~rc2/debian/changelog 
zemberek-ooo-1.0~rc2/debian/changelog
--- zemberek-ooo-1.0~rc2/debian/changelog   2022-12-12 09:55:38.0 
+0800
+++ zemberek-ooo-1.0~rc2/debian/changelog   2022-12-12 09:47:05.0 
+0800
@@ -1,3 +1,11 @@
+zemberek-ooo (1.0~rc2-10.5) unstable; urgency=low
+
+  * Non-maintainer upload. (Closes: #1017942)
+  * Bump debhelper compat to 10. (Closes: #965924)
+  * Fix FTBFS due to missing ure-link (Closes: #802416)
+
+ -- Ying-Chun Liu (PaulLiu)   Mon, 12 Dec 2022 09:47:05 
+0800
+
 zemberek-ooo (1.0~rc2-10.4) unstable; urgency=low
 
   * Non-maintainer upload.
diff -Nru zemberek-ooo-1.0~rc2/debian/compat zemberek-ooo-1.0~rc2/debian/compat
--- zemberek-ooo-1.0~rc2/debian/compat  2022-12-12 09:55:38.0 +0800
+++ zemberek-ooo-1.0~rc2/debian/compat  2022-12-12 08:36:14.0 +0800
@@ -1 +1 @@
-5
+10
diff -Nru zemberek-ooo-1.0~rc2/debian/control 
zemberek-ooo-1.0~rc2/debian/control
--- zemberek-ooo-1.0~rc2/debian/control 2022-12-12 09:55:38.0 +0800
+++ zemberek-ooo-1.0~rc2/debian/control 2022-12-12 09:46:55.0 +0800
@@ -2,8 +2,8 @@
 Section: text
 Priority: optional
 Maintainer: Rail Aliev 
-Build-Depends: cdbs, debhelper (>= 5), libreoffice-dev, quilt, ant
-Build-Depends-Indep: default-jdk, libreoffice-java-common, libzemberek-java, 
libzemberek-tr-java, unzip
+Build-Depends: cdbs, debhelper (>= 10), libreoffice-dev, quilt, ant
+Build-Depends-Indep: default-jdk, libreoffice-java-common, libzemberek-java, 
libzemberek-tr-java, unzip, ure-java
 Build-Conflicts: libreoffice-common (<< 1:3.5.0~)
 Standards-Version: 3.8.2
 Homepage: http://code.google.com/p/zemberek/
diff -Nru zemberek-ooo-1.0~rc2/debian/patches/build.xml.diff 
zemberek-ooo-1.0~rc2/debian/patches/build.xml.diff
--- zemberek-ooo-1.0~rc2/debian/patches/build.xml.diff  2022-12-12 
09:55:38.0 +0800
+++ zemberek-ooo-1.0~rc2/debian/patches/build.xml.diff  2022-12-12 
09:04:50.0 +0800
@@ -2,19 +2,35 @@
 # authour via email. Applied in trunk.
 # Upstream: http://code.google.com/p/zemberek/source/detail?r=414
 ===
+Index: zemberek-ooo-1.0~rc2/build.xml
+===
 --- zemberek-ooo-1.0~rc2.orig/build.xml
 +++ zemberek-ooo-1.0~rc2/build.xml
-@@ -45,11 +45,11 @@
+@@ -1,4 +1,4 @@
+-
++
+ 
+ 
+ 
+@@ -45,11 +45,7 @@



 -  
-+  
-   
-   
-   
+-  
+-  
+-  
 -  
 +  



+@@ -57,7 +53,7 @@
+ 
+   
+   
++  deprecation="${compile.deprecation}" debug="${compile.debug}" 
optimize="${compile.optimize}" encoding="utf-8">
+   
+   
+   
diff -Nru zemberek-ooo-1.0~rc2/debian/rules zemberek-ooo-1.0~rc2/debian/rules
--- zemberek-ooo-1.0~rc2/debian/rules   2022-12-12 09:55:38.0 +0800
+++ zemberek-ooo-1.0~rc2/debian/rules   2022-12-12 09:41:39.0 +0800
@@ -2,7 +2,6 @@
   
 include /usr/share/cdbs/1/class/ant.mk
 include /usr/share/cdbs/1/rules/debhelper.mk
-include /usr/share/cdbs/1/rules/patchsys-quilt.mk
 
 JAVA_HOME  :=  /usr/lib/jvm/default-java
 DEB_JARS   := zemberek zemberek-tr
diff -Nru zemberek-ooo-1.0~rc2/debian/source/format 
zemberek-ooo-1.0~rc2/debian/source/format
--- zemberek-ooo-1.0~rc2/debian/source/format   1970-01-01 08:00:00.0 
+0800
+++ zemberek-ooo-1.0~rc2/debian/source/format   2022-12-12 08:35:40.0 
+0800
@@ -0,0 +1 @@
+3.0 (quilt)


OpenPGP_0x44173FA13D05.asc
Description: OpenPGP public key


OpenPGP_signature
Description: OpenPGP digital signature


Bug#1017942: RM: zemberek-ooo -- RoQA, unmainted, low popcorn, RC-buggy

2022-12-11 Thread Ying-Chun Liu (PaulLiu)

Hi all,

I fixed all of the RC bugs. Please allow me to NMU it.
And I've tested that it still works ok.

Thanks,
Paul


OpenPGP_0x44173FA13D05.asc
Description: OpenPGP public key


OpenPGP_signature
Description: OpenPGP digital signature


Bug#965600: jack-tools: Removal of obsolete debhelper compat 5 and 6 in bookworm

2022-12-11 Thread Ying-Chun Liu (PaulLiu)

Hi all,

Since nobody wants to fixes this. I'll do the NMU.

debdiff as attachment.

Will upload this to delay/10 queue after 10 days.

Yours,
Paul
diff -Nru jack-tools-20131226/debian/changelog 
jack-tools-20131226/debian/changelog
--- jack-tools-20131226/debian/changelog2014-10-15 21:54:35.0 
+0800
+++ jack-tools-20131226/debian/changelog2022-12-12 03:22:18.0 
+0800
@@ -1,3 +1,10 @@
+jack-tools (20131226-1.1) unstable; urgency=low
+
+  * Non-maintainer upload.
+  * Bump debhelper version to 10. (Closes: #965600)
+
+ -- Ying-Chun Liu (PaulLiu)   Mon, 12 Dec 2022 03:22:18 
+0800
+
 jack-tools (20131226-1) unstable; urgency=medium
 
   * Team upload.
diff -Nru jack-tools-20131226/debian/clean jack-tools-20131226/debian/clean
--- jack-tools-20131226/debian/clean1970-01-01 08:00:00.0 +0800
+++ jack-tools-20131226/debian/clean2022-12-12 03:22:18.0 +0800
@@ -0,0 +1,10 @@
+jack-dl
+jack-osc
+jack-play
+jack-plumbing
+jack-record
+jack-scope
+jack-transport
+jack-udp
+c-common/*.o
+c-common/*.a
diff -Nru jack-tools-20131226/debian/compat jack-tools-20131226/debian/compat
--- jack-tools-20131226/debian/compat   2014-10-15 20:58:14.0 +0800
+++ jack-tools-20131226/debian/compat   2022-12-12 03:21:00.0 +0800
@@ -1 +1 @@
-6
+10
diff -Nru jack-tools-20131226/debian/control jack-tools-20131226/debian/control
--- jack-tools-20131226/debian/control  2014-10-15 21:53:24.0 +0800
+++ jack-tools-20131226/debian/control  2022-12-12 03:21:04.0 +0800
@@ -5,7 +5,7 @@
 Uploaders: Arnout Engelen ,
  Jonas Smedegaard 
 Build-Depends: cdbs,
- debhelper (>= 6),
+ debhelper (>= 10),
  bzip2,
  flex,
  freeglut3-dev,


OpenPGP_0x44173FA13D05.asc
Description: OpenPGP public key


OpenPGP_signature
Description: OpenPGP digital signature


Bug#965578: hasciicam: Removal of obsolete debhelper compat 5 and 6 in bookworm

2022-12-11 Thread Ying-Chun Liu (PaulLiu)

Hi all,

low-bandwidth streaming could be a really useful stuff.
I'll fix the RC bugs and do NMU.

This is a simple one, bump debhelper version just fixes the problem.
Please see the debdiff attachment.

I'll wait for 10 days and upload to delay/10 queue.

Yours,
Paul
diff -Nru hasciicam-1.1.2/debian/changelog hasciicam-1.1.2/debian/changelog
--- hasciicam-1.1.2/debian/changelog2011-04-27 03:31:53.0 +0800
+++ hasciicam-1.1.2/debian/changelog2022-12-12 02:40:02.0 +0800
@@ -1,3 +1,10 @@
+hasciicam (1.1.2-1.1) unstable; urgency=low
+
+  * Non-maintainer upload.
+  * Bump debhelper compat to 9. (Closes: #965578)
+
+ -- Ying-Chun Liu (PaulLiu)   Mon, 12 Dec 2022 02:40:02 
+0800
+
 hasciicam (1.1.2-1) unstable; urgency=low
 
   * New upstream release
diff -Nru hasciicam-1.1.2/debian/compat hasciicam-1.1.2/debian/compat
--- hasciicam-1.1.2/debian/compat   2011-04-26 21:08:13.0 +0800
+++ hasciicam-1.1.2/debian/compat   2022-12-12 02:38:57.0 +0800
@@ -1 +1 @@
-5
+9
diff -Nru hasciicam-1.1.2/debian/control hasciicam-1.1.2/debian/control
--- hasciicam-1.1.2/debian/control  2011-04-26 21:27:52.0 +0800
+++ hasciicam-1.1.2/debian/control  2022-12-12 02:39:06.0 +0800
@@ -7,7 +7,7 @@
 Vcs-Git: git://code.dyne.org/hasciicam.git
 Vcs-Browser: http://code.dyne.org/?r=hasciicam
 Homepage: http://ascii.dyne.org/
-Build-Depends: cdbs, debhelper (>> 5.0.0), libaa1-dev, ftplib-dev
+Build-Depends: cdbs, debhelper (>= 9), libaa1-dev, ftplib-dev
 Standards-Version: 3.9.1
 
 Package: hasciicam


OpenPGP_0x44173FA13D05.asc
Description: OpenPGP public key


OpenPGP_signature
Description: OpenPGP digital signature


Bug#965523: flobopuyo: Removal of obsolete debhelper compat 5 and 6 in bookworm

2022-12-11 Thread Ying-Chun Liu (PaulLiu)

Hi all,

I think flobopuyo is still a very good game and deserved to keep in 
bookworm. So I made a patch to fix this RC bug and plan to NMU.


Please see the attachment for the debdiff.

I'll upload it to delay/10 queue after 10 days if no one complains.

The changes are:
  * Non-maintainer upload.
  * Change source format to 3.0 (qulit)
- Use quilt instead of simple-patchsys from cdbs.
  * Bump debhelper version to 9. (Closes: #965523)

Yours,
Paul

diff -Nru flobopuyo-0.20/debian/changelog flobopuyo-0.20/debian/changelog
--- flobopuyo-0.20/debian/changelog 2022-12-12 02:25:33.0 +0800
+++ flobopuyo-0.20/debian/changelog 2022-12-12 01:59:50.0 +0800
@@ -1,3 +1,12 @@
+flobopuyo (0.20-5.1) unstable; urgency=low
+
+  * Non-maintainer upload.
+  * Change source format to 3.0 (qulit)
+- Use quilt instead of simple-patchsys from cdbs.
+  * Bump debhelper version to 9. (Closes: #965523)
+
+ -- Ying-Chun Liu (PaulLiu)   Mon, 12 Dec 2022 01:59:50 
+0800
+
 flobopuyo (0.20-5) unstable; urgency=low
 
   * Fix "FTBFS with binutils-gold" (Closes: #554359).
diff -Nru flobopuyo-0.20/debian/compat flobopuyo-0.20/debian/compat
--- flobopuyo-0.20/debian/compat2022-12-12 02:25:33.0 +0800
+++ flobopuyo-0.20/debian/compat2022-12-12 01:06:58.0 +0800
@@ -1 +1 @@
-5
+9
diff -Nru flobopuyo-0.20/debian/control flobopuyo-0.20/debian/control
--- flobopuyo-0.20/debian/control   2022-12-12 02:25:33.0 +0800
+++ flobopuyo-0.20/debian/control   2022-12-12 01:07:20.0 +0800
@@ -2,7 +2,7 @@
 Section: games
 Priority: optional
 Maintainer: Uwe Hermann 
-Build-Depends: cdbs, debhelper (>= 5), libsdl-image1.2-dev, 
libsdl-mixer1.2-dev, libsdl1.2-dev, flex, bison, sharutils
+Build-Depends: cdbs, debhelper (>= 9), libsdl-image1.2-dev, 
libsdl-mixer1.2-dev, libsdl1.2-dev, flex, bison, sharutils
 Standards-Version: 3.9.1
 Homepage: http://www.fovea.cc/flobopuyo-en
 
diff -Nru flobopuyo-0.20/debian/patches/20_makefile_prefix.patch 
flobopuyo-0.20/debian/patches/20_makefile_prefix.patch
--- flobopuyo-0.20/debian/patches/20_makefile_prefix.patch  2022-12-12 
02:25:33.0 +0800
+++ flobopuyo-0.20/debian/patches/20_makefile_prefix.patch  2022-12-12 
01:29:35.0 +0800
@@ -1,6 +1,8 @@
 Makefile.orig  2008-04-15 13:54:47.0 +0200
-+++ Makefile   2008-04-15 13:58:35.0 +0200
-@@ -12,7 +12,7 @@
+Index: flobopuyo-0.20/Makefile
+===
+--- flobopuyo-0.20.orig/Makefile
 flobopuyo-0.20/Makefile
+@@ -12,7 +12,7 @@ ENABLE_DGA=false
  DEBUG_MODE=false
  
  # Unix/Linux settings
diff -Nru flobopuyo-0.20/debian/patches/30_datadir.patch 
flobopuyo-0.20/debian/patches/30_datadir.patch
--- flobopuyo-0.20/debian/patches/30_datadir.patch  2022-12-12 
02:25:33.0 +0800
+++ flobopuyo-0.20/debian/patches/30_datadir.patch  2022-12-12 
01:30:27.0 +0800
@@ -1,5 +1,7 @@
 main.cpp.orig  2006-04-21 23:09:02.0 +0200
-+++ main.cpp   2006-04-21 23:09:20.0 +0200
+Index: flobopuyo-0.20/main.cpp
+===
+--- flobopuyo-0.20.orig/main.cpp
 flobopuyo-0.20/main.cpp
 @@ -7,7 +7,7 @@
  #include "PuyoCommander.h"
  
diff -Nru flobopuyo-0.20/debian/patches/50_handle_nostrip.patch 
flobopuyo-0.20/debian/patches/50_handle_nostrip.patch
--- flobopuyo-0.20/debian/patches/50_handle_nostrip.patch   2022-12-12 
02:25:33.0 +0800
+++ flobopuyo-0.20/debian/patches/50_handle_nostrip.patch   2022-12-12 
01:31:14.0 +0800
@@ -1,6 +1,8 @@
 Makefile.orig  2008-04-15 16:43:36.0 +0200
-+++ Makefile   2008-04-15 16:43:42.0 +0200
-@@ -178,7 +178,6 @@
+Index: flobopuyo-0.20/Makefile
+===
+--- flobopuyo-0.20.orig/Makefile
 flobopuyo-0.20/Makefile
+@@ -178,7 +178,6 @@ clean:
rm -f  .DS_Store */.DS_Store */*/.DS_Store .gdb_history
  
  install: flobopuyo
diff -Nru flobopuyo-0.20/debian/patches/80_fix_typo.patch 
flobopuyo-0.20/debian/patches/80_fix_typo.patch
--- flobopuyo-0.20/debian/patches/80_fix_typo.patch 2022-12-12 
02:25:33.0 +0800
+++ flobopuyo-0.20/debian/patches/80_fix_typo.patch 2022-12-12 
01:32:03.0 +0800
@@ -1,8 +1,10 @@
 Fix a typo to silence lintian.
 
 sofont.c.orig  2011-03-13 22:55:42.0 +0100
-+++ sofont.c   2011-03-13 22:55:50.0 +0100
-@@ -291,7 +291,7 @@
+Index: flobopuyo-0.20/sofont.c
+===
+--- flobopuyo-0.20.orig/sofont.c
 flobopuyo-0.20/sofont.c
+@@ -291,7 +291,7 @@ SoFont_load (SoFont * font, IIM_Surface
int _Spacing[256];
  
if (!FontSurface) {
diff -Nru flobopuyo-0.20/debian/patches/series 
flobopuyo-0.20/debian/patches/series
--- flobopuyo-0.20/debian/patches/series1970-01-01 08:00:00.0

Bug#780484: filler: NMU to fix RC bugs.

2022-12-11 Thread Ying-Chun Liu (PaulLiu)

Hi all,

I plan to fix #965521 and #998958, and #780484.

The debdiff is as attachment.

The plan is,
I'll wait for 10 days to see if any more comments.
And then I'll upload it to delay/10 queue.

The changes are as following:
  * Non-maintainer upload.
  * Bump debhelper to 12 (Closes: #965521)
- debian/rules: port to use dh (Closes: #998958)
  * Port to DebSrc3.0 (quilt)
  * Distribute manpage (Closes: #780484)

Yours,
Paul
diff -Nru filler-1.02/debian/changelog filler-1.02/debian/changelog
--- filler-1.02/debian/changelog2022-12-12 00:45:39.0 +0800
+++ filler-1.02/debian/changelog2022-12-10 03:20:44.0 +0800
@@ -1,3 +1,16 @@
+filler (1.02-6.4) unstable; urgency=low
+
+  [ Ying-Chun Liu (PaulLiu) ]
+  * Non-maintainer upload.
+  * Bump debhelper to 12 (Closes: #965521)
+- debian/rules: port to use dh (Closes: #998958)
+  * Port to DebSrc3.0 (quilt)
+
+  [ Jean-Michel Nirgal Vourgère  ]
+  * Distribute manpage (Closes: #780484)
+
+ -- Ying-Chun Liu (PaulLiu)   Sat, 10 Dec 2022 03:20:44 
+0800
+
 filler (1.02-6.3) unstable; urgency=medium
 
   * Non-maintainer upload.
diff -Nru filler-1.02/debian/clean filler-1.02/debian/clean
--- filler-1.02/debian/clean1970-01-01 08:00:00.0 +0800
+++ filler-1.02/debian/clean2022-12-10 03:20:44.0 +0800
@@ -0,0 +1,3 @@
+other/filler.png
+debian/filler.xpm
+filler.jar
diff -Nru filler-1.02/debian/compat filler-1.02/debian/compat
--- filler-1.02/debian/compat   2022-12-12 00:45:39.0 +0800
+++ filler-1.02/debian/compat   1970-01-01 08:00:00.0 +0800
@@ -1 +0,0 @@
-5
diff -Nru filler-1.02/debian/control filler-1.02/debian/control
--- filler-1.02/debian/control  2022-12-12 00:45:39.0 +0800
+++ filler-1.02/debian/control  2022-12-10 03:20:44.0 +0800
@@ -2,13 +2,13 @@
 Section: games
 Priority: optional
 Maintainer: James Damour (Suvarov454) 
-Build-Depends: debhelper (>= 5.0.0), dh-strip-nondeterminism
+Build-Depends: debhelper-compat (= 12), dh-strip-nondeterminism
 Build-Depends-Indep: sharutils, default-jdk
 Standards-Version: 3.8.3
 
 Package: filler
 Architecture: all
-Depends: default-jre | java1-runtime | java2-runtime
+Depends: default-jre | java1-runtime | java2-runtime, ${misc:Depends}
 Description: simple game where two players try to capture half the board
  Filler is a simple game where two players try to capture half of the board.
  Players take turns selecting colours to capture all adjacent hexes of the
diff -Nru filler-1.02/debian/filler.manpages filler-1.02/debian/filler.manpages
--- filler-1.02/debian/filler.manpages  1970-01-01 08:00:00.0 +0800
+++ filler-1.02/debian/filler.manpages  2022-12-10 03:20:44.0 +0800
@@ -0,0 +1 @@
+debian/filler.6
diff -Nru filler-1.02/debian/patches/0001_Makefile.patch 
filler-1.02/debian/patches/0001_Makefile.patch
--- filler-1.02/debian/patches/0001_Makefile.patch  1970-01-01 
08:00:00.0 +0800
+++ filler-1.02/debian/patches/0001_Makefile.patch  2022-12-10 
03:20:44.0 +0800
@@ -0,0 +1,18 @@
+Index: filler-1.02/Makefile
+===
+--- filler-1.02.orig/Makefile
 filler-1.02/Makefile
+@@ -8,10 +8,10 @@ DIR=src/friendless/games/filler
+ 
+ $(JAR):
+   mkdir classes || $(RM) -rf classes/*
+-  javac -d classes src/friendless/awt/*.java
+-  javac -classpath classes -d classes $(DIR)/*.java $(DIR)/player/*.java 
$(DIR)/remote/*.java $(DIR)/remote/messages/*.java
++  $(JAVA_HOME)/bin/javac -d classes src/friendless/awt/*.java
++  $(JAVA_HOME)/bin/javac -classpath classes:src -d classes $(DIR)/*.java 
$(DIR)/player/*.java $(DIR)/remote/*.java $(DIR)/remote/messages/*.java
+   cp -R res/* classes
+-  cd classes && jar cmf ../other/metainfo.txt $(JAR) friendless
++  cd classes && $(JAVA_HOME)/bin/jar cmf ../other/metainfo.txt $(JAR) 
friendless
+   mv classes/$(JAR) .
+ 
+ clean:
diff -Nru filler-1.02/debian/patches/0002_filler_fix_path.patch 
filler-1.02/debian/patches/0002_filler_fix_path.patch
--- filler-1.02/debian/patches/0002_filler_fix_path.patch   1970-01-01 
08:00:00.0 +0800
+++ filler-1.02/debian/patches/0002_filler_fix_path.patch   2022-12-10 
03:20:44.0 +0800
@@ -0,0 +1,10 @@
+Index: filler-1.02/other/filler
+===
+--- filler-1.02.orig/other/filler
 filler-1.02/other/filler
+@@ -1,3 +1,3 @@
+ #!/bin/sh
+-cd /usr/local/filler
+-java -Duser.language=$LANG -jar /usr/local/filler/filler.jar $*
++cd /var/games
++java -Duser.language=$LANG -jar /usr/share/java/filler.jar $*
diff -Nru filler-1.02/debian/patches/0003_add_desktop_file.patch 
filler-1.02/debian/patches/0003_add_desktop_file.patch
--- filler-1.02/debian/patches/0003_add_desktop_file.patch  1970-01-01 
08:00:00.0 +0800
+++ filler-1.02/debian/patches/0003_add_desktop_file.patch  2022-12-10 
03:20:44.0 +0800
@@ -

Bug#955830: efax-gtk: Removal of obsolete debhelper compat 5 and 6 in bookworm

2022-12-09 Thread Ying-Chun Liu (PaulLiu)

Hi all,

I plan to fix RC bugs #965505, #998956 by NMU this package.
The debdiff is as attachment.

My plan is I'll wait for 10 days to see if anyone complains in the bug 
report.

And then I'll upload to delay/10 queue.

The following changes are made:
  * Non-maintainer upload.
  * Bump debhelper version to 12. (Closes: #965505)
- Update debian/rules to use dh. (Closes: #998956)
- Remove Build-Depends on autotools-dev
  * Add debian/patches/0002-fix-format-security.patch
- Newer debhelper force format-security. Thus we need a patch.
  * Add debian/patches/0003-correct-gettext-version.patch
- Update gettext version.
  * Remove unnecessarily Build-Depends on deprecated libdbus-glib-1-dev
(Closes: #955830)


Yours,
Paul


diff -Nru efax-gtk-3.2.8/debian/changelog efax-gtk-3.2.8/debian/changelog
--- efax-gtk-3.2.8/debian/changelog 2021-02-06 22:21:12.0 +0800
+++ efax-gtk-3.2.8/debian/changelog 2022-12-09 23:39:09.0 +0800
@@ -1,3 +1,18 @@
+efax-gtk (3.2.8-2.3) unstable; urgency=low
+
+  * Non-maintainer upload.
+  * Bump debhelper version to 12. (Closes: #965505)
+- Update debian/rules to use dh. (Closes: #998956)
+- Remove Build-Depends on autotools-dev
+  * Add debian/patches/0002-fix-format-security.patch
+- Newer debhelper force format-security. Thus we need a patch.
+  * Add debian/patches/0003-correct-gettext-version.patch
+- Update gettext version.
+  * Remove unnecessarily Build-Depends on deprecated libdbus-glib-1-dev
+(Closes: #955830)
+
+ -- Ying-Chun Liu (PaulLiu)   Fri, 09 Dec 2022 23:39:09 
+0800
+
 efax-gtk (3.2.8-2.2) unstable; urgency=medium
 
   * Non-maintainer upload.
diff -Nru efax-gtk-3.2.8/debian/clean efax-gtk-3.2.8/debian/clean
--- efax-gtk-3.2.8/debian/clean 1970-01-01 08:00:00.0 +0800
+++ efax-gtk-3.2.8/debian/clean 2022-12-09 23:39:09.0 +0800
@@ -0,0 +1,2 @@
+efax/efax-0.9a.1
+efax/efix-0.9a.1
diff -Nru efax-gtk-3.2.8/debian/compat efax-gtk-3.2.8/debian/compat
--- efax-gtk-3.2.8/debian/compat2010-11-14 02:00:15.0 +0800
+++ efax-gtk-3.2.8/debian/compat1970-01-01 08:00:00.0 +0800
@@ -1 +0,0 @@
-5
diff -Nru efax-gtk-3.2.8/debian/control efax-gtk-3.2.8/debian/control
--- efax-gtk-3.2.8/debian/control   2017-03-22 19:43:43.0 +0800
+++ efax-gtk-3.2.8/debian/control   2022-12-09 23:39:09.0 +0800
@@ -2,7 +2,7 @@
 Section: comm
 Priority: optional
 Maintainer: Lior Kaplan 
-Build-Depends: debhelper (>= 5.0.0), autotools-dev, pkg-config, libgtk2.0-dev, 
libdbus-glib-1-dev, libtiff5-dev, gettext
+Build-Depends: debhelper-compat (= 12), pkg-config, libgtk2.0-dev, 
libtiff5-dev, gettext
 Standards-Version: 3.9.1
 Vcs-Git: git://git.code.sf.net/p/efax-gtk/git
 Vcs-Browser: http://sourceforge.net/p/efax-gtk/git/ci/master
diff -Nru efax-gtk-3.2.8/debian/patches/0002-fix-format-security.patch 
efax-gtk-3.2.8/debian/patches/0002-fix-format-security.patch
--- efax-gtk-3.2.8/debian/patches/0002-fix-format-security.patch
1970-01-01 08:00:00.0 +0800
+++ efax-gtk-3.2.8/debian/patches/0002-fix-format-security.patch
2022-12-09 23:39:09.0 +0800
@@ -0,0 +1,43 @@
+Description: fix for hardening
+ When bumping debhelper compat, hardening is enabled. So
+ we need to fix all the format-security errors.
+Author: Ying-Chun Liu (PaulLiu) 
+Last-Update: 2022-12-10
+Index: efax-gtk-3.2.8/src/dialogs.cpp
+===
+--- efax-gtk-3.2.8.orig/src/dialogs.cpp
 efax-gtk-3.2.8/src/dialogs.cpp
+@@ -398,7 +398,7 @@ InfoDialog::InfoDialog(const char* text,
+WinBase(caption, prog_config.window_icon_h,
+  modal, parent_p,
+  GTK_WINDOW(gtk_message_dialog_new(0, 
GtkDialogFlags(0),
+-message_type, GTK_BUTTONS_CLOSE, 
text))) {
++message_type, GTK_BUTTONS_CLOSE, 
"%s", text))) {
+ 
+   // make further specialisations for a message dialog object
+ 
+Index: efax-gtk-3.2.8/efax/efaxlib.c
+===
+--- efax-gtk-3.2.8.orig/efax/efaxlib.c
 efax-gtk-3.2.8/efax/efaxlib.c
+@@ -1943,7 +1943,7 @@ int nextopage ( OFILE *f, int page )
+   tiffinit(f) ;   /* rewind & update TIFF header */
+   break ;
+ case O_PCL:
+-  fprintf ( f->f, PCLEND ) ;
++  fprintf ( f->f, "%s", PCLEND ) ;
+   break ;
+ case O_PS:
+   fprintf ( f->f, PSPAGEEND ) ;
+Index: efax-gtk-3.2.8/efax-gtk-faxfilter/efax-gtk-socket-client.cpp
+===
+--- efax-gtk-3.2.8.orig/efax-gtk-faxfilter/efax-gtk-socket-client.cpp
 efax-gtk-3.2.8/efax-gtk-faxfilter/efax-gtk-socket-client.cpp
+@@ -87,6 +87,6 @@ int main(int argc, char* argv[]) {
+ void error_msg(const char* message) {
+ 
+   std::cerr <

Bug#965467: concalc: Removal of obsolete debhelper compat 5 and 6 in bookworm

2022-12-09 Thread Ying-Chun Liu (PaulLiu)

Hi all,

I think this bug is easy to fix.
This package uses cdbs. Bump debhelper version to 9 solves the problem.
NMU as attachment.

Using debhelper compat >= 10 will have some problems. For example, 
cannot build twice in a row.


I'll wait for 5 days and upload to delay/5 queue.
The maintainer allows lowNMU. So if anyone wants to upload it faster 
please do.


NMU diff as attachment.

Yours,
Paul


diff -Nru concalc-0.9.2/debian/changelog concalc-0.9.2/debian/changelog
--- concalc-0.9.2/debian/changelog  2011-11-13 15:19:43.0 +0800
+++ concalc-0.9.2/debian/changelog  2022-12-09 23:22:45.0 +0800
@@ -1,3 +1,10 @@
+concalc (0.9.2-2.1) unstable; urgency=low
+
+  * Non-maintainer upload.
+  * Bump debhelper version to 9.
+
+ -- Ying-Chun Liu (PaulLiu)   Fri, 09 Dec 2022 23:22:45 
+0800
+
 concalc (0.9.2-2) unstable; urgency=low
 
   * Add fix-string-format-error.patch, thanks to Eric Alexander
diff -Nru concalc-0.9.2/debian/compat concalc-0.9.2/debian/compat
--- concalc-0.9.2/debian/compat 2008-01-19 04:09:29.0 +0800
+++ concalc-0.9.2/debian/compat 2022-12-09 23:19:20.0 +0800
@@ -1 +1 @@
-6
+9
diff -Nru concalc-0.9.2/debian/control concalc-0.9.2/debian/control
--- concalc-0.9.2/debian/control2011-11-13 14:43:31.0 +0800
+++ concalc-0.9.2/debian/control2022-12-09 23:19:28.0 +0800
@@ -2,7 +2,7 @@
 Section: math
 Priority: optional
 Maintainer: Varun Hiremath 
-Build-Depends: cdbs, debhelper (>= 7), quilt
+Build-Depends: cdbs, debhelper (>= 9), quilt
 Standards-Version: 3.9.2
 Homepage: http://extcalc-linux.sourceforge.net/
 Vcs-Svn: https://bollin.googlecode.com/svn/concalc/


OpenPGP_0x44173FA13D05.asc
Description: OpenPGP public key


OpenPGP_signature
Description: OpenPGP digital signature


Bug#965494: dns-browse NMU to fix RC bugs.

2022-12-08 Thread Ying-Chun Liu (PaulLiu)

Hi all,

I plan to fix #999143 and #965494 by NMU.

Please see the debdiff as attachment.

My plan is I'll wait for 10 days to see if anyone stops me.
And I'll upload to the delay/10 queue.

The following changes are made:
  * Non-maintainer upload.
  * Port to DebSrc3.0 (quilt)
  * debian/rules: port to debhelper 12 and use dh (Closes: #999143)
- add debian/clean to clean generated manpages.
- add debian/dns-browse.manpages to install manpages.
- remove debian/compat
- debian/control: build-depends on debhelper-compat (Closes: #965494)
- add debian/dns-browse.docs to install README.
  * debian/control: dns-browse depends on ${misc:Depends}
  * debian/control: Priority: extra -> optional

Yours,
Paul

diff -Nru dns-browse-1.9/debian/changelog dns-browse-1.9/debian/changelog
--- dns-browse-1.9/debian/changelog 2022-12-09 05:27:47.0 +0800
+++ dns-browse-1.9/debian/changelog 2022-12-09 01:28:05.0 +0800
@@ -1,3 +1,18 @@
+dns-browse (1.9-8.2) unstable; urgency=low
+
+  * Non-maintainer upload.
+  * Port to DebSrc3.0 (quilt)
+  * debian/rules: port to debhelper 12 and use dh (Closes: #999143)
+- add debian/clean to clean generated manpages.
+- add debian/dns-browse.manpages to install manpages.
+- remove debian/compat
+- debian/control: build-depends on debhelper-compat (Closes: #965494)
+- add debian/dns-browse.docs to install README.
+  * debian/control: dns-browse depends on ${misc:Depends}
+  * debian/control: Priority: extra -> optional
+
+ -- Ying-Chun Liu (PaulLiu)   Fri, 09 Dec 2022 01:28:05 
+0800
+
 dns-browse (1.9-8.1) unstable; urgency=medium
 
   * Non maintainer upload by the Reproducible Builds team.
diff -Nru dns-browse-1.9/debian/clean dns-browse-1.9/debian/clean
--- dns-browse-1.9/debian/clean 1970-01-01 08:00:00.0 +0800
+++ dns-browse-1.9/debian/clean 2022-12-09 01:28:05.0 +0800
@@ -0,0 +1,2 @@
+debian/dns_browse.1
+debian/dns_tree.1
diff -Nru dns-browse-1.9/debian/compat dns-browse-1.9/debian/compat
--- dns-browse-1.9/debian/compat2022-12-09 05:27:47.0 +0800
+++ dns-browse-1.9/debian/compat1970-01-01 08:00:00.0 +0800
@@ -1 +0,0 @@
-5
diff -Nru dns-browse-1.9/debian/control dns-browse-1.9/debian/control
--- dns-browse-1.9/debian/control   2022-12-09 05:27:47.0 +0800
+++ dns-browse-1.9/debian/control   2022-12-09 01:28:05.0 +0800
@@ -1,14 +1,14 @@
 Source: dns-browse
 Section: net
-Priority: extra
+Priority: optional
 Maintainer: Javier Fernández-Sanguino Peña 
-Build-Depends: debhelper (>= 3.0.18), autoconf, tk, docbook-to-man
+Build-Depends: debhelper-compat (= 12), autoconf, tk, docbook-to-man
 Standards-Version: 3.7.2
 Homepage: http://www.isi.edu/~johnh/SOFTWARE/DNS/
 
 Package: dns-browse
 Architecture: all
-Depends: tk, dnsutils
+Depends: tk, dnsutils, ${misc:Depends}
 Description: Front-ends to DNS search
  This package provides two programs to make user lookups on DNS
  servers: dns_tree and dns_browse.
diff -Nru dns-browse-1.9/debian/dns-browse.docs 
dns-browse-1.9/debian/dns-browse.docs
--- dns-browse-1.9/debian/dns-browse.docs   1970-01-01 08:00:00.0 
+0800
+++ dns-browse-1.9/debian/dns-browse.docs   2022-12-09 01:28:05.0 
+0800
@@ -0,0 +1 @@
+README
diff -Nru dns-browse-1.9/debian/dns-browse.manpages 
dns-browse-1.9/debian/dns-browse.manpages
--- dns-browse-1.9/debian/dns-browse.manpages   1970-01-01 08:00:00.0 
+0800
+++ dns-browse-1.9/debian/dns-browse.manpages   2022-12-09 01:28:05.0 
+0800
@@ -0,0 +1,2 @@
+debian/dns_browse.1
+debian/dns_tree.1
diff -Nru dns-browse-1.9/debian/patches/0001_fix_makefile_in.patch 
dns-browse-1.9/debian/patches/0001_fix_makefile_in.patch
--- dns-browse-1.9/debian/patches/0001_fix_makefile_in.patch1970-01-01 
08:00:00.0 +0800
+++ dns-browse-1.9/debian/patches/0001_fix_makefile_in.patch2022-12-09 
01:28:05.0 +0800
@@ -0,0 +1,34 @@
+Index: dns-browse-1.9/Makefile.in
+===
+--- dns-browse-1.9.orig/Makefile.in
 dns-browse-1.9/Makefile.in
+@@ -4,6 +4,7 @@
+ # $Id: Makefile.in,v 1.5 1997/12/04 20:10:58 johnh Exp $
+ #
+ 
++DESTDIR=
+ TOSHAR=README dns_browse dns_tree \
+   Makefile.in configure configure.in install-sh release
+ PACKAGE=dns_browse
+@@ -17,10 +18,8 @@ WISH = @WISH@
+ PERL = @PERL@
+ 
+ install:
+-  { echo "#!$(WISH) -f"; cat dns_browse; } >t
+-  $(INSTALL) -m 755 t $(bindir)/dns_browse
+-  { echo "#!$(PERL) -w"; cat dns_tree; } >t
+-  $(INSTALL) -m 755 t $(bindir)/dns_tree
++  $(INSTALL) -m 755 dns_browse $(DESTDIR)$(bindir)/
++  $(INSTALL) -m 755 dns_tree $(DESTDIR)$(bindir)/
+ 
+ .tar_files: Makefile release
+   for i in $(TOSHAR); \
+@@ -38,3 +37,8 @@ tar.gz: .tar_files
+   tar cvf - `cat .tar_files` |gzip >$(PACKAGE)-`cat release`.tar.gz
+   rm ./$(PACKAGE)-`cat release`
+ 
++clean:
++ 

Bug#1025293: nmu: tpm2-tools_5.3-1

2022-12-01 Thread Ying-Chun Liu (PaulLiu)

Package: release.debian.org
User: release.debian@packages.debian.org
Usertags: binnmu
Severity: normal

nmu tpm2-tools_5.3-1 . ANY . unstable . -m "rebuild against latest tpm2-tss"

Dear release managers,

Please rebuild tpm2-tools. We have missing pkg-config dependencies
in tpm2-tss. So some of the command-line tool of tpm2-tools is not build
and install due to that.
Just rebuild tpm2-tools with tpm2-tss and those command-line tools
will be back.

Yours,
Paul



OpenPGP_0x44173FA13D05.asc
Description: OpenPGP public key


OpenPGP_signature
Description: OpenPGP digital signature


Bug#1024545: ITP: minetest-mod-advmarkers-csm -- Minetest mod - marker/waypoint CSM for Minetest

2022-11-21 Thread Ying-Chun Liu (PaulLiu)

Package: wnpp
Severity: wishlist
Owner: "Ying-Chun Liu (PaulLiu)" 

* Package name: minetest-mod-advmarkers-csm
  Version : 0.0~git20220709.a6f6170
  Upstream Author : luk3yx
* URL : https://github.com/luk3yx/minetest-advmarkers-csm
* License : Expat
  Programming Lang: Lua
  Description : Minetest mod - marker/waypoint CSM for Minetest
 This client side mod provides a set of commands to record the coordinates
 in minetest game.


OpenPGP_0x44173FA13D05.asc
Description: OpenPGP public key


OpenPGP_signature
Description: OpenPGP digital signature


Bug#1024509: ITP: minetest-mod-meshport -- Minetest mod - export areas to meshes for 3D rendering

2022-11-20 Thread Ying-Chun Liu (PaulLiu)

Package: wnpp
X-Debbugs-Cc: debian-de...@lists.debian.org
Owner: "Ying-Chun Liu (PaulLiu)" 
Severity: wishlist

* Package name: minetest-mod-meshport
  Version : 0.2.2
  Upstream Author : random-geek (https://github.com/random-geek)
* URL : https://github.com/random-geek/meshport
* License : LGPL-3.0+
  Programming Lang: Lua
  Description : Minetest mod - export areas to meshes for 3D rendering.
 Meshport is a mod which allows easy exporting of scenes from Minetest to
 obj files, complete with materials and textures. These models can be 
imported

 directly into Blender or another 3D program for rendering and animation.


OpenPGP_0x44173FA13D05.asc
Description: OpenPGP public key


OpenPGP_signature
Description: OpenPGP digital signature


Bug#1012616: xtrx-dkms: DKMS build fails with implicit declaration of functions

2022-11-16 Thread Ying-Chun Liu (PaulLiu)

Hi all,

The upstream commit 1262071c467391cdc5d757c43c74026ac7f9f66f fixes this bug.

https://github.com/xtrx-sdr/xtrx_linux_pcie_drv/commit/1262071c467391cdc5d757c43c74026ac7f9f66f

I can fix this bug by just directly "git format-patch" and "quilt import".

I think we can package a newer version.
Or I'll do an NMU after 10 days if no one complains.
My plan is.
1. Wait for more than 10 days if no one acts on this bug report.
2. NMU, upload to delay/10 queue. With priority=low.

debdiff as attachment.

Yours,
Paul

From 1262071c467391cdc5d757c43c74026ac7f9f66f Mon Sep 17 00:00:00 2001
From: Gwenhael Goavec-Merou 
Date: Thu, 21 Jul 2022 04:54:30 +
Subject: [PATCH] xtrx: fix PCI DMA allow/free with kernel >= 5.18

---
 xtrx.c | 20 
 1 file changed, 20 insertions(+)

diff --git a/xtrx.c b/xtrx.c
index c9ac97b..5433f79 100644
--- a/xtrx.c
+++ b/xtrx.c
@@ -621,11 +621,19 @@ static int xtrx_allocdma(struct xtrx_dev *d, struct xtrx_dmabuf_nfo *pbufs, unsi
 {
 	int i;
 	for (i = 0; i < BUFS; i++) {
+#if LINUX_VERSION_CODE < KERNEL_VERSION(5, 18, 0)
 		pbufs[i].virt = pci_alloc_consistent(d->pdev, buflen, [i].phys);
+#else
+		pbufs[i].virt = dma_alloc_coherent(>pdev->dev, buflen, [i].phys, GFP_KERNEL);
+#endif
 		if (!pbufs[i].virt) {
 			printk(KERN_INFO PFX "Failed to allocate %d DMA buffer", i);
 			for (; i >= 0; --i) {
+#if LINUX_VERSION_CODE < KERNEL_VERSION(5, 18, 0)
 pci_free_consistent(d->pdev, buflen, pbufs[i].virt, pbufs[i].phys);
+#else
+dma_free_coherent(>pdev->dev, buflen, pbufs[i].virt, pbufs[i].phys);
+#endif
 			}
 			return -1;
 		}
@@ -666,7 +674,11 @@ static void xtrx_freedma_rx(struct xtrx_dev *d)
 {
 	int i;
 	for (i = 0; i < BUFS; i++) {
+#if LINUX_VERSION_CODE < KERNEL_VERSION(5, 18, 0)
 		pci_free_consistent(d->pdev, d->buf_rx_size, d->buf_rx[i].virt, d->buf_rx[i].phys);
+#else
+		dma_free_coherent(>pdev->dev, d->buf_rx_size, d->buf_rx[i].virt, d->buf_rx[i].phys);
+#endif
 	}
 	d->buf_rx_size = 0;
 }
@@ -675,7 +687,11 @@ static void xtrx_freedma_tx(struct xtrx_dev *d)
 {
 	int i;
 	for (i = 0; i < BUFS; i++) {
+#if LINUX_VERSION_CODE < KERNEL_VERSION(5, 18, 0)
 		pci_free_consistent(d->pdev, d->buf_tx_size, d->buf_tx[i].virt, d->buf_tx[i].phys);
+#else
+		dma_free_coherent(>pdev->dev, d->buf_tx_size, d->buf_tx[i].virt, d->buf_tx[i].phys);
+#endif
 	}
 	d->buf_tx_size = 0;
 }
@@ -1162,7 +1178,11 @@ static int xtrx_probe(struct pci_dev *pdev,
 
 	pci_set_master(pdev);
 
+#if LINUX_VERSION_CODE < KERNEL_VERSION(5, 18, 0)
 	if (pci_set_consistent_dma_mask(pdev, DMA_BIT_MASK(32))) {
+#else
+	if (dma_set_mask_and_coherent(>dev, DMA_BIT_MASK(32))) {
+#endif
 		dev_err(>dev,"No suitable consistent DMA available.\n");
 		goto err_disable_pdev;
 	}
-- 
2.35.1

diff -Nru xtrx-dkms-0.0.1+git20190320.5ae3a3e/debian/changelog 
xtrx-dkms-0.0.1+git20190320.5ae3a3e/debian/changelog
--- xtrx-dkms-0.0.1+git20190320.5ae3a3e/debian/changelog2022-06-04 
19:12:14.0 +0800
+++ xtrx-dkms-0.0.1+git20190320.5ae3a3e/debian/changelog2022-11-17 
13:30:42.0 +0800
@@ -1,3 +1,12 @@
+xtrx-dkms (0.0.1+git20190320.5ae3a3e-3.1) unstable; urgency=low
+
+  * Non-maintainer upload.
+  * Fix dkms build failure (Closes: #1012616)
+- Add 0001-xtrx-fix-PCI-DMA-allow-free-with-kernel-5.18.patch
+- This patch is from the upstream commit 1262071c467391cd.
+
+ -- Ying-Chun Liu (PaulLiu)   Thu, 17 Nov 2022 13:30:42 
+0800
+
 xtrx-dkms (0.0.1+git20190320.5ae3a3e-3) unstable; urgency=medium
 
   * Team upload.
diff -Nru 
xtrx-dkms-0.0.1+git20190320.5ae3a3e/debian/patches/0001-xtrx-fix-PCI-DMA-allow-free-with-kernel-5.18.patch
 
xtrx-dkms-0.0.1+git20190320.5ae3a3e/debian/patches/0001-xtrx-fix-PCI-DMA-allow-free-with-kernel-5.18.patch
--- 
xtrx-dkms-0.0.1+git20190320.5ae3a3e/debian/patches/0001-xtrx-fix-PCI-DMA-allow-free-with-kernel-5.18.patch
  1970-01-01 08:00:00.0 +0800
+++ 
xtrx-dkms-0.0.1+git20190320.5ae3a3e/debian/patches/0001-xtrx-fix-PCI-DMA-allow-free-with-kernel-5.18.patch
  2022-11-17 13:30:42.0 +0800
@@ -0,0 +1,72 @@
+From 1262071c467391cdc5d757c43c74026ac7f9f66f Mon Sep 17 00:00:00 2001
+From: Gwenhael Goavec-Merou 
+Date: Thu, 21 Jul 2022 04:54:30 +
+Subject: [PATCH] xtrx: fix PCI DMA allow/free with kernel >= 5.18
+
+---
+ xtrx.c | 20 
+ 1 file changed, 20 insertions(+)
+
+diff --git a/xtrx.c b/xtrx.c
+index c9ac97b..5433f79 100644
+--- a/xtrx.c
 b/xtrx.c
+@@ -621,11 +621,19 @@ static int xtrx_allocdma(struct xtrx_dev *d, struct 
xtrx_dmabuf_nfo *pbufs, unsi
+ {
+   int i;
+   for (i = 0; i < BUFS; i++) {
++#if LINUX_VERSION_CODE < KERNEL_VERSION(5, 18, 0)
+   pbufs[i].virt = pci_alloc_consistent(d->pdev, buflen, 
[i].phys);
++#else
++  pbufs[i].virt = dma_alloc_coherent(>pdev->dev, buflen, 
[i].phys, GFP_KE

Bug#907178: gimp-plugin-registry: resynthesizer not appearing in menu Filters/Enhance

2022-11-07 Thread Ying-Chun Liu (PaulLiu)

Hi,

Yes, we ported that plugin to Python3.
However, gimp in Debian is too old.
There was a package called gimp-python which is python2 and got removed.
Thus right now in Debian we have to disable all python plugins temporarily.
We will bring those plugins back when gimp-python3 is available.

This is not a bug of this package. This should be a bug of gimp.

Yours,
Paul


OpenPGP_0x44173FA13D05.asc
Description: OpenPGP public key


OpenPGP_signature
Description: OpenPGP digital signature


Bug#992675: resynthesizer missing in bullseye

2022-11-07 Thread Ying-Chun Liu (PaulLiu)

Hi,

Yes, we ported that plugin to Python3.
However, gimp in Debian is too old.
There was a package called gimp-python which is python2 and got removed.
Thus right now in Debian we have to disable all python plugins temporarily.
We will bring those plugins back when gimp-python3 is available.

Yours,
Paul


OpenPGP_0x44173FA13D05.asc
Description: OpenPGP public key


OpenPGP_signature
Description: OpenPGP digital signature


Bug#1023452: gimp-plugin-registry: Separate+ plugin crashes

2022-11-07 Thread Ying-Chun Liu (PaulLiu)

Hi Andreas,

Thanks for the patch. I can reproduce this bug.

I also write this test to test if separate runs ok.
Will upload it soon.

Yours,
Paul
#/bin/sh

TEMP=${AUTOPKGTEST_TMP:-${TMPDIR:-$(mktemp -d)}}
TDIR=$(mktemp -d $TEMP/test-separate-1-XX)

convert /usr/share/wallpapers/EveningGlow/contents/images/2560x1440.jpg -resize 
'640x480!' "$TDIR"/origin.jpg

sleep 1

echo "Run separate+..."
gimp-console -i -b "(let* ((i1 (car (gimp-file-load 1 \"$TDIR/origin.jpg\" 
\"$TDIR/origin.jpg\"))) (layer1 (car (gimp-image-get-active-layer i1))) 
(cmykimg (car (plug-in-separate-full 1 i1 layer1 
\"/usr/share/color/icc/colord/SMPTE-C-RGB.icc\" FALSE 
\"/usr/share/color/icc/ghostscript/gray_to_k.icc\" 1 FALSE FALSE FALSE 
FALSE (gimp-xcf-save 1 cmykimg (car (gimp-image-get-active-drawable 
cmykimg)) \"$TDIR/output.xcf\" \"$TDIR/output.xcf\") (gimp-quit 1))"

sleep 2

if [ ! -e "$TDIR"/output.xcf ]; then
   echo "No output.xcf"
   exit 404
fi


OpenPGP_0x44173FA13D05.asc
Description: OpenPGP public key


OpenPGP_signature
Description: OpenPGP digital signature


Bug#1023464: RM: nicovideo-dl -- ROM; dead-upstream

2022-11-04 Thread Ying-Chun Liu (PaulLiu)

Package: ftp.debian.org
Severity: wishlist

Please remove nicovideo-dl. It is not working anymore.

1. We have better replacements. "youtube-dl" and "yt-dlp" are also able 
to download videos from nicovideo. Both of them have plugin designs so 
they can download videos from different sites and very decent.


2. Actually I am the upstream. This program is written because at very 
beginning nicovideo is a Flash video site. And I'm a main-only user so I 
don't have flash plugin installed. Thus I have to download the video 
instead of watching it in the browser. However, nicovideo already 
migrates to HTML5 for many years. I still watch nicovideos but now I 
watch nicovideos directly in the browser. I just cannot remember when is 
the last time I use this program to download videos. And when I tried it 
today it is not working anymore. Though fixing it is not hard but I 
think since we have other better tools to do the same job, so let's just 
RM it from Debian instead of fixing it.


Yours,
Paul


OpenPGP_0x44173FA13D05.asc
Description: OpenPGP public key


OpenPGP_signature
Description: OpenPGP digital signature


Bug#965600: jack-tools: Removal of obsolete debhelper compat 5 and 6 in bookworm

2022-11-03 Thread Ying-Chun Liu (PaulLiu)

Hi,

It seems to me that this can be fixed easily. Just bump the debhelper 
version from 6 to 10.

Modify debian/control and debian/compat is quite enough.

Yours,
Paul


OpenPGP_0x44173FA13D05.asc
Description: OpenPGP public key


OpenPGP_signature
Description: OpenPGP digital signature


Bug#1023314: ITP: linaro-bcb-util -- simple tool for read/write BCB

2022-11-02 Thread Ying-Chun Liu (PaulLiu)

Package: wnpp
X-Debbugs-Cc: debian-de...@lists.debian.org
Owner: "Ying-Chun Liu (PaulLiu)" 
Severity: wishlist

* Package name: linaro-bcb-util
  Version : 0.0.1
  Upstream Author : Ying-Chun Liu (PaulLiu) 
* URL : https://gitlab.com/grandpaul/linaro-bcb-util
* License : GPL-2+
  Programming Lang: Python
  Description : simple util to access the BCB partition
 BCB is the acronym of Android Bootloader Control Block. This package
 provides a simple util that can read/write/clear the BCB's fields.
 .
 In normal Debian installation this util should be useless. This util
 is only working on systems that boot from Android-capable bootloaders.
 And usually there will be a partition called misc, which is the BCB 
partition.

 .
 For example, if you debootstrap or install Debian on AOSP's system 
partition, then

 you can use this util to control the bootloader's boot behaviour.
 Such as to boot to recovery on the next boot.


OpenPGP_0x44173FA13D05.asc
Description: OpenPGP public key


OpenPGP_signature
Description: OpenPGP digital signature


Bug#1018754: telegram-cli: Outdated app that is no longer supported

2022-10-21 Thread Ying-Chun Liu (PaulLiu)

Hi Axel,

Neither szqdong nor kenorb-contrib is working.
I've tried both.

1. Purge libtgl*, telegram-cli, libtl-parser*, tl-parser.
2. git clone --recursive 
3. ./configure; make
4. ./bin/telegram-cli

And both of them are not working. So I think we might need to really 
look into what causes the failure.


Yours,
Paul

On 2022/10/21 17:05, Axel Beckert wrote:

Hi,

aexlfow...@web.de wrote:

when I start the program it asks for my phone number. When I give it it
says following:
  *** 1661844939.688455 Notification API_64BIT_LOGIN_APP_OUTDATED_39:
You are using an outdated app that is no longer supported. To access
your messages, please update your app to the latest version.

[…]

I don't think it will be fixed,


The original developer clearly seems to have stalled working on it:

https://github.com/vysheng/tg says last commit was on Mar 23, 2016.

But there seem at least two very active forks:

* https://github.com/szqdong/tg
* https://github.com/kenorb-contrib/tg

Last commit in both is from 2022 Jul 26. (It's the same commit of
kenorb — not kenorb-contrib — in both cases.)

I'm though not sure which of these would be better to base the package
on in the future.

Bastian Germann wrote:

Setting appropriate severity. The application is not usable.


Thanks!

Regards, Axel


OpenPGP_0x44173FA13D05.asc
Description: OpenPGP public key


OpenPGP_signature
Description: OpenPGP digital signature


Bug#1021944: minetest: Cannot enable mods from system installed.

2022-10-17 Thread Ying-Chun Liu (PaulLiu)

found 1021944 5.6.1+dfsg+~1.9.0mt8+dfsg-1.1
notfound 1021944 5.6.1+dfsg+~1.9.0mt8+dfsg-1.1~paulliu1
thanks


> this is a strange version, can you elaborate in how this version differs
> from the one from the archives?

Sorry. I was trying to debug it and added a dch to it.
But I found I have no time to do it after reading the source code a 
while. So I decided to report it with screenshots. But forgot to remove 
my version numbers.


Yours,
Paul



OpenPGP_0x44173FA13D05.asc
Description: OpenPGP public key


OpenPGP_signature
Description: OpenPGP digital signature


Bug#1021174: unrar-free: non-source file in Debian tests

2022-10-17 Thread Ying-Chun Liu (PaulLiu)

Hi all,

I plan to use this smoke test to replace the original smoke test since 
the original one contains non-free blobs.


The test as attachment.


Yours,
Paul

#!/bin/sh
#
# Simple smoketest of unrar extraction

setUp() {
dd if=/dev/urandom of=clam.exe bs=1 count=544
./misc/tarar.pike archive.rar clam.exe
rm -f clam.exe
}

tearDown() {
rm -f archive.tar clam.exe
}

testList() {
unrar-free --list archive.rar
assertEquals "Status code" $? 0
}

testExtract() {
unrar-free --extract archive.rar
assertEquals "Status code" $? 0
assertTrue "File exists" "[ -e clam.exe ]"
}

. /usr/bin/shunit2


OpenPGP_0x44173FA13D05.asc
Description: OpenPGP public key


OpenPGP_signature
Description: OpenPGP digital signature


Bug#1021411: ITP: minetest-mod-basic-robot-csm -- Minetest mod - basic robot client side mod

2022-10-07 Thread Ying-Chun Liu (PaulLiu)

Package: wnpp
Severity: wishlist
Owner: "Ying-Chun Liu (PaulLiu)" 


* Package name: minetest-mod-basic-robot-csm
  Version : 0.0~git20190703.e082c6a
  Upstream Author : rnd 
* URL : https://github.com/ac-minetest/basic_robot_csm
* License : GPL-3+
  Programming Lang: Lua
  Description : Minetest mod - basic robot client side mod
 basic-robot-csm is a light-weight robot module of client side of
 minetest. It provides a simple GUI with 8 tabs. Players can write
 programs in Lua in those tabs. And run the programs from client side.


OpenPGP_0x44173FA13D05.asc
Description: OpenPGP public key


OpenPGP_signature
Description: OpenPGP digital signature


Bug#1004634: openscenegraph: FTBFS with ffmpeg 5.0

2022-09-20 Thread Ying-Chun Liu (PaulLiu)

Hi all,

I've patched the audio part. But not completed. The video part needs 
more changes. But I don't have enough time now.


Just attach the partial patch I made so that when someone has time or I 
have time then we can continue it.


Yours,
Paul
Index: openscenegraph-3.6.5+dfsg1/src/osgPlugins/ffmpeg/FFmpegDecoderAudio.cpp
===
--- openscenegraph-3.6.5+dfsg1.orig/src/osgPlugins/ffmpeg/FFmpegDecoderAudio.cpp
+++ openscenegraph-3.6.5+dfsg1/src/osgPlugins/ffmpeg/FFmpegDecoderAudio.cpp
@@ -45,12 +45,19 @@ static int decode_audio(AVCodecContext *
 if (!frame)
 return AVERROR(ENOMEM);
 
-ret = avcodec_decode_audio4(avctx, frame, _frame, );
+ret = avcodec_send_packet(avctx, );
+if (ret >= 0) {
+  ret = avcodec_receive_frame(avctx, frame);
+  if (ret == 0) {
+	got_frame = 1;
+  }
+}
+  
 
 #ifdef USE_AVRESAMPLE// libav's AVFrame structure does not contain a 'channels' field
 if (ret >= 0 && got_frame) {
 #else
-if (ret >= 0 && got_frame && av_frame_get_channels(frame)>0) {
+if (ret >= 0 && got_frame && frame->ch_layout.nb_channels>0) {
 #endif
 int ch, plane_size;
 int planar = av_sample_fmt_is_planar(avctx->sample_fmt);
@@ -151,11 +158,13 @@ void FFmpegDecoderAudio::open(AVStream *
 return;
 
 m_stream = stream;
-m_context = stream->codec;
-
-m_in_sample_rate = m_context->sample_rate;
-m_in_nb_channels = m_context->channels;
-m_in_sample_format = m_context->sample_fmt;
+	AVCodecParameters* avp = stream->codecpar;
+const AVCodec * p_codec = avcodec_find_decoder(avp->codec_id);
+	m_context = avcodec_alloc_context3(p_codec);	  
+
+m_in_sample_rate = avp->sample_rate;
+m_in_nb_channels = avp->channels;
+m_in_sample_format = ((AVSampleFormat)(avp->format));
 
 AVDictionaryEntry *opt_out_sample_rate = av_dict_get( *parameters->getOptions(), "out_sample_rate", NULL, 0 );
 if ( opt_out_sample_rate )
@@ -210,11 +219,10 @@ printf("### CONVERTING from sample forma
 }
 
 // Check stream sanity
-if (m_context->codec_id == AV_CODEC_ID_NONE)
+if (avp->codec_id == AV_CODEC_ID_NONE)
 throw std::runtime_error("invalid audio codec");;
 
 // Find the decoder for the audio stream
-AVCodec * const p_codec = avcodec_find_decoder(m_context->codec_id);
 
 if (p_codec == 0)
 throw std::runtime_error("avcodec_find_decoder() failed");
Index: openscenegraph-3.6.5+dfsg1/src/osgPlugins/ffmpeg/FFmpegPacket.hpp
===
--- openscenegraph-3.6.5+dfsg1.orig/src/osgPlugins/ffmpeg/FFmpegPacket.hpp
+++ openscenegraph-3.6.5+dfsg1/src/osgPlugins/ffmpeg/FFmpegPacket.hpp
@@ -42,7 +42,7 @@ namespace osgFFmpeg
 void clear()
 {
 if (packet.data != 0)
-av_free_packet();
+av_packet_unref();
 
 release();
 }


OpenPGP_0x44173FA13D05.asc
Description: OpenPGP public key


OpenPGP_signature
Description: OpenPGP digital signature


Bug#1016262: vmmlib: FTBFS: hashtable.h:1208:18: error: expected unqualified-id before ‘(’ token

2022-09-18 Thread Ying-Chun Liu (PaulLiu)

Hi all.

Updated debdiff.

Thanks,
Paul
diff -Nru vmmlib-1.0/debian/changelog vmmlib-1.0/debian/changelog
--- vmmlib-1.0/debian/changelog 2021-01-02 09:15:59.0 +0800
+++ vmmlib-1.0/debian/changelog 2022-09-18 16:28:02.0 +0800
@@ -1,3 +1,14 @@
+vmmlib (1.0-2.3) unstable; urgency=low
+
+  * Non-maintainer upload.
+  * Fix FTBFS (Closes: #1016262)
+- Remove debian/patches/fix_ftbfs_gcc8.patch
+- Update debian/patches/fix-makefile to not use f2c related headers.
+- Add debian/patches/fix-quaternion.patch for not returning value in
+  void function.
+
+ -- Ying-Chun Liu (PaulLiu)   Sun, 18 Sep 2022 16:28:02 
+0800
+
 vmmlib (1.0-2.2) unstable; urgency=medium
 
   * Non maintainer upload by the Reproducible Builds team.
diff -Nru vmmlib-1.0/debian/patches/fix_ftbfs_gcc8.patch 
vmmlib-1.0/debian/patches/fix_ftbfs_gcc8.patch
--- vmmlib-1.0/debian/patches/fix_ftbfs_gcc8.patch  2018-10-29 
19:46:59.0 +0800
+++ vmmlib-1.0/debian/patches/fix_ftbfs_gcc8.patch  1970-01-01 
08:00:00.0 +0800
@@ -1,142 +0,0 @@
-Description: Fix FTBFS on gcc-8
- There are several build failed due to min/max/abs defined somewhere.
- We have to undef it to let it uses those from 
-Author: Ying-Chun Liu (PaulLiu) 
-Bug-Debian: https://bugs.debian.org/834472
-Last-Update: 2018-10-25
-Index: vmmlib-1.0/include/vmmlib/vector.hpp
-===
 vmmlib-1.0.orig/include/vmmlib/vector.hpp
-+++ vmmlib-1.0/include/vmmlib/vector.hpp
-@@ -1,6 +1,10 @@
- #ifndef __VMML__VECTOR__HPP__
- #define __VMML__VECTOR__HPP__
- 
-+#undef min
-+#undef max
-+#undef abs
-+
- #include 
- #include 
- #include 
-Index: vmmlib-1.0/include/vmmlib/quaternion.hpp
-===
 vmmlib-1.0.orig/include/vmmlib/quaternion.hpp
-+++ vmmlib-1.0/include/vmmlib/quaternion.hpp
-@@ -757,7 +757,7 @@ quaternion< T >::operator-=( const vecto
-   x() -= xyz.x();
-   y() -= xyz.y();
-   z() -= xyz.z();
--  return *this;
-+  //return *this;
- }
- 
- 
-Index: vmmlib-1.0/tests/tensor3_test.cpp
-===
 vmmlib-1.0.orig/tests/tensor3_test.cpp
-+++ vmmlib-1.0/tests/tensor3_test.cpp
-@@ -1,5 +1,9 @@
- #include "tensor3_test.hpp"
- 
-+#undef max
-+#undef min
-+#undef abs
-+
- #include 
- #include 
- 
-Index: vmmlib-1.0/tests/tucker3_tensor_test.cpp
-===
 vmmlib-1.0.orig/tests/tucker3_tensor_test.cpp
-+++ vmmlib-1.0/tests/tucker3_tensor_test.cpp
-@@ -1,5 +1,9 @@
- #include "tucker3_tensor_test.hpp"
- 
-+#undef min
-+#undef max
-+#undef abs
-+
- #include 
- #include 
- 
-Index: vmmlib-1.0/tests/qtucker3_tensor_test.cpp
-===
 vmmlib-1.0.orig/tests/qtucker3_tensor_test.cpp
-+++ vmmlib-1.0/tests/qtucker3_tensor_test.cpp
-@@ -1,4 +1,6 @@
- #include "qtucker3_tensor_test.hpp"
-+#undef min
-+
- #include 
- #include 
- 
-Index: vmmlib-1.0/tests/tucker3_exporter_importer_test.cpp
-===
 vmmlib-1.0.orig/tests/tucker3_exporter_importer_test.cpp
-+++ vmmlib-1.0/tests/tucker3_exporter_importer_test.cpp
-@@ -1,4 +1,5 @@
- #include "tucker3_exporter_importer_test.hpp"
-+#undef min
- #include 
- #include 
- #include 
-Index: vmmlib-1.0/tests/cp3_tensor_test.cpp
-===
 vmmlib-1.0.orig/tests/cp3_tensor_test.cpp
-+++ vmmlib-1.0/tests/cp3_tensor_test.cpp
-@@ -1,4 +1,5 @@
- #include "cp3_tensor_test.hpp"
-+#undef min
- #include 
- #include 
- #include 
-Index: vmmlib-1.0/tests/t3_hosvd_test.cpp
-===
 vmmlib-1.0.orig/tests/t3_hosvd_test.cpp
-+++ vmmlib-1.0/tests/t3_hosvd_test.cpp
-@@ -1,3 +1,4 @@
-+#undef min
- #include "t3_hosvd_test.hpp"
- #include "vmmlib/t3_hosvd.hpp"
- 
-Index: vmmlib-1.0/tests/t3_hooi_test.cpp
-===
 vmmlib-1.0.orig/tests/t3_hooi_test.cpp
-+++ vmmlib-1.0/tests/t3_hooi_test.cpp
-@@ -1,3 +1,4 @@
-+#undef min
- #include "t3_hooi_test.hpp"
- #include "vmmlib/t3_hooi.hpp"
- 
-Index: vmmlib-1.0/tests/t3_hopm_test.cpp
-===
 vmmlib-1.0.orig/tests/t3_hopm_test.cpp
-+++ vmmlib-1.0/tests/t3_hopm_test.cpp
-@@ -1,3 +1,4 @@
-+#undef min
- #include "t3_hopm_test.hpp"
- #include "vmmlib/t3_hopm.hpp"
- #include 
-Index: vmmlib-1.0/tests/t3_ihopm_test.cpp
-===
 vmmlib-1.0.orig/tests/t3_ihopm_test.cpp
-+++ vmmlib-1.0/tests/t3_ihopm_test.cpp
-@@ -1,3 +1,4 @@

Bug#1016262: vmmlib: FTBFS: hashtable.h:1208:18: error: expected unqualified-id before ‘(’ token

2022-09-18 Thread Ying-Chun Liu (PaulLiu)

Hi all.

I'm about to fix this bug. And I'll do NMU of this package. The attached 
file is the debdiff of the NMU. I'll wait for 10 days if no other 
complains about the fix. And I'll upload to delay/10 queue.


So this bug is basically because #897845 and #834472 is not fixed 
properly by me previously.

I was using a workaround to fix the above bugs.
After deeply tracing, I found the root cause is we shouldn't use f2c 
headers in this package. f2c is not using in this package at all.
And thus this bug will be fixed with removing include those headers 
which cause max/min/abs functions conflict with STL and standard C 
library. And also I removed the previously workaround.


But the build still fails because one of the operator -= function 
returns a value while it is set to void. So I made another patch to fix 
this.


Please review the debdiff, and I'll upload it with NMU after 10 days.
To the delay/10 queue and with priority=low.

Thanks,
Paul
diff -Nru vmmlib-1.0/debian/changelog vmmlib-1.0/debian/changelog
--- vmmlib-1.0/debian/changelog	2021-01-02 09:15:59.0 +0800
+++ vmmlib-1.0/debian/changelog	2022-09-18 16:28:02.0 +0800
@@ -1,3 +1,14 @@
+vmmlib (1.0-2.3) unstable; urgency=low
+
+  * Non-maintainer upload.
+  * Fix FTBFS (Closes: #1016262)
+- Remove debian/patches/fix_ftbfs_gcc8.patch
+- Update debian/patches/fix-makefile to not use f2c related headers.
+- Add debian/patches/fix-quaternion.patch for not returning value in
+  void function.
+
+ -- Ying-Chun Liu (PaulLiu)   Sun, 18 Sep 2022 16:28:02 +0800
+
 vmmlib (1.0-2.2) unstable; urgency=medium
 
   * Non maintainer upload by the Reproducible Builds team.
diff -Nru vmmlib-1.0/debian/patches/fix_ftbfs_gcc8.patch vmmlib-1.0/debian/patches/fix_ftbfs_gcc8.patch
--- vmmlib-1.0/debian/patches/fix_ftbfs_gcc8.patch	2018-10-29 19:46:59.0 +0800
+++ vmmlib-1.0/debian/patches/fix_ftbfs_gcc8.patch	1970-01-01 08:00:00.0 +0800
@@ -1,142 +0,0 @@
-Description: Fix FTBFS on gcc-8
- There are several build failed due to min/max/abs defined somewhere.
- We have to undef it to let it uses those from 
-Author: Ying-Chun Liu (PaulLiu) 
-Bug-Debian: https://bugs.debian.org/834472
-Last-Update: 2018-10-25
-Index: vmmlib-1.0/include/vmmlib/vector.hpp
-===
 vmmlib-1.0.orig/include/vmmlib/vector.hpp
-+++ vmmlib-1.0/include/vmmlib/vector.hpp
-@@ -1,6 +1,10 @@
- #ifndef __VMML__VECTOR__HPP__
- #define __VMML__VECTOR__HPP__
- 
-+#undef min
-+#undef max
-+#undef abs
-+
- #include 
- #include 
- #include 
-Index: vmmlib-1.0/include/vmmlib/quaternion.hpp
-===
 vmmlib-1.0.orig/include/vmmlib/quaternion.hpp
-+++ vmmlib-1.0/include/vmmlib/quaternion.hpp
-@@ -757,7 +757,7 @@ quaternion< T >::operator-=( const vecto
- 	x() -= xyz.x();
- 	y() -= xyz.y();
- 	z() -= xyz.z();
--	return *this;
-+	//return *this;
- }
- 
- 
-Index: vmmlib-1.0/tests/tensor3_test.cpp
-===
 vmmlib-1.0.orig/tests/tensor3_test.cpp
-+++ vmmlib-1.0/tests/tensor3_test.cpp
-@@ -1,5 +1,9 @@
- #include "tensor3_test.hpp"
- 
-+#undef max
-+#undef min
-+#undef abs
-+
- #include 
- #include 
- 
-Index: vmmlib-1.0/tests/tucker3_tensor_test.cpp
-===
 vmmlib-1.0.orig/tests/tucker3_tensor_test.cpp
-+++ vmmlib-1.0/tests/tucker3_tensor_test.cpp
-@@ -1,5 +1,9 @@
- #include "tucker3_tensor_test.hpp"
- 
-+#undef min
-+#undef max
-+#undef abs
-+
- #include 
- #include 
- 
-Index: vmmlib-1.0/tests/qtucker3_tensor_test.cpp
-===
 vmmlib-1.0.orig/tests/qtucker3_tensor_test.cpp
-+++ vmmlib-1.0/tests/qtucker3_tensor_test.cpp
-@@ -1,4 +1,6 @@
- #include "qtucker3_tensor_test.hpp"
-+#undef min
-+
- #include 
- #include 
- 
-Index: vmmlib-1.0/tests/tucker3_exporter_importer_test.cpp
-===
 vmmlib-1.0.orig/tests/tucker3_exporter_importer_test.cpp
-+++ vmmlib-1.0/tests/tucker3_exporter_importer_test.cpp
-@@ -1,4 +1,5 @@
- #include "tucker3_exporter_importer_test.hpp"
-+#undef min
- #include 
- #include 
- #include 
-Index: vmmlib-1.0/tests/cp3_tensor_test.cpp
-===
 vmmlib-1.0.orig/tests/cp3_tensor_test.cpp
-+++ vmmlib-1.0/tests/cp3_tensor_test.cpp
-@@ -1,4 +1,5 @@
- #include "cp3_tensor_test.hpp"
-+#undef min
- #include 
- #include 
- #include 
-Index: vmmlib-1.0/tests/t3_hosvd_test.cpp
-===
 vmmlib-1.0.orig/tests/t3_hosvd_test.cpp
-+++ vmmlib-1.0/tests/t3_hosvd_test.cpp
-@@ -1,3 +1,4 @@
-+#undef min
- #include "t3_hosvd_test.hpp"
- #include 

Bug#1008445: golang-v2ray-core: FTBFS: src/github.com/lucas-clemente/quic-go/internal/qtls/go118.go:13:2: cannot find package "github.com/marten-seemann/qtls-go1-18" in any of

2022-04-26 Thread Ying-Chun Liu (PaulLiu)

Hi Lucas,


I cannot reproduce this bug. Is this test be re-tested or will it be 
tested periodically?


I've tried to build it by pbuilder using sid chroot. It builds well.
Build log is as attachment.

Yours,
Paul



golang-v2ray-core_4.34.0-5_amd64.build.xz
Description: application/xz


OpenPGP_signature
Description: OpenPGP digital signature


Bug#965744: nat: Removal of obsolete debhelper compat 5 and 6 in bookworm

2022-04-26 Thread Ying-Chun Liu (PaulLiu)

Hi all,

I've fixed this bug. I'll do an NMU very soon. The debdiff is as attachment.

The major changes are:

1. Use debhelper 13.

2. Use DebSrc3.0. So we split diff.gz to debian/patches


If no one object this after 10 days. I'll upload this to delay/10 queue.


Yours,
Paul

diff -Nru nat-1.0/client.c nat-1.0/client.c
--- nat-1.0/client.c	2022-04-26 22:51:30.0 +0800
+++ nat-1.0/client.c	1997-02-17 11:18:04.0 +0800
@@ -2711,7 +2711,7 @@
 		(CVAL (inbuf, smb_rcls), SVAL (inbuf, smb_err));
 /* this "can't happen" but does against misconfigured samba, fer example */
   if ((cur_serr == 2) && (sec_mode & 1))
-	DEBUG (1,("Wanted TCon passwd in USER-mode sec!!!\n"));
+	DEBUG (1,("Wanted TCon passwd in USER-mode sec?!??!\n"));
   return(False);
 } /* if smb_rcls err */
 
@@ -3521,7 +3521,7 @@
 natprintf("[*]--- CONNECTED with name: %s\n", p);
 #endif
 
-DEBUG(1,("session to %s (0x%x) open\n", desthost, name_type));
+DEBUG(0,("session to %s (0x%x) open\n", desthost, name_type));
 phase = 2;
 goto phase_2;
   } else {
@@ -3613,7 +3613,7 @@
   username[0] = '\0';
   while (!done) {
 if (!userfd || !passfd)
-   done = !uppair();
+   uppair();
 else {
if (fgets(password, sizeof(password), passfd) == NULL) {
   rewind(passfd);
@@ -3636,11 +3636,8 @@
 }
 
 if ((! *username) && (! *password))
-  done = !uppair();/* sleaze for NT */
+  uppair();/* sleaze for NT */
 
-if (done)
-break; /* Stop when uppair is done */
-
 #ifdef VERBOSE
   natprintf("[*]--- Attempting to connect with Username: `%s' Password: `%s'\n",
username, password);
diff -Nru nat-1.0/debian/changelog nat-1.0/debian/changelog
--- nat-1.0/debian/changelog	2022-04-26 22:51:30.0 +0800
+++ nat-1.0/debian/changelog	2022-04-26 22:48:16.0 +0800
@@ -1,3 +1,15 @@
+nat (1:1.0-6.1) unstable; urgency=low
+
+  * Non-maintainer upload.
+  * Migrate to debhelper-compat version 13 (Closes: #965744, #1004018)
+- Delete debian/compat
+- Build-Depends on debhelper-compat (= 13)
+  * Use DebSrc3.0 (quilt)
+- Split diff.gz to debian/patches
+  * debian/control: Change Priority from extra to optional
+
+ -- Ying-Chun Liu (PaulLiu)   Tue, 26 Apr 2022 22:48:16 +0800
+
 nat (1:1.0-6) unstable; urgency=medium
 
   * include.h: Apply patch provided by Cyril Roelandt to fix 
diff -Nru nat-1.0/debian/compat nat-1.0/debian/compat
--- nat-1.0/debian/compat	2022-04-26 22:51:30.0 +0800
+++ nat-1.0/debian/compat	1970-01-01 08:00:00.0 +0800
@@ -1 +0,0 @@
-5
diff -Nru nat-1.0/debian/control nat-1.0/debian/control
--- nat-1.0/debian/control	2022-04-26 22:51:30.0 +0800
+++ nat-1.0/debian/control	2022-04-26 22:26:59.0 +0800
@@ -1,8 +1,8 @@
 Source: nat
 Section: admin
-Priority: extra
+Priority: optional
 Maintainer: Javier Fernandez-Sanguino Peña 
-Build-Depends: debhelper (>> 3.0.0)
+Build-Depends: debhelper-compat (= 13)
 Standards-Version: 3.9.6
 Homepage: http://www.tux.org/pub/security/secnet/tools/nat10/
 
diff -Nru nat-1.0/debian/patches/0001_add_samples.patch nat-1.0/debian/patches/0001_add_samples.patch
--- nat-1.0/debian/patches/0001_add_samples.patch	1970-01-01 08:00:00.0 +0800
+++ nat-1.0/debian/patches/0001_add_samples.patch	2022-04-26 22:21:34.0 +0800
@@ -0,0 +1,99 @@
+Index: nat-1.0/samples/localhost-samba.log
+===
+--- /dev/null
 nat-1.0/samples/localhost-samba.log
+@@ -0,0 +1,38 @@
++
++[*]--- Checking host: 127.0.0.1
++[*]--- Obtaining list of remote NetBIOS names
++[*]--- Remote systems name tables:
++
++ LINUX
++ LINUX
++ LINUX
++ __MSBROWSE__
++ SAMBA
++ SAMBA
++ SAMBA
++ SAMBA
++
++[*]--- Attempting to connect with name: *
++[*]--- CONNECTED with name: *
++[*]--- Attempting to connect with protocol: MICROSOFT NETWORKS 1.03
++[*]--- Remote server wants us to encrypt, telling it not to
++[*]--- Attempting to connect with protocol: PC NETWORK PROGRAM 1.0
++[*]--- Attempting to establish session
++
++[*]--- Attempting to access share: \\*\
++[*]--- Unable to access
++
++[*]--- Attempting to access share: \\*\ADMIN$
++[*]--- Unable to access
++
++[*]--- Attempting to access share: \\*\C$
++[*]--- Unable to access
++
++[*]--- Attempting to access share: \\*\D$
++[*]--- Unable to access
++
++[*]--- Attempting to access share: \\*\ROOT
++[*]--- Unable to access
++
++[*]--- Attempting to access share: \\*\WINNT$
++[*]--- Unable to access
+Index: nat-1.0/samples/w2000as.log
+===
+--- /dev/null
 nat-1.0/samples/w2000as.log
+@@ -0,0 +1,51 @@
++
++[*]--- Checking host: 192.168.0.159
++[*]--- Obtaining list of remote NetBIOS names
++[*]--- Remote systems name tables:
++
++ INet~Services
++ IS~W2000AS
++ 

Bug#1004018: Is smb-nat still useful?

2022-04-26 Thread Ying-Chun Liu (PaulLiu)

Hi Adrian,


I just went into this package and found it might be still useful. The 
purpose of this package is different than the samba tools.


This package is trying to test some simple security holes that a samba 
server might expose.
It will try to iterate all public shares. And tries to login into it by 
common user names and passwords.


So it seems to me that this package is still useful.

I'll prepare a NMU soon. I'll send a debdiff, waiting for 10 days. And 
then I'll upload to delay/10 queue.

Migrate to debhelper 13 and debsrc3.0 seems not very hard to me.

Yours,
Paul



OpenPGP_signature
Description: OpenPGP digital signature


Bug#1009265: ITP: node-number-allocator -- Unique number allocator for JavaScript

2022-04-10 Thread Ying-Chun Liu (PaulLiu)

Package: wnpp
Severity: wishlist
Owner: Ying-Chun Liu (PaulLiu) 
X-Debbugs-CC: debian-de...@lists.debian.org

* Package name    : node-number-allocator
  Version : 1.0.10
  Upstream Author : Takatoshi Kondo
* URL : https://github.com/redboltz/number-allocator
* License : Expat
  Programming Lang: JavaScript
  Description : Unique number allocator for JavaScript
 Unique number allocator maintains number intervals that are not in used.
 For an example, users can allocate an interval from 1 to 100. And if
 the user uses 6, the interval will split into two: 1 to 5 and 7 to 100.
 Unique number allocators will tell the users how many intervals we have
 right now. And what number is still vacant to use.
.
Node.js is an event-based server-side JavaScript engine.

This package is a new dependency for latest node-mqtt. So if we want to
upgrade node-mqtt we have to have this package in Debian first.




OpenPGP_signature
Description: OpenPGP digital signature


Bug#1008752: avifile: autopkgtest regression on armhf: Bus error

2022-04-06 Thread Ying-Chun Liu (PaulLiu)

Hi Paul,

I'm not sure if you have extra time.
But I think you are correct. We might need to report the bug to ffmpeg.

I'm not sure if we can simplify the test.
Like just run "ffplay test_raw.avi" or "ffmpeg -i test_raw.avi out.mp4" 
to see if it has the bus error as well.


Yours,
Paul

Paul Gevers 於 2022/4/6 02:52 寫道:

Hi,

On 04-04-2022 23:11, Ying-Chun Liu (PaulLiu) wrote:
It is because your environment supports "neon" and ffmpeg will use 
that for acceleration.


I wonder.


But abel and qemu-user-static doesn't support neon.
I think if you "cat /proc/cpuinfo" and neon will be in the Features.


root@ci-worker-armel-01:~# cat /proc/cpuinfo | grep neon
root@ci-worker-armel-01:~#

Nope.

Features    : fp asimd evtstrm aes pmull sha1 sha2 crc32 atomics 
fphp asimdhp cpuid asimdrdm lrcpc dcpop asimddp ssbs


I now notice that the list of flags is also in the gdb output. If 
anything, it more looks like ffmpeg *thinks* it can use neon, but 
can't. Would that be a bug in ffmpeg?


I'll see if I can use cpuflags in ffmpeg to disable neon on my test. 
So that it can pass.


Ack, but I wonder if the bug needs to be cloned an reassigned to 
ffmpeg then, for detecting neon when not available.


Paul


OpenPGP_signature
Description: OpenPGP digital signature


Bug#1008752: avifile: autopkgtest regression on armhf: Bus error

2022-04-04 Thread Ying-Chun Liu (PaulLiu)

Hi Paul,

Thanks for the report. Now I know why abel.debian.org or 
qemu-user-static doesn't reproduce the bug.
It is because your environment supports "neon" and ffmpeg will use that 
for acceleration.

But abel and qemu-user-static doesn't support neon.
I think if you "cat /proc/cpuinfo" and neon will be in the Features.

I'll see if I can use cpuflags in ffmpeg to disable neon on my test. So 
that it can pass.


Yours,
Paul

Paul Gevers 於 2022/4/5 03:16 寫道:

Hi

Bus error
autopkgtest [19:03:51]: test decoding-test-mp4-raw: 
---]
autopkgtest [19:03:51]: test decoding-test-mp4-raw:  - - - - - - - - - 
- results - - - - - - - - - -

decoding-test-mp4-raw FAIL non-zero exit status 135
autopkgtest [19:03:51]:  - - - - - - - - - - running shell - - - - - - 
- - - -
root@elbrus:/tmp/autopkgtest-lxc.ze1_2t2a/downtmp/build.e5m/src# cd 
debian/tests/decoding-test-data/
root@elbrus:/tmp/autopkgtest-lxc.ze1_2t2a/downtmp/build.e5m/src/debian/tests/decoding-test-data# 
./gentestavi.sh

Setting pipeline to PAUSED ...
Pipeline is PREROLLING ...
Redistribute latency...
Pipeline is PREROLLED ...
Setting pipeline to PLAYING ...
Redistribute latency...
New clock: GstSystemClock
Got EOS from element "pipeline0".
Execution ended after 0:00:00.215248380
Setting pipeline to NULL ...
Freeing pipeline ...
Setting pipeline to PAUSED ...
Pipeline is PREROLLING ...
Pipeline is PREROLLED ...
Setting pipeline to PLAYING ...
Redistribute latency...
New clock: GstSystemClock
Got EOS from element "pipeline0".
Execution ended after 0:00:00.219812907
Setting pipeline to NULL ...
Freeing pipeline ...
root@elbrus:/tmp/autopkgtest-lxc.ze1_2t2a/downtmp/build.e5m/src/debian/tests/decoding-test-data# 

root@elbrus:/tmp/autopkgtest-lxc.ze1_2t2a/downtmp/build.e5m/src/debian/tests/decoding-test-data# 

root@elbrus:/tmp/autopkgtest-lxc.ze1_2t2a/downtmp/build.e5m/src/debian/tests/decoding-test-data# 
make

g++ -Wall -g -o test1 test1.cc \
    -laviplay -I/usr/include/avifile-0.7 \
    -laubio  \
    -lm
root@elbrus:/tmp/autopkgtest-lxc.ze1_2t2a/downtmp/build.e5m/src/debianroot@elbrus:/tmp/autopkgtest-lxc.ze1_2t2a/downtmp/build.e5m/src/debian/tests/decoding-test-data# 
apt install gdb libavcodec58-dbgsym


< installing gdb and libavcodec58-dbgsym >

root@elbrus:/tmp/autopkgtest-lxc.ze1_2t2a/downtmp/build.e5m/src/debian/tests/decoding-test-data# 
gdb ./test1

gdb: warning: Couldn't determine a path for the index cache directory.
GNU gdb (Debian 10.1-2+b1) 10.1.90.20210103-git
Copyright (C) 2021 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later 


This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
Type "show copying" and "show warranty" for details.
This GDB was configured as "arm-linux-gnueabihf".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
.
Find the GDB manual and other documentation resources online at:
    .

For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from ./test1...
(gdb) set args test_raw.avi
(gdb) run
Starting program: 
/tmp/autopkgtest-lxc.ze1_2t2a/downtmp/build.e5m/src/debian/tests/decoding-test-data/test1 
test_raw.avi

[Thread debugging using libthread_db enabled]
Using host libthread_db library 
"/lib/arm-linux-gnueabihf/libthread_db.so.1".

 : Avifile RELEASE-0.7.48-220318-20:07-../src/configure
 : Available CPU flags: fp asimd evtstrm aes pmull sha1 sha2 
crc32 atomics fphp asimdhp cpuid asimdrdm lrcpc dcpop asimddp ssbs

This binary was compiled for Avifile ver. 1840, the library is ver. 1840
 : Checking: test_raw.avi
 : MainHeader: MicroSecPerFrame=4 MaxBytesPerSec=6112800
 PaddingGranularity=0 Flags=[ HAS_INDEX IS_INTERLEAVED ] TotalFrames=250
 InitialFrames=0 Streams=2 SuggestedBufferSize=0 WxH=320x240
 Scale=0 Rate=0 Start=0 Length=0
 : StreamHeader: Type=vids Handler=DIVX Flags=[ ]
 InitialFrames=0 Scale=1 Rate=25 Start=0 Length=250
 SuggestedBufferSize=12413 Quality=0 SampleSize=0 Rect l,r,t,b=0,0,0,0
 : StreamHeader: Type=auds Handler=0x1 Flags=[ ]
 InitialFrames=0 Scale=1 Rate=44100 Start=0 Length=450559
 SuggestedBufferSize=8192 Quality=0 SampleSize=8 Rect l,r,t,b=0,0,0,0
 : Reading index from offset: 5581514
 : Stream 0 vids : DIVX (0x4944) 250 chunks (0.98KB)
 : WARNING: stream header has incorrect dwLength (450559 
-> 450560)

 : Stream 1 auds : Microsoft PCM (0x1) 440 chunks (3.44KB)
[New Thread 0xefdfea20 (LWP 6059)]
 : Initialized video stream (chunk tblsz: 250, fmtsz: 40)
 : Found 7 plugins 
(/usr/lib/arm-linux-gnueabihf/avifile-0.7,A:28,V:36)

 : looking for mpeg4  1482049860
 : Created video decoder: FF OpenDivX
 : Initialized audio stream (chunk tblsz: 450560, fmtsz: 18)
 : PCM audio decoder created
bh.biHeight = -240, bh.biWidth = 320
bh.biHeight < 0, 

Bug#1008752: avifile: autopkgtest regression on armhf: Bus error

2022-04-04 Thread Ying-Chun Liu (PaulLiu)

Hi Paul,

In debian/tests/decoding-test-data, please run "./gentestavi.sh". This 
command generates the test data (test_raw.avi).


And run "make". It will compile the test program (test1).
Then run "gdb ./test1".
In gdb prompt, execute "set args test_raw.avi".
And then "run".
When the bus error happened, execute "bt -full" and it will print out 
the backtrace.


You might want to install the debug symbols (-dbg) packages to get the 
symbol resolved.


Yours,
Paul

Ying-Chun Liu (PaulLiu) 於 2022/4/1 20:53 寫道:

Hi Paul,


I need some help. Actually I know this bug for a while but I just 
cannot fix it. I've tried to reproduce the bug on qemu-user-static 
armhf chroot envorionment and PorterBox (abel.debian.org), on both 
platform the autopkgtest just passed without problem.


I think the bug should be easy to locate if I can run gdb and see the 
backtrace when the bus error happened.
But I just cannot reproduce this bug on my side or on porter box. If 
possible I hope to get some core dump when bus error happened on the 
machine that runs the test.


Yours,
Paul




Paul Gevers 於 2022/4/1 03:31 寫道:

Source: avifile
Version: 1:0.7.48~20090503.ds-23
Severity: serious
User: debian...@lists.debian.org
Usertags: regression

Dear maintainer(s),

With a recent upload of avifile the autopkgtest of avifile fails in 
testing on armhf when that autopkgtest is run with the binary 
packages of avifile from unstable. It passes when run with only 
packages from testing. In tabular form:


   pass    fail
avifile    from testing    1:0.7.48~20090503.ds-23
all others from testing    from testing

I copied some of the output at the bottom of this report.

Currently this regression is blocking the migration to testing [1]. 
Can you please investigate the situation and fix it?


More information about this bug and the reason for filing it can be 
found on

https://wiki.debian.org/ContinuousIntegration/RegressionEmailInformation

Paul

[1] https://qa.debian.org/excuses.php?package=avifile

https://ci.debian.net/data/autopkgtest/testing/armhf/a/avifile/20131436/log.gz 



Setting pipeline to PAUSED ...
Pipeline is PREROLLING ...
Redistribute latency...
Pipeline is PREROLLED ...
Setting pipeline to PLAYING ...
Redistribute latency...
New clock: GstSystemClock
Got EOS from element "pipeline0".
Execution ended after 0:00:00.312851570
Setting pipeline to NULL ...
Freeing pipeline ...
Setting pipeline to PAUSED ...
Pipeline is PREROLLING ...
Pipeline is PREROLLED ...
Setting pipeline to PLAYING ...
Redistribute latency...
New clock: GstSystemClock
Got EOS from element "pipeline0".
Execution ended after 0:00:00.217510393
Setting pipeline to NULL ...
Freeing pipeline ...
g++ -Wall -g -o test1 test1.cc \
-laviplay -I/usr/include/avifile-0.7 \
-laubio  \
-lm
 : Avifile RELEASE-0.7.48-220318-20:07-../src/configure
 : Available CPU flags: fp asimd evtstrm aes pmull sha1 sha2 
crc32 atomics fphp asimdhp cpuid asimdrdm lrcpc dcpop asimddp ssbs

This binary was compiled for Avifile ver. 1840, the library is ver. 1840
 : Checking: ./test_raw.avi
 : MainHeader: MicroSecPerFrame=4 MaxBytesPerSec=6112800
 PaddingGranularity=0 Flags=[ HAS_INDEX IS_INTERLEAVED ] TotalFrames=250
 InitialFrames=0 Streams=2 SuggestedBufferSize=0 WxH=320x240
 Scale=0 Rate=0 Start=0 Length=0
 : StreamHeader: Type=vids Handler=DIVX Flags=[ ]
 InitialFrames=0 Scale=1 Rate=25 Start=0 Length=250
 SuggestedBufferSize=12413 Quality=0 SampleSize=0 Rect l,r,t,b=0,0,0,0
 : StreamHeader: Type=auds Handler=0x1 Flags=[ ]
 InitialFrames=0 Scale=1 Rate=44100 Start=0 Length=450559
 SuggestedBufferSize=8192 Quality=0 SampleSize=8 Rect l,r,t,b=0,0,0,0
 : Reading index from offset: 5581514
 : Stream 0 vids : DIVX (0x4944) 250 chunks (0.98KB)
 : WARNING: stream header has incorrect dwLength (450559 
-> 450560)

 : Stream 1 auds : Microsoft PCM (0x1) 440 chunks (3.44KB)
 : Initialized video stream (chunk tblsz: 250, fmtsz: 40)
 : Found 7 plugins 
(/usr/lib/arm-linux-gnueabihf/avifile-0.7,A:28,V:36)

 : creating dir: /home/debci/.avm
 : looking for mpeg4  1482049860
 : Created video decoder: FF OpenDivX
 : Initialized audio stream (chunk tblsz: 450560, fmtsz: 18)
 : PCM audio decoder created
bh.biHeight = -240, bh.biWidth = 320
bh.biHeight < 0, correct the value to 240
Movie size: 320 x 240  [YV12]
audio format: 1, Channels: 2, Samples/sec: 44100, Bits/Sample: 32, 
Bytes/sec: 352800

Video Length: 250
Video Pos: 0
Audio Length: 450560
Audio Pos: 0
Decoder YUV capabilities: 0x8080
CAPS is CAP_YV12
TIME 0 0
[mpeg4 @ 0x1ad7e40] Requested frame threading with a custom 
get_buffer2() implementation which is not marked as thread safe. This 
is not supported anymore, make your callback thread-safe.

 : using DR1
Audio read 192 samples, 1536 bytes.
Audio frequency 469.27 hz
Audio read 192 samples, 1536 bytes.
Audio frequency 469.188 hz
Audio

Bug#1008752: avifile: autopkgtest regression on armhf: Bus error

2022-04-01 Thread Ying-Chun Liu (PaulLiu)

Hi Paul,


I need some help. Actually I know this bug for a while but I just cannot 
fix it. I've tried to reproduce the bug on qemu-user-static armhf chroot 
envorionment and PorterBox (abel.debian.org), on both platform the 
autopkgtest just passed without problem.


I think the bug should be easy to locate if I can run gdb and see the 
backtrace when the bus error happened.
But I just cannot reproduce this bug on my side or on porter box. If 
possible I hope to get some core dump when bus error happened on the 
machine that runs the test.


Yours,
Paul




Paul Gevers 於 2022/4/1 03:31 寫道:

Source: avifile
Version: 1:0.7.48~20090503.ds-23
Severity: serious
User: debian...@lists.debian.org
Usertags: regression

Dear maintainer(s),

With a recent upload of avifile the autopkgtest of avifile fails in 
testing on armhf when that autopkgtest is run with the binary packages 
of avifile from unstable. It passes when run with only packages from 
testing. In tabular form:


   pass    fail
avifile    from testing    1:0.7.48~20090503.ds-23
all others from testing    from testing

I copied some of the output at the bottom of this report.

Currently this regression is blocking the migration to testing [1]. 
Can you please investigate the situation and fix it?


More information about this bug and the reason for filing it can be 
found on

https://wiki.debian.org/ContinuousIntegration/RegressionEmailInformation

Paul

[1] https://qa.debian.org/excuses.php?package=avifile

https://ci.debian.net/data/autopkgtest/testing/armhf/a/avifile/20131436/log.gz 



Setting pipeline to PAUSED ...
Pipeline is PREROLLING ...
Redistribute latency...
Pipeline is PREROLLED ...
Setting pipeline to PLAYING ...
Redistribute latency...
New clock: GstSystemClock
Got EOS from element "pipeline0".
Execution ended after 0:00:00.312851570
Setting pipeline to NULL ...
Freeing pipeline ...
Setting pipeline to PAUSED ...
Pipeline is PREROLLING ...
Pipeline is PREROLLED ...
Setting pipeline to PLAYING ...
Redistribute latency...
New clock: GstSystemClock
Got EOS from element "pipeline0".
Execution ended after 0:00:00.217510393
Setting pipeline to NULL ...
Freeing pipeline ...
g++ -Wall -g -o test1 test1.cc \
-laviplay -I/usr/include/avifile-0.7 \
-laubio  \
-lm
 : Avifile RELEASE-0.7.48-220318-20:07-../src/configure
 : Available CPU flags: fp asimd evtstrm aes pmull sha1 sha2 
crc32 atomics fphp asimdhp cpuid asimdrdm lrcpc dcpop asimddp ssbs

This binary was compiled for Avifile ver. 1840, the library is ver. 1840
 : Checking: ./test_raw.avi
 : MainHeader: MicroSecPerFrame=4 MaxBytesPerSec=6112800
 PaddingGranularity=0 Flags=[ HAS_INDEX IS_INTERLEAVED ] TotalFrames=250
 InitialFrames=0 Streams=2 SuggestedBufferSize=0 WxH=320x240
 Scale=0 Rate=0 Start=0 Length=0
 : StreamHeader: Type=vids Handler=DIVX Flags=[ ]
 InitialFrames=0 Scale=1 Rate=25 Start=0 Length=250
 SuggestedBufferSize=12413 Quality=0 SampleSize=0 Rect l,r,t,b=0,0,0,0
 : StreamHeader: Type=auds Handler=0x1 Flags=[ ]
 InitialFrames=0 Scale=1 Rate=44100 Start=0 Length=450559
 SuggestedBufferSize=8192 Quality=0 SampleSize=8 Rect l,r,t,b=0,0,0,0
 : Reading index from offset: 5581514
 : Stream 0 vids : DIVX (0x4944) 250 chunks (0.98KB)
 : WARNING: stream header has incorrect dwLength (450559 
-> 450560)

 : Stream 1 auds : Microsoft PCM (0x1) 440 chunks (3.44KB)
 : Initialized video stream (chunk tblsz: 250, fmtsz: 40)
 : Found 7 plugins 
(/usr/lib/arm-linux-gnueabihf/avifile-0.7,A:28,V:36)

 : creating dir: /home/debci/.avm
 : looking for mpeg4  1482049860
 : Created video decoder: FF OpenDivX
 : Initialized audio stream (chunk tblsz: 450560, fmtsz: 18)
 : PCM audio decoder created
bh.biHeight = -240, bh.biWidth = 320
bh.biHeight < 0, correct the value to 240
Movie size: 320 x 240  [YV12]
audio format: 1, Channels: 2, Samples/sec: 44100, Bits/Sample: 32, 
Bytes/sec: 352800

Video Length: 250
Video Pos: 0
Audio Length: 450560
Audio Pos: 0
Decoder YUV capabilities: 0x8080
CAPS is CAP_YV12
TIME 0 0
[mpeg4 @ 0x1ad7e40] Requested frame threading with a custom 
get_buffer2() implementation which is not marked as thread safe. This 
is not supported anymore, make your callback thread-safe.

 : using DR1
Audio read 192 samples, 1536 bytes.
Audio frequency 469.27 hz
Audio read 192 samples, 1536 bytes.
Audio frequency 469.188 hz
Audio read 192 samples, 1536 bytes.
Audio frequency 469.095 hz
Audio read 192 samples, 1536 bytes.
Audio frequency 469.086 hz
Audio read 192 samples, 1536 bytes.
Audio frequency 469.17 hz
Audio read 192 samples, 1536 bytes.
Audio frequency 469.262 hz
Audio read 192 samples, 1536 bytes.
Audio frequency 469.267 hz
Audio read 192 samples, 1536 bytes.
Audio frequency 469.18 hz
Audio read 192 samples, 1536 bytes.
Audio frequency 469.091 hz
Audio read 192 samples, 1536 bytes.
Audio frequency 469.09 hz
TIME 0.04 1
Bus error
autopkgtest [10:24:27]: test decoding-test-mp4-raw



OpenPGP_signature
Description: 

Bug#1005240: ITP: node-js-sdsl -- javascript standard data structure library

2022-02-09 Thread Ying-Chun Liu (PaulLiu)

Package: wnpp
Severity: wishlist
Owner: Ying-Chun Liu (PaulLiu) 

* Package name    : node-js-sdsl
 Version : 2.1.4
 Upstream Author : ZLY201 <951711...@qq.com> 
(https://github.com/ZLY201/js-sdsl)

* URL : https://github.com/ZLY201/js-sdsl.git
* License : Expat
 Programming Lang: JavaScript
 Description : javascript standard data structure library
js-sdsl is a library that implements standard data structure just like
C++ STL.
.
Node.js is an event-based server-side JavaScript engine.




OpenPGP_signature
Description: OpenPGP digital signature


Bug#1004790: avifile: should this package be removed?

2022-02-03 Thread Ying-Chun Liu (PaulLiu)

Hi Sebastian,

I've maintained onscripter, which uses avifile to play animation in game.
So it is still needed for me for that package.
I think I can spend my time fixing #1004789 - forward porting to ffmpeg 5.0.

Will fix #1004789 and then close this bug too on next upload.

Yours,
Paul

Sebastian Ramacher 於 2022/2/2 05:25 寫道:

Source: avifile
Version: 1:0.7.48~20090503.ds-21
Severity: serious
X-Debbugs-Cc: sramac...@debian.org
Tags: sid bookworm

Upstream development of avifile has ceased over a decode ago. Given that
avifile fails to build with ffmpeg 5.0 (see ##1004789) as it did with
all the previous major releases of ffmpeg, I wonder if is still
sustainable to keep this package in Debian. Should this package be
removed from unstable?

Cheers


OpenPGP_signature
Description: OpenPGP digital signature


Bug#815936: sc: missing required debian/rules targets build-arch and/or build-indep

2022-01-25 Thread Ying-Chun Liu (PaulLiu)

Hi all,


I've updated debian/rules and fixes this bug.

I'll wait for 10 days if no other comments.

And then start the NMU process.
The NMU will be uploaded to DELAY/10.

Attachment is the debdiff.

The following changes are made:
  * Change debhelper compat version from 5 to 11. (Closes: #999240)
   - Update debian/rules.
 + This also fixes FTCBFS (Closes: #884727)
   - Clean files by debian/clean
 * Add debian/patches/hardening: hardening format strings.
 * Merge patches from Ubuntu. (Closes: #815936)
 * Add autopkgtest


Yours,
Paul

diff -Nru sc-7.16/debian/changelog sc-7.16/debian/changelog
--- sc-7.16/debian/changelog2014-05-19 04:13:43.0 +0800
+++ sc-7.16/debian/changelog2022-01-26 01:22:23.0 +0800
@@ -1,3 +1,20 @@
+sc (7.16-4.1) unstable; urgency=low
+
+  [ Ying-Chun Liu (PaulLiu)  ]
+  * Non-maintainer upload.
+  * Change debhelper compat version from 5 to 11. (Closes: #999240)
+- Update debian/rules.
+  + This also fixes FTCBFS (Closes: #884727)
+- Clean files by debian/clean
+  * Add debian/patches/hardening: hardening format strings.
+  * Merge patches from Ubuntu. (Closes: #815936)
+  * Add autopkgtest
+
+  [ Serge Hallyn  ]
+  * lex.c: do not set notimeout (LP: #1549665)
+
+ -- Ying-Chun Liu (PaulLiu)   Wed, 26 Jan 2022 01:22:23 
+0800
+
 sc (7.16-4) unstable; urgency=low
 
   * debian/patches/function_definitions
diff -Nru sc-7.16/debian/clean sc-7.16/debian/clean
--- sc-7.16/debian/clean1970-01-01 08:00:00.0 +0800
+++ sc-7.16/debian/clean2022-01-25 22:44:34.0 +0800
@@ -0,0 +1,3 @@
+sc
+psc
+scqref
diff -Nru sc-7.16/debian/compat sc-7.16/debian/compat
--- sc-7.16/debian/compat   2010-05-04 04:51:06.0 +0800
+++ sc-7.16/debian/compat   2022-01-25 22:46:13.0 +0800
@@ -1 +1 @@
-7
+11
diff -Nru sc-7.16/debian/control sc-7.16/debian/control
--- sc-7.16/debian/control  2014-05-19 04:06:22.0 +0800
+++ sc-7.16/debian/control  2022-01-25 22:46:26.0 +0800
@@ -1,7 +1,7 @@
 Source: sc
 Section: math
 Priority: optional
-Build-Depends: libncurses5-dev, bison, debhelper (>>7)
+Build-Depends: libncurses5-dev, bison, debhelper (>= 11)
 Maintainer: Adam Majer 
 Standards-Version: 3.9.5
 Vcs-Browser: http://git.debian.org/?p=collab-maint/sc.git;a=summary
diff -Nru sc-7.16/debian/patches/hardening sc-7.16/debian/patches/hardening
--- sc-7.16/debian/patches/hardening1970-01-01 08:00:00.0 +0800
+++ sc-7.16/debian/patches/hardening2022-01-26 00:26:25.0 +0800
@@ -0,0 +1,189 @@
+Description: hardening format string
+ We should not pass strings as format string directly.
+Author: Ying-Chun Liu (PaulLiu) 
+Last-Update: 2021-01-26
+Index: sc-7.16/cmds.c
+===
+--- sc-7.16.orig/cmds.c
 sc-7.16/cmds.c
+@@ -324,7 +324,7 @@ deleterow(register int arg)
+   rs = rs > 0 ? rs : 0;
+   (void) sprintf(buf, "Can't delete %d row%s %d row%s left", arg,
+   (arg != 1 ? "s," : ","), rs, (rs != 1 ? "s" : ""));
+-  error(buf);
++  error("%s", buf);
+   return;
+ }
+ if (fr) {
+@@ -486,7 +486,7 @@ yankrow(int arg)
+   rs = rs > 0 ? rs : 0;
+   (void) sprintf(buf, "Can't yank %d row%s %d row%s left", arg,
+   (arg != 1 ? "s," : ","), rs, (rs != 1 ? "s" : ""));
+-  error(buf);
++  error("%s", buf);
+   return;
+ }
+ sync_refs();
+@@ -541,7 +541,7 @@ yankcol(int arg)
+   cs = cs > 0 ? cs : 0;
+   (void) sprintf(buf, "Can't yank %d column%s %d column%s left", arg,
+   (arg != 1 ? "s," : ","), cs, (cs != 1 ? "s" : ""));
+-  error(buf);
++  error("%s", buf);
+   return;
+ }
+ sync_refs();
+@@ -1212,7 +1212,7 @@ closecol(int arg)
+   cs = cs > 0 ? cs : 0;
+   (void) sprintf(buf, "Can't delete %d column%s %d column%s left", arg,
+   (arg != 1 ? "s," : ","), cs, (cs != 1 ? "s" : ""));
+-  error(buf);
++  error("%s", buf);
+   return;
+ }
+ if (any_locked_cells(0, curcol, maxrow, curcol + arg - 1)) {
+Index: sc-7.16/interp.c
+===
+--- sc-7.16.orig/interp.c
 sc-7.16/interp.c
+@@ -1986,7 +1986,7 @@ str_search(char *s, int firstrow, int fi
+   scxfree(s);
+   tmp = scxmalloc((size_t)160);
+   regerror(errcode, , tmp, sizeof(tmp));
+-  error(tmp);
++  error("%s", tmp);
+   scxfree(tmp);
+   return;
+ }
+Index: sc-7.16/sc.c
+===
+--- sc-7.16.orig/sc.c
 sc-7.16/sc.c
+@@ -511,7 +511,7 @@ main (int argc, char  **argv)
+   break;
+ 

Bug#984121: fbreader: ftbfs with GCC-11

2022-01-12 Thread Ying-Chun Liu (PaulLiu)

Hi,


this patches fixes the bug. I'll do QA uploads soon.

Yours,
Paul

Description: Fix FTBFS for gcc 11
 Comparator operator() have to be const in gcc 11.
Bug-Debian: http://bugs.debian.org/984121
Author: Ying-Chun Liu (PaulLiu) 
Index: fbreader-0.12.10dfsg2/fbreader/src/library/Comparators.cpp
===
--- fbreader-0.12.10dfsg2.orig/fbreader/src/library/Comparators.cpp
+++ fbreader-0.12.10dfsg2/fbreader/src/library/Comparators.cpp
@@ -25,7 +25,7 @@
 bool BookComparator::operator() (
 	const shared_ptr book0,
 	const shared_ptr book1
-) {
+) const {
 	const std::string  = book0->seriesTitle();
 	const std::string  = book1->seriesTitle();
 	int comp = seriesTitle0.compare(seriesTitle1);
@@ -50,14 +50,14 @@ bool BookComparator::operator() (
 bool BookByFileNameComparator::operator() (
 	const shared_ptr book0,
 	const shared_ptr book1
-) {
+) const {
 	return book0->filePath() < book1->filePath();
 }
 
 bool AuthorComparator::operator() (
 	const shared_ptr author0,
 	const shared_ptr author1
-) {
+) const {
 	if (author0.isNull()) {
 		return !author1.isNull();
 	}
@@ -72,7 +72,7 @@ bool AuthorComparator::operator() (
 bool TagComparator::operator() (
 	shared_ptr tag0,
 	shared_ptr tag1
-) {
+) const {
 	if (tag0.isNull()) {
 		return !tag1.isNull();
 	}
Index: fbreader-0.12.10dfsg2/fbreader/src/library/Comparators.h
===
--- fbreader-0.12.10dfsg2.orig/fbreader/src/library/Comparators.h
+++ fbreader-0.12.10dfsg2/fbreader/src/library/Comparators.h
@@ -32,7 +32,7 @@ public:
 	bool operator () (
 		const shared_ptr book0,
 		const shared_ptr book1
-	);
+	) const;
 };
 
 class BookByFileNameComparator {
@@ -41,7 +41,7 @@ public:
 	bool operator () (
 		const shared_ptr book0,
 		const shared_ptr book1
-	);
+	) const;
 };
 
 class AuthorComparator {
@@ -50,7 +50,7 @@ public:
 	bool operator () (
 		const shared_ptr author0,
 		const shared_ptr author1
-	);
+	) const;
 };
 
 class TagComparator {
@@ -59,7 +59,7 @@ public:
 	bool operator () (
 		shared_ptr tag0,
 		shared_ptr tag1
-	);
+	) const;
 };
 
 #endif /* __COMPARATORS_H__ */
Index: fbreader-0.12.10dfsg2/fbreader/src/network/NetworkComparators.cpp
===
--- fbreader-0.12.10dfsg2.orig/fbreader/src/network/NetworkComparators.cpp
+++ fbreader-0.12.10dfsg2/fbreader/src/network/NetworkComparators.cpp
@@ -19,7 +19,7 @@
 
 #include "NetworkComparators.h"
 
-bool NetworkBookItemComparator::operator () (const shared_ptr , const shared_ptr ) {
+bool NetworkBookItemComparator::operator () (const shared_ptr , const shared_ptr ) const {
 	const bool book0isABook =
 		bookPtr0->isInstanceOf(NetworkBookItem::TYPE_ID);
 	const bool book1isABook =
@@ -81,7 +81,7 @@ bool NetworkBookItemComparator::operator
 NetworkAuthorComparator::NetworkAuthorComparator(const std::map ) : myRates(rates) {
 }
 
-bool NetworkAuthorComparator::operator () (const NetworkBookItem::AuthorData , const NetworkBookItem::AuthorData ) {
+bool NetworkAuthorComparator::operator () (const NetworkBookItem::AuthorData , const NetworkBookItem::AuthorData ) const {
 	std::map::const_iterator it1 = myRates.find(author0);
 	std::map::const_iterator it2 = myRates.find(author1);
 	if (it1 == myRates.end() && it2 == myRates.end()) {
Index: fbreader-0.12.10dfsg2/fbreader/src/network/NetworkComparators.h
===
--- fbreader-0.12.10dfsg2.orig/fbreader/src/network/NetworkComparators.h
+++ fbreader-0.12.10dfsg2/fbreader/src/network/NetworkComparators.h
@@ -29,7 +29,7 @@
 class NetworkBookItemComparator {
 
 public:
-	bool operator () (const shared_ptr , const shared_ptr );
+	bool operator () (const shared_ptr , const shared_ptr ) const;
 };
 
 
@@ -38,7 +38,7 @@ class NetworkAuthorComparator {
 public:
 	NetworkAuthorComparator(const std::map );
 
-	bool operator () (const NetworkBookItem::AuthorData , const NetworkBookItem::AuthorData );
+	bool operator () (const NetworkBookItem::AuthorData , const NetworkBookItem::AuthorData ) const;
 
 private:
 	const std::map 


OpenPGP_signature
Description: OpenPGP digital signature


Bug#999011: rig: Removal of obsolete debhelper compat 5 and 6 in bookworm

2022-01-07 Thread Ying-Chun Liu (PaulLiu)

Hi all,

I'm fixing #965802, #999011 and #946277.

The attachment is the debdiff. I'll do NMU after 10 days if no other 
comments.


And will upload to DELAY/10 queue.


The following changes are made:
  * Change debhelper from 5 to 11. (Closes: #965802)
   - Update debian/rules. (Closes: #999011)
 + This should also fix FTCBFS (Closes: #946277)
   - Clean files by debian/clean
 * Change source package to DebSrc3.0 with quilt.
   - Split diff.gz to quilt patches.
 * debian/control: Change priority from extra to optional.
 * debian/copyright: Change to dep5 machine-readable format.
 * Add autopkgtest



Yours,
Paul

diff -Nru rig-1.11/debian/changelog rig-1.11/debian/changelog
--- rig-1.11/debian/changelog	2022-01-07 17:50:43.0 +0800
+++ rig-1.11/debian/changelog	2022-01-07 16:18:35.0 +0800
@@ -1,3 +1,18 @@
+rig (1.11-1.1) unstable; urgency=low
+
+  * Non-maintainer upload.
+  * Change debhelper from 5 to 11. (Closes: #965802)
+- Update debian/rules. (Closes: #999011)
+  + This should also fix FTCBFS (Closes: #946277)
+- Clean files by debian/clean
+  * Change source package to DebSrc3.0 with quilt.
+- Split diff.gz to quilt patches.
+  * debian/control: Change priority from extra to optional.
+  * debian/copyright: Change to dep5 machine-readable format.
+  * Add autopkgtest
+
+ -- Ying-Chun Liu (PaulLiu)   Fri, 07 Jan 2022 16:18:35 +0800
+
 rig (1.11-1) unstable; urgency=low
 
   * New upstream release
diff -Nru rig-1.11/debian/compat rig-1.11/debian/compat
--- rig-1.11/debian/compat	2022-01-07 17:50:43.0 +0800
+++ rig-1.11/debian/compat	2022-01-07 16:18:35.0 +0800
@@ -1 +1 @@
-5
+11
diff -Nru rig-1.11/debian/control rig-1.11/debian/control
--- rig-1.11/debian/control	2022-01-07 17:50:43.0 +0800
+++ rig-1.11/debian/control	2022-01-07 16:18:35.0 +0800
@@ -1,8 +1,8 @@
 Source: rig
 Section: misc
-Priority: extra
+Priority: optional
 Maintainer: Norbert Veber 
-Build-Depends: debhelper (>> 5.0.0)
+Build-Depends: debhelper (>= 11)
 Standards-Version: 3.8.0
 
 Package: rig
diff -Nru rig-1.11/debian/copyright rig-1.11/debian/copyright
--- rig-1.11/debian/copyright	2022-01-07 17:50:43.0 +0800
+++ rig-1.11/debian/copyright	2022-01-07 16:18:35.0 +0800
@@ -1,13 +1,29 @@
-This package was debianized by Aaron Lehmann  on
-Sat,  8 Sep 2001 23:46:52 -0700.
+Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Upstream-Name: rig
+Upstream-Contact: Ian Turner 
+Source: http://rig.sourceforge.net/
 
-It was downloaded from http://rig.sourceforge.net/
+Files: *
+Copyright: 1999 Ian Turner 
+License: GPL-2.0+
 
-Upstream Author: Ian Turner 
+Files: debian/*
+Copyright: 2001 Aaron Lehmann 
+License: GPL-2.0+
 
-Copyright:
-RIG is released under the terms of the GNU General Public License
-version 2.
-
-On Debian GNU/Linux systems, the complete text of the GNU General
-Public License can be found in /usr/share/common-licenses/GPL.
+License: GPL-2.0+
+ This package is free software; you can redistribute it and/or modify
+ it under the terms of the GNU General Public License as published by
+ the Free Software Foundation; either version 2 of the License, or
+ (at your option) any later version.
+ .
+ This package is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ GNU General Public License for more details.
+ .
+ You should have received a copy of the GNU General Public License
+ along with this program. If not, see <https://www.gnu.org/licenses/>
+ .
+ On Debian systems, the complete text of the GNU General
+ Public License version 2 can be found in "/usr/share/common-licenses/GPL-2".
diff -Nru rig-1.11/debian/patches/0001_Makefile.patch rig-1.11/debian/patches/0001_Makefile.patch
--- rig-1.11/debian/patches/0001_Makefile.patch	1970-01-01 08:00:00.0 +0800
+++ rig-1.11/debian/patches/0001_Makefile.patch	2022-01-07 16:18:35.0 +0800
@@ -0,0 +1,31 @@
+Index: rig-1.11/Makefile
+===
+--- rig-1.11.orig/Makefile
 rig-1.11/Makefile
+@@ -1,20 +1,20 @@
+-PREFIX=/usr/local
++PREFIX=/usr
+ BINDIR=${PREFIX}/bin
+ MANDIR=${PREFIX}/man
+ DATADIR=${PREFIX}/share/rig
++CXX=g++
+ 
+ all: rig rig.6
+ rig: rig.cc
+-	g++ -g rig.cc -o rig -Wall -DDATADIR="\"$(DATADIR)\""
++	${CXX} -O2 -g rig.cc -o rig -Wall -DDATADIR="\"$(DATADIR)\""
+ 
+ rig.6: rig.6.in
+ 	sed s@DATADIR@"$(DATADIR)"@g < rig.6.in > rig.6
+ 
+ install: rig rig.6
+-	install -g 0 -m 755 -o 0 -s rig $(BINDIR)
+-	install -g 0 -m 644 -o 0 rig.6 $(MANDIR)/man6/rig.6
+-	install -g 0 -m 755 -o 0 -d $(DATADIR)
+-	install -g 0 -m 644 -o 0 data/*.idx $(DATADIR)
++	install -g 0 -m 755 -o 0 rig $(DESTDIR)$(BINDIR)
++	install -g 0 -m 755 -o 0 -d $(DESTDIR)$(DATADIR)
++	install -g 0 -m 644 -o 0 da

Bug#965752: ogamesim: Removal of obsolete debhelper compat 5 and 6 in bookworm

2022-01-06 Thread Ying-Chun Liu (PaulLiu)

Hi all,

I'm about to fix this bug. And NMU this package.
The following changes are made:

  * Change debhelper from 5 to 11. Update debian/rules. (Closes: #965752)
   - Clean files by debian/clean
 * Change source package to DebSrc3.0 with quilt.
   - Split diff.gz to quilt patches.
 * debian/control: Change priority from extra to optional.
 * debian/control: Don't depends on perl-modules. Depends on perl is 
enough.

 * debian/copyright: Change to dep5 machine-readable format.
 * Add autopkgtest


The NMU diff is attached. I'll upload it soon.

Yours,
Paul

diff -Nru ogamesim-20130107/csim/version.h ogamesim-20130107/csim/version.h
--- ogamesim-20130107/csim/version.h	2022-01-07 15:44:58.0 +0800
+++ ogamesim-20130107/csim/version.h	2008-08-31 22:06:08.0 +0800
@@ -17,6 +17,6 @@
 */
 #ifndef __VERSION__H__
 
-#define VERSION   "1.18"
+#define VERSION   "1.17"
 
 #endif
diff -Nru ogamesim-20130107/debian/changelog ogamesim-20130107/debian/changelog
--- ogamesim-20130107/debian/changelog	2022-01-07 15:44:58.0 +0800
+++ ogamesim-20130107/debian/changelog	2022-01-07 15:43:00.0 +0800
@@ -1,3 +1,17 @@
+ogamesim (20130107-3.2) unstable; urgency=low
+
+  * Non-maintainer upload.
+  * Change debhelper from 5 to 11. Update debian/rules. (Closes: #965752)
+- Clean files by debian/clean
+  * Change source package to DebSrc3.0 with quilt.
+- Split diff.gz to quilt patches.
+  * debian/control: Change priority from extra to optional.
+  * debian/control: Don't depends on perl-modules. Depends on perl is enough.
+  * debian/copyright: Change to dep5 machine-readable format.
+  * Add autopkgtest
+
+ -- Ying-Chun Liu (PaulLiu)   Fri, 07 Jan 2022 15:43:00 +0800
+
 ogamesim (20130107-3.1) unstable; urgency=medium
 
   * Non maintainer upload by the Reproducible Builds team.
diff -Nru ogamesim-20130107/debian/clean ogamesim-20130107/debian/clean
--- ogamesim-20130107/debian/clean	1970-01-01 08:00:00.0 +0800
+++ ogamesim-20130107/debian/clean	2022-01-07 14:52:24.0 +0800
@@ -0,0 +1,4 @@
+ogamesim
+index.cgi
+ogamesim.6
+csim/csim
diff -Nru ogamesim-20130107/debian/compat ogamesim-20130107/debian/compat
--- ogamesim-20130107/debian/compat	2022-01-07 15:44:58.0 +0800
+++ ogamesim-20130107/debian/compat	2022-01-07 14:19:54.0 +0800
@@ -1 +1 @@
-7
+11
diff -Nru ogamesim-20130107/debian/control ogamesim-20130107/debian/control
--- ogamesim-20130107/debian/control	2022-01-07 15:44:58.0 +0800
+++ ogamesim-20130107/debian/control	2022-01-07 15:05:32.0 +0800
@@ -1,9 +1,9 @@
 Source: ogamesim
 Section: games
-Priority: extra
+Priority: optional
 Maintainer: Dmitry E. Oboukhov 
 Standards-Version: 3.7.3
-Build-Depends: perl (>= 5.6), gettext (>= 0.15), debhelper (>= 5)
+Build-Depends: perl (>= 5.6), gettext (>= 0.15), debhelper (>= 11)
 Homepage: http://www.o-o-d.com/tool/sim
 
 Package: ogamesim
@@ -21,7 +21,7 @@
 Package: ogamesim-www
 Suggests: apache2
 Architecture: all
-Depends: perl, libsys-cpu-perl, libcgi-simple-perl, libhtml-template-perl, perl-modules, ogamesim
+Depends: perl, libsys-cpu-perl, libcgi-simple-perl, libhtml-template-perl, ogamesim, ${misc:Depends}
 Description: WWW GUI for ogamesim
  CGI frontend for the console battles simulator.
  Contains:
diff -Nru ogamesim-20130107/debian/copyright ogamesim-20130107/debian/copyright
--- ogamesim-20130107/debian/copyright	2022-01-07 15:44:58.0 +0800
+++ ogamesim-20130107/debian/copyright	2022-01-07 15:38:57.0 +0800
@@ -1,29 +1,30 @@
-This package was debianized by Dmitry E. Oboukhov  on
-Mon Dec  4 13:12:57 MSK 2006
-
-Upstream copyright:
-	Copyright (C) 2006,2007 Dmitry E. Oboukhov 
-
-It was downloaded from:
-	http://www.o-o-d.com/tool/sim/
-
-License:
-   This package is free software; you can redistribute it and/or modify
-   it under the terms of the GNU General Public License as published by
-   the Free Software Foundation; either version 2 of the License, or
-   (at your option) any later version.
-
-   This package is distributed in the hope that it will be useful,
-   but WITHOUT ANY WARRANTY; without even the implied warranty of
-   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-   GNU General Public License for more details.
-
-   You should have received a copy of the GNU General Public License
-   along with this package; if not, write to the Free Software
-   Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301 USA
-
-On debian systems, full text of GPLv2 license is alailable
-in /usr/share/common-licenses/GPL-2
-
-The Debian packaging is (C) 2006, Dmitry E. Oboukhov  and
-is licensed under the GPL, see `/usr/share/common-licenses/GPL'.
+Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Upstream-Name: ogamesim
+Upstream-Contact: Dmitry E. Oboukhov 
+Source: http://www.o-o-d.com/tool/sim/
+
+Files: *
+Copyright: 2006-2007 Dmitry E. Oboukhov 
+License: GPL-2+
+
+Fil

Bug#989366: unblock: tpm2-tools/5.0-2

2021-06-01 Thread Ying-Chun Liu (PaulLiu)
Package: release.debian.org
Severity: normal
User: release.debian@packages.debian.org
Usertags: unblock
X-Debbugs-Cc: paul...@debian.org


Please unblock package tpm2-tools

[ Reason ]

tpm2-tools has a CVE bug CVE-2021-3565.

We fixed this issue by backporting the upstream's patch.

The Debian bug is #989148


[ Impact ]
If the unblock is not granted, when users run tpm2_import command there
might be

some risks that the key will be stolen by MITM attack.


[ Tests ]

We only run manually test on computers with tpm2 external hardware.

The following command is run and still works as expected.

 * tpm2_createprimary -Grsa2048:aes128cfb -C o -c parent.ctx
 * dd if=/dev/urandom of=sym.key bs=1 count=16
 * tpm2_import -C parent.ctx -G aes -i sym.key -u key.pub -r key.priv


The above commands are not suitable for autopkgtest because they require

tpm2 hardware.


[ Risks ]

This package is not a key package. It is a leaf package. No other
package depends on this.

These tpm2_* commands are for users who wants to manually operate tpm2
device.

The patch is quite trivial. Just don't use fixed key, instead generate
it randomly.

[ Checklist ]
  [x] all changes are documented in the d/changelog
  [x] I reviewed all changes and I approve them
  [x] attach debdiff against the package in testing

[ Other info ]

unblock tpm2-tools/5.0-2

diff -Nru tpm2-tools-5.0/debian/changelog tpm2-tools-5.0/debian/changelog
--- tpm2-tools-5.0/debian/changelog 2020-11-30 15:56:37.0 +0800
+++ tpm2-tools-5.0/debian/changelog 2021-06-02 04:00:26.0 +0800
@@ -1,3 +1,11 @@
+tpm2-tools (5.0-2) unstable; urgency=low
+
+  * Add debian/patches/0001-tpm2_import-fix-fixed-AES-key-CVE-2021-3565.patch
+- Fix CVE-2021-3565 (Closes: #989148)
+- This patch fixes the fixed AES key issue in tpm2_import command
+
+ -- Ying-Chun Liu (PaulLiu)   Wed, 02 Jun 2021 04:00:26 
+0800
+
 tpm2-tools (5.0-1) unstable; urgency=low
 
   * New upstream release.
diff -Nru 
tpm2-tools-5.0/debian/patches/0001-tpm2_import-fix-fixed-AES-key-CVE-2021-3565.patch
 
tpm2-tools-5.0/debian/patches/0001-tpm2_import-fix-fixed-AES-key-CVE-2021-3565.patch
--- 
tpm2-tools-5.0/debian/patches/0001-tpm2_import-fix-fixed-AES-key-CVE-2021-3565.patch
1970-01-01 08:00:00.0 +0800
+++ 
tpm2-tools-5.0/debian/patches/0001-tpm2_import-fix-fixed-AES-key-CVE-2021-3565.patch
2021-06-02 04:00:26.0 +0800
@@ -0,0 +1,44 @@
+From c069e4f179d5e6653a84fb236816c375dca82515 Mon Sep 17 00:00:00 2001
+From: William Roberts 
+Date: Fri, 21 May 2021 12:22:31 -0500
+Bug-Debian: https://bugs.debian.org/989148
+Subject: [PATCH] tpm2_import: fix fixed AES key CVE-2021-3565
+
+tpm2_import used a fixed AES key for the inner wrapper, which means that
+a MITM attack would be able to unwrap the imported key. Even the
+use of an encrypted session will not prevent this. The TPM only
+encrypts the first parameter which is the fixed symmetric key.
+
+To fix this, ensure the key size is 16 bytes or bigger and use
+OpenSSL to generate a secure random AES key.
+
+Fixes: #2738
+
+Signed-off-by: William Roberts 
+---
+ tools/tpm2_import.c | 12 +++-
+ 1 file changed, 11 insertions(+), 1 deletion(-)
+
+Index: tpm2-tools-5.0/tools/tpm2_import.c
+===
+--- tpm2-tools-5.0.orig/tools/tpm2_import.c
 tpm2-tools-5.0/tools/tpm2_import.c
+@@ -149,7 +149,17 @@ static tool_rc key_import(ESYS_CONTEXT *
+ TPM2B_DATA enc_sensitive_key = {
+ .size = 
parent_pub->publicArea.parameters.rsaDetail.symmetric.keyBits.sym / 8
+ };
+-memset(enc_sensitive_key.buffer, 0xFF, enc_sensitive_key.size);
++
++if(enc_sensitive_key.size < 16) {
++LOG_ERR("Calculated wrapping keysize is less than 16 bytes, got: %u", 
enc_sensitive_key.size);
++return tool_rc_general_error;
++}
++
++int ossl_rc = RAND_bytes(enc_sensitive_key.buffer, 
enc_sensitive_key.size);
++if (ossl_rc != 1) {
++LOG_ERR("RAND_bytes failed: %s", ERR_error_string(ERR_get_error(), 
NULL));
++return tool_rc_general_error;
++}
+ 
+ /*
+  * Calculate the object name.
diff -Nru tpm2-tools-5.0/debian/patches/series 
tpm2-tools-5.0/debian/patches/series
--- tpm2-tools-5.0/debian/patches/series2020-02-02 01:35:00.0 
+0800
+++ tpm2-tools-5.0/debian/patches/series2021-06-01 18:48:27.0 
+0800
@@ -1 +1,2 @@
 0001_add_version_string.patch
+0001-tpm2_import-fix-fixed-AES-key-CVE-2021-3565.patch


OpenPGP_signature
Description: OpenPGP digital signature


Bug#985684: arm64: please enable CONFIG_ARCH_MXC for mx8 boards

2021-03-21 Thread Ying-Chun Liu (PaulLiu)
Source: linux
Severity: wishlist

Dear Maintainer,

Please enable CONFIG_ARCH_MXC and related configs for i.mx8 boards.

In mainline's defconfig, CONFIG_ARCH_MXC is enabled by default. Thus the
mainline kernel supports mx8 boards by default. 

But it seems that Debian kernel doesn't enable it.


So please consider support mx8 boards.



Yours,
Paul





OpenPGP_signature
Description: OpenPGP digital signature


Bug#981429: ITP: dyda -- dynamic data pipeline framework for DT42 applications

2021-01-30 Thread Ying-Chun Liu (PaulLiu)
Package: wnpp
Severity: wishlist
Owner: Ying-Chun Liu (PaulLiu) 

* Package name    : dyda
  Version : 1.41.0
  Upstream Author : DT42 https://dt42.io
* URL : https://github.com/numbersprotocol/dyda
* License : BSD-3-Clause
  Programming Lang: Python
  Description : dynamic data pipeline framework for DT42 applications
 dyda is a library provides dynamic data pipeline framework. By using the
 framework applications can configure a pipe based on configuration files.
 And users can change the pipeline by modifying the configuration files
 without touching any code.



OpenPGP_signature
Description: OpenPGP digital signature


Bug#979449: RM: moblin-cursor-theme -- ROM; dead upstream

2021-01-06 Thread Ying-Chun Liu (PaulLiu)
Package: ftp.debian.org
Severity: normal



Hi. The maintainer (Zhengpeng Hou) and I decided to remove this package
due to it is dead upstream.

Please see bug #979219

Yours,
Paul



Bug#979342: RM: moblin-icon-theme -- ROM; dead upstream

2021-01-05 Thread Ying-Chun Liu (PaulLiu)
Package: ftp.debian.org
Severity: normal



Hi. The maintainer (Zhengpeng Hou) and I decided to remove this package
due to it is dead upstream.

Please see bug #979223

Yours,
Paul



Bug#978954: pepperflashplugin-nonfree: should not be part of next stable Debian release

2020-12-31 Thread Ying-Chun Liu (PaulLiu)
Package: pepperflashplugin-nonfree
Version: 1.8.7
Severity: grave
Justification: renders package unusable

Dear Maintainer,

flash has been EOL today. Browsers are starting to block flash.
I think we should block this package goes into next release?

Yours,
Paul

-- System Information:
Debian Release: bullseye/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: amd64 (x86_64)

Kernel: Linux 5.9.0-5-amd64 (SMP w/4 CPU threads)
Kernel taint flags: TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE
Locale: LANG=zh_TW.UTF-8, LC_CTYPE=zh_TW.UTF-8 (charmap=UTF-8), 
LANGUAGE=zh_TW:en_US
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages pepperflashplugin-nonfree depends on:
ii  binutils 2.35.1-6
ii  ca-certificates  20200601
ii  libgcc-s110.2.1-3
ii  libstdc++6   10.2.1-3
ii  wget 1.20.3-1+b3

pepperflashplugin-nonfree recommends no packages.

Versions of packages pepperflashplugin-nonfree suggests:
ii  chromium   83.0.4103.116-3.1+b2
pn  ttf-dejavu 
pn  ttf-mscorefonts-installer  
pn  ttf-xfree86-nonfree

-- no debconf information


signature.asc
Description: PGP signature


Bug#976283: nmu: tpm2-abrmd tpm2-pkcs11

2020-12-02 Thread Ying-Chun Liu (PaulLiu)
Package: release.debian.org
User: release.debian@packages.debian.org
Usertags: binnmu
Severity: normal

Hello,

libtpm2-tss bump the soname and renames the package for
transition from buster -> bullseye. Make the package tpm2-abrmd
and tpm2-pkcs11 needs to build against the latest libtpm2-tss.
Please see #974837

  nmu tpm2-abrmd:2.3.3-1 . ANY . -m 'Rebuild against the new libtpm2-tss, see 
#974837.'
  nmu tpm2-pkcs11:1.2.0-1 . ANY . -m 'Rebuild against the new libtpm2-tss, see 
#974837.'

Thanks.|



Bug#973316: nmu: tpm2-abrmd_2.3.3-1 tpm2-tools_4.3.0-1

2020-10-28 Thread Ying-Chun Liu (PaulLiu)
Package: release.debian.org
User: release.debian@packages.debian.org
Usertags: binnmu
Severity: normal

Hello,

libtpm2-tss bump the soname of its lib. Make the package
tpm2-abrmd needs to build against the latest libtpm2-tss.
Please see #972118
We have split the tpm2-tss already so that the SONAME matches the
package name.

  nmu tpm2-abrmd_2.3.3-1 . ANY . -m 'Rebuild against the new
libtpm2-tss, see #972118.'
  nmu tpm2-tools_4.3.0-1 . ANY . -m 'Rebuild against the new
libtpm2-tss, see #972659.'

Thanks.|

Yours,
Paul



Bug#972659: nmu: tpm2-abrmd

2020-10-21 Thread Ying-Chun Liu (PaulLiu)
Package: release.debian.org
User: release.debian@packages.debian.org
Usertags: binnmu
Severity: normal

Hello,

libtpm2-tss bump the soname of its lib. Make the package
tpm2-abrmd needs to build against the latest libtpm2-tss.
Please see #972118

  nmu tpm2-abrmd:2.3.3-1 . ANY . -m 'Rebuild against the new
libtpm2-tss, see #972118.'

Thanks.|

Yours,
Paul



Bug#972118: tpm2-abrmd: Daemon fails to start: needs to be rebuilt against newer libtss2-esys0

2020-10-21 Thread Ying-Chun Liu (PaulLiu)
Hi Jan,



Yes, just as you described. I think we need a binNMU here.


Thanks,
Paul





signature.asc
Description: OpenPGP digital signature


Bug#967854: ITA: gimp-plugin-registry -- repository of optional extensions for GIMP

2020-09-22 Thread Ying-Chun Liu (PaulLiu)
retitle 967854 ITA: gimp-plugin-registry -- repository of optional
extensions for GIMP
owner 967854 !
thanks

Hi Bernd,

I'll take this package because I still use gimp-mask very often.
I'll prepare a new upload to fix the bugs soon.

Yours,
Paul





signature.asc
Description: OpenPGP digital signature


Bug#969083: unblock: libomxil-bellagio/0.9.3-6

2020-08-27 Thread Ying-Chun Liu (PaulLiu)
Hi Sebastian,

gst-omx and libomxil-bellagio0 doesn't have strong dependencies.

libomxil-bellagio0 can be a "plugin" of gst-omx. That means gst-omx can
be run by itself without libomxil-bellagio0 at all.
The problem happens in autopkgtest. In test, we use libomxil-bellagio0
as a plugin to test gst-omx.
Thus gst-omx originally loads that plugin (in debian/tests scripts) from
/usr/lib. But now it needs to load

that plugin through test scripts from multi-arch path.

Yours,
Paul

Sebastian Ramacher 於 2020/8/27 下午7:14 寫道:
> Control: tags -1 + moreinfo
>
> On 2020-08-27 18:00:15, Ying-Chun Liu (PaulLiu) wrote:
>> Package: release.debian.org
>> Severity: normal
>> User: release.debian@packages.debian.org
>> Usertags: unblock
>>
>>
>> Please unblock package libomxil-bellagio
>>
>> [ Reason ]
>>
>> libomxil-bellagio changes the library path to multi-arch.
>>
>> gst-omx will use the library for autopkgtest. So newer gst-omx loads the
>> library
>>
>> from multi-arch path. And thus failed to pass the test for older
>> libomxil-bellagio.
> This sounds a lot like missing Breaks and versioned dependencies:
> libomxil-bellagio0 needs Breaks on the gst-omx packages that ship the
> config with the hard-coded path.
>
> At the same time, gst-omx does not seem to work with libomxil-bellagio
> currently in testing. So this will also need versioned dependencies on a
> sufficently high version of libomxil-bellagio0. And if those packages
> require the shared library, why aren't the depending on it in the first
> place?
>
> But overall, the missing Breaks and Depends seem like a real issue that
> would also break the packages in partial buster -> bullseye upgrade
> scenarios.
>
> Best
>
>>
>> We should unblock libomxil-bellagio, and thus newer gst-omx should also
>> pass all the debci tests later and automatically migrate.
>>
>>
>> [ Impact ]
>> libomxil-bellagio remains using old non-multiarch library path.
>>
>> [ Tests ]
>> gst-omx/1.16.2-1 tests ok with libomxil-bellagio/0.9.3-6.
>> It just failed with older libomxil-bellagio.
>>
>> [ Risks ]
>> Should have no risks.  autopkgtest already passed on the latest version
>> of each package.
>>
>> [ Checklist ]
>>   [X] all changes are documented in the d/changelog
>>   [X] I reviewed all changes and I approve them
>>   [X] attach debdiff against the package in testing
>>
>> unblock libomxil-bellagio/0.9.3-6
>>
>> diff -Nru libomxil-bellagio-0.9.3/debian/changelog 
>> libomxil-bellagio-0.9.3/debian/changelog
>> --- libomxil-bellagio-0.9.3/debian/changelog 2018-09-23 03:56:46.0 
>> +0800
>> +++ libomxil-bellagio-0.9.3/debian/changelog 2020-08-12 15:16:26.0 
>> +0800
>> @@ -1,3 +1,25 @@
>> +libomxil-bellagio (0.9.3-6) unstable; urgency=low
>> +
>> +  * Use linktrees instead of links.
>> +
>> + -- Ying-Chun Liu (PaulLiu)   Wed, 12 Aug 2020 15:16:26 
>> +0800
>> +
>> +libomxil-bellagio (0.9.3-5) unstable; urgency=low
>> +
>> +  * Multi-arch support
>> + - Move libs to multiarch path (Closes: #928847)
>> + - Add Multi-Arch foreign to -doc package. (Closes: #949568)
>> +  * Bump Standards-Version to 4.5.0: Nothing needs to be changed.
>> +  * Bump debhelper compat to 11
>> +- Remove Build-Depends on autotools-dev and dh-autoreconf
>> +- Add debian/patches/0014_fix_hardening.patch: fix hardening error
>> +  * Remove Vcs-Git and Vcs-Browser field
>> +  * Remove *-dbg packages. Now we have -dbgsym packages. (Closes: #620832)
>> +  * Add debian/patches/0015_port_gcc_10.patch: port to gcc 10.
>> +- (Closes: #957453)
>> +
>> + -- Ying-Chun Liu (PaulLiu)   Sun, 09 Aug 2020 15:48:03 
>> +0800
>> +
>>  libomxil-bellagio (0.9.3-4.1) unstable; urgency=medium
>>  
>>* Non-maintainer upload.
>> diff -Nru libomxil-bellagio-0.9.3/debian/clean 
>> libomxil-bellagio-0.9.3/debian/clean
>> --- libomxil-bellagio-0.9.3/debian/clean 1970-01-01 08:00:00.0 
>> +0800
>> +++ libomxil-bellagio-0.9.3/debian/clean 2020-08-09 15:48:03.0 
>> +0800
>> @@ -0,0 +1 @@
>> +debian/libomxil-bellagio-bin.triggers
>> diff -Nru libomxil-bellagio-0.9.3/debian/compat 
>> libomxil-bellagio-0.9.3/debian/compat
>> --- libomxil-bellagio-0.9.3/debian/compat2016-11-13 02:59:37.0 
>> +0800
>> +++ libomxil-bellagio-0.9.3/debian/compat2020-08-09 15:48:03.0 
>> +0800
>> @@ -1 +1 @@
>> -8
>> +11
>> diff -Nru libomxil-bellagio-0.9.3/d

Bug#969083: unblock: libomxil-bellagio/0.9.3-6

2020-08-27 Thread Ying-Chun Liu (PaulLiu)
Package: release.debian.org
Severity: normal
User: release.debian@packages.debian.org
Usertags: unblock


Please unblock package libomxil-bellagio

[ Reason ]

libomxil-bellagio changes the library path to multi-arch.

gst-omx will use the library for autopkgtest. So newer gst-omx loads the
library

from multi-arch path. And thus failed to pass the test for older
libomxil-bellagio.


We should unblock libomxil-bellagio, and thus newer gst-omx should also
pass all the debci tests later and automatically migrate.


[ Impact ]
libomxil-bellagio remains using old non-multiarch library path.

[ Tests ]
gst-omx/1.16.2-1 tests ok with libomxil-bellagio/0.9.3-6.
It just failed with older libomxil-bellagio.

[ Risks ]
Should have no risks.  autopkgtest already passed on the latest version
of each package.

[ Checklist ]
  [X] all changes are documented in the d/changelog
  [X] I reviewed all changes and I approve them
  [X] attach debdiff against the package in testing

unblock libomxil-bellagio/0.9.3-6

diff -Nru libomxil-bellagio-0.9.3/debian/changelog libomxil-bellagio-0.9.3/debian/changelog
--- libomxil-bellagio-0.9.3/debian/changelog	2018-09-23 03:56:46.0 +0800
+++ libomxil-bellagio-0.9.3/debian/changelog	2020-08-12 15:16:26.0 +0800
@@ -1,3 +1,25 @@
+libomxil-bellagio (0.9.3-6) unstable; urgency=low
+
+  * Use linktrees instead of links.
+
+ -- Ying-Chun Liu (PaulLiu)   Wed, 12 Aug 2020 15:16:26 +0800
+
+libomxil-bellagio (0.9.3-5) unstable; urgency=low
+
+  * Multi-arch support
+ - Move libs to multiarch path (Closes: #928847)
+ - Add Multi-Arch foreign to -doc package. (Closes: #949568)
+  * Bump Standards-Version to 4.5.0: Nothing needs to be changed.
+  * Bump debhelper compat to 11
+- Remove Build-Depends on autotools-dev and dh-autoreconf
+- Add debian/patches/0014_fix_hardening.patch: fix hardening error
+  * Remove Vcs-Git and Vcs-Browser field
+  * Remove *-dbg packages. Now we have -dbgsym packages. (Closes: #620832)
+  * Add debian/patches/0015_port_gcc_10.patch: port to gcc 10.
+- (Closes: #957453)
+
+ -- Ying-Chun Liu (PaulLiu)   Sun, 09 Aug 2020 15:48:03 +0800
+
 libomxil-bellagio (0.9.3-4.1) unstable; urgency=medium
 
   * Non-maintainer upload.
diff -Nru libomxil-bellagio-0.9.3/debian/clean libomxil-bellagio-0.9.3/debian/clean
--- libomxil-bellagio-0.9.3/debian/clean	1970-01-01 08:00:00.0 +0800
+++ libomxil-bellagio-0.9.3/debian/clean	2020-08-09 15:48:03.0 +0800
@@ -0,0 +1 @@
+debian/libomxil-bellagio-bin.triggers
diff -Nru libomxil-bellagio-0.9.3/debian/compat libomxil-bellagio-0.9.3/debian/compat
--- libomxil-bellagio-0.9.3/debian/compat	2016-11-13 02:59:37.0 +0800
+++ libomxil-bellagio-0.9.3/debian/compat	2020-08-09 15:48:03.0 +0800
@@ -1 +1 @@
-8
+11
diff -Nru libomxil-bellagio-0.9.3/debian/control libomxil-bellagio-0.9.3/debian/control
--- libomxil-bellagio-0.9.3/debian/control	2016-11-13 04:44:17.0 +0800
+++ libomxil-bellagio-0.9.3/debian/control	2020-08-12 15:16:26.0 +0800
@@ -2,12 +2,16 @@
 Section: libs
 Priority: optional
 Maintainer: Ying-Chun Liu (PaulLiu) 
-Build-Depends: debhelper (>= 8), dh-autoreconf,
- autotools-dev, libasound2-dev, libmad0-dev, libvorbis-dev,
- doxygen, libjs-jquery
-Standards-Version: 3.9.8
-Vcs-Browser: http://git.debian.org/?p=collab-maint/libomxil-bellagio.git
-Vcs-Git: git://git.debian.org/git/collab-maint/libomxil-bellagio.git
+Build-Depends: debhelper (>= 11),
+   dh-exec,
+   dh-linktree,
+   doxygen,
+   libasound2-dev,
+   libjs-jquery,
+   libmad0-dev,
+   libvorbis-dev,
+   node-jquery
+Standards-Version: 4.5.0
 Homepage: http://sourceforge.net/projects/omxil/
 
 Package: libomxil-bellagio0
@@ -15,7 +19,7 @@
 Suggests: libomxil-bellagio0-components-base
 Architecture: any
 Section: libs
-Depends: ${shlibs:Depends}, ${misc:Depends}
+Depends: ${misc:Depends}, ${shlibs:Depends}
 Description: implementation of OpenMAX IL, run-time library
  OpenMAX Integration Layer (IL) is a standard API to access Multimedia
  Components on mobile platforms. It has been defined by the Khronos
@@ -34,7 +38,7 @@
 Package: libomxil-bellagio-bin
 Architecture: any
 Section: utils
-Depends: ${shlibs:Depends}, ${misc:Depends}
+Depends: ${misc:Depends}, ${shlibs:Depends}
 Replaces: libomxil-bellagio0 (<< 0.9.3-4)
 Breaks: libomxil-bellagio0 (<< 0.9.3-4)
 Description: implementation of OpenMAX IL, run-time library (utilities)
@@ -57,7 +61,7 @@
 Package: libomxil-bellagio0-components-base
 Architecture: any
 Section: libs
-Depends: ${shlibs:Depends}, ${misc:Depends}, libomxil-bellagio-bin
+Depends: libomxil-bellagio-bin, ${misc:Depends}, ${shlibs:Depends}
 Description: components for Bellagio OpenMAX IL
  OpenMAX Integration Layer (IL) is a standard API to access Multimedia
  Components on mobile platforms. It has been defined by the Khronos
@@ -70,13 +74,13 @@
  It is intended

Bug#931397: arm-trusted-firmware: Please provide fiptool and cert_create

2020-08-05 Thread Ying-Chun Liu (PaulLiu)
Hi Vagrant,

Sorry for late reply.
I've tested the two tools and it works perfectly.

fiptool runs good. And cert_create also works for generic tbbr.
Cool. Thanks.

Yours,
Paul

Vagrant Cascadian 於 2020/5/30 上午6:40 寫道:
> Control: tags 931397 +patch
>
> On 2019-07-04, Ying-Chun Liu wrote:
>> These 2 tools are very important for using arm-trusted-firmware I think.
>> By using fiptool we can alter the images (BL31/32/33) in FIP. For example,
>> if we want to manually upgrade OPTEE or U-Boot, then we need to run
>> "fiptool update"
> ...
>> To make these two binaries, we can do these steps in arm-trusted-firmware
>> source directory:
>>
>>  * fiptool: make fiptool
>>  * cert_create: make -C tools/cert_create
> The attached patch does create these binaries in an
> "arm-trusted-firmware-tools" package; can you build and test that the
> resulting binaries work correctly?
>
> live well,
>   vagrant
>



signature.asc
Description: OpenPGP digital signature


Bug#958382: node-mqtt: please make the build reproducible

2020-04-26 Thread Ying-Chun Liu (PaulLiu)
Hi Chris,

I think I need to preserve the permission of that file because
/usr/bin/mqtt is linked to /usr/share/nodejs/mqtt/mqtt.js
Thus that file needs to be executable. So simply run dh_fixperms doesn't solve 
the problem.
Is there any other solution for this? 

Yours,
Paul





signature.asc
Description: OpenPGP digital signature


  1   2   3   4   5   >