[SM-Commit] GIT changes to master grimoire by Pol Vinogradov (6ba2d7f095ac010de26df208cdf55dd89cabec09)

Pol Vinogradov scm at sourcemage.org
Thu Dec 11 10:05:48 EST 2008


GIT changes to master grimoire by Pol Vinogradov <vin.public at gmail.com>:

 ChangeLog                                 |    4 +++
 chat-im/tkabber/DEPENDS                   |    5 ++++
 chat-im/tkabber/HISTORY                   |    3 ++
 devel/tkxwin/DEPENDS                      |    4 +++
 devel/tkxwin/DETAILS                      |   14 ++++++++++++
 devel/tkxwin/HISTORY                      |    4 +++
 devel/tkxwin/PRE_BUILD                    |    4 +++
 devel/tkxwin/configure-makefile-fix.patch |   33 ++++++++++++++++++++++++++++++
 8 files changed, 71 insertions(+)

New commits:
commit 6ba2d7f095ac010de26df208cdf55dd89cabec09
Author: Pol Vinogradov <vin.public at gmail.com>
Commit: Pol Vinogradov <vin.public at gmail.com>

    chat-im/tkabber: added tkxwin as optional dependency

commit 402ff0e85e2e42820d1d60077a3817436fbb72bf
Author: Pol Vinogradov <vin.public at gmail.com>
Commit: Pol Vinogradov <vin.public at gmail.com>

    devel/tkxwin: new spell, provides user idle time reporting in Tk under X Window

diff --git a/ChangeLog b/ChangeLog
index 78c3861..cfc8064 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2008-12-11 Pol Vinogradov <vin.public at gmail.com>
+	* devel/tkxwin: new spell, provides user idle time reporting in Tk under
+	  X Window
+
 2008-12-10 Jaka Kranjc <lynxlynxlynx at sourcemage.org>
 	* FUNCTION: extend default_{build,install}_python to accept arguments
 	* mobile/gammu: GSM mobile manager for various cellular phones
diff --git a/chat-im/tkabber/DEPENDS b/chat-im/tkabber/DEPENDS
index 5a300b9..f3532f1 100755
--- a/chat-im/tkabber/DEPENDS
+++ b/chat-im/tkabber/DEPENDS
@@ -6,6 +6,11 @@ optional_depends tkimg \
                  "" \
                  "for images support" &&
 
+optional_depends tkxwin \
+                 "" \
+                 "" \
+                 "for autoaway module functioning" &&
+
 optional_depends tls \
                  "" \
                  "" \
diff --git a/chat-im/tkabber/HISTORY b/chat-im/tkabber/HISTORY
index e9967ea..17b176f 100644
--- a/chat-im/tkabber/HISTORY
+++ b/chat-im/tkabber/HISTORY
@@ -1,3 +1,6 @@
+2008-12-11 Pol Vinogradov <vin.public at gmail.com>
+	* DEPENDS: added tkxwin for autoaway module
+
 2008-12-10 Pol Vinogradov <vin.public at gmail.com>
 	* DETAILS: updated to 0.11.1
 
