|
|
@ -6,37 +6,21 @@ Then update your ./portdir with
|
|
|
|
|
|
|
|
|
|
|
|
$ ./update-portdir.sh
|
|
|
|
$ ./update-portdir.sh
|
|
|
|
|
|
|
|
|
|
|
|
Optionally, you can refresh the content of reduced_gen_deps.list by running:
|
|
|
|
At this point, you can already run the following script to get the list of
|
|
|
|
|
|
|
|
Debian source packages that can be mapped to Gentoo packages and also have
|
|
|
|
|
|
|
|
dependencies that can be dropped in Gentoo:
|
|
|
|
|
|
|
|
|
|
|
|
$ ./gentoo_dep_list.py
|
|
|
|
$ ./find_reduced.py
|
|
|
|
|
|
|
|
|
|
|
|
It writes all source packages with reduced build dependencies plus the build
|
|
|
|
|
|
|
|
dependencies that can be dropped to reduced_gen_deps.list. Execution takes
|
|
|
|
|
|
|
|
about 2.5 hours.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Create the file gen_source_pkgs.list by running:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
$ ./gentoo_pkg_list_raw.sh
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
This file contains a list of all gentoo packages in your ./portdir
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Once you have a filled reduced_gen_deps.list and gen_source_pkgs.list, check
|
|
|
|
|
|
|
|
that deb_source_pkgs.list contains all Debian source packages that you are
|
|
|
|
|
|
|
|
interested in.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
The file deb2gen_mapping.list maps Debian packages to Gentoo packages.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
To inspect missing mappings from Debian source packages to Gentoo packages,
|
|
|
|
|
|
|
|
run:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
$ ./find_pkg_matches.py
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
It will print you a list of Debian packages that miss a mapping to Gentoo
|
|
|
|
It will print:
|
|
|
|
packages as well as a list of suggestions of Gentoo packages that sound
|
|
|
|
- a list of Debian source packages with dependencies that can be dropped
|
|
|
|
similar.
|
|
|
|
- a list of Debian packages that cannot be mapped to Gentoo packages
|
|
|
|
|
|
|
|
- a list of Gentoo packages that cannot be mapped to Debian packages
|
|
|
|
|
|
|
|
|
|
|
|
Lets summarize the data files that are present by now:
|
|
|
|
Above script depends on the following data files to be present:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
portage - portage sourcecode
|
|
|
|
|
|
|
|
* retrieved as a git submodule
|
|
|
|
portdir - database of ebuild files
|
|
|
|
portdir - database of ebuild files
|
|
|
|
* retrieved by ./update-portdir.sh
|
|
|
|
* retrieved by ./update-portdir.sh
|
|
|
|
reduced_gen_deps.list - Gentoo packages with reduced dependencies
|
|
|
|
reduced_gen_deps.list - Gentoo packages with reduced dependencies
|
|
|
@ -49,13 +33,21 @@ deb2gen_mapping.list - mapping of Debian to Gentoo packages
|
|
|
|
* created manually and/or with the help of
|
|
|
|
* created manually and/or with the help of
|
|
|
|
./find_pkg_matches.py
|
|
|
|
./find_pkg_matches.py
|
|
|
|
|
|
|
|
|
|
|
|
At this point, run the following script to get the list of Debian source
|
|
|
|
deb_source_pkgs.list is filled by the user. All other *.list files can be
|
|
|
|
packages that can be mapped to Gentoo packages and also have dependencies that
|
|
|
|
regenerated by the following scripts:
|
|
|
|
can be dropped in Gentoo:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
$ ./find_reduced.py
|
|
|
|
$ ./gentoo_dep_list.py
|
|
|
|
|
|
|
|
|
|
|
|
It will print:
|
|
|
|
It writes all source packages with reduced build dependencies plus the build
|
|
|
|
- a list of Debian source packages with dependencies that can be dropped
|
|
|
|
dependencies that can be dropped to reduced_gen_deps.list. Execution takes
|
|
|
|
- a list of Debian packages that cannot be mapped to Gentoo packages
|
|
|
|
about 2.5 hours.
|
|
|
|
- a list of Gentoo packages that cannot be mapped to Debian packages
|
|
|
|
|
|
|
|
|
|
|
|
$ ./gentoo_pkg_list_raw.sh
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
It writes to gen_source_pkgs.list a list of all available Gentoo packages.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
$ ./find_pkg_matches.py
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Inspects the current content of deb2gen_mapping.list and prints a list of
|
|
|
|
|
|
|
|
Debian packages that miss a mapping to Gentoo packages as well as a list of
|
|
|
|
|
|
|
|
suggestions of Gentoo packages that sound similar.
|
|
|
|