diff options
Diffstat (limited to 'community')
-rw-r--r-- | community/bonnie++/PKGBUILD | 2 | ||||
-rw-r--r-- | community/cmatrix/PKGBUILD | 4 | ||||
-rw-r--r-- | community/gimp-refocus/PKGBUILD | 4 | ||||
-rw-r--r-- | community/gimp-refocus/refocus-gimp-2.0.patch | 5 | ||||
-rw-r--r-- | community/google-gadgets/PKGBUILD | 11 | ||||
-rw-r--r-- | community/google-gadgets/google-gadgets-0.11.2-gcc-4.7.patch | 325 | ||||
-rw-r--r-- | community/google-gadgets/google-gadgets-0.11.2-glib-2.31.patch | 25 | ||||
-rw-r--r-- | community/gshutdown/PKGBUILD | 8 | ||||
-rw-r--r-- | community/gshutdown/gshutdown-0.2-glib.patch | 100 |
9 files changed, 472 insertions, 12 deletions
diff --git a/community/bonnie++/PKGBUILD b/community/bonnie++/PKGBUILD index 9b7d990f4..28d4c6a9b 100644 --- a/community/bonnie++/PKGBUILD +++ b/community/bonnie++/PKGBUILD @@ -4,7 +4,7 @@ pkgname=bonnie++ pkgver=1.03e -pkgrel=6 +pkgrel=6.1 pkgdesc="Based on the Bonnie hard drive benchmark by Tim Bray" arch=('i686' 'x86_64' 'mips64el') url="http://www.coker.com.au/bonnie++/" diff --git a/community/cmatrix/PKGBUILD b/community/cmatrix/PKGBUILD index 2506b8326..3f356a518 100644 --- a/community/cmatrix/PKGBUILD +++ b/community/cmatrix/PKGBUILD @@ -3,9 +3,9 @@ pkgname=cmatrix pkgver=1.2a -pkgrel=6 +pkgrel=6.1 pkgdesc="Let you see the matrix code in your console" -arch=('i686' 'x86_64') +arch=('i686' 'x86_64' 'mips64el') url="http://www.asty.org/cmatrix/" license=('GPL') depends=('ncurses' 'fontconfig') diff --git a/community/gimp-refocus/PKGBUILD b/community/gimp-refocus/PKGBUILD index 6c031e39c..4c6d8ba49 100644 --- a/community/gimp-refocus/PKGBUILD +++ b/community/gimp-refocus/PKGBUILD @@ -4,7 +4,7 @@ pkgname=gimp-refocus pkgver=0.9.0 -pkgrel=3 +pkgrel=3.1 pkgdesc="A sharpen plugin for gimp using FIR Wiener filtering" arch=('i686' 'x86_64' 'mips64el') url="http://refocus.sourceforge.net/" @@ -13,7 +13,7 @@ depends=('gimp') source=(http://downloads.sourceforge.net/sourceforge/refocus/refocus-${pkgver}.tar.gz \ refocus-gimp-2.0.patch refocus-mirror-fix.patch refocus-gimp-preview.patch) md5sums=('8d4eac4ef45c904fb5e73021696bec94' - '8ef9dfe697cd20be2be14c1ee53a240a' + '0280f3d4c4d7838da459d8070abb6966' '532593cba030feab8ffa7800fc9cd782' '6b55dbdc656646c765064cf21e1a3c57') diff --git a/community/gimp-refocus/refocus-gimp-2.0.patch b/community/gimp-refocus/refocus-gimp-2.0.patch index 259ee9f87..db359487c 100644 --- a/community/gimp-refocus/refocus-gimp-2.0.patch +++ b/community/gimp-refocus/refocus-gimp-2.0.patch @@ -35,11 +35,14 @@ diff -u -u -r1.1.1.1 configure.in AM_PATH_GTK_2_0(2.0.0) AM_PATH_GLIB_2_0(2.0.0) -@@ -106,5 +106,6 @@ +@@ -106,5 +106,9 @@ #Check if erf is defined in the mathlibrary AC_CHECK_LIB(m, erf, AC_DEFINE(HAVE_ERF)) -AC_OUTPUT([Makefile src/Makefile lib/Makefile doc/Makefile gtk-doc/Makefile ]) ++#Check if ceil is defined in the mathlibrary ++AC_CHECK_LIB(m, ceil) ++ +AC_CONFIG_FILES([Makefile src/Makefile lib/Makefile doc/Makefile gtk-doc/Makefile ]) +AC_OUTPUT diff --git a/community/google-gadgets/PKGBUILD b/community/google-gadgets/PKGBUILD index 21e2e2b7a..34c643492 100644 --- a/community/google-gadgets/PKGBUILD +++ b/community/google-gadgets/PKGBUILD @@ -20,9 +20,13 @@ makedepends=('gstreamer0.10-base-plugins' 'libwebkit' 'zip' 'flex') options=('!libtool') source=("http://google-gadgets-for-linux.googlecode.com/files/$_realname-$pkgver.tar.bz2" - "wifi-types.patch") + "wifi-types.patch" + "google-gadgets-0.11.2-glib-2.31.patch" + "google-gadgets-0.11.2-gcc-4.7.patch") md5sums=('279305553bcbf74f3e3615f6abc36a5e' - 'f0df71c60a174e9d629db87b8bd9e102') + 'f0df71c60a174e9d629db87b8bd9e102' + '1b9c7769d6659ea77069e9c22592797a' + 'b62bc8592b5a44cb34cb7a7e4a6cf62e') build() { cd "$srcdir/$_realname-$pkgver" @@ -32,7 +36,8 @@ build() { # # xulrunner 2.0 is incompatible; # we build without smjs-script/browser-element - + patch -Np1 -i ${srcdir}/google-gadgets-0.11.2-glib-2.31.patch + patch -Np1 -i ${srcdir}/google-gadgets-0.11.2-gcc-4.7.patch patch -p1 <$srcdir/wifi-types.patch ./configure --prefix=/usr \ --disable-werror \ diff --git a/community/google-gadgets/google-gadgets-0.11.2-gcc-4.7.patch b/community/google-gadgets/google-gadgets-0.11.2-gcc-4.7.patch new file mode 100644 index 000000000..2e77e10fd --- /dev/null +++ b/community/google-gadgets/google-gadgets-0.11.2-gcc-4.7.patch @@ -0,0 +1,325 @@ +Author: Pino Toscano <pino@debian.org> +Description: Fix building with GCC 4.7 + This patch fixes the two kinds of issues that arise with GCC 4.7: + - include <unistd.h> for functions like access(), fork(), readlink(), etc + - fix argument-dependent lookup issues by qualifying the lookup of functions +Forwarded: no +Last-Update: 2012-04-04 + +--- a/ggadget/scriptable_enumerator.h ++++ b/ggadget/scriptable_enumerator.h +@@ -68,22 +68,22 @@ + + protected: + virtual void DoClassRegister() { +- RegisterMethod("atEnd", ++ this->RegisterMethod("atEnd", + NewSlot(&E::AtEnd, + &ScriptableEnumerator<E, Wrapper, Param, ClassId> + ::enumerator_)); +- RegisterMethod("moveFirst", ++ this->RegisterMethod("moveFirst", + NewSlot(&E::MoveFirst, + &ScriptableEnumerator<E, Wrapper, Param, ClassId> + ::enumerator_)); +- RegisterMethod("moveNext", ++ this->RegisterMethod("moveNext", + NewSlot(&E::MoveNext, + &ScriptableEnumerator<E, Wrapper, Param, ClassId> + ::enumerator_)); +- RegisterMethod("item", ++ this->RegisterMethod("item", + NewSlot(&ScriptableEnumerator<E, Wrapper, Param, ClassId> + ::GetItem)); +- RegisterProperty("count", ++ this->RegisterProperty("count", + NewSlot(&E::GetCount, + &ScriptableEnumerator<E, Wrapper, Param, ClassId> + ::enumerator_), +--- a/ggadget/uuid.cc ++++ b/ggadget/uuid.cc +@@ -24,6 +24,7 @@ + #include <cstdlib> + #include <cstring> + #include <ctime> ++#include <unistd.h> + + #include "string_utils.h" + +--- a/ggadget/xml_dom.cc ++++ b/ggadget/xml_dom.cc +@@ -1327,15 +1327,15 @@ + + virtual void DoClassRegister() { + Super::DoClassRegister(); +- RegisterProperty("data", NewSlot(&DOMCharacterData::GetData), ++ this->RegisterProperty("data", NewSlot(&DOMCharacterData::GetData), + NewSlot(&DOMCharacterData::SetData)); +- RegisterProperty("length", NewSlot(&DOMCharacterData::GetLength), NULL); +- RegisterMethod("substringData", ++ this->RegisterProperty("length", NewSlot(&DOMCharacterData::GetLength), NULL); ++ this->RegisterMethod("substringData", + NewSlot(&DOMCharacterData::ScriptSubstringData)); +- RegisterMethod("appendData", NewSlot(&DOMCharacterData::AppendData)); +- RegisterMethod("insertData", NewSlot(&DOMCharacterData::ScriptInsertData)); +- RegisterMethod("deleteData", NewSlot(&DOMCharacterData::ScriptDeleteData)); +- RegisterMethod("replaceData", ++ this->RegisterMethod("appendData", NewSlot(&DOMCharacterData::AppendData)); ++ this->RegisterMethod("insertData", NewSlot(&DOMCharacterData::ScriptInsertData)); ++ this->RegisterMethod("deleteData", NewSlot(&DOMCharacterData::ScriptDeleteData)); ++ this->RegisterMethod("replaceData", + NewSlot(&DOMCharacterData::ScriptReplaceData)); + } + +@@ -1377,20 +1377,20 @@ + private: + UTF16String ScriptSubstringData(size_t offset, size_t count) { + UTF16String result; +- CheckException(SubstringData(offset, count, &result)); ++ this->CheckException(SubstringData(offset, count, &result)); + return result; + } + + void ScriptInsertData(size_t offset, const UTF16String &arg) { +- CheckException(InsertData(offset, arg)); ++ this->CheckException(InsertData(offset, arg)); + } + + void ScriptDeleteData(size_t offset, size_t count) { +- CheckException(DeleteData(offset, count)); ++ this->CheckException(DeleteData(offset, count)); + } + + void ScriptReplaceData(size_t offset, size_t count, const UTF16String &arg) { +- CheckException(ReplaceData(offset, count, arg)); ++ this->CheckException(ReplaceData(offset, count, arg)); + } + + DOMCharacterDataImpl impl_; +@@ -1417,10 +1417,10 @@ + + virtual void DoClassRegister() { + Super::DoClassRegister(); +- RegisterProperty("name", NewSlot(&DOMAttr::GetName), NULL); ++ this->RegisterProperty("name", NewSlot(&DOMAttr::GetName), NULL); + // Our DOMAttrs are always specified, because we don't support DTD for now. +- RegisterConstant("specified", true); +- RegisterProperty("value", NewSlot(&DOMAttr::GetValue), ++ this->RegisterConstant("specified", true); ++ this->RegisterProperty("value", NewSlot(&DOMAttr::GetValue), + NewSlot(&DOMAttr::SetValue)); + // ownerElement is a DOM2 property, so not registered for now. + } +@@ -1516,19 +1516,19 @@ + + virtual void DoClassRegister() { + Super::DoClassRegister(); +- RegisterProperty("tagName", NewSlot(&DOMElement::GetTagName), NULL); +- RegisterMethod("getAttribute", NewSlot(&DOMElement::GetAttribute)); +- RegisterMethod("setAttribute", ++ this->RegisterProperty("tagName", NewSlot(&DOMElement::GetTagName), NULL); ++ this->RegisterMethod("getAttribute", NewSlot(&DOMElement::GetAttribute)); ++ this->RegisterMethod("setAttribute", + NewSlot(&DOMElement::ScriptSetAttribute)); +- RegisterMethod("removeAttribute", ++ this->RegisterMethod("removeAttribute", + NewSlot(&DOMElement::RemoveAttribute)); +- RegisterMethod("getAttributeNode", ++ this->RegisterMethod("getAttributeNode", + NewSlot(&DOMElement::GetAttributeNodeNotConst)); +- RegisterMethod("setAttributeNode", ++ this->RegisterMethod("setAttributeNode", + NewSlot(&DOMElement::ScriptSetAttributeNode)); +- RegisterMethod("removeAttributeNode", ++ this->RegisterMethod("removeAttributeNode", + NewSlot(&DOMElement::ScriptRemoveAttributeNode)); +- RegisterMethod("getElementsByTagName", ++ this->RegisterMethod("getElementsByTagName", + NewSlot(&Super::GetElementsByTagNameNotConst)); + } + +@@ -1696,16 +1696,16 @@ + } + + virtual void DoClassRegister() { +- RegisterProperty("length", NewSlot(&AttrsNamedMap::GetLength), NULL); +- RegisterMethod("getNamedItem", ++ this->RegisterProperty("length", NewSlot(&AttrsNamedMap::GetLength), NULL); ++ this->RegisterMethod("getNamedItem", + NewSlot(&AttrsNamedMap::GetNamedItemNotConst)); +- RegisterMethod("setNamedItem", ++ this->RegisterMethod("setNamedItem", + NewSlot(&AttrsNamedMap::ScriptSetNamedItem)); +- RegisterMethod("removeNamedItem", ++ this->RegisterMethod("removeNamedItem", + NewSlot(&AttrsNamedMap::ScriptRemoveNamedItem)); +- RegisterMethod("item", NewSlot(&AttrsNamedMap::GetItemNotConst)); ++ this->RegisterMethod("item", NewSlot(&AttrsNamedMap::GetItemNotConst)); + // Microsoft compatibility. +- RegisterMethod("", NewSlot(&AttrsNamedMap::GetItemNotConst)); ++ this->RegisterMethod("", NewSlot(&AttrsNamedMap::GetItemNotConst)); + } + + virtual DOMNodeInterface *GetNamedItem(const std::string &name) { +@@ -1875,7 +1875,7 @@ + + virtual void DoClassRegister() { + Super::DoClassRegister(); +- RegisterMethod("splitText", NewSlot(&DOMText::ScriptSplitText)); ++ this->RegisterMethod("splitText", NewSlot(&DOMText::ScriptSplitText)); + } + + virtual NodeType GetNodeType() const { return TEXT_NODE; } +@@ -2060,9 +2060,9 @@ + + virtual void DoClassRegister() { + Super::DoClassRegister(); +- RegisterProperty("target", ++ this->RegisterProperty("target", + NewSlot(&DOMProcessingInstruction::GetTarget), NULL); +- RegisterProperty("data", NewSlot(&DOMProcessingInstruction::GetData), ++ this->RegisterProperty("data", NewSlot(&DOMProcessingInstruction::GetData), + NewSlot(&DOMProcessingInstruction::SetData)); + } + +@@ -2109,7 +2109,7 @@ + DEFINE_CLASS_ID(0xd23149a89cf24e12, DOMImplementationInterface); + + virtual void DoClassRegister() { +- RegisterMethod("hasFeature", NewSlot(&DOMImplementation::HasFeature)); ++ this->RegisterMethod("hasFeature", NewSlot(&DOMImplementation::HasFeature)); + } + + virtual bool HasFeature(const char *feature, const char *version) const { +@@ -2129,13 +2129,13 @@ + void SetCode(int code) { code_ = code; } + + virtual void DoClassRegister() { +- RegisterProperty("errorCode", NewSlot(&ParseError::GetCode), NULL); +- RegisterConstant("filepos", 0); +- RegisterConstant("line", 0); +- RegisterConstant("linepos", 0); +- RegisterConstant("reason", ""); +- RegisterConstant("srcText", ""); +- RegisterConstant("url", ""); ++ this->RegisterProperty("errorCode", NewSlot(&ParseError::GetCode), NULL); ++ this->RegisterConstant("filepos", 0); ++ this->RegisterConstant("line", 0); ++ this->RegisterConstant("linepos", 0); ++ this->RegisterConstant("reason", ""); ++ this->RegisterConstant("srcText", ""); ++ this->RegisterConstant("url", ""); + } + + private: +@@ -2180,45 +2180,45 @@ + + virtual void DoClassRegister() { + Super::DoClassRegister(); +- RegisterConstant("doctype", static_cast<ScriptableInterface *>(NULL)); +- RegisterConstant("implementation", &dom_implementation_); +- RegisterProperty("documentElement", ++ this->RegisterConstant("doctype", static_cast<ScriptableInterface *>(NULL)); ++ this->RegisterConstant("implementation", &dom_implementation_); ++ this->RegisterProperty("documentElement", + NewSlot(&DOMDocument::GetDocumentElementNotConst), NULL); +- RegisterMethod("loadXML", NewSlot(&DOMDocument::LoadXML)); +- RegisterMethod("createElement", ++ this->RegisterMethod("loadXML", NewSlot(&DOMDocument::LoadXML)); ++ this->RegisterMethod("createElement", + NewSlot(&DOMDocument::ScriptCreateElement)); +- RegisterMethod("createDocumentFragment", ++ this->RegisterMethod("createDocumentFragment", + NewSlot(&DOMDocument::CreateDocumentFragment)); +- RegisterMethod("createTextNode", ++ this->RegisterMethod("createTextNode", + NewSlot(&DOMDocument::CreateTextNode)); +- RegisterMethod("createComment", NewSlot(&DOMDocument::CreateComment)); +- RegisterMethod("createCDATASection", ++ this->RegisterMethod("createComment", NewSlot(&DOMDocument::CreateComment)); ++ this->RegisterMethod("createCDATASection", + NewSlot(&DOMDocument::CreateCDATASection)); +- RegisterMethod("createProcessingInstruction", ++ this->RegisterMethod("createProcessingInstruction", + NewSlot(&DOMDocument::ScriptCreateProcessingInstruction)); +- RegisterMethod("createAttribute", ++ this->RegisterMethod("createAttribute", + NewSlot(&DOMDocument::ScriptCreateAttribute)); +- RegisterMethod("createEntityReference", ++ this->RegisterMethod("createEntityReference", + NewSlot(&DOMDocument::ScriptCreateEntityReference)); +- RegisterMethod("getElementsByTagName", ++ this->RegisterMethod("getElementsByTagName", + NewSlot(&Super::GetElementsByTagNameNotConst)); +- RegisterMethod("importNode", NewSlot(&DOMDocument::ScriptImportNode)); ++ this->RegisterMethod("importNode", NewSlot(&DOMDocument::ScriptImportNode)); + // Compatibility with Microsoft DOM. +- RegisterProperty("parsed", NewFixedGetterSlot(true), NULL); +- RegisterProperty("parseError", NewSlot(&DOMDocument::GetParseError), NULL); +- RegisterProperty("resolveExternals", NULL, NewSlot(&DummySetter)); +- RegisterProperty("validateOnParse", NULL, NewSlot(&DummySetter)); +- RegisterProperty("preserveWhiteSpace", ++ this->RegisterProperty("parsed", NewFixedGetterSlot(true), NULL); ++ this->RegisterProperty("parseError", NewSlot(&DOMDocument::GetParseError), NULL); ++ this->RegisterProperty("resolveExternals", NULL, NewSlot(&DummySetter)); ++ this->RegisterProperty("validateOnParse", NULL, NewSlot(&DummySetter)); ++ this->RegisterProperty("preserveWhiteSpace", + NewSlot(&DOMDocument::PreservesWhiteSpace), + NewSlot(&DOMDocument::SetPreserveWhiteSpace)); +- RegisterMethod("getProperty", NewSlot(DummyGetProperty)); +- RegisterMethod("setProperty", NewSlot(DummySetProperty)); ++ this->RegisterMethod("getProperty", NewSlot(DummyGetProperty)); ++ this->RegisterMethod("setProperty", NewSlot(DummySetProperty)); + // Compatibility with Microsoft DOM: XMLHttpRequest functions. +- RegisterProperty("async", NewSlot(&DOMDocument::IsAsync), ++ this->RegisterProperty("async", NewSlot(&DOMDocument::IsAsync), + NewSlot(&DOMDocument::SetAsync)); +- RegisterProperty("readyState", NewSlot(&DOMDocument::GetReadyState), NULL); +- RegisterMethod("load", NewSlot(&DOMDocument::Load)); +- RegisterClassSignal("onreadystatechange", ++ this->RegisterProperty("readyState", NewSlot(&DOMDocument::GetReadyState), NULL); ++ this->RegisterMethod("load", NewSlot(&DOMDocument::Load)); ++ this->RegisterClassSignal("onreadystatechange", + &DOMDocument::onreadystatechange_signal_); + } + +--- a/ggadget/xdg/icon_theme.cc ++++ b/ggadget/xdg/icon_theme.cc +@@ -16,6 +16,7 @@ + #include <sys/time.h> + #include <time.h> + #include <cstdlib> ++#include <unistd.h> + + #include <map> + #include <vector> +--- a/extensions/qt_system_framework/qt_system_framework.cc ++++ b/extensions/qt_system_framework/qt_system_framework.cc +@@ -32,6 +32,7 @@ + #include <ggadget/xdg/desktop_entry.h> + #include <ggadget/xdg/icon_theme.h> + #include <ggadget/xdg/utilities.h> ++#include <unistd.h> + + #define Initialize qt_system_framework_LTX_Initialize + #define Finalize qt_system_framework_LTX_Finalize +--- a/extensions/linux_system_framework/process.cc ++++ b/extensions/linux_system_framework/process.cc +@@ -17,6 +17,7 @@ + #include <sys/types.h> + #include <dirent.h> + #include <cstdlib> ++#include <unistd.h> + + #ifdef HAVE_X11 + #include <X11/Xlib.h> +--- a/gadgets/designer/designer_script_utils.cc ++++ b/gadgets/designer/designer_script_utils.cc +@@ -39,6 +39,7 @@ + #include <ggadget/system_utils.h> + #include <ggadget/uuid.h> + #include <ggadget/view_interface.h> ++#include <unistd.h> + + namespace ggadget { + namespace designer { diff --git a/community/google-gadgets/google-gadgets-0.11.2-glib-2.31.patch b/community/google-gadgets/google-gadgets-0.11.2-glib-2.31.patch new file mode 100644 index 000000000..912f47235 --- /dev/null +++ b/community/google-gadgets/google-gadgets-0.11.2-glib-2.31.patch @@ -0,0 +1,25 @@ +--- google-gadgets-for-linux-0.11.2.orig/ggadget/gtk/main_loop.cc 2009-12-28 05:39:59.000000000 -0500 ++++ google-gadgets-for-linux-0.11.2/ggadget/gtk/main_loop.cc 2012-12-03 19:27:35.160966552 -0500 +@@ -16,9 +16,8 @@ + + #include <fcntl.h> + #include <stdint.h> +-#include <glib/ghash.h> ++#include <glib.h> + #include <gtk/gtk.h> +-#include <glib/gthread.h> + #include <ggadget/common.h> + #include "main_loop.h" + #include "utilities.h" + +--- google-gadgets-for-linux-0.11.2.orig/hosts/gtk/main.cc 2009-09-22 04:12:00.000000000 -0500 ++++ google-gadgets-for-linux-0.11.2/hosts/gtk/main.cc 2012-12-01 03:56:37.320907813 -0500 +@@ -15,7 +15,7 @@ + */ + + #include <gtk/gtk.h> +-#include <glib/gthread.h> ++#include <glib.h> + #include <locale.h> + #include <signal.h> + #include <unistd.h> diff --git a/community/gshutdown/PKGBUILD b/community/gshutdown/PKGBUILD index 31bb7d762..36a1fc53a 100644 --- a/community/gshutdown/PKGBUILD +++ b/community/gshutdown/PKGBUILD @@ -11,12 +11,14 @@ url="http://gshutdown.tuxfamily.org" license=('GPL') depends=('libglade' 'libnotify') makedepends=('pkg-config') -source=(http://gshutdown.tuxfamily.org/release/$pkgname-$pkgver.tar.gz) -md5sums=('c0662f6b74fa1be10e4d34bfc5731d9b') -sha1sums=('ab73b1d6c36831df82d231ffa333cdf394fd5b3e') +source=(http://gshutdown.tuxfamily.org/release/$pkgname-$pkgver.tar.gz + gshutdown-0.2-glib.patch) +md5sums=('c0662f6b74fa1be10e4d34bfc5731d9b' + '8d624b2651240d5dffd5fd208a5354ff') build() { cd "$srcdir/$pkgname-$pkgver" + patch -Np1 -i ${srcdir}/gshutdown-0.2-glib.patch sed -i 's/notify_notification_new("GShutdown", message, NULL, GTK_WIDGET(widget));/notify_notification_new("GShutdown", message, GTK_WIDGET(widget));/' src/gui.c LDFLAGS="-lX11 -lXau" ./configure --prefix=/usr --mandir=/usr/share make diff --git a/community/gshutdown/gshutdown-0.2-glib.patch b/community/gshutdown/gshutdown-0.2-glib.patch new file mode 100644 index 000000000..1bf1d52db --- /dev/null +++ b/community/gshutdown/gshutdown-0.2-glib.patch @@ -0,0 +1,100 @@ +--- gshutdown-0.2.orig/src/timer.h 2007-04-14 17:33:39.000000000 -0500 ++++ gshutdown-0.2/src/timer.h 2012-12-06 05:12:38.525897810 -0500 +@@ -21,7 +21,7 @@ + #ifndef __GSHUTDOWN_TIMER__ + #define __GSHUTDOWN_TIMER__ + +-#include <glib/gtypes.h> ++#include <glib.h> + + guint time_left(); + gboolean timer_notify(); + +--- gshutdown-0.2.orig/src/misc.h 2007-04-14 17:33:39.000000000 -0500 ++++ gshutdown-0.2/src/misc.h 2012-12-06 05:13:01.306051982 -0500 +@@ -20,7 +20,7 @@ + #ifndef __GSHUTDOWN_MISC__ + #define __GSHUTDOWN_MISC__ + +-#include <glib/gtypes.h> /* gchar */ ++#include <glib.h> /* gchar */ + + /* Return a data file path. e.g: gshutdown.glade */ + gchar *data_path(gchar *filename); + +--- gshutdown-0.2.orig/src/values.h 2007-05-19 06:42:54.000000000 -0500 ++++ gshutdown-0.2/src/values.h 2012-12-06 05:24:45.017440329 -0500 +@@ -21,7 +21,7 @@ + #ifndef __GSHUTDOWN_VALUES__ + #define __GSHUTDOWN_VALUES__ + +-#include <glib/gtypes.h> ++#include <glib.h> + #include "action.h" + + typedef enum { + +--- gshutdown-0.2.orig/src/values.c 2007-04-14 17:33:40.000000000 -0500 ++++ gshutdown-0.2/src/values.c 2012-12-06 05:30:03.170195207 -0500 +@@ -20,8 +20,7 @@ + + #include <stdio.h> + #include <string.h> +-#include <glib/gkeyfile.h> +-#include <glib/gfileutils.h> /* g_build_path */ ++#include <glib.h> + #include "values.h" + #include "gui.h" + #include "detectwm.h" + +--- gshutdown-0.2.orig/src/detectwm.h 2007-04-14 17:33:39.000000000 -0500 ++++ gshutdown-0.2/src/detectwm.h 2012-12-06 05:35:18.027783235 -0500 +@@ -21,7 +21,7 @@ + #ifndef __GSHUTDOWN_WMDETECT__ + #define __GSHUTDOWN_WMDETECT__ + +-#include <glib/gtypes.h> ++#include <glib.h> + + gchar *detect_window_manager(); + +--- gshutdown-0.2.orig/src/misc.c 2007-04-14 17:33:39.000000000 -0500 ++++ gshutdown-0.2/src/misc.c 2012-12-06 05:38:44.229476612 -0500 +@@ -20,12 +20,7 @@ + + #include <unistd.h> /* X_OK */ + #include <stdlib.h> +-#include <glib/gstdio.h> +-#include <glib/gstrfuncs.h> /* g_strdup_printf */ +-#include <glib/gmem.h> /* g_free */ +-#include <glib/gutils.h> /* g_getenv */ +-#include <glib/gfileutils.h> /* g_file_test() */ +-#include <glib/gshell.h> /* g_shell_parse_argv */ ++#include <glib.h> + #include "config.h" + #include "misc.h" + #include "main.h" + +--- gshutdown-0.2.orig/src/timer.c 2007-05-19 06:30:38.000000000 -0500 ++++ gshutdown-0.2/src/timer.c 2012-12-06 05:42:37.654561395 -0500 +@@ -18,7 +18,7 @@ + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. + */ + +-#include <glib/gtypes.h> ++#include <glib.h> + #include "timer.h" + #include "values.h" + #include "gui.h" + +--- gshutdown-0.2.orig/src/main.c 2007-06-24 08:03:38.000000000 -0500 ++++ gshutdown-0.2/src/main.c 2012-12-06 05:46:46.729676922 -0500 +@@ -21,7 +21,7 @@ + #include <stdlib.h> + #include <signal.h> + #include <sys/wait.h> +-#include <glib/gutils.h> /* g_atexit() */ ++#include <glib.h> /* g_atexit() */ + #include "main.h" + #include "gui.h" + #include "misc.h" |