Package: fbpanel
Version: 7.0-4
Followup-For: Bug #967133
User: ubuntu-de...@lists.ubuntu.com
Usertags: origin-ubuntu hirsute ubuntu-patch
Control: tags -1 patch

Hi,

In Ubuntu, the attached patch was applied to achieve the following:

  * Build using python2.

Thanks for considering the patch.

Logan
diff -Nru fbpanel-7.0/debian/control fbpanel-7.0/debian/control
--- fbpanel-7.0/debian/control  2017-10-12 07:54:27.000000000 -0400
+++ fbpanel-7.0/debian/control  2020-04-03 12:14:06.000000000 -0400
@@ -3,7 +3,7 @@
 Priority: optional
 Maintainer: Ulises Vitulli <der...@debian.org> 
 Build-Depends: debhelper (>= 9), autotools-dev, libgtk2.0-dev, libxmu-dev, 
- libxpm-dev, python-minimal, python-argparse
+ libxpm-dev, python2
 Standards-Version: 4.1.1
 Homepage: https://github.com/aanatoly/fbpanel
 
diff -Nru fbpanel-7.0/debian/patches/python2.diff 
fbpanel-7.0/debian/patches/python2.diff
--- fbpanel-7.0/debian/patches/python2.diff     1969-12-31 19:00:00.000000000 
-0500
+++ fbpanel-7.0/debian/patches/python2.diff     2020-04-03 12:14:06.000000000 
-0400
@@ -0,0 +1,40 @@
+Index: b/.config/help
+===================================================================
+--- a/.config/help
++++ b/.config/help
+@@ -1,4 +1,4 @@
+-#!/usr/bin/python
++#!/usr/bin/python2
+ 
+ import re, os, sys, textwrap
+ # Formats help message
+Index: b/.config/repl.py
+===================================================================
+--- a/.config/repl.py
++++ b/.config/repl.py
+@@ -1,4 +1,4 @@
+-#!/usr/bin/python
++#!/usr/bin/python2
+ 
+ import re, sys
+ 
+Index: b/.config/tar.py
+===================================================================
+--- a/.config/tar.py
++++ b/.config/tar.py
+@@ -1,4 +1,4 @@
+-#!/usr/bin/python
++#!/usr/bin/python2
+ 
+ import subprocess as sp
+ import re, tempfile
+Index: b/configure
+===================================================================
+--- a/configure
++++ b/configure
+@@ -1,4 +1,4 @@
+-#!/usr/bin/python
++#!/usr/bin/python2
+ 
+ import sys
+ if sys.version_info < (2, 7):
diff -Nru fbpanel-7.0/debian/patches/series fbpanel-7.0/debian/patches/series
--- fbpanel-7.0/debian/patches/series   2017-10-12 07:54:27.000000000 -0400
+++ fbpanel-7.0/debian/patches/series   2020-04-03 12:14:06.000000000 -0400
@@ -5,3 +5,4 @@
 plugins_volume_oss+alsa_hint.patch
 ftbfs-hurd.patch
 nolibexec.patch
+python2.diff

Reply via email to