Compare commits

..

210 Commits
0.6 ... 0.8

Author SHA1 Message Date
Eelco Dolstra
187d0a22eb * Mark stable release.
svn path=/nixpkgs/branches/0.8-release/; revision=2529
2005-04-11 13:19:41 +00:00
Eelco Dolstra
7775caaa35 * Evacuate tarballs.
svn path=/nixpkgs/trunk/; revision=2527
2005-04-11 13:09:01 +00:00
Eelco Dolstra
bf985e6d6e * NEWS.
svn path=/nixpkgs/trunk/; revision=2521
2005-04-11 09:01:27 +00:00
Eelco Dolstra
5c72ac8252 * Valgrind updated to 2.4.0.
svn path=/nixpkgs/trunk/; revision=2520
2005-04-11 08:55:05 +00:00
Eelco Dolstra
013300cb0e * Libtiff updated to 3.7.2.
svn path=/nixpkgs/trunk/; revision=2519
2005-04-11 08:54:32 +00:00
Eelco Dolstra
c4ca7db276 * OpenSSL updated to 0.9.7f.
svn path=/nixpkgs/trunk/; revision=2518
2005-04-11 08:54:10 +00:00
Eelco Dolstra
67140c410f * Zlib updated to 1.2.2.
svn path=/nixpkgs/trunk/; revision=2517
2005-04-11 08:53:48 +00:00
Eelco Dolstra
fc20bd6518 * GTK updates.
svn path=/nixpkgs/trunk/; revision=2516
2005-04-11 08:27:14 +00:00
Eelco Dolstra
1af17b9d7f * Rename new unzip.
svn path=/nixpkgs/trunk/; revision=2515
2005-04-11 08:26:36 +00:00
Eelco Dolstra
d8a0bdebf2 * Get rid of the old unzip.
svn path=/nixpkgs/trunk/; revision=2514
2005-04-11 08:22:23 +00:00
Eelco Dolstra
42fa9be439 * Apache Httpd 2.0.53.
svn path=/nixpkgs/trunk/; revision=2492
2005-04-05 14:19:25 +00:00
Eelco Dolstra
94ba0a0995 * Fix Berkeley DB Perl bindings.
svn path=/nixpkgs/trunk/; revision=2491
2005-04-05 14:10:16 +00:00
Eelco Dolstra
3269efcb28 * Subversion 1.1.4.
svn path=/nixpkgs/trunk/; revision=2490
2005-04-05 12:12:18 +00:00
Eelco Dolstra
cb751bd5c0 * Adobe Reader 7.0. The PPKLite module (whatever that is) is disabled
because it needs the LDAP libraries, and I'm too lazy to add them
  now.

svn path=/nixpkgs/trunk/; revision=2457
2005-03-25 15:13:46 +00:00
Eelco Dolstra
a2feafba4f * Firefox 1.0.2.
svn path=/nixpkgs/trunk/; revision=2449
2005-03-24 11:32:46 +00:00
Eelco Dolstra
bf571aef78 * Skip flex on Mac OS X, use the right unzip.
svn path=/nixpkgs/trunk/; revision=2446
2005-03-23 15:50:11 +00:00
Rob Vermaas
160511bb5b removed '.tar.gz' from name of package
svn path=/nixpkgs/trunk/; revision=2438
2005-03-23 10:24:37 +00:00
Armijn Hemel
3d1f4bc4e8 security tools in ./tools/security
svn path=/nixpkgs/trunk/; revision=2437
2005-03-22 15:24:34 +00:00
Armijn Hemel
0aba140013 add gnupg
svn path=/nixpkgs/trunk/; revision=2436
2005-03-22 15:23:20 +00:00
Eelco Dolstra
55a02efa5b * Mac needs Unzip 5.52.
svn path=/nixpkgs/trunk/; revision=2434
2005-03-21 14:48:48 +00:00
Eelco Dolstra
b13b00afe2 * Gqview 2.0.0.
svn path=/nixpkgs/trunk/; revision=2432
2005-03-18 09:59:41 +00:00
Eelco Dolstra
0d5afd95c8 * Docbook XSL 1.68.1.
svn path=/nixpkgs/trunk/; revision=2431
2005-03-18 09:59:25 +00:00
Rob Vermaas
421d6ac92a * mjpegtools 1.6.2
svn path=/nixpkgs/trunk/; revision=2429
2005-03-18 08:10:35 +00:00
Eelco Dolstra
10e4887e50 * Filename fix.
svn path=/nixpkgs/trunk/; revision=2427
2005-03-17 09:18:49 +00:00
Rob Vermaas
c517847eab * octave: 2.9.0 needs flex anyway
svn path=/nixpkgs/trunk/; revision=2425
2005-03-16 15:13:30 +00:00
Eelco Dolstra
cae1a161e2 * Automake 1.9.5.
svn path=/nixpkgs/trunk/; revision=2422
2005-03-16 10:44:39 +00:00
Rob Vermaas
305f12283a octave: corrected hash
svn path=/nixpkgs/trunk/; revision=2421
2005-03-16 08:17:02 +00:00
Rob Vermaas
d27be2a586 new octave version
svn path=/nixpkgs/trunk/; revision=2420
2005-03-16 07:49:07 +00:00
Eelco Dolstra
47d7e060a5 * Acrobat Reader upgraded to 5.0.10.
* Removed acroread dependency on patchelf (it's in stdenv).

svn path=/nixpkgs/trunk/; revision=2418
2005-03-15 15:16:40 +00:00
Eelco Dolstra
be8f1e37a3 * Bump version number.
svn path=/nixpkgs/trunk/; revision=2403
2005-03-14 14:30:10 +00:00
Eelco Dolstra
f6e91bc9c9 * Merge r2396.
svn path=/nixpkgs/trunk/; revision=2397
2005-03-14 09:22:26 +00:00
Eelco Dolstra
df2a7e5168 * F-spot: work properly if an incompatible Mono is in the PATH.
svn path=/nixpkgs/trunk/; revision=2392
2005-03-13 20:43:04 +00:00
Eelco Dolstra
a93b037be8 * Added RealPlayer plugin support to Firefox. It's disabled by
default for legal reasons, but you can enabled it by uncommenting it
  in `all-packages-generic.nix', attribute `firefoxWrapper'.

svn path=/nixpkgs/trunk/; revision=2390
2005-03-12 13:35:27 +00:00
Eelco Dolstra
3e9383d8b1 * Added RealPlayer 10.0.3.
svn path=/nixpkgs/trunk/; revision=2389
2005-03-12 12:53:03 +00:00
Eelco Dolstra
0fde925dfc * GTK updates.
svn path=/nixpkgs/trunk/; revision=2385
2005-03-11 14:46:27 +00:00
Eelco Dolstra
6ece42bad7 * MPlayer plugin 2.80.
svn path=/nixpkgs/trunk/; revision=2383
2005-03-11 14:27:34 +00:00
Eelco Dolstra
579b8893a0 * Graphviz 2.2.
svn path=/nixpkgs/trunk/; revision=2382
2005-03-11 13:15:16 +00:00
Eelco Dolstra
209037e64f * Add fspot to the cache.
svn path=/nixpkgs/trunk/; revision=2381
2005-03-11 12:46:26 +00:00
Eelco Dolstra
a04773c876 * Added f-spot.
svn path=/nixpkgs/trunk/; revision=2380
2005-03-11 12:00:28 +00:00
Eelco Dolstra
8880818869 * Added libgphoto2.
svn path=/nixpkgs/trunk/; revision=2379
2005-03-11 11:08:38 +00:00
Eelco Dolstra
3ae70fc768 * Added lcms, a color management system.
svn path=/nixpkgs/trunk/; revision=2378
2005-03-11 11:02:31 +00:00
Eelco Dolstra
83f69ce406 * Added sqlite, a "zero administration" database; I like the sound of
that ;-)

svn path=/nixpkgs/trunk/; revision=2377
2005-03-11 10:55:21 +00:00
Eelco Dolstra
83ec45304d * Added libexif and the exif frontend utility.
svn path=/nixpkgs/trunk/; revision=2376
2005-03-11 10:46:20 +00:00
Eelco Dolstra
6b8a8c92da * Fix regexp to match base-32 hashes.
svn path=/nixpkgs/trunk/; revision=2375
2005-03-10 17:32:09 +00:00
Eelco Dolstra
6ec09d7357 * E2fsprogs updated to 1.36.
svn path=/nixpkgs/trunk/; revision=2372
2005-03-10 16:03:19 +00:00
Eelco Dolstra
78ef3030fe * Util-linux updated to 2.12q.
svn path=/nixpkgs/trunk/; revision=2369
2005-03-10 15:32:24 +00:00
Eelco Dolstra
48b5082ccb * NEWS update.
svn path=/nixpkgs/trunk/; revision=2367
2005-03-10 15:01:03 +00:00
Eelco Dolstra
8a282aa46c * Set PERL5LIB automatically in the Perl setup hook.
* Remove explicit setting of PERL5LIB.
* Use the generic Perl builder for the BerkeleyDB and XML::Parser
  modules.
* Prefix all names of Perl modules with `perl-' (in the generic Perl
  builder).

svn path=/nixpkgs/trunk/; revision=2365
2005-03-10 12:49:37 +00:00
Eelco Dolstra
93e16516a7 * TODO.
svn path=/nixpkgs/trunk/; revision=2364
2005-03-10 11:40:16 +00:00
Eelco Dolstra
88b0904545 * Remove duplicate attributes. Nice ;-)
svn path=/nixpkgs/trunk/; revision=2363
2005-03-10 11:36:46 +00:00
Eelco Dolstra
a5be30e6b5 * Add some stuff to the channel.
svn path=/nixpkgs/trunk/; revision=2361
2005-03-10 09:52:27 +00:00
Eelco Dolstra
bf1db9d2ab * Set the MOZILLA_FIVE_HOME variable to point to Firefox so that
MonoDevelop can browse web pages.  (Maybe this shouldn't be done in
  MonoDevelop but in a higher-level wrapper.)

svn path=/nixpkgs/trunk/; revision=2360
2005-03-09 19:08:21 +00:00
Eelco Dolstra
6b25f34d77 * Allow variables to be set to a specific value.
svn path=/nixpkgs/trunk/; revision=2359
2005-03-09 19:07:23 +00:00
Eelco Dolstra
031db34059 * Move SVN tarballs to losser.
svn path=/nixpkgs/trunk/; revision=2358
2005-03-09 18:04:16 +00:00
Eelco Dolstra
732a36cbf7 * Put a wrapper around MonoDevelop to set the GAC search path etc.
svn path=/nixpkgs/trunk/; revision=2357
2005-03-09 17:54:42 +00:00
Eelco Dolstra
7cc7ba776b * MonoDevelop (from SVN).
svn path=/nixpkgs/trunk/; revision=2356
2005-03-09 17:49:19 +00:00
Eelco Dolstra
b701827950 * Added the `file' utility (required by the MonoDevelop build process).
svn path=/nixpkgs/trunk/; revision=2355
2005-03-09 17:48:46 +00:00
Eelco Dolstra
317a2b5762 * Added gtk# 1.9.2, required by MonoDevelop. However, since MonoDoc
requires the old gtk#, we keep that one around as well.

svn path=/nixpkgs/trunk/; revision=2354
2005-03-09 17:47:01 +00:00
Eelco Dolstra
5acbab6f75 * Latest gtksourceview# (from SVN).
svn path=/nixpkgs/trunk/; revision=2353
2005-03-09 17:43:54 +00:00
Eelco Dolstra
dd5ef003fc * Latest gtkmozembed# (replaces gecko#).
svn path=/nixpkgs/trunk/; revision=2352
2005-03-09 17:39:11 +00:00
Eelco Dolstra
06fc15a717 * Libtool updated to 1.5.14.
svn path=/nixpkgs/trunk/; revision=2351
2005-03-09 17:38:17 +00:00
Eelco Dolstra
fc2318ca63 * Autoconf updated to 2.59.
svn path=/nixpkgs/trunk/; revision=2350
2005-03-09 17:37:37 +00:00
Eelco Dolstra
f06889aa3b * Gecko#.
svn path=/nixpkgs/trunk/; revision=2349
2005-03-09 15:40:16 +00:00
Eelco Dolstra
30a41232b8 * Forgot this.
svn path=/nixpkgs/trunk/; revision=2346
2005-03-08 18:52:35 +00:00
Eelco Dolstra
3bdab02041 * Some more Gnome libraries.
svn path=/nixpkgs/trunk/; revision=2345
2005-03-08 18:51:37 +00:00
Eelco Dolstra
19d7e43cf3 * Added gtksourceview and gtksourceview-sharp.
svn path=/nixpkgs/trunk/; revision=2344
2005-03-08 15:44:23 +00:00
Eelco Dolstra
8853b55a2e * Generate wrappers to add Mono to PATH and to add Monodoc and GTK# to
the GAC search path.  Unfortunately Mono doesn't yet seem to
  implement the .NET mechanisms for specifying locations for module
  dependencies.

svn path=/nixpkgs/trunk/; revision=2343
2005-03-08 14:39:00 +00:00
Eelco Dolstra
acd95ba26e * Add the lib*sharpglue.so files to the DLL map. Now it's no longer
necessary to add gtk-sharp to the LD_LIBRARY_PATH.

svn path=/nixpkgs/trunk/; revision=2342
2005-03-08 11:46:02 +00:00
Eelco Dolstra
7511b7eb11 * Add a bunch of Perl XML modules.
svn path=/nixpkgs/trunk/; revision=2337
2005-03-07 13:27:28 +00:00
Eelco Dolstra
90e5c97727 * Add zlib compression support to Subversion.
* Updated Subversion to 1.1.3.

svn path=/nixpkgs/trunk/; revision=2332
2005-03-04 15:20:54 +00:00
Eelco Dolstra
9efa069a65 * Added a tool `mono-dll-fixer' to absolutise the DLL maps in the
`*.dll.config' files corresponding to CLR assemblies.  I.e., the
  full path to native libraries is included in the maps.  In effect
  this allows us to set the equivalent of an RPATH for assemblies.

