Page MenuHomeFreeBSD

D4298.id10800.diff
No OneTemporary

D4298.id10800.diff

Index: net-im/pidgin-skypeweb/Makefile
===================================================================
--- net-im/pidgin-skypeweb/Makefile
+++ net-im/pidgin-skypeweb/Makefile
@@ -2,7 +2,9 @@
# $FreeBSD$
PORTNAME= pidgin-skypeweb
-PORTVERSION= 08222015
+PORTVERSION= 1.0
+DISTVERSIONPREFIX= v
+PORTEPOCH= 1
CATEGORIES= net-im
MAINTAINER= sepulkarium45@yahoo.com
@@ -15,28 +17,31 @@
RUN_DEPENDS= pidgin:${PORTSDIR}/net-im/pidgin
LIB_DEPENDS= libjson-glib-1.0.so:${PORTSDIR}/devel/json-glib
+LDFLAGS+= -L${PREFIX}/lib
+
USE_GITHUB= yes
GH_ACCOUNT= EionRobb
GH_PROJECT= skype4pidgin
-GH_TAGNAME= 08cbc21
-USES= gmake pkgconfig
+USES= cmake dos2unix pkgconfig
USE_GNOME= glib20
USE_LDCONFIG= yes
+DOS2UNIX_FILES= gpl3.txt \
+ libskypeweb.c \
+ skypeweb_connection.c \
+ skypeweb_contacts.c \
+ skypeweb_login.c \
+ skypeweb_messages.c \
+ skypeweb_util.c \
+ skypeweb_util.h \
+ theme
+
CONFLICTS_INSTALL= pidgin-skype-*
WRKSRC_SUBDIR= skypeweb
-do-install:
- ${MKDIR} ${STAGEDIR}${PREFIX}/lib/purple-2
- ${INSTALL_PROGRAM} ${WRKSRC}/libskypeweb.so ${STAGEDIR}${PREFIX}/lib/purple-2
+post-install:
${MKDIR} ${STAGEDIR}${PREFIX}/share/pixmaps/pidgin/emotes/skype
${INSTALL_DATA} ${WRKSRC}/theme ${STAGEDIR}${PREFIX}/share/pixmaps/pidgin/emotes/skype
-.for i in 16 22 48
- ${MKDIR} ${STAGEDIR}${PREFIX}/share/pixmaps/pidgin/protocols/${i}
- ${INSTALL_DATA} ${WRKSRC}/icons/${i}/skypeout.png \
- ${WRKSRC}/icons/${i}/skype.png \
- ${STAGEDIR}${PREFIX}/share/pixmaps/pidgin/protocols/${i}/
-.endfor
.include <bsd.port.mk>
Index: net-im/pidgin-skypeweb/distinfo
===================================================================
--- net-im/pidgin-skypeweb/distinfo
+++ net-im/pidgin-skypeweb/distinfo
@@ -1,2 +1,2 @@
-SHA256 (EionRobb-skype4pidgin-08222015-08cbc21_GH0.tar.gz) = c76481b4153404d1c8bb0ec5872ed0e51d2fc5456c5f114ebfa4c5ec62e2bd91
-SIZE (EionRobb-skype4pidgin-08222015-08cbc21_GH0.tar.gz) = 314925
+SHA256 (EionRobb-skype4pidgin-v1.0_GH0.tar.gz) = bb392d152f99d53a46841304672698560b50ae256a35c79920f3a2be9b5d876f
+SIZE (EionRobb-skype4pidgin-v1.0_GH0.tar.gz) = 315862
Index: x11-clocks/wmfishtime/Makefile
===================================================================
--- x11-clocks/wmfishtime/Makefile
+++ x11-clocks/wmfishtime/Makefile
@@ -3,26 +3,38 @@
PORTNAME= wmfishtime
PORTVERSION= 1.24
-PORTREVISION= 5
+PORTREVISION= 6
CATEGORIES= x11-clocks windowmaker
MASTER_SITES= http://www.ne.jp/asahi/linux/timecop/software/ \
- http://atreides.freenix.no/~anders/
+ http://www.sourcefiles.org/Toys/Clocks/
MAINTAINER= ports@FreeBSD.org
COMMENT= Time/date applet for WindowMaker with fishes swimming around
-USE_GNOME= gtk12
+LICENSE= GPLv2
+LICENSE_FILE= ${WRKSRC}/COPYING
+
+USES= pkgconfig
-BROKEN= does not fetch
-GTK_LIBS?= `${GTK_CONFIG} --libs`
-GTK_CFLAGS?= `${GTK_CONFIG} --cflags`
MAKE_ARGS+= CFLAGS="${CPPFLAGS} ${CFLAGS} -Wall ${GTK_CFLAGS}" \
LDFLAGS="${LDFLAGS}" \
GTK_LIBS="${GTK_LIBS}"
-PLIST_FILES= bin/wmfishtime man/man1/${PORTNAME}.1.gz
+PLIST_FILES= bin/wmfishtime man/man1/wmfishtime.1.gz
+
+OPTIONS_SINGLE= TOOLKIT
+OPTIONS_SINGLE_TOOLKIT= GTK1 GTK2
+OPTIONS_DEFAULT= GTK2
+
+GTK1_USE= gnome=gtk12
+GTK1_CPPFLAGS= $$(pkg-config --cflags gdk)
+GTK1_LDFLAGS= $$(pkg-config --libs gdk)
+GTK2_USE= gnome=gtk20
+GTK2_CPPFLAGS= $$(pkg-config --cflags gdk-x11-2.0 x11)
+GTK2_LDFLAGS= $$(pkg-config --libs gdk-x11-2.0 x11) -lm
+TOOLKIT_DESC= GTK Toolkit
post-patch:
- ${REINPLACE_CMD} -E -e "s@1\.23@1\.24@g" ${WRKSRC}/fishmon.c ${WRKSRC}/wmfishtime.1
+ ${REINPLACE_CMD} -E -e 's|1\.23|${PORTVERSION}|g' ${WRKSRC}/fishmon.c ${WRKSRC}/wmfishtime.1
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/wmfishtime ${STAGEDIR}${PREFIX}/bin
Index: x11-clocks/wmfishtime/files/patch-fishmon.c
===================================================================
--- x11-clocks/wmfishtime/files/patch-fishmon.c
+++ x11-clocks/wmfishtime/files/patch-fishmon.c
@@ -1,6 +1,39 @@
---- fishmon.c.orig Sun May 27 05:53:09 2001
-+++ fishmon.c Mon Jul 7 04:01:52 2003
-@@ -1018,26 +1018,28 @@
+--- fishmon.c.orig 2004-05-12 23:55:59 UTC
++++ fishmon.c
+@@ -152,6 +152,10 @@ static char month[12][4] = { "JAN", "FEB
+
+ int main(int argc, char **argv)
+ {
++#if (GTK_MAJOR_VERSION >= 2)
++ /* This is needed to proper dockapp work on >=GTK+=2.18 */
++ setenv("GDK_NATIVE_WINDOWS", "1", 0);
++#endif
+ int ch;
+ GdkEvent *event;
+ #ifdef PRO
+@@ -648,6 +652,9 @@ static void make_new_fishmon_dockapp(voi
+
+ /* make a copy for the iconwin - parameters are the same */
+ memcpy(&attri, &attr, sizeof(GdkWindowAttr));
++#if (GTK_MAJOR_VERSION >= 2)
++ attri.window_type = GTK_WINDOW_CHILD;
++#endif
+
+ sizehints.flags = USSize;
+ sizehints.width = 64;
+@@ -679,7 +686,11 @@ static void make_new_fishmon_dockapp(voi
+ wmhints.window_group = win;
+ wmhints.flags =
+ StateHint | IconWindowHint | IconPositionHint | WindowGroupHint;
++#if (GTK_MAJOR_VERSION >= 2)
++ gdk_window_show(bm.iconwin);
++#else
+ XSetWMHints(GDK_WINDOW_XDISPLAY(bm.win), win, &wmhints);
++#endif
+
+ bm.gc = gdk_gc_new(bm.win);
+
+@@ -1020,27 +1031,29 @@ static void parse_options(int argc, char
{
static int ch = 0;
static struct option long_opts[] = {
@@ -31,12 +64,13 @@
+ case 'v':
do_version();
exit(0);
-+ break;
+ break;
+ case 'c':
+ enable_check_mail = 1;
+ break;
+ case 'b':
+ broken_wm = 1;
- break;
++ break;
}
}
+ }
Index: x11-clocks/wmfishtime/pkg-descr
===================================================================
--- x11-clocks/wmfishtime/pkg-descr
+++ x11-clocks/wmfishtime/pkg-descr
@@ -1,9 +1,9 @@
-This is a time/date applet for WindowMaker (and BlackBox, E, SawFish...). Top
-part has the clock face, bottom part has day of the week, followed by day,
-followed by month. Yellow hand counts seconds, green hand counts minutes, red
-hand counts hours. Few seconds after startup there are at least 32 bubbles
-floating up behind the clock face. There are 4 fishes randomly swimming back
-and forth. If you move your mouse inside the dockapp window, the fish will get
-scared and run away.
+WMFishTime is a time/date applet for WindowMaker (and BlackBox, E,
+SawFish...). Top part has the clock face, bottom part has day of the
+week, followed by day, followed by month. Yellow hand counts seconds,
+green hand counts minutes, red hand counts hours. Few seconds after
+startup there are at least 32 bubbles floating up behind the clock face.
+There are 4 fishes randomly swimming back and forth. If you move your
+mouse inside the dockapp window, the fish will get scared and run away.
WWW: http://www.ne.jp/asahi/linux/timecop/#wmfishtime

File Metadata

Mime Type
text/plain
Expires
Fri, Jul 24, 3:15 AM (46 m, 29 s)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
35427393
Default Alt Text
D4298.id10800.diff (6 KB)

Event Timeline