diff options
author | marcus <marcus@df743ca5-7f9a-e211-a948-0013205c9059> | 2003-05-26 06:05:24 +0800 |
---|---|---|
committer | marcus <marcus@df743ca5-7f9a-e211-a948-0013205c9059> | 2003-05-26 06:05:24 +0800 |
commit | 69c17b7fa3358118b2509768934b9ced52afa434 (patch) | |
tree | c855f7da70f1783cce55d6de077b4cec231b0991 | |
parent | c95865f6cb933fc72dfc325fd6a756f042580d9c (diff) | |
download | marcuscom-ports-69c17b7fa3358118b2509768934b9ced52afa434.tar marcuscom-ports-69c17b7fa3358118b2509768934b9ced52afa434.tar.gz marcuscom-ports-69c17b7fa3358118b2509768934b9ced52afa434.tar.bz2 marcuscom-ports-69c17b7fa3358118b2509768934b9ced52afa434.tar.lz marcuscom-ports-69c17b7fa3358118b2509768934b9ced52afa434.tar.xz marcuscom-ports-69c17b7fa3358118b2509768934b9ced52afa434.tar.zst marcuscom-ports-69c17b7fa3358118b2509768934b9ced52afa434.zip |
* Update to 2.0.4
* Add a patch to use gcalctool over the now non-existent gnome-calculator [1]
Submitted by: Franz Klammer <klammer@webonaut.com>
git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@811 df743ca5-7f9a-e211-a948-0013205c9059
-rw-r--r-- | multimedia/acme/Makefile | 6 | ||||
-rw-r--r-- | multimedia/acme/files/patch-src_acme.c | 19 | ||||
-rw-r--r-- | multimedia/acme/pkg-plist | 2 |
3 files changed, 18 insertions, 9 deletions
diff --git a/multimedia/acme/Makefile b/multimedia/acme/Makefile index 29af01f55..05ca41b65 100644 --- a/multimedia/acme/Makefile +++ b/multimedia/acme/Makefile @@ -6,7 +6,7 @@ # PORTNAME= acme -PORTVERSION= 2.0.3 +PORTVERSION= 2.0.4 PORTREVISION= 1 CATEGORIES= multimedia gnome MASTER_SITES= ${MASTER_SITE_GNOME} @@ -16,8 +16,6 @@ DIST_SUBDIR= gnome2 MAINTAINER= gnome@FreeBSD.org COMMENT= Tool to make multimedia keys work on laptops -BUILD_DEPENDS= gob2:${PORTSDIR}/devel/gob2 - USE_BZIP2= yes USE_X_PREFIX= yes USE_REINPLACE= yes @@ -25,7 +23,7 @@ USE_GMAKE= yes USE_GNOME= gnomeprefix gnomehack libgnomeui libwnck USE_LIBTOOL= yes CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include -I${X11BASE}/include" \ - LIBS="-L${LOCALBASE}/lib -L${X11BASE}/lib" + LDFLAGS="-L${LOCALBASE}/lib -L${X11BASE}/lib" post-patch: @${REINPLACE_CMD} -e 's|-lpthread|${PTHREAD_LIBS}|g ; \ diff --git a/multimedia/acme/files/patch-src_acme.c b/multimedia/acme/files/patch-src_acme.c index 4da386b29..5b454e6cf 100644 --- a/multimedia/acme/files/patch-src_acme.c +++ b/multimedia/acme/files/patch-src_acme.c @@ -1,15 +1,24 @@ ---- src/acme.c.orig Sun Jan 19 06:43:45 2003 -+++ src/acme.c Mon Jan 27 18:09:38 2003 -@@ -201,10 +201,10 @@ +--- src/acme.c.orig Tue Mar 11 20:48:13 2003 ++++ src/acme.c Sun May 25 11:44:56 2003 +@@ -198,10 +198,10 @@ if ((soundfile == NULL) || (strcmp (soundfile, "") == 0)) return; - if (g_file_test ("/usr/bin/esdplay", -+ if (g_file_test ("%%LOCALBASE%%/bin/esdplay", ++ if (g_file_test ("/usr/local/bin/esdplay", (G_FILE_TEST_EXISTS | G_FILE_TEST_IS_EXECUTABLE))) { - command = g_strdup_printf ("/usr/bin/esdplay %s", -+ command = g_strdup_printf ("%%LOCALBASE%%/bin/esdplay %s", ++ command = g_strdup_printf ("/usr/local/bin/esdplay %s", soundfile); } else if (g_file_test ("/usr/bin/play", (G_FILE_TEST_EXISTS | G_FILE_TEST_IS_EXECUTABLE))) +@@ -1120,7 +1120,7 @@ + do_www_action (acme, "http://www.gnomedesktop.org"); + break; + case CALCULATOR_KEY: +- execute ("gnome-calculator", FALSE); ++ execute ("gcalctool", FALSE); + break; + case RECORD_KEY: + execute ("gnome-sound-recorder", FALSE); diff --git a/multimedia/acme/pkg-plist b/multimedia/acme/pkg-plist index ea2076502..60517b4a7 100644 --- a/multimedia/acme/pkg-plist +++ b/multimedia/acme/pkg-plist @@ -49,6 +49,8 @@ share/locale/ru/LC_MESSAGES/acme.mo share/locale/sk/LC_MESSAGES/acme.mo share/locale/sl/LC_MESSAGES/acme.mo share/locale/sq/LC_MESSAGES/acme.mo +share/locale/sr/LC_MESSAGES/acme.mo +share/locale/sr@Latn/LC_MESSAGES/acme.mo share/locale/sv/LC_MESSAGES/acme.mo share/locale/tr/LC_MESSAGES/acme.mo share/locale/uk/LC_MESSAGES/acme.mo |