OpenSDE Packages Database (without history before r20070)
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.

38 lines
1.7 KiB

  1. # --- SDE-COPYRIGHT-NOTE-BEGIN ---
  2. # This copyright note is auto-generated by ./scripts/Create-CopyPatch.
  3. #
  4. # Filename: package/.../ghostscript/no_gtk.diff
  5. # Copyright (C) 2007 The OpenSDE Project
  6. # Copyright (C) 2006 The T2 SDE Project
  7. #
  8. # More information can be found in the files COPYING and README.
  9. #
  10. # This patch file is dual-licensed. It is available under the license the
  11. # patched project is licensed under, as long as it is an OpenSource license
  12. # as defined at http://www.opensource.org/ (e.g. BSD, X11) or under the terms
  13. # of the GNU General Public License as published by the Free Software
  14. # Foundation; either version 2 of the License, or (at your option) any later
  15. # version.
  16. # --- SDE-COPYRIGHT-NOTE-END ---
  17. Only build the Gtk+ binary when gtk-12 is around.
  18. --- ./src/unix-dll.mak.orig 2006-09-28 13:54:45.000000000 -0400
  19. +++ ./src/unix-dll.mak 2007-03-17 19:15:57.000000000 -0400
  20. @@ -87,7 +87,7 @@
  21. # Normal shared object
  22. so: SODIRS
  23. - $(MAKE) $(SODEFS) CFLAGS='$(CFLAGS_STANDARD) $(CFLAGS_SO) $(ACDEFS) $(GCFLAGS) $(XCFLAGS)' prefix=$(prefix) $(GSSOC) $(GSSOX)
  24. + $(MAKE) $(SODEFS) CFLAGS='$(CFLAGS_STANDARD) $(CFLAGS_SO) $(ACDEFS) $(GCFLAGS) $(XCFLAGS)' prefix=$(prefix) $(GSSOC)
  25. # Debug shared object
  26. # Note that this is in the same directory as the normal shared
  27. @@ -103,7 +103,6 @@
  28. -mkdir -p $(install_prefix)$(bindir)
  29. -mkdir -p $(install_prefix)$(libdir)
  30. $(INSTALL_PROGRAM) $(GSSOC) $(install_prefix)$(bindir)/$(GSSOC_XENAME)
  31. - $(INSTALL_PROGRAM) $(GSSOX) $(install_prefix)$(bindir)/$(GSSOX_XENAME)
  32. $(INSTALL_PROGRAM) $(BINDIR)/$(SOBINRELDIR)/$(GS_SONAME_MAJOR_MINOR) $(install_prefix)$(libdir)/$(GS_SONAME_MAJOR_MINOR)
  33. $(RM_) $(install_prefix)$(libdir)/$(GS_SONAME)
  34. ln -s $(GS_SONAME_MAJOR_MINOR) $(install_prefix)$(libdir)/$(GS_SONAME)