mirror of
https://github.com/clearlinux/common.git
synced 2026-06-16 11:06:15 +00:00
Compare commits
65 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| b32e466635 | |||
| 755bd91716 | |||
| d2b615d14b | |||
| 71b5075a7b | |||
| fd6bcb7b24 | |||
| 771b704606 | |||
| b3ea1cd421 | |||
| 752274f532 | |||
| 1addfd447d | |||
| 8546a126bd | |||
| 280d5471d7 | |||
| 025c9a74f1 | |||
| b03db840a6 | |||
| 59dfc2236f | |||
| e61ebaafc6 | |||
| 4bcceb402e | |||
| 5e15b47efc | |||
| 043265171f | |||
| 982d58e0e6 | |||
| accf578c02 | |||
| efe2b2bccf | |||
| 9f77cbb6e3 | |||
| bd6c14938b | |||
| 32729558d9 | |||
| b2ad8dbda8 | |||
| e545190de3 | |||
| 9921115897 | |||
| 8d5f8e37c5 | |||
| 6bc5718c25 | |||
| a21156767e | |||
| 9dd5bb895b | |||
| 67b7ef2bf4 | |||
| 6ad56934fd | |||
| 7b08135720 | |||
| 168c9b8606 | |||
| 3ff4181689 | |||
| a581ac8fbf | |||
| 601ca9e0fc | |||
| 8848658fcf | |||
| b76a7bc7f8 | |||
| f8f9619eec | |||
| b7b8774581 | |||
| b3618cc43c | |||
| 921ac270fe | |||
| f41acbdeb0 | |||
| 83a461fe40 | |||
| 6876f3d11e | |||
| 5a4dd4451a | |||
| d48889eb29 | |||
| b402f2bbdf | |||
| 1fcaa4aea6 | |||
| 71b927321f | |||
| 40f17091a6 | |||
| 3b062e1b45 | |||
| 3c3fc1a16c | |||
| 3c7aac6a8e | |||
| baf555428f | |||
| 262d005c62 | |||
| ceff8301a1 | |||
| 8eb7264597 | |||
| c10d558ee6 | |||
| bd75d90fc7 | |||
| 081c620f82 | |||
| 7e017ee247 | |||
| 5b43360fe8 |
+25
-7
@@ -186,6 +186,8 @@ autospec: preautospec-checks pullrebase localreponotice clean-old-content
|
||||
bash update_changelog.sh ; \
|
||||
git commit --amend --no-edit Change* ; \
|
||||
fi
|
||||
git diff | grep -q index || python3 $(TOPLVL)/projects/common/patchfilter.py > for-review.txt ;
|
||||
git diff | grep -q index || python3 $(TOPLVL)/projects/common/patchfilter.py ;
|
||||
|
||||
#help autospecnogit: Runs autospec, but does not create a commit
|
||||
autospecnogit:
|
||||
@@ -411,27 +413,43 @@ install:
|
||||
#help install-debuginfo-local: Install locally built debuginfo RPM to
|
||||
#help the automatic debuginfo cache location (/var/cache/debuginfo)
|
||||
install-debuginfo-local:
|
||||
@if [ -z "${DEBUGINFO_RPM}" ]; then \
|
||||
echo "No debuginfo to install... skipping"; \
|
||||
exit 0; \
|
||||
fi; \
|
||||
echo -n "Installing ${DEBUGINFO_RPM}... "; \
|
||||
tmpdir=$$(mktemp -d); \
|
||||
rpm2cpio ${DEBUGINFO_RPM} | ( cd $$tmpdir; cpio -i -d -u); \
|
||||
rpm2cpio ${DEBUGINFO_RPM} | ( cd $$tmpdir; cpio -i -d -u 2> /dev/null); \
|
||||
dest=/var/cache/debuginfo/lib; \
|
||||
find $$tmpdir/usr/lib/debug/ -mindepth 1 -maxdepth 1 | while read -r d; do \
|
||||
find $$tmpdir/usr/lib/debug/ -mindepth 1 -maxdepth 1 2> /dev/null | while read -r d; do \
|
||||
sudo chown -R dbginfo:dbginfo "$$d"; \
|
||||
sudo cp -a "$$d" $$dest/; \
|
||||
done; \
|
||||
find $$tmpdir/usr/share/debug/ -mindepth 1 -maxdepth 1 -regextype awk -regex '.*/(.build-id|boot|lib|sbin|usr)$$' 2> /dev/null | while read -r d; do \
|
||||
sudo chown -R dbginfo:dbginfo "$$d"; \
|
||||
sudo cp -a "$$d" $$dest/; \
|
||||
done; \
|
||||
dest=/var/cache/debuginfo/src; \
|
||||
find $$tmpdir/usr/src/debug/ -mindepth 1 -maxdepth 1 | while read -r d; do \
|
||||
find $$tmpdir/usr/src/debug/ -mindepth 1 -maxdepth 1 2> /dev/null | while read -r d; do \
|
||||
sudo chown -R dbginfo:dbginfo "$$d"; \
|
||||
sudo cp -a "$$d" $$dest/; \
|
||||
done; \
|
||||
sudo rm -rf $$tmpdir
|
||||
find $$tmpdir/usr/share/debug/src/ -mindepth 1 -maxdepth 1 2> /dev/null | while read -r d; do \
|
||||
sudo chown -R dbginfo:dbginfo "$$d"; \
|
||||
sudo cp -a "$$d" $$dest/; \
|
||||
done; \
|
||||
sudo rm -rf $$tmpdir; \
|
||||
echo "done"
|
||||
|
||||
#help install-local: Install locally built RPMs to the root filesystem. Note that the
|
||||
#help debuginfo RPM installs to /var/cache/debuginfo
|
||||
install-local:
|
||||
for r in $(filter-out ${DEBUGINFO_RPM},${RPMS}); do \
|
||||
rpm2cpio $$r | (cd /; sudo cpio -i -d -u); \
|
||||
@for r in $(filter-out ${DEBUGINFO_RPM},${RPMS}); do \
|
||||
echo -n "Installing $$r... "; \
|
||||
rpm2cpio $$r | (cd /; sudo cpio -i -d -u 2> /dev/null); \
|
||||
echo "done"; \
|
||||
done
|
||||
$(MAKE) install-debuginfo-local
|
||||
@$(MAKE) -s install-debuginfo-local
|
||||
|
||||
#help install-mock: Install locally built RPMs to the mock rootcache
|
||||
#help filesystem. This command is usually used with "make shell".
|
||||
|
||||
+6
-2
@@ -226,8 +226,12 @@ autospecnew: preautospecnew-checks localreponotice
|
||||
$${SETVERSION:+ --version $${SETVERSION}} \
|
||||
${NON_INTERACTIVE} ${SKIP_GIT} ${CLEANUP} \
|
||||
$(URL); \
|
||||
[ $$? -eq 0 ] && $(MAKE) link-new-rpms PKG_REPO_DIR="${TOPLVL}/packages/${NAME}"; \
|
||||
$(TOPLVL)/projects/common/checkblacklist.sh $(TOPLVL)/projects/common/blacklist $(TOPLVL)/packages/${NAME}/results/*.rpm; \
|
||||
if [ $$? -eq 0 ]; then \
|
||||
$(MAKE) link-new-rpms PKG_REPO_DIR="${TOPLVL}/packages/${NAME}"; \
|
||||
$(TOPLVL)/projects/common/checkblacklist.sh $(TOPLVL)/projects/common/blacklist $(TOPLVL)/packages/${NAME}/results/*.rpm; \
|
||||
python3 $(TOPLVL)/projects/common/patchfilter.py <(git -C $(TOPLVL)/packages/$(NAME) show) > $(TOPLVL)/packages/$(NAME)/for-review.txt; \
|
||||
python3 $(TOPLVL)/projects/common/patchfilter.py <(git -C $(TOPLVL)/packages/$(NAME) show); \
|
||||
fi; \
|
||||
else \
|
||||
echo "$(NAME) already exists at $(TOPLVL)/packages/$(NAME)"; \
|
||||
exit 1; \
|
||||
|
||||
@@ -99,6 +99,8 @@ CECILL-2.0
|
||||
CECILL-2.1
|
||||
CECILL-B
|
||||
CECILL-C
|
||||
CERN-OHL-1.1
|
||||
CERN-OHL-1.2
|
||||
CNRI-Jython
|
||||
CNRI-Python
|
||||
CNRI-Python-GPL-Compatible
|
||||
@@ -183,6 +185,7 @@ Info-ZIP
|
||||
Intel
|
||||
Intel-ACPI
|
||||
Interbase-1.0
|
||||
JPNIC
|
||||
JSON
|
||||
JasPer-2.0
|
||||
LAL-1.2
|
||||
@@ -325,6 +328,7 @@ Spencer-94
|
||||
Spencer-99
|
||||
StandardML-NJ
|
||||
SugarCRM-1.1.3
|
||||
TAPR-OHL-1.0
|
||||
TCL
|
||||
TCP-wrappers
|
||||
TMate
|
||||
@@ -373,6 +377,7 @@ eGenix
|
||||
gSOAP-1.3b
|
||||
gnuplot
|
||||
iMatix
|
||||
libpng-2.0
|
||||
libtiff
|
||||
mpich2
|
||||
psfrag
|
||||
|
||||
@@ -43,6 +43,7 @@ Markdown
|
||||
MarkupSafe
|
||||
ModemManager
|
||||
MonkeyType
|
||||
MuseScore
|
||||
MySQL-python
|
||||
NetworkManager
|
||||
NetworkManager-openconnect
|
||||
@@ -59,6 +60,7 @@ PasteDeploy
|
||||
Pillow
|
||||
Pint
|
||||
PyDispatcher
|
||||
PyICU
|
||||
PyJWT
|
||||
PyMySQL
|
||||
PyNaCl
|
||||
@@ -322,6 +324,7 @@ R-dotCall64
|
||||
R-downloader
|
||||
R-dplyr
|
||||
R-drc
|
||||
R-dtplyr
|
||||
R-dtw
|
||||
R-dygraphs
|
||||
R-dynlm
|
||||
@@ -392,6 +395,7 @@ R-fossil
|
||||
R-fpc
|
||||
R-fracdiff
|
||||
R-fs
|
||||
R-fst
|
||||
R-futile.logger
|
||||
R-futile.options
|
||||
R-future
|
||||
@@ -435,6 +439,7 @@ R-haplo.stats
|
||||
R-haven
|
||||
R-hdrcde
|
||||
R-here
|
||||
R-hexView
|
||||
R-hexbin
|
||||
R-highlight
|
||||
R-highr
|
||||
@@ -452,6 +457,7 @@ R-ica
|
||||
R-igraph
|
||||
R-import
|
||||
R-ineq
|
||||
R-influenceR
|
||||
R-ini
|
||||
R-inline
|
||||
R-inum
|
||||
@@ -489,6 +495,7 @@ R-leaps
|
||||
R-lfe
|
||||
R-lhs
|
||||
R-libcoin
|
||||
R-lintr
|
||||
R-listenv
|
||||
R-listviewer
|
||||
R-lle
|
||||
@@ -662,6 +669,8 @@ R-rasterVis
|
||||
R-rbenchmark
|
||||
R-rcmdcheck
|
||||
R-reactR
|
||||
R-reactlog
|
||||
R-readODS
|
||||
R-readr
|
||||
R-readstata13
|
||||
R-readxl
|
||||
@@ -678,6 +687,7 @@ R-reprex
|
||||
R-reshape
|
||||
R-reshape2
|
||||
R-reticulate
|
||||
R-rex
|
||||
R-rgenoud
|
||||
R-rgeos
|
||||
R-rgl
|
||||
@@ -690,6 +700,7 @@ R-rjags
|
||||
R-rjstat
|
||||
R-rlang
|
||||
R-rmarkdown
|
||||
R-rmatio
|
||||
R-rms
|
||||
R-rmutil
|
||||
R-rncl
|
||||
@@ -711,6 +722,7 @@ R-rsdmx
|
||||
R-rstan
|
||||
R-rstanarm
|
||||
R-rstantools
|
||||
R-rstudio
|
||||
R-rstudioapi
|
||||
R-rsvg
|
||||
R-runjags
|
||||
@@ -770,6 +782,7 @@ R-startupmsg
|
||||
R-statip
|
||||
R-statmod
|
||||
R-statnet.common
|
||||
R-stringdist
|
||||
R-stringi
|
||||
R-stringr
|
||||
R-strucchange
|
||||
@@ -825,6 +838,7 @@ R-varImp
|
||||
R-vcd
|
||||
R-vcdExtra
|
||||
R-vcr
|
||||
R-vctrs
|
||||
R-vegan
|
||||
R-vioplot
|
||||
R-viridis
|
||||
@@ -862,6 +876,7 @@ SDL_image
|
||||
SDL_mixer
|
||||
SDL_net
|
||||
SDL_ttf
|
||||
SFML
|
||||
SPIRV-Headers
|
||||
SPIRV-Tools
|
||||
SQLAlchemy
|
||||
@@ -949,6 +964,7 @@ akonadiconsole
|
||||
akregator
|
||||
alabaster
|
||||
alembic
|
||||
alsa-firmware
|
||||
alsa-lib
|
||||
alsa-plugins
|
||||
alsa-utils
|
||||
@@ -962,6 +978,7 @@ anyjson
|
||||
apache-ant
|
||||
apache-hadoop
|
||||
apache-kafka
|
||||
apache-libcloud
|
||||
apache-maven
|
||||
apache-spark
|
||||
apache-zookeeper
|
||||
@@ -1003,6 +1020,8 @@ atomicwrites
|
||||
attica
|
||||
attr
|
||||
attrs
|
||||
audacious
|
||||
audacious-plugins
|
||||
audiofile
|
||||
audisp-json
|
||||
audit
|
||||
@@ -1078,6 +1097,7 @@ boto
|
||||
boto3
|
||||
botocore
|
||||
bovo
|
||||
breathe
|
||||
breeze
|
||||
breeze-gtk
|
||||
breeze-icons
|
||||
@@ -1105,6 +1125,7 @@ buildreq-kernel
|
||||
buildreq-make
|
||||
buildreq-meson
|
||||
buildreq-mvn
|
||||
buildreq-php
|
||||
buildreq-qmake
|
||||
buildreq-scons
|
||||
bundle-chroot-builder
|
||||
@@ -1123,6 +1144,7 @@ cairo
|
||||
cairomm
|
||||
calc
|
||||
calendarsupport
|
||||
can-utils
|
||||
cantarell-fonts
|
||||
cantata
|
||||
cantor
|
||||
@@ -1135,6 +1157,7 @@ catch2
|
||||
catkin
|
||||
catkin_pkg
|
||||
ccache
|
||||
ccid
|
||||
ceilometer
|
||||
ceph
|
||||
ceph-deploy
|
||||
@@ -1159,6 +1182,7 @@ clear-config-management
|
||||
clear-font
|
||||
click
|
||||
click-datetime
|
||||
click-log
|
||||
cliff
|
||||
clinfo
|
||||
cln
|
||||
@@ -1181,6 +1205,7 @@ clr-init
|
||||
clr-installer
|
||||
clr-man-pages
|
||||
clr-network-troubleshooter
|
||||
clr-one-shot-updates
|
||||
clr-power-tweaks
|
||||
clr-python-timestamp
|
||||
clr-pyversion-strip
|
||||
@@ -1203,6 +1228,7 @@ cnf
|
||||
cni
|
||||
cni-plugins
|
||||
cockpit
|
||||
codec2
|
||||
codecov
|
||||
cogl
|
||||
coinmp
|
||||
@@ -1229,12 +1255,14 @@ collectl
|
||||
colorama
|
||||
colord
|
||||
colord-gtk
|
||||
columbiad
|
||||
comedilib
|
||||
comfortaa-fonts
|
||||
commonmark
|
||||
compat-SDL2-soname1
|
||||
compat-cryptsetup-soname4
|
||||
compat-curl-gnutls-soname4
|
||||
compat-double-conversion-soname1
|
||||
compat-efivar-soname0
|
||||
compat-enchant-soname1
|
||||
compat-exiv2-soname26
|
||||
@@ -1253,6 +1281,7 @@ compat-icu4c-soname61
|
||||
compat-ilmbase-soname23
|
||||
compat-intel-gmmlib-soname1
|
||||
compat-ipset-soname10
|
||||
compat-ldc-soname84
|
||||
compat-libgit2-soname27
|
||||
compat-libical-soname2
|
||||
compat-libidn-soname11
|
||||
@@ -1263,6 +1292,7 @@ compat-libwebp-soname6
|
||||
compat-llvm-soname4
|
||||
compat-llvm-soname5
|
||||
compat-llvm-soname6
|
||||
compat-llvm-soname7
|
||||
compat-mariadb-soname18
|
||||
compat-mpfr-soname4
|
||||
compat-opencv-soname32
|
||||
@@ -1273,6 +1303,7 @@ compat-openssl-soname-10
|
||||
compat-poppler-soname78
|
||||
compat-poppler-soname82
|
||||
compat-poppler-soname83
|
||||
compat-poppler-soname86
|
||||
compat-protobuf-soname14
|
||||
compat-protobuf-soname15
|
||||
compat-python36
|
||||
@@ -1281,6 +1312,7 @@ compat-readline-soname5
|
||||
compat-readline-soname7
|
||||
component
|
||||
compute-image-packages
|
||||
conda
|
||||
configobj
|
||||
configparser
|
||||
confuse
|
||||
@@ -1301,6 +1333,7 @@ cpio
|
||||
cppcheck
|
||||
cpprestsdk
|
||||
cppunit
|
||||
cppzmq
|
||||
cpuid
|
||||
cpuloadgen
|
||||
cracklib
|
||||
@@ -1350,6 +1383,81 @@ decorator
|
||||
defusedxml
|
||||
dejagnu
|
||||
dejavu-fonts
|
||||
deprecated-Babel
|
||||
deprecated-Cython
|
||||
deprecated-Jinja2
|
||||
deprecated-Mako
|
||||
deprecated-Markdown
|
||||
deprecated-MarkupSafe
|
||||
deprecated-PyYAML
|
||||
deprecated-Pygments
|
||||
deprecated-Sphinx
|
||||
deprecated-WebOb
|
||||
deprecated-Werkzeug
|
||||
deprecated-Whoosh
|
||||
deprecated-alabaster
|
||||
deprecated-asn1crypto
|
||||
deprecated-attrs
|
||||
deprecated-boto3
|
||||
deprecated-botocore
|
||||
deprecated-certifi
|
||||
deprecated-cffi
|
||||
deprecated-chardet
|
||||
deprecated-colorama
|
||||
deprecated-configparser
|
||||
deprecated-contextlib2
|
||||
deprecated-coverage
|
||||
deprecated-cryptography
|
||||
deprecated-docutils
|
||||
deprecated-funcsigs
|
||||
deprecated-futures
|
||||
deprecated-glances
|
||||
deprecated-html5lib
|
||||
deprecated-hypothesis
|
||||
deprecated-idna
|
||||
deprecated-imagesize
|
||||
deprecated-ipaddress
|
||||
deprecated-isort
|
||||
deprecated-jmespath
|
||||
deprecated-linecache2
|
||||
deprecated-mido
|
||||
deprecated-nose
|
||||
deprecated-numpy
|
||||
deprecated-ordereddict
|
||||
deprecated-pexpect
|
||||
deprecated-pluggy
|
||||
deprecated-psycopg2
|
||||
deprecated-py
|
||||
deprecated-pyOpenSSL
|
||||
deprecated-pyasn1
|
||||
deprecated-pycairo
|
||||
deprecated-pycparser
|
||||
deprecated-pycurl
|
||||
deprecated-pyflakes
|
||||
deprecated-pyparsing
|
||||
deprecated-python-dldt
|
||||
deprecated-python-memcached
|
||||
deprecated-python-mock
|
||||
deprecated-python-multilib
|
||||
deprecated-pytz
|
||||
deprecated-requests
|
||||
deprecated-s3transfer
|
||||
deprecated-setproctitle
|
||||
deprecated-setuptools_scm
|
||||
deprecated-simplejson
|
||||
deprecated-six
|
||||
deprecated-snowballstemmer
|
||||
deprecated-sphinx_rtd_theme
|
||||
deprecated-sphinxcontrib-websupport
|
||||
deprecated-testscenarios
|
||||
deprecated-traceback2
|
||||
deprecated-typing
|
||||
deprecated-unittest2
|
||||
deprecated-urllib3
|
||||
deprecated-warlock
|
||||
deprecated-webcolors
|
||||
deprecated-zope.testing
|
||||
deprecated-zope.testrunner
|
||||
deprecation
|
||||
desktop-file-utils
|
||||
desktop-icons
|
||||
@@ -1431,6 +1539,7 @@ edk2
|
||||
efibootmgr
|
||||
efitools
|
||||
efivar
|
||||
efl
|
||||
eigen
|
||||
elasticsearch
|
||||
elasticsearch-dep
|
||||
@@ -1443,20 +1552,25 @@ emacs
|
||||
embree
|
||||
empy
|
||||
enchant
|
||||
enlightenment
|
||||
entrypoints
|
||||
enum34
|
||||
envs
|
||||
eog
|
||||
eog-plugins
|
||||
epm
|
||||
epydoc
|
||||
eternalegypt
|
||||
ethtool
|
||||
etr
|
||||
evdev
|
||||
eventlet
|
||||
eventviews
|
||||
evince
|
||||
evolution
|
||||
evolution-data-server
|
||||
evolution-ews
|
||||
evtest
|
||||
execnet
|
||||
exempi
|
||||
exiv2
|
||||
@@ -1466,6 +1580,7 @@ expect
|
||||
extra-cmake-modules
|
||||
extras
|
||||
f2fs-tools
|
||||
faas-cli
|
||||
faba-icon-theme
|
||||
fakeroot
|
||||
fann
|
||||
@@ -1473,11 +1588,13 @@ fann2
|
||||
farstream
|
||||
fasteners
|
||||
fastimport
|
||||
fastnumbers
|
||||
fcgi
|
||||
fcoe-utils
|
||||
fdm_materials
|
||||
feh
|
||||
fetchmail
|
||||
ffmpegthumbs
|
||||
fftw
|
||||
file
|
||||
file-roller
|
||||
@@ -1508,6 +1625,7 @@ flex
|
||||
flmsg
|
||||
flnet
|
||||
fltk
|
||||
fluidsynth
|
||||
folks
|
||||
font-util
|
||||
fontconfig
|
||||
@@ -1538,6 +1656,8 @@ gawk
|
||||
gc
|
||||
gcab
|
||||
gcc
|
||||
gcc7
|
||||
gcc8
|
||||
gcompris-qt
|
||||
gcr
|
||||
gcs-oauth2-boto-plugin
|
||||
@@ -1561,6 +1681,7 @@ gexiv2
|
||||
gfbgraph
|
||||
gflags
|
||||
gftp
|
||||
ghc
|
||||
ghostscript
|
||||
gimp
|
||||
git
|
||||
@@ -1652,6 +1773,7 @@ gperf
|
||||
gperftools
|
||||
gpgme
|
||||
gphoto2
|
||||
gpm
|
||||
gpredict
|
||||
gptfdisk
|
||||
gradle
|
||||
@@ -1673,6 +1795,7 @@ grpcio
|
||||
grub
|
||||
gsettings-desktop-schemas
|
||||
gsl
|
||||
gsm
|
||||
gsound
|
||||
gspell
|
||||
gst-plugins-bad
|
||||
@@ -1692,6 +1815,7 @@ gtkmm2
|
||||
gtkmm3
|
||||
gtksourceview
|
||||
gtkspell3
|
||||
gtkwave
|
||||
guile
|
||||
gupnp-av
|
||||
gutenprint
|
||||
@@ -1707,7 +1831,9 @@ hammock
|
||||
haproxy
|
||||
hardlink
|
||||
harfbuzz
|
||||
haskell-random
|
||||
hdf5
|
||||
hdmedians
|
||||
hdparm
|
||||
heat
|
||||
helloworld
|
||||
@@ -1719,6 +1845,7 @@ hicolor-icon-theme
|
||||
hiredis
|
||||
hold
|
||||
home-assistant
|
||||
home-assistant-frontend
|
||||
horizon
|
||||
horovod
|
||||
hostname
|
||||
@@ -1758,6 +1885,7 @@ iftop
|
||||
igt-gpu-tools
|
||||
ilmbase
|
||||
image
|
||||
imageio
|
||||
imagesize
|
||||
imapfilter
|
||||
imlib2
|
||||
@@ -1770,6 +1898,7 @@ init-rdahead
|
||||
inkscape
|
||||
inotify-tools
|
||||
intel-cmt-cat
|
||||
intel-compute-runtime
|
||||
intel-gmmlib
|
||||
intel-graphics-compiler
|
||||
intel-hybrid-driver
|
||||
@@ -1824,6 +1953,7 @@ jedi-vim
|
||||
jeepney
|
||||
jemalloc
|
||||
jmespath
|
||||
joblib
|
||||
joe
|
||||
josepy
|
||||
jq
|
||||
@@ -1852,6 +1982,7 @@ kactivitymanagerd
|
||||
kafka-dep
|
||||
kalarm
|
||||
kalarmcal
|
||||
kalgebra
|
||||
kamera
|
||||
kanagram
|
||||
kapidox
|
||||
@@ -1899,6 +2030,7 @@ kde-dev-utils
|
||||
kde-gtk-config
|
||||
kdebugsettings
|
||||
kdeclarative
|
||||
kdeconnect-kde
|
||||
kdecoration
|
||||
kded
|
||||
kdeedu-data
|
||||
@@ -1943,6 +2075,7 @@ kgeography
|
||||
kget
|
||||
kglobalaccel
|
||||
kgoldrunner
|
||||
kgpg
|
||||
kguiaddons
|
||||
khal
|
||||
khangman
|
||||
@@ -2051,7 +2184,13 @@ ktimer
|
||||
ktnef
|
||||
ktp-approver
|
||||
ktp-common-internals
|
||||
ktp-contact-list
|
||||
ktp-contact-runner
|
||||
ktp-desktop-applets
|
||||
ktp-filetransfer-handler
|
||||
ktp-kded-module
|
||||
ktp-send-file
|
||||
ktp-text-ui
|
||||
ktuberling
|
||||
kturtle
|
||||
kubernetes
|
||||
@@ -2179,6 +2318,7 @@ libgit2-glib
|
||||
libglade
|
||||
libgnome-keyring
|
||||
libgnomekbd
|
||||
libgovirt
|
||||
libgpg-error
|
||||
libgphoto2
|
||||
libgravatar
|
||||
@@ -2211,6 +2351,7 @@ libkipi
|
||||
libkleo
|
||||
libkmahjongg
|
||||
libkomparediff2
|
||||
libksane
|
||||
libksba
|
||||
libkscreen
|
||||
libksieve
|
||||
@@ -2232,6 +2373,7 @@ libmtp
|
||||
libmwaw
|
||||
libmypaint
|
||||
libndp
|
||||
libnetfilter_acct
|
||||
libnetfilter_conntrack
|
||||
libnetfilter_cthelper
|
||||
libnetfilter_cttimeout
|
||||
@@ -2266,6 +2408,7 @@ libqmi
|
||||
libqtxdg
|
||||
libqxp
|
||||
librabbitmq
|
||||
libreoffice
|
||||
librepo
|
||||
librevenge
|
||||
librsvg
|
||||
@@ -2300,6 +2443,7 @@ libtheora
|
||||
libtirpc
|
||||
libtk-img
|
||||
libtool
|
||||
libtorrent-rasterbar
|
||||
libudev0-shim
|
||||
libuev
|
||||
libuninameslist
|
||||
@@ -2349,6 +2493,7 @@ linecache2
|
||||
links
|
||||
linux
|
||||
linux-aws
|
||||
linux-current
|
||||
linux-firmware
|
||||
linux-firmware-ipu
|
||||
linux-gce
|
||||
@@ -2356,15 +2501,17 @@ linux-hyperv
|
||||
linux-hyperv-lts
|
||||
linux-iot-lts2017-preempt-rt
|
||||
linux-iot-lts2018
|
||||
linux-iot-lts2018-preempt-rt
|
||||
linux-iot-lts2019
|
||||
linux-kata
|
||||
linux-kvm
|
||||
linux-libc-headers
|
||||
linux-lts
|
||||
linux-lts2017
|
||||
linux-lts2018
|
||||
linux-mainline
|
||||
linux-networktest
|
||||
linux-next
|
||||
linux-oracle
|
||||
linux-pk414-preempt-rt
|
||||
linux-preempt-rt
|
||||
linux-steam-integration
|
||||
linux-tools
|
||||
@@ -2377,6 +2524,7 @@ lm-sensors
|
||||
lmdb
|
||||
locket
|
||||
locustio
|
||||
log4cpp
|
||||
logilab-common
|
||||
logrotate
|
||||
logutils
|
||||
@@ -2392,6 +2540,7 @@ lua
|
||||
lua52
|
||||
lualgi
|
||||
luarocks
|
||||
lutris
|
||||
lxml
|
||||
lxqt-about
|
||||
lxqt-admin
|
||||
@@ -2486,7 +2635,9 @@ mpc
|
||||
mpfr
|
||||
mpg123
|
||||
mpi4py
|
||||
mpir
|
||||
mpmath
|
||||
mpv
|
||||
mraa
|
||||
msgpack
|
||||
msm
|
||||
@@ -2514,10 +2665,12 @@ mycroft-core
|
||||
mypaint-brushes
|
||||
mypy
|
||||
mypy_extensions
|
||||
mysqltcl
|
||||
mythes
|
||||
nagios-plugins
|
||||
nano
|
||||
nasm
|
||||
natsort
|
||||
nautilus
|
||||
nbconvert
|
||||
nbformat
|
||||
@@ -2527,6 +2680,7 @@ ncurses
|
||||
ncurses-compat
|
||||
ndctl
|
||||
ndg_httpsclient
|
||||
ndpi
|
||||
neofetch
|
||||
neomutt
|
||||
neon
|
||||
@@ -2535,6 +2689,7 @@ net-tools
|
||||
netaddr
|
||||
netbase
|
||||
netcdf
|
||||
netdata
|
||||
netdisco
|
||||
netifaces
|
||||
netkit-telnet
|
||||
@@ -2551,6 +2706,7 @@ nfs4-acl-tools
|
||||
nftables
|
||||
nghttp2
|
||||
nginx
|
||||
nginx-mainline
|
||||
nicstat
|
||||
ninja
|
||||
nload
|
||||
@@ -2564,6 +2720,7 @@ nose-cover3
|
||||
nose-parameterized
|
||||
nosexcover
|
||||
nosync
|
||||
not-ffmpeg
|
||||
notebook
|
||||
notmuch
|
||||
noto-cjk
|
||||
@@ -2577,6 +2734,7 @@ nss
|
||||
nss-altfiles
|
||||
nss-pam-ldapd
|
||||
ntfs-3g
|
||||
ntl
|
||||
ntlm-auth
|
||||
ntp
|
||||
ntplib
|
||||
@@ -2610,6 +2768,7 @@ open-vm-tools
|
||||
openQA
|
||||
openal-soft
|
||||
openblas
|
||||
opencl-clang
|
||||
openconnect
|
||||
opencv
|
||||
openexr
|
||||
@@ -2640,6 +2799,7 @@ os-autoinst
|
||||
os-brick
|
||||
os-client-config
|
||||
os-ken
|
||||
os-resource-classes
|
||||
os-service-types
|
||||
os-testr
|
||||
os-traits
|
||||
@@ -2709,6 +2869,7 @@ parted
|
||||
pass
|
||||
passlib
|
||||
patch
|
||||
patchelf
|
||||
patchutils
|
||||
pathlib
|
||||
pathlib2
|
||||
@@ -2721,6 +2882,7 @@ pciutils
|
||||
pcmanfm-qt
|
||||
pcre
|
||||
pcre2
|
||||
pcsc-lite
|
||||
pdns
|
||||
pdns-recursor
|
||||
pecan
|
||||
@@ -2751,6 +2913,7 @@ perl-Audio-FLAC-Header
|
||||
perl-Audio-Musepack
|
||||
perl-Audio-Scan
|
||||
perl-Audio-Wav
|
||||
perl-Authen-SASL
|
||||
perl-B-Hooks-EndOfScope
|
||||
perl-B-Hooks-OP-Check
|
||||
perl-B-Keywords
|
||||
@@ -2856,6 +3019,7 @@ perl-Data-Page
|
||||
perl-Data-Password
|
||||
perl-Data-Printer
|
||||
perl-Data-Random
|
||||
perl-Data-Section
|
||||
perl-Data-Serializer
|
||||
perl-Data-Structure-Util
|
||||
perl-Data-Uniqid
|
||||
@@ -3206,6 +3370,7 @@ perl-Set-Scalar
|
||||
perl-Smart-Comments
|
||||
perl-Socket-MsgHdr
|
||||
perl-Socket6
|
||||
perl-Software-License
|
||||
perl-Sort-Key
|
||||
perl-Sort-Naturally
|
||||
perl-Sort-Versions
|
||||
@@ -3390,6 +3555,13 @@ pexpect
|
||||
phonon
|
||||
phoronix-test-suite
|
||||
php
|
||||
php-imagick
|
||||
php-mailparse
|
||||
php-redis
|
||||
php-timezonedb
|
||||
php-xdebug
|
||||
php-yaml
|
||||
php-zip
|
||||
pickleshare
|
||||
picmi
|
||||
picocom
|
||||
@@ -3424,8 +3596,10 @@ plasma-workspace-wallpapers
|
||||
pluggy
|
||||
ply
|
||||
plzip
|
||||
pm-graph
|
||||
pmdk
|
||||
polkit
|
||||
polkit-kde-agent
|
||||
polkit-qt
|
||||
poppler
|
||||
poppler-data-clr-rename
|
||||
@@ -3486,6 +3660,7 @@ pycadf
|
||||
pycairo
|
||||
pycam
|
||||
pycodestyle
|
||||
pycosat
|
||||
pycparser
|
||||
pycrypto
|
||||
pycurl
|
||||
@@ -3511,6 +3686,7 @@ pyliblzma
|
||||
pylint
|
||||
pymemcache
|
||||
pymongo
|
||||
pyotherside
|
||||
pyotp
|
||||
pypandoc
|
||||
pyparsing
|
||||
@@ -3588,7 +3764,6 @@ python-swiftclient
|
||||
python-systemd
|
||||
python-tabulate
|
||||
python-tappy
|
||||
python-toml
|
||||
python-troveclient
|
||||
python-urwid
|
||||
python-utils
|
||||
@@ -3608,6 +3783,7 @@ pywbem
|
||||
pyxattr
|
||||
pyxdg
|
||||
pyzmq
|
||||
qbittorrent
|
||||
qca-qt5
|
||||
qemu
|
||||
qemu-guest-additions
|
||||
@@ -3665,6 +3841,7 @@ qwt
|
||||
rabbitmq-c
|
||||
rabbitmq-server
|
||||
radvd
|
||||
rage
|
||||
ragel
|
||||
raptor2
|
||||
rasqal
|
||||
@@ -3679,6 +3856,7 @@ recommonmark
|
||||
redis
|
||||
redis-native
|
||||
redland
|
||||
redshift
|
||||
redsocks
|
||||
renderdoc
|
||||
reno
|
||||
@@ -3718,6 +3896,7 @@ rsa
|
||||
rsync
|
||||
rsyslog
|
||||
rt-tests
|
||||
rtkit
|
||||
rtslib-fb
|
||||
rttr
|
||||
ruamel-yaml
|
||||
@@ -3745,6 +3924,7 @@ scikit-image
|
||||
scikit-learn
|
||||
scipy
|
||||
scons
|
||||
scowl
|
||||
screen
|
||||
scripttest
|
||||
scrypt
|
||||
@@ -3755,6 +3935,7 @@ seaborn
|
||||
seahorse
|
||||
secretstorage
|
||||
sed
|
||||
segno
|
||||
selenium
|
||||
semantic_version
|
||||
seqdiag
|
||||
@@ -3764,6 +3945,7 @@ setproctitle
|
||||
setserial
|
||||
setuptools
|
||||
setuptools-legacy
|
||||
setuptools-markdown
|
||||
setuptools_scm
|
||||
setuptools_scm_git_archive
|
||||
setxkbmap
|
||||
@@ -3786,7 +3968,9 @@ smart_open
|
||||
smartcols
|
||||
smartmontools
|
||||
smmap2
|
||||
snabb
|
||||
snappy
|
||||
snitun
|
||||
snowballstemmer
|
||||
socat
|
||||
sof-crosstool-ng
|
||||
@@ -3809,12 +3993,18 @@ speexdsp
|
||||
sphinx-feature-classification
|
||||
sphinx_rtd_theme
|
||||
sphinxcontrib-apidoc
|
||||
sphinxcontrib-applehelp
|
||||
sphinxcontrib-bibtex
|
||||
sphinxcontrib-blockdiag
|
||||
sphinxcontrib-devhelp
|
||||
sphinxcontrib-htmlhelp
|
||||
sphinxcontrib-httpdomain
|
||||
sphinxcontrib-jsmath
|
||||
sphinxcontrib-newsfeed
|
||||
sphinxcontrib-programoutput
|
||||
sphinxcontrib-qthelp
|
||||
sphinxcontrib-seqdiag
|
||||
sphinxcontrib-serializinghtml
|
||||
sphinxcontrib-spelling
|
||||
sphinxcontrib-trio
|
||||
sphinxcontrib-websupport
|
||||
@@ -3838,6 +4028,7 @@ startup-notification
|
||||
statsd
|
||||
statsmodels
|
||||
stellarium
|
||||
step
|
||||
stestr
|
||||
stevedore
|
||||
stow
|
||||
@@ -3850,6 +4041,7 @@ subversion
|
||||
sudo
|
||||
suds-jurko
|
||||
sundials
|
||||
supertuxkart
|
||||
sure
|
||||
suricata
|
||||
svg.path
|
||||
@@ -3901,7 +4093,9 @@ tensorflow-probability
|
||||
termcolor
|
||||
terminado
|
||||
terminaltables
|
||||
terminology
|
||||
terminus-font
|
||||
test-generator
|
||||
testpath
|
||||
testrepository
|
||||
testresources
|
||||
@@ -3934,7 +4128,9 @@ tinyxml2
|
||||
tiptop
|
||||
tk
|
||||
tmux
|
||||
todoist
|
||||
tokyocabinet
|
||||
toml
|
||||
toolz
|
||||
tooz
|
||||
tornado
|
||||
@@ -4009,6 +4205,7 @@ virt-manager
|
||||
virt-viewer
|
||||
virtualenv
|
||||
vlc
|
||||
volk
|
||||
volume_key
|
||||
voluptuous
|
||||
voluptuous-serialize
|
||||
@@ -4033,6 +4230,7 @@ weechat
|
||||
weston
|
||||
wget
|
||||
wheel
|
||||
wheelhouse-uploader
|
||||
which
|
||||
whois
|
||||
widgetsnbextension
|
||||
@@ -4043,6 +4241,7 @@ wireshark
|
||||
woff2
|
||||
wok
|
||||
wol
|
||||
wordpress
|
||||
wpa_supplicant
|
||||
wrapt
|
||||
wsgi_intercept
|
||||
@@ -4130,6 +4329,7 @@ xterm
|
||||
xtrans
|
||||
xvfb-run
|
||||
xwd
|
||||
xwdrun
|
||||
xwininfo
|
||||
xz
|
||||
yajl
|
||||
|
||||
+348
@@ -0,0 +1,348 @@
|
||||
#!/usr/bin/python3
|
||||
import sys
|
||||
import tempfile
|
||||
import subprocess
|
||||
|
||||
header = list()
|
||||
files = list()
|
||||
files_chunks = dict() # dict to list
|
||||
files_header = dict() # dict to list
|
||||
|
||||
|
||||
|
||||
def push_chunk(file, chunk):
|
||||
global files_chunks
|
||||
|
||||
if len(chunk) == 0:
|
||||
return
|
||||
|
||||
if file not in files_chunks:
|
||||
files_chunks[file] = list()
|
||||
|
||||
files_chunks[file].append(chunk)
|
||||
|
||||
|
||||
def parse_patch(lines):
|
||||
global header
|
||||
global files
|
||||
global files_chunks
|
||||
global files_header
|
||||
|
||||
phase = 0
|
||||
|
||||
currentfile = ""
|
||||
currentchunk = list()
|
||||
|
||||
|
||||
for line in lines:
|
||||
line = line.replace("\n","")
|
||||
|
||||
if line.startswith("diff --git"):
|
||||
|
||||
push_chunk(currentfile, currentchunk)
|
||||
currentchunk = list()
|
||||
|
||||
filename = line.replace("diff --git","")
|
||||
index= filename.find("b/")
|
||||
if index >= 0:
|
||||
filename = filename[index:].strip()
|
||||
currentfile = filename
|
||||
files.append(currentfile)
|
||||
phase = 1
|
||||
|
||||
if line.startswith("@@"):
|
||||
push_chunk(currentfile, currentchunk)
|
||||
currentchunk = list()
|
||||
phase = 2
|
||||
|
||||
|
||||
if phase == 0:
|
||||
header.append(line)
|
||||
if phase == 1:
|
||||
if currentfile not in files_header:
|
||||
files_header[currentfile] = list()
|
||||
files_header[currentfile].append(line)
|
||||
if phase == 2:
|
||||
currentchunk.append(line)
|
||||
|
||||
push_chunk(currentfile, currentchunk)
|
||||
currentchunk = list()
|
||||
|
||||
def print_all():
|
||||
global header
|
||||
global files
|
||||
global files_chunks
|
||||
global files_header
|
||||
|
||||
for line in header:
|
||||
print(line)
|
||||
for file in files:
|
||||
for line in files_header[file]:
|
||||
print(line)
|
||||
if file in files_chunks:
|
||||
for chunk in files_chunks[file]:
|
||||
for line in chunk:
|
||||
print(line)
|
||||
|
||||
|
||||
def zap_entire_file(filename):
|
||||
global header
|
||||
global files
|
||||
global files_chunks
|
||||
global files_header
|
||||
if filename in files:
|
||||
files.remove(filename)
|
||||
|
||||
def zap_entire_file_end(filename):
|
||||
global header
|
||||
global files
|
||||
global files_chunks
|
||||
global files_header
|
||||
for file in files:
|
||||
if file.endswith(filename):
|
||||
files.remove(file)
|
||||
|
||||
def zap_line_in_file(filename, match):
|
||||
global header
|
||||
global files
|
||||
global files_chunks
|
||||
global files_header
|
||||
for file in files:
|
||||
if file.endswith(filename):
|
||||
for chunk in files_chunks[filename]:
|
||||
to_delete = list()
|
||||
for line in chunk:
|
||||
if line == ("+" + match):
|
||||
to_delete.append(line)
|
||||
if line == ("-" + match):
|
||||
to_delete.append(line)
|
||||
for line in to_delete:
|
||||
chunk.remove(line)
|
||||
|
||||
|
||||
def zap_line_in_file_start(filename, match):
|
||||
global header
|
||||
global files
|
||||
global files_chunks
|
||||
global files_header
|
||||
|
||||
for file in files:
|
||||
if file.endswith(filename):
|
||||
for chunk in files_chunks[file]:
|
||||
to_remove = list()
|
||||
for line in chunk:
|
||||
if line.startswith("+" + match):
|
||||
to_remove.append(line)
|
||||
if line.startswith("-" + match):
|
||||
to_remove.append(line)
|
||||
for line in to_remove:
|
||||
chunk.remove(line)
|
||||
|
||||
def zap_plus_line_in_file(filename):
|
||||
global header
|
||||
global files
|
||||
global files_chunks
|
||||
global files_header
|
||||
|
||||
for file in files:
|
||||
if file.endswith(filename):
|
||||
for chunk in files_chunks[file]:
|
||||
to_remove = list()
|
||||
for line in chunk:
|
||||
if line.startswith("+"):
|
||||
to_remove.append(line)
|
||||
for line in to_remove:
|
||||
chunk.remove(line)
|
||||
|
||||
|
||||
|
||||
def chunk_empty(chunk):
|
||||
for line in chunk:
|
||||
if len(line) > 0 and line[0] == '+':
|
||||
return False
|
||||
return True
|
||||
|
||||
def zap_empty_chunks():
|
||||
global header
|
||||
global files
|
||||
global files_chunks
|
||||
global files_header
|
||||
files_to_remove = list()
|
||||
for file in files:
|
||||
if file not in files_chunks:
|
||||
files.remove(file)
|
||||
continue
|
||||
to_remove = list()
|
||||
for chunk in files_chunks[file]:
|
||||
if chunk_empty(chunk):
|
||||
to_remove.append(chunk)
|
||||
for c in to_remove:
|
||||
files_chunks[file].remove(c)
|
||||
if len(files_chunks[file]) == 0:
|
||||
files_to_remove.append(file)
|
||||
|
||||
for file in files_to_remove:
|
||||
files.remove(file)
|
||||
|
||||
|
||||
|
||||
|
||||
def main():
|
||||
|
||||
if len(sys.argv) > 1:
|
||||
filename = sys.argv[1]
|
||||
|
||||
with open (filename, "r") as myfile:
|
||||
lines = myfile.readlines()
|
||||
else:
|
||||
output = subprocess.check_output("git show", shell=True).decode("latin-1")
|
||||
lines = output.split("\n")
|
||||
|
||||
parse_patch(lines)
|
||||
|
||||
zap_entire_file("b/release")
|
||||
zap_entire_file("b/buildreq_cache")
|
||||
zap_entire_file("b/.gitignore")
|
||||
zap_entire_file("b/upstream")
|
||||
zap_entire_file("b/NEWS")
|
||||
zap_entire_file("b/ChangeLog")
|
||||
zap_entire_file_end("xz.sig")
|
||||
zap_entire_file_end("gz.sig")
|
||||
zap_entire_file_end("bz2.sig")
|
||||
|
||||
zap_line_in_file("b/testresults", "Total : 0")
|
||||
zap_line_in_file("b/testresults", "Pass : 0")
|
||||
zap_line_in_file("b/testresults", "Fail : 0")
|
||||
zap_line_in_file("b/testresults", "XFail : 0")
|
||||
zap_line_in_file("b/testresults", "Skip : 0")
|
||||
|
||||
zap_line_in_file("b/requires_ban", "#FOO")
|
||||
zap_line_in_file("b/Makefile", "ARCHIVES = ")
|
||||
zap_line_in_file("b/Makefile", "include ../common/Makefile.common")
|
||||
zap_line_in_file("b/Makefile", "")
|
||||
|
||||
zap_line_in_file_start(".spec", "Release :")
|
||||
zap_line_in_file_start(".spec", "Source99 :")
|
||||
zap_line_in_file_start(".spec", "Source0 :")
|
||||
zap_line_in_file_start(".spec", "export SOURCE_DATE_EPOCH")
|
||||
zap_line_in_file_start(".spec", "%setup -q -n ")
|
||||
zap_line_in_file_start(".spec", "URL :")
|
||||
zap_line_in_file_start(".spec", "Version :")
|
||||
zap_line_in_file_start(".spec", "Group : Development/Tools")
|
||||
zap_line_in_file_start(".spec", "No detailed description available")
|
||||
zap_line_in_file_start(".spec", "bin components for the")
|
||||
zap_line_in_file_start(".spec", "dev components for the")
|
||||
zap_line_in_file_start(".spec", "lib components for the")
|
||||
zap_line_in_file_start(".spec", "data components for the")
|
||||
zap_line_in_file_start(".spec", "locales components for the")
|
||||
zap_line_in_file_start(".spec", "license components for the")
|
||||
zap_line_in_file_start(".spec", "Group: Default")
|
||||
zap_line_in_file_start(".spec", "export http_proxy=http://127.0.0.1:9/")
|
||||
zap_line_in_file_start(".spec", "export https_proxy=http://127.0.0.1:9/")
|
||||
zap_line_in_file_start(".spec", "export ftp_proxy=http://127.0.0.1:9/")
|
||||
zap_line_in_file_start(".spec", "export no_proxy=localhost,127.0.0.1,0.0.0.0")
|
||||
zap_line_in_file_start(".spec", "Summary:")
|
||||
zap_line_in_file_start(".spec", "Group: Development")
|
||||
zap_line_in_file_start(".spec", "Group: Binaries")
|
||||
zap_line_in_file_start(".spec", "Group: Data")
|
||||
zap_line_in_file_start(".spec", "Group: Libraries")
|
||||
zap_line_in_file_start(".spec", "export LANG=C")
|
||||
zap_line_in_file_start(".spec", "%description lib")
|
||||
zap_line_in_file_start(".spec", "%description bin")
|
||||
zap_line_in_file_start(".spec", "%description data")
|
||||
zap_line_in_file_start(".spec", "%description locales")
|
||||
zap_line_in_file_start(".spec", "%description dev")
|
||||
zap_line_in_file_start(".spec", "%description license")
|
||||
|
||||
zap_line_in_file_start("b/Makefile", "URL =")
|
||||
zap_line_in_file_start("b/Makefile", "PKG_NAME :=")
|
||||
|
||||
zap_line_in_file("b/options.conf", "archives = ")
|
||||
zap_line_in_file("b/options.conf", "giturl = ")
|
||||
zap_line_in_file("b/options.conf", "[package]")
|
||||
zap_line_in_file("b/options.conf", "")
|
||||
zap_line_in_file("b/options.conf", "[autospec]")
|
||||
zap_line_in_file("b/options.conf", "# build 32 bit libraries")
|
||||
zap_line_in_file("b/options.conf", "32bit = false")
|
||||
zap_line_in_file("b/options.conf", "# allow package to build with test failures")
|
||||
zap_line_in_file("b/options.conf", "allow_test_failures = false")
|
||||
zap_line_in_file("b/options.conf", "# unset %build ld_as_needed variable")
|
||||
zap_line_in_file("b/options.conf", "asneeded = false")
|
||||
zap_line_in_file("b/options.conf", "# this package is trusted enough to automatically update (used by other tools)")
|
||||
zap_line_in_file("b/options.conf", "autoupdate = false")
|
||||
zap_line_in_file("b/options.conf", "# extend flags with '-std=gnu++98")
|
||||
zap_line_in_file("b/options.conf", "broken_c++ = false")
|
||||
zap_line_in_file("b/options.conf", "# disable parallelization during build")
|
||||
zap_line_in_file("b/options.conf", "broken_parallel_build = false")
|
||||
zap_line_in_file("b/options.conf", "# this package is a library compatability package and only ships versioned library files")
|
||||
zap_line_in_file("b/options.conf", "compat = false")
|
||||
zap_line_in_file("b/options.conf", "# set conservative build flags")
|
||||
zap_line_in_file("b/options.conf", "conservative_flags = false")
|
||||
zap_line_in_file("b/options.conf", "# dev package requires the extras to be installed")
|
||||
zap_line_in_file("b/options.conf", "dev_requires_extras = false")
|
||||
zap_line_in_file("b/options.conf", "# pass -ffast-math to compiler")
|
||||
zap_line_in_file("b/options.conf", "fast-math = false")
|
||||
zap_line_in_file("b/options.conf", "# optimize build for speed over size")
|
||||
zap_line_in_file("b/options.conf", "funroll-loops = false")
|
||||
zap_line_in_file("b/options.conf", "# set flags to smallest -02 flags possible")
|
||||
zap_line_in_file("b/options.conf", "insecure_build = false")
|
||||
zap_line_in_file("b/options.conf", "# do not remove static libraries")
|
||||
zap_line_in_file("b/options.conf", "keepstatic = false")
|
||||
zap_line_in_file("b/options.conf", "# do not require autostart subpackage")
|
||||
zap_line_in_file("b/options.conf", "no_autostart = false")
|
||||
zap_line_in_file("b/options.conf", "# disable stripping binaries")
|
||||
zap_line_in_file("b/options.conf", "nostrip = false")
|
||||
zap_line_in_file("b/options.conf", "# optimize build for size over speed")
|
||||
zap_line_in_file("b/options.conf", "optimize_size = false")
|
||||
zap_line_in_file("b/options.conf", "# set profile for pgo")
|
||||
zap_line_in_file("b/options.conf", "pgo = false")
|
||||
zap_line_in_file("b/options.conf", "# set flags for security-sensitive builds")
|
||||
zap_line_in_file("b/options.conf", "security_sensitive = false")
|
||||
zap_line_in_file("b/options.conf", "# do not run test suite")
|
||||
zap_line_in_file("b/options.conf", "skip_tests = false")
|
||||
zap_line_in_file("b/options.conf", "# add .so files to the lib package instead of dev")
|
||||
zap_line_in_file("b/options.conf", "so_to_lib = false")
|
||||
zap_line_in_file("b/options.conf", "# configure build for avx2")
|
||||
zap_line_in_file("b/options.conf", "use_avx2 = false")
|
||||
zap_line_in_file("b/options.conf", "# configure build for avx512")
|
||||
zap_line_in_file("b/options.conf", "use_avx512 = false")
|
||||
zap_line_in_file("b/options.conf", "# add clang flags")
|
||||
zap_line_in_file("b/options.conf", "use_clang = false")
|
||||
zap_line_in_file("b/options.conf", "# configure build for lto")
|
||||
zap_line_in_file("b/options.conf", "use_lto = false")
|
||||
zap_line_in_file("b/options.conf", "# require package verification for build")
|
||||
zap_line_in_file("b/options.conf", "verify_required = true")
|
||||
|
||||
zap_line_in_file("b/buildreq_add", "# This file contains additional build requirements that did not get")
|
||||
zap_line_in_file("b/buildreq_add", "# picked up automatically. One name per line, no whitespace.")
|
||||
zap_line_in_file("b/buildreq_ban", "# This file contains build requirements that get picked up but are")
|
||||
zap_line_in_file("b/buildreq_ban", "# undesirable. One entry per line, no whitespace.")
|
||||
|
||||
|
||||
zap_line_in_file("b/excludes", "# This file contains the output files that need %exclude. Full path")
|
||||
zap_line_in_file("b/excludes", "# names, one per line.")
|
||||
|
||||
zap_line_in_file("b/pkgconfig_add", "# This file contains additional pkgconfig build requirements that did")
|
||||
zap_line_in_file("b/pkgconfig_add", "# not get picked up automatically. One name per line, no whitespace.")
|
||||
zap_line_in_file("b/pkgconfig_ban", "# This file contains pkgconfig build requirements that get picked up")
|
||||
zap_line_in_file("b/pkgconfig_ban", "# but are undesirable. One entry per line, no whitespace.")
|
||||
zap_line_in_file("b/requires_add", "# This file contains additional runtime requirements that did not get")
|
||||
zap_line_in_file("b/requires_add", "# picked up automatically. One name per line, no whitespace.")
|
||||
zap_line_in_file("b/requires_ban", "# This file contains runtime requirements that get picked up but are")
|
||||
zap_line_in_file("b/requires_ban", "# undesirable. One entry per line, no whitespace.")
|
||||
|
||||
zap_line_in_file_start(".spec", "Summary : No detailed summary available")
|
||||
|
||||
zap_plus_line_in_file("symbols")
|
||||
zap_plus_line_in_file("symbols32")
|
||||
|
||||
zap_entire_file("b/whatrequires")
|
||||
|
||||
zap_empty_chunks()
|
||||
|
||||
print_all()
|
||||
|
||||
if __name__ == '__main__':
|
||||
with tempfile.TemporaryDirectory() as workingdir:
|
||||
main()
|
||||
|
||||
Reference in New Issue
Block a user