-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathREADME
129 lines (101 loc) · 5.32 KB
/
README
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
## Notes
I think i managed to gather the latest version of python2 compatible packages. now remains to get it building and working, again.
TODO: Change version to not have apt want to 'update' the packages....
build cmd:
dpkg-buildpackage -us -uc; dh_clean; dpkg-buildpackage -us -uc -nc -j5 --no-post-clean
---
Building python2
---
Needs sorting (makefile.in) building outside dpkg-buildpackage (makefile) config, path's and names need to change to python2.
---
Building pygtk-2.24
python-cairo-dev can at least be grabbed from 'oldoldstable' still.
These are simply removed from deps:
python-cairo-dbg
python-gobject-2-dbg
needs
libatk-bridge2.0-dev
check-local must be removed from Makefile.in also in tests/ if it appears
----
gtksourceview2-2.10.5
depends on: gobject-introspection
Gentoo fixed building with gcc-14
https://gitweb.gentoo.org/repo/gentoo.git/diff/?id=4f79cdcc9f9f1d131994a0764d0dc3e1d9a5fbad&id2=05481fab1748df6e85deb763b75843f52d96f7e9
---
pygtksourceview-2.10.1
thankfully simply changing debian/rules worked:
DEB_CONFIGURE_EXTRA_FLAGS="PYTHON=python2"
# include /usr/share/cdbs/1/class/python-autotools.mk
include /usr/share/python/python.mk
dpkg-buildpackage -us -uc -nc --no-post-clean
---
pycairo:
deps: needed python2.pm - so i hacked together a python2 version using the buster sources and edited the build rules and makefile
My source.list file has these entries:
#legacy
deb [ allow-insecure=yes ] http://archive.debian.org/debian/ squeeze main contrib non-free
deb-src [ allow-insecure=yes ] http://archive.debian.org/debian/ squeeze main contrib non-free
deb [ allow-insecure=yes ] http://archive.debian.org/debian/ squeeze-backports main contrib non-free
deb-src [ allow-insecure=yes ] http://archive.debian.org/debian/ squeeze-backports main contrib non-free
deb [ allow-insecure=yes ] http://archive.debian.org/debian/ stretch main contrib non-free
deb-src [ allow-insecure=yes ] http://archive.debian.org/debian/ stretch main contrib non-free
deb [ allow-insecure=yes ] http://archive.debian.org/debian/ stretch-backports main contrib non-free
deb-src [ allow-insecure=yes ] http://archive.debian.org/debian/ stretch-backports main contrib non-free
deb http://ftp.debian.org/debian/ oldstable main contrib non-free #non-free-firmware
deb-src http://ftp.debian.org/debian/ oldstable main contrib non-free #non-free-firmware
deb http://security.debian.org/debian-security oldstable-security main contrib
deb-src http://security.debian.org/debian-security oldstable-security main contrib
deb http://ftp.debian.org/debian/ oldoldstable main contrib non-free #non-free-firmware
deb-src http://ftp.debian.org/debian/ oldoldstable main contrib non-free #non-free-firmware
deb http://security.debian.org/debian-security oldoldstable-security main contrib
deb-src http://security.debian.org/debian-security oldoldstable-security main contrib
#
## originally:
apt source libpython-all-dev
Reading package lists... Done
Picking 'python-defaults' as source package instead of 'libpython-all-dev'
NOTICE: 'python-defaults' packaging is maintained in the 'Git' version control system at:
https://salsa.debian.org/cpython-team/python-defaults.git
Please use:
git clone https://salsa.debian.org/cpython-team/python-defaults.git
to retrieve the latest (possibly unreleased) updates to the package.
Need to get 47.1 kB of source archives.
Get:1 http://kali.download/kali kali-rolling/main python-defaults 2.7.18-3 (dsc) [2,446 B]
Get:2 http://kali.download/kali kali-rolling/main python-defaults 2.7.18-3 (tar) [44.7 kB]
Fetched 47.1 kB in 1s (35.8 kB/s)
dpkg-source: info: extracting python-defaults in python-defaults-2.7.18
dpkg-source: info: unpacking python-defaults_2.7.18-3.tar.gz
##
apt source python-gtk2-dev
Reading package lists... Done
Picking 'pygtk' as source package instead of 'python-gtk2-dev'
NOTICE: 'pygtk' packaging is maintained in the 'Svn' version control system at:
svn://svn.debian.org/svn/pkg-gnome/attic/pygtk/
Need to get 3,253 kB of source archives.
Get:1 http://deb.debian.org/debian stretch/main pygtk 2.24.0-5.1 (dsc) [2,860 B]
Get:2 http://deb.debian.org/debian stretch/main pygtk 2.24.0-5.1 (tar) [3,234 kB]
Get:3 http://deb.debian.org/debian stretch/main pygtk 2.24.0-5.1 (diff) [16.1 kB]
Fetched 3,253 kB in 1s (2,767 kB/s)
dpkg-source: info: extracting pygtk in pygtk-2.24.0
dpkg-source: info: unpacking pygtk_2.24.0.orig.tar.gz
dpkg-source: info: unpacking pygtk_2.24.0-5.1.debian.tar.xz
dpkg-source: info: using patch list from debian/patches/series
dpkg-source: info: applying 01_pygtk-demo.patch
dpkg-source: info: applying 03_testsuite_filechooser.patch
dpkg-source: info: applying 04_Fix_leaks_of_Pango_objects.patch
dpkg-source: info: applying 05_Fix_GdkColor_pixel_parse.patch
##
apt source cdbs
Reading package lists... Done
NOTICE: 'cdbs' packaging is maintained in the 'Git' version control system at:
https://salsa.debian.org/build-common-team/cdbs.git
Please use:
git clone https://salsa.debian.org/build-common-team/cdbs.git
to retrieve the latest (possibly unreleased) updates to the package.
Need to get 208 kB of source archives.
Get:1 http://kali.download/kali kali-rolling/main cdbs 0.4.163 (dsc) [1,898 B]
Get:2 http://kali.download/kali kali-rolling/main cdbs 0.4.163 (tar) [206 kB]
Fetched 208 kB in 3s (80.6 kB/s)
dpkg-source: info: extracting cdbs in cdbs-0.4.163
dpkg-source: info: unpacking cdbs_0.4.163.tar.xz
##