1164 Commits

Author SHA1 Message Date
d0a0c77086 Merge pull request #19 from automate-lfs/travis
Testing an initial Travis-CI setup
2019-09-16 14:04:52 +02:00
87b93564a0 Merge branch 'pythonize'
The original master branch, using shell and xslt, is back to subversion on
linuxfromscratch.org. The main development on this repo should be made in
python.
2019-06-16 10:06:39 +02:00
4a31ea8fe9 Testing an initial Travis-CI setup 2019-06-07 12:59:37 -04:00
f2ba466a5e BLFS/xsl/scripts.xsl: Fix blank lines in scriptlets
There were various line spacings, due to the fact that there was no
uniform convention for outputing linefeeds. In this commit, we try to
initiate a more uniform convention: any text output must begin with a
linefeed (if needed), and should not put one at the end. This means:
- using userinput instead of text() templates, and output a linefeed
  at the beginning of each
- move ending linefeed to the beginning of several chunks
2019-05-30 18:10:52 +02:00
1a520a4676 BLFS/xsl/scripts.xsl: Cosmetic fix, so that vi does correct syntax
highlighting
2019-05-30 18:10:24 +02:00
fa6c9eb9b0 BLFS/xsl/scripts.xsl: remove useless case in remove-end-space template
There is no need to test linefeeds, only ending spaces
2019-05-30 18:09:33 +02:00
bf08b249aa BLFS script generation: use a boolean for stats, instead of a full test
Each time we have to decide whether some instructions should be added for
stats, we have to test whether the current sect1 id attribute
is contained in the list of packages for which stats are requested. This
used to be done with a full test each time. We now have a Boolean that we
pass to all the templates that need to use it.
2019-05-30 18:08:39 +02:00
e261be9927 BLFS/xsl: move code to output "make -j1" from output-root to output-install
We want to change "make" to "make -j1" in installation instructions.
But sometimes, this may lead to wrong additions, like in qt5:
for file in moc uic rcc qmake -j1 lconvert lrelease lupdate; do ...

The fix is twofold:
- Move the code adding -j1 to from output-root to output-install. This
  prevents adding -j1 in configuration instructions, where "make" is
  usually a comment, not an instruction.
- Improve the code detecting "make": either the sentence contains ' make ',
  or '\nmake ', or it starts with "make ", otherwise, we do not add -j1.
