diff options
author | marcus <marcus@df743ca5-7f9a-e211-a948-0013205c9059> | 2009-04-07 11:25:51 +0800 |
---|---|---|
committer | marcus <marcus@df743ca5-7f9a-e211-a948-0013205c9059> | 2009-04-07 11:25:51 +0800 |
commit | 4650875e146075391d9843c89b80b6e84fa502dc (patch) | |
tree | 6a341838b27cebdd26f2b38d3a76c281be039571 | |
parent | 1de358a4a7134a3bed8082f2031d3b09d99e7fa1 (diff) | |
download | marcuscom-ports-4650875e146075391d9843c89b80b6e84fa502dc.tar marcuscom-ports-4650875e146075391d9843c89b80b6e84fa502dc.tar.gz marcuscom-ports-4650875e146075391d9843c89b80b6e84fa502dc.tar.bz2 marcuscom-ports-4650875e146075391d9843c89b80b6e84fa502dc.tar.lz marcuscom-ports-4650875e146075391d9843c89b80b6e84fa502dc.tar.xz marcuscom-ports-4650875e146075391d9843c89b80b6e84fa502dc.tar.zst marcuscom-ports-4650875e146075391d9843c89b80b6e84fa502dc.zip |
Fix the build with GNOME 2.26.
git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@12223 df743ca5-7f9a-e211-a948-0013205c9059
-rw-r--r-- | astro/glunarclock/Makefile | 38 | ||||
-rw-r--r-- | astro/glunarclock/distinfo | 3 | ||||
-rw-r--r-- | astro/glunarclock/pkg-descr | 4 | ||||
-rw-r--r-- | astro/glunarclock/pkg-plist | 44 | ||||
-rw-r--r-- | x11-toolkits/gai/Makefile | 55 | ||||
-rw-r--r-- | x11-toolkits/gai/distinfo | 3 | ||||
-rw-r--r-- | x11-toolkits/gai/files/patch-gai_Makefile.in | 32 | ||||
-rw-r--r-- | x11-toolkits/gai/files/patch-po_Makefile.in | 11 | ||||
-rw-r--r-- | x11-toolkits/gai/pkg-descr | 24 |
9 files changed, 214 insertions, 0 deletions
diff --git a/astro/glunarclock/Makefile b/astro/glunarclock/Makefile new file mode 100644 index 000000000..167036f05 --- /dev/null +++ b/astro/glunarclock/Makefile @@ -0,0 +1,38 @@ +# New ports collection makefile for: glunarclock +# Date created: 9 December 2003 +# Whom: Vincent Tantardini <vinc@freebsd-fr.org> +# +# $FreeBSD$ +# $MCom: ports/astro/glunarclock/Makefile,v 1.10 2008/08/23 18:22:58 mezz Exp $ +# + +PORTNAME= glunarclock +PORTVERSION= 0.32.4 +PORTREVISION= 7 +CATEGORIES= astro gnome +MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} +MASTER_SITE_SUBDIR= ${PORTNAME} + +MAINTAINER= ports@FreeBSD.org +COMMENT= GNOME applet that displays the current phase of the Moon + +LIB_DEPENDS= xklavier.12:${PORTSDIR}/x11/libxklavier + +USE_GNOME= gnomehack gnomepanel gnomeprefix intlhack +USE_GMAKE= yes +USE_GETTEXT= yes +GNU_CONFIGURE= yes +CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include `pkg-config --cflags libgnomeui-2.0`" \ + LDFLAGS="-L${LOCALBASE}/lib" \ + LIBS="`pkg-config --libs libgnomeui-2.0`" +INSTALLS_OMF= yes + +PLIST_SUB= VERSION="${PORTVERSION:R}" + +GCONF_SCHEMAS= glunarclock.schemas + +post-patch: + @${FIND} ${WRKSRC} -name Makefile.in | ${XARGS} ${REINPLACE_CMD} -e \ + 's|-DGNOME_DISABLE_DEPRECATED||g' + +.include <bsd.port.mk> diff --git a/astro/glunarclock/distinfo b/astro/glunarclock/distinfo new file mode 100644 index 000000000..16ed950b3 --- /dev/null +++ b/astro/glunarclock/distinfo @@ -0,0 +1,3 @@ +MD5 (glunarclock-0.32.4.tar.gz) = 63e1d989581e6bf95cec82ff1bbc56ef +SHA256 (glunarclock-0.32.4.tar.gz) = 2025028be6c2cbadf8f32edfe24ed4652e51aa430889d3977d70a3fc87abd824 +SIZE (glunarclock-0.32.4.tar.gz) = 536136 diff --git a/astro/glunarclock/pkg-descr b/astro/glunarclock/pkg-descr new file mode 100644 index 000000000..aed705d7c --- /dev/null +++ b/astro/glunarclock/pkg-descr @@ -0,0 +1,4 @@ +GNOME Lunar Clock displays the current phase of the Moon as an applet for +the Gnome panel. + +WWW: http://glunarclock.sourceforge.net/ diff --git a/astro/glunarclock/pkg-plist b/astro/glunarclock/pkg-plist new file mode 100644 index 000000000..62be31a9b --- /dev/null +++ b/astro/glunarclock/pkg-plist @@ -0,0 +1,44 @@ +libdata/bonobo/servers/GNOME_GLunarclockApplet_Factory.server +libexec/glunarclock-applet-2 +share/glunarclock/glunarclock.glade +share/gnome-2.0/ui/GNOME_GLunarclockApplet.xml +share/gnome/help/glunarclock-applet-2/C/figures/glunarclock_applet.png +share/gnome/help/glunarclock-applet-2/C/glunarclock-applet-2.xml +share/gnome/help/glunarclock-applet-2/C/legal.xml +share/omf/glunarclock/glunarclock-applet-2-C.omf +share/pixmaps/glunarclock-logo.png +share/pixmaps/glunarclock/cartoonmoon_12frames.png +share/pixmaps/glunarclock/moon_56frames.png +share/locale/ast_ES/LC_MESSAGES/glunarclock-%%VERSION%%.mo +share/locale/az/LC_MESSAGES/glunarclock-%%VERSION%%.mo +share/locale/br/LC_MESSAGES/glunarclock-%%VERSION%%.mo +share/locale/da/LC_MESSAGES/glunarclock-%%VERSION%%.mo +share/locale/de/LC_MESSAGES/glunarclock-%%VERSION%%.mo +share/locale/es/LC_MESSAGES/glunarclock-%%VERSION%%.mo +share/locale/fi/LC_MESSAGES/glunarclock-%%VERSION%%.mo +share/locale/fr/LC_MESSAGES/glunarclock-%%VERSION%%.mo +share/locale/ga/LC_MESSAGES/glunarclock-%%VERSION%%.mo +share/locale/gl/LC_MESSAGES/glunarclock-%%VERSION%%.mo +share/locale/hu/LC_MESSAGES/glunarclock-%%VERSION%%.mo +share/locale/ja/LC_MESSAGES/glunarclock-%%VERSION%%.mo +share/locale/ms/LC_MESSAGES/glunarclock-%%VERSION%%.mo +share/locale/nl/LC_MESSAGES/glunarclock-%%VERSION%%.mo +share/locale/no/LC_MESSAGES/glunarclock-%%VERSION%%.mo +share/locale/ro/LC_MESSAGES/glunarclock-%%VERSION%%.mo +share/locale/ru/LC_MESSAGES/glunarclock-%%VERSION%%.mo +share/locale/rw/LC_MESSAGES/glunarclock-%%VERSION%%.mo +share/locale/sk/LC_MESSAGES/glunarclock-%%VERSION%%.mo +share/locale/sr/LC_MESSAGES/glunarclock-%%VERSION%%.mo +share/locale/sv/LC_MESSAGES/glunarclock-%%VERSION%%.mo +share/locale/vi/LC_MESSAGES/glunarclock-%%VERSION%%.mo +share/locale/wa/LC_MESSAGES/glunarclock-%%VERSION%%.mo +@dirrm share/pixmaps/glunarclock +@dirrm share/omf/glunarclock +@dirrm share/gnome/help/glunarclock-applet-2/C/figures +@dirrm share/gnome/help/glunarclock-applet-2/C +@dirrm share/gnome/help/glunarclock-applet-2 +@dirrm share/glunarclock +@dirrmtry share/locale/rw/LC_MESSAGES +@dirrmtry share/locale/rw +@dirrmtry share/locale/ast_ES/LC_MESSAGES +@dirrmtry share/locale/ast_ES diff --git a/x11-toolkits/gai/Makefile b/x11-toolkits/gai/Makefile new file mode 100644 index 000000000..06c4e6f38 --- /dev/null +++ b/x11-toolkits/gai/Makefile @@ -0,0 +1,55 @@ +# ex:ts=8 +# Ports collection makefile for: gai +# Date created: Feb 16, 2004 +# Whom: ijliao +# +# $FreeBSD$ +# + +PORTNAME= gai +PORTVERSION= 0.5.10 +PORTREVISION= 7 +CATEGORIES= x11-toolkits gnome +MASTER_SITES= SF + +MAINTAINER= lx@redundancy.redundancy.org +COMMENT= General Applet Interface Library + +LIB_DEPENDS= gtkglext-x11-1.0:${PORTSDIR}/x11-toolkits/gtkglext + +USE_BZIP2= yes +USE_GL= gl +USE_SDL= sdl +USE_GNOME= gnomepanel +GNU_CONFIGURE= yes +CONFIGURE_ENV= SDLCONF=${SDL_CONFIG} \ + CPPFLAGS="`pkg-config --cflags libgnomeui-2.0`" + +PLIST_FILES= include/gai/gai.h lib/libgai.so.${PORTVERSION} \ + lib/libgai.so.0 lib/libgai.so libdata/pkgconfig/gai.pc \ + share/locale/de/LC_MESSAGES/gai.mo +PLIST_DIRS= include/gai +PORTDOCS= * +USE_LDCONFIG= yes + +post-patch: + @${REINPLACE_CMD} -e "s|sdl-config --|${SDL_CONFIG} --|g; \ + s|/usr/X11R6|${LOCALBASE}|g" ${WRKSRC}/configure + +post-install: +.if !defined(NOPORTDOCS) + cd ${WRKSRC}/docs && \ + ${FIND} * -type d -exec ${MKDIR} "${DOCSDIR}/{}" \; && \ + ${FIND} * -type f -exec ${INSTALL_DATA} "{}" "${DOCSDIR}/{}" \; +.endif +.for dir in docking examples templates + cd ${WRKSRC} && \ + ${FIND} ${dir} -type d -exec ${MKDIR} "${EXAMPLESDIR}/{}" \; && \ + ${FIND} ${dir} -type f -exec ${INSTALL_DATA} "{}" "${EXAMPLESDIR}/{}" \; +.endfor + @${FIND} ${EXAMPLESDIR} -type f | \ + ${SED} "s,^${PREFIX}/,," >> ${TMPPLIST} + @${FIND} ${EXAMPLESDIR} -type d | ${SORT} -r | \ + ${SED} "s,^${PREFIX}/,@dirrm ," >> ${TMPPLIST} + +.include <bsd.port.mk> diff --git a/x11-toolkits/gai/distinfo b/x11-toolkits/gai/distinfo new file mode 100644 index 000000000..0b4a46930 --- /dev/null +++ b/x11-toolkits/gai/distinfo @@ -0,0 +1,3 @@ +MD5 (gai-0.5.10.tar.bz2) = 1c9cf2fb24ae6c95412c60f256dc3513 +SHA256 (gai-0.5.10.tar.bz2) = ea40cc897637a2dd67e4fe263bd8a280818b21f45516e899359cb3a26283821a +SIZE (gai-0.5.10.tar.bz2) = 288291 diff --git a/x11-toolkits/gai/files/patch-gai_Makefile.in b/x11-toolkits/gai/files/patch-gai_Makefile.in new file mode 100644 index 000000000..047c61c98 --- /dev/null +++ b/x11-toolkits/gai/files/patch-gai_Makefile.in @@ -0,0 +1,32 @@ +--- gai/Makefile.in.orig Thu Oct 27 15:00:22 2005 ++++ gai/Makefile.in Thu Oct 27 15:02:47 2005 +@@ -1,9 +1,9 @@ + + # Makefile for the General Applet Interface Library + +-CFLAGS += -Wall -O2 -I.. @GTK_CFLAGS@ @SDL_CFLAGS@ @GNOME_CFLAGS@ @GL_CFLAGS@ ++CFLAGS += -Wall -fPIC -I.. @GTK_CFLAGS@ @SDL_CFLAGS@ @GNOME_CFLAGS@ @GL_CFLAGS@ @CPPFLAGS@ + +-LDFLAGS += -g -fPIC -L/usr/X11R6/lib -lX11 @SYSTEM_SPECIFIC_LIBS@ @GTK_LIBS@ @GTHREAD_CFLAGS@ @PANGO_CFLAGS@ ++LDFLAGS += -fPIC -L$(LOCALBASE)/lib -lX11 @SYSTEM_SPECIFIC_LIBS@ @GTK_LIBS@ @GTHREAD_CFLAGS@ @PANGO_CFLAGS@ + LDFLAGS += @GNOME_LIBS@ @GL_LIBS@ @SDL_LIBS@ @GTHREAD_LIBS@ @PANGO_LIBS@ + + CC = @CC@ +@@ -23,13 +23,13 @@ + + install: libgai@LIB_END@ + mkdir -p $(DESTDIR)$(PREFIX)/include/gai +- cp gai.h $(DESTDIR)$(PREFIX)/include/gai/ ++ $(BSD_INSTALL_DATA) gai.h $(DESTDIR)$(PREFIX)/include/gai/ + mkdir -p $(DESTDIR)$(LIBDIR) +- cp libgai@LIB_END@ $(DESTDIR)$(LIBDIR)/libgai@LIB_START@.@GAI_MAJOR@.@GAI_MINOR@.@GAI_MICRO@@LIB_DARWIN@ ++ $(BSD_INSTALL_PROGRAM) libgai@LIB_END@ $(DESTDIR)$(LIBDIR)/libgai@LIB_START@.@GAI_MAJOR@.@GAI_MINOR@.@GAI_MICRO@@LIB_DARWIN@ + ln -sf libgai@LIB_START@.@GAI_MAJOR@.@GAI_MINOR@.@GAI_MICRO@@LIB_DARWIN@ $(DESTDIR)$(LIBDIR)/libgai@LIB_START@.@GAI_MAJOR@@LIB_DARWIN@ + ln -sf libgai@LIB_START@.@GAI_MAJOR@@LIB_DARWIN@ $(DESTDIR)$(LIBDIR)/libgai@LIB_END@ +- mkdir -p $(DESTDIR)$(LIBDIR)/pkgconfig +- cp ../gai.pc $(DESTDIR)$(LIBDIR)/pkgconfig/ ++ mkdir -p $(DESTDIR)$(PREFIX)/libdata/pkgconfig ++ $(BSD_INSTALL_DATA) ../gai.pc $(DESTDIR)$(PREFIX)/libdata/pkgconfig/ + uninstall: + rm -f $(DESTDIR)$(PREFIX)/include/gai/gai.h + rmdir $(DESTDIR)$(PREFIX)/include/gai diff --git a/x11-toolkits/gai/files/patch-po_Makefile.in b/x11-toolkits/gai/files/patch-po_Makefile.in new file mode 100644 index 000000000..afb7b9c46 --- /dev/null +++ b/x11-toolkits/gai/files/patch-po_Makefile.in @@ -0,0 +1,11 @@ +--- po/Makefile.in.orig Thu Oct 27 15:35:03 2005 ++++ po/Makefile.in Thu Oct 27 15:35:11 2005 +@@ -20,7 +20,7 @@ + + install: + for LANG in $(LINGUAS); do $(MSGFMT) $$LANG.po --output-file=$$LANG.mo; done +- for LANG in $(LINGUAS); do mkdir -p $(LOCALE_PREFIX)/$$LANG/LC_MESSAGES && cp $$LANG.mo $(LOCALE_PREFIX)/$$LANG/LC_MESSAGES/$(GETTEXT_PACKAGE).mo;done ++ for LANG in $(LINGUAS); do mkdir -p $(LOCALE_PREFIX)/$$LANG/LC_MESSAGES && $(BSD_INSTALL_DATA) $$LANG.mo $(LOCALE_PREFIX)/$$LANG/LC_MESSAGES/$(GETTEXT_PACKAGE).mo;done + + uninstall: + for LANG in $(LINGUAS); do rm $(LOCALE_PREFIX)/$$LANG/LC_MESSAGES/$$LANG.mo; done diff --git a/x11-toolkits/gai/pkg-descr b/x11-toolkits/gai/pkg-descr new file mode 100644 index 000000000..1b2a81e4f --- /dev/null +++ b/x11-toolkits/gai/pkg-descr @@ -0,0 +1,24 @@ +This library is intended to simplify the development and use of Dockapps, ROX +panel applets and Gnome 2 Panel Applets. With this library the programmer can +focus on what the applet shall do, not on the interface. + +What this library provides: + - Dockapp support. + - Gnome 2 Panel support. + - ROX panel support. + - Handling of all sizes of the Gnome Panel. + - Handle Gnome Panel rotation. + - Simple image file handeling via gdk_pixbuf. + - Loading and storing of configuration values and strings. + - A simple structual way of making preferences window. + - Generates images from ascii text based upon fonts. + - Support for both Gnome 2 Panel Applets, ROX panel applets and + Dockaps/wmapplets. + - Support for OpenGL applets. + - Simple interface to connect events, like mouse button clicks, joystick + events and so on. + - Easy to add support for other panels. + - Nice configure and makefile scripts that generates the needed files + for ROX and Gnome. + +WWW: http://gai.sourceforge.net/ |