diff options
Diffstat (limited to 'x11-misc')
-rw-r--r-- | x11-misc/Manifest.gz | bin | 47319 -> 47326 bytes | |||
-rw-r--r-- | x11-misc/xdaliclock/Manifest | 3 | ||||
-rw-r--r-- | x11-misc/xdaliclock/files/xdaliclock-2.47-DESTDIR.patch | 59 | ||||
-rw-r--r-- | x11-misc/xdaliclock/xdaliclock-2.47.ebuild | 59 |
4 files changed, 121 insertions, 0 deletions
diff --git a/x11-misc/Manifest.gz b/x11-misc/Manifest.gz Binary files differindex 7d8b388d3566..3a4b80c2799b 100644 --- a/x11-misc/Manifest.gz +++ b/x11-misc/Manifest.gz diff --git a/x11-misc/xdaliclock/Manifest b/x11-misc/xdaliclock/Manifest index 977e4af1d422..e629a7894559 100644 --- a/x11-misc/xdaliclock/Manifest +++ b/x11-misc/xdaliclock/Manifest @@ -1,3 +1,6 @@ +AUX xdaliclock-2.47-DESTDIR.patch 2491 BLAKE2B 344b641ada19f3b1bea8b33763d29abdb882b36f5f7b39c2f75a89bc117ae67bccf35a3bd8e9c11c6afa0be88a2090d7a5f9f38db28d1ac689da0668c4012f75 SHA512 6205f0b6e5b3451c5f5cf7cf0a07b2022d08ae9d7c2b57b761723e6dd8ed917d30a81723fc2a7aa6b6a9e368eec96e7f3e956846551b006edf293553d1638b52 DIST xdaliclock-2.44.tar.gz 17727649 BLAKE2B 170f1a7f9e5c10799b62b2ae76b33ab64230e4ade8f0b79c2aff7481536009e3e4e0f19239dd806d7b16c69225744fa381f5aabbeec6e0e92d8b875bd8ca0aeb SHA512 82082a8e16a85c7115bdd0a44e7845aedfad93f94226a14cf606493564829c7ffe55eb4d17cb43c41bd0e6c97c090457d6aa2d184f60462cea3a89f47ef72e00 +DIST xdaliclock-2.47.tar.gz 3410612 BLAKE2B 64d2e98693f055887959c34021a3e595bd46fb8ba453c58af76d78977a2d7b6a0092c9c9e174c53d65b7af5723e9fb3c434a48e4d39f2986dac8d6b80f3fa9f7 SHA512 d51930240170bad5694cc502251aeb88aed8b78cee086bda704624c2599acf94e30368a971f26eb59a824df3273b6eb58c6fd2017684f8f421d678828e41db7f EBUILD xdaliclock-2.44.ebuild 564 BLAKE2B e7172ff53cae7387405df0e28dbefd821f8b1253a4eea40c0e00c5d454d5b4751d35c662ecdc92a75a1e5c40cc1fafd33c60519bb0080ad9588f1f30ca030a45 SHA512 6214287b3dbefe1c573ed1ffa2f667f88d6dc396ee0898e275cf055bff54b1b9e4f042f795ec4f79d0d125f007d8ce9c056623a1125c34cae11440c54acdf3ae +EBUILD xdaliclock-2.47.ebuild 1105 BLAKE2B cf7e9e1261702bcd3486b1b4080b49c82884cb72090dbef5e7cf1d16f2936ea1b37932fb2980f4ab44f2f13de91e7b327a0a156de2c01ebb183049d2975c8d46 SHA512 df38eede29b6fe4c7a43edafedaedcd4c4523df050789bcfdd04140ec7eb19494a40194f9cf2a429bc476cb849490afac4034f452c4e6b6a151d65202baeffac MISC metadata.xml 277 BLAKE2B ebaa8353413cfc5519fce99f8627c71cf765fc6d42b42651e232274de315487c156d45dcb23a401dffb8f112600b0dadd56f93d2283ff86b4293dc5490ad4059 SHA512 c8ef9069153b124118a6be64375c6954ccc6f518a13805e4ff1c33c9cec136170132a580c4a9781930b709c93678c94d6448291625de34d18fea41bfd17f685d diff --git a/x11-misc/xdaliclock/files/xdaliclock-2.47-DESTDIR.patch b/x11-misc/xdaliclock/files/xdaliclock-2.47-DESTDIR.patch new file mode 100644 index 000000000000..eee6682f17d5 --- /dev/null +++ b/x11-misc/xdaliclock/files/xdaliclock-2.47-DESTDIR.patch @@ -0,0 +1,59 @@ +https://cgit.freebsd.org/ports/tree/x11-clocks/xdaliclock/files/patch-Makefile.in?id=b4521d44c7f02e022fa92fdd445ee4274aa96948 +--- a/Makefile.in ++++ b/Makefile.in +@@ -92,35 +92,35 @@ $(install_prefix)$(SCHEMA_DIR): + $(install_prefix)$(GTK_APPDIR) \ + $(install_prefix)$(GTK_ICONDIR) \ + $(install_prefix)$(SCHEMA_DIR): +- mkdir -p $@ ++# mkdir -p $@ + + install-program: xdaliclock $(install_prefix)$(bindir) +- $(INSTALL_PROGRAM) $< $(install_prefix)$(bindir)/xdaliclock ++ $(INSTALL_PROGRAM) $< $(DESTDIR)$(install_prefix)$(bindir)/xdaliclock + + # If /usr/share/glib-2.0/schemas/org.jwz.xdaliclock.gschema.xml" does + # not exist, the app won't launch. This is an amazing design. Spectacular. + # No notes. + # + install-schema: $(SCHEMA) $(install_prefix)$(SCHEMA_DIR) +- $(INSTALL_DATA) $< $(install_prefix)$(SCHEMA_DIR)/ +- $(GLIB_COMPILE_SCHEMAS) $(install_prefix)$(SCHEMA_DIR) ++ $(INSTALL_DATA) $< $(DESTDIR)$(install_prefix)$(SCHEMA_DIR)/ ++ $(GLIB_COMPILE_SCHEMAS) $(DESTDIR)$(install_prefix)$(SCHEMA_DIR) + + # /usr/share/pixmaps/xdaliclock.png + install-gnome:: $(LOGO) $(install_prefix)$(GTK_ICONDIR) +- $(INSTALL_DATA) $< $(install_prefix)$(GTK_ICONDIR)/ ++ $(INSTALL_DATA) $< $(DESTDIR)$(install_prefix)$(GTK_ICONDIR)/ + + # /usr/share/applications/xdaliclock.desktop + install-gnome:: $(DESK) $(install_prefix)$(GTK_APPDIR) +- $(INSTALL_DATA) $< $(install_prefix)$(GTK_APPDIR)/ ++ $(INSTALL_DATA) $< $(DESTDIR)$(install_prefix)$(GTK_APPDIR)/ + + # /usr/share/pixmaps/index.theme + install-gnome:: update-icon-caches + update-icon-caches:: + @\ +- for f in $(install_prefix)$(datadir)/icons/index.theme \ +- $(install_prefix)$(datadir)/icons/*/index.theme \ +- $(install_prefix)$(datadir)/pixmaps/index.theme \ +- $(install_prefix)$(datadir)/pixmaps/*/index.theme ; do \ ++ for f in $(DESTDIR)$(install_prefix)$(datadir)/icons/index.theme \ ++ $(DESTDIR)$(install_prefix)$(datadir)/icons/*/index.theme \ ++ $(DESTDIR)$(install_prefix)$(datadir)/pixmaps/index.theme \ ++ $(DESTDIR)$(install_prefix)$(datadir)/pixmaps/*/index.theme ; do \ + if [ -f $$f ]; then \ + f=`dirname $$f` ; \ + echo $(UPDATE_ICON_CACHE) --force --quiet $$f ; \ +@@ -129,7 +129,7 @@ install-man: xdaliclock.man $(install_prefix)$(man1dir + done + + install-man: xdaliclock.man $(install_prefix)$(man1dir) +- $(INSTALL_DATA) $< $(install_prefix)$(man1dir)/xdaliclock.$(mansuffix) ++ $(INSTALL_DATA) $< $(DESTDIR)$(install_prefix)$(man1dir)/xdaliclock.$(mansuffix) + + + uninstall-program: + diff --git a/x11-misc/xdaliclock/xdaliclock-2.47.ebuild b/x11-misc/xdaliclock/xdaliclock-2.47.ebuild new file mode 100644 index 000000000000..1fe477c682ff --- /dev/null +++ b/x11-misc/xdaliclock/xdaliclock-2.47.ebuild @@ -0,0 +1,59 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit gnome2-utils xdg + +DESCRIPTION="Dali Clock is a digital clock. When a digit changes, it melts into its new shape" +HOMEPAGE="https://www.jwz.org/xdaliclock" +SRC_URI="https://www.jwz.org/xdaliclock/${P}.tar.gz" +S="${WORKDIR}"/${P}/X11 + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~ppc64 ~x86" + +RDEPEND=" + dev-libs/glib:2 + x11-libs/gtk+:3 + x11-libs/libX11 + virtual/opengl +" +DEPEND=" + ${RDEPEND} + x11-base/xorg-proto +" +BDEPEND="virtual/pkgconfig" + +PATCHES=( + "${FILESDIR}"/xdaliclock-2.47-DESTDIR.patch +) + +src_install() { + dodir /usr/bin /usr/share/pixmaps + dodir /usr/share/glib-2.0/schemas /usr/share/man/man1/ + dodir /usr/share/applications/ + + default + + # Will collide with dev-libs/glib + rm "${ED}"/usr/share/glib-2.0/schemas/gschemas.compiled || die + + #dobin ${PN} + #newman ${PN}.man ${PN}.1 + #dodoc ../README + + #doicon xdaliclock.png + #domenu xdaliclock.desktop +} + +pkg_postinst() { + xdg_pkg_postinst + gnome2_schemas_update +} + +pkg_postrm() { + xdg_pkg_postrm + gnome2_schemas_update +} |