2019-05-21 22:34:27 +02:00
1823d10df1 Add the case of pax to packInstall.sh.porg 2019-05-16 21:52:28 +02:00
568eb85cb4 BLFS tools: avoid cp"ing" an empty filename
When the source package is of unknown type, we just make a scratch directory
${JH_PKG_DIR}-build, and copy the package and all the additional files there.
If there are no additional files, this shouldn't be done unconditionally...
2019-05-16 21:44:02 +02:00
5f79ad0d20 Merge pull request #15 from automate-lfs/fix-linux-rebuild
Fix rebuilding some LFS packages in BLFS:
2019-05-16 21:10:58 +02:00
53b007a778 Fix rebuilding some LFS packages in BLFS:
- kernel is now "kernel" in setc1info
- headers are now linux-headers in setc1info (do not rebuild them)
- ninja is not in BLFS anymore.
2019-05-16 14:20:33 +02:00
6924d0edf0 Add issue templates (#12)
implements / closes #5
2019-05-13 10:34:31 -04:00
bd35b4005b Create CODE_OF_CONDUCT.md (#7)
* Create CODE_OF_CONDUCT.md

closes #3
2019-05-09 10:37:59 -04:00
23c65418bb Merge pull request #14 from automate-lfs/fix-gen-install-1
Fix gen install 1
2019-05-07 17:15:40 +02:00
a221149729 BLFS/xsl/scripts.xsl: Remove spaces only at the end of a line
The code was using "normalize-space", which removes also leading spaces.
Remove the trailing spaces one by one. This is maybe not very efficient...
2019-05-02 16:25:48 +02:00
d1073d2c92 BLFS/xsl/gen-install.xsl: Find preceding/following screen tags in note too
The code used preceding/following -sibling, which cannot handle the case when
the screen tag is in a note. Make an XPath with preceding/following screen tags,
but restrict to those with a common sect2 ancestor.
Fix #13
2019-05-02 16:17:29 +02:00
89c98af838 Move directories that users can modify back to top directory
Actually this move has been done inadvertently in a preceding commit. Now
comes the modifications to the python code to account for the move.
2019-04-29 20:14:40 +02:00
3e63b560db Typo 2019-04-29 15:43:35 +02:00
5d5601ca6a Really replace virtualenv target in Makefile 2019-04-29 15:36:58 +02:00
22a75f3bab Apply suggestions from code review
Change virtualenv Makefile target to virtualenv.stamp
2019-04-29 14:27:49 +02:00
96686d659f Add a Python entrypoint and packaging config
This commit will turn the source into a Python package which can
  be packaged using setup.py and/or installed via pip.

  When installed, a new binary named 'jhalfs' will be placed in the
  system PATH that serves as a wrapper for the main() method in the
  jhalfs module. All the previous scripts are moved 'as-is' into the
  module's path and will be packaged with the module.

  At run-time 'jhalfs' creates a $HOME/.jhalfs directory (or
  ./.jhalfs if $HOME is unset), runs menuconfig as needed, symlinks
  all the scripts included in the package to the .jhalfs dir and then
  invokes `.jhalfs/jhalfs.sh run`
2019-04-26 13:07:13 -04:00
3e2392f214 Remove forgotten ".svn" clean up in func_install_blfs.sh 2019-04-25 11:26:50 +02:00
3455432c68 Add the case of pnmixer to packInstall.sh.porg 2019-04-25 11:15:38 +02:00
a645174fd4 New menu system: the configuration file is saved as .<filename>.old 2019-04-24 16:54:11 +02:00
834db3b44f Typo in Config.in 2019-04-24 16:52:32 +02:00
7fab768b4f Fix a bug in func_compare.sh:
Now the files in test-logs have the package version in the name.
2019-04-24 16:51:06 +02:00
f1f56b1237 jhalfs: Modify the version string to accomodate the new license 2019-04-24 15:48:06 +02:00
4b28265759 Add the license file and a README to the menu directory 2019-04-24 15:41:47 +02:00
58a52647b2 Get rid of the GPLv2 license:
-Remove any reference to farce sytem
2019-04-24 14:40:57 +02:00
4346637998 Get rid of the GPLv2 license:
- Remove the farce scripts
2019-04-24 14:39:43 +02:00
2aed019edf Get rid of the GPLv2 license:
- Remove the LICENSE-GPL file
2019-04-24 14:38:54 +02:00
eeb381cde0 Remove calling make clean in the menu directory 2019-04-24 11:09:15 +02:00
15f22fdb09 Typo in .gitignore 2019-04-24 11:08:26 +02:00
f9895c056a The new menu system wants "depends on" instead of just "depends" 2019-04-24 11:07:16 +02:00
89842270d3 Remove the old menu system, and use kconfiglib.py
-Remove the content of the menu directory, and replace it with new files
-Update .gitignore
2019-04-24 11:04:40 +02:00
59d298064e Remove the "$Id$" automatic expansion variables coming from svn 2019-04-23 18:10:42 +02:00
73dc6c99ff Fix a missing newline in one message 2019-04-23 17:26:24 +02:00
e3a2004dc8 Add more accurate copyright information:
Attribute the copyright to the "jhalfs team", and put the names of the
6 contributors to date. May need to be changed if the number of contributors
increases...
2019-04-23 17:24:25 +02:00
291e9d1a8b Check version: fix displaying version
Using dotSTR, which was undefined, produced a ragged ouput.
2019-04-23 17:21:56 +02:00
4646774828 Move the LICENSE:
- rename the LICENSE file containing the GPLv2 template to LICENSE-GPL
- add a LICENSE file containing the MIT license
2019-04-23 16:00:44 +02:00
3f678de4cb Add .gitignore file 2019-04-22 23:37:18 +02:00
248a8f83d6 Make some files executable again 2019-04-22 23:34:49 +02:00
55565c2371 Normalize line endings 2019-04-22 12:55:41 -04:00
4cb387aead Fix generation of install instructions, and remove those pesky && as much as
possible
2019-04-22 09:38:44 +00:00
f7afda7453 typo 2019-04-18 08:55:19 +00:00
8a8d759775 Author: Jeremy Huntwork <jhuntwork@lightcubesolutions.com>
Date:   Tue Apr 16 13:31:09 2019 -0700

    Improve testing of configuration file timestamp
    
      * Provide a default value for each so that the comparisons of the time
        of each file doesn't fail.
      * Two commands in the Makefile could acceptably fail, but would
        produce some ugly warnings.
    
    Signed-off-by: Pierre Labastie <pierre.labastie@neuf.fr>
2019-04-17 07:06:13 +00:00
98b3ef97d5 Remove spurious spaces at the end of lines 2019-04-16 13:02:12 +00:00
fd09c39475 Remove a spurious blank line in gen-install.xsl 2019-04-16 12:15:21 +00:00
2b14e9f9e0 Fix again properties 2019-04-16 08:29:14 +00:00