* gtk-sharp: use the DLL fixer.  It's not perfect yet: I still have to
  set the LD_LIBRARY_PATH for monodoc to include the gtk-sharp lib
  directory itself, so that it can find the `*sharpglue.so' files.
  This seems to be gtk-sharp's fault; it doesn't have an entry for
  those libraries in its DLL maps.

svn path=/nixpkgs/trunk/; revision=2330
2005-03-03 17:19:58 +00:00
Eelco Dolstra
e348ecff74 * Don't detect an external kerberos in configure.
svn path=/nixpkgs/trunk/; revision=2323
2005-03-02 12:02:13 +00:00
Eelco Dolstra
6e0861d8af * Don't strip everything.
svn path=/nixpkgs/trunk/; revision=2322
2005-03-02 11:31:49 +00:00
Eelco Dolstra
83562f3d1d * Remove Subversion 1.0.9, we don't need it anymore.
* Remove Subversion built with Java bindings from the cache.
* Add Mono to the cache.

svn path=/nixpkgs/trunk/; revision=2315
2005-02-27 11:29:54 +00:00
Eelco Dolstra
d727755bd3 * Pass gtkLibs to gnome.
* Disable kopete (missing).

svn path=/nixpkgs/trunk/; revision=2314
2005-02-27 02:16:21 +00:00
Eelco Dolstra
7bfb0c190d * Don't use another instance of GTK - 4 is enough already ;-)
* libbonobui needs gettext for libintl.h header goodness.

svn path=/nixpkgs/trunk/; revision=2313
2005-02-27 02:08:17 +00:00
Martin Bravenboer
51ce4ea2f7 * development/libraries/gnome/*: upgraded all gnome packages
to 2.8.3.

	* development/libraries/gnome/*: copied gtk packages to gnome
	directory. gnome 2.8.3 did not work on gtk 2.4 nor gtk
	2.6. Using the specific version of the gnome platform 2.8.3 directory
	'solved' the issue.

	* development/libraries/gnome/gnome-icon-theme: new packag
	* development/libraries/gnome/libgtkhtml: new package
	* development/libraries/gnome/gtkhtml: new package
	* development/libraries/gnome/libgnomeprint: new package
	* development/libraries/gnome/libgnomeprintui: new package
	* development/libraries/gnome/gnome-keyring: new package
	* development/libraries/gnome/gail: new package
	* applications/editors/monodoc: new package

svn path=/nixpkgs/trunk/; revision=2312
2005-02-26 23:45:19 +00:00
Martin Bravenboer
ca968d823c Prelim. version of MonoDevelop (not finished)
svn path=/nixpkgs/trunk/; revision=2311
2005-02-25 22:23:03 +00:00
Martin Bravenboer
f7601af74e Added guile
svn path=/nixpkgs/trunk/; revision=2310
2005-02-25 22:22:40 +00:00
Eelco Dolstra
5569530363 * Bug.
svn path=/nixpkgs/trunk/; revision=2301
2005-02-25 12:10:21 +00:00
Eelco Dolstra
ce52a3635d * Nix updated to 0.7.
svn path=/nixpkgs/trunk/; revision=2300
2005-02-25 12:05:16 +00:00
Eelco Dolstra
afdac00409 * Firefox 1.0.1.
svn path=/nixpkgs/trunk/; revision=2298
2005-02-25 11:51:39 +00:00
Eelco Dolstra
12c0a6351d * Use --strip-debug', not --strip-all', so that we can at least get
proper backtraces.  Otherwise debugging of Nix binaries is very
  hard.

svn path=/nixpkgs/trunk/; revision=2292
2005-02-23 22:01:54 +00:00
Eelco Dolstra
8d24f2179f * Some (hopefully temporary) hacks to get Valgrind to compile with
2.6.10 headers.  Now everything in populate-cache.nix builds again :-)

svn path=/nixpkgs/trunk/; revision=2291
2005-02-23 20:56:08 +00:00
Eelco Dolstra
5b6b8d3e3e * Use the latest patchelf. This fixes broken gconv modules (e.g.,
$glibc/lib/gconv/ISO-2022-JP.so has an RPATH of `$ORIGIN' so that it
  can find glibc/lib/gconv/libJIS.so; `$ORIGIN' should not be filtered
  out of the RPATH).

svn path=/nixpkgs/trunk/; revision=2290
2005-02-23 14:15:33 +00:00
Eelco Dolstra
25ab1079f9 * Use Linux 2.6.10 headers. 2.6.9 gives parse errors in some
applications (e.g.,
  `...glibc-2.3.4/include/linux/byteorder/little_endian.h:43: error:
  parse error before "__cpu_to_le64p"').

svn path=/nixpkgs/trunk/; revision=2289
2005-02-23 14:13:27 +00:00
Eelco Dolstra
e52ae5eab0 * Don't double-wrap gcc.
svn path=/nixpkgs/trunk/; revision=2287
2005-02-23 13:18:53 +00:00
Eelco Dolstra
7322689c3b * Alsa-lib updated to 1.0.8.
svn path=/nixpkgs/trunk/; revision=2284
2005-02-23 10:29:06 +00:00
Eelco Dolstra
24b2631d90 * Disable Darwin packages for now.
svn path=/nixpkgs/trunk/; revision=2283
2005-02-22 22:06:05 +00:00
Eelco Dolstra
ba20e223f1 * Use a hash over the entire SVN exported tree.
svn path=/nixpkgs/trunk/; revision=2279
2005-02-22 21:15:13 +00:00
Martin Bravenboer
3d300e6976 Added gtk-sharp
svn path=/nixpkgs/trunk/; revision=2277
2005-02-22 20:54:26 +00:00
Martin Bravenboer
5ab3aa73c4 Added the latest Mono release
svn path=/nixpkgs/trunk/; revision=2276
2005-02-22 20:08:24 +00:00
Eelco Dolstra
fa88e75c45 * Use fixed-output hashes in fetchsvn.
* In nix-prefetch-svn, support setuid installations where the user has
  no write access to the Nix store.

svn path=/nixpkgs/trunk/; revision=2275
2005-02-22 16:27:28 +00:00
Eelco Dolstra
1177e8925f * Done.
svn path=/nixpkgs/trunk/; revision=2274
2005-02-22 16:26:47 +00:00
Eelco Dolstra
44a1f60787 * md5' -> id' in compatibility mode.
svn path=/nixpkgs/trunk/; revision=2273
2005-02-22 15:34:58 +00:00
Eelco Dolstra
4eba4a211e * Check the hash, but only on Nix <= 0.7.
svn path=/nixpkgs/trunk/; revision=2272
2005-02-22 15:23:56 +00:00
Eelco Dolstra
afc8ae625f * Make it possible to override the log writer (from its default,
`tee').  Useful in the build farm where we want to write logs
  through `bzip2'.

svn path=/nixpkgs/trunk/; revision=2270
2005-02-22 15:03:24 +00:00
Eelco Dolstra
2e0380b7a0 * Use the generic substituter in the generation of stdenv and gcc-wrapper.
svn path=/nixpkgs/trunk/; revision=2269
2005-02-22 14:32:56 +00:00
Eelco Dolstra
290fba0cb6 * Remove unused stuff.
svn path=/nixpkgs/trunk/; revision=2268
2005-02-22 09:57:36 +00:00
Eelco Dolstra
399d23373e * Split downloading and unpacking.
* Add an MD5 hash for the downloaded files.
* Rename some files.

svn path=/nixpkgs/trunk/; revision=2267
2005-02-22 09:55:03 +00:00
Eelco Dolstra
31ff064352 * Use bzip instead of gzip for downloaded archives.
* Combine most of the archives together into one file (static.bz2).
* Don't depend on Subversion directories, but single files only.
  Otherwise any Subversion operation may cause a rebuild because
  something in .svn changes.  It would be nice if .svn directories
  were filtered out when copying things to the store.
* Glibc tarball: removed all .so files, /bin and /sbin, etc., and put
  linux-headers in the Glibc tarball.

svn path=/nixpkgs/trunk/; revision=2265
2005-02-22 07:59:15 +00:00
Eelco Dolstra
63bd7cdb79 * Rename stdenv-nix-linux-static to stdenv-linux.
svn path=/nixpkgs/trunk/; revision=2264
2005-02-21 20:54:34 +00:00
Eelco Dolstra
3e02536184 * Move the stdenv-linux bootstrap from stdenvs.nix to the
nix-linux-static directory.
* Get rid of the old nix-linux.
* Commented the bootstrap process.

svn path=/nixpkgs/trunk/; revision=2263
2005-02-21 20:42:07 +00:00
Eelco Dolstra
5f3c1f22ce * Forgotten.
svn path=/nixpkgs/trunk/; revision=2262
2005-02-21 20:40:51 +00:00
Eelco Dolstra
ecd2596677 * Do the generic sed thing for Glibc.
* Remove debug stuff from ld-wrapper.

svn path=/nixpkgs/trunk/; revision=2261
2005-02-21 17:57:53 +00:00
Eelco Dolstra
350268458c * Glibc updated to 2.3.4.
svn path=/nixpkgs/trunk/; revision=2260
2005-02-21 16:54:04 +00:00
Eelco Dolstra
c5ee6019d8 * Move stuff.
* Added a NEWS file.

svn path=/nixpkgs/trunk/; revision=2259
2005-02-21 16:05:33 +00:00
Eelco Dolstra
e6744d0f89 * Merge diff between trunk/pkgs@1646 and branches/nixos-pkgs@2256;
this contains mostly Armijn's pure stdenv-linux.

* After unpacking the statically linked GCC, patch all store paths to
  /nix/store/ffffffffffffffffffffffffffffffff.  Ugly hack to prevent
  undeclared references but it works.

* We don't need Glib's dynamic libraries in the first bootstrap stage;
  delete them.  Actually the downloaded Glibc binary is only needed
  for building Glibc, since GCC needs a C compiler to build some
  programs in `configure'.  So static linking is fine for that.  Maybe
  it would be better to patch `configure' so that we don't need a
  pre-built Glibc at all.

* Set the svn:executable property on `cp' and `patchelf'.

* In Glibc, revert to LinuxThreads.  Maybe NPTL will work, but TLS
  support is a problem.

* Delete most Glibc patches; they're no longer needed since the branch
  updated it to 20050110.
  
* Some cleanups.

svn path=/nixpkgs/trunk/; revision=2258
2005-02-21 16:03:34 +00:00
Eelco Dolstra
cdaecff49f * Use Nix 0.8-style fixed outputs.
svn path=/nixpkgs/trunk/; revision=2257
2005-02-21 15:52:37 +00:00
Eelco Dolstra
419f172ddb * Added Ogg Theora support to MPlayer.
svn path=/nixpkgs/trunk/; revision=2245
2005-02-16 16:18:43 +00:00
Eelco Dolstra
31c65a13a1 * MythTV 0.17.
svn path=/nixpkgs/trunk/; revision=2244
2005-02-16 13:19:27 +00:00
Eelco Dolstra
eeff1fcdd1 * More wrapper generation features. The Firefox wrapper generator is
now just 3 lines.

svn path=/nixpkgs/trunk/; revision=2243
2005-02-16 11:38:52 +00:00
Eelco Dolstra
3bf404a3f2 * Let the Mozilla plugins announce where in their output the actual
plugins are, rather then requiring certain fixed directories.

svn path=/nixpkgs/trunk/; revision=2242
2005-02-16 11:24:40 +00:00
Eelco Dolstra
b930967805 * A utility function for the automatic generation of wrapper scripts.
svn path=/nixpkgs/trunk/; revision=2241
2005-02-16 11:13:18 +00:00
Eelco Dolstra
1dcbda3398 * Set the QTDIR variable in a Qt setup hook.
svn path=/nixpkgs/trunk/; revision=2240
2005-02-15 17:44:45 +00:00
Eelco Dolstra
cbdd91f2a6 * Some utility functions to make performing substitutions in text
files easier.  Examples:

    substitute inputFile outputFile \
      --replace "@bindir@" "$out/bin" \
      --replace "@gcc@" "$GCC/bin/gcc"

    substitute inputFile outputFile --subst-var out

      (this is sugar for --replace "@out@" "$out")

    substituteInPlace file --replace a b

      (input and output are both `file'; the execute bit is preserved)
  

svn path=/nixpkgs/trunk/; revision=2239
2005-02-15 17:44:03 +00:00
Eelco Dolstra
aac8011c8b * GTK 2.6 plus associated libraries.
* Updated libtiff, libpng, libxml2, libxslt, gettext.

svn path=/nixpkgs/trunk/; revision=2238
2005-02-15 16:22:20 +00:00
Eelco Dolstra
e42507d182 * Move tarballs to catamaran so that we are no longer dependent on a
gazillion different servers.  Resurrected some 25 missing files.

svn path=/nixpkgs/trunk/; revision=2237
2005-02-15 14:44:19 +00:00
Eelco Dolstra
e5c1afb9c1 * A script to copy fetchurl files to a more stable place (catamaran)
and rewrite the Nix expression.

svn path=/nixpkgs/trunk/; revision=2236
2005-02-15 14:32:55 +00:00
Eelco Dolstra
c27b35a197 * Move more stuff.
svn path=/nixpkgs/trunk/; revision=2234
2005-02-15 11:28:47 +00:00
Eelco Dolstra
4bf7e864c7 * Moving stuff.
svn path=/nixpkgs/trunk/; revision=2233
2005-02-15 11:26:49 +00:00
Eelco Dolstra
267a904c26 * MPlayer updated to 1.0pre6.
svn path=/nixpkgs/trunk/; revision=2138
2005-01-31 19:39:42 +00:00
Martin Bravenboer
7387c6130a Added automake194 attribute
svn path=/nixpkgs/trunk/; revision=2096
2005-01-26 09:47:20 +00:00
Martin Bravenboer
99c054c053 Added Automake 1.9.4
svn path=/nixpkgs/trunk/; revision=2095
2005-01-26 09:44:13 +00:00
Martin Bravenboer
37d2e5519e Separate files for different Automake versions
svn path=/nixpkgs/trunk/; revision=2094
2005-01-26 09:36:29 +00:00
Eelco Dolstra
4a049bd86a * Put MySQL / MythTV / XmlTV in the channel.
svn path=/nixpkgs/trunk/; revision=2084
2005-01-22 13:41:20 +00:00
Eelco Dolstra
ba6f269bf5 * Qt: add optional support for MySQL.
* MythTV: the setup program works :-).
* Added XmlTV.  This requires a huge number of Perl modules, so...
* Added a generic builder for Perl modules.  I'm lazy so the modules
  are defined directly in all-packages-generic.nix.  The generic
  builder also patches Perl scripts to include a hard-coded Perl
  module search path (i.e., similar to an RPATH in ELF executables).

svn path=/nixpkgs/trunk/; revision=2083
2005-01-22 00:19:27 +00:00
Eelco Dolstra
f1ae49c01b * Added MySQL 4.1.9.
svn path=/nixpkgs/trunk/; revision=2082
2005-01-21 19:25:57 +00:00
Eelco Dolstra
e03984abda * Ugh, the procps at surriel was ancient. Updated to 3.2.4.
svn path=/nixpkgs/trunk/; revision=2081
2005-01-21 18:35:06 +00:00
Eelco Dolstra
bd4b67cf1f * Added procps 2.0.11 (for `ps', mostly).
svn path=/nixpkgs/trunk/; revision=2080
2005-01-21 18:24:25 +00:00
Armijn Hemel
8125cd8915 everything to build glibc statically succesfully
svn path=/nixpkgs/branches/nixos-pkgs/; revision=2079
2005-01-20 22:54:51 +00:00
Eelco Dolstra
34326de3c2 * MythTV now installs properly, but it doesn't work yet since Qt has
to be built with MySql client support.

svn path=/nixpkgs/trunk/; revision=2078
2005-01-20 22:07:08 +00:00
Eelco Dolstra
777c4ea1d7 * Added libXxf86vm and xf86vmext from xlibs CVS.
* Added MythTV.  But it doesn't build properly yet (it compiles fine,
  but it ignores the prefix).

svn path=/nixpkgs/trunk/; revision=2077
2005-01-20 21:11:49 +00:00
Eelco Dolstra
6737187428 * Doh!
svn path=/nixpkgs/trunk/; revision=2074
2005-01-20 15:55:05 +00:00
Eelco Dolstra
8882b48fb0 * Optionally enable thread support in Qt (libqt-mt).
svn path=/nixpkgs/trunk/; revision=2072
2005-01-20 14:23:34 +00:00
Eelco Dolstra
043ac4d1b0 * Fix dangling symlink bin/qmake.
svn path=/nixpkgs/trunk/; revision=2070
2005-01-20 11:39:12 +00:00
Eelco Dolstra
cc896336ef * Qt needs `which'. Also fix execute permission for
config.tests/unix.

svn path=/nixpkgs/trunk/; revision=2069
2005-01-20 09:00:08 +00:00
Eelco Dolstra
0159c5f8de * Also fix Unix tests, not just X11 tests. (Fixes a build error that
occurs if cups exists in /usr/lib.)

svn path=/nixpkgs/trunk/; revision=2068
2005-01-20 00:32:12 +00:00
Eelco Dolstra
44fa4a2980 * libXft: pass through the freetype and fontconfig inputs (Qt needs
them).
* Add Qt to the cache.  Contrary to what the previous commit message
  said, there is nothing wrong with the Qt build.  It was just a
  problem on my local machine (you shouldn't run `./configure -help'
  in a temporary build directory; it overwrites some files of the
  build in progress).

