me
/
guix
Archived
1
0
Fork 0

distro: Go for one module per package.

The alternative, which was to use one module per category, would
probably not scale well.  First, because many packages could fall into
several categories (does GnuTLS go into "networking", "security", or
"libraries"?).  Second, because that could easily lead to circular
dependencies among modules ("security" and "networking" depend on each
other, etc.)

* distro/packages/databases.scm: Rename to...
* distro/packages/recutils.scm: ... this.
* distro/packages/typesetting.scm: Rename to...
* distro/packages/lout.scm: ... this.
* Makefile.am (MODULES): Adjust accordingly.
* po/POTFILES.in: Likewise.
master
Ludovic Courtès 2012-11-04 21:44:42 +01:00
parent 59b775cca9
commit 9d9e645081
4 changed files with 6 additions and 22 deletions

View File

@ -43,10 +43,10 @@ MODULES = \
guix.scm \
distro.scm \
distro/packages/base.scm \
distro/packages/databases.scm \
distro/packages/guile.scm \
distro/packages/ld-wrapper.scm \
distro/packages/typesetting.scm
distro/packages/lout.scm \
distro/packages/recutils.scm
GOBJECTS = $(MODULES:%.scm=%.go) guix/config.go

View File

@ -16,18 +16,12 @@
;;; You should have received a copy of the GNU General Public License
;;; along with Guix. If not, see <http://www.gnu.org/licenses/>.
(define-module (distro packages typesetting)
(define-module (distro packages lout)
#:use-module (guix packages)
#:use-module (guix http)
#:use-module (guix utils)
#:use-module (guix build-system gnu))
;;; Commentary:
;;;
;;; Typesetting-related packages.
;;;
;;; Code:
(define-public lout
;; This one is a bit tricky, because it doesn't follow the GNU Build System
;; rules. Instead, it has a makefile that has to be patched to set the
@ -131,5 +125,3 @@ outcome of an eight-year research project that went back to the
beginning.")
(license "GPLv3+")
(home-page "http://savannah.nongnu.org/projects/lout/"))))
;;; typesetting.scm ends here

View File

@ -16,19 +16,13 @@
;;; You should have received a copy of the GNU General Public License
;;; along with Guix. If not, see <http://www.gnu.org/licenses/>.
(define-module (distro packages databases)
(define-module (distro packages recutils)
#:use-module (distro)
#:use-module (guix packages)
#:use-module (guix http)
#:use-module (guix utils)
#:use-module (guix build-system gnu))
;;; Commentary:
;;;
;;; Database management software and related packages.
;;;
;;; Code:
(define-public recutils
(package
(name "recutils")
@ -56,5 +50,3 @@ text-based databases called recfiles. The data is stored as a sequence of
records, each record containing an arbitrary number of named fields.")
(license "GPLv3+")
(home-page "http://www.gnu.org/software/recutils/")))
;;; databases.scm ends here

View File

@ -1,9 +1,9 @@
# List of source files which contain translatable strings.
distro.scm
distro/packages/base.scm
distro/packages/databases.scm
distro/packages/guile.scm
distro/packages/typesetting.scm
distro/packages/lout.scm
distro/packages/recutils.scm
guix/ui.scm
guix-build.in
guix-download.in