diff -Nru gshutdown-0.2/debian/changelog gshutdown-0.2/debian/changelog --- gshutdown-0.2/debian/changelog 2012-09-29 09:18:32.000000000 +0000 +++ gshutdown-0.2/debian/changelog 2013-04-02 20:05:05.000000000 +0000 @@ -1,3 +1,9 @@ +gshutdown (0.2-0ubuntu7) raring; urgency=low + + * Added X11 and Xau libs to link, fixing FTBFS. + + -- Daniel T Chen Tue, 02 Apr 2013 15:53:21 -0400 + gshutdown (0.2-0ubuntu6) quantal; urgency=low * fix-glib-includes.patch: diff -Nru gshutdown-0.2/debian/patches/fix-libx11-underlinkage.patch gshutdown-0.2/debian/patches/fix-libx11-underlinkage.patch --- gshutdown-0.2/debian/patches/fix-libx11-underlinkage.patch 1970-01-01 00:00:00.000000000 +0000 +++ gshutdown-0.2/debian/patches/fix-libx11-underlinkage.patch 2013-04-02 20:05:35.000000000 +0000 @@ -0,0 +1,26 @@ +Index: gshutdown-0.2/src/Makefile.am +=================================================================== +--- gshutdown-0.2.orig/src/Makefile.am 2007-04-14 18:33:39.000000000 -0400 ++++ gshutdown-0.2/src/Makefile.am 2013-04-02 16:05:21.845846609 -0400 +@@ -22,7 +22,7 @@ + bacon.c bacon.h \ + eggtrayicon.c eggtrayicon.h + +-gshutdown_LDADD = @PACKAGE_LIBS@ $(INTLLIBS) ++gshutdown_LDADD = @PACKAGE_LIBS@ $(INTLLIBS) -lX11 -lXau + gshutdown_LDFLAGS = -Wl,-export-dynamic + + sharedir = $(pkgdatadir) +Index: gshutdown-0.2/src/Makefile.in +=================================================================== +--- gshutdown-0.2.orig/src/Makefile.in 2007-06-24 11:52:55.000000000 -0400 ++++ gshutdown-0.2/src/Makefile.in 2013-04-02 16:05:32.750777097 -0400 +@@ -216,7 +216,7 @@ + bacon.c bacon.h \ + eggtrayicon.c eggtrayicon.h + +-gshutdown_LDADD = @PACKAGE_LIBS@ $(INTLLIBS) ++gshutdown_LDADD = @PACKAGE_LIBS@ $(INTLLIBS) -lX11 -lXau + gshutdown_LDFLAGS = -Wl,-export-dynamic + sharedir = $(pkgdatadir) + share_DATA = tray_icon2.png tray_icon.png gshutdown.png clock.png gshutdown.glade diff -Nru gshutdown-0.2/debian/patches/series gshutdown-0.2/debian/patches/series --- gshutdown-0.2/debian/patches/series 2012-09-29 09:18:05.000000000 +0000 +++ gshutdown-0.2/debian/patches/series 2013-04-02 19:51:58.000000000 +0000 @@ -1,3 +1,4 @@ desktop.patch libnotify.patch fix-glib-includes.patch +fix-libx11-underlinkage.patch