svn path=/nixpkgs/trunk/; revision=2067
2005-01-19 23:27:35 +00:00
Eelco Dolstra
35443bddea * Added Qt 3.3.3. Basic installation, except that Xrender and Xft
support are enabled (for anti-aliased fonts).

  BUG: Qt currently searches for plugins and documentation in the
  temporary build directory, instead of in its prefix.  So, e.g., help
  in Qt Designer doesn't work.

svn path=/nixpkgs/trunk/; revision=2066
2005-01-19 22:51:27 +00:00
Rob Vermaas
bdf57c697c lame 3.96.1
svn path=/nixpkgs/trunk/; revision=2065
2005-01-19 22:12:34 +00:00
Rob Vermaas
cec2c24d85 added libvorbis libogg and flac
svn path=/nixpkgs/trunk/; revision=2063
2005-01-19 21:48:45 +00:00
Rob Vermaas
23b30cf548 libcdaudio 0.99.12
svn path=/nixpkgs/trunk/; revision=2062
2005-01-19 21:12:46 +00:00
Rob Vermaas
bbf1716370 cdparanoia
svn path=/nixpkgs/trunk/; revision=2061
2005-01-19 21:04:43 +00:00
Rob Vermaas
c80ce6e83b cdparanoia-III
svn path=/nixpkgs/trunk/; revision=2060
2005-01-19 21:02:19 +00:00
Armijn Hemel
4b16211201 use new kernel headers
svn path=/nixpkgs/branches/nixos-pkgs/; revision=2053
2005-01-18 13:16:42 +00:00
Armijn Hemel
81e13c1572 remove the dependency on /bin/pwd, use the pwd we have in $PATH instead
svn path=/nixpkgs/branches/nixos-pkgs/; revision=2052
2005-01-18 13:04:28 +00:00
Eelco Dolstra
c90e049b98 * Xine updated to 1.0.
* Xine UI updated to 0.99.3.

svn path=/nixpkgs/trunk/; revision=2046
2005-01-15 21:49:33 +00:00
Martin Bravenboer
a1f2fad0fe Added StrategoXT 0.13. StrategoXT 0.12 is still available
svn path=/nixpkgs/trunk/; revision=2039
2005-01-14 21:26:18 +00:00
Armijn Hemel
0e6b2045ea we actually *do* have patchelf available and we want to use it to patch
our freshly built glibc, otherwise we get weird blah errors

svn path=/nixpkgs/branches/nixos-pkgs/; revision=2021
2005-01-14 11:45:16 +00:00
Armijn Hemel
bb7c8d72ed move patchelf in a directory, so it can play nice along with things
like initialPath

svn path=/nixpkgs/branches/nixos-pkgs/; revision=2020
2005-01-14 11:41:26 +00:00
Martin Bravenboer
c8c0c50eb2 Update of sdf2-bundle 2.3
svn path=/nixpkgs/trunk/; revision=2003
2005-01-10 17:24:39 +00:00
Armijn Hemel
a8d8a8f82c don't install keys. The Nix scripts empty the whole environment, including
some variables that are used by ssh-keygen.

svn path=/nixpkgs/branches/nixos-pkgs/; revision=2001
2005-01-10 15:33:43 +00:00
Armijn Hemel
5be8b1821a upgrade to a newer version of shadowutils
2000th commit!!!

svn path=/nixpkgs/branches/nixos-pkgs/; revision=2000
2005-01-10 14:05:14 +00:00
Armijn Hemel
6537afc279 we no longer need this patch
svn path=/nixpkgs/branches/nixos-pkgs/; revision=1999
2005-01-10 11:37:56 +00:00
Rob Vermaas
de1f2bcb4b removed xdoc from populate cache and all-packages-generic
svn path=/nixpkgs/trunk/; revision=1992
2005-01-05 11:21:49 +00:00
Rob Vermaas
583ef5d157 * octave 2.1.64
svn path=/nixpkgs/trunk/; revision=1987
2005-01-04 13:35:13 +00:00
Eelco Dolstra
50d826abea * Sylpheed updated to 1.0.0. Also fixed OpenSSL support.
svn path=/nixpkgs/trunk/; revision=1986
2005-01-03 20:22:48 +00:00
Eelco Dolstra
9e5869f731 * GCC updated to 3.4.3.
svn path=/nixpkgs/trunk/; revision=1980
2004-12-31 11:21:42 +00:00
Eelco Dolstra
7f3dc52aba * Add locales such as en_US.UTF-8 and nl_NL.UTF-8 to the list of
supported locales.  This is very useful as those are the default
  locales on Red Hat and SuSE (>= 9.2).  (When LANG is set to an
  unsupported locale, some applications fall back on the C locale;
  others (like Subversion) just barf.)

