- Update to desktop-file-utils 0.8 and remove a bunch of upstreamed patches

f38
Mark McLoughlin 20 years ago
parent ae312f27ed
commit 8280a0a355

@ -1,3 +1,4 @@
desktop-file-utils-0.6.tar.gz
gnome-vfs-2.7.92.tar.bz2
gnome-vfs-2.8.0.tar.bz2
desktop-file-utils-0.8.tar.gz

@ -0,0 +1,104 @@
--- desktop-file-utils-0.8/configure.in.embedded 2004-09-02 21:05:32.076847032 +0100
+++ desktop-file-utils-0.8/configure.in 2004-09-02 21:05:43.296141440 +0100
@@ -108,13 +108,11 @@
AC_SUBST(DESKTOP_FILE_UTILS_CFLAGS)
AC_SUBST(DESKTOP_FILE_UTILS_LIBS)
-GNOME_VFS_REQUIRED=2.2.0
-
-PKG_CHECK_MODULES(VFS, gnome-vfs-2.0 >= $GNOME_VFS_REQUIRED gnome-vfs-module-2.0 >= $GNOME_VFS_REQUIRED, have_gnome_vfs=yes, have_gnome_vfs=no)
+VFS_CFLAGS=`PKG_CONFIG_PATH=./; export PKG_CONFIG_PATH; pkgconfig --cflags gnome-vfs2`
+VFS_LIBS=`PKG_CONFIG_PATH=./; export PKG_CONFIG_PATH; pkgconfig --libs gnome-vfs2`
AC_SUBST(VFS_CFLAGS)
AC_SUBST(VFS_LIBS)
-
-AM_CONDITIONAL(HAVE_GNOME_VFS, test x$have_gnome_vfs = xyes)
+AM_CONDITIONAL(HAVE_GNOME_VFS, test xyes = xyes)
AM_PATH_LISPDIR
--- desktop-file-utils-0.8/src/Makefile.am.embedded 2004-09-02 21:09:51.781365944 +0100
+++ desktop-file-utils-0.8/src/Makefile.am 2004-09-02 21:10:57.966304304 +0100
@@ -1,5 +1,6 @@
INCLUDES=$(DESKTOP_FILE_UTILS_CFLAGS) -DDATADIR="\"$(datadir)\"" $(VFS_CFLAGS) \
+ -I../../ \
-DSYSCONFDIR="\"$(sysconfdir)\"" \
-DPREFIX="\"$(prefix)\"" \
-D_FILE_OFFSET_BITS=64 \
@@ -8,21 +9,6 @@
-D_REENTRANT \
-D_POSIX_PTHREAD_SEMANTICS
-## note that TESTS has special meaning (stuff to use in make check)
-## so if adding tests not to be run in make check, don't add them to
-## TESTS
-if DFU_BUILD_TESTS
-TESTS_ENVIRONMENT=
-TESTS=dfu-test
-else
-TESTS=
-endif
-
-## we use noinst_PROGRAMS not check_PROGRAMS so that we build
-## even when not doing "make check"
-noinst_PROGRAMS=$(TESTS)
-
-bin_PROGRAMS=desktop-file-validate desktop-file-install desktop-menu-tool update-desktop-database
noinst_LTLIBRARIES = libmenu_sources.la
menu_sources= \
@@ -49,53 +35,7 @@
libmenu_sources_la_SOURCES= \
$(menu_sources)
-desktop_file_validate_SOURCES= \
- desktop_file.c \
- desktop_file.h \
- validate.c \
- validate.h \
- validator.c
-
-desktop_file_install_SOURCES= \
- desktop_file.c \
- desktop_file.h \
- validate.c \
- validate.h \
- install.c
-
-desktop_menu_tool_SOURCES= \
- desktop_file.c \
- desktop_file.h \
- gen-compat-tree.c \
- validate.c \
- validate.h \
- vfolder-parser.c \
- vfolder-parser.h \
- vfolder-query.c \
- vfolder-query.h
-
-dfu_test_SOURCES= \
- dfu-test.h \
- dfu-test.c
-
-update_desktop_database_SOURCES= \
- update-desktop-database.c \
- eggdesktopentries.c \
- eggdesktopentries.h \
- eggintl.h \
- eggdirfuncs.c \
- eggdirfuncs.h
-
-desktop_file_validate_LDADD=$(DESKTOP_FILE_UTILS_LIBS)
-desktop_file_install_LDADD= $(DESKTOP_FILE_UTILS_LIBS)
-desktop_menu_tool_LDADD=$(DESKTOP_FILE_UTILS_LIBS) libmenu_sources.la
-dfu_test_LDADD=$(DESKTOP_FILE_UTILS_LIBS) libmenu_sources.la
-update_desktop_database_LDADD = $(DESKTOP_FILE_UTILS_LIBS)
-
-
EXTRA_DIST = \
- $(dfu_test_SOURCES) \
- $(update_desktop_database_SOURCES) \
menu-modules.conf
if HAVE_GNOME_VFS

