svn commit: r548408 - in head: . x11-clocks x11-clocks/cairo-clock x11-clocks/cairo-clock/files

Yuri Victorovich yuri at FreeBSD.org
Sat Sep 12 18:58:00 UTC 2020


Author: yuri
Date: Sat Sep 12 18:57:57 2020
New Revision: 548408
URL: https://svnweb.freebsd.org/changeset/ports/548408

Log:
  Re-add port: x11-clocks/cairo-clock: Analog clock displaying the system-time

Added:
  head/x11-clocks/cairo-clock/
     - copied from r514600, head/x11-clocks/cairo-clock/
  head/x11-clocks/cairo-clock/files/
  head/x11-clocks/cairo-clock/files/patch-src_Makefile.in   (contents, props changed)
  head/x11-clocks/cairo-clock/files/patch-src_cairo-clock.c   (contents, props changed)
Modified:
  head/MOVED
  head/x11-clocks/Makefile
  head/x11-clocks/cairo-clock/Makefile
  head/x11-clocks/cairo-clock/distinfo
  head/x11-clocks/cairo-clock/pkg-descr
  head/x11-clocks/cairo-clock/pkg-plist

Modified: head/MOVED
==============================================================================
--- head/MOVED	Sat Sep 12 18:38:40 2020	(r548407)
+++ head/MOVED	Sat Sep 12 18:57:57 2020	(r548408)
@@ -13331,7 +13331,6 @@ x11/dynamag||2019-10-16|Has expired: Unfetchable, unma
 x11/xcurs||2019-10-16|Has expired: Unfetchable, unmaintained
 x11/xscreensaver-gnome||2019-10-16|Has expired: Unfetchable, unmaintained
 x11/xscreensaver-gnome-hacks||2019-10-16|Has expired: Unfetchable, unmaintained
-x11-clocks/cairo-clock||2019-10-16|Has expired: Unfetchable, unmaintained
 x11-clocks/pclock||2019-10-16|Has expired: Unfetchable, unmaintained
 x11-clocks/stopwatch||2019-10-16|Has expired: Unfetchable, unmaintained
 x11-clocks/wmfuzzy||2019-10-16|Has expired: Unfetchable, unmaintained

Modified: head/x11-clocks/Makefile
==============================================================================
--- head/x11-clocks/Makefile	Sat Sep 12 18:38:40 2020	(r548407)
+++ head/x11-clocks/Makefile	Sat Sep 12 18:57:57 2020	(r548408)
@@ -13,6 +13,7 @@
     SUBDIR += bbdate
     SUBDIR += bclock
     SUBDIR += buici-clock
+    SUBDIR += cairo-clock
     SUBDIR += dclock
     SUBDIR += emiclock
     SUBDIR += eyeclock

Modified: head/x11-clocks/cairo-clock/Makefile
==============================================================================
--- head/x11-clocks/cairo-clock/Makefile	Wed Oct 16 15:29:20 2019	(r514600)
+++ head/x11-clocks/cairo-clock/Makefile	Sat Sep 12 18:57:57 2020	(r548408)
@@ -1,31 +1,27 @@
-# Created by: chinsan
 # $FreeBSD$
 
 PORTNAME=	cairo-clock
-PORTVERSION=	0.3.4
-PORTREVISION=	4
-CATEGORIES=	x11-clocks net gnome
-MASTER_SITES=	http://macslow.thepimp.net/projects/cairo-clock/
+DISTVERSION=	0.3.4
+CATEGORIES=	x11-clocks
+MASTER_SITES=	http://ftp.de.debian.org/debian/pool/main/c/cairo-clock/
+DISTNAME=	${PORTNAME}_${DISTVERSION}.orig
 
-MAINTAINER=	ports at FreeBSD.org
-COMMENT=	MacSlow's Cairo-Clock
+MAINTAINER=	yuri at FreeBSD.org
+COMMENT=	Analog clock displaying the system-time
 
-BROKEN=		unfetchable
-DEPRECATED=	Unfetchable, unmaintained
-EXPIRATION_DATE=	2019-10-16
+LICENSE=	GPLv2
+LICENSE_FILE=	${WRKSRC}/COPYING
 
-USE_GNOME=	gtk20 intlhack libglade2 librsvg2
-USES=		pathfix iconv gmake localbase:ldflags pkgconfig gettext
+BUILD_DEPENDS=	p5-XML-Parser>0:textproc/p5-XML-Parser
+LIB_DEPENDS=	libfontconfig.so:x11-fonts/fontconfig \
+		libfreetype.so:print/freetype2
+
+USES=		gettext gmake gnome iconv perl5 pkgconfig
 GNU_CONFIGURE=	yes
-USE_LDCONFIG=	yes
+USE_GNOME=	atk cairo gdkpixbuf2 glib20 gtk20 libglade2 pango librsvg2 libxml2
 
-post-patch:
-	@${GZIP_CMD} -d ${WRKSRC}/man/cairo-clock.1.gz
-	@${REINPLACE_CMD} -e 's,.gz,,; s,datadir)\/man,prefix)\/man,' \
-		${WRKSRC}/man/Makefile.in
+WRKSRC=		${WRKDIR}/${PORTNAME}-${PORTVERSION}
 
