Pastebin launched a little side project called VERYVIRAL.com, check it out ;-) Want more features on Pastebin? Sign Up, it's FREE!
Guest

Untitled

By: a guest on Nov 8th, 2010  |  syntax: None  |  size: 2.63 KB  |  views: 69  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. diff -Naur googlizer~/Makefile googlizer/Makefile
  2. --- googlizer~/Makefile 2009-11-25 21:38:29.000000000 -0600
  3. +++ googlizer/Makefile  2009-11-25 21:42:22.000000000 -0600
  4. @@ -1,9 +1,9 @@
  5.  
  6.  googlizer: googlizer.o
  7. -       gcc `gnome-config --libs gnomeui gnome gtk glib` $< -o $@
  8. +       gcc -pthread -lgnomeui-2 -lSM -lICE -lbonoboui-2 -lgnomevfs-2 -lgnomecanvas-2 -lart_lgpl_2 -lgconf-2 -lgnome-2 -lpopt -lbonobo-2 -lbonobo-activation -lORBit-2 -lgthread-2.0 -lrt -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lgio-2.0 -lpangoft2-1.0 -lgdk_pixbuf-2.0 -lpangocairo-1.0 -lcairo -lpango-1.0 -lfreetype -lfontconfig -lgobject-2.0 -lgmodule-2.0 -lglib-2.0 $< -o $@
  9.  
  10.  googlizer.o: googlizer.c
  11. -       gcc `gnome-config --cflags gnomeui gnome gtk glib` -c $<
  12. +       gcc -DORBIT2=1 -pthread -I/usr/include/libgnomeui-2.0 -I/usr/include/libart-2.0 -I/usr/include/gconf/2 -I/usr/include/gnome-keyring-1 -I/usr/include/libgnome-2.0 -I/usr/include/libbonoboui-2.0 -I/usr/include/libgnomecanvas-2.0 -I/usr/include/gtk-2.0 -I/usr/include/gnome-vfs-2.0 -I/usr/lib/gnome-vfs-2.0/include -I/usr/include/orbit-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/libbonobo-2.0 -I/usr/include/bonobo-activation-2.0 -I/usr/include/libxml2 -I/usr/include/pango-1.0 -I/usr/include/gail-1.0 -I/usr/include/freetype2 -I/usr/include/atk-1.0 -I/usr/lib/gtk-2.0/include -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/libpng12 -I/usr/include/gdk-pixbuf-2.0 -c $<
  13.  
  14.  clean:
  15.         rm -f *.o *~ googlizer
  16. @@ -12,14 +12,10 @@
  17.         (cd ..; tar cvfz googlizer.tar.gz googlizer)
  18.  
  19.  install: googlizer
  20. -       install -o root -g root -m 755 -d $(DESTDIR)`gnome-config --bindir`/
  21. -       install -o root -g root -m 755 googlizer $(DESTDIR)`gnome-config --bindir`/
  22. -       install -o root -g root -m 755 -d $(DESTDIR)`gnome-config --mandir`/man1/
  23. -       install -o root -g root -m 644 googlizer.1 $(DESTDIR)`gnome-config --mandir`/man1/
  24. -       install -o root -g root -m 755 -d $(DESTDIR)`gnome-config --datadir`/gnome/apps/Internet/
  25. -       install -o root -g root -m 644 googlizer.desktop $(DESTDIR)`gnome-config --datadir`/gnome/apps/Internet/
  26. -       install -o root -g root -m 755 -d $(DESTDIR)`gnome-config --datadir`/pixmaps/
  27. -       install -o root -g root -m 644 googlizer.png $(DESTDIR)`gnome-config --datadir`/pixmaps/
  28. +       install -m 755 -D googlizer $(DESTDIR)/usr/bin/googlizer
  29. +       install -m 644 -D googlizer.1 $(DESTDIR)/usr/share/man/man1/googlizer.1
  30. +       install -m 644 -D googlizer.desktop $(DESTDIR)/usr/share/applications/googlizer.desktop
  31. +       install -m 644 -D googlizer.png $(DESTDIR)/usr/share/pixmaps/googlizer.png
  32.  
  33.  uninstall:
  34.         rm -f $(DESTDIR)`gnome-config --bindir`/googlizer