FreeBSD Bugzilla – Attachment 173228 Details for
Bug 211297
x11/workrave: Update to 1.10.15, take maintainership
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
workrave.diff
workrave.diff (text/plain), 16.69 KB, created by
Tobias Kortkamp
on 2016-08-03 14:42:05 UTC
(
hide
)
Description:
workrave.diff
Filename:
MIME Type:
Creator:
Tobias Kortkamp
Created:
2016-08-03 14:42:05 UTC
Size:
16.69 KB
patch
obsolete
>Index: Makefile >=================================================================== >--- Makefile (revision 419237) >+++ Makefile (working copy) >@@ -2,46 +2,67 @@ > # $FreeBSD$ > > PORTNAME= workrave >-PORTVERSION= 1.10.1 >-PORTREVISION= 2 >-CATEGORIES= x11 gnome >-MASTER_SITES= SF >+PORTVERSION= 1.10.15 >+CATEGORIES= x11 > >-MAINTAINER= ports@FreeBSD.org >+MAINTAINER= t@tobik.me > COMMENT= RSI prevention tool > > LICENSE= GPLv3+ > >-BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}cheetah>0:devel/py-cheetah > LIB_DEPENDS= libgdome.so:textproc/gdome2 > >-USES= gettext gmake pathfix pkgconfig python:2.7 >-USE_XORG= recordproto x11 xext xmu xscrnsaver xtst >-USE_GNOME= intlhack gconf2 gtkmm24 >+USES= autoreconf:build gettext gmake libtool pathfix pkgconfig >+USE_XORG= ice recordproto sm x11 xext xmu xscrnsaver xtst >+USE_GNOME= intltool intlhack introspection gtkmm30 > GNU_CONFIGURE= yes >-CONFIGURE_ARGS= --disable-silent-rules --enable-gconf --disable-gnome3 \ >+CONFIGURE_ARGS= --disable-silent-rules \ >+ --disable-gsettings \ >+ --disable-pulse \ >+ --disable-gconf \ >+ --disable-mate \ >+ --disable-gnome2 \ >+ --disable-gnome3 \ >+ --disable-xfce \ > --disable-indicator > INSTALLS_ICONS= yes >+USE_LDCONFIG= yes > >-CPPFLAGS+= -I${LOCALBASE}/include >-LIBS+= -L${LOCALBASE}/lib >+USE_GITHUB= yes >+GH_ACCOUNT= rcaelers >+GH_TAGNAME= v${PORTVERSION:S/./_/g} > >-OPTIONS_DEFINE= GNOME GSTREAMER PULSEAUDIO >-OPTIONS_DEFAULT= GSTREAMER >+CFLAGS+= -I${LOCALBASE}/include >+LDFLAGS+= -L${LOCALBASE}/lib >+ >+INSTALL_TARGET= install-strip >+ >+OPTIONS_DEFINE= DBUS DISTRIBUTION GSTREAMER >+OPTIONS_DEFAULT= DBUS GSTREAMER > OPTIONS_SUB= yes > >-GNOME_USE= gnome=gnomepanel >-GNOME_LIB_DEPENDS= libgnomeuimm-2.6.so:x11-toolkits/libgnomeuimm26 >-GNOME_CONFIGURE_ENABLE= gnome2 >-GSTREAMER_USE= gstreamer=good >+DISTRIBUTION_DESC= Build with networking support >+ >+DBUS_BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}cheetah>0:devel/py-cheetah >+DBUS_CONFIGURE_ENABLE= dbus >+DBUS_USES= python:2.7 >+ >+DISTRIBUTION_CONFIGURE_ENABLE= distribution >+ >+GSTREAMER_LIB_DEPENDS= libgstreamer-1.0.so:multimedia/gstreamer1 > GSTREAMER_CONFIGURE_ENABLE= gstreamer >-PULSEAUDIO_LIB_DEPENDS= libpulse.so:audio/pulseaudio >-PULSEAUDIO_CONFIGURE_ENABLE= pulse >+GSTREAMER_USE= gstreamer1=good > >+# Remove gnome-shell cinnamon subdirs from build, so it doesn't install >+# unused files > post-patch: >- @${REINPLACE_CMD} -e \ >- '/if test/s|==|=|' ${WRKSRC}/configure >- @${REINPLACE_CMD} -e \ >- 's| gnome-shell$$||' ${WRKSRC}/frontend/applets/Makefile.in >+ @${REINPLACE_CMD} -e 's| gnome-shell cinnamon | |' \ >+ ${WRKSRC}/frontend/applets/Makefile.am > >+# Run bundled autogen.sh instead of relying on USES=autoreconf which >+# leads to errors like >+# config.status: error: po/Makefile.in.in was not created by intltoolize. >+pre-configure: >+ @cd ${WRKSRC} && ./autogen.sh >+ > .include <bsd.port.mk> >Index: distinfo >=================================================================== >--- distinfo (revision 419237) >+++ distinfo (working copy) >@@ -1,2 +1,3 @@ >-SHA256 (workrave-1.10.1.tar.gz) = 6ef89aebd278e27d3b73896485e7d8aaef415e7d18318d3bb7ba0d0507bd48de >-SIZE (workrave-1.10.1.tar.gz) = 6800197 >+TIMESTAMP = 1469179894 >+SHA256 (rcaelers-workrave-1.10.15-v1_10_15_GH0.tar.gz) = fa05bedbb32baae9d22ef2b1ac25e90bc9f1363ce588b396190b0240559f471c >+SIZE (rcaelers-workrave-1.10.15-v1_10_15_GH0.tar.gz) = 6375380 >Index: files/patch-System.cc >=================================================================== >--- files/patch-System.cc (revision 419237) >+++ files/patch-System.cc (nonexistent) >@@ -1,20 +0,0 @@ >---- frontend/common/src/System.cc.old 2011-05-17 11:54:41.000000000 -0500 >-+++ frontend/common/src/System.cc 2011-05-17 11:55:13.000000000 -0500 >-@@ -41,15 +41,12 @@ >- #include <X11/Xproto.h> >- #include <X11/Xlib.h> >- #include <X11/Xutil.h> >-+#include <sys/wait.h> >- #ifdef HAVE_APP_GTK >- #include <gdk/gdkx.h> >- #endif >- #endif >- >--#if defined(HAVE_UNIX) >--#include <sys/wait.h> >--#endif >-- >- #ifdef PLATFORM_OS_WIN32 >- #include <shlobj.h> >- #include <shldisp.h> >- > >Property changes on: files/patch-System.cc >___________________________________________________________________ >Deleted: fbsd:nokeywords >## -1 +0,0 ## >-yes >\ No newline at end of property >Deleted: svn:eol-style >## -1 +0,0 ## >-native >\ No newline at end of property >Deleted: svn:mime-type >## -1 +0,0 ## >-text/plain >\ No newline at end of property >Index: files/patch-backend__include__ICore.hh >=================================================================== >--- files/patch-backend__include__ICore.hh (revision 419237) >+++ files/patch-backend__include__ICore.hh (nonexistent) >@@ -1,10 +0,0 @@ >---- backend/include/ICore.hh.orig 2010-12-05 21:01:31.000000000 +0300 >-+++ backend/include/ICore.hh 2014-05-17 03:18:53.674936521 +0400 >-@@ -21,6 +21,7 @@ >- #define ICORE_HH >- >- #include <string> >-+#include <ctime> >- >- #include "enum.h" >- > >Property changes on: files/patch-backend__include__ICore.hh >___________________________________________________________________ >Deleted: fbsd:nokeywords >## -1 +0,0 ## >-yes >\ No newline at end of property >Deleted: svn:eol-style >## -1 +0,0 ## >-native >\ No newline at end of property >Deleted: svn:mime-type >## -1 +0,0 ## >-text/plain >\ No newline at end of property >Index: files/patch-backend_include_ICore.hh >=================================================================== >--- files/patch-backend_include_ICore.hh (nonexistent) >+++ files/patch-backend_include_ICore.hh (working copy) >@@ -0,0 +1,11 @@ >+This is needed for compiling on FreeBSD >= 11.0. >+--- backend/include/ICore.hh.orig 2016-08-03 13:08:26 UTC >++++ backend/include/ICore.hh >+@@ -21,6 +21,7 @@ >+ #define ICORE_HH >+ >+ #include <string> >++#include <ctime> >+ >+ #include "enum.h" >+ > >Property changes on: files/patch-backend_include_ICore.hh >___________________________________________________________________ >Added: fbsd:nokeywords >## -0,0 +1 ## >+yes >\ No newline at end of property >Added: svn:eol-style >## -0,0 +1 ## >+native >\ No newline at end of property >Added: svn:mime-type >## -0,0 +1 ## >+text/plain >\ No newline at end of property >Index: files/patch-backends__src__unix__Makefile.in >=================================================================== >--- files/patch-backends__src__unix__Makefile.in (revision 419237) >+++ files/patch-backends__src__unix__Makefile.in (nonexistent) >@@ -1,11 +0,0 @@ >---- backend/src/unix/Makefile.in.orig >-+++ backend/src/unix/Makefile.in >-@@ -388,7 +388,7 @@ >- -DWORKRAVE_PKGDATADIR="\"${pkgdatadir}\"" \ >- -D_XOPEN_SOURCE=600 \ >- @WR_COMMON_INCLUDES@ \ >-- @GLIB_CFLAGS@ @GTK_CFLAGS@ @GCONF_CFLAGS@ >-+ @GLIB_CFLAGS@ @GTK_CFLAGS@ @GCONF_CFLAGS@ @GNOME2_CFLAGS@ >- >- EXTRA_DIST = $(wildcard $(srcdir)/*.cc) $(wildcard $(srcdir)/*.rc)\ >- $(wildcard $(srcdir)/*.hh) $(wildcard $(srcdir)/*.h) $(wildcard $(srcdir)/*.icc) > >Property changes on: files/patch-backends__src__unix__Makefile.in >___________________________________________________________________ >Deleted: fbsd:nokeywords >## -1 +0,0 ## >-yes >\ No newline at end of property >Deleted: svn:eol-style >## -1 +0,0 ## >-native >\ No newline at end of property >Deleted: svn:mime-type >## -1 +0,0 ## >-text/plain >\ No newline at end of property >Index: files/patch-common_src_Locale.cc >=================================================================== >--- files/patch-common_src_Locale.cc (nonexistent) >+++ files/patch-common_src_Locale.cc (working copy) >@@ -0,0 +1,27 @@ >+--- common/src/Locale.cc.orig 2016-05-11 16:14:20 UTC >++++ common/src/Locale.cc >+@@ -258,22 +258,8 @@ Locale::get_week_start() >+ >+ #ifdef PLATFORM_OS_UNIX >+ union { unsigned int word; char *string; } langinfo; >+- gint week_1stday = 0; >+- gint first_weekday = 1; >+- guint week_origin; >+- >+- langinfo.string = nl_langinfo(_NL_TIME_FIRST_WEEKDAY); >+- first_weekday = langinfo.string[0]; >+- langinfo.string = nl_langinfo(_NL_TIME_WEEK_1STDAY); >+- week_origin = langinfo.word; >+- if (week_origin == 19971130) /* Sunday */ >+- week_1stday = 0; >+- else if (week_origin == 19971201) /* Monday */ >+- week_1stday = 1; >+- else >+- g_warning ("Unknown value of _NL_TIME_WEEK_1STDAY.\n"); >+- >+- week_start = (week_1stday + first_weekday - 1) % 7; >++ langinfo.string = nl_langinfo(DAY_1); >++ week_start = langinfo.string[0]; >+ #endif >+ >+ return week_start; > >Property changes on: files/patch-common_src_Locale.cc >___________________________________________________________________ >Added: fbsd:nokeywords >## -0,0 +1 ## >+yes >\ No newline at end of property >Added: svn:eol-style >## -0,0 +1 ## >+native >\ No newline at end of property >Added: svn:mime-type >## -0,0 +1 ## >+text/plain >\ No newline at end of property >Index: files/patch-configure >=================================================================== >--- files/patch-configure (revision 419237) >+++ files/patch-configure (nonexistent) >@@ -1,39 +0,0 @@ >---- configure.orig >-+++ configure >-@@ -19237,36 +19237,6 @@ >- enable_monitors="${enable_monitors}x11events" >- fi >- >-- loop=${enable_monitors}, >-- >-- while echo $loop | grep \, &> /dev/null >-- do >-- monitor=${loop%%\,*} >-- loop=${loop#*\,} >-- >-- case "$monitor" in >-- record) >-- if test "x$have_xrecord" != "xyes" ; then >-- as_fn_error $? "record activity monitor not supported." "$LINENO" 5 >-- fi >-- ;; >-- >-- x11events) >-- ;; >-- >-- screensaver) >-- if test "x$have_xscreensaver" != "xyes" ; then >-- as_fn_error $? "screensaver activity monitor not supported." "$LINENO" 5 >-- fi >-- ;; >-- >-- *) >-- as_fn_error $? "unknown activity monitor: $monitor" "$LINENO" 5 >-- ;; >-- >-- esac >-- done >-- >- >- cat >>confdefs.h <<_ACEOF >- #define HAVE_MONITORS "$enable_monitors" > >Property changes on: files/patch-configure >___________________________________________________________________ >Deleted: fbsd:nokeywords >## -1 +0,0 ## >-yes >\ No newline at end of property >Deleted: svn:eol-style >## -1 +0,0 ## >-native >\ No newline at end of property >Deleted: svn:mime-type >## -1 +0,0 ## >-text/plain >\ No newline at end of property >Index: files/patch-configure.ac >=================================================================== >--- files/patch-configure.ac (nonexistent) >+++ files/patch-configure.ac (working copy) >@@ -0,0 +1,97 @@ >+--- configure.ac.orig 2016-05-11 16:14:20 UTC >++++ configure.ac >+@@ -417,8 +417,7 @@ then >+ with_cxx11=no >+ # Enable C++11 std if gtkmm >= 3.18.0 >+ PKG_CHECK_MODULES(GTKMM, gtkmm-3.0 >= 3.18.0, >+- [ AX_CXX_COMPILE_STDCXX_11([noext]) >+- with_cxx11=yes >++ [ with_cxx11=yes >+ ], >+ [] >+ ) >+@@ -447,36 +446,6 @@ then >+ enable_monitors="${enable_monitors}x11events" >+ fi >+ >+- loop=${enable_monitors}, >+- >+- while echo $loop | grep \, &> /dev/null >+- do >+- monitor=${loop%%\,*} >+- loop=${loop#*\,} >+- >+- case "$monitor" in >+- record) >+- if test "x$have_xrecord" != "xyes" ; then >+- AC_MSG_ERROR([record activity monitor not supported.]) >+- fi >+- ;; >+- >+- x11events) >+- ;; >+- >+- screensaver) >+- if test "x$have_xscreensaver" != "xyes" ; then >+- AC_MSG_ERROR([screensaver activity monitor not supported.]) >+- fi >+- ;; >+- >+- *) >+- AC_MSG_ERROR([unknown activity monitor: $monitor]) >+- ;; >+- >+- esac >+- done >+- >+ AC_DEFINE_UNQUOTED(HAVE_MONITORS, "$enable_monitors", "Enabled activity monitors") >+ >+ fi >+@@ -815,21 +784,11 @@ dnl >+ dnl GConf >+ dnl >+ >++dnl Do not want >+ config_gconf=no >+- >+-if test "x$enable_gconf" != "xno" -a "x$config_gnome3" != "xyes" >+-then >+- PKG_CHECK_MODULES([GCONF], >+- [gconf-2.0 >= 2.31.1], >+- [config_gconf=yes >+- AC_DEFINE([HAVE_GCONF], , [Define if GConf is available])], >+- [if test "x$enable_gconf" = "xyes"; then >+- AC_MSG_ERROR([GConf development headers not found.]) >+- fi]) >+-fi >+- >+-AM_CONDITIONAL(HAVE_GCONF, test "x$config_gconf" = "xyes") >+- >++AC_SUBST([GCONF_CFLAGS], []) >++AC_SUBST([GCONF_LIBS], []) >++AM_CONDITIONAL(HAVE_GCONF, false) >+ >+ dnl >+ dnl XML >+@@ -892,13 +851,6 @@ config_gstreamer=no >+ >+ if test "x$enable_gstreamer" != "xno"; >+ then >+- PKG_CHECK_MODULES([GSTREAMER], >+- [gstreamer-0.10], >+- [config_gstreamer=yes >+- AC_DEFINE(HAVE_GSTREAMER, 1, [Use GStreamer for playing sounds])], [ ]) >+- >+- if test "x$config_gstreamer" != "xyes"; >+- then >+ PKG_CHECK_MODULES([GSTREAMER], >+ [gstreamer-1.0], >+ [config_gstreamer=yes >+@@ -906,7 +858,6 @@ then >+ [if test "x$enable_gstreamer" = "xyes"; then >+ AC_MSG_ERROR([GStreamer development headers not found.]) >+ fi]) >+- fi >+ fi >+ >+ > >Property changes on: files/patch-configure.ac >___________________________________________________________________ >Added: fbsd:nokeywords >## -0,0 +1 ## >+yes >\ No newline at end of property >Added: svn:eol-style >## -0,0 +1 ## >+native >\ No newline at end of property >Added: svn:mime-type >## -0,0 +1 ## >+text/plain >\ No newline at end of property >Index: files/patch-frontend__common__src__Makefile.in >=================================================================== >--- files/patch-frontend__common__src__Makefile.in (revision 419237) >+++ files/patch-frontend__common__src__Makefile.in (nonexistent) >@@ -1,11 +0,0 @@ >---- frontend/common/src/Makefile.in.orig >-+++ frontend/common/src/Makefile.in >-@@ -418,7 +418,7 @@ >- -I$(top_srcdir)/frontend/common/src/win32 \ >- -I$(top_srcdir)/frontend/common/src/osx \ >- @WR_COMMON_INCLUDES@ @WR_BACKEND_INCLUDES@ @PULSE_CFLAGS@ \ >-- @GTK_CFLAGS@ @GLIB_CFLAGS@ @GSTREAMER_CFLAGS@ \ >-+ @GTK_CFLAGS@ @GLIB_CFLAGS@ @GSTREAMER_CFLAGS@ @GNOME2_CFLAGS@ \ >- -I$(top_srcdir)/common/win32/harpoon/include >- >- all: all-recursive > >Property changes on: files/patch-frontend__common__src__Makefile.in >___________________________________________________________________ >Deleted: fbsd:nokeywords >## -1 +0,0 ## >-yes >\ No newline at end of property >Deleted: svn:eol-style >## -1 +0,0 ## >-native >\ No newline at end of property >Deleted: svn:mime-type >## -1 +0,0 ## >-text/plain >\ No newline at end of property >Index: files/patch-frontend_common_src_ScreenLockCommandline.cc >=================================================================== >--- files/patch-frontend_common_src_ScreenLockCommandline.cc (nonexistent) >+++ files/patch-frontend_common_src_ScreenLockCommandline.cc (working copy) >@@ -0,0 +1,11 @@ >+--- frontend/common/src/ScreenLockCommandline.cc.orig 2016-05-11 16:14:20 UTC >++++ frontend/common/src/ScreenLockCommandline.cc >+@@ -27,6 +27,8 @@ >+ #include <glib.h> >+ #endif >+ >++#include <sys/wait.h> >++ >+ #include "ScreenLockCommandline.hh" >+ #include "debug.hh" >+ > >Property changes on: files/patch-frontend_common_src_ScreenLockCommandline.cc >___________________________________________________________________ >Added: fbsd:nokeywords >## -0,0 +1 ## >+yes >\ No newline at end of property >Added: svn:eol-style >## -0,0 +1 ## >+native >\ No newline at end of property >Added: svn:mime-type >## -0,0 +1 ## >+text/plain >\ No newline at end of property >Index: pkg-descr >=================================================================== >--- pkg-descr (revision 419237) >+++ pkg-descr (working copy) >@@ -1,10 +1,6 @@ > Workrave is a program that assists in the recovery and prevention of >-Repetitive Strain Injury (RSI). The program frequently alerts you to >+Repetitive Strain Injury (RSI). The program frequently alerts you to > take micro-pauses, rest breaks and restricts you to your daily limit. > These can be customized and it stops the counter when you stop. > >-The program can be run distributed on one or more PCs. All connected >-PCs share the same timing information. When you switch computers, you >-will still be asked to pause on time. >- > WWW: http://www.workrave.org/ >Index: pkg-plist >=================================================================== >--- pkg-plist (revision 419237) >+++ pkg-plist (working copy) >@@ -1,9 +1,13 @@ >-%%NO_GNOME%%bin/workrave >-%%GNOME%%libdata/bonobo/servers/Workrave-Applet.server >-%%GNOME%%libexec/workrave-applet >-%%NO_GNOME%%share/applications/workrave.desktop >-%%NO_GNOME%%share/dbus-1/services/org.workrave.Workrave.service >-%%GNOME%%share/gnome-2.0/ui/GNOME_WorkraveApplet.xml >+bin/workrave >+lib/girepository-1.0/Workrave-1.0.typelib >+lib/libworkrave-private-1.0.a >+lib/libworkrave-private-1.0.so >+lib/libworkrave-private-1.0.so.0 >+lib/libworkrave-private-1.0.so.0.0.0 >+share/appdata/workrave.appdata.xml >+share/applications/workrave.desktop >+%%DBUS%%share/dbus-1/services/org.workrave.Workrave.service >+share/gir-1.0/Workrave-1.0.gir > share/icons/hicolor/128x128/apps/workrave.png > share/icons/hicolor/16x16/apps/workrave.png > share/icons/hicolor/24x24/apps/workrave.png
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Flags:
tobik
:
maintainer-approval+
Actions:
View
|
Diff
Attachments on
bug 211297
:
172838
|
172839
|
172840
|
173032
| 173228