summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* cdrom.eclass: Fix matching of entries with trailing /, bug #618344James Le Cuirot2017-05-131-1/+1
|
* cdrom.eclass: Update copyright yearJames Le Cuirot2017-04-271-1/+1
|
* cdrom.eclass: Update and improve documentation following changesJames Le Cuirot2017-04-271-25/+96
|
* cdrom.eclass: Use consistent terminology in prompts and messagesJames Le Cuirot2017-04-271-16/+12
|
* cdrom.eclass: Make CD_ROOT less of a special case, fixes #195868James Le Cuirot2017-04-271-80/+46
| | | | | | | | | | | | CD_ROOT was intended to be a power user feature so the eclass didn't try very hard to check the validity of the given location. This difference in behaviour ultimately made the eclass larger and more confusing. It now uses the same matching loop as the regular case, making it simpler and more consistent. The only differences are that it doesn't show information or prompts about inserting discs and it dies immediately if a match cannot be found.
* cdrom.eclass: The CDROM_TOTAL_CDS variable is redundant nowJames Le Cuirot2017-04-271-6/+5
| | | | This was never formally declared by the eclass or used by ebuilds.
* cdrom.eclass: Change CDROM_CHECK_# variables to a CDROM_CHECKS arrayJames Le Cuirot2017-04-271-8/+3
|
* cdrom.eclass: Fix important typo in the multiple disc instructionsJames Le Cuirot2017-04-271-1/+1
| | | | | If you have all the files within the same directory tree then you should set CD_ROOT, not CD_ROOT_1.
* cdrom.eclass: We don't know for sure how many discs will be neededJames Le Cuirot2017-04-271-1/+1
| | | | | | The number of discs may vary between sets and ebuilds may not call cdrom_load_next_cd() for every argument depending on USE flags and other conditional factors.
* cdrom.eclass: Simplify loop with seqJames Le Cuirot2017-04-271-4/+3
|
* cdrom.eclass: Remove ye olde Submount checkJames Le Cuirot2017-04-271-3/+1
| | | | Submount was last-rited in 2007 and was already dead long before that.
* cdrom.eclass: Allow CDROM_NAMES changes before each cdrom_load_next_cdJames Le Cuirot2017-04-271-9/+16
| | | | | | This works around the lack of per-set disc names. Once the first disc has been detected, ebuilds can adjust CDROM_NAMES to contain just the names from the matched CDROM_SET.
* cdrom.eclass: Rename CDROM_NAME_SET array to CDROM_NAMESJames Le Cuirot2017-04-271-4/+4
| | | | | | | | | | | | | vapier seemed confused about what he wanted this variable to do as can be seen in bug #139196. The eclass used it for the names of each disc, regardless of the set, while ebuilds used it for the name of each single-disc set. This was not helped by the fact that the set feature has been totally undocumented. The former behaviour makes more sense so let's rename the array to something less confusing. This will not break ebuilds already using CDROM_NAME_SET. As they all use just a single disc, they currently do not display the names given in this variable anyway.
* cdrom.eclass: Simplify printing of CD_ROOT_# variable namesJames Le Cuirot2017-04-271-6/+1
|
* cdrom.eclass: Detect case-insensitively and handle special charactersJames Le Cuirot2017-04-271-14/+44
| | | | | | | | | | | | | This eclass previously used "find -iname" but it only checked the file case-insensitively and not the directories. There is "find -ipath" but this does not intelligently skip non-matching paths, making it slow. Globbing is used here instead. The : character has always been used to delimit paths given to cdrom_get_cds, which makes sense because : generally isn't allowed on CDs, while whitespace is. Despite that, whitespace was not being handled properly and neither were wildcard characters. Now all special characters are automatically escaped.
* Drop $Id$ per council decision in bug #611234.Robin H. Johnson2017-02-281-1/+0
| | | | Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
* proj/gentoo: Initial commitRobin H. Johnson2015-08-081-0/+247
This commit represents a new era for Gentoo: Storing the gentoo-x86 tree in Git, as converted from CVS. This commit is the start of the NEW history. Any historical data is intended to be grafted onto this point. Creation process: 1. Take final CVS checkout snapshot 2. Remove ALL ChangeLog* files 3. Transform all Manifests to thin 4. Remove empty Manifests 5. Convert all stale $Header$/$Id$ CVS keywords to non-expanded Git $Id$ 5.1. Do not touch files with -kb/-ko keyword flags. Signed-off-by: Robin H. Johnson <robbat2@gentoo.org> X-Thanks: Alec Warner <antarus@gentoo.org> - did the GSoC 2006 migration tests X-Thanks: Robin H. Johnson <robbat2@gentoo.org> - infra guy, herding this project X-Thanks: Nguyen Thai Ngoc Duy <pclouds@gentoo.org> - Former Gentoo developer, wrote Git features for the migration X-Thanks: Brian Harring <ferringb@gentoo.org> - wrote much python to improve cvs2svn X-Thanks: Rich Freeman <rich0@gentoo.org> - validation scripts X-Thanks: Patrick Lauer <patrick@gentoo.org> - Gentoo dev, running new 2014 work in migration X-Thanks: Michał Górny <mgorny@gentoo.org> - scripts, QA, nagging X-Thanks: All of other Gentoo developers - many ideas and lots of paint on the bikeshed