mirror of the now-defunct rocklinux.org
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

65 lines
2.6 KiB

  1. # --- ROCK-COPYRIGHT-NOTE-BEGIN ---
  2. #
  3. # This copyright note is auto-generated by ./scripts/Create-CopyPatch.
  4. # Please add additional copyright information _after_ the line containing
  5. # the ROCK-COPYRIGHT-NOTE-END tag. Otherwise it might get removed by
  6. # the ./scripts/Create-CopyPatch script. Do not edit this copyright text!
  7. #
  8. # ROCK Linux: rock-src/package/gnome24/straw/install-hotfix.patch
  9. # ROCK Linux is Copyright (C) 1998 - 2004 Clifford Wolf
  10. #
  11. # This patch file is dual-licensed. It is available under the license the
  12. # patched project is licensed under, as long as it is an OpenSource license
  13. # as defined at http://www.opensource.org/ (e.g. BSD, X11) or under the terms
  14. # of the GNU General Public License as published by the Free Software
  15. # Foundation; either version 2 of the License, or (at your option) any later
  16. # version.
  17. #
  18. # --- ROCK-COPYRIGHT-NOTE-END ---
  19. diff -urN straw.orig/Makefile straw/Makefile
  20. --- straw.orig/Makefile 2003-11-25 11:22:22.000000000 +0100
  21. +++ straw/Makefile 2003-11-27 07:11:26.000000000 +0100
  22. @@ -1,4 +1,4 @@
  23. -PYTHON ?= python2.2
  24. +PYTHON ?= python2.3
  25. INSTALL ?= install
  26. RM ?= rm
  27. MSGFMT ?= msgfmt
  28. @@ -11,14 +11,14 @@
  29. PREFIX ?= `pkg-config libgnome-2.0 --variable=prefix || echo /usr/local`
  30. # If you edited PYTHON above, edit this to the corresponding python lib dir
  31. -LIBDIR = $(PREFIX)/lib/python2.2/site-packages/straw
  32. +LIBDIR = $(PREFIX)/lib/python2.3/site-packages/straw
  33. BINDIR = $(PREFIX)/bin
  34. DATADIR = $(PREFIX)/share/straw
  35. APPLICATIONSDIR = $(PREFIX)/share/applications
  36. ICONDIR = $(PREFIX)/share/pixmaps
  37. LOCALEDIR = $(PREFIX)/share/locale
  38. # change this to just "/etc" if you're installing in /usr
  39. -SYSCONFDIR = $(PREFIX)/etc
  40. +SYSCONFDIR = /etc/$(PREFIX)
  41. POFILES := $(shell echo po/*.po)
  42. MOFILES := $(POFILES:.po=.mo)
  43. @@ -27,8 +27,8 @@
  44. schema_DATA = data/straw.schemas
  45. # modify this if you're running your own build environment (garnome/jhbuild)
  46. # change it to "xml://path/to/gnome_build_env/etc/gconf/gconf.xml.defaults"
  47. -GCONF_SCHEMA_CONFIG_SOURCE = xml::/etc/gconf/gconf.xml.defaults
  48. -GCONF_SCHEMA_FILE_DIR = /etc/gconf/schemas/
  49. +GCONF_SCHEMA_CONFIG_SOURCE = xml::$(SYSCONFDIR)/gconf/gconf.xml.defaults
  50. +GCONF_SCHEMA_FILE_DIR = $(SYSCONFDIR)/gconf/schemas/
  51. GCONFTOOL = gconftool-2
  52. SCHEMADIR = $(GCONF_SCHEMA_FILE_DIR)
  53. diff -urN straw.orig/src/straw straw/src/straw
  54. --- straw.orig/src/straw 2002-09-12 01:15:49.000000000 +0200
  55. +++ straw/src/straw 2003-11-27 07:00:11.000000000 +0100
  56. @@ -1,4 +1,4 @@
  57. -#!/usr/bin/env python2.2
  58. +#!/usr/bin/env python
  59. #
  60. # Copyright (c) 2002 Juri Pakaste
  61. # You may use and distribute this software under the terms of the