svn path=/nixpkgs/trunk/; revision=1977
2004-12-30 20:56:08 +00:00
Eelco Dolstra
f39229bac9 * Gqview updated to 1.4.5.
svn path=/nixpkgs/trunk/; revision=1975
2004-12-30 17:38:54 +00:00
Armijn Hemel
baf430cd23 don't let openssh generate a new hostkey when installing, let this be done afterwards by the sysadmin
svn path=/nixpkgs/branches/nixos-pkgs/; revision=1947
2004-12-24 14:10:19 +00:00
Martin Bravenboer
76991ac2df Removed ancient SDF versions
svn path=/nixpkgs/trunk/; revision=1941
2004-12-23 21:25:07 +00:00
Martin Bravenboer
e75a0bb1b8 Use sdf_23
svn path=/nixpkgs/trunk/; revision=1940
2004-12-23 21:23:22 +00:00
Martin Bravenboer
b672ffc5b7 Upgrade of SDF2 Bundle to version 2.3
svn path=/nixpkgs/trunk/; revision=1937
2004-12-23 21:18:00 +00:00
Eelco Dolstra
8d8210959e * Subversion updated to 1.1.2.
svn path=/nixpkgs/trunk/; revision=1931
2004-12-23 13:36:26 +00:00
Martin Bravenboer
ba47211900 ATerm update
svn path=/nixpkgs/trunk/; revision=1928
2004-12-23 08:51:15 +00:00
Eelco Dolstra
8a8b28a87b * Nix updated to 0.6.
svn path=/nixpkgs/trunk/; revision=1899
2004-12-17 13:49:08 +00:00
Armijn Hemel
66ea9ba4e7 patch net-tools to make it work nicely with gcc-3.4
svn path=/nixpkgs/branches/nixos-pkgs/; revision=1898
2004-12-17 13:49:04 +00:00
Eelco Dolstra
60e7948db1 * Allow a known hash to be specified.
svn path=/nixpkgs/trunk/; revision=1892
2004-12-17 11:04:18 +00:00
Eelco Dolstra
2a3f5188b5 * Option to print out the path, analogous to nix-prefetch-url.
svn path=/nixpkgs/trunk/; revision=1890
2004-12-17 10:40:00 +00:00
Armijn Hemel
1eb961902f fix download location
svn path=/nixpkgs/branches/nixos-pkgs/; revision=1887
2004-12-16 17:45:31 +00:00
Armijn Hemel
318e864dc5 don't build modules
svn path=/nixpkgs/branches/nixos-pkgs/; revision=1886
2004-12-16 16:41:34 +00:00
Armijn Hemel
bb632c07ef add modutils for kernel 2.4.25
svn path=/nixpkgs/branches/nixos-pkgs/; revision=1885
2004-12-16 16:34:03 +00:00
Armijn Hemel
aa150ce949 don't forget stuff
svn path=/nixpkgs/branches/nixos-pkgs/; revision=1871
2004-12-15 16:07:21 +00:00
Armijn Hemel
f9743cec5a refactor stdenvs.nix to use all the right tools at the right time
svn path=/nixpkgs/branches/nixos-pkgs/; revision=1870
2004-12-15 15:42:48 +00:00
Eelco Dolstra
43b626337f * Added Xine.
svn path=/nixpkgs/trunk/; revision=1850
2004-12-10 23:16:23 +00:00
Eelco Dolstra
9da3f23a89 * UML updated to 2.4.27-1.
svn path=/nixpkgs/trunk/; revision=1845
2004-12-09 19:48:40 +00:00
Armijn Hemel
d6702d185a patch for curl
svn path=/nixpkgs/branches/nixos-pkgs/; revision=1844
2004-12-09 13:02:44 +00:00
Armijn Hemel
e656dad03f remove all other occurences of old glibc path
svn path=/nixpkgs/branches/nixos-pkgs/; revision=1839
2004-12-06 19:20:15 +00:00
Armijn Hemel
505a857e55 don't match a trailing slash
svn path=/nixpkgs/branches/nixos-pkgs/; revision=1838
2004-12-06 19:00:06 +00:00
Armijn Hemel
30fd5fd0d1 don't forget passing sed to our script
svn path=/nixpkgs/branches/nixos-pkgs/; revision=1837
2004-12-06 18:50:27 +00:00
Armijn Hemel
fd3077a984 replace old glibc reference with $out
svn path=/nixpkgs/branches/nixos-pkgs/; revision=1836
2004-12-06 18:30:52 +00:00
Armijn Hemel
1182b31a47 use ftp.nluug.nl for downloading kernel instead of ftp.de.kernel.org, it's, for some reason, not always possible to download from the latter
svn path=/nixpkgs/branches/nixos-pkgs/; revision=1835
2004-12-06 17:15:53 +00:00
Armijn Hemel
068fd44898 right path to chmod
svn path=/nixpkgs/branches/nixos-pkgs/; revision=1834
2004-12-06 17:00:22 +00:00
Armijn Hemel
fddd91238a first make all patchable files writable before patching, then change them back (yes, I've checked it, none of the files are writeable, so that all should go well :) )
svn path=/nixpkgs/branches/nixos-pkgs/; revision=1833
2004-12-06 16:49:55 +00:00
Martin Bravenboer
6863445f23 Haskell mode for emacs
svn path=/nixpkgs/trunk/; revision=1832
2004-12-06 07:36:56 +00:00
Armijn Hemel
771534ece7 svn path=/nixpkgs/branches/nixos-pkgs/; revision=1831 2004-12-01 18:56:46 +00:00
Armijn Hemel
98ce16d2ba addd sutff
svn path=/nixpkgs/branches/nixos-pkgs/; revision=1830
2004-12-01 18:56:22 +00:00
Armijn Hemel
ff61b869e4 we also require patchelf (this is sooooo ugly)
svn path=/nixpkgs/branches/nixos-pkgs/; revision=1829
2004-12-01 16:10:18 +00:00
Armijn Hemel
63b86ec696 more fixes
svn path=/nixpkgs/branches/nixos-pkgs/; revision=1828
2004-12-01 16:09:21 +00:00
Armijn Hemel
3782c94ebb typo fix
svn path=/nixpkgs/branches/nixos-pkgs/; revision=1827
2004-12-01 16:07:32 +00:00
Armijn Hemel
222cedd14b let's patch all our glibc thingies!!
svn path=/nixpkgs/branches/nixos-pkgs/; revision=1826
2004-12-01 15:39:39 +00:00
Eelco Dolstra
17f7a05a97 * Sylpheed 1.0.0 beta 3.
svn path=/nixpkgs/trunk/; revision=1825
2004-12-01 15:36:38 +00:00
Armijn Hemel
fbce69c4ac we need patchelf
svn path=/nixpkgs/branches/nixos-pkgs/; revision=1824
2004-12-01 14:42:38 +00:00
Eelco Dolstra
76c0fe8cfe * Fix for http://sources.redhat.com/bugzilla/show_bug.cgi?id=356.
svn path=/nixpkgs/trunk/; revision=1820
2004-11-30 13:45:56 +00:00
Eelco Dolstra
1d9072670b * Added bsdiff 4.2. Wow, this is even better than zdelta (which in
turn appears to be better than vdelta).

svn path=/nixpkgs/trunk/; revision=1819
2004-11-29 21:17:29 +00:00
Eelco Dolstra
9ebbbd25cc * Added zdelta 2.1.
svn path=/nixpkgs/trunk/; revision=1817
2004-11-29 19:35:42 +00:00
Armijn Hemel
d1d2e2d5c2 replace all occurances of curl 7.12.0 with 7.12.2
svn path=/nixpkgs/branches/nixos-pkgs/; revision=1812
2004-11-29 14:40:28 +00:00
Armijn Hemel
1e3c657031 our 7.12.0 was not resolving (thank you glibc!), replaced with statically linked (with uclibc) 7.12.2
svn path=/nixpkgs/branches/nixos-pkgs/; revision=1811
2004-11-29 14:36:29 +00:00
Martin Bravenboer
d6841ce1fb Added rcs
svn path=/nixpkgs/trunk/; revision=1810
2004-11-28 17:28:55 +00:00
Martin Bravenboer
eeb83adeba Added strategoxt-0.12
svn path=/nixpkgs/trunk/; revision=1807
2004-11-26 17:36:22 +00:00
Armijn Hemel
aad382248f add modified gcc-wrapper
svn path=/nixpkgs/branches/nixos-pkgs/; revision=1793
2004-11-22 16:36:27 +00:00
Martin Bravenboer
c35db17230 Added gwydion-dylan to nixpkgs
svn path=/nixpkgs/trunk/; revision=1786
2004-11-19 17:47:17 +00:00
Martin Bravenboer
981cf60a3a Added the Boehm Garbage Collector
svn path=/nixpkgs/trunk/; revision=1785
2004-11-19 14:57:43 +00:00
Eelco Dolstra
f6ecc5a089 * Bump version number to 0.7.
svn path=/nixpkgs/trunk/; revision=1777
2004-11-14 15:43:32 +00:00
Eelco Dolstra
39d167caac * Fix url.
svn path=/nixpkgs/trunk/; revision=1772
2004-11-14 14:56:56 +00:00
Armijn Hemel
a30b6755ad inherit the extra2 parameter
svn path=/nixpkgs/branches/nixos-pkgs/; revision=1731
2004-11-09 13:39:04 +00:00
Armijn Hemel
53577663f5 add (refactored) static stuff
svn path=/nixpkgs/branches/nixos-pkgs/; revision=1679
2004-11-04 12:20:54 +00:00
Armijn Hemel
a8fa64c3da commit some stuff
svn path=/nixpkgs/branches/nixos-pkgs/; revision=1678
2004-11-04 12:19:32 +00:00
444 changed files with 4015 additions and 1531 deletions

48
NEWS Normal file
View File

@@ -0,0 +1,48 @@
Nix Packages 0.8 (April 11, 2005)
* This release is mostly to remain synchronised with the changed
hashing scheme in Nix 0.8.
* Notable updates:
- Adobe Reader 7.0
- Various security updates (zlib 1.2.2, etc.)
Nix Packages 0.7 (March 14, 2005)
* The bootstrap process for the standard build environment on Linux
(stdenv-linux) has been improved. It is no longer dependent in its
initial bootstrap stages on the system Glibc, GCC, and other tools.
Rather, Nixpkgs contains a statically linked bash and curl, and uses
that to download other statically linked tools. These are then used
to build a Glibc and dynamically linked versions of all other
tools.
This change also makes the bootstrap process faster. For instance,
GCC is built only once instead of three times.
(Contributed by Armijn Hemel.)
* Tarballs used by Nixpkgs are now obtained from the same server that
hosts Nixpkgs (catamaran.labs.cs.uu.nl). This reduces the risk of
packages being unbuildable due to moved or deleted files on various
servers.
* There now is a generic mechanism for building Perl modules. See the
various Perl modules defined in pkgs/system/all-packages-generic.nix.
* Notable new packages:
- Qt 3
- MySQL
- MythTV
- Mono
- MonoDevelop (alpha)
- Xine
* Notable updates:
- GCC 3.4.3
- Glibc 2.3.4
- GTK 2.6

View File

1
VERSION Normal file
View File

@@ -0,0 +1 @@
0.8

View File

@@ -34,4 +34,22 @@ 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.
* `ld' on Mac OS X barfs if the timestamp on static libraries has
changed (which happens if they are installed through a substitute).
Typical error:
/usr/bin/ld: table of contents for archive: libATerm.a is out of
date; rerun ranlib(1) (can't load from it)
Solution: patch ld.
Non-solution: extend NAR file format to include timestamps. We
don't want that because they introduce a source of non-determinism.
To catch problems like this one determistically, we should change
the timestamp on store objects to 0.
* In gtksourceview-sharp: does the prefix patch cause problems (e.g.,
makefile.am says "mimeinfodir should be the same as the gnome
prefix")?

View File

@@ -53,6 +53,9 @@ ELSE IF it's a TOOL (or set of):
ELSE IF it's a COMPRESSION program:
./tools/compression
(e.g., gzip, bzip2)
ELSE IF it's a SECURITY program:
./tools/security
(e.g., nmap, gnupg)
ELSE
./tools/misc

View File

@@ -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|RealPlayer|Adbe"; 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

View File

@@ -1 +0,0 @@
0.6

View File

@@ -0,0 +1,11 @@
{stdenv, fetchurl}:
stdenv.mkDerivation {
name = "cdparanoia-III-alpha9.8";
src = fetchurl {
url = http://catamaran.labs.cs.uu.nl/dist/tarballs/cdparanoia-III-alpha9.8.src.tgz;
md5 = "7218e778b5970a86c958e597f952f193" ;
};
patches = [./fix.patch];
}

View File

@@ -0,0 +1,46 @@
*** cdparanoia-III-alpha9.8/interface/utils.h Thu Apr 20 00:41:04 2000
--- cdparanoia-III-alpha9.8-old/interface/utils.h Wed Jan 19 21:44:08 2005
***************
*** 110,117 ****
case CDDA_MESSAGE_LOGIT:
d->errorbuf=catstring(d->errorbuf,s);
break;
- case CDDA_MESSAGE_FORGETIT:
- default:
}
}
}
--- 110,115 ----
***************
*** 125,132 ****
case CDDA_MESSAGE_LOGIT:
d->messagebuf=catstring(d->messagebuf,s);
break;
- case CDDA_MESSAGE_FORGETIT:
- default:
}
}
}
--- 123,128 ----
***************
*** 167,174 ****
}
}
break;
- case CDDA_MESSAGE_FORGETIT:
- default:
}
}
if(malloced)free(buffer);
--- 163,168 ----
***************
*** 203,210 ****
if(!malloced)*messages=catstring(*messages,"\n");
}
break;
- case CDDA_MESSAGE_FORGETIT:
- default:
}
}
if(malloced)free(buffer);
--- 197,202 ----

View File

@@ -0,0 +1,11 @@
{stdenv, fetchurl, libogg}:
stdenv.mkDerivation {
name = "flac-1.1.1";
src = fetchurl {
url = http://catamaran.labs.cs.uu.nl/dist/tarballs/flac-1.1.1.tar.gz;
md5 = "c6ccddccf8ad344065698047c2fc7280" ;
};
buildInputs = [libogg] ;
}

View File

@@ -0,0 +1,9 @@
{stdenv, fetchurl}:
stdenv.mkDerivation {
name = "lame-3.96.1";
src = fetchurl {
url = http://catamaran.labs.cs.uu.nl/dist/tarballs/lame-3.96.1.tar.gz;
md5 = "e1206c46a5e276feca11a7149e2fc6ac" ;
};
}

View File

@@ -11,7 +11,7 @@ let {
bindist =
fetchurl {
url = http://ftp-stud.fht-esslingen.de/pub/Mirrors/eclipse/R-3.0.1-200409161125/eclipse-SDK-3.0.1-linux-gtk.zip;
url = http://catamaran.labs.cs.uu.nl/dist/tarballs/eclipse-SDK-3.0.1-linux-gtk.zip;
md5 = "d0f743c972adf13e71a43b2dc6c9c55b";
};
}

View File

@@ -4,7 +4,7 @@ stdenv.mkDerivation {
name = "emacs-21.3";
builder = ./builder.sh;
src = fetchurl {
url = http://ftp.gnu.org/pub/gnu/emacs/emacs-21.3.tar.gz;
url = http://catamaran.labs.cs.uu.nl/dist/tarballs/emacs-21.3.tar.gz;
md5 = "a0bab457cbf5b4f8eb99d1d0a3ada420";
};
patches = [./patchfile];

View File

@@ -2,7 +2,7 @@
name = "cua-mode-2.10";
builder = ./builder.sh;
src = fetchurl {
url = http://www.cua.dk/cua.el;
url = http://catamaran.labs.cs.uu.nl/dist/tarballs/cua-mode-2.10.el;
md5 = "5bf5e43f5f38c8383868c7c6c5baca09";
};
}

View File

@@ -0,0 +1,6 @@
. $stdenv/setup
mkdir -p $out/emacs/site-lisp
tar zxvf $src
cp haskell-mode*/*.el $out/emacs/site-lisp
cp haskell-mode*/*.hs $out/emacs/site-lisp

View File

@@ -0,0 +1,8 @@
{stdenv, fetchurl}: stdenv.mkDerivation {
name = "haskell-mode-1.45";
builder = ./builder.sh;
src = fetchurl {
url = http://catamaran.labs.cs.uu.nl/dist/tarballs/haskell-mode-1.45.tar.gz;
md5 = "c609998580cdb9ca8888c7d47d22ca3b";
};
}

View File

@@ -2,7 +2,7 @@
name = "nxml-mode-20041004";
builder = ./builder.sh;
src = fetchurl {
url = http://www.thaiopensource.com/download/nxml-mode-20041004.tar.gz;
url = http://catamaran.labs.cs.uu.nl/dist/tarballs/nxml-mode-20041004.tar.gz;
md5 = "ac137024cf337d6f11d8ab278d39b4db";
};
}

View File

@@ -0,0 +1,29 @@
. $stdenv/setup
. $makeWrapper
export MONO_GAC_PREFIX=$monodoc:$gtksharp
postInstall=postInstall
postInstall() {
mv $out/bin $out/bin-orig
mkdir $out/bin
moz=$(ls $mozilla/lib/*/libgtkembedmoz.so)
for i in $out/bin-orig/*; do
echo "wrapping $(basename $i)"
# !!! TODO: figure out the MONO_GAC_PREFIX automatically
makeWrapper "$i" "$out/bin/$(basename $i)" \
--suffix PATH ':' "$(dirname $(type -p mono))" \
--suffix PATH ':' "$(dirname $(type -p mono))" \
--suffix LD_LIBRARY_PATH ':' "$gtksharp/lib" \
--suffix MONO_GAC_PREFIX ':' "$gtksharp" \
--suffix MONO_GAC_PREFIX ':' "$gtkmozembedsharp" \
--suffix MONO_GAC_PREFIX ':' "$gtksourceviewsharp" \
--suffix MONO_GAC_PREFIX ':' "$monodoc" \
--set MOZILLA_FIVE_HOME "$(dirname $moz)"
done
}
genericBuild

View File

@@ -0,0 +1,28 @@
{ stdenv, fetchurl, file, mono, gtksharp, gtksourceviewsharp
, gtkmozembedsharp, monodoc
, perl, perlXMLParser, pkgconfig
, glib, gtk, gconf, gnomevfs, libbonobo, libglade, libgnome
, mozilla
}:
stdenv.mkDerivation {
name = "monodevelop-0.6-pre2315";
builder = ./builder.sh;
src = fetchurl {
url = http://losser.labs.cs.uu.nl/~eelco/mono-tmp/monodevelop-0.6-pre2315.tar.bz2;
md5 = "8c33df5629b0676b7ab552854c1de6fd";
};
makeWrapper = ../../../build-support/make-wrapper/make-wrapper.sh;
patches = [./prefix.patch];
buildInputs = [
file mono gtksharp gtksourceviewsharp perl perlXMLParser pkgconfig
glib gtk gconf gnomevfs libbonobo libglade libgnome
gtkmozembedsharp monodoc
];
inherit mozilla monodoc gtksharp gtkmozembedsharp gtksourceviewsharp;
}

View File

@@ -0,0 +1,44 @@
diff -rc MonoDevelop-orig/Makefile.in MonoDevelop/Makefile.in
*** MonoDevelop-orig/Makefile.in 2005-03-09 17:43:58.000000000 +0100
--- MonoDevelop/Makefile.in 2005-03-09 18:10:20.000000000 +0100
***************
*** 298,304 ****
# (mkdir ../../build/bin/ hack)
SUBDIRS = Core build po Extras
bin_SCRIPTS = monodevelop
! gnome_data = @gnome_prefix@/share
desktopdir = $(gnome_data)/applications
desktop_DATA = monodevelop.desktop
pixmapdir = $(gnome_data)/pixmaps
--- 298,304 ----
# (mkdir ../../build/bin/ hack)
SUBDIRS = Core build po Extras
bin_SCRIPTS = monodevelop
! gnome_data = @prefix@/share
desktopdir = $(gnome_data)/applications
desktop_DATA = monodevelop.desktop
pixmapdir = $(gnome_data)/pixmaps
***************
*** 809,818 ****
all:
install-data-hook:
! $(UPDATE_MIME_DB) $(gnome_data)/mime
uninstall-hook:
! $(UPDATE_MIME_DB) $(gnome_data)/mime
run: runmd
--- 809,818 ----
all:
install-data-hook:
! # $(UPDATE_MIME_DB) $(gnome_data)/mime
uninstall-hook:
! # $(UPDATE_MIME_DB) $(gnome_data)/mime
run: runmd
Only in MonoDevelop: Makefile.in~

View File

@@ -0,0 +1,21 @@
. $stdenv/setup
. $makeWrapper
postInstall=postInstall
postInstall() {
mv $out/bin $out/bin-orig
mkdir $out/bin
for i in $out/bin-orig/*; do
echo "wrapping $(basename $i)"
# !!! TODO: figure out the MONO_GAC_PREFIX automatically
makeWrapper "$i" "$out/bin/$(basename $i)" \
--suffix PATH ':' "$(dirname $(type -p mono))" \
--suffix MONO_GAC_PREFIX ':' "$gtksharp" \
--suffix MONO_GAC_PREFIX ':' "$out"
done
}
genericBuild

View File

@@ -0,0 +1,17 @@
{stdenv, fetchurl, mono, gtksharp, pkgconfig}:
stdenv.mkDerivation {
name = "monodoc-1.0.6";
builder = ./builder.sh;
src = fetchurl {
url = http://catamaran.labs.cs.uu.nl/dist/tarballs/monodoc-1.0.6.tar.gz;
md5 = "f2fc27e8e4717d90dc7efa2450625693";
};
makeWrapper = ../../../build-support/make-wrapper/make-wrapper.sh;
buildInputs = [mono gtksharp pkgconfig];
inherit gtksharp;
}

View File

@@ -4,7 +4,7 @@ stdenv.mkDerivation {
name = "nano-1.2.4";
builder = ./builder.sh;
src = fetchurl {
url = http://www.nano-editor.org/dist/v1.2/nano-1.2.4.tar.gz;
url = http://catamaran.labs.cs.uu.nl/dist/tarballs/nano-1.2.4.tar.gz;
md5 = "2c513310ec5e8b63abaecaf48670ac7a";
};

View File

@@ -5,7 +5,7 @@ stdenv.mkDerivation {
builder = ./builder.sh;
src = fetchurl {
url = ftp://ftp.vim.org/mirror/vim/unix/vim-6.3.tar.bz2;
url = http://catamaran.labs.cs.uu.nl/dist/tarballs/vim-6.3.tar.bz2;
md5 = "821fda8f14d674346b87e3ef9cb96389";
};

View File

@@ -0,0 +1,28 @@
. $stdenv/setup
. $makeWrapper
postInstall=postInstall
postInstall() {
mv $out/bin $out/bin-orig
mkdir $out/bin
for i in $out/bin-orig/*; do
echo "wrapping $(basename $i)"
# !!! TODO: figure out the MONO_GAC_PREFIX automatically
makeWrapper "$i" "$out/bin/$(basename $i)" \
--prefix PATH ':' "$(dirname $(type -p mono))" \
--prefix LD_LIBRARY_PATH ':' "$sqlite/lib" \
--prefix LD_LIBRARY_PATH ':' "$libgnomeui/lib/libglade/2.0" \
--prefix MONO_GAC_PREFIX ':' "$gtksharp"
done
# !!! hack
export ALL_INPUTS="$out $pkgs"
find $out -name "*.dll.config" -o -name "*.exe.config" | while read configFile; do
echo "modifying config file $configFile"
$monoDLLFixer "$configFile"
done
}
genericBuild

View File

@@ -0,0 +1,26 @@
{ stdenv, fetchurl, perl, perlXMLParser, pkgconfig, mono, libexif
, libgnome, libgnomeui, gtksharp, libjpeg, sqlite, lcms, libgphoto2
, monoDLLFixer
}:
stdenv.mkDerivation {
name = "f-spot-0.0.10";
builder = ./builder.sh;
makeWrapper = ../../../build-support/make-wrapper/make-wrapper.sh;
src = fetchurl {
url = http://catamaran.labs.cs.uu.nl/dist/tarballs/f-spot-0.0.10.tar.bz2;
md5 = "19cc6e067ccc261b0502ff6189b79832";
};
patches = [./dllmap.patch];
buildInputs = [
perl perlXMLParser pkgconfig mono libexif
libgnome libgnomeui gtksharp libjpeg sqlite
lcms libgphoto2
];
inherit monoDLLFixer gtksharp sqlite libgnomeui;
}

View File

@@ -0,0 +1,28 @@
diff -rc f-spot-0.0.10-orig/libgphoto2-sharp/libgphoto2-sharp.dll.config f-spot-0.0.10/libgphoto2-sharp/libgphoto2-sharp.dll.config
*** f-spot-0.0.10-orig/libgphoto2-sharp/libgphoto2-sharp.dll.config 2005-02-27 19:25:09.000000000 +0100
--- f-spot-0.0.10/libgphoto2-sharp/libgphoto2-sharp.dll.config 2005-03-11 12:13:12.000000000 +0100
***************
*** 1,3 ****
<configuration>
! <dllmap dll="libgphoto2.so" target="/usr/lib/libgphoto2.so.2"/>
</configuration>
--- 1,3 ----
<configuration>
! <dllmap dll="libgphoto2.so" target="libgphoto2.so.2"/>
</configuration>
diff -rc f-spot-0.0.10-orig/src/f-spot.exe.config.in f-spot-0.0.10/src/f-spot.exe.config.in
*** f-spot-0.0.10-orig/src/f-spot.exe.config.in 2005-02-27 18:03:02.000000000 +0100
--- f-spot-0.0.10/src/f-spot.exe.config.in 2005-03-11 12:48:03.000000000 +0100
***************
*** 9,13 ****
<dllmap dll="libfspoteog" target="@prefix@/lib/f-spot/libfspoteog.so.0"/>
<dllmap dll="libfspotjpeg" target="@prefix@/lib/f-spot/libfspotjpg.so.0"/>
<dllmap dll="liblcms-1.0.0.dll" target="liblcms.so.1"/>
! <dllmap dll="libexif.dll" target="libexif.so.@EXIF_SOVERSION@"/>
</configuration>
--- 9,13 ----
<dllmap dll="libfspoteog" target="@prefix@/lib/f-spot/libfspoteog.so.0"/>
<dllmap dll="libfspotjpeg" target="@prefix@/lib/f-spot/libfspotjpg.so.0"/>
<dllmap dll="liblcms-1.0.0.dll" target="liblcms.so.1"/>
! <dllmap dll="libexif.dll" target="libexif.so"/>
</configuration>

View File

@@ -6,11 +6,11 @@ assert pkgconfig != null && gtk != null && libpng != null;
# !!! assert libpng == gtk.libpng;
stdenv.mkDerivation {
name = "gqview-1.4.4";
name = "gqview-2.0.0";
src = fetchurl {
url = http://heanet.dl.sourceforge.net/sourceforge/gqview/gqview-1.4.4.tar.gz;
md5 = "b3f1e1ca830c9cc0b484966fac9e6f28";
url = http://catamaran.labs.cs.uu.nl/dist/tarballs/gqview-2.0.0.tar.gz;
md5 = "421c9a79827e91e394bdfc924071d66f";
};
buildInputs = [pkgconfig gtk libpng];

View File

@@ -6,16 +6,23 @@ tar xvfz $src
mkdir $out
echo "unpacking reader..."
tar xvf ./COMMON.TAR -C $out
tar xvf ./LINUXRDR.TAR -C $out
tar xvf AdobeReader/COMMON.TAR -C $out
tar xvf AdobeReader/ILINXR.TAR -C $out
# Disable this plugin for now (it needs LDAP, and I'm too lazy to add it).
rm $out/Reader/intellinux/plug_ins/PPKLite.api
glibc=$(cat $NIX_GCC/nix-support/orig-glibc)
patchelf --interpreter $glibc/lib/ld-linux.so.* $out/Reader/intellinux/bin/acroread
sed "s^REPLACE_ME^$out/Reader^" $out/bin/acroread.sh > $out/bin/acroread.sh.tmp
echo "#! /bin/sh" > $out/bin/acroread.sh
echo "LD_LIBRARY_PATH=$libXt/lib:$libXp/lib:$libXext/lib:$libX11/lib" >> $out/bin/acroread.sh
cat $out/bin/acroread.sh.tmp >> $out/bin/acroread.sh
chmod 755 $out/bin/acroread.sh
mv $out/bin/acroread.sh $out/bin/acroread
fullPath=
for i in $libPath; do
fullPath=$fullPath${fullPath:+:}$i/lib
done
echo "#! $SHELL" > $out/bin/acroread.tmp
echo "LD_LIBRARY_PATH=$fullPath\${LD_LIBRARY_PATH:+:}\$LD_LIBRARY_PATH" >> $out/bin/acroread.tmp
cat $out/bin/acroread >> $out/bin/acroread.tmp
chmod 755 $out/bin/acroread.tmp
mv $out/bin/acroread.tmp $out/bin/acroread

View File

@@ -1,12 +1,12 @@
{stdenv, fetchurl, patchelf, libXt, libXp, libXext, libX11}:
{stdenv, fetchurl, libXt, libXp, libXext, libX11, glib, pango, atk, gtk, libstdcpp5, zlib}:
stdenv.mkDerivation {
name = "acrobat-reader-5.0.9";
name = "acrobat-reader-7.0";
builder = ./builder.sh;
src = fetchurl {
url = http://ardownload.adobe.com/pub/adobe/acrobatreader/unix/5.x/linux-509.tar.gz;
md5 = "53b7ca0fc83ab81214ba82050ce89c64";
url = ftp://ftp.adobe.com/pub/adobe/reader/unix/7x/7.0/enu/AdbeRdr70_linux_enu.tar.gz;
md5 = "f847ce21e5d871837f2dc1d2f1baf9a9";
};
buildInputs = [patchelf];
inherit libXt libXp libXext libX11;
libPath = [libXt libXp libXext libX11 glib pango atk gtk libstdcpp5 zlib];
}

View File

@@ -4,7 +4,7 @@ stdenv.mkDerivation {
name = "hello-2.1.1";
builder = ./builder.sh;
src = fetchurl {
url = ftp://ftp.nluug.nl/pub/gnu/hello/hello-2.1.1.tar.gz;
url = http://catamaran.labs.cs.uu.nl/dist/tarballs/hello-2.1.1.tar.gz;
md5 = "70c9ccf9fac07f762c24f2df2290784d";
};
inherit perl;

View File

@@ -3,7 +3,7 @@
stdenv.mkDerivation {
name = "hello-2.1.1";
src = fetchurl {
url = ftp://ftp.nluug.nl/pub/gnu/hello/hello-2.1.1.tar.gz;
url = http://catamaran.labs.cs.uu.nl/dist/tarballs/hello-2.1.1.tar.gz;
md5 = "70c9ccf9fac07f762c24f2df2290784d";
};
buildInputs = [perl];

View File

@@ -3,7 +3,7 @@
stdenv.mkDerivation {
name = "xchm-0.9.1";
src = fetchurl {
url = http://belnet.dl.sourceforge.net/sourceforge/xchm/xchm-0.9.1.tar.gz;
url = http://catamaran.labs.cs.uu.nl/dist/tarballs/xchm-0.9.1.tar.gz;
md5 = "5ba671e09e4c3ac46ffb5ce9d2c985eb";
};
buildInputs = [wxGTK chmlib];

View File

@@ -1,27 +1,7 @@
. $stdenv/setup
. $makeWrapper
shopt -s nullglob
mkdir -p $out/bin
pluginPath=
extraLibPath=
for i in $plugins; do
for p in $i/lib/mozilla/plugins $i/jre/plugin/*/mozilla; do
if test -e $p; then
pluginPath=$pluginPath${pluginPath:+:}$p
if test -e $p/extra-library-path; then
extraLibPath=$extraLibPath${extraLibPath:+:}$(cat $p/extra-library-path)
fi
fi
done
done
cat > $out/bin/firefox <<EOF
#! $SHELL
export LD_LIBRARY_PATH=$extraLibPath
export MOZ_PLUGIN_PATH=$pluginPath
exec $firefox/bin/firefox "\$@"
EOF
chmod +x $out/bin/firefox
makeWrapper "$firefox/bin/firefox" "$out/bin/firefox" \
--suffix-each MOZ_PLUGIN_PATH ':' "$plugins" \
--suffix-contents LD_LIBRARY_PATH ':' "$(filterExisting $(addSuffix /extra-library-path $plugins))" \
--suffix-contents PATH ':' "$(filterExisting $(addSuffix /extra-bin-path $plugins))"

View File

@@ -4,6 +4,11 @@ stdenv.mkDerivation {
name = firefox.name;
builder = ./builder.sh;
makeWrapper = ../../../../build-support/make-wrapper/make-wrapper.sh;
inherit firefox plugins;
inherit firefox;
# Let each plugin tell us (through its `mozillaPlugin') attribute
# where to find the plugin in its tree.
plugins = map (x: x ~ x.mozillaPlugin) plugins;
}