@ -0,0 +1,11 @@
--- desktop-file-utils-0.8/src/menu-tree-cache.c.pleasecreate 2004-08-29 14:38:56.000000000 +0100
+++ desktop-file-utils-0.8/src/menu-tree-cache.c 2004-09-02 21:14:18.728783768 +0100
@@ -760,7 +760,7 @@
menu_verbose ("Getting changes for \"%s\"\n",
menu_file);
- entry = cache_lookup (cache, menu_file, FALSE, NULL);
+ entry = cache_lookup (cache, menu_file, TRUE, NULL);
if (entry == NULL)
return NULL;

@ -10,13 +10,13 @@
Summary: The GNOME virtual file-system libraries.
Name: gnome-vfs2
Version: 2.8.0
Release: 2
Release: 3
License: LGPL
Group: System Environment/Libraries
Source: gnome-vfs-%{version}.tar.bz2
Source2: vfolder-desktop-method.c
Source3: desktop-method.c
Source4: desktop-file-utils-0.6.tar.gz
Source4: desktop-file-utils-0.8.tar.gz
URL: http://www.gnome.org/
BuildRoot: %{_tmppath}/%{name}-%{version}-root
@ -56,15 +56,9 @@ Patch9: gnome-vfs-2.1.6-no-private-methods.patch
Patch10: gnome-vfs2-2.5.5-vfolder-hacks.patch
# desktop-file-utils patches
Patch52: desktop-file-utils-0.4-rh-schemes.patch
Patch53: desktop-file-utils-0.4-hide-empty-submenus.patch
Patch54: desktop-file-utils-0.4-menu-only-show-in.patch
Patch55: desktop-file-utils-0.4-gnomevfs-embed.patch
Patch57: desktop-file-utils-0.4-directory-nodisplay.patch
Patch58: desktop-file-utils-0.6-directory-change-notify.patch
Patch59: desktop-file-utils-0.6-directory-mtime.patch
Patch60: desktop-file-utils-0.6-only-show-in-api.patch
Patch61: desktop-file-utils-0.6-pleasecreate.patch
Patch50: desktop-file-utils-0.8-menu-only-show-in.patch
Patch51: desktop-file-utils-0.8-gnomevfs-embed.patch
Patch52: desktop-file-utils-0.8-pleasecreate.patch
# send to upstream
Patch101: gnome-vfs-2.7.90-schema_about_for_upstream.patch
@ -134,15 +128,9 @@ perl -pi -e 's/favorites:\s+libvfolder-desktop.so//g' $DMC
%patch10 -p1 -b .vfolder-hacks
# desktop-file-utils patches
%patch52 -p0 -b .rh-schemes
%patch53 -p0 -b .hide-empty-submenus
%patch54 -p0 -b .menu-only-show-in
%patch55 -p1 -b .embedded
%patch57 -p1 -b .directory-nodisplay
%patch58 -p1 -b .directory-change-notify
%patch59 -p1 -b .directory-mtime
%patch60 -p1 -b .only-show-in-api
%patch61 -p0 -b .pleasecreate
%patch50 -p0 -b .menu-only-show-in
%patch51 -p0 -b .embedded
%patch52 -p0 -b .pleasecreate
# send to upstream
%patch101 -p1 -b .schema_about
@ -164,7 +152,7 @@ autoconf
export tagname=CC
make LIBTOOL=/usr/bin/libtool
(cd desktop-file-utils-0.6;
(cd desktop-file-utils-0.8;
aclocal-1.6;
automake-1.6;
autoconf;
@ -180,7 +168,7 @@ export tagname=CC
make install DESTDIR=$RPM_BUILD_ROOT LIBTOOL=/usr/bin/libtool
unset GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL
(cd desktop-file-utils-0.6;
(cd desktop-file-utils-0.8;
cp src/.libs/libmenu.so $RPM_BUILD_ROOT%{_libdir}/gnome-vfs-2.0/modules/
)
@ -260,6 +248,10 @@ done
%config %{_sysconfdir}/gnome-vfs-2.0/modules/smb-module.conf
%changelog
* Thu Sep 16 2004 Mark McLoughlin <markmc@redhat.com> - 2.8.0-3
- Update to desktop-file-utils 0.8 and remove a bunch of
upstreamed patches
* Tue Sep 14 2004 Alexander Larsson <alexl@redhat.com> - 2.8.0-2
- Backport some fixes from head, including ftp stuff

@ -1,2 +1,2 @@
dcace3294470e9cdc9ebfe7de1881ece desktop-file-utils-0.6.tar.gz
fbb17f6937b8210ba4bdc7f47dc2ad8b gnome-vfs-2.8.0.tar.bz2
b0dc11041949eecb877f755105f6b036 desktop-file-utils-0.8.tar.gz

Loading…
Cancel
Save