diff options
author | Eelco Dolstra <eelco.dolstra@logicblox.com> | 2005-02-21 16:05:33 +0000 |
---|---|---|
committer | Eelco Dolstra <eelco.dolstra@logicblox.com> | 2005-02-21 16:05:33 +0000 |
commit | c5ee6019d8614f0bce373552d116c72f2408a4ee (patch) | |
tree | 86603b6fe38641928c88fba15c35050c646d2685 /maintainers | |
parent | e6744d0f893e0641b22996382cc6dcb81f8acc3d (diff) |
* Move stuff.
* Added a NEWS file. svn path=/nixpkgs/trunk/; revision=2259
Diffstat (limited to 'maintainers')
-rw-r--r-- | maintainers/docs/bugs.txt | 37 | ||||
-rw-r--r-- | maintainers/docs/classification.txt | 113 | ||||
-rw-r--r-- | maintainers/docs/todo.txt | 15 | ||||
-rwxr-xr-x | maintainers/scripts/evacuate-urls.sh | 28 |
4 files changed, 193 insertions, 0 deletions
diff --git a/maintainers/docs/bugs.txt b/maintainers/docs/bugs.txt new file mode 100644 index 0000000000000..eb158b2bb5e2b --- /dev/null +++ b/maintainers/docs/bugs.txt @@ -0,0 +1,37 @@ +* If NIX_DEBUG is turned on (set to "1"), autoconf configure scripts + may fail to find the correct preprocessor: + + checking how to run the C preprocessor... /lib/cpp + + +* When building gcc using a Nix gcc, generated libraries link against + the libraries of the latter: + + $ ldd /nix/store/3b1d3995c4edbf026be5c73f66f69245-gcc-3.3.3/lib/libstdc++.so + ... + libgcc_s.so.1 => /nix/store/1f19e61d1b7051f1131f78b41b2a0e7e-gcc-3.3.2/lib/libgcc_s.so.1 (0x400de000) + (wrong! should be .../3b1d.../lib/libgcc_s...) + ... + + +* In libXt: + +/bin/sh ./libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I. -DXTHREADS -DXUSE_MTSAFE_API -I/nix/store/aadf0bd4a908da11d14f6538503b8408-libX11-6.2.1/include -I/nix/store/ba366e3b944ead64ec9b0490bb615874-xproto-6.6.1/include -I./include/X11 -g -O2 -c -o ActionHook.lo `test -f 'ActionHook.c' || echo './'`ActionHook.c +mkdir .libs + gcc -DHAVE_CONFIG_H -I. -I. -I. -DXTHREADS -DXUSE_MTSAFE_API -I/nix/store/aadf0bd4a908da11d14f6538503b8408-libX11-6.2.1/include -I/nix/store/ba366e3b944ead64ec9b0490bb615874-xproto-6.6.1/include -I./include/X11 -g -O2 -c ActionHook.c -fPIC -DPIC -o .libs/ActionHook.o +In file included from IntrinsicI.h:55, + from ActionHook.c:69: +include/X11/IntrinsicP.h:54:27: X11/Intrinsic.h: No such file or directory + + +* Then: + + gcc -DHAVE_CONFIG_H -I. -I. -I. -DXTHREADS -DXUSE_MTSAFE_API -I/nix/store/aadf0bd4a908da11d14f6538503b8408-libX11-6.2.1/include -I/nix/store/ba366e3b944ead64ec9b0490bb615874-xproto-6.6.1/include -I./include -I./include/X11 -g -O2 -c ActionHook.c -fPIC -DPIC -o .libs/ActionHook.o +In file included from IntrinsicI.h:55, + from ActionHook.c:69: +include/X11/IntrinsicP.h:202:25: X11/ObjectP.h: No such file or directory + +(moved to include/X11; should edit include/Makefile.am) + + +* Add "exit 0" at the end of configure of rte package. diff --git a/maintainers/docs/classification.txt b/maintainers/docs/classification.txt new file mode 100644 index 0000000000000..ff29a6013ca34 --- /dev/null +++ b/maintainers/docs/classification.txt @@ -0,0 +1,113 @@ +* Classification scheme for packages + +- many packages fall under several categories; what matters is the + *primary* purpose of a package. For example, the libxml2 package + builds both a library and some tools; but it's a library foremost, + so it goes under ./development/libraries. + +- when in doubt, refactor. + +IF it's used to support SOFTWARE DEVELOPMENT: + + IF it's a LIBRARY used by other packages: + IF it's directly related to GTK: + ./development/libraries/gtk+ + ELSE + ./development/libraries + (e.g., libxml2) + ELSE IF it's a COMPILER: + ./development/compilers + (e.g., gcc) + ELSE IF it's an INTERPRETER: + ./development/interpreters + ELSE IF it's a development TOOL (or set of): + IF it's a PARSER GENERATOR (incl. lexers): + ./development/tools/parsing + (e.g., bison, flex) + ELSE IF it's a BUILD MANAGER: + ./development/tools/build-managers + (e.g., gnumake + ELSE + ./development/tools/misc + (e.g., binutils) + ELSE + ./development/misc + +ELSE IF it's a TOOL (or set of): + # a tool is a relatively *small* program, esp. one intented to be + # used non-interactively + + IF it's for NETWORKING: + ./tools/networking + (e.g., wget) + ELSE IF it's for TEXT PROCESSING: + ./tools/text + (e.g., diffutils) + ELSE IF it's a SYSTEM utility, i.e., something related or essential + to the operation of a system: + ./tools/system + (e.g., init) + ELSE IF it's an ARCHIVER (which may include a compression function): + ./tools/archivers + (e.g., zip, tar) + ELSE IF it's a COMPRESSION program: + ./tools/compression + (e.g., gzip, bzip2) + ELSE + ./tools/misc + +ELSE IF it's a SHELL: + + ./shells + +ELSE IF it's a SERVER: + + IF it's a HTTP server: + ./servers/http + (e.g., apache) + IF it's a X11 server: + ./servers/x11 + (e.g., xfree86) + ELSE + ./servers/misc + +ELSE IF it's a DESKTOP ENVIRONMENT (incl. WINDOW MANAGERS): + + ./desktops + (e.g., kde, gnome, fvwm) + +ELSE IF it's an APPLICATION: + # a (typically large) program with a distinct user interface, + # primarily used interactively + + IF it's a VERSION MANAGEMENT system: + ./applications/version-management + ELSE IF it's for VIDEO playback/etc: + ./applications/video + ELSE IF it's for GRAPHICS viewing/editing/etc: + ./applications/graphics + ELSE IF it's for NETWORKING: + IF it's a MAILREADER: + ./applications/networking/mailreaders + IF it's a NEWSREADER: + ./applications/networking/newsreaders + ELSE + ./applications/networking/misc + ELSE + ./applications/misc + +ELSE IF it's DATA (i.e., doe not have a straight-forward executable semantics): + + IF it's related to SGML/XML processing: + IF it's a XML DTD: + ./data/sgml+xml/schemas/xml-dtd + ELSE IF it's an XSLT stylesheet (okay, these are executable...): + ./data/sgml+xml/stylesheets/xslt + +ELSE IF it's a GAME: + + ./games + +ELSE: + + ./misc diff --git a/maintainers/docs/todo.txt b/maintainers/docs/todo.txt new file mode 100644 index 0000000000000..13fb86068be83 --- /dev/null +++ b/maintainers/docs/todo.txt @@ -0,0 +1,15 @@ +* Bump freetype to 2.1.7 (but it breaks Pango 1.2.5). + +* Patch development/tools/misc/libtool not to search standard + directories for libraries (like setup.sh does now). [do we want + this?] + +* In setup.sh: add configureFlagsArray or something + +* Inform freedesktop people that Xaw requires Xpm. + +* After building gcc, filter out references to /tmp/nix... in + .../lib/libsupc++.la and .../lib/libstdc++.la + +* Qt should set QTDIR in all builds that depend on it (using a hook) + [after doing that, update mythtv]. diff --git a/maintainers/scripts/evacuate-urls.sh b/maintainers/scripts/evacuate-urls.sh new file mode 100755 index 0000000000000..8ca72fdf96f99 --- /dev/null +++ b/maintainers/scripts/evacuate-urls.sh @@ -0,0 +1,28 @@ +#! /bin/sh -e + +find . -name "*.nix" | while read fn; do + + grep -E '^ *url = ' "$fn" | while read line; do + + if oldURL=$(echo "$line" | sed 's^url = \(.*\);^\1^'); then + + if ! echo "$oldURL" | grep -q -E ".cs.uu.nl|.stratego-language.org|java.sun.com|ut2004|linuxq3a"; then + base=$(basename $oldURL) + newURL="http://catamaran.labs.cs.uu.nl/dist/tarballs/$base" + newPath="/mnt/scratchy/eelco/public_html/tarballs/$base" + echo "$fn: $oldURL -> $newURL" + + if ! test -e "$newPath"; then + curl --fail --location --max-redirs 20 "$oldURL" > "$newPath".tmp + mv -f "$newPath".tmp "$newPath" + fi + + sed "s^$oldURL^$newURL^" < "$fn" > "$fn".tmp + mv -f "$fn".tmp "$fn" + fi + + fi + + done + +done \ No newline at end of file |