View File

@@ -3,12 +3,12 @@
# !!! assert libIDL.glib == gtk.glib;
(stdenv.mkDerivation {
name = "firefox-1.0";
name = "firefox-1.0.2";
builder = ./builder.sh;
src = fetchurl {
url = ftp://ftp.eunet.ie/mirrors/ftp.mozilla.org/firefox/releases/1.0/source/firefox-1.0-source.tar.bz2;
md5 = "49c16a71f4de014ea471be81e46b1da8";
url = http://catamaran.labs.cs.uu.nl/dist/tarballs/firefox-1.0.2-source.tar.bz2;
md5 = "fd1a0dec3e763e93eb45c0c34b399712";
};
buildInputs = [pkgconfig gtk perl zip libIDL libXi];

View File

@@ -8,7 +8,7 @@ stdenv.mkDerivation {
name = "lynx-2.8.5";
builder = ./builder.sh;
src = fetchurl {
url = http://lynx.isc.org/release/lynx2.8.5.tar.bz2;
url = http://catamaran.labs.cs.uu.nl/dist/tarballs/lynx2.8.5.tar.bz2;
md5 = "d1e5134e5d175f913c16cb6768bc30eb";
};
inherit ncurses;

View File

@@ -1,13 +1,13 @@
{stdenv, fetchurl, zlib, libXmu}:
stdenv.mkDerivation {
(stdenv.mkDerivation {
name = "flashplayer-7.0r25";
builder = ./builder.sh;
src = fetchurl {
url = http://fpdownload.macromedia.com/get/shockwave/flash/english/linux/7.0r25/install_flash_player_7_linux.tar.gz;
url = http://catamaran.labs.cs.uu.nl/dist/tarballs/install_flash_player_7_linux.tar.gz;
md5 = "79c59a5ea29347e01c8e6575dd054cd1";
};
inherit zlib libXmu;
}
}) // {mozillaPlugin = "/lib/mozilla/plugins";}

View File

@@ -4,16 +4,16 @@
# are the include files so that we can access the plugin API (I
# think).
stdenv.mkDerivation {
name = "mplayerplug-in-2.70";
(stdenv.mkDerivation {
name = "mplayerplug-in-2.80";
builder = ./builder.sh;
src = fetchurl {
url = http://heanet.dl.sourceforge.net/sourceforge/mplayerplug-in/mplayerplug-in-2.70.tar.gz;
md5 = "90784c7ccb40037b446053f0c1d1c2b4";
url = http://catamaran.labs.cs.uu.nl/dist/tarballs/mplayerplug-in-2.80.tar.gz;
md5 = "ce3235ff7d46fae416cfb175193a5f25";
};
buildInputs = [pkgconfig firefox (firefox.gtk) libXpm];
inherit firefox;
}
}) // {mozillaPlugin = "/lib/mozilla/plugins";}

View File

@@ -1,14 +1,14 @@
buildInputs="$gtk $gdkpixbuf $openssl"
. $stdenv/setup
if test $sslSupport; then
configureFlags="--enable-ssl $extraflags"
if test "$sslSupport" = 1; then
configureFlags="--enable-ssl $configureFlags"
fi
if test $imageSupport; then
configureFlags="--enable-gdk-pixbuf $extraflags"
if test "$imageSupport" = 1; then
configureFlags="--enable-gdk-pixbuf $configureFlags"
else
configureFlags="--disable-gdk-pixbuf --disable-imlibtest $extraflags"
configureFlags="--disable-gdk-pixbuf --disable-imlibtest $configureFlags"
fi
genericBuild

View File

@@ -8,12 +8,12 @@ assert sslSupport -> openssl != null;
assert imageSupport -> gdkpixbuf != null;
stdenv.mkDerivation {
name = "sylpheed-0.9.12";
name = "sylpheed-1.0.0";
builder = ./builder.sh;
src = fetchurl {
url = http://sylpheed.good-day.net/sylpheed/sylpheed-0.9.12.tar.bz2;
md5 = "5deab7d65f8e19444902be3d82610e6b";
url = http://catamaran.labs.cs.uu.nl/dist/tarballs/sylpheed-1.0.0.tar.bz2;
md5 = "864c4fc581a5ab1c7af5e06153c76769";
};
inherit sslSupport imageSupport;

View File

@@ -10,7 +10,7 @@ stdenv.mkDerivation {
builder = ./builder.sh;
src = fetchurl {
url = http://www.artfiles.org/mozilla.org/thunderbird/releases/0.8/thunderbird-source-0.8.tar.bz2;
url = http://catamaran.labs.cs.uu.nl/dist/tarballs/thunderbird-source-0.8.tar.bz2;
md5 = "76de1827d66ac482cfc4dd32e7b1e257";
};

View File

@@ -12,7 +12,7 @@ stdenv.mkDerivation {
name = "pan-0.14.2.91";
src = fetchurl {
url = http://pan.rebelbase.com/download/releases/0.14.2.91/SOURCE/pan-0.14.2.91.tar.bz2;
url = http://catamaran.labs.cs.uu.nl/dist/tarballs/pan-0.14.2.91.tar.bz2;
md5 = "4770d899a1c1ba968ce96bc5aeb07b62";
};

View File

@@ -0,0 +1,10 @@
{stdenv, fetchurl}:
stdenv.mkDerivation {
name = "rcs-5.7";
# builder = ./builder.sh;
src = fetchurl {
url = http://catamaran.labs.cs.uu.nl/dist/tarballs/rcs-5.7.tar;
md5 = "f7b3f106bf87ff6344df38490f6a02c5";
};
}

View File

@@ -1,35 +0,0 @@
buildInputs="$openssl $db4 $httpd $swig $python $expat"
. $stdenv/setup
configureFlags="--without-gdbm --disable-static"
if test "$localServer"; then
configureFlags="--with-berkeley-db=$db4 $configureFlags"
fi
if test "$sslSupport"; then
configureFlags="--with-ssl --with-libs=$openssl $configureFlags"
fi
if test "$httpServer"; then
configureFlags="--with-apxs=$httpd/bin/apxs --with-apr=$httpd --with-apr-util=$httpd $configureFlags"
makeFlags="APACHE_LIBEXECDIR=$out/modules $makeFlags"
fi
if test "$swigBindings"; then
configureFlags="--with-swig=$swig $configureFlags"
fi
installFlags="$makeFlags"
postInstall() {
if test "$swigBindings"; then
make swig-py
make install-swig-py
fi
}
postInstall=postInstall
genericBuild

View File

@@ -1,31 +0,0 @@
{ localServer ? false
, httpServer ? false
, sslSupport ? false
, swigBindings ? false
, stdenv, fetchurl
, openssl ? null, httpd ? null, db4 ? null, expat, swig ? null
}:
assert expat != null;
assert localServer -> db4 != null;
assert httpServer -> httpd != null && httpd.expat == expat;
assert sslSupport -> openssl != null && (httpServer -> httpd.openssl == openssl);
assert swigBindings -> swig != null && swig.pythonSupport;
stdenv.mkDerivation {
name = "subversion-1.0.9";
builder = ./builder.sh;
src = fetchurl {
url = http://subversion.tigris.org/tarballs/subversion-1.0.9.tar.bz2;
md5 = "d6b4c240f5e2a589a694e64e4ad27feb";
};
openssl = if sslSupport then openssl else null;
httpd = if httpServer then httpd else null;
db4 = if localServer then db4 else null;
swig = if swigBindings then swig else null;
python = if swigBindings then swig.python else null;
inherit expat localServer httpServer sslSupport swigBindings;
}

View File

@@ -1,4 +1,4 @@
buildInputs="$openssl $db4 $httpd $swig $python $j2sdk $expat $patch"
buildInputs="$openssl $zlib $db4 $httpd $swig $python $j2sdk $expat $patch"
. $stdenv/setup
configureFlags="--without-gdbm --disable-static"

View File

@@ -1,11 +1,12 @@
{ localServer ? false
, httpServer ? false
, sslSupport ? false
, compressionSupport ? false
, pythonBindings ? false
, javaSwigBindings ? false
, javahlBindings ? false
, stdenv, fetchurl
, openssl ? null, httpd ? null, db4 ? null, expat, swig ? null, j2sdk ? null
, openssl ? null, httpd ? null, db4 ? null, expat, swig ? null, j2sdk ? null, zlib ? null
}:
assert expat != null;
@@ -15,14 +16,15 @@ assert sslSupport -> openssl != null && (httpServer -> httpd.openssl == openssl)
assert pythonBindings -> swig != null && swig.pythonSupport;
assert javaSwigBindings -> swig != null && swig.javaSupport;
assert javahlBindings -> j2sdk != null;
assert compressionSupport -> zlib != null;
stdenv.mkDerivation {
name = "subversion-1.1.1";
name = "subversion-1.1.4";
builder = ./builder.sh;
src = fetchurl {
url = http://subversion.tigris.org/tarballs/subversion-1.1.1.tar.bz2;
md5 = "a180c3fe91680389c210c99def54d9e0";
url = http://catamaran.labs.cs.uu.nl/dist/tarballs/subversion-1.1.4.tar.bz2;
md5 = "6e557ae65b6b8d7577cc7704ede85a23";
};
# This is a hopefully temporary fix for the problem that
@@ -31,6 +33,7 @@ stdenv.mkDerivation {
patches = if javahlBindings then [./javahl.patch] else [];
openssl = if sslSupport then openssl else null;
zlib = if compressionSupport then zlib else null;
httpd = if httpServer then httpd else null;
db4 = if localServer then db4 else null;
swig = if pythonBindings || javaSwigBindings then swig else null;

View File

@@ -1,5 +1,8 @@
. $stdenv/setup
# !!! Remove eventually.
export _POSIX2_VERSION=199209
postUnpack() {
unpackFile $fonts
}

View File

@@ -1,20 +1,21 @@
{ alsaSupport ? false, xvSupport ? true
, stdenv, fetchurl, x11, libXv, freetype, zlib, alsa ? null}:
{ alsaSupport ? false, xvSupport ? true, theoraSupport ? false
, stdenv, fetchurl, x11, freetype, zlib
, alsa ? null, libXv ? null, libtheora ? null}:
assert x11 != null && freetype != null;
assert alsaSupport -> alsa != null;
assert xvSupport -> libXv != null;
assert theoraSupport -> libtheora != null;
stdenv.mkDerivation {
name = "MPlayer-1.0pre4";
name = "MPlayer-1.0pre6";
builder = ./builder.sh;
src = fetchurl {
url = http://www2.mplayerhq.hu/MPlayer/releases/MPlayer-1.0pre4.tar.bz2;
md5 = "83ebac0f05b192516a41fca2350ca01a";
url = http://catamaran.labs.cs.uu.nl/dist/tarballs/MPlayer-1.0pre6a.tar.bz2;
md5 = "a812d945b884c2e2fa7f90c57cd76bff";
};
fonts = fetchurl {
url = http://www2.mplayerhq.hu/MPlayer/releases/fonts/font-arial-iso-8859-1.tar.bz2;
url = http://catamaran.labs.cs.uu.nl/dist/tarballs/font-arial-iso-8859-1.tar.bz2;
md5 = "1ecd31d17b51f16332b1fcc7da36b312";
};
@@ -26,5 +27,6 @@ stdenv.mkDerivation {
x11 libXv freetype zlib
(if alsaSupport then alsa else null)
(if xvSupport then libXv else null)
(if theoraSupport then libtheora else null)
];
}

View File

@@ -1,8 +1,8 @@
{stdenv, fetchurl}: stdenv.mkDerivation {
name = "MPlayer-codecs-essential-20040427";
name = "MPlayer-codecs-essential-20050115";
builder = ./builder.sh;
src = fetchurl {
url = http://www2.mplayerhq.hu/MPlayer/releases/codecs/essential-20040427.tar.bz2;
md5 = "4ffc1682448aa870aec9d8efc1321a09";
url = http://catamaran.labs.cs.uu.nl/dist/tarballs/essential-20050115.tar.bz2;
md5 = "b627e5710c6f2bf38fc2a6ef81c13be8";
};
}

View File

@@ -0,0 +1,21 @@
. $stdenv/setup
. $makeWrapper
ensureDir $out/real
skip=143209
(dd bs=1 count=$skip of=/dev/null && dd) < $src | (cd $out/real && tar xvfj -)
rm -rf $out/real/Bin $out/real/postinst
glibc=$(cat $NIX_GCC/nix-support/orig-glibc)
patchelf --interpreter $glibc/lib/ld-linux.so.* $out/real/realplay.bin
ensureDir $out/bin
makeWrapper "$out/real/realplay.bin" "$out/bin/realplay" \
--set HELIX_LIBS "$out/real" \
--suffix-each LD_LIBRARY_PATH ':' "$(addSuffix /lib $libPath)"
echo "$libstdcpp5/lib" > $out/real/mozilla/extra-library-path
echo "$out/bin" > $out/real/mozilla/extra-bin-path

View File

@@ -0,0 +1,21 @@
{stdenv, fetchurl, libstdcpp5, glib, pango, atk, gtk, libX11}:
# Note that RealPlayer 10 need libstdc++.so.5, i.e., GCC 3.3, not 3.4.
assert stdenv.system == "i686-linux";
(stdenv.mkDerivation {
name = "RealPlayer-10.0.3.748-GOLD";
builder = ./builder.sh;
src = fetchurl {
url = http://software-dl.real.com/12ae5c4cc79d437fa106/unix/RealPlayer10GOLD.bin;
md5 = "70a88bcae0ab3e177e6fadecd6b8be24";
};
makeWrapper = ../../../build-support/make-wrapper/make-wrapper.sh;
inherit libstdcpp5;
libPath = [libstdcpp5 glib pango atk gtk libX11];
}) // {mozillaPlugin = "/real/mozilla";}

View File

@@ -0,0 +1,20 @@
. $stdenv/setup
buildPhase=myBuilder
myBuilder() {
qmake mythtv.pro || fail
make || fail
}
postInstall=postInstall
postInstall() {
sqlDir="$out/share/mythtv/sql"
ensureDir $sqlDir
cp -p ./database/mc.sql $sqlDir/
cp -p ./setup/setup $out/bin/mythsetup
}
genericBuild

View File

@@ -0,0 +1,18 @@
{stdenv, fetchurl, which, qt3, x11, libXinerama, libXv, libXxf86vm, lame}:
assert qt3.mysqlSupport;
stdenv.mkDerivation {
name = "mythtv-0.17";
builder = ./builder.sh;
src = fetchurl {
url = http://catamaran.labs.cs.uu.nl/dist/tarballs/mythtv-0.17.tar.bz2;
md5 = "c996dc690d36e946396fc5cd4b715e3b";
};
patches = [./settings.patch];
buildInputs = [which qt3 x11 libXinerama libXv libXxf86vm lame];
inherit qt3;
}

View File

@@ -0,0 +1,13 @@
diff -rc mythtv-0.17-orig/settings.pro mythtv-0.17/settings.pro
*** mythtv-0.17-orig/settings.pro 2005-02-11 05:02:39.000000000 +0100
--- mythtv-0.17/settings.pro 2005-02-16 13:38:46.351279092 +0100
***************
*** 1,6 ****
--- 1,7 ----
#CONFIG += debug
CONFIG += release
+ PREFIX = $$(out)
isEmpty( PREFIX ) {
PREFIX = /usr/local
}

View File

@@ -9,7 +9,7 @@ stdenv.mkDerivation {
name = "vlc-0.7.2";
src = fetchurl {
url = http://download.videolan.org/pub/videolan/vlc/0.7.2/vlc-0.7.2.tar.gz;
url = http://catamaran.labs.cs.uu.nl/dist/tarballs/vlc-0.7.2.tar.gz;
md5 = "25dfcc804cb92f46c0b64ce1466515cc";
};

View File

@@ -0,0 +1,11 @@
{stdenv, fetchurl, x11, xineLib, libpng}:
stdenv.mkDerivation {
name = "xine-ui-0.99.3";
src = fetchurl {
url = http://catamaran.labs.cs.uu.nl/dist/tarballs/xine-ui-0.99.3.tar.gz;
md5 = "aa7805a93e511e3d67dc1bf09a71fcdd";
};
buildInputs = [x11 xineLib libpng];
configureFlags = "--without-readline";
}

View File

@@ -1,7 +1,5 @@
. $stdenv/setup
export PERL5LIB=$perlXMLParser/lib/site_perl:$PERL5LIB
# !!! hack
NIX_LDFLAGS="$NIX_LDFLAGS -rpath $libXext/lib"

View File

@@ -25,14 +25,14 @@ stdenv.mkDerivation {
builder = ./builder.sh;
src = fetchurl {
url = http://heanet.dl.sourceforge.net/sourceforge/zapping/zapping-0.7.tar.bz2;
url = http://catamaran.labs.cs.uu.nl/dist/tarballs/zapping-0.7.tar.bz2;
md5 = "dd7b3d920509709692c41c9c6c767746";
};
inherit teletextSupport jpegSupport pngSupport libXext perlXMLParser;
inherit teletextSupport jpegSupport pngSupport libXext;
buildInputs = [
pkgconfig perl python x11 libXv libXmu libgnomeui
pkgconfig perl perlXMLParser python x11 libXv libXmu libgnomeui
libglade scrollkeeper esound gettext
(if teletextSupport then zvbi else null)
(if jpegSupport then libjpeg else null)

View File

@@ -2,7 +2,7 @@
header "exporting $url (r$rev) into $out"
prefetch=$(dirname $out)/svn-checkout-tmp-$md5
prefetch=$(dirname $out)/svn-checkout-tmp-$outputHash
echo $prefetch
if test -e "$prefetch"; then
mv $prefetch $out
@@ -11,8 +11,8 @@ else
fi
actual=$(nix-hash $out)
if test "$actual" != "$md5"; then
echo "hash is $actual, expected $md5" >&2
if test "$actual" != "$outputHash"; then
echo "hash is $actual, expected $outputHash" >&2
exit 1
fi

View File

@@ -4,6 +4,13 @@ stdenv.mkDerivation {
name = "svn-export";
builder = ./builder.sh;
buildInputs = [subversion nix];
# Nix <= 0.7 compatibility.
id = md5;
inherit url rev md5;
outputHashAlgo = "md5";
outputHashMode = "recursive";
outputHash = md5;
inherit url rev;
}

View File

@@ -2,6 +2,7 @@
url=$1
rev=$2
hash=$3
if test -z "$url"; then
echo "syntax: nix-prefetch-svn URL [REVISION]" >&2
@@ -10,27 +11,42 @@ fi
test -n "$rev" || rev="HEAD"
# !!! hacky; we should have a way to query the location of the store.
if storeDir=$(which nix-store); then
storeDir=$(dirname $(dirname "$storeDir"))/store
else
storeDir=/nix/store
# Determine the hash, unless it was given.
if test -z "$hash"; then
# !!! hacky; we should have a way to query the location of the store.
if storeDir=$(which nix-store); then
storeDir=$(dirname $(dirname "$storeDir"))/store
else
storeDir=/nix/store
fi
# !!! race? should be relatively safe, `svn export' barfs if $tmpPath exists.
tmpPath1=$storeDir/svn-checkout-tmp-$$
# Test whether we have write permission in the store. If not,
# fetch to /tmp and don't copy to the store. This is a hack to
# make this script at least work somewhat in setuid installations.
if ! touch $tmpPath1 2> /dev/null; then
echo "(cannot write to the store, result won't be cached)" >&2
dummyMode=1
tmpPath1=/tmp/nix-prefetch-svn-$$ # !!! security?
fi
# Perform the checkout.
svn export -r "$rev" "$url" $tmpPath1 >&2
# Compute the hash.
hash=$(nix-hash $tmpPath1)
echo "hash is $hash" >&2
# Rename it so that the fetchsvn builder can find it.
if test "$dummyMode" != 1; then
tmpPath2=$storeDir/svn-checkout-tmp-$hash
test -e $tmpPath2 || mv $tmpPath1 $tmpPath2 # !!! race
fi
fi
# !!! race? should be relatively safe, `svn export' barfs if $tmpPath exists.
tmpPath1=$storeDir/svn-checkout-tmp-$$
# Perform the checkout.
svn export -r "$rev" "$url" $tmpPath1 >&2
# Compute the hash.
hash=$(nix-hash $tmpPath1)
echo "hash is $hash" >&2
# Rename it so that the fetchsvn builder can find it.
tmpPath2=$storeDir/svn-checkout-tmp-$hash
test -e $tmpPath2 || mv $tmpPath1 $tmpPath2 # !!! race
# Create a Nix expression that does a fetchsvn.
nixExpr=$(dirname $(readlink -f $0))/../../system/i686-linux.nix
storeExpr=$( \
@@ -38,10 +54,16 @@ storeExpr=$( \
| nix-instantiate -)
# Realise it.
finalPath=$(nix-store -qnB --force-realise $storeExpr)
finalPath=$(nix-store -r $storeExpr)
echo "path is $finalPath" >&2
rm -rf $tmpPath2 || true
if test -n "$tmpPath1" -o -n "$tmpPath2"; then
rm -rf $tmpPath1 $tmpPath2 || true
fi
echo $hash
if test -n "$PRINT_PATH"; then
echo $finalPath
fi

View File

@@ -4,10 +4,16 @@ header "downloading $out from $url"
curl --fail --location --max-redirs 20 "$url" > "$out"
actual=$(md5sum -b "$out" | cut -c1-32)
if test "$actual" != "$md5"; then
echo "hash is $actual, expected $md5"
exit 1
if test "$NIX_OUTPUT_CHECKED" != "1"; then
if test "$outputHashAlgo" != "md5"; then
echo "hashes other than md5 are unsupported in Nix <= 0.7, upgrade to Nix 0.8"
exit 1
fi
actual=$(md5sum -b "$out" | cut -c1-32)
if test "$actual" != "$id"; then
echo "hash is $actual, expected $id"
exit 1
fi
fi
stopNest

View File

@@ -1,11 +1,26 @@
{stdenv, curl}: {url, md5}:
# Argh, this thing is duplicated (more-or-less) in Nix (in corepkgs).
# Need to find a way to combine them.
# Note that `curl' may be `null', in case of the native stdenv.
{stdenv, curl}: # Note that `curl' may be `null', in case of the native stdenv.
{url, outputHash ? "", outputHashAlgo ? "", md5 ? "", sha1 ? "", sha256 ? ""}:
assert (outputHash != "" && outputHashAlgo != "")
|| md5 != "" || sha1 != "" || sha256 != "";
stdenv.mkDerivation {
name = baseNameOf (toString url);
builder = ./builder.sh;
buildInputs = [curl];
# Compatibility with Nix <= 0.7.
id = md5;
inherit url md5;
# New-style output content requirements.
outputHashAlgo = if outputHashAlgo != "" then outputHashAlgo else
if sha256 != "" then "sha256" else if sha1 != "" then "sha1" else "md5";
outputHash = if outputHash != "" then outputHash else
if sha256 != "" then sha256 else if sha1 != "" then sha1 else md5;
inherit url;
}

View File

@@ -0,0 +1,5 @@
export NIX_CFLAGS_COMPILE="@cflagsCompile@ $NIX_CFLAGS_COMPILE"
export NIX_CFLAGS_LINK="@cflagsLink@ $NIX_CFLAGS_LINK"
export NIX_LDFLAGS="@ldflags@ $NIX_LDFLAGS"
export NIX_LDFLAGS_BEFORE="@ldflagsBefore@ $NIX_LDFLAGS_BEFORE"
export NIX_GLIBC_FLAGS_SET=1

View File

@@ -1,4 +1,5 @@
. $stdenv/setup
. $substitute
# Force gcc to use ld-wrapper.sh when calling ld.
@@ -9,8 +10,12 @@ if test -z "$nativeGlibc"; then
# against the crt1.o from our own glibc, rather than the one in
# /usr/lib. The real solution is of course to prevent those paths
# from being used by gcc in the first place.
# The dynamic linker is passed in `ldflagsBefore' to allow
# explicit overrides of the dynamic linker by callers to gcc/ld
# (the *last* value counts, so ours should come first).
cflagsCompile="$cflagsCompile -B$glibc/lib -isystem $glibc/include"
ldflags="$ldflags -L$glibc/lib -dynamic-linker $glibc/lib/ld-linux.so.2"
ldflags="$ldflags -L$glibc/lib"
ldflagsBefore="-dynamic-linker $glibc/lib/ld-linux.so.2"
fi
if test -n "$nativeTools"; then
@@ -25,9 +30,30 @@ fi
mkdir $out
mkdir $out/bin
mkdir $out/nix-support
mkGccWrapper () {
doSubstitute() {
local src=$1
local dst=$2
substitute "$src" "$dst" \
--subst-var "out" \
--subst-var "shell" \
--subst-var "gcc" \
--subst-var "gccProg" \
--subst-var "binutils" \
--subst-var "glibc" \
--subst-var "cflagsCompile" \
--subst-var "cflagsLink" \
--subst-var "ldflags" \
--subst-var "ldflagsBefore" \
--subst-var-by "ld" "$ldPath/ld"
}
# Make wrapper scripts around gcc, g++, and g77. Also make symlinks
# cc, c++, and f77.
mkGccWrapper() {
local dst=$1
local src=$2
@@ -36,12 +62,9 @@ mkGccWrapper () {
return
fi
sed \
-e "s^@gcc@^$src^g" \
-e "s^@out@^$out^g" \
-e "s^@shell@^$shell^g" \
< $gccWrapper > $dst
chmod +x $dst
gccProg="$src"
doSubstitute "$gccWrapper" "$dst"
chmod +x "$dst"
}
mkGccWrapper $out/bin/gcc $gccPath/gcc
@@ -54,30 +77,18 @@ mkGccWrapper $out/bin/g77 $gccPath/g77
ln -s g77 $out/bin/f77
sed \
-e "s^@out@^$out^g" \
-e "s^@ldflags@^$ldflags^g" \
-e "s^@ld@^$ldPath/ld^g" \
-e "s^@shell@^$shell^g" \
< $ldWrapper > $out/bin/ld
chmod +x $out/bin/ld
# Make a wrapper around the linker.
doSubstitute "$ldWrapper" "$out/bin/ld"
chmod +x "$out/bin/ld"
mkdir $out/nix-support
# Emit a setup hook. Also store the path to the original GCC and
# Glibc.
test -n "$gcc" && echo $gcc > $out/nix-support/orig-gcc
test -n "$glibc" && echo $glibc > $out/nix-support/orig-glibc
cat > $out/nix-support/add-flags <<EOF
export NIX_CFLAGS_COMPILE="$cflagsCompile \$NIX_CFLAGS_COMPILE"
export NIX_CFLAGS_LINK="$cflagsLink \$NIX_CFLAGS_LINK"
export NIX_LDFLAGS="$ldflags \$NIX_LDFLAGS"
export NIX_GLIBC_FLAGS_SET=1
EOF
doSubstitute "$addFlags" "$out/nix-support/add-flags"
sed \
-e "s^@gcc@^$gcc^g" \
-e "s^@binutils@^$binutils^g" \
-e "s^@glibc@^$glibc^g" \
< $setupHook > $out/nix-support/setup-hook
doSubstitute "$setupHook" "$out/nix-support/setup-hook"
cp -p $utils $out/nix-support/utils

View File

@@ -15,10 +15,12 @@ assert !nativeGlibc -> glibc != null;
stdenv.mkDerivation {
builder = ./builder.sh;
substitute = ../substitute/substitute.sh;
setupHook = ./setup-hook.sh;
gccWrapper = ./gcc-wrapper.sh;
ldWrapper = ./ld-wrapper.sh;
utils = ./utils.sh;
addFlags = ./add-flags;
inherit nativeTools nativeGlibc nativePrefix gcc glibc binutils;
name = if name == "" then gcc.name else name;
langC = if nativeTools then true else gcc.langC;

View File

@@ -63,35 +63,43 @@ fi
# Add the flags for the C compiler proper.
extra=($NIX_CFLAGS_COMPILE)
extraAfter=($NIX_CFLAGS_COMPILE)
extraBefore=()
if test "$dontLink" != "1"; then
# Add the flags that should only be passed to the compiler when
# linking.
extra=(${extra[@]} $NIX_CFLAGS_LINK)
extraAfter=(${extraAfter[@]} $NIX_CFLAGS_LINK)
# Add the flags that should be passed to the linker (and prevent
# `ld-wrapper' from adding NIX_LDFLAGS again).
for i in $NIX_LDFLAGS_BEFORE; do
extraBefore=(${extraBefore[@]} "-Wl,$i")
done
for i in $NIX_LDFLAGS; do
extra=(${extra[@]} "-Wl,$i")
extraAfter=(${extraAfter[@]} "-Wl,$i")
done
export NIX_LDFLAGS_SET=1
if test "$NIX_STRIP_DEBUG" = "1"; then
# Add executable-stripping flags.
extra=(${extra[@]} $NIX_CFLAGS_STRIP)
extraAfter=(${extraAfter[@]} $NIX_CFLAGS_STRIP)
fi
fi
# Optionally print debug info.
if test "$NIX_DEBUG" = "1"; then
echo "original flags to @gcc@:" >&2
echo "original flags to @gccProg@:" >&2
for i in "${params[@]}"; do
echo " $i" >&2
done
echo "extra flags to @gcc@:" >&2
for i in ${extra[@]}; do
echo "extraBefore flags to @gccProg@:" >&2
for i in ${extraBefore[@]}; do
echo " $i" >&2
done
echo "extraAfter flags to @gccProg@:" >&2
for i in ${extraAfter[@]}; do
echo " $i" >&2
done
fi
@@ -100,4 +108,4 @@ if test -n "$NIX_GCC_WRAPPER_EXEC_HOOK"; then
. "$NIX_GCC_WRAPPER_EXEC_HOOK"
fi
exec @gcc@ "${params[@]}" ${extra[@]}
exec @gccProg@ ${extraBefore[@]} "${params[@]}" ${extraAfter[@]}

View File

@@ -42,9 +42,11 @@ fi
extra=()
extraBefore=()
if test -z "$NIX_LDFLAGS_SET"; then
extra=(${extra[@]} $NIX_LDFLAGS)
extraBefore=(${extraBefore[@]} $NIX_LDFLAGS_BEFORE)
fi
@@ -121,7 +123,6 @@ if test "$NIX_DONT_SET_RPATH" != "1"; then
for i in $rpath; do
extra=(${extra[@]} -rpath $i)
done
fi
@@ -141,4 +142,4 @@ if test -n "$NIX_LD_WRAPPER_EXEC_HOOK"; then
. "$NIX_LD_WRAPPER_EXEC_HOOK"
fi
exec @ld@ "${params[@]}" ${extra[@]}
exec @ld@ ${extraBefore[@]} "${params[@]}" ${extra[@]}

View File

@@ -0,0 +1,74 @@
makeWrapper() {
original=$1
wrapper=$2
ensureDir "$(dirname $wrapper)"
echo "#! $SHELL -e" > $wrapper
params=("$@")
for ((n = 2; n < ${#params[*]}; n += 1)); do
p=${params[$n]}
if test "$p" = "--set"; then
varName=${params[$((n + 1))]}
value=${params[$((n + 2))]}
n=$((n + 2))
echo "export $varName=$value" >> $wrapper
fi
if test "$p" = "--suffix" -o "$p" = "--prefix"; then
varName=${params[$((n + 1))]}
separator=${params[$((n + 2))]}
value=${params[$((n + 3))]}
n=$((n + 3))
if test -n "$value"; then
if test "$p" = "--suffix"; then
echo "export $varName=\$$varName\${$varName:+$separator}$value" >> $wrapper
else
echo "export $varName=$value\${$varName:+$separator}\$$varName" >> $wrapper
fi
fi
fi
if test "$p" = "--suffix-each"; then
varName=${params[$((n + 1))]}
separator=${params[$((n + 2))]}
values=${params[$((n + 3))]}
n=$((n + 3))
for value in $values; do
echo "export $varName=\$$varName\${$varName:+$separator}$value" >> $wrapper
done
fi
if test "$p" = "--suffix-contents"; then
varName=${params[$((n + 1))]}
separator=${params[$((n + 2))]}
fileNames=${params[$((n + 3))]}
n=$((n + 3))
for fileName in $fileNames; do
echo "export $varName=\$$varName\${$varName:+$separator}$(cat $fileName)" >> $wrapper
done
fi
done
echo "exec \"$original\" \"\$@\"" >> $wrapper
chmod +x $wrapper
}
addSuffix() {
suffix=$1
shift
for name in "$@"; do
echo "$name$suffix"
done
}
filterExisting() {
for fn in "$@"; do
if test -e "$fn"; then
echo "$fn"
fi
done
}

View File

@@ -0,0 +1,5 @@
. $stdenv/setup
. $substituter
substitute $dllFixer $out --subst-var-by perl $perl/bin/perl
chmod +x $out

View File

@@ -0,0 +1,9 @@
{stdenv, perl}:
stdenv.mkDerivation {
name = "mono-dll-fixer";
builder = ./builder.sh;
substituter = ../substitute/substitute.sh;
dllFixer = ./dll-fixer.pl;
inherit perl;
}

View File

@@ -0,0 +1,32 @@
#! @perl@ -w
use strict;
my @paths = split ' ', $ENV{"ALL_INPUTS"};
open IN, "<$ARGV[0]" or die;
open OUT, ">$ARGV[0].tmp" or die;
while (<IN>) {
# !!! should use a real XML library here.
if (!/<dllmap dll="(.*)" target="(.*)"\/>/) {
print OUT;
next;
}
my $dll = $1;
my $target = $2;
foreach my $path (@paths) {
my $fullPath = "$path/lib/$target";
if (-e "$fullPath") {
$target = $fullPath;
last;
}
}
print OUT " <dllmap dll=\"$dll\" target=\"$target\"/>\n";
}
close IN;
rename "$ARGV[0].tmp", "$ARGV[0]" or die "cannot rename $ARGV[0]";

View File

@@ -0,0 +1,46 @@
substitute() {
input=$1
output=$2
params=("$@")
sedArgs=()
for ((n = 2; n < ${#params[*]}; n += 1)); do
p=${params[$n]}
if test "$p" = "--replace"; then
pattern=${params[$((n + 1))]}
replacement=${params[$((n + 2))]}
n=$((n + 2))
sedArgs=("${sedArgs[@]}" "-e" "s^$pattern^$replacement^g")
fi
if test "$p" = "--subst-var"; then
varName=${params[$((n + 1))]}
n=$((n + 1))
sedArgs=("${sedArgs[@]}" "-e" "s^@${varName}@^${!varName}^g")
fi
if test "$p" = "--subst-var-by"; then
varName=${params[$((n + 1))]}
replacement=${params[$((n + 2))]}
n=$((n + 2))
sedArgs=("${sedArgs[@]}" "-e" "s^@${varName}@^$replacement^g")
fi
done
sed "${sedArgs[@]}" < "$input" > "$output".tmp
if test -x "$output"; then
chmod +x "$output".tmp
fi
mv -f "$output".tmp "$output"
}
substituteInPlace() {
fileName="$1"
shift
substitute "$fileName" "$fileName" "$@"
}

View File

@@ -6,7 +6,7 @@ stdenv.mkDerivation {
name = "docbook-xml-4.2";
builder = ./builder.sh;
src = fetchurl {
url = http://www.docbook.org/xml/4.2/docbook-xml-4.2.zip;
url = http://catamaran.labs.cs.uu.nl/dist/tarballs/docbook-xml-4.2.zip;
md5 = "73fe50dfe74ca631c1602f558ed8961f";
};
buildInputs = [unzip];

View File

@@ -6,7 +6,7 @@ stdenv.mkDerivation {
name = "docbook-xml-4.3";
builder = ./builder.sh;
src = fetchurl {
url = http://www.docbook.org/xml/4.3/docbook-xml-4.3.zip;
url = http://catamaran.labs.cs.uu.nl/dist/tarballs/docbook-xml-4.3.zip;
md5 = "ab200202b9e136a144db1e0864c45074";
};
buildInputs = [unzip];

View File

@@ -2,7 +2,6 @@
mkdir -p $out/xml/dtd/docbook-ebnf
cd $out/xml/dtd/docbook-ebnf
stripHash $dtd
cp -p $dtd $strippedName
cp -p $dtd dbebnf.dtd
stripHash $catalog
cp -p $catalog $strippedName

View File

@@ -6,7 +6,7 @@ stdenv.mkDerivation {
name = "docbook-xml-ebnf-1.2b1";
builder = ./builder.sh;
dtd = fetchurl {
url = http://www.docbook.org/xml/ebnf/1.2b1/dbebnf.dtd;
url = http://catamaran.labs.cs.uu.nl/dist/tarballs/dbebnf-1.2b1.dtd;
md5 = "e50f7d38caf4285965c7a247e026fa7c";
};
catalog = ./docbook-ebnf.cat;

View File

@@ -1,10 +1,10 @@
{stdenv, fetchurl}:
stdenv.mkDerivation {
name = "docbook-xsl-1.65.1";
name = "docbook-xsl-1.68.1";
builder = ./builder.sh;
src = fetchurl {
url = http://heanet.dl.sourceforge.net/sourceforge/docbook/docbook-xsl-1.65.1.tar.gz;
md5 = "2f7d446de5523ec34a19ccbe8caf387f";
url = http://catamaran.labs.cs.uu.nl/dist/tarballs/docbook-xsl-1.68.1.tar.bz2;
md5 = "f4985efbc0f3411af8106928f8752fc5";
};
}

View File

@@ -2,12 +2,12 @@
assert stdenv.system == "i686-linux";
stdenv.mkDerivation {
(stdenv.mkDerivation {
name = "blackdown-1.4.2";
dirname = "j2sdk1.4.2";
builder = ./builder.sh;
src = fetchurl {
url = ftp://ftp.nluug.nl/pub/os/Linux/java/jdk/JDK-1.4.2/i386/rc1/j2sdk-1.4.2-rc1-linux-i586-gcc3.2.bin;
url = http://catamaran.labs.cs.uu.nl/dist/tarballs/j2sdk-1.4.2-rc1-linux-i586-gcc3.2.bin;
md5 = "52ff3a059845ee8487faeaa7b0c157c8";
};
}
}) // {mozillaPlugin = "/jre/plugin/i386/mozilla";}

View File

@@ -8,7 +8,7 @@ stdenv.mkDerivation {
name = "gcc-2.95.3";
builder = ./builder.sh;
src = fetchurl {
url = ftp://ftp.gnu.org/pub/gnu/gcc/gcc-2.95.3.tar.gz;
url = http://catamaran.labs.cs.uu.nl/dist/tarballs/gcc-2.95.3.tar.gz;
md5 = "f3ad4f32c2296fad758ed051b5ac8e28";
};
# !!! apply only if noSysDirs is set

View File

@@ -8,7 +8,7 @@ stdenv.mkDerivation {
name = "gcc-3.3.3";
builder = ./builder.sh;
src = fetchurl {
url = ftp://ftp.nluug.nl/mirror/languages/gcc/releases/gcc-3.3.3/gcc-3.3.3.tar.bz2;
url = http://catamaran.labs.cs.uu.nl/dist/tarballs/gcc-3.3.3.tar.bz2;
md5 = "3c6cfd9fcd180481063b4058cf6faff2";
};
inherit noSysDirs langC langCC langF77;

View File

@@ -6,11 +6,11 @@
assert langC;
stdenv.mkDerivation {
name = "gcc-3.4.2";
name = "gcc-3.4.3";
builder = ./builder.sh;
src = fetchurl {
url = ftp://ftp.nluug.nl/mirror/languages/gcc/releases/gcc-3.4.2/gcc-3.4.2.tar.bz2;
md5 = "2fada3a3effd2fd791df09df1f1534b3";
url = http://catamaran.labs.cs.uu.nl/dist/tarballs/gcc-3.4.3.tar.bz2;
md5 = "e744b30c834360fccac41eb7269a3011";
};
# !!! apply only if noSysDirs is set
patches = [./no-sys-dirs.patch];

View File

@@ -4,7 +4,7 @@ stdenv.mkDerivation {
name = "gcc-static-3.4.2";
builder = ./builder.sh;
src = fetchurl {
url = ftp://ftp.nluug.nl/mirror/languages/gcc/releases/gcc-3.4.2/gcc-3.4.2.tar.bz2;
url = http://catamaran.labs.cs.uu.nl/dist/tarballs/gcc-3.4.2.tar.bz2;
md5 = "2fada3a3effd2fd791df09df1f1534b3";
};
# !!! apply only if noSysDirs is set

View File

@@ -7,7 +7,7 @@ assert stdenv.system == "i686-linux";
stdenv.mkDerivation {
name = "ghc-6.2.1";
src = fetchurl {
url = http://www.haskell.org/ghc/dist/6.2.1/ghc-6.2.1-i386-unknown-linux.tar.bz2;
url = http://catamaran.labs.cs.uu.nl/dist/tarballs/ghc-6.2.1-i386-unknown-linux.tar.bz2;
md5 = "48d9d6b9f7bf1f15d69e8bd732ee254c";
};
buildInputs = [perl];

View File

@@ -5,7 +5,7 @@ assert perl != null && ghc != null && m4 != null;
stdenv.mkDerivation {
name = "ghc-6.2.1";
src = fetchurl {
url = http://www.haskell.org/ghc/dist/6.2.1/ghc-6.2.1-src.tar.bz2;
url = http://catamaran.labs.cs.uu.nl/dist/tarballs/ghc-6.2.1-src.tar.bz2;
md5 = "fa9f90fd6b8852679c5fc16509e94d7a";
};
buildInputs = [perl ghc m4];

View File

@@ -0,0 +1,9 @@
. $stdenv/setup
set -e
mkdir -p $out
cd $out
tar zxvf $src
mv ./usr/local/* .
rm -rf ./usr

View File

@@ -0,0 +1,10 @@
{stdenv, fetchurl}:
stdenv.mkDerivation {
name = "binary-gwydion-dylan-2.4.0";
builder = ./binary-builder.sh;
src = fetchurl {
url = http://catamaran.labs.cs.uu.nl/dist/tarballs/gwydion-dylan-2.4.0-x86-linux.tar.gz;
md5 = "52643ad51a455d21fd4d5bf82d98914c";
};
}

View File

@@ -0,0 +1,8 @@
. $stdenv/setup
export DYLANDIR=$dylan
export DYLANPATH=$dylan/lib/dylan/2.4.0/x86-linux-gcc
configureFlags="--with-existing-runtime=$dylan/lib/dylan/2.4.0/x86-linux-gcc"
export LD_LIBRARY_PATH="$dylan/lib/dylan/2.4.0/x86-linux-gcc:$LD_LIBRARY_PATH:$boehmgc/lib"
genericBuild

View File

@@ -0,0 +1,13 @@
{stdenv, fetchurl, dylan, boehmgc, perl, flex, yacc, readline}:
stdenv.mkDerivation {
name = "gwydion-dylan-2.4.0";
builder = ./builder.sh;
src = fetchurl {
url = http://catamaran.labs.cs.uu.nl/dist/tarballs/gwydion-dylan-2.4.0.tar.gz;
md5 = "7ed180bf4ef11e8e8da3bd78b45477a8";
};
inherit boehmgc dylan perl;
buildInputs = [boehmgc dylan perl flex yacc readline];
}

View File

@@ -0,0 +1,12 @@
{stdenv, fetchurl, bison, pkgconfig, glib}:
stdenv.mkDerivation {
name = "mono-1.1.4";
src = fetchurl {
url = http://catamaran.labs.cs.uu.nl/dist/tarballs/mono-1.1.4.tar.gz;
md5 = "66755e5f201e912cecdd19807ba62487";
};
buildInputs = [bison pkgconfig glib];
propagatedBuildInputs = [glib];
}

View File

@@ -4,7 +4,7 @@ stdenv.mkDerivation {
name = "nasm-0.98.38";
builder = ./builder.sh;
src = fetchurl {
url = http://heanet.dl.sourceforge.net/sourceforge/nasm/nasm-0.98.38.tar.bz2;
url = http://catamaran.labs.cs.uu.nl/dist/tarballs/nasm-0.98.38.tar.bz2;
md5 = "9f682490c132b070d54e395cb6ee145e";
};
}

View File

@@ -4,7 +4,7 @@ stdenv.mkDerivation {
name = "ocaml-3.08.0";
builder = ./builder.sh;
src = fetchurl {
url = http://caml.inria.fr/distrib/ocaml-3.08/ocaml-3.08.0.tar.gz;
url = http://catamaran.labs.cs.uu.nl/dist/tarballs/ocaml-3.08.0.tar.gz;
md5 = "c6ef478362295c150101cdd2efcd38e0";
};
configureScript = ./configure;

View File

@@ -1,2 +1,2 @@
import ./strategoxt-0.11.nix
import ./strategoxt-0.13.nix

View File

@@ -0,0 +1,18 @@
{stdenv, fetchurl, aterm, sdf}:
stdenv.mkDerivation {
name = "strategoxt-0.12";
builder = ./builder.sh;
src = fetchurl {
url = ftp://ftp.stratego-language.org/pub/stratego/StrategoXT/strategoxt-0.12.tar.gz;
md5 = "bc2b14d9b53a07fc0047c16f2c6edf0c";
};
inherit aterm;
inherit (sdf) sglr pgen ptsupport asflibrary;
buildInputs = [aterm sdf.pgen];
}

View File

@@ -0,0 +1,18 @@
{stdenv, fetchurl, aterm, sdf}:
stdenv.mkDerivation {
name = "strategoxt-0.13";
builder = ./builder.sh;
src = fetchurl {
url = ftp://ftp.stratego-language.org/pub/stratego/StrategoXT/strategoxt-0.13/strategoxt-0.13.tar.gz;
md5 = "783bea5d5ebc0604e7ecf5bfb8f7f7b1";
};
inherit aterm;
inherit (sdf) sglr pgen ptsupport asflibrary;
buildInputs = [aterm sdf.pgen];
}

View File

@@ -4,7 +4,7 @@ stdenv.mkDerivation {
name = "clisp-2.33.2";
builder = ./builder.sh;
src = fetchurl {
url = http://belnet.dl.sourceforge.net/sourceforge/clisp/clisp-2.33.2.tar.bz2;
url = http://catamaran.labs.cs.uu.nl/dist/tarballs/clisp-2.33.2.tar.bz2;
md5 = "ee4ea316db1e843dcb16094bf500012f";
};

View File

@@ -0,0 +1,11 @@
{stdenv, fetchurl, ncurses, readline}:
stdenv.mkDerivation {
name = "guile-1.6.7";
src = fetchurl {
url = http://catamaran.labs.cs.uu.nl/dist/tarballs/guile-1.6.7.tar.gz;
md5 = "c2ff2a2231f0cbb2e838dd8701a587c5";
};
buildInputs = [ncurses readline];
}

Some files were not shown because too many files have changed in this diff Show More