-post-configure:
-	@${REINPLACE_CMD} -e 's,--export-dynamic,-export-dynamic,' \
-		${WRKSRC}/src/Makefile
+MAKE_ARGS=	GMSGFMT=msgfmt DATADIRNAME=share
 
 .include <bsd.port.mk>

Modified: head/x11-clocks/cairo-clock/distinfo
==============================================================================
--- head/x11-clocks/cairo-clock/distinfo	Wed Oct 16 15:29:20 2019	(r514600)
+++ head/x11-clocks/cairo-clock/distinfo	Sat Sep 12 18:57:57 2020	(r548408)
@@ -1,2 +1,3 @@
-SHA256 (cairo-clock-0.3.4.tar.gz) = f310de5bc03473a190d691679a831cd305351744ccf6eb7701f43dda6cd98a8d
-SIZE (cairo-clock-0.3.4.tar.gz) = 832968
+TIMESTAMP = 1599931360
+SHA256 (cairo-clock_0.3.4.orig.tar.gz) = f310de5bc03473a190d691679a831cd305351744ccf6eb7701f43dda6cd98a8d
+SIZE (cairo-clock_0.3.4.orig.tar.gz) = 832968

Added: head/x11-clocks/cairo-clock/files/patch-src_Makefile.in
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/x11-clocks/cairo-clock/files/patch-src_Makefile.in	Sat Sep 12 18:57:57 2020	(r548408)
@@ -0,0 +1,11 @@
+--- src/Makefile.in.orig	2020-09-12 17:31:13 UTC
++++ src/Makefile.in
+@@ -226,7 +226,7 @@ sysconfdir = @sysconfdir@
+ target_alias = @target_alias@
+ top_builddir = @top_builddir@
+ top_srcdir = @top_srcdir@
+-cairo_clock_LDFLAGS = -Wl, --export-dynamic
++cairo_clock_LDFLAGS = -Wl,--export-dynamic
+ cairo_clock_LDADD = \
+ 	$(GLIB_LIBS)	\
+ 	$(GTK_LIBS)	\

Added: head/x11-clocks/cairo-clock/files/patch-src_cairo-clock.c
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/x11-clocks/cairo-clock/files/patch-src_cairo-clock.c	Sat Sep 12 18:57:57 2020	(r548408)
@@ -0,0 +1,20 @@
+--- src/cairo-clock.c.orig	2008-02-27 11:02:57 UTC
++++ src/cairo-clock.c
+@@ -1486,7 +1486,7 @@ main (int    argc,
+ 					      "mainWindow");
+ 	g_pErrorDialog = glade_xml_get_widget (pGladeXml,
+ 					      "errorDialog");
+-
++#if 0
+ 	if (!gdk_screen_is_composited (gtk_widget_get_screen (g_pMainWindow)))
+ 	{
+ 		gtk_window_set_icon_from_file (GTK_WINDOW (g_pErrorDialog),
+@@ -1495,7 +1495,7 @@ main (int    argc,
+ 		gtk_dialog_run (GTK_DIALOG (g_pErrorDialog));
+ 		exit (2);
+ 	}
+-
++#endif
+ 	g_pPopUpMenu = glade_xml_get_widget (pGladeXml,
+ 					     "popUpMenu");
+ 	pSettingsMenuItem = glade_xml_get_widget (pGladeXml,

Modified: head/x11-clocks/cairo-clock/pkg-descr
==============================================================================
--- head/x11-clocks/cairo-clock/pkg-descr	Wed Oct 16 15:29:20 2019	(r514600)
+++ head/x11-clocks/cairo-clock/pkg-descr	Sat Sep 12 18:57:57 2020	(r548408)
@@ -1,6 +1,3 @@
-It is an analog clock displaying the system-time.
-It leverages the new visual features offered by Xorg 6.9/7.0 in combination
-with a compositing-manager (e.g. like xcompmgr), gtk+ 2.8.x, cairo 1.0.2 and
-librsvg 2.13.93 to produce a time-display with pretty-pixels.
+Caito-based analog clock displaying the system-time.
 
-WWW: http://macslow.thepimp.net/?page_id=23
+WWW: https://launchpad.net/cairo-clock

Modified: head/x11-clocks/cairo-clock/pkg-plist
==============================================================================
--- head/x11-clocks/cairo-clock/pkg-plist	Wed Oct 16 15:29:20 2019	(r514600)
+++ head/x11-clocks/cairo-clock/pkg-plist	Sat Sep 12 18:57:57 2020	(r548408)
@@ -1,5 +1,4 @@
 bin/cairo-clock
-man/man1/cairo-clock.1.gz
 share/applications/cairo-clock.desktop
 %%DATADIR%%/glade/cairo-clock.glade
 %%DATADIR%%/pixmaps/cairo-clock-logo.png
@@ -249,4 +248,5 @@ share/locale/sv/LC_MESSAGES/cairo-clock.mo
 share/locale/tr/LC_MESSAGES/cairo-clock.mo
 share/locale/zh_CN/LC_MESSAGES/cairo-clock.mo
 share/locale/zh_TW/LC_MESSAGES/cairo-clock.mo
+share/man/man1/cairo-clock.1.gz
 share/pixmaps/cairo-clock.png


More information about the svn-ports-all mailing list