wok-next rev 19198
Add gucharmap3
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Thu Jun 09 00:17:44 2016 +0300 (2016-06-09) |
parents | 1b27cc4b14b9 |
children | da534f9e180c |
files | gucharmap-dev/receipt gucharmap-i18n/receipt gucharmap/receipt gucharmap3-dev/receipt gucharmap3-i18n/receipt gucharmap3/description.txt gucharmap3/receipt |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/gucharmap-dev/receipt Thu Jun 09 00:17:44 2016 +0300 1.3 @@ -0,0 +1,22 @@ 1.4 +# SliTaz package receipt. 1.5 + 1.6 +PACKAGE="gucharmap-dev" 1.7 +VERSION="3.0.1" 1.8 +CATEGORY="development" 1.9 +SHORT_DESC="GNOME Character Map (GTK+2), development files" 1.10 +MAINTAINER="al.bobylev@gmail.com" 1.11 +LICENSE="GPL3" 1.12 +WEB_SITE="https://wiki.gnome.org/action/show/Apps/Gucharmap" 1.13 + 1.14 +WANTED="gucharmap" 1.15 +DEPENDS="gucharmap" 1.16 + 1.17 +# Rules to gen a SliTaz package suitable for Tazpkg. 1.18 +genpkg_rules() 1.19 +{ 1.20 + mkdir -p $fs/usr/lib $fs/usr/share 1.21 + cp -a $install/usr/include $fs/usr 1.22 + cp -a $install/usr/lib/pkgconfig $fs/usr/lib 1.23 + cp -a $install/usr/lib/*.la $fs/usr/lib 1.24 + cp -a $install/usr/share/gir-1.0 $fs/usr/share 1.25 +}
2.1 --- a/gucharmap-i18n/receipt Tue Jun 07 03:43:06 2016 +0300 2.2 +++ b/gucharmap-i18n/receipt Thu Jun 09 00:17:44 2016 +0300 2.3 @@ -3,12 +3,12 @@ 2.4 PACKAGE="gucharmap-i18n" 2.5 VERSION="3.0.1" 2.6 CATEGORY="localization" 2.7 -SHORT_DESC="Language files for GNOME Character Map" 2.8 +SHORT_DESC="Language files for GNOME Character Map (GTK+2)" 2.9 MAINTAINER="al.bobylev@gmail.com" 2.10 LICENSE="GPL3" 2.11 -WEB_SITE="https://live.gnome.org/Gucharmap" 2.12 +WEB_SITE="https://wiki.gnome.org/action/show/Apps/Gucharmap" 2.13 + 2.14 WANTED="gucharmap" 2.15 - 2.16 DEPENDS="gucharmap" 2.17 2.18 # Rules to gen a SliTaz package suitable for Tazpkg.
3.1 --- a/gucharmap/receipt Tue Jun 07 03:43:06 2016 +0300 3.2 +++ b/gucharmap/receipt Thu Jun 09 00:17:44 2016 +0300 3.3 @@ -3,21 +3,22 @@ 3.4 PACKAGE="gucharmap" 3.5 VERSION="3.0.1" 3.6 CATEGORY="utilities" 3.7 -SHORT_DESC="GNOME Character Map" 3.8 +SHORT_DESC="GNOME Character Map (GTK+2)" 3.9 MAINTAINER="al.bobylev@gmail.com" 3.10 LICENSE="GPL3" 3.11 TARBALL="$PACKAGE-$VERSION.tar.bz2" 3.12 -WEB_SITE="https://live.gnome.org/Gucharmap" 3.13 +WEB_SITE="https://wiki.gnome.org/action/show/Apps/Gucharmap" 3.14 WGET_URL="$GNOME_MIRROR/$PACKAGE/${VERSION%.*}/$TARBALL" 3.15 3.16 -DEPENDS="atk bzlib cairo expat fontconfig freetype gcc-lib-base gdk-pixbuf glib glibc-base gtk+ libffi libgio libpng libxcb pango pixman xorg-libX11 xorg-libXau xorg-libXcomposite xorg-libXcursor xorg-libXdamage xorg-libXdmcp xorg-libXext xorg-libXfixes xorg-libXinerama xorg-libXrandr xorg-libXrender zlib" 3.17 +DEPENDS="gtk+ xorg-libXdamage" 3.18 BUILD_DEPENDS="itstool libxml2-tools glib-dev libgio-dev gtk+-dev" 3.19 +SPLIT="gucharmap-i18n" 3.20 3.21 # Rules to configure and make the package. 3.22 compile_rules() 3.23 { 3.24 - cd $src 3.25 ./configure \ 3.26 + --sysconfdir=/etc \ 3.27 --disable-maintainer-mode \ 3.28 --disable-gconf \ 3.29 --disable-schemas-install \ 3.30 @@ -30,8 +31,10 @@ 3.31 # Rules to gen a SliTaz package suitable for Tazpkg. 3.32 genpkg_rules() 3.33 { 3.34 - mkdir -p $fs/usr/bin $fs/usr/lib usr/share 3.35 + mkdir -p $fs/usr/bin $fs/usr/lib $fs/usr/share 3.36 + cp -a $install/etc $fs 3.37 cp -a $install/usr/bin/$PACKAGE $fs/usr/bin 3.38 cp -a $install/usr/lib/*.so* $fs/usr/lib 3.39 cp -a $install/usr/share/applications $fs/usr/share 3.40 + cp -a $install/usr/share/glib-2.0 $fs/usr/share 3.41 }
4.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 4.2 +++ b/gucharmap3-dev/receipt Thu Jun 09 00:17:44 2016 +0300 4.3 @@ -0,0 +1,22 @@ 4.4 +# SliTaz package receipt. 4.5 + 4.6 +PACKAGE="gucharmap3-dev" 4.7 +VERSION="3.18.2" 4.8 +CATEGORY="development" 4.9 +SHORT_DESC="GNOME Character Map (GTK+3), development files" 4.10 +MAINTAINER="al.bobylev@gmail.com" 4.11 +LICENSE="GPL3" 4.12 +WEB_SITE="https://wiki.gnome.org/action/show/Apps/Gucharmap" 4.13 + 4.14 +WANTED="gucharmap3" 4.15 +DEPENDS="gucharmap3" 4.16 + 4.17 +# Rules to gen a SliTaz package suitable for Tazpkg. 4.18 +genpkg_rules() 4.19 +{ 4.20 + mkdir -p $fs/usr/lib $fs/usr/share 4.21 + cp -a $install/usr/include $fs/usr 4.22 + cp -a $install/usr/lib/pkgconfig $fs/usr/lib 4.23 + cp -a $install/usr/lib/*.la $fs/usr/lib 4.24 + cp -a $install/usr/share/gir-1.0 $fs/usr/share 4.25 +}
5.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 5.2 +++ b/gucharmap3-i18n/receipt Thu Jun 09 00:17:44 2016 +0300 5.3 @@ -0,0 +1,19 @@ 5.4 +# SliTaz package receipt. 5.5 + 5.6 +PACKAGE="gucharmap3-i18n" 5.7 +VERSION="3.18.2" 5.8 +CATEGORY="localization" 5.9 +SHORT_DESC="Language files for GNOME Character Map (GTK+3)" 5.10 +MAINTAINER="al.bobylev@gmail.com" 5.11 +LICENSE="GPL3" 5.12 +WEB_SITE="https://wiki.gnome.org/action/show/Apps/Gucharmap" 5.13 + 5.14 +WANTED="gucharmap3" 5.15 +DEPENDS="gucharmap3" 5.16 + 5.17 +# Rules to gen a SliTaz package suitable for Tazpkg. 5.18 +genpkg_rules() 5.19 +{ 5.20 + mkdir -p $fs/usr/share/locale 5.21 + cp -a $install/usr/share/locale/* $fs/usr/share/locale 5.22 +}
6.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 6.2 +++ b/gucharmap3/description.txt Thu Jun 09 00:17:44 2016 +0300 6.3 @@ -0,0 +1,8 @@ 6.4 +GNOME Character Map is a Unicode character map program, part of GNOME desktop. 6.5 +This program allows characters to be displayed by unicode block or script type. 6.6 +It includes brief descriptions of related characters and occasionally meanings 6.7 +of the character in question. 6.8 + 6.9 +Gucharmap can also be used to input or enter characters (by copy and paste). 6.10 +The search functionality allows the use of several search methods, including by 6.11 +unicode name or code point of the character.
7.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 7.2 +++ b/gucharmap3/receipt Thu Jun 09 00:17:44 2016 +0300 7.3 @@ -0,0 +1,47 @@ 7.4 +# SliTaz package receipt. 7.5 + 7.6 +PACKAGE="gucharmap3" 7.7 +VERSION="3.18.2" 7.8 +CATEGORY="utilities" 7.9 +SHORT_DESC="GNOME Character Map (GTK+3)" 7.10 +MAINTAINER="al.bobylev@gmail.com" 7.11 +LICENSE="GPL3" 7.12 +TARBALL="gucharmap-$VERSION.tar.xz" 7.13 +WEB_SITE="https://wiki.gnome.org/action/show/Apps/Gucharmap" 7.14 +WGET_URL="$GNOME_MIRROR/gucharmap/${VERSION%.*}/$TARBALL" 7.15 + 7.16 +DEPENDS="gtk+3 xorg-libXdamage" 7.17 +BUILD_DEPENDS="automake gtk-doc libtool itstool libxml2-tools glib-dev \ 7.18 +libgio-dev gtk+3-dev desktop-file-utils-extra gobject-introspection-dev vala" 7.19 +SPLIT="gucharmap3-i18n" 7.20 + 7.21 +# Rules to configure and make the package. 7.22 +compile_rules() 7.23 +{ 7.24 + # Idea is to have two nonintersecting packages: 7.25 + # gucharmap (for GTK+2) and gucharmap3 (for GTK+3) 7.26 + sed -i '/AC_INIT/s|gucharmap|&3|3; s|GETTEXT_PACKAGE=.*$|&3|' \ 7.27 + $src/configure.ac 7.28 + # Disable stuff we never had 7.29 + sed -i '/GNOME_DEBUG_CHECK/d; /YELP/d' $src/configure.ac 7.30 + sed -i '/YELP/d' $src/help/Makefile.am 7.31 + 7.32 + ./autogen.sh --program-suffix=3 7.33 + make && make install 7.34 + 7.35 + find $install/usr/bin -type l -delete 7.36 + mv $install/usr/share/applications/gucharmap.desktop \ 7.37 + $install/usr/share/applications/gucharmap3.desktop 7.38 + sed -i 's|Exec=gucharmap|&3|' \ 7.39 + $install/usr/share/applications/gucharmap3.desktop 7.40 +} 7.41 + 7.42 +# Rules to gen a SliTaz package suitable for Tazpkg. 7.43 +genpkg_rules() 7.44 +{ 7.45 + mkdir -p $fs/usr/lib $fs/usr/share/applications 7.46 + cp -a $install/usr/bin $fs/usr 7.47 + cp -a $install/usr/lib/*.so* $fs/usr/lib 7.48 + cp -a $install/usr/share/applications $fs/usr/share 7.49 + cp -a $install/usr/share/glib-2.0 $fs/usr/share 7.50 +}