diff --git a/devel/tkxwin/DEPENDS b/devel/tkxwin/DEPENDS
new file mode 100755
index 0000000..9233086
--- /dev/null
+++ b/devel/tkxwin/DEPENDS
@@ -0,0 +1,4 @@
+depends scrnsaverproto &&
+depends tcl "--with-tcl=${INSTALL_ROOT}/usr/lib" &&
+depends tk "--with-tk=${INSTALL_ROOT}/usr/lib" &&
+depends xextproto
diff --git a/devel/tkxwin/DETAILS b/devel/tkxwin/DETAILS
new file mode 100755
index 0000000..7a4a793
--- /dev/null
+++ b/devel/tkxwin/DETAILS
@@ -0,0 +1,14 @@
+           SPELL=tkxwin
+         VERSION=1.0
+          SOURCE="tkXwin-${VERSION}.tgz"
+   SOURCE_URL[0]=http://beepcore-tcl.sourceforge.net/${SOURCE}
+     SOURCE_HASH=sha512:0313ec6fc81c872019a7e247fcaac899d5d584eb8066e7abf1d1feff7bc741de43a9b8a6212ed6dcd12566e8c995bc658360833c692eea5f1b4b5fc199cf2d6e
+SOURCE_DIRECTORY="${BUILD_DIRECTORY}/tkXwin-${VERSION}"
+        WEB_SITE="http://beepcore-tcl.sourceforge.net/"
+      LICENSE[0]=GPL
+        KEYWORDS="x11 devel"
+         ENTERED=20081211
+           SHORT="Support for user idle time tracking for Tk in X Window"
+cat << EOF
+This package provides user idle time reporting in Tk under X Window.
+EOF
diff --git a/devel/tkxwin/HISTORY b/devel/tkxwin/HISTORY
new file mode 100644
index 0000000..bba71ae
--- /dev/null
+++ b/devel/tkxwin/HISTORY
@@ -0,0 +1,4 @@
+2008-12-11 Pol Vinogradov <vin.public at gmail.com>
+	* DEPENDS, DETAILS, PRE_BUILD, configure-makefile-fix.patch: spell
+	  created
+
diff --git a/devel/tkxwin/PRE_BUILD b/devel/tkxwin/PRE_BUILD
new file mode 100755
index 0000000..a32411f
--- /dev/null
+++ b/devel/tkxwin/PRE_BUILD
@@ -0,0 +1,4 @@
+default_pre_build  &&
+cd ${SOURCE_DIRECTORY}  &&
+
+patch -p0 < ${SCRIPT_DIRECTORY}/configure-makefile-fix.patch
diff --git a/devel/tkxwin/configure-makefile-fix.patch b/devel/tkxwin/configure-makefile-fix.patch
new file mode 100644
index 0000000..51ba4c7
--- /dev/null
+++ b/devel/tkxwin/configure-makefile-fix.patch
@@ -0,0 +1,33 @@
+diff -Naur configure.orig configure
+--- configure.orig	2002-08-25 15:29:53.000000000 +0900
++++ configure	2005-06-26 22:17:41.000000000 +0900
+@@ -3534,7 +3534,7 @@
+     
+ 
+ 
+-PKG_TCL=${TCL_PACKAGE_PATH}/tkXwin
++PKG_TCL=${TCL_PACKAGE_PATH%% *}/tkXwin
+ 
+ 
+ 
+--- Makefile.in.orig	2003-02-01 22:03:34.000000000 -0500
++++ Makefile.in	2003-02-01 22:04:39.000000000 -0500
+@@ -432,14 +432,14 @@
+ 
+ 
+ install-exec-hook:
+-	$(mkinstalldirs) @PKG_TCL@
++	$(mkinstalldirs) $(DESTDIR)@PKG_TCL@
+ 	echo	"package ifneeded tkXwin"				   \
+ 		`echo $(VERSION) | awk -F. '{ printf "%s.%s", $$1, $$2 }'` \
+-		"[list load $(DESTDIR)$(libdir)/libtkXwin.so]"	   \
+-	    > @PKG_TCL@/pkgIndex.tcl
++		"[list load $(libdir)/libtkXwin.so]"	   \
++	    > $(DESTDIR)@PKG_TCL@/pkgIndex.tcl
+ 	sed -e 's%load .libs/libtkXwin.so%package require tkXwin%' \
+ 	    < test.tcl      					   \
+-	    > @PKG_TCL@/test.tcl
++	    > $(DESTDIR)@PKG_TCL@/test.tcl
+ 
+ # Tell versions [3.59,3.63) of GNU make to not export all variables.
+ # Otherwise a system limit (for SysV at least) may be exceeded.



More information about the SM-Commit mailing list